@fangzhongya/fang-ui 0.0.89 → 0.0.91

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 (141) hide show
  1. package/dist/components/alert/src/index2.cjs +12 -11
  2. package/dist/components/alert/src/index2.js +12 -11
  3. package/dist/components/autocomplete/src/index2.cjs +12 -11
  4. package/dist/components/autocomplete/src/index2.js +12 -11
  5. package/dist/components/button/src/index2.cjs +12 -11
  6. package/dist/components/button/src/index2.js +12 -11
  7. package/dist/components/card/src/index2.cjs +12 -11
  8. package/dist/components/card/src/index2.js +12 -11
  9. package/dist/components/cascader/src/index2.cjs +12 -11
  10. package/dist/components/cascader/src/index2.js +12 -11
  11. package/dist/components/cascader-panel/src/index2.cjs +12 -11
  12. package/dist/components/cascader-panel/src/index2.js +12 -11
  13. package/dist/components/checkbox/src/index2.cjs +12 -11
  14. package/dist/components/checkbox/src/index2.js +12 -11
  15. package/dist/components/checkbox-button/src/index2.cjs +12 -9
  16. package/dist/components/checkbox-button/src/index2.js +12 -9
  17. package/dist/components/checkbox-group/src/index2.cjs +12 -9
  18. package/dist/components/checkbox-group/src/index2.js +12 -9
  19. package/dist/components/checks/src/index2.cjs +26 -12
  20. package/dist/components/checks/src/index2.js +26 -12
  21. package/dist/components/collapse/src/index2.cjs +12 -11
  22. package/dist/components/collapse/src/index2.js +12 -11
  23. package/dist/components/collapse-item/src/index2.cjs +12 -9
  24. package/dist/components/collapse-item/src/index2.js +12 -9
  25. package/dist/components/color-picker/src/index2.cjs +12 -11
  26. package/dist/components/color-picker/src/index2.js +12 -11
  27. package/dist/components/config-provider/src/index2.cjs +12 -11
  28. package/dist/components/config-provider/src/index2.js +12 -11
  29. package/dist/components/date-picker/src/index2.cjs +12 -11
  30. package/dist/components/date-picker/src/index2.js +12 -11
  31. package/dist/components/date-picker-panel/src/index2.cjs +12 -11
  32. package/dist/components/date-picker-panel/src/index2.js +12 -11
  33. package/dist/components/department-select/src/index2.cjs +2 -5
  34. package/dist/components/department-select/src/index2.js +3 -6
  35. package/dist/components/dialog/src/index2.cjs +12 -11
  36. package/dist/components/dialog/src/index2.js +12 -11
  37. package/dist/components/divider/src/index2.cjs +12 -11
  38. package/dist/components/divider/src/index2.js +12 -11
  39. package/dist/components/drawer/src/index2.cjs +12 -11
  40. package/dist/components/drawer/src/index2.js +12 -11
  41. package/dist/components/dropdown/src/index2.cjs +12 -11
  42. package/dist/components/dropdown/src/index2.js +12 -11
  43. package/dist/components/dropdown-item/src/index2.cjs +12 -9
  44. package/dist/components/dropdown-item/src/index2.js +12 -9
  45. package/dist/components/dropdown-menu/src/index2.cjs +12 -9
  46. package/dist/components/dropdown-menu/src/index2.js +12 -9
  47. package/dist/components/form/src/index2.cjs +12 -11
  48. package/dist/components/form/src/index2.js +12 -11
  49. package/dist/components/form-item/src/index2.cjs +12 -9
  50. package/dist/components/form-item/src/index2.js +12 -9
  51. package/dist/components/forms-div/src/index2.cjs +0 -1
  52. package/dist/components/forms-div/src/index2.js +0 -1
  53. package/dist/components/image/src/index2.cjs +12 -11
  54. package/dist/components/image/src/index2.js +12 -11
  55. package/dist/components/images/src/index2.cjs +16 -11
  56. package/dist/components/images/src/index2.js +17 -12
  57. package/dist/components/input/src/index2.cjs +12 -11
  58. package/dist/components/input/src/index2.js +12 -11
  59. package/dist/components/input-history/src/index2.cjs +16 -13
  60. package/dist/components/input-history/src/index2.js +12 -9
  61. package/dist/components/input-num/src/index2.cjs +15 -9
  62. package/dist/components/input-num/src/index2.js +15 -9
  63. package/dist/components/input-number/src/index2.cjs +12 -11
  64. package/dist/components/input-number/src/index2.js +12 -11
  65. package/dist/components/input-tag/src/index2.cjs +12 -11
  66. package/dist/components/input-tag/src/index2.js +12 -11
  67. package/dist/components/inputs/src/index2.cjs +15 -9
  68. package/dist/components/inputs/src/index2.js +15 -9
  69. package/dist/components/mention/src/index2.cjs +12 -11
  70. package/dist/components/mention/src/index2.js +12 -11
  71. package/dist/components/menu/src/index2.cjs +12 -11
  72. package/dist/components/menu/src/index2.js +12 -11
  73. package/dist/components/menu-item/src/index2.cjs +12 -9
  74. package/dist/components/menu-item/src/index2.js +12 -9
  75. package/dist/components/menu-item-group/src/index2.cjs +12 -9
  76. package/dist/components/menu-item-group/src/index2.js +12 -9
  77. package/dist/components/option-group/src/index2.cjs +12 -9
  78. package/dist/components/option-group/src/index2.js +12 -9
  79. package/dist/components/pagination/src/index2.cjs +12 -11
  80. package/dist/components/pagination/src/index2.js +12 -11
  81. package/dist/components/popconfirm/src/index2.cjs +12 -11
  82. package/dist/components/popconfirm/src/index2.js +12 -11
  83. package/dist/components/popover/src/index2.cjs +12 -11
  84. package/dist/components/popover/src/index2.js +12 -11
  85. package/dist/components/radio/src/index2.cjs +12 -11
  86. package/dist/components/radio/src/index2.js +12 -11
  87. package/dist/components/radio-button/src/index2.cjs +12 -9
  88. package/dist/components/radio-button/src/index2.js +12 -9
  89. package/dist/components/radio-group/src/index2.cjs +12 -9
  90. package/dist/components/radio-group/src/index2.js +12 -9
  91. package/dist/components/scrollbar/src/index2.cjs +12 -11
  92. package/dist/components/scrollbar/src/index2.js +12 -11
  93. package/dist/components/select/src/index2.cjs +12 -11
  94. package/dist/components/select/src/index2.js +12 -11
  95. package/dist/components/select-popover/src/index2.cjs +2 -5
  96. package/dist/components/select-popover/src/index2.js +3 -6
  97. package/dist/components/selects/src/index2.cjs +17 -11
  98. package/dist/components/selects/src/index2.js +15 -9
  99. package/dist/components/slider/src/index2.cjs +12 -11
  100. package/dist/components/slider/src/index2.js +12 -11
  101. package/dist/components/switch/src/index2.cjs +12 -11
  102. package/dist/components/switch/src/index2.js +12 -11
  103. package/dist/components/switchs/src/index2.cjs +10 -7
  104. package/dist/components/switchs/src/index2.js +10 -7
  105. package/dist/components/tab-pane/src/index2.cjs +12 -9
  106. package/dist/components/tab-pane/src/index2.js +12 -9
  107. package/dist/components/table/src/index2.cjs +12 -11
  108. package/dist/components/table/src/index2.js +12 -11
  109. package/dist/components/table-column/src/index2.cjs +12 -9
  110. package/dist/components/table-column/src/index2.js +12 -9
  111. package/dist/components/tabs/src/index2.cjs +12 -11
  112. package/dist/components/tabs/src/index2.js +12 -11
  113. package/dist/components/tag/src/index2.cjs +12 -11
  114. package/dist/components/tag/src/index2.js +12 -11
  115. package/dist/components/text/src/index2.cjs +12 -11
  116. package/dist/components/text/src/index2.js +12 -11
  117. package/dist/components/text/style/index2.scss +1 -1
  118. package/dist/components/time-picker/src/index2.cjs +12 -11
  119. package/dist/components/time-picker/src/index2.js +12 -11
  120. package/dist/components/time-select/src/index2.cjs +12 -11
  121. package/dist/components/time-select/src/index2.js +12 -11
  122. package/dist/components/tooltip/src/index2.cjs +12 -11
  123. package/dist/components/tooltip/src/index2.js +12 -11
  124. package/dist/components/transfer/src/index2.cjs +12 -11
  125. package/dist/components/transfer/src/index2.js +12 -11
  126. package/dist/components/tree/src/index2.cjs +12 -11
  127. package/dist/components/tree/src/index2.js +12 -11
  128. package/dist/components/tree-select/src/index2.cjs +12 -11
  129. package/dist/components/tree-select/src/index2.js +12 -11
  130. package/dist/components/upload/src/index2.cjs +12 -11
  131. package/dist/components/upload/src/index2.js +12 -11
  132. package/dist/directives/expose/index.cjs +2 -2
  133. package/dist/directives/expose/index.js +2 -2
  134. package/dist/hooks/expose/index.cjs +16 -0
  135. package/dist/hooks/expose/index.d.ts +2 -0
  136. package/dist/hooks/expose/index.js +16 -0
  137. package/dist/icons/index.css +15 -15
  138. package/dist/icons/index.json +6 -6
  139. package/package.json +6 -6
  140. /package/dist/components/{global-config → keep-com}/index.css +0 -0
  141. /package/dist/css/{global-config.css → keep-com.css} +0 -0
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElConfigProvider } from "element-plus/es/components/config-provider/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElConfigProvider), mergeProps({
26
+ return openBlock(), createBlock(unref(ElConfigProvider), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });
@@ -1,10 +1,10 @@
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
- const index$1 = require("element-plus/es/components/date-picker/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/date-picker/index");
8
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
@@ -16,11 +16,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const props = __props;
17
17
  const emit = __emit;
18
18
  const elRef = vues.ref();
19
- __expose({
20
- ...data.dataExpose
21
- });
19
+ __expose(
20
+ index$1.useExpose(
21
+ {
22
+ ...data.dataExpose
23
+ },
24
+ elRef
25
+ )
26
+ );
22
27
  return (_ctx, _cache) => {
23
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElDatePicker), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElDatePicker), vues.mergeProps({
24
29
  ref_key: "elRef",
25
30
  ref: elRef,
26
31
  class: vues.unref(cs).z()
@@ -33,11 +38,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
33
38
  ])
34
39
  };
35
40
  })
36
- ]), 1040, ["class"])), [
37
- [vues.unref(index$2.default), {
38
- el: elRef.value
39
- }]
40
- ]);
41
+ ]), 1040, ["class"]);
41
42
  };
42
43
  }
43
44
  });
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElDatePicker } from "element-plus/es/components/date-picker/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElDatePicker), mergeProps({
26
+ return openBlock(), createBlock(unref(ElDatePicker), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });
@@ -1,10 +1,10 @@
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
- const index$1 = require("element-plus/es/components/date-picker-panel/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/date-picker-panel/index");
8
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
@@ -16,11 +16,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const props = __props;
17
17
  const emit = __emit;
18
18
  const elRef = vues.ref();
19
- __expose({
20
- ...data.dataExpose
21
- });
19
+ __expose(
20
+ index$1.useExpose(
21
+ {
22
+ ...data.dataExpose
23
+ },
24
+ elRef
25
+ )
26
+ );
22
27
  return (_ctx, _cache) => {
23
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElDatePickerPanel), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElDatePickerPanel), vues.mergeProps({
24
29
  ref_key: "elRef",
25
30
  ref: elRef,
26
31
  class: vues.unref(cs).z()
@@ -33,11 +38,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
33
38
  ])
34
39
  };
35
40
  })
36
- ]), 1040, ["class"])), [
37
- [vues.unref(index$2.default), {
38
- el: elRef.value
39
- }]
40
- ]);
41
+ ]), 1040, ["class"]);
41
42
  };
42
43
  }
43
44
  });
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElDatePickerPanel } from "element-plus/es/components/date-picker-panel/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElDatePickerPanel), mergeProps({
26
+ return openBlock(), createBlock(unref(ElDatePickerPanel), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });
@@ -2,7 +2,6 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
- const index$4 = require("../../../directives/expose/index.cjs");
6
5
  require("../../../hooks/index.cjs");
7
6
  const index$3 = require("../../tree-select-box/index.cjs");
8
7
  const index = require("../../../hooks/locale/index.cjs");
@@ -38,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
38
37
  return vues.openBlock(), vues.createElementBlock("div", vues.mergeProps({
39
38
  class: vues.unref(cs).z()
40
39
  }, vues.unref(attrs).root), [
41
- vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$3.TreeSelectBox), vues.mergeProps({ ...vues.unref(attrs).assem, ...propss }, {
40
+ vues.createVNode(vues.unref(index$3.TreeSelectBox), vues.mergeProps({ ...vues.unref(attrs).assem, ...propss }, {
42
41
  modelValue: value.value,
43
42
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
44
43
  width: _ctx.width,
@@ -49,9 +48,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
49
48
  vues.renderSlot(_ctx.$slots, "suffix")
50
49
  ]),
51
50
  _: 3
52
- }, 16, ["modelValue", "width", "props", "title"])), [
53
- [vues.unref(index$4.default), {}]
54
- ])
51
+ }, 16, ["modelValue", "width", "props", "title"])
55
52
  ], 16);
56
53
  };
57
54
  }
@@ -1,6 +1,5 @@
1
- import { defineComponent, computed, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, computed, createElementBlock, openBlock, mergeProps, unref, createVNode, withCtx, renderSlot } from "vue";
2
2
  import { roleSelect, dataExpose, dataEmits, dataProps } from "./data.js";
3
- import vExpose from "../../../directives/expose/index.js";
4
3
  import "../../../hooks/index.js";
5
4
  import { TreeSelectBox } from "../../tree-select-box/index.js";
6
5
  import { useLocale } from "../../../hooks/locale/index.js";
@@ -36,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
35
  return openBlock(), createElementBlock("div", mergeProps({
37
36
  class: unref(cs).z()
38
37
  }, unref(attrs).root), [
39
- withDirectives((openBlock(), createBlock(unref(TreeSelectBox), mergeProps({ ...unref(attrs).assem, ...propss }, {
38
+ createVNode(unref(TreeSelectBox), mergeProps({ ...unref(attrs).assem, ...propss }, {
40
39
  modelValue: value.value,
41
40
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
42
41
  width: _ctx.width,
@@ -47,9 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
46
  renderSlot(_ctx.$slots, "suffix")
48
47
  ]),
49
48
  _: 3
50
- }, 16, ["modelValue", "width", "props", "title"])), [
51
- [unref(vExpose), {}]
52
- ])
49
+ }, 16, ["modelValue", "width", "props", "title"])
53
50
  ], 16);
54
51
  };
55
52
  }
@@ -1,10 +1,10 @@
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
- const index$1 = require("element-plus/es/components/dialog/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/dialog/index");
8
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
@@ -16,11 +16,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const props = __props;
17
17
  const emit = __emit;
18
18
  const elRef = vues.ref();
19
- __expose({
20
- ...data.dataExpose
21
- });
19
+ __expose(
20
+ index$1.useExpose(
21
+ {
22
+ ...data.dataExpose
23
+ },
24
+ elRef
25
+ )
26
+ );
22
27
  return (_ctx, _cache) => {
23
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElDialog), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElDialog), vues.mergeProps({
24
29
  ref_key: "elRef",
25
30
  ref: elRef,
26
31
  class: vues.unref(cs).z()
@@ -33,11 +38,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
33
38
  ])
34
39
  };
35
40
  })
36
- ]), 1040, ["class"])), [
37
- [vues.unref(index$2.default), {
38
- el: elRef.value
39
- }]
40
- ]);
41
+ ]), 1040, ["class"]);
41
42
  };
42
43
  }
43
44
  });
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElDialog } from "element-plus/es/components/dialog/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElDialog), mergeProps({
26
+ return openBlock(), createBlock(unref(ElDialog), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });
@@ -1,10 +1,10 @@
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
- const index$1 = require("element-plus/es/components/divider/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/divider/index");
8
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
@@ -16,11 +16,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const props = __props;
17
17
  const emit = __emit;
18
18
  const elRef = vues.ref();
19
- __expose({
20
- ...data.dataExpose
21
- });
19
+ __expose(
20
+ index$1.useExpose(
21
+ {
22
+ ...data.dataExpose
23
+ },
24
+ elRef
25
+ )
26
+ );
22
27
  return (_ctx, _cache) => {
23
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElDivider), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElDivider), vues.mergeProps({
24
29
  ref_key: "elRef",
25
30
  ref: elRef,
26
31
  class: vues.unref(cs).z()
@@ -33,11 +38,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
33
38
  ])
34
39
  };
35
40
  })
36
- ]), 1040, ["class"])), [
37
- [vues.unref(index$2.default), {
38
- el: elRef.value
39
- }]
40
- ]);
41
+ ]), 1040, ["class"]);
41
42
  };
42
43
  }
43
44
  });
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElDivider } from "element-plus/es/components/divider/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElDivider), mergeProps({
26
+ return openBlock(), createBlock(unref(ElDivider), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });
@@ -1,10 +1,10 @@
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
- const index$1 = require("element-plus/es/components/drawer/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/drawer/index");
8
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
@@ -16,11 +16,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const props = __props;
17
17
  const emit = __emit;
18
18
  const elRef = vues.ref();
19
- __expose({
20
- ...data.dataExpose
21
- });
19
+ __expose(
20
+ index$1.useExpose(
21
+ {
22
+ ...data.dataExpose
23
+ },
24
+ elRef
25
+ )
26
+ );
22
27
  return (_ctx, _cache) => {
23
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElDrawer), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElDrawer), vues.mergeProps({
24
29
  ref_key: "elRef",
25
30
  ref: elRef,
26
31
  class: vues.unref(cs).z()
@@ -33,11 +38,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
33
38
  ])
34
39
  };
35
40
  })
36
- ]), 1040, ["class"])), [
37
- [vues.unref(index$2.default), {
38
- el: elRef.value
39
- }]
40
- ]);
41
+ ]), 1040, ["class"]);
41
42
  };
42
43
  }
43
44
  });
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElDrawer } from "element-plus/es/components/drawer/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElDrawer), mergeProps({
26
+ return openBlock(), createBlock(unref(ElDrawer), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });
@@ -1,10 +1,10 @@
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
- const index$1 = require("element-plus/es/components/dropdown/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/dropdown/index");
8
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
9
9
  __name: "index",
10
10
  props: data.dataProps,
@@ -16,11 +16,16 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
16
  const props = __props;
17
17
  const emit = __emit;
18
18
  const elRef = vues.ref();
19
- __expose({
20
- ...data.dataExpose
21
- });
19
+ __expose(
20
+ index$1.useExpose(
21
+ {
22
+ ...data.dataExpose
23
+ },
24
+ elRef
25
+ )
26
+ );
22
27
  return (_ctx, _cache) => {
23
- return vues.withDirectives((vues.openBlock(), vues.createBlock(vues.unref(index$1.ElDropdown), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElDropdown), vues.mergeProps({
24
29
  ref_key: "elRef",
25
30
  ref: elRef,
26
31
  class: vues.unref(cs).z()
@@ -33,11 +38,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
33
38
  ])
34
39
  };
35
40
  })
36
- ]), 1040, ["class"])), [
37
- [vues.unref(index$2.default), {
38
- el: elRef.value
39
- }]
40
- ]);
41
+ ]), 1040, ["class"]);
41
42
  };
42
43
  }
43
44
  });
@@ -1,7 +1,7 @@
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";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { ElDropdown } from "element-plus/es/components/dropdown/index";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "index",
@@ -14,11 +14,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  const props = __props;
15
15
  const emit = __emit;
16
16
  const elRef = ref();
17
- __expose({
18
- ...dataExpose
19
- });
17
+ __expose(
18
+ useExpose(
19
+ {
20
+ ...dataExpose
21
+ },
22
+ elRef
23
+ )
24
+ );
20
25
  return (_ctx, _cache) => {
21
- return withDirectives((openBlock(), createBlock(unref(ElDropdown), mergeProps({
26
+ return openBlock(), createBlock(unref(ElDropdown), mergeProps({
22
27
  ref_key: "elRef",
23
28
  ref: elRef,
24
29
  class: unref(cs).z()
@@ -31,11 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
31
36
  ])
32
37
  };
33
38
  })
34
- ]), 1040, ["class"])), [
35
- [unref(vExpose), {
36
- el: elRef.value
37
- }]
38
- ]);
39
+ ]), 1040, ["class"]);
39
40
  };
40
41
  }
41
42
  });