@fangzhongya/fang-ui 0.1.55 → 0.1.57

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 (238) hide show
  1. package/dist/components/audios/src/index2.cjs +16 -10
  2. package/dist/components/audios/src/index2.js +16 -10
  3. package/dist/components/box-adjust/src/index2.cjs +6 -4
  4. package/dist/components/box-adjust/src/index2.js +6 -4
  5. package/dist/components/box-title/src/index2.cjs +3 -2
  6. package/dist/components/box-title/src/index2.js +3 -2
  7. package/dist/components/buttons/src/data.d.ts +5 -5
  8. package/dist/components/buttons/src/index2.cjs +2 -2
  9. package/dist/components/buttons/src/index2.js +2 -2
  10. package/dist/components/cascaders/src/data.d.ts +5 -5
  11. package/dist/components/checks/src/data.d.ts +5 -5
  12. package/dist/components/common/list.d.ts +1 -1
  13. package/dist/components/common/use.cjs +1 -1
  14. package/dist/components/common/use.js +1 -1
  15. package/dist/components/dates/src/data.d.ts +5 -5
  16. package/dist/components/dates2/src/data.d.ts +5 -5
  17. package/dist/components/double/src/index2.cjs +3 -2
  18. package/dist/components/double/src/index2.js +3 -2
  19. package/dist/components/edit/index.css +5 -5
  20. package/dist/components/edit/index.scss +5 -5
  21. package/dist/components/edit/src/data.cjs +3 -2
  22. package/dist/components/edit/src/data.d.ts +5 -1
  23. package/dist/components/edit/src/data.js +3 -2
  24. package/dist/components/edit/src/index2.cjs +32 -23
  25. package/dist/components/edit/src/index2.js +32 -23
  26. package/dist/components/edit-data/src/area/array-json2.cjs +8 -4
  27. package/dist/components/edit-data/src/area/array-json2.js +8 -4
  28. package/dist/components/edit-data/src/area/array2.cjs +46 -8
  29. package/dist/components/edit-data/src/area/array2.js +47 -9
  30. package/dist/components/edit-data/src/area/editor2.cjs +22 -4
  31. package/dist/components/edit-data/src/area/editor2.js +22 -4
  32. package/dist/components/edit-data/src/area/general2.cjs +8 -1
  33. package/dist/components/edit-data/src/area/general2.js +8 -1
  34. package/dist/components/edit-data/src/area/object-json2.cjs +5 -1
  35. package/dist/components/edit-data/src/area/object-json2.js +5 -1
  36. package/dist/components/edit-data/src/area/object2.cjs +48 -11
  37. package/dist/components/edit-data/src/area/object2.js +49 -12
  38. package/dist/components/edit-data/src/data/array2.cjs +9 -5
  39. package/dist/components/edit-data/src/data/array2.js +9 -5
  40. package/dist/components/edit-data/src/data/bigint2.cjs +7 -3
  41. package/dist/components/edit-data/src/data/bigint2.js +7 -3
  42. package/dist/components/edit-data/src/data/boolean2.cjs +7 -3
  43. package/dist/components/edit-data/src/data/boolean2.js +7 -3
  44. package/dist/components/edit-data/src/data/date.cjs +4 -0
  45. package/dist/components/edit-data/src/data/date.js +4 -0
  46. package/dist/components/edit-data/src/data/date2.cjs +48 -0
  47. package/dist/components/edit-data/src/data/date2.js +48 -0
  48. package/dist/components/edit-data/src/data/function2.cjs +16 -7
  49. package/dist/components/edit-data/src/data/function2.js +17 -8
  50. package/dist/components/edit-data/src/data/null2.cjs +3 -1
  51. package/dist/components/edit-data/src/data/null2.js +4 -2
  52. package/dist/components/edit-data/src/data/number2.cjs +7 -3
  53. package/dist/components/edit-data/src/data/number2.js +7 -3
  54. package/dist/components/edit-data/src/data/object2.cjs +9 -5
  55. package/dist/components/edit-data/src/data/object2.js +9 -5
  56. package/dist/components/edit-data/src/data/other2.cjs +13 -5
  57. package/dist/components/edit-data/src/data/other2.js +14 -6
  58. package/dist/components/edit-data/src/data/string2.cjs +7 -3
  59. package/dist/components/edit-data/src/data/string2.js +7 -3
  60. package/dist/components/edit-data/src/data/symbol2.cjs +7 -3
  61. package/dist/components/edit-data/src/data/symbol2.js +7 -3
  62. package/dist/components/edit-data/src/data/undefined2.cjs +3 -1
  63. package/dist/components/edit-data/src/data/undefined2.js +4 -2
  64. package/dist/components/edit-data/src/data.cjs +10 -0
  65. package/dist/components/edit-data/src/data.d.ts +20 -0
  66. package/dist/components/edit-data/src/data.js +10 -0
  67. package/dist/components/edit-data/src/index2.cjs +31 -2
  68. package/dist/components/edit-data/src/index2.js +45 -16
  69. package/dist/components/edit-data-add/src/index2.cjs +2 -0
  70. package/dist/components/edit-data-add/src/index2.js +2 -0
  71. package/dist/components/edit-float/src/index2.cjs +3 -2
  72. package/dist/components/edit-float/src/index2.js +3 -2
  73. package/dist/components/history/src/index2.cjs +6 -4
  74. package/dist/components/history/src/index2.js +6 -4
  75. package/dist/components/input-array/src/index2.cjs +3 -2
  76. package/dist/components/input-array/src/index2.js +3 -2
  77. package/dist/components/input-history/src/index2.cjs +3 -2
  78. package/dist/components/input-history/src/index2.js +3 -2
  79. package/dist/components/input-select/src/index2.cjs +6 -4
  80. package/dist/components/input-select/src/index2.js +6 -4
  81. package/dist/components/labels/src/data.d.ts +5 -5
  82. package/dist/components/message/index.d.ts +11 -4
  83. package/dist/components/message/src/function.d.ts +11 -4
  84. package/dist/components/message-box/index.d.ts +2 -3
  85. package/dist/components/message-box/src/function.d.ts +2 -3
  86. package/dist/components/retract/index.css +23 -20
  87. package/dist/components/retract/index.scss +39 -20
  88. package/dist/components/retract/src/data.cjs +4 -1
  89. package/dist/components/retract/src/data.d.ts +4 -1
  90. package/dist/components/retract/src/data.js +4 -1
  91. package/dist/components/retract/src/index2.cjs +12 -10
  92. package/dist/components/retract/src/index2.js +9 -7
  93. package/dist/components/right-key/index.css +2 -1
  94. package/dist/components/right-key/index.scss +2 -1
  95. package/dist/components/right-key/src/data.cjs +7 -2
  96. package/dist/components/right-key/src/data.d.ts +5 -0
  97. package/dist/components/right-key/src/data.js +7 -2
  98. package/dist/components/right-key/src/index2.cjs +134 -60
  99. package/dist/components/right-key/src/index2.js +135 -61
  100. package/dist/components/selects/src/data.d.ts +5 -5
  101. package/dist/components/stick-window/src/index2.cjs +3 -2
  102. package/dist/components/stick-window/src/index2.js +3 -2
  103. package/dist/components/switchs/src/data.d.ts +5 -4
  104. package/dist/components/uploads/src/data.d.ts +5 -5
  105. package/dist/components/uploads/src/index2.cjs +26 -21
  106. package/dist/components/uploads/src/index2.js +15 -10
  107. package/dist/components/videos/src/index2.cjs +30 -19
  108. package/dist/components/videos/src/index2.js +30 -19
  109. package/dist/components/window/src/index2.cjs +9 -6
  110. package/dist/components/window/src/index2.js +9 -6
  111. package/dist/css/edit.css +5 -5
  112. package/dist/css/index.css +30 -26
  113. package/dist/css/retract.css +23 -20
  114. package/dist/css/right-key.css +2 -1
  115. package/dist/hooks/model/index.cjs +25 -0
  116. package/dist/hooks/model/index.d.ts +2 -0
  117. package/dist/hooks/model/index.js +25 -0
  118. package/dist/icons/index.json +1 -1
  119. package/dist/icons/vue/bar.cjs +2 -18
  120. package/dist/icons/vue/bar.js +1 -17
  121. package/dist/icons/vue/bar2.cjs +21 -2
  122. package/dist/icons/vue/bar2.js +21 -2
  123. package/dist/icons/vue/below.cjs +2 -18
  124. package/dist/icons/vue/below.js +1 -17
  125. package/dist/icons/vue/below2.cjs +21 -2
  126. package/dist/icons/vue/below2.js +21 -2
  127. package/dist/icons/vue/bicycle.cjs +2 -15
  128. package/dist/icons/vue/bicycle.js +1 -14
  129. package/dist/icons/vue/bicycle2.cjs +18 -2
  130. package/dist/icons/vue/bicycle2.js +18 -2
  131. package/dist/icons/vue/bottom-left.cjs +2 -22
  132. package/dist/icons/vue/bottom-left.js +1 -21
  133. package/dist/icons/vue/bottom-left2.cjs +25 -2
  134. package/dist/icons/vue/bottom-left2.js +25 -2
  135. package/dist/icons/vue/bottom-right.cjs +2 -22
  136. package/dist/icons/vue/bottom-right.js +1 -21
  137. package/dist/icons/vue/bottom-right2.cjs +25 -2
  138. package/dist/icons/vue/bottom-right2.js +25 -2
  139. package/dist/icons/vue/bottom.cjs +2 -18
  140. package/dist/icons/vue/bottom.js +1 -17
  141. package/dist/icons/vue/bottom2.cjs +21 -2
  142. package/dist/icons/vue/bottom2.js +21 -2
  143. package/dist/icons/vue/catalogue.cjs +2 -23
  144. package/dist/icons/vue/catalogue.js +1 -22
  145. package/dist/icons/vue/catalogue2.cjs +26 -2
  146. package/dist/icons/vue/catalogue2.js +26 -2
  147. package/dist/icons/vue/clear.cjs +2 -23
  148. package/dist/icons/vue/clear.js +1 -22
  149. package/dist/icons/vue/clear2.cjs +26 -2
  150. package/dist/icons/vue/clear2.js +26 -2
  151. package/dist/icons/vue/close.cjs +2 -18
  152. package/dist/icons/vue/close.js +1 -17
  153. package/dist/icons/vue/close2.cjs +21 -2
  154. package/dist/icons/vue/close2.js +21 -2
  155. package/dist/icons/vue/delete.cjs +2 -18
  156. package/dist/icons/vue/delete.js +1 -17
  157. package/dist/icons/vue/delete2.cjs +21 -2
  158. package/dist/icons/vue/delete2.js +21 -2
  159. package/dist/icons/vue/document.cjs +2 -23
  160. package/dist/icons/vue/document.js +1 -22
  161. package/dist/icons/vue/document2.cjs +26 -2
  162. package/dist/icons/vue/document2.js +26 -2
  163. package/dist/icons/vue/down.cjs +2 -18
  164. package/dist/icons/vue/down.js +1 -17
  165. package/dist/icons/vue/down2.cjs +21 -2
  166. package/dist/icons/vue/down2.js +21 -2
  167. package/dist/icons/vue/download.cjs +2 -18
  168. package/dist/icons/vue/download.js +1 -17
  169. package/dist/icons/vue/download2.cjs +21 -2
  170. package/dist/icons/vue/download2.js +21 -2
  171. package/dist/icons/vue/edit.cjs +2 -23
  172. package/dist/icons/vue/edit.js +1 -22
  173. package/dist/icons/vue/edit2.cjs +26 -2
  174. package/dist/icons/vue/edit2.js +26 -2
  175. package/dist/icons/vue/enter.cjs +2 -19
  176. package/dist/icons/vue/enter.js +1 -18
  177. package/dist/icons/vue/enter2.cjs +22 -2
  178. package/dist/icons/vue/enter2.js +22 -2
  179. package/dist/icons/vue/frame.cjs +2 -15
  180. package/dist/icons/vue/frame.js +1 -14
  181. package/dist/icons/vue/frame2.cjs +18 -2
  182. package/dist/icons/vue/frame2.js +18 -2
  183. package/dist/icons/vue/index.cjs +81 -54
  184. package/dist/icons/vue/index.js +54 -27
  185. package/dist/icons/vue/left.cjs +2 -18
  186. package/dist/icons/vue/left.js +1 -17
  187. package/dist/icons/vue/left2.cjs +21 -2
  188. package/dist/icons/vue/left2.js +21 -2
  189. package/dist/icons/vue/mute.cjs +2 -18
  190. package/dist/icons/vue/mute.js +1 -17
  191. package/dist/icons/vue/mute2.cjs +21 -2
  192. package/dist/icons/vue/mute2.js +21 -2
  193. package/dist/icons/vue/pause.cjs +2 -24
  194. package/dist/icons/vue/pause.js +1 -23
  195. package/dist/icons/vue/pause2.cjs +27 -2
  196. package/dist/icons/vue/pause2.js +27 -2
  197. package/dist/icons/vue/play.cjs +2 -19
  198. package/dist/icons/vue/play.js +1 -18
  199. package/dist/icons/vue/play2.cjs +22 -2
  200. package/dist/icons/vue/play2.js +22 -2
  201. package/dist/icons/vue/plus.cjs +2 -18
  202. package/dist/icons/vue/plus.js +1 -17
  203. package/dist/icons/vue/plus2.cjs +21 -2
  204. package/dist/icons/vue/plus2.js +21 -2
  205. package/dist/icons/vue/retreat.cjs +2 -19
  206. package/dist/icons/vue/retreat.js +1 -18
  207. package/dist/icons/vue/retreat2.cjs +22 -2
  208. package/dist/icons/vue/retreat2.js +22 -2
  209. package/dist/icons/vue/right.cjs +2 -18
  210. package/dist/icons/vue/right.js +1 -17
  211. package/dist/icons/vue/right2.cjs +21 -2
  212. package/dist/icons/vue/right2.js +21 -2
  213. package/dist/icons/vue/sound.cjs +2 -22
  214. package/dist/icons/vue/sound.js +1 -21
  215. package/dist/icons/vue/sound2.cjs +25 -2
  216. package/dist/icons/vue/sound2.js +25 -2
  217. package/dist/icons/vue/star.cjs +2 -22
  218. package/dist/icons/vue/star.js +1 -21
  219. package/dist/icons/vue/star2.cjs +25 -2
  220. package/dist/icons/vue/star2.js +25 -2
  221. package/dist/icons/vue/up.cjs +2 -18
  222. package/dist/icons/vue/up.js +1 -17
  223. package/dist/icons/vue/up2.cjs +21 -2
  224. package/dist/icons/vue/up2.js +21 -2
  225. package/dist/icons/vue/views.cjs +2 -18
  226. package/dist/icons/vue/views.js +1 -17
  227. package/dist/icons/vue/views2.cjs +21 -2
  228. package/dist/icons/vue/views2.js +21 -2
  229. package/dist/index.css +30 -26
  230. package/dist/utils/vues/index.d.ts +1 -0
  231. package/dist/utils/vues/shared.cjs +19 -0
  232. package/dist/utils/vues/shared.d.ts +5 -0
  233. package/dist/utils/vues/shared.js +19 -0
  234. package/package.json +10 -11
  235. package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -10
  236. package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
  237. /package/dist/components/{keep-com → global-config}/index.css +0 -0
  238. /package/dist/css/{keep-com.css → global-config.css} +0 -0
@@ -46,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  boolean: "是否",
47
47
  object: "对象",
48
48
  array: "数组",
49
+ date: "时间",
49
50
  function: "方法",
50
51
  symbol: "唯一值",
51
52
  bigint: "大数字",
@@ -62,6 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
63
  "object",
63
64
  "array",
64
65
  "function",
66
+ "date",
65
67
  "symbol",
66
68
  "bigint",
67
69
  "other"
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const edit = require("../../../icons/vue/edit.cjs");
4
+ require("../../../icons/vue/edit.cjs");
5
5
  const index$6 = require("../../icon/index.cjs");
6
6
  const index$3 = require("../../popover/index.cjs");
7
7
  const index$5 = require("../../button/index.cjs");
@@ -10,6 +10,7 @@ const data = require("./data.cjs");
10
10
  const index$1 = require("../../../hooks/cssname/index.cjs");
11
11
  const index = require("../../../hooks/locale/index.cjs");
12
12
  const index$2 = require("../../../hooks/props-default/index.cjs");
13
+ const edit_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/edit2.cjs");
13
14
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
15
  __name: "index",
15
16
  props: index$2.getProps(data.dataProps),
@@ -107,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
107
108
  class: vue.normalizeClass(vue.unref(cs).z("icon"))
108
109
  }, {
109
110
  default: vue.withCtx(() => [
110
- vue.createVNode(edit.default)
111
+ vue.createVNode(edit_vue_vue_type_script_setup_true_lang.default)
111
112
  ]),
112
113
  _: 1
113
114
  }, 8, ["class"])) : vue.createCommentVNode("", true)
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createElementVNode, toDisplayString, createTextVNode, createBlock, createCommentVNode, withModifiers } from "vue";
2
- import Edit from "../../../icons/vue/edit.js";
2
+ import "../../../icons/vue/edit.js";
3
3
  import { Icon } from "../../icon/index.js";
4
4
  import { Popover } from "../../popover/index.js";
5
5
  import { Button } from "../../button/index.js";
@@ -8,6 +8,7 @@ import { name, dataProps, dataExpose, dataEmits } from "./data.js";
8
8
  import { useCssName } from "../../../hooks/cssname/index.js";
9
9
  import { useLocale } from "../../../hooks/locale/index.js";
10
10
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
11
+ import _sfc_main$1 from "../../../icons/vue/edit2.js";
11
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
13
  __name: "index",
13
14
  props: getProps(dataProps),
@@ -105,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
105
106
  class: normalizeClass(unref(cs).z("icon"))
106
107
  }, {
107
108
  default: withCtx(() => [
108
- createVNode(Edit)
109
+ createVNode(_sfc_main$1)
109
110
  ]),
110
111
  _: 1
111
112
  }, 8, ["class"])) : createCommentVNode("", true)
@@ -2,12 +2,14 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index$2 = require("../../icon/index.cjs");
5
- const left = require("../../../icons/vue/left.cjs");
6
- const right = require("../../../icons/vue/right.cjs");
5
+ require("../../../icons/vue/left.cjs");
6
+ require("../../../icons/vue/right.cjs");
7
7
  const data = require("./data.cjs");
8
8
  const index = require("../../../hooks/cssname/index.cjs");
9
9
  const deepCopy = require("@fangzhongya/utils/basic/object/deepCopy");
10
10
  const index$1 = require("../../../hooks/props-default/index.cjs");
11
+ const left_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/left2.cjs");
12
+ const right_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/right2.cjs");
11
13
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
14
  __name: "index",
13
15
  props: index$1.getProps(data.dataProps),
@@ -108,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
108
110
  }, {
109
111
  default: vue.withCtx(() => [
110
112
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).iconRetreat, {}, () => [
111
- vue.createVNode(left.default)
113
+ vue.createVNode(left_vue_vue_type_script_setup_true_lang.default)
112
114
  ])
113
115
  ]),
114
116
  _: 3
@@ -123,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
123
125
  }, {
124
126
  default: vue.withCtx(() => [
125
127
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).iconForward, {}, () => [
126
- vue.createVNode(right.default)
128
+ vue.createVNode(right_vue_vue_type_script_setup_true_lang.default)
127
129
  ])
128
130
  ]),
129
131
  _: 3
@@ -1,11 +1,13 @@
1
1
  import { defineComponent, ref, computed, watch, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, renderSlot } from "vue";
2
2
  import { Icon } from "../../icon/index.js";
3
- import Left from "../../../icons/vue/left.js";
4
- import Right from "../../../icons/vue/right.js";
3
+ import "../../../icons/vue/left.js";
4
+ import "../../../icons/vue/right.js";
5
5
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
6
6
  import { useCssName } from "../../../hooks/cssname/index.js";
7
7
  import { deepCopy } from "@fangzhongya/utils/basic/object/deepCopy";
8
8
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
9
+ import _sfc_main$1 from "../../../icons/vue/left2.js";
10
+ import _sfc_main$2 from "../../../icons/vue/right2.js";
9
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
12
  __name: "index",
11
13
  props: getProps(dataProps),
@@ -106,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
108
  }, {
107
109
  default: withCtx(() => [
108
110
  renderSlot(_ctx.$slots, unref(dataSlot).iconRetreat, {}, () => [
109
- createVNode(Left)
111
+ createVNode(_sfc_main$1)
110
112
  ])
111
113
  ]),
112
114
  _: 3
@@ -121,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
121
123
  }, {
122
124
  default: withCtx(() => [
123
125
  renderSlot(_ctx.$slots, unref(dataSlot).iconForward, {}, () => [
124
- createVNode(Right)
126
+ createVNode(_sfc_main$2)
125
127
  ])
126
128
  ]),
127
129
  _: 3
@@ -2,12 +2,13 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index$4 = require("../../icon/index.cjs");
5
- const clear = require("../../../icons/vue/clear.cjs");
5
+ require("../../../icons/vue/clear.cjs");
6
6
  const data = require("./data.cjs");
7
7
  const index = require("../../../hooks/cssname/index.cjs");
8
8
  const index$2 = require("../../input-number/index.cjs");
9
9
  const index$3 = require("../../input/index.cjs");
10
10
  const index$1 = require("../../../hooks/props-default/index.cjs");
11
+ const clear_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/clear2.cjs");
11
12
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
13
  __name: "index",
13
14
  props: index$1.getProps(data.dataProps),
@@ -203,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
203
204
  onClick: vue.withModifiers(onClear, ["stop"])
204
205
  }, {
205
206
  default: vue.withCtx(() => [
206
- vue.createVNode(clear.default)
207
+ vue.createVNode(clear_vue_vue_type_script_setup_true_lang.default)
207
208
  ]),
208
209
  _: 1
209
210
  }, 8, ["class"])) : vue.createCommentVNode("", true),
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, ref, computed, watch, createElementBlock, openBlock, withModifiers, normalizeClass, unref, renderSlot, createBlock, createElementVNode, createCommentVNode, toDisplayString, withCtx, createVNode } from "vue";
2
2
  import { Icon } from "../../icon/index.js";
3
- import Clear from "../../../icons/vue/clear.js";
3
+ import "../../../icons/vue/clear.js";
4
4
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
5
5
  import { useCssName } from "../../../hooks/cssname/index.js";
6
6
  import { InputNumber } from "../../input-number/index.js";
7
7
  import { Input } from "../../input/index.js";
8
8
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
9
+ import _sfc_main$1 from "../../../icons/vue/clear2.js";
9
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  __name: "index",
11
12
  props: getProps(dataProps),
@@ -201,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
201
202
  onClick: withModifiers(onClear, ["stop"])
202
203
  }, {
203
204
  default: withCtx(() => [
204
- createVNode(Clear)
205
+ createVNode(_sfc_main$1)
205
206
  ]),
206
207
  _: 1
207
208
  }, 8, ["class"])) : createCommentVNode("", true),
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index$6 = require("../../icon/index.cjs");
5
- const clear = require("../../../icons/vue/clear.cjs");
5
+ require("../../../icons/vue/clear.cjs");
6
6
  const index$4 = require("../../../hooks/expose/index.cjs");
7
7
  const index$5 = require("../../popover/index.cjs");
8
8
  const index$8 = require("../../button/index.cjs");
@@ -17,6 +17,7 @@ require("../../form/index.cjs");
17
17
  const index$3 = require("element-plus/es/components/form/index");
18
18
  const replaceAfter = require("@fangzhongya/utils/basic/array/replaceAfter");
19
19
  const deleteArray = require("@fangzhongya/utils/basic/array/deleteArray");
20
+ const clear_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/clear2.cjs");
20
21
  const _hoisted_1 = ["onClick"];
21
22
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
22
23
  ...{ inheritAttrs: false },
@@ -166,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
166
167
  onClick: vue.withModifiers(($event) => onClean(item), ["stop"])
167
168
  }, {
168
169
  default: vue.withCtx(() => [
169
- vue.createVNode(clear.default)
170
+ vue.createVNode(clear_vue_vue_type_script_setup_true_lang.default)
170
171
  ]),
171
172
  _: 1
172
173
  }, 8, ["class", "onClick"])) : vue.createCommentVNode("", true)
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, createBlock, createCommentVNode, withCtx, normalizeClass, createElementVNode, Fragment, renderList, withModifiers, toDisplayString, withKeys, createSlots, renderSlot, normalizeProps, guardReactiveProps, createTextVNode } from "vue";
2
2
  import { Icon } from "../../icon/index.js";
3
- import Clear from "../../../icons/vue/clear.js";
3
+ import "../../../icons/vue/clear.js";
4
4
  import { useExpose } from "../../../hooks/expose/index.js";
5
5
  import { Popover } from "../../popover/index.js";
6
6
  import { Button } from "../../button/index.js";
@@ -15,6 +15,7 @@ import "../../form/index.js";
15
15
  import { useDisabled } from "element-plus/es/components/form/index";
16
16
  import { replaceAfter } from "@fangzhongya/utils/basic/array/replaceAfter";
17
17
  import { deleteArray } from "@fangzhongya/utils/basic/array/deleteArray";
18
+ import _sfc_main$1 from "../../../icons/vue/clear2.js";
18
19
  const _hoisted_1 = ["onClick"];
19
20
  const _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  ...{ inheritAttrs: false },
@@ -164,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
164
165
  onClick: withModifiers(($event) => onClean(item), ["stop"])
165
166
  }, {
166
167
  default: withCtx(() => [
167
- createVNode(Clear)
168
+ createVNode(_sfc_main$1)
168
169
  ]),
169
170
  _: 1
170
171
  }, 8, ["class", "onClick"])) : createCommentVNode("", true)
@@ -2,8 +2,8 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index$6 = require("../../icon/index.cjs");
5
- const clear = require("../../../icons/vue/clear.cjs");
6
- const below = require("../../../icons/vue/below.cjs");
5
+ require("../../../icons/vue/clear.cjs");
6
+ require("../../../icons/vue/below.cjs");
7
7
  const data = require("./data.cjs");
8
8
  const index$5 = require("../../inputs/index.cjs");
9
9
  const index$4 = require("../../popover/index.cjs");
@@ -14,6 +14,8 @@ const getCss = require("@fangzhongya/utils/css/getCss");
14
14
  require("../../form/index.cjs");
15
15
  const index$2 = require("../../../hooks/props-default/index.cjs");
16
16
  const index$3 = require("element-plus/es/components/form/index");
17
+ const clear_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/clear2.cjs");
18
+ const below_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/below2.cjs");
17
19
  const _hoisted_1 = ["onClick"];
18
20
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
21
  ...{ inheritAttrs: false },
@@ -153,7 +155,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
153
155
  onClick: vue.withModifiers(onClear, ["stop"])
154
156
  }, {
155
157
  default: vue.withCtx(() => [
156
- vue.createVNode(clear.default)
158
+ vue.createVNode(clear_vue_vue_type_script_setup_true_lang.default)
157
159
  ]),
158
160
  _: 1
159
161
  }, 8, ["class"])) : vue.createCommentVNode("", true),
@@ -166,7 +168,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
166
168
  }, {
167
169
  default: vue.withCtx(() => [
168
170
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).iconSelect, {}, () => [
169
- vue.createVNode(below.default)
171
+ vue.createVNode(below_vue_vue_type_script_setup_true_lang.default)
170
172
  ])
171
173
  ]),
172
174
  _: 3
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useAttrs, useSlots, ref, computed, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, Fragment, renderList, withModifiers, toDisplayString, mergeProps, createVNode, createSlots, createCommentVNode, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { Icon } from "../../icon/index.js";
3
- import Clear from "../../../icons/vue/clear.js";
4
- import Below from "../../../icons/vue/below.js";
3
+ import "../../../icons/vue/clear.js";
4
+ import "../../../icons/vue/below.js";
5
5
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
6
6
  import { Inputs } from "../../inputs/index.js";
7
7
  import { Popover } from "../../popover/index.js";
@@ -12,6 +12,8 @@ import { getCss } from "@fangzhongya/utils/css/getCss";
12
12
  import "../../form/index.js";
13
13
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
14
14
  import { useDisabled } from "element-plus/es/components/form/index";
15
+ import _sfc_main$1 from "../../../icons/vue/clear2.js";
16
+ import _sfc_main$2 from "../../../icons/vue/below2.js";
15
17
  const _hoisted_1 = ["onClick"];
16
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
19
  ...{ inheritAttrs: false },
@@ -151,7 +153,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
151
153
  onClick: withModifiers(onClear, ["stop"])
152
154
  }, {
153
155
  default: withCtx(() => [
154
- createVNode(Clear)
156
+ createVNode(_sfc_main$1)
155
157
  ]),
156
158
  _: 1
157
159
  }, 8, ["class"])) : createCommentVNode("", true),
@@ -164,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
164
166
  }, {
165
167
  default: withCtx(() => [
166
168
  renderSlot(_ctx.$slots, unref(dataSlot).iconSelect, {}, () => [
167
- createVNode(Below)
169
+ createVNode(_sfc_main$2)
168
170
  ])
169
171
  ]),
170
172
  _: 3
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
- import { comHandle } from '../../common/list';
2
+ import { comHandle, Options } from '../../common/list';
3
3
  /**
4
4
  * @title {h3} labels
5
5
  */
@@ -29,10 +29,10 @@ export declare const dataProps: {
29
29
  };
30
30
  options: {
31
31
  type: {
32
- (arrayLength: number): (string | number | boolean | ObjAny)[];
33
- (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
34
- new (arrayLength: number): (string | number | boolean | ObjAny)[];
35
- new (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
32
+ (arrayLength: number): Options[];
33
+ (...items: Options[]): Options[];
34
+ new (arrayLength: number): Options[];
35
+ new (...items: Options[]): Options[];
36
36
  isArray(arg: any): arg is any[];
37
37
  readonly prototype: any[];
38
38
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -1,8 +1,15 @@
1
- import { SFCInstallWithContext } from 'element-plus/es/utils';
2
- import { Message } from 'element-plus/es/components';
3
- import { Plugin } from 'vue';
1
+ import { MessageFn, MessageTypedFn } from 'packages';
2
+ import { ObjectPlugin, AppContext, Plugin } from 'vue';
4
3
  export * from './src/export';
5
- declare const Message: SFCInstallWithContext<Message> & {
4
+ declare const Message: MessageFn & {
5
+ primary: MessageTypedFn;
6
+ success: MessageTypedFn;
7
+ warning: MessageTypedFn;
8
+ info: MessageTypedFn;
9
+ error: MessageTypedFn;
10
+ } & ObjectPlugin & {
11
+ _context: AppContext | null;
12
+ } & {
6
13
  install: Plugin["install"];
7
14
  };
8
15
  export { Message };
@@ -1,6 +1,13 @@
1
- import { SFCInstallWithContext } from 'element-plus/es/utils';
2
- import { Message } from 'element-plus/es/components';
3
- import { Plugin } from 'vue';
4
- export declare function withInstall<T>(fun: T, name: string): SFCInstallWithContext<Message> & {
1
+ import { MessageFn, MessageTypedFn } from 'packages';
2
+ import { ObjectPlugin, AppContext, Plugin } from 'vue';
3
+ export declare function withInstall<T>(fun: T, name: string): MessageFn & {
4
+ primary: MessageTypedFn;
5
+ success: MessageTypedFn;
6
+ warning: MessageTypedFn;
7
+ info: MessageTypedFn;
8
+ error: MessageTypedFn;
9
+ } & ObjectPlugin & {
10
+ _context: AppContext | null;
11
+ } & {
5
12
  install: Plugin["install"];
6
13
  };
@@ -1,8 +1,7 @@
1
- import { SFCWithInstall } from 'element-plus/es/utils';
2
1
  import { IElMessageBox } from 'packages';
3
- import { AppContext } from 'vue';
2
+ import { ObjectPlugin, AppContext } from 'vue';
4
3
  export * from './src/export';
5
- declare const MessageBox: SFCWithInstall<IElMessageBox> & {
4
+ declare const MessageBox: IElMessageBox & ObjectPlugin & {
6
5
  install: Function;
7
6
  _context: AppContext | null;
8
7
  };
@@ -1,7 +1,6 @@
1
- import { AppContext } from 'vue';
2
- import { SFCWithInstall } from 'element-plus/es/utils';
1
+ import { AppContext, ObjectPlugin } from 'vue';
3
2
  import { IElMessageBox } from 'packages';
4
- export declare function withInstall<T>(fun: T, name: string): SFCWithInstall<IElMessageBox> & {
3
+ export declare function withInstall<T>(fun: T, name: string): IElMessageBox & ObjectPlugin & {
5
4
  install: Function;
6
5
  _context: AppContext | null;
7
6
  };
@@ -24,6 +24,9 @@
24
24
 
25
25
  .retract {
26
26
  position: relative;
27
+ --retract-width: 12px;
28
+ --retract-height: 40px;
29
+ --retract-width-adjust: 8px;
27
30
  }
28
31
  .retract-div.left, .retract-div.right {
29
32
  height: 100%;
@@ -53,13 +56,13 @@
53
56
  }
54
57
  .retract .retract-but.is-left {
55
58
  top: 50%;
56
- width: 20px;
57
- height: 50px;
58
- margin-top: -25px;
59
- left: -20px;
59
+ height: var(--retract-height);
60
+ margin-top: calc(var(--retract-height) / 2 * -1);
61
+ width: var(--retract-width);
62
+ left: calc(0 - var(--retract-width));
60
63
  }
61
64
  .retract .retract-but.is-left.is-adjust {
62
- left: -10px;
65
+ left: calc(var(--retract-width-adjust) - var(--retract-width));
63
66
  }
64
67
  .retract .retract-but.is-left .retract-icon {
65
68
  transform: rotate(0);
@@ -69,13 +72,13 @@
69
72
  }
70
73
  .retract .retract-but.is-right {
71
74
  top: 50%;
72
- width: 20px;
73
- height: 50px;
74
- margin-top: -25px;
75
- right: -20px;
75
+ height: var(--retract-height);
76
+ margin-top: calc(var(--retract-height) / 2 * -1);
77
+ width: var(--retract-width);
78
+ right: calc(0 - var(--retract-width));
76
79
  }
77
80
  .retract .retract-but.is-right.is-adjust {
78
- right: -10px;
81
+ right: calc(var(--retract-width-adjust) - var(--retract-width));
79
82
  }
80
83
  .retract .retract-but.is-right .retract-icon {
81
84
  transform: rotate(-180deg);
@@ -85,13 +88,13 @@
85
88
  }
86
89
  .retract .retract-but.is-top {
87
90
  left: 50%;
88
- width: 50px;
89
- height: 20px;
90
- margin-left: -25px;
91
- top: -20px;
91
+ width: var(--retract-height);
92
+ margin-left: calc(var(--retract-height) / 2 * -1);
93
+ height: var(--retract-width);
94
+ top: calc(0 - var(--retract-width));
92
95
  }
93
96
  .retract .retract-but.is-top.is-adjust {
94
- top: -10px;
97
+ top: calc(var(--retract-width-adjust) - var(--retract-width));
95
98
  }
96
99
  .retract .retract-but.is-top .retract-icon {
97
100
  transform: rotate(90deg);
@@ -101,13 +104,13 @@
101
104
  }
102
105
  .retract .retract-but.is-bottom {
103
106
  left: 50%;
104
- width: 50px;
105
- height: 20px;
106
- margin-left: -25px;
107
- bottom: -20px;
107
+ width: var(--retract-height);
108
+ margin-left: calc(var(--retract-height) / 2 * -1);
109
+ height: var(--retract-width);
110
+ bottom: calc(0 - var(--retract-width));
108
111
  }
109
112
  .retract .retract-but.is-bottom.is-adjust {
110
- bottom: -10px;
113
+ bottom: calc(var(--retract-width-adjust) - var(--retract-width));
111
114
  }
112
115
  .retract .retract-but.is-bottom .retract-icon {
113
116
  transform: rotate(-90deg);
@@ -3,6 +3,9 @@
3
3
  $retract: 'retract';
4
4
  @include b($retract) {
5
5
  position: relative;
6
+ #{vdm('width', $retract)}: 12px;
7
+ #{vdm('height', $retract)}: 40px;
8
+ #{vdm('width-adjust', $retract)}: 8px;
6
9
  &-div {
7
10
  &.left,
8
11
  &.right {
@@ -34,12 +37,16 @@ $retract: 'retract';
34
37
  }
35
38
  &.is-left {
36
39
  top: 50%;
37
- width: 20px;
38
- height: 50px;
39
- margin-top: -25px;
40
- left: -20px;
40
+ height: var(#{vdm('height', $retract)});
41
+ margin-top: calc(var(#{vdm('height', $retract)}) / 2 * -1);
42
+ width: var(#{vdm('width', $retract)});
43
+ left: calc(0 - var(#{vdm('width', $retract)}));
41
44
  &.#{is('adjust')} {
42
- left: -10px;
45
+ left: calc(
46
+ var(#{vdm('width-adjust', $retract)}) - var(
47
+ #{vdm('width', $retract)}
48
+ )
49
+ );
43
50
  }
44
51
  .#{$retract}-icon {
45
52
  transform: rotate(0);
@@ -50,12 +57,16 @@ $retract: 'retract';
50
57
  }
51
58
  &.is-right {
52
59
  top: 50%;
53
- width: 20px;
54
- height: 50px;
55
- margin-top: -25px;
56
- right: -20px;
60
+ height: var(#{vdm('height', $retract)});
61
+ margin-top: calc(var(#{vdm('height', $retract)}) / 2 * -1);
62
+ width: var(#{vdm('width', $retract)});
63
+ right: calc(0 - var(#{vdm('width', $retract)}));
57
64
  &.#{is('adjust')} {
58
- right: -10px;
65
+ right: calc(
66
+ var(#{vdm('width-adjust', $retract)}) - var(
67
+ #{vdm('width', $retract)}
68
+ )
69
+ );
59
70
  }
60
71
  .#{$retract}-icon {
61
72
  transform: rotate(-180deg);
@@ -66,12 +77,16 @@ $retract: 'retract';
66
77
  }
67
78
  &.is-top {
68
79
  left: 50%;
69
- width: 50px;
70
- height: 20px;
71
- margin-left: -25px;
72
- top: -20px;
80
+ width: var(#{vdm('height', $retract)});
81
+ margin-left: calc(var(#{vdm('height', $retract)}) / 2 * -1);
82
+ height: var(#{vdm('width', $retract)});
83
+ top: calc(0 - var(#{vdm('width', $retract)}));
73
84
  &.#{is('adjust')} {
74
- top: -10px;
85
+ top: calc(
86
+ var(#{vdm('width-adjust', $retract)}) - var(
87
+ #{vdm('width', $retract)}
88
+ )
89
+ );
75
90
  }
76
91
  .#{$retract}-icon {
77
92
  transform: rotate(90deg);
@@ -82,12 +97,16 @@ $retract: 'retract';
82
97
  }
83
98
  &.is-bottom {
84
99
  left: 50%;
85
- width: 50px;
86
- height: 20px;
87
- margin-left: -25px;
88
- bottom: -20px;
100
+ width: var(#{vdm('height', $retract)});
101
+ margin-left: calc(var(#{vdm('height', $retract)}) / 2 * -1);
102
+ height: var(#{vdm('width', $retract)});
103
+ bottom: calc(0 - var(#{vdm('width', $retract)}));
89
104
  &.#{is('adjust')} {
90
- bottom: -10px;
105
+ bottom: calc(
106
+ var(#{vdm('width-adjust', $retract)}) - var(
107
+ #{vdm('width', $retract)}
108
+ )
109
+ );
91
110
  }
92
111
  .#{$retract}-icon {
93
112
  transform: rotate(-90deg);
@@ -20,9 +20,12 @@ const dataProps = buildProps.buildProps({
20
20
  },
21
21
  isAdjust: {
22
22
  type: Boolean
23
+ },
24
+ modelValue: {
25
+ type: Boolean
23
26
  }
24
27
  });
25
- const dataEmits = {};
28
+ const dataEmits = ["update:modelValue"];
26
29
  const dataSlot = {
27
30
  default: "default",
28
31
  icon: "icon"
@@ -23,11 +23,14 @@ export declare const dataProps: {
23
23
  isAdjust: {
24
24
  type: BooleanConstructor;
25
25
  };
26
+ modelValue: {
27
+ type: BooleanConstructor;
28
+ };
26
29
  };
27
30
  export type DataProps = ExtractPropTypes<typeof dataProps>;
28
31
  /**
29
32
  */
30
- export declare const dataEmits: {};
33
+ export declare const dataEmits: string[];
31
34
  export type DataEmits = typeof dataEmits;
32
35
  /**
33
36
  * @slot default 默认插槽
@@ -18,9 +18,12 @@ const dataProps = buildProps({
18
18
  },
19
19
  isAdjust: {
20
20
  type: Boolean
21
+ },
22
+ modelValue: {
23
+ type: Boolean
21
24
  }
22
25
  });
23
- const dataEmits = {};
26
+ const dataEmits = ["update:modelValue"];
24
27
  const dataSlot = {
25
28
  default: "default",
26
29
  icon: "icon"