@fangzhongya/fang-ui 0.0.90 → 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 (143) hide show
  1. package/dist/components/alert/src/index2.cjs +7 -10
  2. package/dist/components/alert/src/index2.js +5 -8
  3. package/dist/components/autocomplete/src/index2.cjs +7 -10
  4. package/dist/components/autocomplete/src/index2.js +5 -8
  5. package/dist/components/button/src/index2.cjs +7 -10
  6. package/dist/components/button/src/index2.js +5 -8
  7. package/dist/components/card/src/index2.cjs +7 -10
  8. package/dist/components/card/src/index2.js +5 -8
  9. package/dist/components/cascader/src/index2.cjs +7 -10
  10. package/dist/components/cascader/src/index2.js +5 -8
  11. package/dist/components/cascader-panel/src/index2.cjs +7 -10
  12. package/dist/components/cascader-panel/src/index2.js +5 -8
  13. package/dist/components/checkbox/src/index2.cjs +7 -10
  14. package/dist/components/checkbox/src/index2.js +5 -8
  15. package/dist/components/checkbox-button/src/index2.cjs +7 -10
  16. package/dist/components/checkbox-button/src/index2.js +5 -8
  17. package/dist/components/checkbox-group/src/index2.cjs +7 -10
  18. package/dist/components/checkbox-group/src/index2.js +5 -8
  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 +7 -10
  22. package/dist/components/collapse/src/index2.js +5 -8
  23. package/dist/components/collapse-item/src/index2.cjs +7 -10
  24. package/dist/components/collapse-item/src/index2.js +5 -8
  25. package/dist/components/color-picker/src/index2.cjs +7 -10
  26. package/dist/components/color-picker/src/index2.js +5 -8
  27. package/dist/components/config-provider/src/index2.cjs +7 -10
  28. package/dist/components/config-provider/src/index2.js +5 -8
  29. package/dist/components/date-picker/src/index2.cjs +7 -10
  30. package/dist/components/date-picker/src/index2.js +5 -8
  31. package/dist/components/date-picker-panel/src/index2.cjs +7 -10
  32. package/dist/components/date-picker-panel/src/index2.js +5 -8
  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 +7 -10
  36. package/dist/components/dialog/src/index2.js +5 -8
  37. package/dist/components/divider/src/index2.cjs +7 -10
  38. package/dist/components/divider/src/index2.js +5 -8
  39. package/dist/components/drawer/src/index2.cjs +7 -10
  40. package/dist/components/drawer/src/index2.js +5 -8
  41. package/dist/components/dropdown/src/index2.cjs +7 -10
  42. package/dist/components/dropdown/src/index2.js +5 -8
  43. package/dist/components/dropdown-item/src/index2.cjs +7 -10
  44. package/dist/components/dropdown-item/src/index2.js +5 -8
  45. package/dist/components/dropdown-menu/src/index2.cjs +7 -10
  46. package/dist/components/dropdown-menu/src/index2.js +5 -8
  47. package/dist/components/form/src/index2.cjs +7 -10
  48. package/dist/components/form/src/index2.js +5 -8
  49. package/dist/components/form-item/src/index2.cjs +7 -10
  50. package/dist/components/form-item/src/index2.js +5 -8
  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 +7 -10
  54. package/dist/components/image/src/index2.js +5 -8
  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 +7 -10
  58. package/dist/components/input/src/index2.js +5 -8
  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 +7 -10
  64. package/dist/components/input-number/src/index2.js +5 -8
  65. package/dist/components/input-tag/src/index2.cjs +7 -10
  66. package/dist/components/input-tag/src/index2.js +5 -8
  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 +7 -10
  70. package/dist/components/mention/src/index2.js +5 -8
  71. package/dist/components/menu/src/index2.cjs +7 -10
  72. package/dist/components/menu/src/index2.js +5 -8
  73. package/dist/components/menu-item/src/index2.cjs +7 -10
  74. package/dist/components/menu-item/src/index2.js +5 -8
  75. package/dist/components/menu-item-group/src/index2.cjs +7 -10
  76. package/dist/components/menu-item-group/src/index2.js +5 -8
  77. package/dist/components/option-group/src/index2.cjs +7 -10
  78. package/dist/components/option-group/src/index2.js +5 -8
  79. package/dist/components/pagination/src/index2.cjs +7 -10
  80. package/dist/components/pagination/src/index2.js +5 -8
  81. package/dist/components/popconfirm/src/index2.cjs +7 -10
  82. package/dist/components/popconfirm/src/index2.js +5 -8
  83. package/dist/components/popover/src/index2.cjs +7 -10
  84. package/dist/components/popover/src/index2.js +5 -8
  85. package/dist/components/radio/src/index2.cjs +7 -10
  86. package/dist/components/radio/src/index2.js +5 -8
  87. package/dist/components/radio-button/src/index2.cjs +7 -10
  88. package/dist/components/radio-button/src/index2.js +5 -8
  89. package/dist/components/radio-group/src/index2.cjs +7 -10
  90. package/dist/components/radio-group/src/index2.js +5 -8
  91. package/dist/components/scrollbar/src/index2.cjs +7 -10
  92. package/dist/components/scrollbar/src/index2.js +5 -8
  93. package/dist/components/select/src/index2.cjs +7 -10
  94. package/dist/components/select/src/index2.js +5 -8
  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 +7 -10
  100. package/dist/components/slider/src/index2.js +5 -8
  101. package/dist/components/switch/src/index2.cjs +7 -10
  102. package/dist/components/switch/src/index2.js +5 -8
  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 +7 -10
  106. package/dist/components/tab-pane/src/index2.js +5 -8
  107. package/dist/components/table/src/index2.cjs +7 -10
  108. package/dist/components/table/src/index2.js +5 -8
  109. package/dist/components/table-column/src/index2.cjs +7 -10
  110. package/dist/components/table-column/src/index2.js +5 -8
  111. package/dist/components/tabs/src/index2.cjs +7 -10
  112. package/dist/components/tabs/src/index2.js +5 -8
  113. package/dist/components/tag/src/index2.cjs +7 -10
  114. package/dist/components/tag/src/index2.js +5 -8
  115. package/dist/components/text/src/index2.cjs +7 -10
  116. package/dist/components/text/src/index2.js +5 -8
  117. package/dist/components/text/style/index2.scss +1 -1
  118. package/dist/components/time-picker/src/index2.cjs +7 -10
  119. package/dist/components/time-picker/src/index2.js +5 -8
  120. package/dist/components/time-select/src/index2.cjs +7 -10
  121. package/dist/components/time-select/src/index2.js +5 -8
  122. package/dist/components/tooltip/src/index2.cjs +7 -10
  123. package/dist/components/tooltip/src/index2.js +5 -8
  124. package/dist/components/transfer/src/index2.cjs +7 -10
  125. package/dist/components/transfer/src/index2.js +5 -8
  126. package/dist/components/tree/src/index2.cjs +7 -10
  127. package/dist/components/tree/src/index2.js +5 -8
  128. package/dist/components/tree-select/src/index2.cjs +7 -10
  129. package/dist/components/tree-select/src/index2.js +5 -8
  130. package/dist/components/upload/src/index2.cjs +7 -10
  131. package/dist/components/upload/src/index2.js +5 -8
  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 +37 -37
  138. package/dist/icons/index.json +10 -10
  139. package/package.json +5 -5
  140. /package/dist/components/{forms-items → forms-item}/index.css +0 -0
  141. /package/dist/components/{global-config → keep-com}/index.css +0 -0
  142. /package/dist/css/{forms-items.css → forms-item.css} +0 -0
  143. /package/dist/css/{global-config.css → keep-com.css} +0 -0
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/alert/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/alert/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElAlert), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElAlert), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElAlert } from "element-plus/es/components/alert/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/autocomplete/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/autocomplete/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElAutocomplete), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElAutocomplete), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElAutocomplete } from "element-plus/es/components/autocomplete/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/button/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/button/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElButton), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElButton), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElButton } from "element-plus/es/components/button/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/card/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/card/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElCard), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElCard), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElCard } from "element-plus/es/components/card/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/cascader/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/cascader/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElCascader), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElCascader), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElCascader } from "element-plus/es/components/cascader/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/cascader-panel/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/cascader-panel/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElCascaderPanel), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElCascaderPanel), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElCascaderPanel } from "element-plus/es/components/cascader-panel/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/checkbox/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/checkbox/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElCheckbox), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElCheckbox), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElCheckbox } from "element-plus/es/components/checkbox/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/checkbox/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/checkbox/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElCheckboxButton), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElCheckboxButton), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElCheckboxButton } from "element-plus/es/components/checkbox/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vues = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index = require("../../../hooks/cssname/index.cjs");
6
- const index$1 = require("element-plus/es/components/checkbox/index");
6
+ const index$1 = require("../../../hooks/expose/index.cjs");
7
+ const index$2 = require("element-plus/es/components/checkbox/index");
7
8
  const _sfc_main = /* @__PURE__ */ vues.defineComponent({
8
9
  __name: "index",
9
10
  props: data.dataProps,
@@ -16,19 +17,15 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
16
17
  const emit = __emit;
17
18
  const elRef = vues.ref();
18
19
  __expose(
19
- new Proxy(
20
- { ...data.dataExpose },
20
+ index$1.useExpose(
21
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
- }
22
+ ...data.dataExpose
23
+ },
24
+ elRef
28
25
  )
29
26
  );
30
27
  return (_ctx, _cache) => {
31
- return vues.openBlock(), vues.createBlock(vues.unref(index$1.ElCheckboxGroup), vues.mergeProps({
28
+ return vues.openBlock(), vues.createBlock(vues.unref(index$2.ElCheckboxGroup), vues.mergeProps({
32
29
  ref_key: "elRef",
33
30
  ref: elRef,
34
31
  class: vues.unref(cs).z()
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, createBlock, openBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { useExpose } from "../../../hooks/expose/index.js";
4
5
  import { ElCheckboxGroup } from "element-plus/es/components/checkbox/index";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "index",
@@ -14,15 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const emit = __emit;
15
16
  const elRef = ref();
16
17
  __expose(
17
- new Proxy(
18
- { ...dataExpose },
18
+ useExpose(
19
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
- }
20
+ ...dataExpose
21
+ },
22
+ elRef
26
23
  )
27
24
  );
28
25
  return (_ctx, _cache) => {