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