@fangzhongya/fang-ui 0.1.55 → 0.1.56

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 (232) 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/src/index2.cjs +3 -2
  20. package/dist/components/edit/src/index2.js +3 -2
  21. package/dist/components/edit-data/src/area/array-json2.cjs +8 -4
  22. package/dist/components/edit-data/src/area/array-json2.js +8 -4
  23. package/dist/components/edit-data/src/area/array2.cjs +46 -8
  24. package/dist/components/edit-data/src/area/array2.js +47 -9
  25. package/dist/components/edit-data/src/area/editor2.cjs +22 -4
  26. package/dist/components/edit-data/src/area/editor2.js +22 -4
  27. package/dist/components/edit-data/src/area/general2.cjs +8 -1
  28. package/dist/components/edit-data/src/area/general2.js +8 -1
  29. package/dist/components/edit-data/src/area/object-json2.cjs +5 -1
  30. package/dist/components/edit-data/src/area/object-json2.js +5 -1
  31. package/dist/components/edit-data/src/area/object2.cjs +48 -11
  32. package/dist/components/edit-data/src/area/object2.js +49 -12
  33. package/dist/components/edit-data/src/data/array2.cjs +9 -5
  34. package/dist/components/edit-data/src/data/array2.js +9 -5
  35. package/dist/components/edit-data/src/data/bigint2.cjs +7 -3
  36. package/dist/components/edit-data/src/data/bigint2.js +7 -3
  37. package/dist/components/edit-data/src/data/boolean2.cjs +7 -3
  38. package/dist/components/edit-data/src/data/boolean2.js +7 -3
  39. package/dist/components/edit-data/src/data/date.cjs +4 -0
  40. package/dist/components/edit-data/src/data/date.js +4 -0
  41. package/dist/components/edit-data/src/data/date2.cjs +48 -0
  42. package/dist/components/edit-data/src/data/date2.js +48 -0
  43. package/dist/components/edit-data/src/data/function2.cjs +16 -7
  44. package/dist/components/edit-data/src/data/function2.js +17 -8
  45. package/dist/components/edit-data/src/data/null2.cjs +3 -1
  46. package/dist/components/edit-data/src/data/null2.js +4 -2
  47. package/dist/components/edit-data/src/data/number2.cjs +7 -3
  48. package/dist/components/edit-data/src/data/number2.js +7 -3
  49. package/dist/components/edit-data/src/data/object2.cjs +9 -5
  50. package/dist/components/edit-data/src/data/object2.js +9 -5
  51. package/dist/components/edit-data/src/data/other2.cjs +13 -5
  52. package/dist/components/edit-data/src/data/other2.js +14 -6
  53. package/dist/components/edit-data/src/data/string2.cjs +7 -3
  54. package/dist/components/edit-data/src/data/string2.js +7 -3
  55. package/dist/components/edit-data/src/data/symbol2.cjs +7 -3
  56. package/dist/components/edit-data/src/data/symbol2.js +7 -3
  57. package/dist/components/edit-data/src/data/undefined2.cjs +3 -1
  58. package/dist/components/edit-data/src/data/undefined2.js +4 -2
  59. package/dist/components/edit-data/src/data.cjs +10 -0
  60. package/dist/components/edit-data/src/data.d.ts +20 -0
  61. package/dist/components/edit-data/src/data.js +10 -0
  62. package/dist/components/edit-data/src/index2.cjs +31 -2
  63. package/dist/components/edit-data/src/index2.js +45 -16
  64. package/dist/components/edit-data-add/src/index2.cjs +2 -0
  65. package/dist/components/edit-data-add/src/index2.js +2 -0
  66. package/dist/components/edit-float/src/index2.cjs +3 -2
  67. package/dist/components/edit-float/src/index2.js +3 -2
  68. package/dist/components/history/src/index2.cjs +6 -4
  69. package/dist/components/history/src/index2.js +6 -4
  70. package/dist/components/input-array/src/index2.cjs +3 -2
  71. package/dist/components/input-array/src/index2.js +3 -2
  72. package/dist/components/input-history/src/index2.cjs +3 -2
  73. package/dist/components/input-history/src/index2.js +3 -2
  74. package/dist/components/input-select/src/index2.cjs +6 -4
  75. package/dist/components/input-select/src/index2.js +6 -4
  76. package/dist/components/labels/src/data.d.ts +5 -5
  77. package/dist/components/message/index.d.ts +11 -4
  78. package/dist/components/message/src/function.d.ts +11 -4
  79. package/dist/components/message-box/index.d.ts +2 -3
  80. package/dist/components/message-box/src/function.d.ts +2 -3
  81. package/dist/components/retract/index.css +23 -20
  82. package/dist/components/retract/index.scss +39 -20
  83. package/dist/components/retract/src/data.cjs +4 -1
  84. package/dist/components/retract/src/data.d.ts +4 -1
  85. package/dist/components/retract/src/data.js +4 -1
  86. package/dist/components/retract/src/index2.cjs +12 -10
  87. package/dist/components/retract/src/index2.js +9 -7
  88. package/dist/components/right-key/index.css +2 -1
  89. package/dist/components/right-key/index.scss +2 -1
  90. package/dist/components/right-key/src/data.cjs +7 -2
  91. package/dist/components/right-key/src/data.d.ts +5 -0
  92. package/dist/components/right-key/src/data.js +7 -2
  93. package/dist/components/right-key/src/index2.cjs +134 -60
  94. package/dist/components/right-key/src/index2.js +135 -61
  95. package/dist/components/selects/src/data.d.ts +5 -5
  96. package/dist/components/stick-window/src/index2.cjs +3 -2
  97. package/dist/components/stick-window/src/index2.js +3 -2
  98. package/dist/components/switchs/src/data.d.ts +5 -4
  99. package/dist/components/uploads/src/data.d.ts +5 -5
  100. package/dist/components/uploads/src/index2.cjs +26 -21
  101. package/dist/components/uploads/src/index2.js +15 -10
  102. package/dist/components/videos/src/index2.cjs +30 -19
  103. package/dist/components/videos/src/index2.js +30 -19
  104. package/dist/components/window/src/index2.cjs +9 -6
  105. package/dist/components/window/src/index2.js +9 -6
  106. package/dist/css/index.css +25 -21
  107. package/dist/css/retract.css +23 -20
  108. package/dist/css/right-key.css +2 -1
  109. package/dist/hooks/model/index.cjs +25 -0
  110. package/dist/hooks/model/index.d.ts +2 -0
  111. package/dist/hooks/model/index.js +25 -0
  112. package/dist/icons/index.json +1 -1
  113. package/dist/icons/vue/bar.cjs +2 -18
  114. package/dist/icons/vue/bar.js +1 -17
  115. package/dist/icons/vue/bar2.cjs +21 -2
  116. package/dist/icons/vue/bar2.js +21 -2
  117. package/dist/icons/vue/below.cjs +2 -18
  118. package/dist/icons/vue/below.js +1 -17
  119. package/dist/icons/vue/below2.cjs +21 -2
  120. package/dist/icons/vue/below2.js +21 -2
  121. package/dist/icons/vue/bicycle.cjs +2 -15
  122. package/dist/icons/vue/bicycle.js +1 -14
  123. package/dist/icons/vue/bicycle2.cjs +18 -2
  124. package/dist/icons/vue/bicycle2.js +18 -2
  125. package/dist/icons/vue/bottom-left.cjs +2 -22
  126. package/dist/icons/vue/bottom-left.js +1 -21
  127. package/dist/icons/vue/bottom-left2.cjs +25 -2
  128. package/dist/icons/vue/bottom-left2.js +25 -2
  129. package/dist/icons/vue/bottom-right.cjs +2 -22
  130. package/dist/icons/vue/bottom-right.js +1 -21
  131. package/dist/icons/vue/bottom-right2.cjs +25 -2
  132. package/dist/icons/vue/bottom-right2.js +25 -2
  133. package/dist/icons/vue/bottom.cjs +2 -18
  134. package/dist/icons/vue/bottom.js +1 -17
  135. package/dist/icons/vue/bottom2.cjs +21 -2
  136. package/dist/icons/vue/bottom2.js +21 -2
  137. package/dist/icons/vue/catalogue.cjs +2 -23
  138. package/dist/icons/vue/catalogue.js +1 -22
  139. package/dist/icons/vue/catalogue2.cjs +26 -2
  140. package/dist/icons/vue/catalogue2.js +26 -2
  141. package/dist/icons/vue/clear.cjs +2 -23
  142. package/dist/icons/vue/clear.js +1 -22
  143. package/dist/icons/vue/clear2.cjs +26 -2
  144. package/dist/icons/vue/clear2.js +26 -2
  145. package/dist/icons/vue/close.cjs +2 -18
  146. package/dist/icons/vue/close.js +1 -17
  147. package/dist/icons/vue/close2.cjs +21 -2
  148. package/dist/icons/vue/close2.js +21 -2
  149. package/dist/icons/vue/delete.cjs +2 -18
  150. package/dist/icons/vue/delete.js +1 -17
  151. package/dist/icons/vue/delete2.cjs +21 -2
  152. package/dist/icons/vue/delete2.js +21 -2
  153. package/dist/icons/vue/document.cjs +2 -23
  154. package/dist/icons/vue/document.js +1 -22
  155. package/dist/icons/vue/document2.cjs +26 -2
  156. package/dist/icons/vue/document2.js +26 -2
  157. package/dist/icons/vue/down.cjs +2 -18
  158. package/dist/icons/vue/down.js +1 -17
  159. package/dist/icons/vue/down2.cjs +21 -2
  160. package/dist/icons/vue/down2.js +21 -2
  161. package/dist/icons/vue/download.cjs +2 -18
  162. package/dist/icons/vue/download.js +1 -17
  163. package/dist/icons/vue/download2.cjs +21 -2
  164. package/dist/icons/vue/download2.js +21 -2
  165. package/dist/icons/vue/edit.cjs +2 -23
  166. package/dist/icons/vue/edit.js +1 -22
  167. package/dist/icons/vue/edit2.cjs +26 -2
  168. package/dist/icons/vue/edit2.js +26 -2
  169. package/dist/icons/vue/enter.cjs +2 -19
  170. package/dist/icons/vue/enter.js +1 -18
  171. package/dist/icons/vue/enter2.cjs +22 -2
  172. package/dist/icons/vue/enter2.js +22 -2
  173. package/dist/icons/vue/frame.cjs +2 -15
  174. package/dist/icons/vue/frame.js +1 -14
  175. package/dist/icons/vue/frame2.cjs +18 -2
  176. package/dist/icons/vue/frame2.js +18 -2
  177. package/dist/icons/vue/index.cjs +81 -54
  178. package/dist/icons/vue/index.js +54 -27
  179. package/dist/icons/vue/left.cjs +2 -18
  180. package/dist/icons/vue/left.js +1 -17
  181. package/dist/icons/vue/left2.cjs +21 -2
  182. package/dist/icons/vue/left2.js +21 -2
  183. package/dist/icons/vue/mute.cjs +2 -18
  184. package/dist/icons/vue/mute.js +1 -17
  185. package/dist/icons/vue/mute2.cjs +21 -2
  186. package/dist/icons/vue/mute2.js +21 -2
  187. package/dist/icons/vue/pause.cjs +2 -24
  188. package/dist/icons/vue/pause.js +1 -23
  189. package/dist/icons/vue/pause2.cjs +27 -2
  190. package/dist/icons/vue/pause2.js +27 -2
  191. package/dist/icons/vue/play.cjs +2 -19
  192. package/dist/icons/vue/play.js +1 -18
  193. package/dist/icons/vue/play2.cjs +22 -2
  194. package/dist/icons/vue/play2.js +22 -2
  195. package/dist/icons/vue/plus.cjs +2 -18
  196. package/dist/icons/vue/plus.js +1 -17
  197. package/dist/icons/vue/plus2.cjs +21 -2
  198. package/dist/icons/vue/plus2.js +21 -2
  199. package/dist/icons/vue/retreat.cjs +2 -19
  200. package/dist/icons/vue/retreat.js +1 -18
  201. package/dist/icons/vue/retreat2.cjs +22 -2
  202. package/dist/icons/vue/retreat2.js +22 -2
  203. package/dist/icons/vue/right.cjs +2 -18
  204. package/dist/icons/vue/right.js +1 -17
  205. package/dist/icons/vue/right2.cjs +21 -2
  206. package/dist/icons/vue/right2.js +21 -2
  207. package/dist/icons/vue/sound.cjs +2 -22
  208. package/dist/icons/vue/sound.js +1 -21
  209. package/dist/icons/vue/sound2.cjs +25 -2
  210. package/dist/icons/vue/sound2.js +25 -2
  211. package/dist/icons/vue/star.cjs +2 -22
  212. package/dist/icons/vue/star.js +1 -21
  213. package/dist/icons/vue/star2.cjs +25 -2
  214. package/dist/icons/vue/star2.js +25 -2
  215. package/dist/icons/vue/up.cjs +2 -18
  216. package/dist/icons/vue/up.js +1 -17
  217. package/dist/icons/vue/up2.cjs +21 -2
  218. package/dist/icons/vue/up2.js +21 -2
  219. package/dist/icons/vue/views.cjs +2 -18
  220. package/dist/icons/vue/views.js +1 -17
  221. package/dist/icons/vue/views2.cjs +21 -2
  222. package/dist/icons/vue/views2.js +21 -2
  223. package/dist/index.css +25 -21
  224. package/dist/utils/vues/index.d.ts +1 -0
  225. package/dist/utils/vues/shared.cjs +19 -0
  226. package/dist/utils/vues/shared.d.ts +5 -0
  227. package/dist/utils/vues/shared.js +19 -0
  228. package/package.json +12 -13
  229. package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -10
  230. package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
  231. /package/dist/components/{box-fun → box}/index.css +0 -0
  232. /package/dist/css/{box-fun.css → box.css} +0 -0
@@ -3,18 +3,24 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const index$3 = require("../../sliders/index.cjs");
5
5
  const index$4 = require("../../button/index.cjs");
6
- const up = require("../../../icons/vue/up.cjs");
7
- const down = require("../../../icons/vue/down.cjs");
8
- const play = require("../../../icons/vue/play.cjs");
9
- const pause = require("../../../icons/vue/pause.cjs");
10
- const sound = require("../../../icons/vue/sound.cjs");
11
- const mute = require("../../../icons/vue/mute.cjs");
6
+ require("../../../icons/vue/up.cjs");
7
+ require("../../../icons/vue/down.cjs");
8
+ require("../../../icons/vue/play.cjs");
9
+ require("../../../icons/vue/pause.cjs");
10
+ require("../../../icons/vue/sound.cjs");
11
+ require("../../../icons/vue/mute.cjs");
12
12
  const hourFormat = require("@fangzhongya/utils/date/hourFormat");
13
13
  const data = require("./data.cjs");
14
14
  const index$1 = require("../../../hooks/cssname/index.cjs");
15
15
  const index = require("../../../hooks/locale/index.cjs");
16
16
  const util = require("../../players/common/util.cjs");
17
17
  const index$2 = require("../../../hooks/props-default/index.cjs");
18
+ const up_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/up2.cjs");
19
+ const pause_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/pause2.cjs");
20
+ const play_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/play2.cjs");
21
+ const down_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/down2.cjs");
22
+ const mute_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/mute2.cjs");
23
+ const sound_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/sound2.cjs");
18
24
  const _hoisted_1 = ["onClick"];
19
25
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
20
26
  __name: "index",
@@ -181,19 +187,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
181
187
  }, [
182
188
  vue.createVNode(vue.unref(index$4.Button), {
183
189
  size: "small",
184
- icon: up.default,
190
+ icon: up_vue_vue_type_script_setup_true_lang.default,
185
191
  disabled: current.value == 0,
186
192
  circle: "",
187
193
  onClick: _cache[1] || (_cache[1] = ($event) => onTrack(true))
188
194
  }, null, 8, ["disabled"]),
189
195
  vue.createVNode(vue.unref(index$4.Button), {
190
- icon: isPlaying.value ? pause.default : play.default,
196
+ icon: isPlaying.value ? pause_vue_vue_type_script_setup_true_lang.default : play_vue_vue_type_script_setup_true_lang.default,
191
197
  circle: "",
192
198
  onClick: togglePlay
193
199
  }, null, 8, ["icon"]),
194
200
  vue.createVNode(vue.unref(index$4.Button), {
195
201
  size: "small",
196
- icon: down.default,
202
+ icon: down_vue_vue_type_script_setup_true_lang.default,
197
203
  circle: "",
198
204
  disabled: current.value + 1 == list.value.length,
199
205
  onClick: _cache[2] || (_cache[2] = ($event) => onTrack(false))
@@ -204,7 +210,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
204
210
  }, [
205
211
  vue.createVNode(vue.unref(index$4.Button), {
206
212
  class: vue.normalizeClass(vue.unref(cs).z("control-volume-but")),
207
- icon: isMuted.value ? mute.default : sound.default,
213
+ icon: isMuted.value ? mute_vue_vue_type_script_setup_true_lang.default : sound_vue_vue_type_script_setup_true_lang.default,
208
214
  circle: "",
209
215
  onClick: toggleMute,
210
216
  size: "small"
@@ -1,18 +1,24 @@
1
1
  import { defineComponent, ref, computed, nextTick, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, toDisplayString, createVNode, Fragment, renderList } from "vue";
2
2
  import { Sliders } from "../../sliders/index.js";
3
3
  import { Button } from "../../button/index.js";
4
- import Up from "../../../icons/vue/up.js";
5
- import Down from "../../../icons/vue/down.js";
6
- import Play from "../../../icons/vue/play.js";
7
- import Pause from "../../../icons/vue/pause.js";
8
- import Sound from "../../../icons/vue/sound.js";
9
- import Mute from "../../../icons/vue/mute.js";
4
+ import "../../../icons/vue/up.js";
5
+ import "../../../icons/vue/down.js";
6
+ import "../../../icons/vue/play.js";
7
+ import "../../../icons/vue/pause.js";
8
+ import "../../../icons/vue/sound.js";
9
+ import "../../../icons/vue/mute.js";
10
10
  import { hourFormat } from "@fangzhongya/utils/date/hourFormat";
11
11
  import { name, dataProps, dataExpose, dataEmits } from "./data.js";
12
12
  import { useCssName } from "../../../hooks/cssname/index.js";
13
13
  import { useLocale } from "../../../hooks/locale/index.js";
14
14
  import { getListValue } from "../../players/common/util.js";
15
15
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
16
+ import _sfc_main$1 from "../../../icons/vue/up2.js";
17
+ import _sfc_main$2 from "../../../icons/vue/pause2.js";
18
+ import _sfc_main$3 from "../../../icons/vue/play2.js";
19
+ import _sfc_main$4 from "../../../icons/vue/down2.js";
20
+ import _sfc_main$5 from "../../../icons/vue/mute2.js";
21
+ import _sfc_main$6 from "../../../icons/vue/sound2.js";
16
22
  const _hoisted_1 = ["onClick"];
17
23
  const _sfc_main = /* @__PURE__ */ defineComponent({
18
24
  __name: "index",
@@ -179,19 +185,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
179
185
  }, [
180
186
  createVNode(unref(Button), {
181
187
  size: "small",
182
- icon: Up,
188
+ icon: _sfc_main$1,
183
189
  disabled: current.value == 0,
184
190
  circle: "",
185
191
  onClick: _cache[1] || (_cache[1] = ($event) => onTrack(true))
186
192
  }, null, 8, ["disabled"]),
187
193
  createVNode(unref(Button), {
188
- icon: isPlaying.value ? Pause : Play,
194
+ icon: isPlaying.value ? _sfc_main$2 : _sfc_main$3,
189
195
  circle: "",
190
196
  onClick: togglePlay
191
197
  }, null, 8, ["icon"]),
192
198
  createVNode(unref(Button), {
193
199
  size: "small",
194
- icon: Down,
200
+ icon: _sfc_main$4,
195
201
  circle: "",
196
202
  disabled: current.value + 1 == list.value.length,
197
203
  onClick: _cache[2] || (_cache[2] = ($event) => onTrack(false))
@@ -202,7 +208,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
202
208
  }, [
203
209
  createVNode(unref(Button), {
204
210
  class: normalizeClass(unref(cs).z("control-volume-but")),
205
- icon: isMuted.value ? Mute : Sound,
211
+ icon: isMuted.value ? _sfc_main$5 : _sfc_main$6,
206
212
  circle: "",
207
213
  onClick: toggleMute,
208
214
  size: "small"
@@ -5,8 +5,8 @@ const index$6 = require("../../icon/index.cjs");
5
5
  const data = require("./data.cjs");
6
6
  const index$1 = require("../../../hooks/cssname/index.cjs");
7
7
  const index = require("../../../hooks/locale/index.cjs");
8
- const frame = require("../../../icons/vue/frame.cjs");
9
- const star = require("../../../icons/vue/star.cjs");
8
+ require("../../../icons/vue/frame.cjs");
9
+ require("../../../icons/vue/star.cjs");
10
10
  const index$5 = require("../../box-title/index.cjs");
11
11
  const index$4 = require("../../box-mask/index.cjs");
12
12
  const index$3 = require("../../box-teleport/index.cjs");
@@ -14,6 +14,8 @@ const index$8 = require("../../../directives/adjust/index.cjs");
14
14
  const index$7 = require("../../../directives/drag/index.cjs");
15
15
  const data$1 = require("../../box-title/src/data.cjs");
16
16
  const index$2 = require("../../../hooks/props-default/index.cjs");
17
+ const star_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/star2.cjs");
18
+ const frame_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/frame2.cjs");
17
19
  const _hoisted_1 = ["title"];
18
20
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
21
  __name: "index",
@@ -85,9 +87,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
85
87
  vue.createVNode(vue.unref(index$6.Icon), null, {
86
88
  default: vue.withCtx(() => [
87
89
  maxvalue.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
88
- vue.createVNode(star.default)
90
+ vue.createVNode(star_vue_vue_type_script_setup_true_lang.default)
89
91
  ]) : vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
90
- vue.createVNode(frame.default)
92
+ vue.createVNode(frame_vue_vue_type_script_setup_true_lang.default)
91
93
  ])
92
94
  ]),
93
95
  _: 3
@@ -3,8 +3,8 @@ import { Icon } from "../../icon/index.js";
3
3
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
4
4
  import { useCssName } from "../../../hooks/cssname/index.js";
5
5
  import { useLocale } from "../../../hooks/locale/index.js";
6
- import Frame from "../../../icons/vue/frame.js";
7
- import Star from "../../../icons/vue/star.js";
6
+ import "../../../icons/vue/frame.js";
7
+ import "../../../icons/vue/star.js";
8
8
  import { BoxTitle } from "../../box-title/index.js";
9
9
  import { BoxMask } from "../../box-mask/index.js";
10
10
  import { BoxTeleport } from "../../box-teleport/index.js";
@@ -12,6 +12,8 @@ import vAdjust from "../../../directives/adjust/index.js";
12
12
  import vDrag from "../../../directives/drag/index.js";
13
13
  import { name as name$1 } from "../../box-title/src/data.js";
14
14
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
15
+ import _sfc_main$1 from "../../../icons/vue/star2.js";
16
+ import _sfc_main$2 from "../../../icons/vue/frame2.js";
15
17
  const _hoisted_1 = ["title"];
16
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
19
  __name: "index",
@@ -83,9 +85,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
83
85
  createVNode(unref(Icon), null, {
84
86
  default: withCtx(() => [
85
87
  maxvalue.value ? renderSlot(_ctx.$slots, unref(dataSlot)["icon-full"], { key: 0 }, () => [
86
- createVNode(Star)
88
+ createVNode(_sfc_main$1)
87
89
  ]) : renderSlot(_ctx.$slots, unref(dataSlot)["icon-max"], { key: 1 }, () => [
88
- createVNode(Frame)
90
+ createVNode(_sfc_main$2)
89
91
  ])
90
92
  ]),
91
93
  _: 3
@@ -3,10 +3,11 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$3 = require("../../icon/index.cjs");
6
- const close = require("../../../icons/vue/close.cjs");
6
+ require("../../../icons/vue/close.cjs");
7
7
  const index$1 = require("../../../hooks/cssname/index.cjs");
8
8
  const index = require("../../../hooks/locale/index.cjs");
9
9
  const index$2 = require("../../../hooks/props-default/index.cjs");
10
+ const close_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/close2.cjs");
10
11
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
12
  __name: "index",
12
13
  props: index$2.getProps(data.dataProps),
@@ -40,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
40
41
  title: vue.unref(getLocale)("close")
41
42
  }, {
42
43
  default: vue.withCtx(() => [
43
- vue.createVNode(close.default)
44
+ vue.createVNode(close_vue_vue_type_script_setup_true_lang.default)
44
45
  ]),
45
46
  _: 1
46
47
  }, 8, ["class", "title"])
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx } from "vue";
2
2
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
3
3
  import { Icon } from "../../icon/index.js";
4
- import Close from "../../../icons/vue/close.js";
4
+ import "../../../icons/vue/close.js";
5
5
  import { useCssName } from "../../../hooks/cssname/index.js";
6
6
  import { useLocale } from "../../../hooks/locale/index.js";
7
7
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
8
+ import _sfc_main$1 from "../../../icons/vue/close2.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "index",
10
11
  props: getProps(dataProps),
@@ -38,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
39
  title: unref(getLocale)("close")
39
40
  }, {
40
41
  default: withCtx(() => [
41
- createVNode(Close)
42
+ createVNode(_sfc_main$1)
42
43
  ]),
43
44
  _: 1
44
45
  }, 8, ["class", "title"])
@@ -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} buttons
5
5
  */
@@ -16,10 +16,10 @@ export declare const dataProps: {
16
16
  };
17
17
  options: {
18
18
  type: {
19
- (arrayLength: number): (string | number | boolean | ObjAny)[];
20
- (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
21
- new (arrayLength: number): (string | number | boolean | ObjAny)[];
22
- new (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
19
+ (arrayLength: number): Options[];
20
+ (...items: Options[]): Options[];
21
+ new (arrayLength: number): Options[];
22
+ new (...items: Options[]): Options[];
23
23
  isArray(arg: any): arg is any[];
24
24
  readonly prototype: any[];
25
25
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -44,9 +44,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
44
  return (_ctx, _cache) => {
45
45
  return vue.unref(props).isFather ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(valueOptions.value, (item, index2) => {
46
46
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
47
- !item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Button), vue.mergeProps({
47
+ !(item == null ? void 0 : item.hide) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Button), vue.mergeProps({
48
48
  key: 0,
49
- class: [vue.unref(cs).z("li"), item.class]
49
+ class: [vue.unref(cs).z("li"), item == null ? void 0 : item.class]
50
50
  }, { ref_for: true }, item, {
51
51
  onClick: ($event) => onClick(item, index2, $event),
52
52
  disabled: vue.unref(props).disabled || item.disabled
@@ -42,9 +42,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  return (_ctx, _cache) => {
43
43
  return unref(props).isFather ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(valueOptions.value, (item, index) => {
44
44
  return openBlock(), createElementBlock(Fragment, { key: index }, [
45
- !item.hide ? (openBlock(), createBlock(unref(Button), mergeProps({
45
+ !(item == null ? void 0 : item.hide) ? (openBlock(), createBlock(unref(Button), mergeProps({
46
46
  key: 0,
47
- class: [unref(cs).z("li"), item.class]
47
+ class: [unref(cs).z("li"), item == null ? void 0 : item.class]
48
48
  }, { ref_for: true }, item, {
49
49
  onClick: ($event) => onClick(item, index, $event),
50
50
  disabled: unref(props).disabled || item.disabled
@@ -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} cascaders
5
5
  */
@@ -26,10 +26,10 @@ export declare const dataProps: {
26
26
  };
27
27
  options: {
28
28
  type: {
29
- (arrayLength: number): (string | number | boolean | ObjAny)[];
30
- (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
31
- new (arrayLength: number): (string | number | boolean | ObjAny)[];
32
- new (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
29
+ (arrayLength: number): Options[];
30
+ (...items: Options[]): Options[];
31
+ new (arrayLength: number): Options[];
32
+ new (...items: Options[]): Options[];
33
33
  isArray(arg: any): arg is any[];
34
34
  readonly prototype: any[];
35
35
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -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} checks
5
5
  */
@@ -14,10 +14,10 @@ export declare const dataProps: {
14
14
  };
15
15
  options: {
16
16
  type: {
17
- (arrayLength: number): (string | number | boolean | ObjAny)[];
18
- (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
19
- new (arrayLength: number): (string | number | boolean | ObjAny)[];
20
- new (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
17
+ (arrayLength: number): Options[];
18
+ (...items: Options[]): Options[];
19
+ new (arrayLength: number): Options[];
20
+ new (...items: Options[]): Options[];
21
21
  isArray(arg: any): arg is any[];
22
22
  readonly prototype: any[];
23
23
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -1,5 +1,5 @@
1
1
  import { WritableComputedRef, Ref } from 'vue';
2
- type Options = ObjAny | string | number | boolean;
2
+ export type Options = ObjAny | string | number | boolean;
3
3
  /**
4
4
  * 列表数据,带单多选择的
5
5
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("vue");
4
- const shared = require("@vue/shared");
4
+ const shared = require("../../utils/vues/shared.cjs");
5
5
  const index = require("../../hooks/event-aliass/index.cjs");
6
6
  const util = require("../../utils/util.cjs");
7
7
  const isObject = require("@fangzhongya/utils/basic/object/isObject");
@@ -1,5 +1,5 @@
1
1
  import { isVNode, h, resolveComponent, computed, Fragment, render } from "vue";
2
- import { isHTMLTag, isSVGTag } from "@vue/shared";
2
+ import { isHTMLTag, isSVGTag } from "../../utils/vues/shared.js";
3
3
  import { getEventKey, eventAliass } from "../../hooks/event-aliass/index.js";
4
4
  import { getFathers, getChildrenData } from "../../utils/util.js";
5
5
  import { isObject } from "@fangzhongya/utils/basic/object/isObject";
@@ -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} dates
5
5
  */
@@ -19,10 +19,10 @@ export declare const dataProps: {
19
19
  };
20
20
  options: {
21
21
  type: {
22
- (arrayLength: number): (string | number | boolean | ObjAny)[];
23
- (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
24
- new (arrayLength: number): (string | number | boolean | ObjAny)[];
25
- new (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
22
+ (arrayLength: number): Options[];
23
+ (...items: Options[]): Options[];
24
+ new (arrayLength: number): Options[];
25
+ new (...items: Options[]): Options[];
26
26
  isArray(arg: any): arg is any[];
27
27
  readonly prototype: any[];
28
28
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  import { DateType } from './util';
3
- import { comHandle } from '../../common/list';
3
+ import { comHandle, Options } from '../../common/list';
4
4
  /**
5
5
  * @title {h3} dates2
6
6
  */
@@ -86,10 +86,10 @@ export declare const dataProps: {
86
86
  };
87
87
  options: {
88
88
  type: {
89
- (arrayLength: number): (string | number | boolean | ObjAny)[];
90
- (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
91
- new (arrayLength: number): (string | number | boolean | ObjAny)[];
92
- new (...items: (string | number | boolean | ObjAny)[]): (string | number | boolean | ObjAny)[];
89
+ (arrayLength: number): Options[];
90
+ (...items: Options[]): Options[];
91
+ new (arrayLength: number): Options[];
92
+ new (...items: Options[]): Options[];
93
93
  isArray(arg: any): arg is any[];
94
94
  readonly prototype: any[];
95
95
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -5,7 +5,7 @@ const isEqual = require("@fangzhongya/utils/basic/object/isEqual");
5
5
  const data = require("./data.cjs");
6
6
  const index$1 = require("../../../hooks/cssname/index.cjs");
7
7
  const index$6 = require("../../icon/index.cjs");
8
- const clear = require("../../../icons/vue/clear.cjs");
8
+ require("../../../icons/vue/clear.cjs");
9
9
  const index$4 = require("../../../hooks/compons/index.cjs");
10
10
  const index$2 = require("../../../hooks/props-default/index.cjs");
11
11
  const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
@@ -13,6 +13,7 @@ const index = require("../../../hooks/locale/index.cjs");
13
13
  const index$5 = require("../../message/index.cjs");
14
14
  require("../../form/index.cjs");
15
15
  const index$3 = require("element-plus/es/components/form/index");
16
+ const clear_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/clear2.cjs");
16
17
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
18
  __name: "index",
18
19
  props: index$2.getProps(data.dataProps),
@@ -335,7 +336,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
335
336
  }, [
336
337
  vue.createVNode(vue.unref(index$6.Icon), null, {
337
338
  default: vue.withCtx(() => [
338
- vue.createVNode(clear.default)
339
+ vue.createVNode(clear_vue_vue_type_script_setup_true_lang.default)
339
340
  ]),
340
341
  _: 1
341
342
  })
@@ -3,7 +3,7 @@ import { isEqual } from "@fangzhongya/utils/basic/object/isEqual";
3
3
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
4
4
  import { useCssName } from "../../../hooks/cssname/index.js";
5
5
  import { Icon } from "../../icon/index.js";
6
- import Clear from "../../../icons/vue/clear.js";
6
+ import "../../../icons/vue/clear.js";
7
7
  import { useComponsGet } from "../../../hooks/compons/index.js";
8
8
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
9
9
  import { lineToLargeHump } from "@fangzhongya/utils/name/lineToLargeHump";
@@ -11,6 +11,7 @@ import { useLocale } from "../../../hooks/locale/index.js";
11
11
  import { Message } from "../../message/index.js";
12
12
  import "../../form/index.js";
13
13
  import { useDisabled, useFormItem } from "element-plus/es/components/form/index";
14
+ import _sfc_main$1 from "../../../icons/vue/clear2.js";
14
15
  const _sfc_main = /* @__PURE__ */ defineComponent({
15
16
  __name: "index",
16
17
  props: getProps(dataProps),
@@ -333,7 +334,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
333
334
  }, [
334
335
  createVNode(unref(Icon), null, {
335
336
  default: withCtx(() => [
336
- createVNode(Clear)
337
+ createVNode(_sfc_main$1)
337
338
  ]),
338
339
  _: 1
339
340
  })
@@ -2,11 +2,12 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const index$3 = require("../../icon/index.cjs");
5
- const edit = require("../../../icons/vue/edit.cjs");
5
+ require("../../../icons/vue/edit.cjs");
6
6
  const data = require("./data.cjs");
7
7
  const index$2 = require("../../inputs/index.cjs");
8
8
  const index = require("../../../hooks/cssname/index.cjs");
9
9
  const index$1 = require("../../../hooks/props-default/index.cjs");
10
+ const edit_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/edit2.cjs");
10
11
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
12
  __name: "index",
12
13
  props: index$1.getProps(data.dataProps),
@@ -108,7 +109,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
108
109
  class: vue.normalizeClass(vue.unref(cs).z("icon"))
109
110
  }, {
110
111
  default: vue.withCtx(() => [
111
- vue.createVNode(edit.default)
112
+ vue.createVNode(edit_vue_vue_type_script_setup_true_lang.default)
112
113
  ]),
113
114
  _: 1
114
115
  }, 8, ["class"])) : vue.createCommentVNode("", true)
@@ -1,10 +1,11 @@
1
1
  import { defineComponent, ref, computed, onMounted, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, normalizeStyle, withModifiers, toDisplayString, withCtx, createVNode } from "vue";
2
2
  import { Icon } from "../../icon/index.js";
3
- import Edit from "../../../icons/vue/edit.js";
3
+ import "../../../icons/vue/edit.js";
4
4
  import { name, dataProps, dataExpose, dataEmits } from "./data.js";
5
5
  import { Inputs } from "../../inputs/index.js";
6
6
  import { useCssName } from "../../../hooks/cssname/index.js";
7
7
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
8
+ import _sfc_main$1 from "../../../icons/vue/edit2.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "index",
10
11
  props: getProps(dataProps),
@@ -106,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
107
  class: normalizeClass(unref(cs).z("icon"))
107
108
  }, {
108
109
  default: withCtx(() => [
109
- createVNode(Edit)
110
+ createVNode(_sfc_main$1)
110
111
  ]),
111
112
  _: 1
112
113
  }, 8, ["class"])) : createCommentVNode("", true)
@@ -52,11 +52,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
52
52
  }
53
53
  } else if (name2 == "j") {
54
54
  try {
55
- if (Array.isArray(value.value)) {
56
- const v = json5.stringify(value.value, null, 4);
57
- value.value = v;
58
- } else {
55
+ if (typeof value.value == "string") {
59
56
  value.value = value.value;
57
+ } else {
58
+ let o = value.value;
59
+ if (!props.isEmpty) {
60
+ o = o || [];
61
+ }
62
+ const v = json5.stringify(o, null, 4);
63
+ value.value = v;
60
64
  }
61
65
  return true;
62
66
  } catch (error) {
@@ -50,11 +50,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
50
  }
51
51
  } else if (name2 == "j") {
52
52
  try {
53
- if (Array.isArray(value.value)) {
54
- const v = json5.stringify(value.value, null, 4);
55
- value.value = v;
56
- } else {
53
+ if (typeof value.value == "string") {
57
54
  value.value = value.value;
55
+ } else {
56
+ let o = value.value;
57
+ if (!props.isEmpty) {
58
+ o = o || [];
59
+ }
60
+ const v = json5.stringify(o, null, 4);
61
+ value.value = v;
58
62
  }
59
63
  return true;
60
64
  } catch (error) {