king-design-analyzer 2.1.7 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/actions.json +101 -0
- package/components/advancedset.json +127 -0
- package/components/affix.json +7 -0
- package/components/aksk.json +172 -0
- package/components/az.json +15 -2
- package/components/badge.json +7 -0
- package/components/billtypes.json +14 -2
- package/components/breadcrumb.json +7 -0
- package/components/button.json +191 -0
- package/components/buttonlink.json +73 -0
- package/components/card.json +8 -1
- package/components/cardcol.json +142 -0
- package/components/cardcols.json +121 -0
- package/components/cardcontent.json +15 -3
- package/components/cardtabs.json +172 -0
- package/components/carousel.json +7 -0
- package/components/cascader.json +520 -368
- package/components/checkbox.json +51 -4
- package/components/cidrinput.json +140 -0
- package/components/code.json +8 -1
- package/components/collapse.json +7 -0
- package/components/colorpicker.json +217 -0
- package/components/copy.json +7 -0
- package/components/copyhover.json +111 -0
- package/components/copyrow.json +124 -0
- package/components/datepicker.json +656 -524
- package/components/description.json +98 -0
- package/components/dialog.json +522 -455
- package/components/divider.json +8 -1
- package/components/drawer.json +571 -558
- package/components/dropdown.json +464 -384
- package/components/duration.json +125 -0
- package/components/editable.json +66 -0
- package/components/ellipsis.json +34 -1
- package/components/filtertablefieldsdialog.json +128 -0
- package/components/flex.json +151 -0
- package/components/form.json +131 -0
- package/components/formiteminput.json +214 -0
- package/components/formitemspinner.json +213 -0
- package/components/formitemswitch.json +185 -0
- package/components/formitemtableconfigs.json +210 -0
- package/components/grid.json +7 -0
- package/components/header.json +161 -0
- package/components/icon.json +13 -1
- package/components/icontooltip.json +19 -1
- package/components/input.json +188 -4
- package/components/instancelist.json +194 -0
- package/components/instancenum.json +196 -0
- package/components/ipinput.json +117 -0
- package/components/kspstatus.json +205 -0
- package/components/kvcode.json +120 -0
- package/components/layoutcontent.json +15 -3
- package/components/layoutlistcontent.json +148 -0
- package/components/layoutpermissioncontent.json +155 -0
- package/components/layoutstandardlist.json +275 -0
- package/components/layouttabs.json +168 -0
- package/components/lazymount.json +86 -0
- package/components/lazyteleport.json +118 -0
- package/components/menu.json +7 -0
- package/components/pagination.json +12 -0
- package/components/paginationplus.json +30 -3
- package/components/password.json +121 -0
- package/components/popover.json +457 -437
- package/components/projects.json +129 -0
- package/components/protable.json +97 -8
- package/components/queuevisualrange.json +110 -0
- package/components/radio.json +82 -2
- package/components/rate.json +199 -0
- package/components/region.json +14 -2
- package/components/search.json +221 -0
- package/components/searchinput.json +132 -0
- package/components/searchitems.json +215 -0
- package/components/searchselect.json +195 -0
- package/components/select.json +686 -666
- package/components/sidebar.json +198 -0
- package/components/skeleton.json +233 -0
- package/components/spin.json +8 -1
- package/components/split.json +260 -0
- package/components/sshkeys.json +138 -0
- package/components/status.json +60 -3
- package/components/steps.json +7 -0
- package/components/switch.json +8 -1
- package/components/table.json +18 -1
- package/components/tablecolumnid.json +14 -2
- package/components/tabs.json +12 -0
- package/components/timeline.json +213 -0
- package/components/timepicker.json +147 -3
- package/components/timerange.json +262 -0
- package/components/tip.json +7 -0
- package/components/tooltip.json +484 -395
- package/components/tour.json +418 -372
- package/components/transfer.json +27 -3
- package/components/tree.json +6 -4
- package/components/treeselect.json +556 -475
- package/components/upload.json +474 -473
- package/components/vdialog.json +308 -0
- package/components/vdrawer.json +331 -0
- package/components/virtuallist.json +7 -0
- package/dist/ast/index.d.mts +35 -1
- package/dist/ast/index.d.ts +35 -1
- package/dist/ast/index.js +5 -3
- package/dist/ast/index.mjs +3 -1
- package/dist/{chunk-DSWKLUIX.mjs → chunk-3LYQ5XFM.mjs} +1 -1
- package/dist/chunk-BI5TIQID.mjs +330 -0
- package/dist/{chunk-6QS5IGS6.js → chunk-CJGGFVQJ.js} +8 -8
- package/dist/chunk-CR3GC4H3.js +353 -0
- package/dist/{chunk-NZ6TLWMD.mjs → chunk-D2SXGGTX.mjs} +28 -17
- package/dist/{chunk-D3Y6FGWA.js → chunk-EYKZY2F3.js} +29 -18
- package/dist/chunk-JSBRDJBE.js +30 -0
- package/dist/chunk-KF5YBEM5.js +143 -0
- package/dist/chunk-KMIDURUR.mjs +33324 -0
- package/dist/chunk-QC6VTSA3.mjs +117 -0
- package/dist/chunk-SZYVGYKK.js +33350 -0
- package/dist/{chunk-WYSRJVX4.js → chunk-TA3SV4SP.js} +2 -2
- package/dist/chunk-UJCSKKID.mjs +27 -0
- package/dist/{chunk-FVSQ6BU6.mjs → chunk-XGPHQHLR.mjs} +4 -4
- package/dist/docs/index.js +1 -1
- package/dist/docs/index.mjs +1 -1
- package/dist/full/index.js +8 -6
- package/dist/full/index.mjs +6 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15 -13
- package/dist/index.mjs +7 -5
- package/dist/metadata/index.d.mts +22 -2
- package/dist/metadata/index.d.ts +22 -2
- package/dist/metadata/index.js +27 -17
- package/dist/metadata/index.mjs +27 -16
- package/dist/resolve-BsLBxlBi.d.mts +24 -0
- package/dist/resolve-BsLBxlBi.d.ts +24 -0
- package/dist/runtime/index.js +5 -4
- package/dist/runtime/index.mjs +3 -2
- package/dist/shared/index.d.mts +10 -0
- package/dist/shared/index.d.ts +10 -0
- package/dist/shared/index.js +23 -0
- package/dist/shared/index.mjs +2 -0
- package/dist/static/index.js +6 -5
- package/dist/static/index.mjs +3 -2
- package/docs_for_llm/actions.doc.md +77 -0
- package/docs_for_llm/advancedset.doc.md +89 -0
- package/docs_for_llm/affix.doc.md +15 -7
- package/docs_for_llm/aksk.doc.md +111 -0
- package/docs_for_llm/az.doc.md +17 -11
- package/docs_for_llm/badge.doc.md +6 -5
- package/docs_for_llm/billtypes.doc.md +17 -11
- package/docs_for_llm/breadcrumb.doc.md +6 -3
- package/docs_for_llm/button.doc.md +34 -18
- package/docs_for_llm/buttonlink.doc.md +55 -0
- package/docs_for_llm/card.doc.md +8 -5
- package/docs_for_llm/cardcol.doc.md +78 -0
- package/docs_for_llm/cardcols.doc.md +84 -0
- package/docs_for_llm/cardcontent.doc.md +10 -10
- package/docs_for_llm/cardtabs.doc.md +106 -0
- package/docs_for_llm/carousel.doc.md +8 -7
- package/docs_for_llm/cascader.doc.md +46 -25
- package/docs_for_llm/checkbox.doc.md +25 -13
- package/docs_for_llm/cidrinput.doc.md +83 -0
- package/docs_for_llm/code.doc.md +22 -11
- package/docs_for_llm/collapse.doc.md +9 -6
- package/docs_for_llm/colorpicker.doc.md +104 -0
- package/docs_for_llm/copy.doc.md +15 -13
- package/docs_for_llm/copyhover.doc.md +59 -0
- package/docs_for_llm/copyrow.doc.md +71 -0
- package/docs_for_llm/datepicker.doc.md +51 -39
- package/docs_for_llm/description.doc.md +75 -0
- package/docs_for_llm/descriptions.doc.md +9 -6
- package/docs_for_llm/dialog.doc.md +48 -77
- package/docs_for_llm/divider.doc.md +9 -7
- package/docs_for_llm/drawer.doc.md +43 -84
- package/docs_for_llm/dropdown.doc.md +52 -21
- package/docs_for_llm/duration.doc.md +76 -0
- package/docs_for_llm/editable.doc.md +36 -14
- package/docs_for_llm/ellipsis.doc.md +10 -5
- package/docs_for_llm/filtertablefieldsdialog.doc.md +99 -0
- package/docs_for_llm/flex.doc.md +74 -0
- package/docs_for_llm/form.doc.md +33 -14
- package/docs_for_llm/formiteminput.doc.md +128 -0
- package/docs_for_llm/formitemspinner.doc.md +105 -0
- package/docs_for_llm/formitemswitch.doc.md +113 -0
- package/docs_for_llm/formitemtableconfigs.doc.md +95 -0
- package/docs_for_llm/grid.doc.md +7 -5
- package/docs_for_llm/header.doc.md +85 -0
- package/docs_for_llm/icon.doc.md +12 -8
- package/docs_for_llm/icontooltip.doc.md +121 -0
- package/docs_for_llm/input.doc.md +90 -39
- package/docs_for_llm/instancelist.doc.md +113 -0
- package/docs_for_llm/instancenum.doc.md +95 -0
- package/docs_for_llm/ipinput.doc.md +77 -0
- package/docs_for_llm/kspstatus.doc.md +82 -0
- package/docs_for_llm/kvcode.doc.md +76 -0
- package/docs_for_llm/layoutcontent.doc.md +17 -17
- package/docs_for_llm/layoutlistcontent.doc.md +95 -0
- package/docs_for_llm/layoutpermissioncontent.doc.md +84 -0
- package/docs_for_llm/layoutstandardlist.doc.md +120 -0
- package/docs_for_llm/layouttabs.doc.md +101 -0
- package/docs_for_llm/lazymount.doc.md +73 -0
- package/docs_for_llm/lazyteleport.doc.md +76 -0
- package/docs_for_llm/menu.doc.md +14 -11
- package/docs_for_llm/message.doc.md +48 -10
- package/docs_for_llm/pagination.doc.md +30 -17
- package/docs_for_llm/paginationplus.doc.md +31 -10
- package/docs_for_llm/password.doc.md +86 -0
- package/docs_for_llm/popover.doc.md +24 -55
- package/docs_for_llm/progress.doc.md +13 -10
- package/docs_for_llm/projects.doc.md +91 -0
- package/docs_for_llm/protable.doc.md +89 -15
- package/docs_for_llm/queuevisualrange.doc.md +78 -0
- package/docs_for_llm/radio.doc.md +23 -8
- package/docs_for_llm/rate.doc.md +122 -0
- package/docs_for_llm/region.doc.md +25 -13
- package/docs_for_llm/search.doc.md +120 -0
- package/docs_for_llm/searchinput.doc.md +111 -0
- package/docs_for_llm/searchitems.doc.md +116 -0
- package/docs_for_llm/searchselect.doc.md +126 -0
- package/docs_for_llm/select.doc.md +40 -55
- package/docs_for_llm/sidebar.doc.md +133 -0
- package/docs_for_llm/skeleton.doc.md +117 -0
- package/docs_for_llm/slider.doc.md +31 -21
- package/docs_for_llm/spin.doc.md +8 -5
- package/docs_for_llm/spinner.doc.md +28 -18
- package/docs_for_llm/split.doc.md +157 -0
- package/docs_for_llm/sshkeys.doc.md +88 -0
- package/docs_for_llm/status.doc.md +14 -9
- package/docs_for_llm/steps.doc.md +10 -7
- package/docs_for_llm/switch.doc.md +17 -14
- package/docs_for_llm/table.doc.md +118 -51
- package/docs_for_llm/tablecolumnid.doc.md +36 -16
- package/docs_for_llm/tabs.doc.md +19 -10
- package/docs_for_llm/tag.doc.md +19 -10
- package/docs_for_llm/timeline.doc.md +109 -0
- package/docs_for_llm/timepicker.doc.md +57 -38
- package/docs_for_llm/timerange.doc.md +157 -0
- package/docs_for_llm/tip.doc.md +20 -11
- package/docs_for_llm/tooltip.doc.md +55 -29
- package/docs_for_llm/tour.doc.md +48 -29
- package/docs_for_llm/transfer.doc.md +40 -29
- package/docs_for_llm/tree.doc.md +65 -23
- package/docs_for_llm/treeselect.doc.md +37 -48
- package/docs_for_llm/upload.doc.md +56 -32
- package/docs_for_llm/useCRUD.doc.md +49 -0
- package/docs_for_llm/useCountdown.doc.md +43 -0
- package/docs_for_llm/useDetail.doc.md +48 -0
- package/docs_for_llm/useDialog.doc.md +46 -0
- package/docs_for_llm/useEntity.doc.md +45 -0
- package/docs_for_llm/useEventListener.doc.md +44 -0
- package/docs_for_llm/useFalseUntilTruthy.doc.md +41 -0
- package/docs_for_llm/useGetCopyAuthText.doc.md +35 -0
- package/docs_for_llm/useGetUserPermission.doc.md +43 -0
- package/docs_for_llm/useGroup.doc.md +48 -0
- package/docs_for_llm/useIdEntities.doc.md +48 -0
- package/docs_for_llm/useIdEntity.doc.md +103 -0
- package/docs_for_llm/useInterval.doc.md +43 -0
- package/docs_for_llm/useLayoutStandardList.doc.md +38 -0
- package/docs_for_llm/useMessage.doc.md +46 -0
- package/docs_for_llm/useModifyCache.doc.md +37 -0
- package/docs_for_llm/useOpenDialog.doc.md +41 -0
- package/docs_for_llm/usePagination.doc.md +60 -0
- package/docs_for_llm/usePersist.doc.md +54 -0
- package/docs_for_llm/usePoll.doc.md +41 -0
- package/docs_for_llm/useRoutePlus.doc.md +34 -0
- package/docs_for_llm/useRouterPlus.doc.md +34 -0
- package/docs_for_llm/useSearch.doc.md +68 -0
- package/docs_for_llm/useShell.doc.md +43 -0
- package/docs_for_llm/useSkip.doc.md +41 -0
- package/docs_for_llm/useStorageIdEntity.doc.md +46 -0
- package/docs_for_llm/useStore.doc.md +34 -0
- package/docs_for_llm/useTable.doc.md +57 -0
- package/docs_for_llm/useTableGroup.doc.md +47 -0
- package/docs_for_llm/useTableSort.doc.md +40 -0
- package/docs_for_llm/useToState.doc.md +112 -0
- package/docs_for_llm/useUser.doc.md +38 -0
- package/docs_for_llm/useValidForm.doc.md +41 -0
- package/docs_for_llm/vdialog.doc.md +129 -0
- package/docs_for_llm/vdrawer.doc.md +119 -0
- package/docs_for_llm/virtuallist.doc.md +6 -3
- package/hooks/useCRUD.json +61 -0
- package/hooks/useCountdown.json +49 -0
- package/hooks/useDetail.json +67 -0
- package/hooks/useDialog.json +49 -0
- package/hooks/useEntity.json +61 -0
- package/hooks/useEventListener.json +61 -0
- package/hooks/useFalseUntilTruthy.json +43 -0
- package/hooks/useGetCopyAuthText.json +36 -0
- package/hooks/useGetUserPermission.json +55 -0
- package/hooks/useGroup.json +49 -0
- package/hooks/useIdEntities.json +61 -0
- package/hooks/useInterval.json +55 -0
- package/hooks/useLayoutStandardList.json +36 -0
- package/hooks/useMessage.json +73 -0
- package/hooks/useModifyCache.json +36 -0
- package/hooks/useOpenDialog.json +43 -0
- package/hooks/usePagination.json +49 -0
- package/hooks/usePersist.json +61 -0
- package/hooks/usePoll.json +43 -0
- package/hooks/useRoutePlus.json +36 -0
- package/hooks/useRouterPlus.json +36 -0
- package/hooks/useSearch.json +56 -0
- package/hooks/useShell.json +49 -0
- package/hooks/useSkip.json +43 -0
- package/hooks/useStorageIdEntity.json +67 -0
- package/hooks/useStore.json +36 -0
- package/hooks/useTable.json +49 -0
- package/hooks/useTableGroup.json +43 -0
- package/hooks/useTableSort.json +43 -0
- package/hooks/useUser.json +36 -0
- package/hooks/useValidForm.json +43 -0
- package/package.json +12 -6
- package/dist/chunk-HDV7ETXE.mjs +0 -1055
- package/dist/chunk-HPAUCD5I.js +0 -156
- package/dist/chunk-L4DS3EXI.mjs +0 -133
- package/dist/chunk-YWY3D4J7.js +0 -1082
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCR3GC4H3_js = require('./chunk-CR3GC4H3.js');
|
|
4
4
|
|
|
5
5
|
// src/static/index.ts
|
|
6
6
|
var scopeIdCounter = 0;
|
|
@@ -44,7 +44,7 @@ function validateCompilation(code) {
|
|
|
44
44
|
errors: ["SFC \u7ED3\u6784\u9519\u8BEF: \u7F3A\u5C11 <template> \u6216 <script> \u6807\u7B7E"]
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
const result =
|
|
47
|
+
const result = chunkCR3GC4H3_js.compileSFC(code, scopeId);
|
|
48
48
|
if (result.error) {
|
|
49
49
|
return {
|
|
50
50
|
name: "\u7F16\u8BD1\u68C0\u67E5",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
19
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
21
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
|
+
mod
|
|
25
|
+
));
|
|
26
|
+
|
|
27
|
+
export { __commonJS, __toESM };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { analyzeCodeWithAST } from './chunk-
|
|
2
|
-
import { validateRuntimePrecheck } from './chunk-
|
|
3
|
-
import { compileSFC } from './chunk-
|
|
1
|
+
import { analyzeCodeWithAST } from './chunk-KMIDURUR.mjs';
|
|
2
|
+
import { validateRuntimePrecheck } from './chunk-D2SXGGTX.mjs';
|
|
3
|
+
import { compileSFC } from './chunk-BI5TIQID.mjs';
|
|
4
4
|
|
|
5
5
|
// src/tools/unifiedValidator.ts
|
|
6
6
|
function validateCompilation(code) {
|
|
7
7
|
const scopeId = `validate-${Date.now()}`;
|
|
8
8
|
const scriptOpenCount = (code.match(/<script[\s\S]*?>/g) || []).length;
|
|
9
9
|
const scriptCloseCount = (code.match(/<\/script>/g) || []).length;
|
|
10
|
-
const templateOpenCount = (code.match(/<template
|
|
10
|
+
const templateOpenCount = (code.match(/<template[^>]*>/g) || []).length;
|
|
11
11
|
const templateCloseCount = (code.match(/<\/template>/g) || []).length;
|
|
12
12
|
if (scriptCloseCount > 0 && scriptOpenCount === 0) {
|
|
13
13
|
return {
|
package/dist/docs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require('../chunk-JSBRDJBE.js');
|
|
3
4
|
var fs = require('fs');
|
|
4
5
|
var path = require('path');
|
|
5
6
|
|
|
@@ -24,7 +25,6 @@ function _interopNamespace(e) {
|
|
|
24
25
|
var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
25
26
|
var path__namespace = /*#__PURE__*/_interopNamespace(path);
|
|
26
27
|
|
|
27
|
-
// src/docs/index.ts
|
|
28
28
|
var DOCS_DIR = path__namespace.resolve(__dirname, "../../docs_for_llm");
|
|
29
29
|
function getDocsList() {
|
|
30
30
|
try {
|
package/dist/docs/index.mjs
CHANGED
package/dist/full/index.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunkCJGGFVQJ_js = require('../chunk-CJGGFVQJ.js');
|
|
4
|
+
require('../chunk-SZYVGYKK.js');
|
|
5
|
+
require('../chunk-EYKZY2F3.js');
|
|
6
|
+
require('../chunk-CR3GC4H3.js');
|
|
7
|
+
require('../chunk-KF5YBEM5.js');
|
|
8
|
+
require('../chunk-JSBRDJBE.js');
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
Object.defineProperty(exports, "validateCode", {
|
|
11
13
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkCJGGFVQJ_js.validateCode; }
|
|
13
15
|
});
|
|
14
16
|
Object.defineProperty(exports, "validateCodeSync", {
|
|
15
17
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkCJGGFVQJ_js.validateCodeSync; }
|
|
17
19
|
});
|
package/dist/full/index.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { validateCode, validateCodeSync } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { validateCode, validateCodeSync } from '../chunk-XGPHQHLR.mjs';
|
|
2
|
+
import '../chunk-KMIDURUR.mjs';
|
|
3
|
+
import '../chunk-D2SXGGTX.mjs';
|
|
4
|
+
import '../chunk-BI5TIQID.mjs';
|
|
5
|
+
import '../chunk-QC6VTSA3.mjs';
|
|
6
|
+
import '../chunk-UJCSKKID.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -3,3 +3,4 @@ export { ComponentEvent, ComponentMetadata, ComponentProp, ComponentSlot, Mistak
|
|
|
3
3
|
export { ValidationLayer as RuntimeValidationLayer, validateRuntimePrecheck } from './runtime/index.mjs';
|
|
4
4
|
export { UnifiedValidationResult, ValidationLayer, validateCode, validateCodeSync } from './full/index.mjs';
|
|
5
5
|
export { C as CompilationResult, c as compileSFC, s as scopeStyles } from './sfcCompiler-Co_Km3LU.mjs';
|
|
6
|
+
import './resolve-BsLBxlBi.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export { ComponentEvent, ComponentMetadata, ComponentProp, ComponentSlot, Mistak
|
|
|
3
3
|
export { ValidationLayer as RuntimeValidationLayer, validateRuntimePrecheck } from './runtime/index.js';
|
|
4
4
|
export { UnifiedValidationResult, ValidationLayer, validateCode, validateCodeSync } from './full/index.js';
|
|
5
5
|
export { C as CompilationResult, c as compileSFC, s as scopeStyles } from './sfcCompiler-Co_Km3LU.js';
|
|
6
|
+
import './resolve-BsLBxlBi.js';
|
package/dist/index.js
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTA3SV4SP_js = require('./chunk-TA3SV4SP.js');
|
|
4
4
|
require('./chunk-YTEYDSDW.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
5
|
+
var chunkCJGGFVQJ_js = require('./chunk-CJGGFVQJ.js');
|
|
6
|
+
var chunkSZYVGYKK_js = require('./chunk-SZYVGYKK.js');
|
|
7
|
+
var chunkEYKZY2F3_js = require('./chunk-EYKZY2F3.js');
|
|
8
|
+
var chunkCR3GC4H3_js = require('./chunk-CR3GC4H3.js');
|
|
9
|
+
require('./chunk-KF5YBEM5.js');
|
|
10
|
+
require('./chunk-JSBRDJBE.js');
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
Object.defineProperty(exports, "validateCompilation", {
|
|
13
15
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkTA3SV4SP_js.validateCompilation; }
|
|
15
17
|
});
|
|
16
18
|
Object.defineProperty(exports, "validateCode", {
|
|
17
19
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkCJGGFVQJ_js.validateCode; }
|
|
19
21
|
});
|
|
20
22
|
Object.defineProperty(exports, "validateCodeSync", {
|
|
21
23
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkCJGGFVQJ_js.validateCodeSync; }
|
|
23
25
|
});
|
|
24
26
|
Object.defineProperty(exports, "analyzeCodeWithAST", {
|
|
25
27
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkSZYVGYKK_js.analyzeCodeWithAST; }
|
|
27
29
|
});
|
|
28
30
|
Object.defineProperty(exports, "componentRegistry", {
|
|
29
31
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkSZYVGYKK_js.componentRegistry; }
|
|
31
33
|
});
|
|
32
34
|
Object.defineProperty(exports, "validateRuntimePrecheck", {
|
|
33
35
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkEYKZY2F3_js.validateRuntimePrecheck; }
|
|
35
37
|
});
|
|
36
38
|
Object.defineProperty(exports, "compileSFC", {
|
|
37
39
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkCR3GC4H3_js.compileSFC; }
|
|
39
41
|
});
|
|
40
42
|
Object.defineProperty(exports, "scopeStyles", {
|
|
41
43
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkCR3GC4H3_js.scopeStyles; }
|
|
43
45
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export { validateCompilation } from './chunk-
|
|
1
|
+
export { validateCompilation } from './chunk-3LYQ5XFM.mjs';
|
|
2
2
|
import './chunk-5H7N2A5X.mjs';
|
|
3
|
-
export { validateCode, validateCodeSync } from './chunk-
|
|
4
|
-
export { analyzeCodeWithAST, componentRegistry } from './chunk-
|
|
5
|
-
export { validateRuntimePrecheck } from './chunk-
|
|
6
|
-
export { compileSFC, scopeStyles } from './chunk-
|
|
3
|
+
export { validateCode, validateCodeSync } from './chunk-XGPHQHLR.mjs';
|
|
4
|
+
export { analyzeCodeWithAST, componentRegistry } from './chunk-KMIDURUR.mjs';
|
|
5
|
+
export { validateRuntimePrecheck } from './chunk-D2SXGGTX.mjs';
|
|
6
|
+
export { compileSFC, scopeStyles } from './chunk-BI5TIQID.mjs';
|
|
7
|
+
import './chunk-QC6VTSA3.mjs';
|
|
8
|
+
import './chunk-UJCSKKID.mjs';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { C as ComponentInheritance } from '../resolve-BsLBxlBi.mjs';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Components 元数据模块入口
|
|
3
5
|
* 提供对 components 目录中 JSON 元数据的访问
|
|
4
6
|
*/
|
|
7
|
+
|
|
5
8
|
/**
|
|
6
9
|
* 组件元数据类型定义
|
|
7
10
|
*/
|
|
@@ -15,11 +18,13 @@ interface ComponentProp {
|
|
|
15
18
|
required?: boolean;
|
|
16
19
|
default?: string;
|
|
17
20
|
usageExample?: string;
|
|
21
|
+
tags?: string[];
|
|
18
22
|
}
|
|
19
23
|
interface ComponentEvent {
|
|
20
24
|
name: string;
|
|
21
25
|
vueEventName?: string;
|
|
22
26
|
description: string;
|
|
27
|
+
params?: ComponentActionParam[];
|
|
23
28
|
payload?: {
|
|
24
29
|
name: string;
|
|
25
30
|
type: string;
|
|
@@ -27,6 +32,20 @@ interface ComponentEvent {
|
|
|
27
32
|
}[];
|
|
28
33
|
usageExample?: string;
|
|
29
34
|
}
|
|
35
|
+
interface ComponentActionParam {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
description: string;
|
|
39
|
+
optional?: boolean;
|
|
40
|
+
default?: string;
|
|
41
|
+
}
|
|
42
|
+
interface ComponentMethod {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
params?: ComponentActionParam[];
|
|
46
|
+
returnType?: string;
|
|
47
|
+
usageExample?: string;
|
|
48
|
+
}
|
|
30
49
|
interface ComponentSlot {
|
|
31
50
|
name: string;
|
|
32
51
|
description: string;
|
|
@@ -43,13 +62,14 @@ interface ComponentMetadata {
|
|
|
43
62
|
props: ComponentProp[];
|
|
44
63
|
events: ComponentEvent[];
|
|
45
64
|
slots: ComponentSlot[];
|
|
46
|
-
methods?:
|
|
65
|
+
methods?: ComponentMethod[];
|
|
47
66
|
examples?: any[];
|
|
48
67
|
subComponents?: any[];
|
|
49
68
|
commonMistakes?: any[];
|
|
50
69
|
searchKeywords?: string[];
|
|
51
70
|
useCases?: string[];
|
|
52
71
|
relatedComponents?: string[];
|
|
72
|
+
inherits?: ComponentInheritance[];
|
|
53
73
|
}
|
|
54
74
|
/**
|
|
55
75
|
* 获取所有可用的组件名称列表
|
|
@@ -74,4 +94,4 @@ declare function getComponentsDir(): string;
|
|
|
74
94
|
*/
|
|
75
95
|
declare function getComponentPath(componentName: string): string;
|
|
76
96
|
|
|
77
|
-
export { type ComponentEvent, type ComponentMetadata, type ComponentProp, type ComponentSlot, getAllComponentsMetadata, getComponentMetadata, getComponentPath, getComponentsDir, getComponentsList };
|
|
97
|
+
export { type ComponentActionParam, type ComponentEvent, type ComponentMetadata, type ComponentMethod, type ComponentProp, type ComponentSlot, getAllComponentsMetadata, getComponentMetadata, getComponentPath, getComponentsDir, getComponentsList };
|
package/dist/metadata/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { C as ComponentInheritance } from '../resolve-BsLBxlBi.js';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Components 元数据模块入口
|
|
3
5
|
* 提供对 components 目录中 JSON 元数据的访问
|
|
4
6
|
*/
|
|
7
|
+
|
|
5
8
|
/**
|
|
6
9
|
* 组件元数据类型定义
|
|
7
10
|
*/
|
|
@@ -15,11 +18,13 @@ interface ComponentProp {
|
|
|
15
18
|
required?: boolean;
|
|
16
19
|
default?: string;
|
|
17
20
|
usageExample?: string;
|
|
21
|
+
tags?: string[];
|
|
18
22
|
}
|
|
19
23
|
interface ComponentEvent {
|
|
20
24
|
name: string;
|
|
21
25
|
vueEventName?: string;
|
|
22
26
|
description: string;
|
|
27
|
+
params?: ComponentActionParam[];
|
|
23
28
|
payload?: {
|
|
24
29
|
name: string;
|
|
25
30
|
type: string;
|
|
@@ -27,6 +32,20 @@ interface ComponentEvent {
|
|
|
27
32
|
}[];
|
|
28
33
|
usageExample?: string;
|
|
29
34
|
}
|
|
35
|
+
interface ComponentActionParam {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
description: string;
|
|
39
|
+
optional?: boolean;
|
|
40
|
+
default?: string;
|
|
41
|
+
}
|
|
42
|
+
interface ComponentMethod {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
params?: ComponentActionParam[];
|
|
46
|
+
returnType?: string;
|
|
47
|
+
usageExample?: string;
|
|
48
|
+
}
|
|
30
49
|
interface ComponentSlot {
|
|
31
50
|
name: string;
|
|
32
51
|
description: string;
|
|
@@ -43,13 +62,14 @@ interface ComponentMetadata {
|
|
|
43
62
|
props: ComponentProp[];
|
|
44
63
|
events: ComponentEvent[];
|
|
45
64
|
slots: ComponentSlot[];
|
|
46
|
-
methods?:
|
|
65
|
+
methods?: ComponentMethod[];
|
|
47
66
|
examples?: any[];
|
|
48
67
|
subComponents?: any[];
|
|
49
68
|
commonMistakes?: any[];
|
|
50
69
|
searchKeywords?: string[];
|
|
51
70
|
useCases?: string[];
|
|
52
71
|
relatedComponents?: string[];
|
|
72
|
+
inherits?: ComponentInheritance[];
|
|
53
73
|
}
|
|
54
74
|
/**
|
|
55
75
|
* 获取所有可用的组件名称列表
|
|
@@ -74,4 +94,4 @@ declare function getComponentsDir(): string;
|
|
|
74
94
|
*/
|
|
75
95
|
declare function getComponentPath(componentName: string): string;
|
|
76
96
|
|
|
77
|
-
export { type ComponentEvent, type ComponentMetadata, type ComponentProp, type ComponentSlot, getAllComponentsMetadata, getComponentMetadata, getComponentPath, getComponentsDir, getComponentsList };
|
|
97
|
+
export { type ComponentActionParam, type ComponentEvent, type ComponentMetadata, type ComponentMethod, type ComponentProp, type ComponentSlot, getAllComponentsMetadata, getComponentMetadata, getComponentPath, getComponentsDir, getComponentsList };
|
package/dist/metadata/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkKF5YBEM5_js = require('../chunk-KF5YBEM5.js');
|
|
4
|
+
require('../chunk-JSBRDJBE.js');
|
|
3
5
|
var fs = require('fs');
|
|
4
6
|
var path = require('path');
|
|
5
|
-
var url = require('url');
|
|
6
7
|
|
|
7
|
-
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
8
8
|
function _interopNamespace(e) {
|
|
9
9
|
if (e && e.__esModule) return e;
|
|
10
10
|
var n = Object.create(null);
|
|
@@ -26,10 +26,21 @@ function _interopNamespace(e) {
|
|
|
26
26
|
var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
|
|
27
27
|
var path__namespace = /*#__PURE__*/_interopNamespace(path);
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
var COMPONENTS_DIR = chunkKF5YBEM5_js.resolvePackageResourceDir("components");
|
|
30
|
+
function loadAllRawComponents() {
|
|
31
|
+
const metadata = {};
|
|
32
|
+
try {
|
|
33
|
+
const files = fs__namespace.readdirSync(COMPONENTS_DIR).filter((f) => f.endsWith(".json"));
|
|
34
|
+
for (const file of files) {
|
|
35
|
+
const content = fs__namespace.readFileSync(path__namespace.join(COMPONENTS_DIR, file), "utf-8");
|
|
36
|
+
const data = JSON.parse(content);
|
|
37
|
+
metadata[data.name] = data;
|
|
38
|
+
}
|
|
39
|
+
} catch {
|
|
40
|
+
return {};
|
|
41
|
+
}
|
|
42
|
+
return metadata;
|
|
43
|
+
}
|
|
33
44
|
function getComponentsList() {
|
|
34
45
|
try {
|
|
35
46
|
return fs__namespace.readdirSync(COMPONENTS_DIR).filter((f) => f.endsWith(".json")).map((f) => f.replace(".json", ""));
|
|
@@ -39,23 +50,22 @@ function getComponentsList() {
|
|
|
39
50
|
}
|
|
40
51
|
function getComponentMetadata(componentName) {
|
|
41
52
|
try {
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
|
|
53
|
+
const rawMetadata = loadAllRawComponents();
|
|
54
|
+
const target = Object.values(rawMetadata).find(
|
|
55
|
+
(component) => component.name === componentName || component.id === componentName
|
|
56
|
+
);
|
|
57
|
+
return target ? chunkKF5YBEM5_js.resolveMetadataInheritance(target, rawMetadata) : null;
|
|
45
58
|
} catch {
|
|
46
59
|
return null;
|
|
47
60
|
}
|
|
48
61
|
}
|
|
49
62
|
function getAllComponentsMetadata() {
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
for (const
|
|
53
|
-
|
|
54
|
-
if (data) {
|
|
55
|
-
metadata[name] = data;
|
|
56
|
-
}
|
|
63
|
+
const rawMetadata = loadAllRawComponents();
|
|
64
|
+
const resolvedMetadata = {};
|
|
65
|
+
for (const component of Object.values(rawMetadata)) {
|
|
66
|
+
resolvedMetadata[component.name] = chunkKF5YBEM5_js.resolveMetadataInheritance(component, rawMetadata);
|
|
57
67
|
}
|
|
58
|
-
return
|
|
68
|
+
return resolvedMetadata;
|
|
59
69
|
}
|
|
60
70
|
function getComponentsDir() {
|
|
61
71
|
return COMPONENTS_DIR;
|
package/dist/metadata/index.mjs
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
|
+
import { resolvePackageResourceDir, resolveMetadataInheritance } from '../chunk-QC6VTSA3.mjs';
|
|
2
|
+
import '../chunk-UJCSKKID.mjs';
|
|
1
3
|
import * as fs from 'fs';
|
|
2
4
|
import * as path from 'path';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var COMPONENTS_DIR = resolvePackageResourceDir("components");
|
|
7
|
+
function loadAllRawComponents() {
|
|
8
|
+
const metadata = {};
|
|
9
|
+
try {
|
|
10
|
+
const files = fs.readdirSync(COMPONENTS_DIR).filter((f) => f.endsWith(".json"));
|
|
11
|
+
for (const file of files) {
|
|
12
|
+
const content = fs.readFileSync(path.join(COMPONENTS_DIR, file), "utf-8");
|
|
13
|
+
const data = JSON.parse(content);
|
|
14
|
+
metadata[data.name] = data;
|
|
15
|
+
}
|
|
16
|
+
} catch {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
return metadata;
|
|
20
|
+
}
|
|
9
21
|
function getComponentsList() {
|
|
10
22
|
try {
|
|
11
23
|
return fs.readdirSync(COMPONENTS_DIR).filter((f) => f.endsWith(".json")).map((f) => f.replace(".json", ""));
|
|
@@ -15,23 +27,22 @@ function getComponentsList() {
|
|
|
15
27
|
}
|
|
16
28
|
function getComponentMetadata(componentName) {
|
|
17
29
|
try {
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
30
|
+
const rawMetadata = loadAllRawComponents();
|
|
31
|
+
const target = Object.values(rawMetadata).find(
|
|
32
|
+
(component) => component.name === componentName || component.id === componentName
|
|
33
|
+
);
|
|
34
|
+
return target ? resolveMetadataInheritance(target, rawMetadata) : null;
|
|
21
35
|
} catch {
|
|
22
36
|
return null;
|
|
23
37
|
}
|
|
24
38
|
}
|
|
25
39
|
function getAllComponentsMetadata() {
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
for (const
|
|
29
|
-
|
|
30
|
-
if (data) {
|
|
31
|
-
metadata[name] = data;
|
|
32
|
-
}
|
|
40
|
+
const rawMetadata = loadAllRawComponents();
|
|
41
|
+
const resolvedMetadata = {};
|
|
42
|
+
for (const component of Object.values(rawMetadata)) {
|
|
43
|
+
resolvedMetadata[component.name] = resolveMetadataInheritance(component, rawMetadata);
|
|
33
44
|
}
|
|
34
|
-
return
|
|
45
|
+
return resolvedMetadata;
|
|
35
46
|
}
|
|
36
47
|
function getComponentsDir() {
|
|
37
48
|
return COMPONENTS_DIR;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface ComponentInheritance {
|
|
2
|
+
component: string;
|
|
3
|
+
include?: Array<'props' | 'events' | 'slots' | 'methods'>;
|
|
4
|
+
exclude?: string[];
|
|
5
|
+
}
|
|
6
|
+
type NamedItem = {
|
|
7
|
+
name: string;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
interface ResolvableComponentMetadata {
|
|
12
|
+
id?: string;
|
|
13
|
+
name: string;
|
|
14
|
+
props?: NamedItem[];
|
|
15
|
+
events?: NamedItem[];
|
|
16
|
+
slots?: NamedItem[];
|
|
17
|
+
methods?: NamedItem[];
|
|
18
|
+
inherits?: ComponentInheritance[];
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}
|
|
21
|
+
declare function normalizeMetadataName(value: string): string;
|
|
22
|
+
declare function resolveMetadataInheritance<T extends ResolvableComponentMetadata>(metadata: T, lookup: Record<string, T>, visited?: Set<string>): T;
|
|
23
|
+
|
|
24
|
+
export { type ComponentInheritance as C, type ResolvableComponentMetadata as R, normalizeMetadataName as n, resolveMetadataInheritance as r };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface ComponentInheritance {
|
|
2
|
+
component: string;
|
|
3
|
+
include?: Array<'props' | 'events' | 'slots' | 'methods'>;
|
|
4
|
+
exclude?: string[];
|
|
5
|
+
}
|
|
6
|
+
type NamedItem = {
|
|
7
|
+
name: string;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
interface ResolvableComponentMetadata {
|
|
12
|
+
id?: string;
|
|
13
|
+
name: string;
|
|
14
|
+
props?: NamedItem[];
|
|
15
|
+
events?: NamedItem[];
|
|
16
|
+
slots?: NamedItem[];
|
|
17
|
+
methods?: NamedItem[];
|
|
18
|
+
inherits?: ComponentInheritance[];
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}
|
|
21
|
+
declare function normalizeMetadataName(value: string): string;
|
|
22
|
+
declare function resolveMetadataInheritance<T extends ResolvableComponentMetadata>(metadata: T, lookup: Record<string, T>, visited?: Set<string>): T;
|
|
23
|
+
|
|
24
|
+
export { type ComponentInheritance as C, type ResolvableComponentMetadata as R, normalizeMetadataName as n, resolveMetadataInheritance as r };
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkEYKZY2F3_js = require('../chunk-EYKZY2F3.js');
|
|
4
|
+
var chunkCR3GC4H3_js = require('../chunk-CR3GC4H3.js');
|
|
5
|
+
require('../chunk-JSBRDJBE.js');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "validateRuntimePrecheck", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkEYKZY2F3_js.validateRuntimePrecheck; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "compileSFC", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCR3GC4H3_js.compileSFC; }
|
|
15
16
|
});
|
package/dist/runtime/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { validateRuntimePrecheck } from '../chunk-
|
|
2
|
-
export { compileSFC } from '../chunk-
|
|
1
|
+
export { validateRuntimePrecheck } from '../chunk-D2SXGGTX.mjs';
|
|
2
|
+
export { compileSFC } from '../chunk-BI5TIQID.mjs';
|
|
3
|
+
import '../chunk-UJCSKKID.mjs';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { C as ComponentInheritance, R as ResolvableComponentMetadata, n as normalizeMetadataName, r as resolveMetadataInheritance } from '../resolve-BsLBxlBi.mjs';
|
|
2
|
+
|
|
3
|
+
interface ResolvePackagePathOptions {
|
|
4
|
+
cwd?: string;
|
|
5
|
+
packageName?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function resolvePackageRoot(options?: ResolvePackagePathOptions): string | null;
|
|
8
|
+
declare function resolvePackageResourceDir(resourceDirName: string, options?: ResolvePackagePathOptions): string;
|
|
9
|
+
|
|
10
|
+
export { type ResolvePackagePathOptions, resolvePackageResourceDir, resolvePackageRoot };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { C as ComponentInheritance, R as ResolvableComponentMetadata, n as normalizeMetadataName, r as resolveMetadataInheritance } from '../resolve-BsLBxlBi.js';
|
|
2
|
+
|
|
3
|
+
interface ResolvePackagePathOptions {
|
|
4
|
+
cwd?: string;
|
|
5
|
+
packageName?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function resolvePackageRoot(options?: ResolvePackagePathOptions): string | null;
|
|
8
|
+
declare function resolvePackageResourceDir(resourceDirName: string, options?: ResolvePackagePathOptions): string;
|
|
9
|
+
|
|
10
|
+
export { type ResolvePackagePathOptions, resolvePackageResourceDir, resolvePackageRoot };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkKF5YBEM5_js = require('../chunk-KF5YBEM5.js');
|
|
4
|
+
require('../chunk-JSBRDJBE.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "normalizeMetadataName", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkKF5YBEM5_js.normalizeMetadataName; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "resolveMetadataInheritance", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkKF5YBEM5_js.resolveMetadataInheritance; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "resolvePackageResourceDir", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkKF5YBEM5_js.resolvePackageResourceDir; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "resolvePackageRoot", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkKF5YBEM5_js.resolvePackageRoot; }
|
|
23
|
+
});
|
package/dist/static/index.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkTA3SV4SP_js = require('../chunk-TA3SV4SP.js');
|
|
4
|
+
var chunkCR3GC4H3_js = require('../chunk-CR3GC4H3.js');
|
|
5
|
+
require('../chunk-JSBRDJBE.js');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "validateCompilation", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkTA3SV4SP_js.validateCompilation; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "compileSFC", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCR3GC4H3_js.compileSFC; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "scopeStyles", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkCR3GC4H3_js.scopeStyles; }
|
|
19
20
|
});
|
package/dist/static/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { validateCompilation } from '../chunk-
|
|
2
|
-
export { compileSFC, scopeStyles } from '../chunk-
|
|
1
|
+
export { validateCompilation } from '../chunk-3LYQ5XFM.mjs';
|
|
2
|
+
export { compileSFC, scopeStyles } from '../chunk-BI5TIQID.mjs';
|
|
3
|
+
import '../chunk-UJCSKKID.mjs';
|