@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
@@ -2,32 +2,33 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const buildProps = require("../../../utils/vues/buildProps.cjs");
4
4
  const dataProps = buildProps.buildProps({
5
+ /**
6
+ * @props { Number } stepLength=60 ( )
7
+ * 步长,必须大于或者等于0
8
+ */
5
9
  stepLength: {
6
10
  type: Number,
7
11
  default: 60,
8
12
  validator: (value) => value >= 0
9
13
  },
14
+ /**
15
+ * @props { Boolean } reverse=false ( )
16
+ * 是否向下滚动
17
+ */
10
18
  reverse: {
11
19
  type: Boolean,
12
20
  default: false
13
21
  },
14
- debug: {
15
- type: Boolean,
16
- default: false
17
- },
18
- limitFps: {
19
- type: Number,
20
- default: 32
21
- },
22
+ /**
23
+ * @props { Boolean } pauseOnHover=true ( )
24
+ * 鼠标进入是否停止
25
+ */
22
26
  pauseOnHover: {
23
27
  type: Boolean,
24
28
  default: true
25
29
  }
26
30
  });
27
- const dataEmits = {
28
- change: (evt) => {
29
- }
30
- };
31
+ const dataEmits = {};
31
32
  const dataSlot = {
32
33
  default: "default"
33
34
  };
@@ -1,22 +1,26 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  export declare const dataProps: {
3
+ /**
4
+ * @props { Number } stepLength=60 ( )
5
+ * 步长,必须大于或者等于0
6
+ */
3
7
  stepLength: {
4
8
  type: NumberConstructor;
5
9
  default: number;
6
10
  validator: (value: number) => boolean;
7
11
  };
12
+ /**
13
+ * @props { Boolean } reverse=false ( )
14
+ * 是否向下滚动
15
+ */
8
16
  reverse: {
9
17
  type: BooleanConstructor;
10
18
  default: boolean;
11
19
  };
12
- debug: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- limitFps: {
17
- type: NumberConstructor;
18
- default: number;
19
- };
20
+ /**
21
+ * @props { Boolean } pauseOnHover=true ( )
22
+ * 鼠标进入是否停止
23
+ */
20
24
  pauseOnHover: {
21
25
  type: BooleanConstructor;
22
26
  default: boolean;
@@ -24,12 +28,8 @@ export declare const dataProps: {
24
28
  };
25
29
  export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
26
30
  /**
27
- * @emits change (val:[String, Array])
28
- * 选择的时间
29
31
  */
30
- export declare const dataEmits: {
31
- change: (evt: string | string[]) => void;
32
- };
32
+ export declare const dataEmits: {};
33
33
  export type DataEmits = typeof dataEmits;
34
34
  /**
35
35
  * @slot default 默认插槽
@@ -38,7 +38,5 @@ export declare const dataSlot: {
38
38
  default: string;
39
39
  };
40
40
  /**
41
- * expose setValue (val:<string>设置的数据 )
42
- * 设置值
43
41
  */
44
42
  export declare const dataExpose: {};
@@ -1,31 +1,32 @@
1
1
  import { buildProps } from "../../../utils/vues/buildProps.js";
2
2
  const dataProps = buildProps({
3
+ /**
4
+ * @props { Number } stepLength=60 ( )
5
+ * 步长,必须大于或者等于0
6
+ */
3
7
  stepLength: {
4
8
  type: Number,
5
9
  default: 60,
6
10
  validator: (value) => value >= 0
7
11
  },
12
+ /**
13
+ * @props { Boolean } reverse=false ( )
14
+ * 是否向下滚动
15
+ */
8
16
  reverse: {
9
17
  type: Boolean,
10
18
  default: false
11
19
  },
12
- debug: {
13
- type: Boolean,
14
- default: false
15
- },
16
- limitFps: {
17
- type: Number,
18
- default: 32
19
- },
20
+ /**
21
+ * @props { Boolean } pauseOnHover=true ( )
22
+ * 鼠标进入是否停止
23
+ */
20
24
  pauseOnHover: {
21
25
  type: Boolean,
22
26
  default: true
23
27
  }
24
28
  });
25
- const dataEmits = {
26
- change: (evt) => {
27
- }
28
- };
29
+ const dataEmits = {};
29
30
  const dataSlot = {
30
31
  default: "default"
31
32
  };
@@ -43,6 +43,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
43
43
  const hideItemsIndex = vue.ref([]);
44
44
  vue.onMounted(() => {
45
45
  vue.nextTick(() => {
46
+ if (!refDom.value) {
47
+ return false;
48
+ }
46
49
  refDom.value.addEventListener("mouseover", onStop);
47
50
  refDom.value.addEventListener("mouseout", onPlay);
48
51
  const parentElementRect = refDom.value.parentElement.getBoundingClientRect();
@@ -50,9 +53,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
50
53
  let warpLineHeight = refLine.value[0].getBoundingClientRect().height;
51
54
  let lastY = -warpLineHeight;
52
55
  let translateY = -warpLineHeight;
53
- loopCount.value = new Array(
54
- Math.ceil(parentHeight.value / warpLineHeight) * 3
55
- );
56
+ let al = Math.ceil(parentHeight.value / warpLineHeight) * 3;
57
+ al = al == Infinity ? 5 : al;
58
+ loopCount.value = new Array(al);
56
59
  createTimer(() => {
57
60
  if (!animation && props.pauseOnHover) {
58
61
  return;
@@ -41,6 +41,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  const hideItemsIndex = ref([]);
42
42
  onMounted(() => {
43
43
  nextTick(() => {
44
+ if (!refDom.value) {
45
+ return false;
46
+ }
44
47
  refDom.value.addEventListener("mouseover", onStop);
45
48
  refDom.value.addEventListener("mouseout", onPlay);
46
49
  const parentElementRect = refDom.value.parentElement.getBoundingClientRect();
@@ -48,9 +51,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
51
  let warpLineHeight = refLine.value[0].getBoundingClientRect().height;
49
52
  let lastY = -warpLineHeight;
50
53
  let translateY = -warpLineHeight;
51
- loopCount.value = new Array(
52
- Math.ceil(parentHeight.value / warpLineHeight) * 3
53
- );
54
+ let al = Math.ceil(parentHeight.value / warpLineHeight) * 3;
55
+ al = al == Infinity ? 5 : al;
56
+ loopCount.value = new Array(al);
54
57
  createTimer(() => {
55
58
  if (!animation && props.pauseOnHover) {
56
59
  return;
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Select 输入框
3
+ * @title {h3} Select
4
4
  * @text 目前完全继承 element-plus 中 el-select
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Slider 输入框
3
+ * @title {h3} Slider
4
4
  * @text 目前完全继承 element-plus 中 el-slider
5
5
  */
6
6
  export declare const dataProps: {};
@@ -4,14 +4,16 @@ const buildProps = require("../../../utils/vues/buildProps.cjs");
4
4
  const definePropType = require("../../../utils/vues/definePropType.cjs");
5
5
  const dataProps = buildProps.buildProps({
6
6
  /**
7
- * @props { String } direction=bottom ( ) 方向
7
+ * @props { String } direction='bottom' ( 'left' | 'right' | 'top' | 'bottom' )
8
+ * 方向
8
9
  */
9
10
  direction: {
10
11
  type: definePropType.definePropType(String),
11
12
  default: "bottom"
12
13
  },
13
14
  /**
14
- * @props { Array } direction= ( ) 方向默认是全部
15
+ * @props { Array } directions=['left', 'right', 'top', 'bottom'] ( )
16
+ * 方向默认是全部
15
17
  */
16
18
  directions: {
17
19
  type: Array,
@@ -20,7 +22,8 @@ const dataProps = buildProps.buildProps({
20
22
  }
21
23
  },
22
24
  /**
23
- * @props { Boolean } often= ( ) 是否时时变化
25
+ * @props { Boolean } often= ( )
26
+ * 是否时时变化
24
27
  */
25
28
  often: {
26
29
  type: Boolean
@@ -2,14 +2,16 @@ import { ExtractPublicPropTypes, PropType } from 'vue';
2
2
  export type Direction = 'left' | 'right' | 'top' | 'bottom';
3
3
  export declare const dataProps: {
4
4
  /**
5
- * @props { String } direction=bottom ( ) 方向
5
+ * @props { String } direction='bottom' ( 'left' | 'right' | 'top' | 'bottom' )
6
+ * 方向
6
7
  */
7
8
  direction: {
8
9
  type: PropType<Direction>;
9
10
  default: string;
10
11
  };
11
12
  /**
12
- * @props { Array } direction= ( ) 方向默认是全部
13
+ * @props { Array } directions=['left', 'right', 'top', 'bottom'] ( )
14
+ * 方向默认是全部
13
15
  */
14
16
  directions: {
15
17
  type: {
@@ -31,7 +33,8 @@ export declare const dataProps: {
31
33
  default(): string[];
32
34
  };
33
35
  /**
34
- * @props { Boolean } often= ( ) 是否时时变化
36
+ * @props { Boolean } often= ( )
37
+ * 是否时时变化
35
38
  */
36
39
  often: {
37
40
  type: BooleanConstructor;
@@ -2,14 +2,16 @@ import { buildProps } from "../../../utils/vues/buildProps.js";
2
2
  import { definePropType } from "../../../utils/vues/definePropType.js";
3
3
  const dataProps = buildProps({
4
4
  /**
5
- * @props { String } direction=bottom ( ) 方向
5
+ * @props { String } direction='bottom' ( 'left' | 'right' | 'top' | 'bottom' )
6
+ * 方向
6
7
  */
7
8
  direction: {
8
9
  type: definePropType(String),
9
10
  default: "bottom"
10
11
  },
11
12
  /**
12
- * @props { Array } direction= ( ) 方向默认是全部
13
+ * @props { Array } directions=['left', 'right', 'top', 'bottom'] ( )
14
+ * 方向默认是全部
13
15
  */
14
16
  directions: {
15
17
  type: Array,
@@ -18,7 +20,8 @@ const dataProps = buildProps({
18
20
  }
19
21
  },
20
22
  /**
21
- * @props { Boolean } often= ( ) 是否时时变化
23
+ * @props { Boolean } often= ( )
24
+ * 是否时时变化
22
25
  */
23
26
  often: {
24
27
  type: Boolean
@@ -4,14 +4,16 @@ const buildProps = require("../../../utils/vues/buildProps.cjs");
4
4
  require("../../../utils/vues/definePropType.cjs");
5
5
  const dataProps = buildProps.buildProps({
6
6
  /**
7
- * @props { String, Boolean } drag=true ( ) 可拖拽的元素样式 为空字符串就不拖拽
7
+ * @props { String, Boolean } drag=true ( )
8
+ * 可拖拽的元素样式 为空字符串就不拖拽
8
9
  */
9
10
  drag: {
10
11
  type: [String, Boolean],
11
12
  default: true
12
13
  },
13
14
  /**
14
- * @props { } direction= ( ) 方向默认是全部
15
+ * @props { String, Array<Direction> } direction='' ( )
16
+ * 方向默认是全部
15
17
  */
16
18
  direction: {
17
19
  // 打包时代码报错
@@ -20,7 +22,8 @@ const dataProps = buildProps.buildProps({
20
22
  default: ""
21
23
  },
22
24
  /**
23
- * @props { } isFixed= ( ) 是否是绝对定位
25
+ * @props { Boolean } isFixed= ( )
26
+ * 是否是绝对定位
24
27
  */
25
28
  isFixed: {
26
29
  type: Boolean
@@ -2,14 +2,16 @@ import { ExtractPublicPropTypes } from 'vue';
2
2
  type Direction = '' | 'left' | 'right' | 'top' | 'bottom';
3
3
  export declare const dataProps: {
4
4
  /**
5
- * @props { String, Boolean } drag=true ( ) 可拖拽的元素样式 为空字符串就不拖拽
5
+ * @props { String, Boolean } drag=true ( )
6
+ * 可拖拽的元素样式 为空字符串就不拖拽
6
7
  */
7
8
  drag: {
8
9
  type: (BooleanConstructor | StringConstructor)[];
9
10
  default: boolean;
10
11
  };
11
12
  /**
12
- * @props { } direction= ( ) 方向默认是全部
13
+ * @props { String, Array<Direction> } direction='' ( )
14
+ * 方向默认是全部
13
15
  */
14
16
  direction: {
15
17
  type: (StringConstructor | {
@@ -31,7 +33,8 @@ export declare const dataProps: {
31
33
  default: string;
32
34
  };
33
35
  /**
34
- * @props { } isFixed= ( ) 是否是绝对定位
36
+ * @props { Boolean } isFixed= ( )
37
+ * 是否是绝对定位
35
38
  */
36
39
  isFixed: {
37
40
  type: BooleanConstructor;
@@ -2,14 +2,16 @@ import { buildProps } from "../../../utils/vues/buildProps.js";
2
2
  import "../../../utils/vues/definePropType.js";
3
3
  const dataProps = buildProps({
4
4
  /**
5
- * @props { String, Boolean } drag=true ( ) 可拖拽的元素样式 为空字符串就不拖拽
5
+ * @props { String, Boolean } drag=true ( )
6
+ * 可拖拽的元素样式 为空字符串就不拖拽
6
7
  */
7
8
  drag: {
8
9
  type: [String, Boolean],
9
10
  default: true
10
11
  },
11
12
  /**
12
- * @props { } direction= ( ) 方向默认是全部
13
+ * @props { String, Array<Direction> } direction='' ( )
14
+ * 方向默认是全部
13
15
  */
14
16
  direction: {
15
17
  // 打包时代码报错
@@ -18,7 +20,8 @@ const dataProps = buildProps({
18
20
  default: ""
19
21
  },
20
22
  /**
21
- * @props { } isFixed= ( ) 是否是绝对定位
23
+ * @props { Boolean } isFixed= ( )
24
+ * 是否是绝对定位
22
25
  */
23
26
  isFixed: {
24
27
  type: Boolean
@@ -1,38 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const buildProps = require("../../../utils/vues/buildProps.cjs");
4
- const definePropType = require("../../../utils/vues/definePropType.cjs");
4
+ const data = require("../../stick-div/src/data.cjs");
5
+ const data$1 = require("../../box-teleport/src/data.cjs");
5
6
  const dataProps = buildProps.buildProps({
6
- to: {
7
- type: String
8
- },
9
- disabled: {
10
- type: Boolean
11
- },
7
+ ...data$1.dataProps,
8
+ ...data.dataProps,
12
9
  /**
13
- * @props { String } direction=bottom ( ) 方向
14
- */
15
- direction: {
16
- type: definePropType.definePropType(String),
17
- default: "bottom"
18
- },
19
- /**
20
- * @props { Array } direction= ( ) 方向默认是全部
21
- */
22
- directions: {
23
- type: Array,
24
- default() {
25
- return ["left", "right", "top", "bottom"];
26
- }
27
- },
28
- /**
29
- * @props { Boolean } often= ( ) 是否时时变化
30
- */
31
- often: {
32
- type: Boolean
33
- },
34
- /**
35
- * @props { String, Boolean} drag= ( ) 可拖拽的元素样式
10
+ * @props { String, Boolean} drag= ( )
11
+ * 可拖拽的元素样式
36
12
  */
37
13
  drag: {
38
14
  type: [String, Boolean]
@@ -1,22 +1,18 @@
1
1
  import { ExtractPublicPropTypes, PropType } from 'vue';
2
- export type Direction = 'left' | 'right' | 'top' | 'bottom';
2
+ import { Direction } from '../../stick-div/src/data';
3
+ import { FunctConfig } from '../../../utils/enums';
3
4
  export declare const dataProps: {
4
- to: {
5
- type: StringConstructor;
6
- };
7
- disabled: {
8
- type: BooleanConstructor;
9
- };
10
5
  /**
11
- * @props { String } direction=bottom ( ) 方向
6
+ * @props { String, Boolean} drag= ( )
7
+ * 可拖拽的元素样式
12
8
  */
9
+ drag: {
10
+ type: (BooleanConstructor | StringConstructor)[];
11
+ };
13
12
  direction: {
14
13
  type: PropType<Direction>;
15
14
  default: string;
16
15
  };
17
- /**
18
- * @props { Array } direction= ( ) 方向默认是全部
19
- */
20
16
  directions: {
21
17
  type: {
22
18
  (arrayLength: number): Direction[];
@@ -36,17 +32,15 @@ export declare const dataProps: {
36
32
  };
37
33
  default(): string[];
38
34
  };
39
- /**
40
- * @props { Boolean } often= ( ) 是否时时变化
41
- */
42
35
  often: {
43
36
  type: BooleanConstructor;
44
37
  };
45
- /**
46
- * @props { String, Boolean} drag= ( ) 可拖拽的元素样式
47
- */
48
- drag: {
49
- type: (BooleanConstructor | StringConstructor)[];
38
+ to: {
39
+ type: StringConstructor;
40
+ default: FunctConfig;
41
+ };
42
+ disabled: {
43
+ type: BooleanConstructor;
50
44
  };
51
45
  };
52
46
  export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
@@ -1,36 +1,12 @@
1
1
  import { buildProps } from "../../../utils/vues/buildProps.js";
2
- import { definePropType } from "../../../utils/vues/definePropType.js";
2
+ import { dataProps as dataProps$1 } from "../../stick-div/src/data.js";
3
+ import { dataProps as dataProps$2 } from "../../box-teleport/src/data.js";
3
4
  const dataProps = buildProps({
4
- to: {
5
- type: String
6
- },
7
- disabled: {
8
- type: Boolean
9
- },
5
+ ...dataProps$2,
6
+ ...dataProps$1,
10
7
  /**
11
- * @props { String } direction=bottom ( ) 方向
12
- */
13
- direction: {
14
- type: definePropType(String),
15
- default: "bottom"
16
- },
17
- /**
18
- * @props { Array } direction= ( ) 方向默认是全部
19
- */
20
- directions: {
21
- type: Array,
22
- default() {
23
- return ["left", "right", "top", "bottom"];
24
- }
25
- },
26
- /**
27
- * @props { Boolean } often= ( ) 是否时时变化
28
- */
29
- often: {
30
- type: Boolean
31
- },
32
- /**
33
- * @props { String, Boolean} drag= ( ) 可拖拽的元素样式
8
+ * @props { String, Boolean} drag= ( )
9
+ * 可拖拽的元素样式
34
10
  */
35
11
  drag: {
36
12
  type: [String, Boolean]
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Switch 输入框
3
+ * @title {h3} Switch
4
4
  * @text 目前完全继承 element-plus 中 el-switch
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} TabPane 输入框
3
+ * @title {h3} TabPane
4
4
  * @text 目前完全继承 element-plus 中 el-tab-pane
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Tabs 输入框
3
+ * @title {h3} Tabs
4
4
  * @text 目前完全继承 element-plus 中 el-tabs
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} TimePicker 输入框
3
+ * @title {h3} TimePicker
4
4
  * @text 目前完全继承 element-plus 中 el-time-picker
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} TimeSelect 输入框
3
+ * @title {h3} TimeSelect
4
4
  * @text 目前完全继承 element-plus 中 el-time-select
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Tooltip 输入框
3
+ * @title {h3} Tooltip
4
4
  * @text 目前完全继承 element-plus 中 el-tooltip
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Tree 输入框
3
+ * @title {h3} Tree
4
4
  * @text 目前完全继承 element-plus 中 el-tree
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} TreeSelect 输入框
3
+ * @title {h3} TreeSelect
4
4
  * @text 目前完全继承 element-plus 中 el-tree-select
5
5
  */
6
6
  export declare const dataProps: {};
@@ -1,6 +1,6 @@
1
1
  import { ExtractPublicPropTypes } from 'vue';
2
2
  /**
3
- * @title {h2} Upload 输入框
3
+ * @title {h3} Upload
4
4
  * @text 目前完全继承 element-plus 中 el-upload
5
5
  */
6
6
  export declare const dataProps: {};
@@ -67,9 +67,10 @@
67
67
  display: flex;
68
68
  flex-direction: column;
69
69
  }
70
- .window-body-title .com-title-close i {
70
+ .window-body .window-title-icon {
71
71
  width: 20px;
72
- height: 20px;
72
+ display: inline-flex;
73
+ align-items: center;
73
74
  margin: 0 4px;
74
75
  cursor: pointer;
75
76
  }
@@ -25,16 +25,14 @@ $window: 'window';
25
25
  height: 40%;
26
26
  display: flex;
27
27
  flex-direction: column;
28
- &-title {
29
- .com-title-close {
30
- i {
31
- width: 20px;
32
- height: 20px;
33
- margin: 0 4px;
34
- cursor: pointer;
35
- }
36
- }
28
+ .#{z($window, 'title-icon')} {
29
+ width: 20px;
30
+ display: inline-flex;
31
+ align-items: center;
32
+ margin: 0 4px;
33
+ cursor: pointer;
37
34
  }
35
+
38
36
  &-div {
39
37
  flex: 1;
40
38
  overflow-y: auto;