@fangzhongya/vue-archive 0.0.2-20 → 0.0.2-22

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.
Files changed (58) hide show
  1. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  2. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  3. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +0 -0
  4. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  5. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js +18 -0
  6. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  7. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -0
  8. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js +0 -0
  9. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  10. package/dist/es/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  11. package/dist/es/packages/components/code/index.vue.js +17 -18
  12. package/dist/es/packages/components/use/index.js +1 -1
  13. package/dist/es/packages/components/use/retrie/choice/index.vue.js +1 -1
  14. package/dist/es/packages/components/use/set-code.vue.js +3 -3
  15. package/dist/es/packages/config.d.ts +2 -0
  16. package/dist/es/packages/config.js +1 -1
  17. package/dist/es/packages/index.d.ts +0 -1
  18. package/dist/es/packages/index.js +5 -7
  19. package/dist/es/packages/utils/common.js +66 -66
  20. package/dist/es/packages/utils/glob.d.ts +1 -1
  21. package/dist/es/packages/utils/glob.js +150 -122
  22. package/dist/es/packages/utils/index.d.ts +2 -1
  23. package/dist/es/packages/utils/index.js +16 -13
  24. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  25. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  26. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +0 -0
  27. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  28. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js +1 -0
  29. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  30. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -0
  31. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js +0 -0
  32. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  33. package/dist/lib/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-15 → @fangzhongya_utils@0.0.7-16}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  34. package/dist/lib/packages/components/code/index.vue.js +1 -1
  35. package/dist/lib/packages/components/use/index.js +1 -1
  36. package/dist/lib/packages/components/use/retrie/choice/index.vue.js +1 -1
  37. package/dist/lib/packages/components/use/set-code.vue.js +1 -1
  38. package/dist/lib/packages/config.d.ts +2 -0
  39. package/dist/lib/packages/config.js +1 -1
  40. package/dist/lib/packages/index.d.ts +0 -1
  41. package/dist/lib/packages/index.js +1 -1
  42. package/dist/lib/packages/utils/common.js +1 -1
  43. package/dist/lib/packages/utils/glob.d.ts +1 -1
  44. package/dist/lib/packages/utils/glob.js +2 -2
  45. package/dist/lib/packages/utils/index.d.ts +2 -1
  46. package/dist/lib/packages/utils/index.js +1 -1
  47. package/dist/node/index.cjs +17975 -0
  48. package/dist/node/index.d.ts +110 -0
  49. package/dist/node/index.js +17975 -0
  50. package/package.json +29 -5
  51. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js +0 -6
  52. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +0 -18
  53. package/dist/es/packages/node/index.d.ts +0 -2
  54. package/dist/es/packages/node/index.js +0 -155
  55. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js +0 -1
  56. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +0 -1
  57. package/dist/lib/packages/node/index.d.ts +0 -2
  58. package/dist/lib/packages/node/index.js +0 -1
@@ -0,0 +1,18 @@
1
+ function s(e, c) {
2
+ return new Promise((n, f) => {
3
+ let t = 0;
4
+ const i = e.length;
5
+ i > 0 ? e.forEach((...o) => {
6
+ c(
7
+ (...r) => {
8
+ t++, i == t && n(r);
9
+ },
10
+ f,
11
+ ...o
12
+ );
13
+ }) : n(e);
14
+ });
15
+ }
16
+ export {
17
+ s as asyncMergeArray
18
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, watch as T, ref as c, openBlock as u, createElementBlock as p, createElementVNode as e, toDisplayString as m, createVNode as _, withCtx as h, normalizeClass as k, withModifiers as g, Fragment as $, renderList as j, createBlock as E, withDirectives as L, vShow as N } from "vue";
1
+ import { defineComponent as D, watch as T, ref as c, openBlock as u, createElementBlock as p, createElementVNode as e, toDisplayString as m, createVNode as h, withCtx as _, normalizeClass as k, withModifiers as g, Fragment as $, renderList as j, createBlock as E, withDirectives as L, vShow as N } from "vue";
2
2
  import C from "../boxurl/index.vue.js";
3
3
  import { toSingle as V } from "../../router/index.js";
4
4
  import z from "./highlight.vue.js";
@@ -35,19 +35,18 @@ const I = { class: "code" }, M = { class: "code-top" }, O = { class: "code-top-b
35
35
  }
36
36
  function d() {
37
37
  var l;
38
- if (o.value = void 0, a.value = !1, t.text) {
39
- let s = A(
40
- (l = t.value) == null ? void 0 : l.key,
41
- t.text,
42
- "vue"
43
- );
44
- F(s).then((n) => {
45
- r.value = n.filter((i) => i.raw);
38
+ o.value = void 0, a.value = !1, t.text && A(
39
+ (l = t.value) == null ? void 0 : l.key,
40
+ t.text,
41
+ "vue"
42
+ ).then((n) => {
43
+ F(n).then((s) => {
44
+ r.value = s.filter((i) => i.raw);
46
45
  });
47
- }
46
+ });
48
47
  }
49
- return d(), (l, s) => {
50
- var n;
48
+ return d(), (l, n) => {
49
+ var s;
51
50
  return u(), p("div", I, [
52
51
  e("div", M, [
53
52
  e("div", O, [
@@ -64,21 +63,21 @@ const I = { class: "code" }, M = { class: "code-top" }, O = { class: "code-top-b
64
63
  onClick: S
65
64
  }, m(a.value ? "隐藏" : "显示"), 1),
66
65
  e("div", R, [
67
- _(C, {
66
+ h(C, {
68
67
  value: t.value
69
68
  }, {
70
- default: h(() => [
69
+ default: _(() => [
71
70
  e("div", {
72
71
  class: k(["but-div", {
73
72
  on: !(o.value && o.value.value)
74
73
  }]),
75
- onClick: s[0] || (s[0] = g((i) => v(), ["stop"]))
74
+ onClick: n[0] || (n[0] = g((i) => v(), ["stop"]))
76
75
  }, " index.vue ", 2)
77
76
  ]),
78
77
  _: 1
79
78
  }, 8, ["value"]),
80
79
  (u(!0), p($, null, j(r.value, (i, G) => (u(), E(C, { value: i }, {
81
- default: h(() => {
80
+ default: _(() => {
82
81
  var f;
83
82
  return [
84
83
  e("div", {
@@ -95,9 +94,9 @@ const I = { class: "code" }, M = { class: "code-top" }, O = { class: "code-top-b
95
94
  ])
96
95
  ]),
97
96
  L(e("div", q, [
98
- _(z, {
97
+ h(z, {
99
98
  language: "html",
100
- code: ((n = o.value) == null ? void 0 : n.raw) || t.text
99
+ code: ((s = o.value) == null ? void 0 : s.raw) || t.text
101
100
  }, null, 8, ["code"])
102
101
  ], 512), [
103
102
  [N, a.value]
@@ -5,7 +5,7 @@ import E from "./set-code.vue.js";
5
5
  import O from "./set-expose.vue.js";
6
6
  import $ from "./set-slot.vue.js";
7
7
  import { getPropsValue as D, getEmitsValue as w, getExposeValue as U, getSlotValue as k } from "../../utils/props.js";
8
- import { firstUpper as h } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
8
+ import { firstUpper as h } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
9
9
  const K = g({
10
10
  /**
11
11
  * @props {Stinrg} value 插入数据
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as T, ref as c, computed as h, watch as L, openBlock as s, createElementBlock as i, createElementVNode as f, unref as z, withModifiers as u, withDirectives as D, Fragment as E, renderList as F, normalizeClass as I, toDisplayString as O, vShow as $ } from "vue";
2
- import { toggleArray as J } from "../../../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js";
2
+ import { toggleArray as J } from "../../../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js";
3
3
  import { getSonType as P, getString as q } from "../../util.js";
4
4
  const G = { class: "form-select" }, H = ["value", "disabled", "onClick", "onBlur"], K = ["onMousemove", "onMouseout"], Q = { class: "form-select-list" }, R = {
5
5
  key: 0,
@@ -2,9 +2,9 @@ import { defineComponent as C, computed as F, ref as O, openBlock as w, createEl
2
2
  import { vueFormat as g, getFunctionFormat as H, prettierFormat as J, getFunBody as M } from "./util.js";
3
3
  import U from "../code/highlight.vue.js";
4
4
  import { copyCode as Z } from "../../utils/index.js";
5
- import { humpToLine as q } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
6
- import { firstUpper as _ } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
7
- import { firstLower as z } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
5
+ import { humpToLine as q } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
6
+ import { firstUpper as _ } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
7
+ import { firstLower as z } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
8
8
  const G = { class: "set-code" }, I = /* @__PURE__ */ f("div", null, "代码", -1), K = { class: "but-div set-code-but" }, P = ["onClick"], Q = { class: "set-code-html" }, ot = /* @__PURE__ */ C({
9
9
  __name: "set-code",
10
10
  props: {
@@ -25,6 +25,7 @@ export interface Resolver extends Component {
25
25
  }
26
26
  export interface Components extends Component {
27
27
  resolver?: Resolver;
28
+ urls?: string[];
28
29
  comprops?: string;
29
30
  curprops?: string;
30
31
  components: GlobComs;
@@ -56,6 +57,7 @@ export interface ExampleObj {
56
57
  */
57
58
  componentName?: string | number;
58
59
  examples?: GlobComs;
60
+ urls?: string[];
59
61
  examplesRaw?: Globs;
60
62
  md?: string;
61
63
  }
@@ -1,4 +1,4 @@
1
- import { mergeObject as t } from "../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js";
1
+ import { mergeObject as t } from "../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js";
2
2
  const o = {
3
3
  components: []
4
4
  };
@@ -1,7 +1,6 @@
1
1
  import type { Config } from './config';
2
2
  import type { App } from './vue/dist/vue.esm-bundler.js';
3
3
  import type { Router } from 'vue-router';
4
- export * from './node/index';
5
4
  export declare function defineConfig(config: Config): Config;
6
5
  declare const _default: {
7
6
  install: (app: App, router: Router) => void;
@@ -1,16 +1,14 @@
1
- import { init as i } from "./router/index.js";
1
+ import { init as o } from "./router/index.js";
2
2
  import { userConfig as t } from "./config.js";
3
- import { nodeInit as a } from "./node/index.js";
4
- function f(n) {
3
+ function e(n) {
5
4
  return t(n);
6
5
  }
7
6
  const p = {
8
- install: function(n, o) {
9
- i(o);
7
+ install: function(n, i) {
8
+ o(i);
10
9
  }
11
10
  };
12
11
  export {
13
12
  p as default,
14
- f as defineConfig,
15
- a as nodeInit
13
+ e as defineConfig
16
14
  };
@@ -1,45 +1,45 @@
1
1
  import { setSession as E, getSession as w } from "./storage.js";
2
- import { humpToLine as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
3
- import { lineToLargeHump as A } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
4
- import { appearNum as h } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js";
5
- import { getSuffix as x } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-15/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
6
- const R = ["vue", "js"];
7
- function S(t, e) {
8
- let n = N(t.name), i = [];
9
- return t.alias && i.push(t.alias + "-" + n), e && e.length > 0 && e.forEach((r) => {
10
- t.alias && i.push(t.alias + "-" + r + "-" + n), i.push(r + "-" + n);
2
+ import { humpToLine as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
3
+ import { lineToLargeHump as A } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
4
+ import { appearNum as m } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js";
5
+ import { getSuffix as x } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
6
+ const S = ["vue", "js"];
7
+ function $(e, t) {
8
+ let n = N(e.name), i = [];
9
+ return e.alias && i.push(e.alias + "-" + n), t && t.length > 0 && t.forEach((r) => {
10
+ e.alias && i.push(e.alias + "-" + r + "-" + n), i.push(r + "-" + n);
11
11
  }), i;
12
12
  }
13
- function $(t) {
14
- return t.sort((e, n) => {
15
- let i = h(e, "/"), r = h(n, "/");
16
- return i == r ? n.length - e.length : r - i;
17
- }), t;
13
+ function C(e) {
14
+ return e.sort((t, n) => {
15
+ let i = m(t, "/"), r = m(n, "/");
16
+ return i == r ? n.length - t.length : r - i;
17
+ }), e;
18
18
  }
19
- function C(t = [], e = [], n = []) {
20
- let i = e;
21
- (!i || i.length == 0) && (i = R);
19
+ function T(e = [], t = [], n = []) {
20
+ let i = t;
21
+ (!i || i.length == 0) && (i = S);
22
22
  let r = [];
23
- return t && t.length > 0 && (r = t), n && n.length > 0 && n.forEach((p) => {
24
- i == null || i.forEach((u) => {
25
- r.push(p + "." + u);
23
+ return e && e.length > 0 && (r = e), n && n.length > 0 && n.forEach((u) => {
24
+ i == null || i.forEach((p) => {
25
+ r.push(u + "." + p);
26
26
  });
27
- }), r = [...new Set(r)], $(r);
27
+ }), r = [...new Set(r)], C(r);
28
28
  }
29
- function T(t, e, n = {}, i = "") {
30
- for (let r = 0; r < e.length; r++) {
31
- const p = e[r], u = new RegExp("^.*/([^/]+)" + p + "$");
32
- let f = t.match(u);
29
+ function v(e, t, n = {}, i = "") {
30
+ for (let r = 0; r < t.length; r++) {
31
+ const u = t[r], p = new RegExp("^.*/([^/]+)" + u + "$");
32
+ let f = e.match(p);
33
33
  if (f) {
34
34
  const a = [], o = {};
35
35
  let c = "";
36
- Object.keys(n).forEach((m) => {
37
- let g = n[m];
38
- t.startsWith(g + "/") && (c = g, o[m] = g, a.push(m));
36
+ Object.keys(n).forEach((g) => {
37
+ let h = n[g];
38
+ e.startsWith(h + "/") && (c = h, o[g] = h, a.push(g));
39
39
  });
40
40
  let l = f[1], s = {
41
41
  dir: "",
42
- suffix: x(t),
42
+ suffix: x(e),
43
43
  name: A(l),
44
44
  value: l,
45
45
  key: "",
@@ -53,70 +53,70 @@ function T(t, e, n = {}, i = "") {
53
53
  mds: [],
54
54
  tests: void 0
55
55
  };
56
- return s.aliasNames = S(
56
+ return s.aliasNames = $(
57
57
  s,
58
58
  a
59
59
  ), s;
60
60
  }
61
61
  }
62
62
  }
63
- function O(t) {
64
- E("aside.key", t);
63
+ function O(e) {
64
+ E("aside.key", e);
65
65
  }
66
66
  function U() {
67
67
  return w("aside.key");
68
68
  }
69
- function v(t) {
70
- let e = t.match(/\/([^\/]+)\/$/);
71
- return e && e.length > 1 ? e[1] : "";
69
+ function K(e) {
70
+ let t = e.match(/\/([^\/]+)\/$/);
71
+ return t && t.length > 1 ? t[1] : "";
72
72
  }
73
- function K(t, e) {
74
- return e ? new RegExp(
75
- e + ".+(\\.(js|ts))?$"
76
- ).test(t) : !1;
73
+ function L(e, t) {
74
+ return t ? new RegExp(
75
+ t + ".+(\\.(js|ts))?$"
76
+ ).test(e) : !1;
77
77
  }
78
- function L(t, e) {
79
- return e ? new RegExp(
80
- "/" + e + "(\\.(js|ts))?$"
81
- ).test(t) : !1;
78
+ function M(e, t) {
79
+ return t ? new RegExp(
80
+ "/" + t + "(\\.(js|ts))?$"
81
+ ).test(e) : !1;
82
82
  }
83
- function V(t, e, n, i, r) {
84
- const p = [], u = [], f = C(
85
- e.matchexts,
86
- e.extensions,
87
- e.matchs
88
- ), a = v(e.dir);
89
- return t.forEach((o) => {
90
- const c = new RegExp("^" + e.dir);
83
+ function V(e, t, n, i, r) {
84
+ const u = [], p = [], f = T(
85
+ t.matchexts,
86
+ t.extensions,
87
+ t.matchs
88
+ ), a = K(t.dir);
89
+ return e.forEach((o) => {
90
+ const c = new RegExp("^" + t.dir);
91
91
  let l = o.replace(c, "");
92
- if (r.comprops && K(l, r.comprops) || r.curprops && L(l, r.curprops)) {
92
+ if (r.comprops && L(l, r.comprops) || r.curprops && M(l, r.curprops)) {
93
93
  let s = {};
94
- s.comprops = r.comprops || "", s.curprops = r.curprops || "", s.value = l, s.dir = e.dir, s.suffix = x(o), s.tdir = a, s.key = o, s.raw = "", s.getRaw = d(n, o), p.push(s);
94
+ s.comprops = r.comprops || "", s.curprops = r.curprops || "", s.value = l, s.dir = t.dir, s.suffix = x(o), s.tdir = a, s.key = o, s.raw = "", s.getRaw = d(n, o), u.push(s);
95
95
  } else {
96
- let s = T(
96
+ let s = v(
97
97
  l,
98
98
  f,
99
- e.aliass,
100
- e.alias
99
+ t.aliass,
100
+ t.alias
101
101
  );
102
- s && (s.comprops = r.comprops, s.curprops = r.curprops, s.dir = e.dir, s.tdir = a, s.key = o, s.component = i[o], s.getRaw = d(n, o), u.push(s));
102
+ s && (s.comprops = r.comprops, s.curprops = r.curprops, s.dir = t.dir, s.tdir = a, s.key = o, s.component = i[o], s.getRaw = d(n, o), p.push(s));
103
103
  }
104
104
  }), {
105
- props: p,
106
- components: u
105
+ props: u,
106
+ components: p
107
107
  };
108
108
  }
109
- function d(t, e) {
110
- return typeof t == "function" ? t : t[e] || t;
109
+ function d(e, t) {
110
+ return typeof e == "function" ? e : e && (e[t] || e);
111
111
  }
112
112
  export {
113
- R as defaultExtensions,
113
+ S as defaultExtensions,
114
114
  U as getAsideKey,
115
115
  V as getComponentsArr,
116
- C as getMatchs,
116
+ T as getMatchs,
117
117
  d as getRawValue,
118
- T as getUrlName,
119
- K as isComprops,
120
- L as isCurprops,
118
+ v as getUrlName,
119
+ L as isComprops,
120
+ M as isCurprops,
121
121
  O as setAsideKey
122
122
  };
@@ -15,7 +15,7 @@ export declare function getKeyMds(key: string): MdObj[] | undefined;
15
15
  * @param {*} arr
16
16
  * @returns
17
17
  */
18
- export declare function getTestImportUrl(url: string, text: string, type: string): Array<PropObj>;
18
+ export declare function getTestImportUrl(url: string, text: string, type: string): Promise<Array<PropObj>>;
19
19
  export declare function getLocalTextArr(arr: Array<PropObj>): Promise<TextObj[]>;
20
20
  export declare const defaultName = "default";
21
21
  export declare function getCompoNameKey(key: string): ComponentsObj;