xml-links

This commit is contained in:
gilesb 2023-11-22 21:35:44 +00:00
parent 23b97a1322
commit 3d19717b2f
1 changed files with 29 additions and 19 deletions

View File

@ -28654,6 +28654,9 @@ var _default = exports["default"] = function _default() {
}, },
touch: function touch() { touch: function touch() {
return _touch(elements); return _touch(elements);
},
xml: function xml() {
return 'what the!!';
} }
}] : []), _toConsumableArray(get({ }] : []), _toConsumableArray(get({
elements: elements elements: elements
@ -29027,12 +29030,12 @@ Object.defineProperty(exports, "CO", ({
return _global["default"]; return _global["default"];
} }
})); }));
__webpack_unused_export__ = ({ Object.defineProperty(exports, "V9", ({
enumerable: true, enumerable: true,
get: function get() { get: function get() {
return _objects.make; return _objects.make;
} }
}); }));
__webpack_unused_export__ = ({ __webpack_unused_export__ = ({
enumerable: true, enumerable: true,
get: function get() { get: function get() {
@ -30082,8 +30085,6 @@ const findDisplay = (line, link) => {
); );
}); });
// EXTERNAL MODULE: ../../packages/ft-view-fields/build/index.js
var ft_view_fields_build = __nccwpck_require__(3204);
;// CONCATENATED MODULE: ./src/document/globals/objects/parameters.js ;// CONCATENATED MODULE: ./src/document/globals/objects/parameters.js
@ -30284,6 +30285,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
/* harmony default export */ const objects = (async ({ /* harmony default export */ const objects = (async ({
fileName, fileName,
dir, dir,
myObjectFields,
myGlobalFields, myGlobalFields,
myDisplayFields, myDisplayFields,
global, global,
@ -30321,7 +30323,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
return external_fs_.promises.appendFile( return external_fs_.promises.appendFile(
fileName, fileName,
`\n[xml](${'../'.repeat(fileName.split('/').length)}${global.file}#L${l + 1})\n`, `\n[xml](${'../'.repeat(fileName.split('/').length)}${global.file}#L${l + 1})\n`,
).then(l + 1); ).then(() => l + 1);
}, },
) )
.then( .then(
@ -30338,7 +30340,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
) )
.then( .then(
() => animated({ () => animated({
file: object.file, file: global.file,
line: l, line: l,
fileName: `${dir}/${object.id}.md`, fileName: `${dir}/${object.id}.md`,
object, object,
@ -30364,18 +30366,14 @@ var ft_view_fields_build = __nccwpck_require__(3204);
/* harmony default export */ const document_globals = (async ({ /* harmony default export */ const document_globals = (async ({
root, root,
displays, displays,
globals, globals,
myDisplayFields, myDisplayFields,
myGlobalFields,
myObjectFields,
}) => { }) => {
const myGlobalFields = (0,ft_view_fields_build/* global */.CO)({
displays,
globals,
});
await mkdir_if_new(`${root}/globals`); await mkdir_if_new(`${root}/globals`);
await external_fs_.promises.appendFile( await external_fs_.promises.appendFile(
`${root}/globals/README.md`, `${root}/globals/README.md`,
@ -30383,7 +30381,6 @@ var ft_view_fields_build = __nccwpck_require__(3204);
); );
await Promise.all( await Promise.all(
globals.map(async (global) => { globals.map(async (global) => {
console.log(global.file);
await external_fs_.promises.appendFile( await external_fs_.promises.appendFile(
`${root}/globals/README.md`, `${root}/globals/README.md`,
`* [${global.name}](./${global.name})\n`, `* [${global.name}](./${global.name})\n`,
@ -30402,6 +30399,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
global, global,
myGlobalFields, myGlobalFields,
myDisplayFields, myDisplayFields,
myObjectFields,
displays, displays,
}); });
await external_fs_.promises.appendFile( await external_fs_.promises.appendFile(
@ -30412,6 +30410,8 @@ var ft_view_fields_build = __nccwpck_require__(3204);
); );
}); });
// EXTERNAL MODULE: ../../packages/ft-view-fields/build/index.js
var ft_view_fields_build = __nccwpck_require__(3204);
;// CONCATENATED MODULE: ./src/document/index.js ;// CONCATENATED MODULE: ./src/document/index.js
@ -30429,6 +30429,14 @@ var ft_view_fields_build = __nccwpck_require__(3204);
displays, displays,
globals, globals,
}); });
const myGlobalFields = (0,ft_view_fields_build/* global */.CO)({
displays,
globals,
});
const myObjectFields = (0,ft_view_fields_build/* makeObject */.V9)({
displays,
globals,
});
await mkdir_if_new(root); await mkdir_if_new(root);
await remove_dir(root); await remove_dir(root);
await external_fs_.promises.appendFile( await external_fs_.promises.appendFile(
@ -30443,18 +30451,20 @@ var ft_view_fields_build = __nccwpck_require__(3204);
`${root}/README.md`, `${root}/README.md`,
'* [globals](globals)\n', '* [globals](globals)\n',
); );
await document_globals({
root,
myDisplayFields,
myGlobalFields,
myObjectFields,
displays,
globals,
});
await document_displays({ await document_displays({
root, root,
displays, displays,
globals, globals,
myDisplayFields, myDisplayFields,
}); });
await document_globals({
root,
myDisplayFields,
displays,
globals,
});
return { return {
displays, displays,
globals, globals,