@fangzhongya/fang-ui 0.0.88 → 0.0.90

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 (119) hide show
  1. package/dist/components/alert/src/index2.cjs +17 -8
  2. package/dist/components/alert/src/index2.js +18 -9
  3. package/dist/components/autocomplete/src/index2.cjs +17 -8
  4. package/dist/components/autocomplete/src/index2.js +18 -9
  5. package/dist/components/button/src/index2.cjs +17 -8
  6. package/dist/components/button/src/index2.js +18 -9
  7. package/dist/components/card/src/index2.cjs +17 -8
  8. package/dist/components/card/src/index2.js +18 -9
  9. package/dist/components/cascader/src/index2.cjs +17 -8
  10. package/dist/components/cascader/src/index2.js +18 -9
  11. package/dist/components/cascader-panel/src/index2.cjs +17 -8
  12. package/dist/components/cascader-panel/src/index2.js +18 -9
  13. package/dist/components/checkbox/src/index2.cjs +17 -8
  14. package/dist/components/checkbox/src/index2.js +18 -9
  15. package/dist/components/checkbox-button/src/index2.cjs +17 -8
  16. package/dist/components/checkbox-button/src/index2.js +18 -9
  17. package/dist/components/checkbox-group/src/index2.cjs +17 -8
  18. package/dist/components/checkbox-group/src/index2.js +18 -9
  19. package/dist/components/collapse/src/index2.cjs +17 -8
  20. package/dist/components/collapse/src/index2.js +18 -9
  21. package/dist/components/collapse-item/src/index2.cjs +17 -8
  22. package/dist/components/collapse-item/src/index2.js +18 -9
  23. package/dist/components/color-picker/src/index2.cjs +17 -8
  24. package/dist/components/color-picker/src/index2.js +18 -9
  25. package/dist/components/config-provider/src/index2.cjs +17 -8
  26. package/dist/components/config-provider/src/index2.js +18 -9
  27. package/dist/components/date-picker/src/index2.cjs +17 -8
  28. package/dist/components/date-picker/src/index2.js +18 -9
  29. package/dist/components/date-picker-panel/src/index2.cjs +17 -8
  30. package/dist/components/date-picker-panel/src/index2.js +18 -9
  31. package/dist/components/dialog/src/index2.cjs +17 -8
  32. package/dist/components/dialog/src/index2.js +18 -9
  33. package/dist/components/divider/src/index2.cjs +17 -8
  34. package/dist/components/divider/src/index2.js +18 -9
  35. package/dist/components/drawer/src/index2.cjs +17 -8
  36. package/dist/components/drawer/src/index2.js +18 -9
  37. package/dist/components/dropdown/src/index2.cjs +17 -8
  38. package/dist/components/dropdown/src/index2.js +18 -9
  39. package/dist/components/dropdown-item/src/index2.cjs +17 -8
  40. package/dist/components/dropdown-item/src/index2.js +18 -9
  41. package/dist/components/dropdown-menu/src/index2.cjs +17 -8
  42. package/dist/components/dropdown-menu/src/index2.js +18 -9
  43. package/dist/components/form/src/index2.cjs +17 -8
  44. package/dist/components/form/src/index2.js +18 -9
  45. package/dist/components/form-item/src/index2.cjs +17 -8
  46. package/dist/components/form-item/src/index2.js +18 -9
  47. package/dist/components/image/src/index2.cjs +17 -8
  48. package/dist/components/image/src/index2.js +18 -9
  49. package/dist/components/input/src/index2.cjs +17 -8
  50. package/dist/components/input/src/index2.js +18 -9
  51. package/dist/components/input-number/src/index2.cjs +17 -8
  52. package/dist/components/input-number/src/index2.js +18 -9
  53. package/dist/components/input-tag/src/index2.cjs +17 -8
  54. package/dist/components/input-tag/src/index2.js +18 -9
  55. package/dist/components/mention/src/index2.cjs +17 -8
  56. package/dist/components/mention/src/index2.js +18 -9
  57. package/dist/components/menu/src/index2.cjs +17 -8
  58. package/dist/components/menu/src/index2.js +18 -9
  59. package/dist/components/menu-item/src/index2.cjs +17 -8
  60. package/dist/components/menu-item/src/index2.js +18 -9
  61. package/dist/components/menu-item-group/src/index2.cjs +17 -8
  62. package/dist/components/menu-item-group/src/index2.js +18 -9
  63. package/dist/components/option-group/src/index2.cjs +17 -8
  64. package/dist/components/option-group/src/index2.js +18 -9
  65. package/dist/components/pagination/src/index2.cjs +17 -8
  66. package/dist/components/pagination/src/index2.js +18 -9
  67. package/dist/components/popconfirm/src/index2.cjs +17 -8
  68. package/dist/components/popconfirm/src/index2.js +18 -9
  69. package/dist/components/popover/src/index2.cjs +17 -8
  70. package/dist/components/popover/src/index2.js +18 -9
  71. package/dist/components/radio/src/index2.cjs +17 -8
  72. package/dist/components/radio/src/index2.js +18 -9
  73. package/dist/components/radio-button/src/index2.cjs +17 -8
  74. package/dist/components/radio-button/src/index2.js +18 -9
  75. package/dist/components/radio-group/src/index2.cjs +17 -8
  76. package/dist/components/radio-group/src/index2.js +18 -9
  77. package/dist/components/scrollbar/src/index2.cjs +17 -8
  78. package/dist/components/scrollbar/src/index2.js +18 -9
  79. package/dist/components/select/src/index2.cjs +17 -8
  80. package/dist/components/select/src/index2.js +18 -9
  81. package/dist/components/slider/src/index2.cjs +17 -8
  82. package/dist/components/slider/src/index2.js +18 -9
  83. package/dist/components/switch/src/index2.cjs +17 -8
  84. package/dist/components/switch/src/index2.js +18 -9
  85. package/dist/components/tab-pane/src/index2.cjs +17 -8
  86. package/dist/components/tab-pane/src/index2.js +18 -9
  87. package/dist/components/table/src/index2.cjs +17 -8
  88. package/dist/components/table/src/index2.js +18 -9
  89. package/dist/components/table-column/src/index2.cjs +17 -8
  90. package/dist/components/table-column/src/index2.js +18 -9
  91. package/dist/components/tabs/src/index2.cjs +17 -8
  92. package/dist/components/tabs/src/index2.js +18 -9
  93. package/dist/components/tag/src/index2.cjs +17 -8
  94. package/dist/components/tag/src/index2.js +18 -9
  95. package/dist/components/text/src/index2.cjs +17 -8
  96. package/dist/components/text/src/index2.js +18 -9
  97. package/dist/components/time-picker/src/index2.cjs +17 -8
  98. package/dist/components/time-picker/src/index2.js +18 -9
  99. package/dist/components/time-select/src/index2.cjs +17 -8
  100. package/dist/components/time-select/src/index2.js +18 -9
  101. package/dist/components/tooltip/src/index2.cjs +17 -8
  102. package/dist/components/tooltip/src/index2.js +18 -9
  103. package/dist/components/transfer/src/index2.cjs +17 -8
  104. package/dist/components/transfer/src/index2.js +18 -9
  105. package/dist/components/tree/src/index2.cjs +17 -8
  106. package/dist/components/tree/src/index2.js +18 -9
  107. package/dist/components/tree-select/src/index2.cjs +17 -8
  108. package/dist/components/tree-select/src/index2.js +18 -9
  109. package/dist/components/upload/src/index2.cjs +17 -8
  110. package/dist/components/upload/src/index2.js +18 -9
  111. package/dist/directives/expose/index.cjs +2 -1
  112. package/dist/directives/expose/index.js +2 -1
  113. package/dist/icons/index.css +41 -41
  114. package/dist/icons/index.json +12 -12
  115. package/package.json +5 -5
  116. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  117. /package/dist/components/{collapse-item → global-config}/index.css +0 -0
  118. /package/dist/css/{forms-item.css → forms-items.css} +0 -0
  119. /package/dist/css/{collapse-item.css → global-config.css} +0 -0
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/tabs/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("tab-pane");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTabPane), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTabPane), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElTabPane } from "element-plus/es/components/tabs/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("tab-pane");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElTabPane), mergeProps({
29
+ return openBlock(), createBlock(unref(ElTabPane), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/table/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("table");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTable), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTable), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElTable } from "element-plus/es/components/table/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("table");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElTable), mergeProps({
29
+ return openBlock(), createBlock(unref(ElTable), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/table/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("table-column");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTableColumn), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTableColumn), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElTableColumn } from "element-plus/es/components/table/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("table-column");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElTableColumn), mergeProps({
29
+ return openBlock(), createBlock(unref(ElTableColumn), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/tabs/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("tabs");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTabs), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTabs), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElTabs } from "element-plus/es/components/tabs/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("tabs");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElTabs), mergeProps({
29
+ return openBlock(), createBlock(unref(ElTabs), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/tag/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("tag");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTag), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTag), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElTag } from "element-plus/es/components/tag/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("tag");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElTag), mergeProps({
29
+ return openBlock(), createBlock(unref(ElTag), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/text/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("text");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElText), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElText), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElText } from "element-plus/es/components/text/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("text");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElText), mergeProps({
29
+ return openBlock(), createBlock(unref(ElText), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
- const index$2 = require("../../../directives/expose/index.cjs");
5
4
  const data = require("./data.cjs");
6
5
  const index = require("../../../hooks/cssname/index.cjs");
7
6
  const index$1 = require("element-plus/es/components/time-picker/index");
@@ -15,11 +14,23 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
15
14
  const cs = index.useCssName("time-picker");
16
15
  const props = __props;
17
16
  const emit = __emit;
18
- __expose({
19
- ...data.dataExpose
20
- });
17
+ const elRef = vues.ref();
18
+ __expose(
19
+ new Proxy(
20
+ { ...data.dataExpose },
21
+ {
22
+ get: (_target, key) => {
23
+ var _a;
24
+ return (_a = elRef.value) == null ? void 0 : _a[key];
25
+ },
26
+ has: (_target, key) => key in (elRef.value || {})
27
+ }
28
+ )
29
+ );
21
30
  return (_ctx, _cache) => {
22
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTimePicker), vues.mergeProps({
31
+ return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElTimePicker), vues.mergeProps({
32
+ ref_key: "elRef",
33
+ ref: elRef,
23
34
  class: vues.unref(cs).z()
24
35
  }, vues.unref(attrs)), vues.createSlots({ _: 2 }, [
25
36
  vues.renderList(Object.keys(vues.unref(slots)), (k) => {
@@ -30,9 +41,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
41
  ])
31
42
  };
32
43
  })
33
- ]), 1040, ["class"])), [
34
- [vues.unref(index$2.default), {}]
35
- ]);
44
+ ]), 1040, ["class"]);
36
45
  };
37
46
  }
38
47
  });
@@ -1,5 +1,4 @@
1
- import { defineComponent, useAttrs, useSlots, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import vExpose from "../../../directives/expose/index.js";
1
+ import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
3
  import { useCssName } from "../../../hooks/cssname/index.js";
5
4
  import { ElTimePicker } from "element-plus/es/components/time-picker/index";
@@ -13,11 +12,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  const cs = useCssName("time-picker");
14
13
  const props = __props;
15
14
  const emit = __emit;
16
- __expose({
17
- ...dataExpose
18
- });
15
+ const elRef = ref();
16
+ __expose(
17
+ new Proxy(
18
+ { ...dataExpose },
19
+ {
20
+ get: (_target, key) => {
21
+ var _a;
22
+ return (_a = elRef.value) == null ? void 0 : _a[key];
23
+ },
24
+ has: (_target, key) => key in (elRef.value || {})
25
+ }
26
+ )
27
+ );
19
28
  return (_ctx, _cache) => {
20
- return withDirectives((openBlock(), createBlock(unref(ElTimePicker), mergeProps({
29
+ return openBlock(), createBlock(unref(ElTimePicker), mergeProps({
30
+ ref_key: "elRef",
31
+ ref: elRef,
21
32
  class: unref(cs).z()
22
33
  }, unref(attrs)), createSlots({ _: 2 }, [
23
34
  renderList(Object.keys(unref(slots)), (k) => {
@@ -28,9 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
39
  ])
29
40
  };
30
41
  })
31
- ]), 1040, ["class"])), [
32
- [unref(vExpose), {}]
33
- ]);
42
+ ]), 1040, ["class"]);
34
43
  };
35
44
  }
36
45
  });