@fangzhongya/fang-ui 0.0.43 → 0.0.45

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 (173) hide show
  1. package/bin/fang-ui.js +1 -1
  2. package/dist/components/alert/src/data.d.ts +1 -1
  3. package/dist/components/box/src/data.cjs +10 -6
  4. package/dist/components/box/src/data.d.ts +10 -1
  5. package/dist/components/box/src/data.js +10 -6
  6. package/dist/components/box/src/index2.cjs +2 -3
  7. package/dist/components/box/src/index2.js +2 -3
  8. package/dist/components/box-adjust/src/data.cjs +4 -2
  9. package/dist/components/box-adjust/src/data.d.ts +10 -3
  10. package/dist/components/box-adjust/src/data.js +4 -2
  11. package/dist/components/box-adjust/src/index2.cjs +2 -3
  12. package/dist/components/box-adjust/src/index2.js +2 -3
  13. package/dist/components/box-local/src/data.d.ts +6 -1
  14. package/dist/components/box-local/src/index2.cjs +5 -4
  15. package/dist/components/box-local/src/index2.js +5 -4
  16. package/dist/components/box-mask/src/data.cjs +2 -1
  17. package/dist/components/box-mask/src/data.d.ts +2 -5
  18. package/dist/components/box-mask/src/data.js +2 -1
  19. package/dist/components/box-teleport/src/data.cjs +5 -1
  20. package/dist/components/box-teleport/src/data.d.ts +5 -5
  21. package/dist/components/box-teleport/src/data.js +5 -1
  22. package/dist/components/box-teleport/src/index2.cjs +7 -2
  23. package/dist/components/box-teleport/src/index2.js +7 -2
  24. package/dist/components/box-title/src/data.cjs +2 -7
  25. package/dist/components/box-title/src/data.d.ts +4 -11
  26. package/dist/components/box-title/src/data.js +2 -7
  27. package/dist/components/button/src/data.d.ts +1 -1
  28. package/dist/components/card/src/data.d.ts +1 -1
  29. package/dist/components/cascader/src/data.d.ts +1 -1
  30. package/dist/components/cascader-panel/src/data.d.ts +1 -1
  31. package/dist/components/checkbox/src/data.d.ts +1 -1
  32. package/dist/components/checkbox-group/src/data.d.ts +1 -1
  33. package/dist/components/collapse/src/data.d.ts +1 -1
  34. package/dist/components/collapse-item/src/data.d.ts +1 -1
  35. package/dist/components/color-picker/src/data.d.ts +1 -1
  36. package/dist/components/common/urls.cjs +14 -8
  37. package/dist/components/common/urls.d.ts +14 -8
  38. package/dist/components/common/urls.js +14 -8
  39. package/dist/components/config-provider/src/data.d.ts +1 -1
  40. package/dist/components/date-picker/src/data.d.ts +1 -1
  41. package/dist/components/dialog/src/data.d.ts +1 -1
  42. package/dist/components/dialogs/src/data.cjs +9 -1
  43. package/dist/components/dialogs/src/data.d.ts +17 -1
  44. package/dist/components/dialogs/src/data.js +9 -1
  45. package/dist/components/divider/src/data.d.ts +1 -1
  46. package/dist/components/drawer/src/data.d.ts +1 -1
  47. package/dist/components/dropdown/src/data.d.ts +1 -1
  48. package/dist/components/dropdown-item/src/data.d.ts +1 -1
  49. package/dist/components/dropdown-menu/src/data.d.ts +1 -1
  50. package/dist/components/form/src/data.d.ts +1 -1
  51. package/dist/components/form-item/src/data.d.ts +1 -1
  52. package/dist/components/forms/src/data.cjs +63 -7
  53. package/dist/components/forms/src/data.d.ts +63 -15
  54. package/dist/components/forms/src/data.js +63 -7
  55. package/dist/components/forms/src/index2.cjs +3 -3
  56. package/dist/components/forms/src/index2.js +3 -3
  57. package/dist/components/forms-div/src/data.cjs +15 -2
  58. package/dist/components/forms-div/src/data.d.ts +15 -4
  59. package/dist/components/forms-div/src/data.js +15 -2
  60. package/dist/components/forms-item/src/data.cjs +22 -1
  61. package/dist/components/forms-item/src/data.d.ts +24 -5
  62. package/dist/components/forms-item/src/data.js +22 -1
  63. package/dist/components/forms-items/src/data.cjs +11 -2
  64. package/dist/components/forms-items/src/data.d.ts +12 -5
  65. package/dist/components/forms-items/src/data.js +11 -2
  66. package/dist/components/global-config/src/data.cjs +9 -1
  67. package/dist/components/global-config/src/data.d.ts +12 -1
  68. package/dist/components/global-config/src/data.js +9 -1
  69. package/dist/components/icon/index.css +13 -0
  70. package/dist/components/icon/index.scss +14 -0
  71. package/dist/components/icon/src/data.cjs +16 -2
  72. package/dist/components/icon/src/data.d.ts +16 -2
  73. package/dist/components/icon/src/data.js +16 -2
  74. package/dist/components/icon/src/index2.cjs +18 -17
  75. package/dist/components/icon/src/index2.js +19 -18
  76. package/dist/components/icon/style/index2.scss +1 -0
  77. package/dist/components/icon/tests/cs3/assets/index.scss +70 -0
  78. package/dist/components/icon-picker/src/data.cjs +3 -3
  79. package/dist/components/icon-picker/src/data.d.ts +3 -3
  80. package/dist/components/icon-picker/src/data.js +3 -3
  81. package/dist/components/iframe/src/data.cjs +3 -3
  82. package/dist/components/iframe/src/data.d.ts +6 -3
  83. package/dist/components/iframe/src/data.js +3 -3
  84. package/dist/components/iframe/src/index2.cjs +4 -0
  85. package/dist/components/iframe/src/index2.js +4 -0
  86. package/dist/components/image/src/data.d.ts +1 -1
  87. package/dist/components/index.scss +1 -0
  88. package/dist/components/index2.scss +2 -1
  89. package/dist/components/input/src/data.d.ts +1 -1
  90. package/dist/components/input-number/src/data.d.ts +1 -1
  91. package/dist/components/lists/src/data.cjs +36 -4
  92. package/dist/components/lists/src/data.d.ts +36 -2
  93. package/dist/components/lists/src/data.js +36 -4
  94. package/dist/components/menus/src/index2.cjs +11 -1
  95. package/dist/components/menus/src/index2.js +11 -1
  96. package/dist/components/option-group/src/data.d.ts +1 -1
  97. package/dist/components/pagination/src/data.d.ts +1 -1
  98. package/dist/components/popconfirm/src/data.d.ts +1 -1
  99. package/dist/components/popover/src/data.d.ts +1 -1
  100. package/dist/components/popup/index.scss +1 -0
  101. package/dist/components/popup/src/data.cjs +14 -7
  102. package/dist/components/popup/src/data.d.ts +20 -8
  103. package/dist/components/popup/src/data.js +14 -7
  104. package/dist/components/popup/src/index2.cjs +3 -4
  105. package/dist/components/popup/src/index2.js +3 -4
  106. package/dist/components/radio/src/data.d.ts +1 -1
  107. package/dist/components/radio-group/src/data.d.ts +1 -1
  108. package/dist/components/retract/index.cjs +1 -0
  109. package/dist/components/retract/index.css +87 -0
  110. package/dist/components/retract/index.js +1 -0
  111. package/dist/components/retract/index.scss +76 -0
  112. package/dist/components/retract/src/data.cjs +3 -5
  113. package/dist/components/retract/src/data.d.ts +4 -8
  114. package/dist/components/retract/src/data.js +3 -5
  115. package/dist/components/retract/src/index2.cjs +1 -1
  116. package/dist/components/retract/src/index2.js +1 -1
  117. package/dist/components/right-key/src/data.cjs +10 -9
  118. package/dist/components/right-key/src/data.d.ts +15 -4
  119. package/dist/components/right-key/src/data.js +10 -9
  120. package/dist/components/seamless-scroll/index.css +1 -0
  121. package/dist/components/seamless-scroll/index.scss +1 -0
  122. package/dist/components/seamless-scroll/src/data.cjs +13 -12
  123. package/dist/components/seamless-scroll/src/data.d.ts +13 -15
  124. package/dist/components/seamless-scroll/src/data.js +13 -12
  125. package/dist/components/seamless-scroll/src/index2.cjs +6 -3
  126. package/dist/components/seamless-scroll/src/index2.js +6 -3
  127. package/dist/components/select/src/data.d.ts +1 -1
  128. package/dist/components/slider/src/data.d.ts +1 -1
  129. package/dist/components/stick-div/src/data.cjs +6 -3
  130. package/dist/components/stick-div/src/data.d.ts +6 -3
  131. package/dist/components/stick-div/src/data.js +6 -3
  132. package/dist/components/stick-edge/src/data.cjs +6 -3
  133. package/dist/components/stick-edge/src/data.d.ts +6 -3
  134. package/dist/components/stick-edge/src/data.js +6 -3
  135. package/dist/components/stick-window/src/data.cjs +6 -30
  136. package/dist/components/stick-window/src/data.d.ts +13 -19
  137. package/dist/components/stick-window/src/data.js +6 -30
  138. package/dist/components/switch/src/data.d.ts +1 -1
  139. package/dist/components/tab-pane/src/data.d.ts +1 -1
  140. package/dist/components/tabs/src/data.d.ts +1 -1
  141. package/dist/components/time-picker/src/data.d.ts +1 -1
  142. package/dist/components/time-select/src/data.d.ts +1 -1
  143. package/dist/components/tooltip/src/data.d.ts +1 -1
  144. package/dist/components/tree/src/data.d.ts +1 -1
  145. package/dist/components/tree-select/src/data.d.ts +1 -1
  146. package/dist/components/upload/src/data.d.ts +1 -1
  147. package/dist/components/window/index.css +3 -2
  148. package/dist/components/window/index.scss +7 -9
  149. package/dist/components/window/src/data.cjs +22 -9
  150. package/dist/components/window/src/data.d.ts +34 -10
  151. package/dist/components/window/src/data.js +22 -9
  152. package/dist/components/window/src/index2.cjs +39 -25
  153. package/dist/components/window/src/index2.js +39 -25
  154. package/dist/css/icon.css +13 -0
  155. package/dist/css/index.css +91 -2
  156. package/dist/css/retract.css +87 -0
  157. package/dist/css/seamless-scroll.css +1 -0
  158. package/dist/css/window.css +3 -2
  159. package/dist/directives/drag/index.cjs +2 -0
  160. package/dist/directives/drag/index.d.ts +0 -1
  161. package/dist/directives/drag/index.js +2 -0
  162. package/dist/expand/{chunk-NWMTWNXH.cjs → chunk-J3OWSCOI.cjs} +1 -0
  163. package/dist/expand/{chunk-5DCURPLA.js → chunk-WXZESOPO.js} +1 -0
  164. package/dist/expand/components.cjs +5 -5
  165. package/dist/expand/components.js +1 -1
  166. package/dist/expand/config.cjs +2 -2
  167. package/dist/expand/config.js +1 -1
  168. package/dist/icons/index.css +31 -31
  169. package/dist/icons/index.json +9 -9
  170. package/dist/index.css +91 -2
  171. package/package.json +9 -9
  172. /package/dist/components/{popover → button}/index.css +0 -0
  173. /package/dist/css/{popover.css → button.css} +0 -0
package/bin/fang-ui.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
4
  import { add, update, batUp } from '../node/cli.js';
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Alert 输入框
3
+ * @title {h3} Alert
4
4
  * @text 目前完全继承 element-plus 中 el-alert
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const buildProps = require("../../../utils/vues/buildProps.cjs");
4
+ const data$1 = require("../../box-teleport/src/data.cjs");
5
+ const data = require("../../box-title/src/data.cjs");
6
+ const data$2 = require("../../box-mask/src/data.cjs");
4
7
  const dataProps = buildProps.buildProps({
8
+ ...data$2.dataProps,
9
+ ...data$1.dataProps,
10
+ ...data.dataProps,
5
11
  /**
6
12
  * @props title 弹框头
7
13
  * @type String
@@ -18,12 +24,10 @@ const dataProps = buildProps.buildProps({
18
24
  modelValue: {
19
25
  type: Boolean
20
26
  },
21
- to: {
22
- type: String
23
- },
24
- disabled: {
25
- type: Boolean
26
- },
27
+ /**
28
+ * @props {String} boxClass
29
+ * 样式名称
30
+ */
27
31
  boxClass: {
28
32
  type: String
29
33
  }
@@ -1,4 +1,5 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
+ import { FunctConfig } from '../../../utils/enums';
2
3
  export declare const dataProps: {
3
4
  /**
4
5
  * @props title 弹框头
@@ -16,13 +17,21 @@ export declare const dataProps: {
16
17
  modelValue: {
17
18
  type: BooleanConstructor;
18
19
  };
20
+ /**
21
+ * @props {String} boxClass
22
+ * 样式名称
23
+ */
24
+ boxClass: {
25
+ type: StringConstructor;
26
+ };
19
27
  to: {
20
28
  type: StringConstructor;
29
+ default: FunctConfig;
21
30
  };
22
31
  disabled: {
23
32
  type: BooleanConstructor;
24
33
  };
25
- boxClass: {
34
+ cssprefix: {
26
35
  type: StringConstructor;
27
36
  };
28
37
  };
@@ -1,5 +1,11 @@
1
1
  import { buildProps } from "../../../utils/vues/buildProps.js";
2
+ import { dataProps as dataProps$2 } from "../../box-teleport/src/data.js";
3
+ import { dataProps as dataProps$1 } from "../../box-title/src/data.js";
4
+ import { dataProps as dataProps$3 } from "../../box-mask/src/data.js";
2
5
  const dataProps = buildProps({
6
+ ...dataProps$3,
7
+ ...dataProps$2,
8
+ ...dataProps$1,
3
9
  /**
4
10
  * @props title 弹框头
5
11
  * @type String
@@ -16,12 +22,10 @@ const dataProps = buildProps({
16
22
  modelValue: {
17
23
  type: Boolean
18
24
  },
19
- to: {
20
- type: String
21
- },
22
- disabled: {
23
- type: Boolean
24
- },
25
+ /**
26
+ * @props {String} boxClass
27
+ * 样式名称
28
+ */
25
29
  boxClass: {
26
30
  type: String
27
31
  }
@@ -46,17 +46,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
46
46
  }, [
47
47
  vue.createVNode(vue.unref(index$3.BoxMask), {
48
48
  onClick: onClose,
49
- cssprefix: vue.unref(cs).z()
49
+ cssprefix: props.cssprefix || vue.unref(cs).z()
50
50
  }, null, 8, ["cssprefix"]),
51
51
  vue.createElementVNode("div", {
52
52
  class: vue.normalizeClass(vue.unref(cs).z("body"))
53
53
  }, [
54
54
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
55
55
  vue.createVNode(vue.unref(index$4.BoxTitle), {
56
- cssprefix: vue.unref(cs).z(),
57
56
  onClose,
58
57
  title: props.title
59
- }, null, 8, ["cssprefix", "title"])
58
+ }, null, 8, ["title"])
60
59
  ]),
61
60
  vue.createElementVNode("div", {
62
61
  name: vue.unref(data.dataSlot).default,
@@ -44,17 +44,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  }, [
45
45
  createVNode(unref(BoxMask), {
46
46
  onClick: onClose,
47
- cssprefix: unref(cs).z()
47
+ cssprefix: props.cssprefix || unref(cs).z()
48
48
  }, null, 8, ["cssprefix"]),
49
49
  createElementVNode("div", {
50
50
  class: normalizeClass(unref(cs).z("body"))
51
51
  }, [
52
52
  renderSlot(_ctx.$slots, unref(dataSlot).title, {}, () => [
53
53
  createVNode(unref(BoxTitle), {
54
- cssprefix: unref(cs).z(),
55
54
  onClose,
56
55
  title: props.title
57
- }, null, 8, ["cssprefix", "title"])
56
+ }, null, 8, ["title"])
58
57
  ]),
59
58
  createElementVNode("div", {
60
59
  name: unref(dataSlot).default,
@@ -5,14 +5,16 @@ const data = require("../../box/src/data.cjs");
5
5
  const dataProps = buildProps.buildProps({
6
6
  ...data.dataProps,
7
7
  /**
8
- * @props { } drag= ( ) 可拖拽的元素样式
8
+ * @props { String, Boolean } drag='.com-title-name' ( )
9
+ * 可拖拽的元素样式
9
10
  */
10
11
  drag: {
11
12
  type: [String, Boolean],
12
13
  default: ".com-title-name"
13
14
  },
14
15
  /**
15
- * @props { Boolean } often= ( ) 是否时时变化
16
+ * @props { Boolean } often= ( )
17
+ * 是否时时变化
16
18
  */
17
19
  often: {
18
20
  type: Boolean
@@ -1,14 +1,17 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
+ import { FunctConfig } from '../../../utils/enums';
2
3
  export declare const dataProps: {
3
4
  /**
4
- * @props { } drag= ( ) 可拖拽的元素样式
5
+ * @props { String, Boolean } drag='.com-title-name' ( )
6
+ * 可拖拽的元素样式
5
7
  */
6
8
  drag: {
7
9
  type: (BooleanConstructor | StringConstructor)[];
8
10
  default: string;
9
11
  };
10
12
  /**
11
- * @props { Boolean } often= ( ) 是否时时变化
13
+ * @props { Boolean } often= ( )
14
+ * 是否时时变化
12
15
  */
13
16
  often: {
14
17
  type: BooleanConstructor;
@@ -19,13 +22,17 @@ export declare const dataProps: {
19
22
  modelValue: {
20
23
  type: BooleanConstructor;
21
24
  };
25
+ boxClass: {
26
+ type: StringConstructor;
27
+ };
22
28
  to: {
23
29
  type: StringConstructor;
30
+ default: FunctConfig;
24
31
  };
25
32
  disabled: {
26
33
  type: BooleanConstructor;
27
34
  };
28
- boxClass: {
35
+ cssprefix: {
29
36
  type: StringConstructor;
30
37
  };
31
38
  };
@@ -3,14 +3,16 @@ import { dataProps as dataProps$1, dataEmits as dataEmits$1, dataSlot as dataSlo
3
3
  const dataProps = buildProps({
4
4
  ...dataProps$1,
5
5
  /**
6
- * @props { } drag= ( ) 可拖拽的元素样式
6
+ * @props { String, Boolean } drag='.com-title-name' ( )
7
+ * 可拖拽的元素样式
7
8
  */
8
9
  drag: {
9
10
  type: [String, Boolean],
10
11
  default: ".com-title-name"
11
12
  },
12
13
  /**
13
- * @props { Boolean } often= ( ) 是否时时变化
14
+ * @props { Boolean } often= ( )
15
+ * 是否时时变化
14
16
  */
15
17
  often: {
16
18
  type: Boolean
@@ -47,17 +47,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
47
47
  }, [
48
48
  vue.createVNode(vue.unref(index$3.BoxMask), {
49
49
  onClick: onClose,
50
- cssprefix: vue.unref(cs).z()
50
+ cssprefix: props.cssprefix || vue.unref(cs).z()
51
51
  }, null, 8, ["cssprefix"]),
52
52
  vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
53
53
  class: vue.normalizeClass(vue.unref(cs).z("body"))
54
54
  }, [
55
55
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
56
56
  vue.createVNode(vue.unref(index$4.BoxTitle), {
57
- cssprefix: vue.unref(cs).z(),
58
57
  onClose,
59
58
  title: props.title
60
- }, null, 8, ["cssprefix", "title"])
59
+ }, null, 8, ["title"])
61
60
  ]),
62
61
  vue.createElementVNode("div", {
63
62
  class: vue.normalizeClass(vue.unref(cs).z("body-div"))
@@ -45,17 +45,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  }, [
46
46
  createVNode(unref(BoxMask), {
47
47
  onClick: onClose,
48
- cssprefix: unref(cs).z()
48
+ cssprefix: props.cssprefix || unref(cs).z()
49
49
  }, null, 8, ["cssprefix"]),
50
50
  withDirectives((openBlock(), createElementBlock("div", {
51
51
  class: normalizeClass(unref(cs).z("body"))
52
52
  }, [
53
53
  renderSlot(_ctx.$slots, unref(dataSlot).title, {}, () => [
54
54
  createVNode(unref(BoxTitle), {
55
- cssprefix: unref(cs).z(),
56
55
  onClose,
57
56
  title: props.title
58
- }, null, 8, ["cssprefix", "title"])
57
+ }, null, 8, ["title"])
59
58
  ]),
60
59
  createElementVNode("div", {
61
60
  class: normalizeClass(unref(cs).z("body-div"))
@@ -1,4 +1,5 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
+ import { FunctConfig } from '../../../utils/enums';
2
3
  export declare const dataProps: {
3
4
  /**
4
5
  * @props { Boolean } local= ( ) 是否启动弹框模式
@@ -12,13 +13,17 @@ export declare const dataProps: {
12
13
  modelValue: {
13
14
  type: BooleanConstructor;
14
15
  };
16
+ boxClass: {
17
+ type: StringConstructor;
18
+ };
15
19
  to: {
16
20
  type: StringConstructor;
21
+ default: FunctConfig;
17
22
  };
18
23
  disabled: {
19
24
  type: BooleanConstructor;
20
25
  };
21
- boxClass: {
26
+ cssprefix: {
22
27
  type: StringConstructor;
23
28
  };
24
29
  };
@@ -70,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
70
70
  title: props.title,
71
71
  disabled: props.disabled,
72
72
  to: props.to,
73
+ cssprefix: props.cssprefix,
73
74
  modelValue: value.value,
74
75
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
75
76
  onClose
@@ -83,15 +84,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
83
84
  ]),
84
85
  _: 2
85
86
  }, [
86
- vue.renderList(Object.values(vue.unref(data.dataSlot)), (slotname, index2) => {
87
+ vue.renderList(Object.values(vue.unref(data.dataSlot)), (key, index2) => {
87
88
  return {
88
- name: slotname,
89
+ name: key,
89
90
  fn: vue.withCtx(() => [
90
- vue.renderSlot(_ctx.$slots, slotname)
91
+ vue.renderSlot(_ctx.$slots, key)
91
92
  ])
92
93
  };
93
94
  })
94
- ]), 1032, ["title", "disabled", "to", "modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", {
95
+ ]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", {
95
96
  key: 1,
96
97
  class: vue.normalizeClass(vue.unref(cs).z())
97
98
  }, [
@@ -68,6 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
68
68
  title: props.title,
69
69
  disabled: props.disabled,
70
70
  to: props.to,
71
+ cssprefix: props.cssprefix,
71
72
  modelValue: value.value,
72
73
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
73
74
  onClose
@@ -81,15 +82,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
81
82
  ]),
82
83
  _: 2
83
84
  }, [
84
- renderList(Object.values(unref(dataSlot)), (slotname, index) => {
85
+ renderList(Object.values(unref(dataSlot)), (key, index) => {
85
86
  return {
86
- name: slotname,
87
+ name: key,
87
88
  fn: withCtx(() => [
88
- renderSlot(_ctx.$slots, slotname)
89
+ renderSlot(_ctx.$slots, key)
89
90
  ])
90
91
  };
91
92
  })
92
- ]), 1032, ["title", "disabled", "to", "modelValue"])) : (openBlock(), createElementBlock("div", {
93
+ ]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (openBlock(), createElementBlock("div", {
93
94
  key: 1,
94
95
  class: normalizeClass(unref(cs).z())
95
96
  }, [
@@ -3,7 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const buildProps = require("../../../utils/vues/buildProps.cjs");
4
4
  const dataProps = buildProps.buildProps({
5
5
  /**
6
- * @props { String } 样式前缀
6
+ * @props { String } cssprefix
7
+ * 样式前缀
7
8
  */
8
9
  cssprefix: {
9
10
  type: String
@@ -1,7 +1,8 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  export declare const dataProps: {
3
3
  /**
4
- * @props { String } 样式前缀
4
+ * @props { String } cssprefix
5
+ * 样式前缀
5
6
  */
6
7
  cssprefix: {
7
8
  type: StringConstructor;
@@ -9,8 +10,6 @@ export declare const dataProps: {
9
10
  };
10
11
  export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
11
12
  /**
12
- * @emits change (val:[String, Array])
13
- * 选择的时间
14
13
  */
15
14
  export declare const dataEmits: {};
16
15
  export type DataEmits = typeof dataEmits;
@@ -21,7 +20,5 @@ export declare const dataSlot: {
21
20
  default: string;
22
21
  };
23
22
  /**
24
- * @expose setValue (val:<string>设置的数据 )
25
- * 设置值
26
23
  */
27
24
  export declare const dataExpose: {};
@@ -1,7 +1,8 @@
1
1
  import { buildProps } from "../../../utils/vues/buildProps.js";
2
2
  const dataProps = buildProps({
3
3
  /**
4
- * @props { String } 样式前缀
4
+ * @props { String } cssprefix
5
+ * 样式前缀
5
6
  */
6
7
  cssprefix: {
7
8
  type: String
@@ -4,13 +4,17 @@ const buildProps = require("../../../utils/vues/buildProps.cjs");
4
4
  const enums = require("../../../utils/enums.cjs");
5
5
  const dataProps = buildProps.buildProps({
6
6
  /**
7
- * @props { String } to= (配置值 )
7
+ * @props { String } to='#fang-ui-boxs' (配置值 )
8
8
  * 跳转位置
9
9
  */
10
10
  to: {
11
11
  type: String,
12
12
  default: enums.FunctConfig.BOXIDNAME
13
13
  },
14
+ /**
15
+ * @props { Boolean } disabled
16
+ * 是否禁用
17
+ */
14
18
  disabled: {
15
19
  type: Boolean
16
20
  }
@@ -2,21 +2,23 @@ import { ExtractPublicPropTypes } from 'vue';
2
2
  import { FunctConfig } from '../../../utils/enums';
3
3
  export declare const dataProps: {
4
4
  /**
5
- * @props { String } to= (配置值 )
5
+ * @props { String } to='#fang-ui-boxs' (配置值 )
6
6
  * 跳转位置
7
7
  */
8
8
  to: {
9
9
  type: StringConstructor;
10
10
  default: FunctConfig;
11
11
  };
12
+ /**
13
+ * @props { Boolean } disabled
14
+ * 是否禁用
15
+ */
12
16
  disabled: {
13
17
  type: BooleanConstructor;
14
18
  };
15
19
  };
16
20
  export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
17
21
  /**
18
- * @emits change (val:[String, Array])
19
- * 选择的时间
20
22
  */
21
23
  export declare const dataEmits: {
22
24
  change: (evt: string | string[]) => void;
@@ -29,7 +31,5 @@ export declare const dataSlot: {
29
31
  default: string;
30
32
  };
31
33
  /**
32
- * @expose setValue (val:<string>设置的数据 )
33
- * 设置值
34
34
  */
35
35
  export declare const dataExpose: {};
@@ -2,13 +2,17 @@ import { buildProps } from "../../../utils/vues/buildProps.js";
2
2
  import { FunctConfig } from "../../../utils/enums.js";
3
3
  const dataProps = buildProps({
4
4
  /**
5
- * @props { String } to= (配置值 )
5
+ * @props { String } to='#fang-ui-boxs' (配置值 )
6
6
  * 跳转位置
7
7
  */
8
8
  to: {
9
9
  type: String,
10
10
  default: FunctConfig.BOXIDNAME
11
11
  },
12
+ /**
13
+ * @props { Boolean } disabled
14
+ * 是否禁用
15
+ */
12
16
  disabled: {
13
17
  type: Boolean
14
18
  }
@@ -14,9 +14,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
14
  const cs = index$1.useCssName("box-teleport");
15
15
  const props = __props;
16
16
  const emit = __emit;
17
- if (document && !document.querySelector(enums.FunctConfig.BOXIDNAME)) {
17
+ const id = enums.FunctConfig.BOXIDNAME.trim();
18
+ if (document && !document?.querySelector(id)) {
18
19
  const d = document.createElement("div");
19
- d.id = enums.FunctConfig.BOXIDNAME.replace(/^#/, "");
20
+ if (id.startsWith("#")) {
21
+ d.id = id.replace(/^#/, "");
22
+ } else if (id.startsWith(".")) {
23
+ d.className = id.replace(/./g, " ");
24
+ }
20
25
  document.body.appendChild(d);
21
26
  }
22
27
  __expose({
@@ -12,9 +12,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  const cs = useCssName("box-teleport");
13
13
  const props = __props;
14
14
  const emit = __emit;
15
- if (document && !document.querySelector(FunctConfig.BOXIDNAME)) {
15
+ const id = FunctConfig.BOXIDNAME.trim();
16
+ if (document && !document?.querySelector(id)) {
16
17
  const d = document.createElement("div");
17
- d.id = FunctConfig.BOXIDNAME.replace(/^#/, "");
18
+ if (id.startsWith("#")) {
19
+ d.id = id.replace(/^#/, "");
20
+ } else if (id.startsWith(".")) {
21
+ d.className = id.replace(/./g, " ");
22
+ }
18
23
  document.body.appendChild(d);
19
24
  }
20
25
  __expose({
@@ -3,16 +3,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const buildProps = require("../../../utils/vues/buildProps.cjs");
4
4
  const dataProps = buildProps.buildProps({
5
5
  /**
6
- * @props { String } 标题名称
6
+ * @props { String } title
7
+ * 标题名称
7
8
  */
8
9
  title: {
9
10
  type: String
10
- },
11
- /**
12
- * @props { String } 样式前缀
13
- */
14
- cssprefix: {
15
- type: String
16
11
  }
17
12
  });
18
13
  const dataEmits = ["close"];
@@ -1,22 +1,17 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  export declare const dataProps: {
3
3
  /**
4
- * @props { String } 标题名称
4
+ * @props { String } title
5
+ * 标题名称
5
6
  */
6
7
  title: {
7
8
  type: StringConstructor;
8
9
  };
9
- /**
10
- * @props { String } 样式前缀
11
- */
12
- cssprefix: {
13
- type: StringConstructor;
14
- };
15
10
  };
16
11
  export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
17
12
  /**
18
- * @emits change (val:[String, Array])
19
- * 选择的时间
13
+ * @emits close ()
14
+ * 关闭事件
20
15
  */
21
16
  export declare const dataEmits: string[];
22
17
  export type DataEmits = typeof dataEmits;
@@ -27,7 +22,5 @@ export declare const dataSlot: {
27
22
  default: string;
28
23
  };
29
24
  /**
30
- * @expose setValue (val:<string>设置的数据 )
31
- * 设置值
32
25
  */
33
26
  export declare const dataExpose: {};
@@ -1,16 +1,11 @@
1
1
  import { buildProps } from "../../../utils/vues/buildProps.js";
2
2
  const dataProps = buildProps({
3
3
  /**
4
- * @props { String } 标题名称
4
+ * @props { String } title
5
+ * 标题名称
5
6
  */
6
7
  title: {
7
8
  type: String
8
- },
9
- /**
10
- * @props { String } 样式前缀
11
- */
12
- cssprefix: {
13
- type: String
14
9
  }
15
10
  });
16
11
  const dataEmits = ["close"];
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Button 输入框
3
+ * @title {h3} Button 按钮
4
4
  * @text 目前完全继承 element-plus 中 el-button
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Card 输入框
3
+ * @title {h3} Card 卡片
4
4
  * @text 目前完全继承 element-plus 中 el-card
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Cascader 输入框
3
+ * @title {h3} Cascader
4
4
  * @text 目前完全继承 element-plus 中 el-cascader
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} CascaderPanel 输入框
3
+ * @title {h3} CascaderPanel
4
4
  * @text 目前完全继承 element-plus 中 el-cascader-panel
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Checkbox 输入框
3
+ * @title {h3} Checkbox
4
4
  * @text 目前完全继承 element-plus 中 el-checkbox
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} CheckboxGroup 输入框
3
+ * @title {h3} CheckboxGroup
4
4
  * @text 目前完全继承 element-plus 中 el-checkbox-group
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Collapse 输入框
3
+ * @title {h3} Collapse
4
4
  * @text 目前完全继承 element-plus 中 el-collapse
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} CollapseItem 输入框
3
+ * @title {h3} CollapseItem
4
4
  * @text 目前完全继承 element-plus 中 el-collapse-item
5
5
  */
6
6
  export declare const dataProps: {};