@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
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const document = require("../../../icons/vue/document.cjs");
5
- const download$1 = require("../../../icons/vue/download.cjs");
6
- const plus = require("../../../icons/vue/plus.cjs");
7
- const views = require("../../../icons/vue/views.cjs");
8
- const _delete = require("../../../icons/vue/delete.cjs");
4
+ require("../../../icons/vue/document.cjs");
5
+ require("../../../icons/vue/download.cjs");
6
+ require("../../../icons/vue/plus.cjs");
7
+ require("../../../icons/vue/views.cjs");
8
+ require("../../../icons/vue/delete.cjs");
9
9
  const index$7 = require("../../icon/index.cjs");
10
10
  const index$b = require("../../upload/index.cjs");
11
11
  const index$5 = require("../../message/index.cjs");
@@ -24,6 +24,11 @@ const util = require("./util.cjs");
24
24
  require("../../form/index.cjs");
25
25
  const index$3 = require("../../../hooks/props-default/index.cjs");
26
26
  const index$4 = require("element-plus/es/components/form/index");
27
+ const download_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/download2.cjs");
28
+ const views_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/views2.cjs");
29
+ const delete_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/delete2.cjs");
30
+ const document_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/document2.cjs");
31
+ const plus_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/plus2.cjs");
27
32
  const _hoisted_1 = ["onMouseenter"];
28
33
  const _hoisted_2 = ["title"];
29
34
  const _hoisted_3 = ["onClick", "title"];
@@ -113,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
113
118
  }
114
119
  return !value.value;
115
120
  });
116
- const views$1 = vue.reactive({
121
+ const views = vue.reactive({
117
122
  show: false,
118
123
  value: void 0
119
124
  });
@@ -125,8 +130,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
125
130
  }
126
131
  };
127
132
  const onViews = (item, index2) => {
128
- views$1.value = item;
129
- views$1.show = true;
133
+ views.value = item;
134
+ views.show = true;
130
135
  emit("views", item, index2);
131
136
  };
132
137
  const onDelete = (item, index2) => {
@@ -264,7 +269,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
264
269
  }, [
265
270
  vue.createVNode(vue.unref(index$7.Icon), null, {
266
271
  default: vue.withCtx(() => [
267
- vue.createVNode(download$1.default)
272
+ vue.createVNode(download_vue_vue_type_script_setup_true_lang.default)
268
273
  ]),
269
274
  _: 1
270
275
  })
@@ -276,7 +281,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
276
281
  }, [
277
282
  vue.createVNode(vue.unref(index$7.Icon), null, {
278
283
  default: vue.withCtx(() => [
279
- vue.createVNode(views.default)
284
+ vue.createVNode(views_vue_vue_type_script_setup_true_lang.default)
280
285
  ]),
281
286
  _: 1
282
287
  })
@@ -289,7 +294,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
289
294
  }, [
290
295
  vue.createVNode(vue.unref(index$7.Icon), null, {
291
296
  default: vue.withCtx(() => [
292
- vue.createVNode(_delete.default)
297
+ vue.createVNode(delete_vue_vue_type_script_setup_true_lang.default)
293
298
  ]),
294
299
  _: 1
295
300
  })
@@ -324,7 +329,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
324
329
  vue.createElementVNode("span", {
325
330
  class: vue.normalizeClass(vue.unref(cs).z("list-li-value-document-bg"))
326
331
  }, [
327
- vue.createVNode(document.default)
332
+ vue.createVNode(document_vue_vue_type_script_setup_true_lang.default)
328
333
  ], 2),
329
334
  vue.createElementVNode("span", {
330
335
  class: vue.normalizeClass(vue.unref(cs).z("list-li-value-document-text"))
@@ -342,22 +347,22 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
342
347
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).views, {
343
348
  type: vue.unref(props).type,
344
349
  accept: accept.value,
345
- value: views$1.value,
346
- show: views$1.show,
347
- onClose: _cache[1] || (_cache[1] = ($event) => views$1.show = false)
350
+ value: views.value,
351
+ show: views.show,
352
+ onClose: _cache[1] || (_cache[1] = ($event) => views.show = false)
348
353
  }, () => [
349
354
  vue.createVNode(vue.unref(index$9.BoxAdjust), {
350
355
  isMax: "",
351
- modelValue: views$1.show,
352
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => views$1.show = $event)
356
+ modelValue: views.show,
357
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => views.show = $event)
353
358
  }, {
354
359
  default: vue.withCtx(() => {
355
360
  var _a, _b, _c;
356
361
  return [
357
362
  (vue.openBlock(), vue.createBlock(vue.unref(index$a.Iframe), {
358
- title: (_a = views$1.value) == null ? void 0 : _a.url,
359
- key: (_b = views$1.value) == null ? void 0 : _b.url,
360
- url: (_c = views$1.value) == null ? void 0 : _c.url
363
+ title: (_a = views.value) == null ? void 0 : _a.url,
364
+ key: (_b = views.value) == null ? void 0 : _b.url,
365
+ url: (_c = views.value) == null ? void 0 : _c.url
361
366
  }, null, 8, ["title", "url"]))
362
367
  ];
363
368
  }),
@@ -388,7 +393,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
388
393
  }, [
389
394
  vue.createVNode(vue.unref(index$7.Icon), null, {
390
395
  default: vue.withCtx(() => [
391
- !isloading.value ? (vue.openBlock(), vue.createBlock(plus.default, { key: 0 })) : vue.createCommentVNode("", true)
396
+ !isloading.value ? (vue.openBlock(), vue.createBlock(plus_vue_vue_type_script_setup_true_lang.default, { key: 0 })) : vue.createCommentVNode("", true)
392
397
  ]),
393
398
  _: 1
394
399
  })
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, ref, useAttrs, computed, watch, reactive, createElementBlock, openBlock, mergeProps, unref, createElementVNode, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, renderSlot, normalizeStyle, createVNode, withCtx, toDisplayString } from "vue";
2
- import Document from "../../../icons/vue/document.js";
3
- import Download from "../../../icons/vue/download.js";
4
- import Plus from "../../../icons/vue/plus.js";
5
- import IconViews from "../../../icons/vue/views.js";
6
- import Delete from "../../../icons/vue/delete.js";
2
+ import "../../../icons/vue/document.js";
3
+ import "../../../icons/vue/download.js";
4
+ import "../../../icons/vue/plus.js";
5
+ import "../../../icons/vue/views.js";
6
+ import "../../../icons/vue/delete.js";
7
7
  import { Icon } from "../../icon/index.js";
8
8
  import { Upload } from "../../upload/index.js";
9
9
  import { Message } from "../../message/index.js";
@@ -22,6 +22,11 @@ import { getType, getListType } from "./util.js";
22
22
  import "../../form/index.js";
23
23
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
24
24
  import { useDisabled } from "element-plus/es/components/form/index";
25
+ import _sfc_main$1 from "../../../icons/vue/download2.js";
26
+ import _sfc_main$2 from "../../../icons/vue/views2.js";
27
+ import _sfc_main$3 from "../../../icons/vue/delete2.js";
28
+ import _sfc_main$4 from "../../../icons/vue/document2.js";
29
+ import _sfc_main$5 from "../../../icons/vue/plus2.js";
25
30
  const _hoisted_1 = ["onMouseenter"];
26
31
  const _hoisted_2 = ["title"];
27
32
  const _hoisted_3 = ["onClick", "title"];
@@ -262,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
262
267
  }, [
263
268
  createVNode(unref(Icon), null, {
264
269
  default: withCtx(() => [
265
- createVNode(Download)
270
+ createVNode(_sfc_main$1)
266
271
  ]),
267
272
  _: 1
268
273
  })
@@ -274,7 +279,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
274
279
  }, [
275
280
  createVNode(unref(Icon), null, {
276
281
  default: withCtx(() => [
277
- createVNode(IconViews)
282
+ createVNode(_sfc_main$2)
278
283
  ]),
279
284
  _: 1
280
285
  })
@@ -287,7 +292,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
287
292
  }, [
288
293
  createVNode(unref(Icon), null, {
289
294
  default: withCtx(() => [
290
- createVNode(Delete)
295
+ createVNode(_sfc_main$3)
291
296
  ]),
292
297
  _: 1
293
298
  })
@@ -322,7 +327,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
322
327
  createElementVNode("span", {
323
328
  class: normalizeClass(unref(cs).z("list-li-value-document-bg"))
324
329
  }, [
325
- createVNode(Document)
330
+ createVNode(_sfc_main$4)
326
331
  ], 2),
327
332
  createElementVNode("span", {
328
333
  class: normalizeClass(unref(cs).z("list-li-value-document-text"))
@@ -386,7 +391,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
386
391
  }, [
387
392
  createVNode(unref(Icon), null, {
388
393
  default: withCtx(() => [
389
- !isloading.value ? (openBlock(), createBlock(Plus, { key: 0 })) : createCommentVNode("", true)
394
+ !isloading.value ? (openBlock(), createBlock(_sfc_main$5, { key: 0 })) : createCommentVNode("", true)
390
395
  ]),
391
396
  _: 1
392
397
  })
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const enter = require("../../../icons/vue/enter.cjs");
5
- const retreat = require("../../../icons/vue/retreat.cjs");
6
- const catalogue = require("../../../icons/vue/catalogue.cjs");
7
- const frame = require("../../../icons/vue/frame.cjs");
8
- const star = require("../../../icons/vue/star.cjs");
9
- const up = require("../../../icons/vue/up.cjs");
10
- const down = require("../../../icons/vue/down.cjs");
11
- const play = require("../../../icons/vue/play.cjs");
12
- const pause = require("../../../icons/vue/pause.cjs");
13
- const sound = require("../../../icons/vue/sound.cjs");
14
- const mute = require("../../../icons/vue/mute.cjs");
4
+ require("../../../icons/vue/enter.cjs");
5
+ require("../../../icons/vue/retreat.cjs");
6
+ require("../../../icons/vue/catalogue.cjs");
7
+ require("../../../icons/vue/frame.cjs");
8
+ require("../../../icons/vue/star.cjs");
9
+ require("../../../icons/vue/up.cjs");
10
+ require("../../../icons/vue/down.cjs");
11
+ require("../../../icons/vue/play.cjs");
12
+ require("../../../icons/vue/pause.cjs");
13
+ require("../../../icons/vue/sound.cjs");
14
+ require("../../../icons/vue/mute.cjs");
15
15
  const index$5 = require("../../sliders/index.cjs");
16
16
  const index$6 = require("../../button/index.cjs");
17
17
  const index$7 = require("../../selects/index.cjs");
@@ -24,6 +24,17 @@ const index$3 = require("../../../hooks/full-screen/index.cjs");
24
24
  const util = require("../../players/common/util.cjs");
25
25
  const index$2 = require("../../../hooks/props-default/index.cjs");
26
26
  const index$4 = require("element-plus/es/components/loading/index");
27
+ const up_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/up2.cjs");
28
+ const retreat_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/retreat2.cjs");
29
+ const pause_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/pause2.cjs");
30
+ const play_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/play2.cjs");
31
+ const enter_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/enter2.cjs");
32
+ const down_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/down2.cjs");
33
+ const mute_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/mute2.cjs");
34
+ const sound_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/sound2.cjs");
35
+ const catalogue_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/catalogue2.cjs");
36
+ const star_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/star2.cjs");
37
+ const frame_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/frame2.cjs");
27
38
  const _hoisted_1 = ["src"];
28
39
  const _hoisted_2 = { class: "end-content" };
29
40
  const _hoisted_3 = { class: "end-buttons" };
@@ -344,32 +355,32 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
344
355
  list.value.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.Button), {
345
356
  key: 0,
346
357
  size: "small",
347
- icon: up.default,
358
+ icon: up_vue_vue_type_script_setup_true_lang.default,
348
359
  disabled: current.value == 0,
349
360
  circle: "",
350
361
  onClick: _cache[2] || (_cache[2] = ($event) => onTrack(true))
351
362
  }, null, 8, ["disabled"])) : vue.createCommentVNode("", true),
352
363
  vue.createVNode(vue.unref(index$6.Button), {
353
364
  size: "small",
354
- icon: retreat.default,
365
+ icon: retreat_vue_vue_type_script_setup_true_lang.default,
355
366
  circle: "",
356
367
  onClick: _cache[3] || (_cache[3] = ($event) => onSkip(true))
357
368
  }),
358
369
  vue.createVNode(vue.unref(index$6.Button), {
359
- icon: isPlaying.value ? pause.default : play.default,
370
+ icon: isPlaying.value ? pause_vue_vue_type_script_setup_true_lang.default : play_vue_vue_type_script_setup_true_lang.default,
360
371
  circle: "",
361
372
  onClick: togglePlay
362
373
  }, null, 8, ["icon"]),
363
374
  vue.createVNode(vue.unref(index$6.Button), {
364
375
  size: "small",
365
- icon: enter.default,
376
+ icon: enter_vue_vue_type_script_setup_true_lang.default,
366
377
  circle: "",
367
378
  onClick: _cache[4] || (_cache[4] = ($event) => onSkip(false))
368
379
  }),
369
380
  list.value.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.Button), {
370
381
  key: 1,
371
382
  size: "small",
372
- icon: down.default,
383
+ icon: down_vue_vue_type_script_setup_true_lang.default,
373
384
  circle: "",
374
385
  disabled: current.value + 1 == list.value.length,
375
386
  onClick: _cache[5] || (_cache[5] = ($event) => onTrack(false))
@@ -380,7 +391,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
380
391
  }, [
381
392
  vue.createVNode(vue.unref(index$6.Button), {
382
393
  class: vue.normalizeClass(vue.unref(cs).z("control-volume-but")),
383
- icon: isMuted.value ? mute.default : sound.default,
394
+ icon: isMuted.value ? mute_vue_vue_type_script_setup_true_lang.default : sound_vue_vue_type_script_setup_true_lang.default,
384
395
  circle: "",
385
396
  onClick: toggleMute,
386
397
  size: "small"
@@ -407,13 +418,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
407
418
  list.value.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$6.Button), {
408
419
  key: 0,
409
420
  size: "small",
410
- icon: catalogue.default,
421
+ icon: catalogue_vue_vue_type_script_setup_true_lang.default,
411
422
  circle: "",
412
423
  onClick: onShowList
413
424
  })) : vue.createCommentVNode("", true),
414
425
  vue.createVNode(vue.unref(index$6.Button), {
415
426
  size: "small",
416
- icon: vue.unref(isFullscreen) ? star.default : frame.default,
427
+ icon: vue.unref(isFullscreen) ? star_vue_vue_type_script_setup_true_lang.default : frame_vue_vue_type_script_setup_true_lang.default,
417
428
  circle: "",
418
429
  onClick: onFullscreen
419
430
  }, null, 8, ["icon"])
@@ -1,15 +1,15 @@
1
1
  import { defineComponent, ref, computed, nextTick, onMounted, onUnmounted, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, withDirectives, createCommentVNode, toDisplayString, createVNode, createBlock, Fragment, renderList, vShow } from "vue";
2
- import Enter from "../../../icons/vue/enter.js";
3
- import Retreat from "../../../icons/vue/retreat.js";
4
- import Catalogue from "../../../icons/vue/catalogue.js";
5
- import Frame from "../../../icons/vue/frame.js";
6
- import Star from "../../../icons/vue/star.js";
7
- import Up from "../../../icons/vue/up.js";
8
- import Down from "../../../icons/vue/down.js";
9
- import Play from "../../../icons/vue/play.js";
10
- import Pause from "../../../icons/vue/pause.js";
11
- import Sound from "../../../icons/vue/sound.js";
12
- import Mute from "../../../icons/vue/mute.js";
2
+ import "../../../icons/vue/enter.js";
3
+ import "../../../icons/vue/retreat.js";
4
+ import "../../../icons/vue/catalogue.js";
5
+ import "../../../icons/vue/frame.js";
6
+ import "../../../icons/vue/star.js";
7
+ import "../../../icons/vue/up.js";
8
+ import "../../../icons/vue/down.js";
9
+ import "../../../icons/vue/play.js";
10
+ import "../../../icons/vue/pause.js";
11
+ import "../../../icons/vue/sound.js";
12
+ import "../../../icons/vue/mute.js";
13
13
  import { Sliders } from "../../sliders/index.js";
14
14
  import { Button } from "../../button/index.js";
15
15
  import { Selects } from "../../selects/index.js";
@@ -22,6 +22,17 @@ import { useFullscreen } from "../../../hooks/full-screen/index.js";
22
22
  import { getListValue } from "../../players/common/util.js";
23
23
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
24
24
  import { vLoading } from "element-plus/es/components/loading/index";
25
+ import _sfc_main$1 from "../../../icons/vue/up2.js";
26
+ import _sfc_main$2 from "../../../icons/vue/retreat2.js";
27
+ import _sfc_main$3 from "../../../icons/vue/pause2.js";
28
+ import _sfc_main$4 from "../../../icons/vue/play2.js";
29
+ import _sfc_main$5 from "../../../icons/vue/enter2.js";
30
+ import _sfc_main$6 from "../../../icons/vue/down2.js";
31
+ import _sfc_main$7 from "../../../icons/vue/mute2.js";
32
+ import _sfc_main$8 from "../../../icons/vue/sound2.js";
33
+ import _sfc_main$9 from "../../../icons/vue/catalogue2.js";
34
+ import _sfc_main$a from "../../../icons/vue/star2.js";
35
+ import _sfc_main$b from "../../../icons/vue/frame2.js";
25
36
  const _hoisted_1 = ["src"];
26
37
  const _hoisted_2 = { class: "end-content" };
27
38
  const _hoisted_3 = { class: "end-buttons" };
@@ -342,32 +353,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
342
353
  list.value.length > 1 ? (openBlock(), createBlock(unref(Button), {
343
354
  key: 0,
344
355
  size: "small",
345
- icon: Up,
356
+ icon: _sfc_main$1,
346
357
  disabled: current.value == 0,
347
358
  circle: "",
348
359
  onClick: _cache[2] || (_cache[2] = ($event) => onTrack(true))
349
360
  }, null, 8, ["disabled"])) : createCommentVNode("", true),
350
361
  createVNode(unref(Button), {
351
362
  size: "small",
352
- icon: Retreat,
363
+ icon: _sfc_main$2,
353
364
  circle: "",
354
365
  onClick: _cache[3] || (_cache[3] = ($event) => onSkip(true))
355
366
  }),
356
367
  createVNode(unref(Button), {
357
- icon: isPlaying.value ? Pause : Play,
368
+ icon: isPlaying.value ? _sfc_main$3 : _sfc_main$4,
358
369
  circle: "",
359
370
  onClick: togglePlay
360
371
  }, null, 8, ["icon"]),
361
372
  createVNode(unref(Button), {
362
373
  size: "small",
363
- icon: Enter,
374
+ icon: _sfc_main$5,
364
375
  circle: "",
365
376
  onClick: _cache[4] || (_cache[4] = ($event) => onSkip(false))
366
377
  }),
367
378
  list.value.length > 1 ? (openBlock(), createBlock(unref(Button), {
368
379
  key: 1,
369
380
  size: "small",
370
- icon: Down,
381
+ icon: _sfc_main$6,
371
382
  circle: "",
372
383
  disabled: current.value + 1 == list.value.length,
373
384
  onClick: _cache[5] || (_cache[5] = ($event) => onTrack(false))
@@ -378,7 +389,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
378
389
  }, [
379
390
  createVNode(unref(Button), {
380
391
  class: normalizeClass(unref(cs).z("control-volume-but")),
381
- icon: isMuted.value ? Mute : Sound,
392
+ icon: isMuted.value ? _sfc_main$7 : _sfc_main$8,
382
393
  circle: "",
383
394
  onClick: toggleMute,
384
395
  size: "small"
@@ -405,13 +416,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
405
416
  list.value.length > 1 ? (openBlock(), createBlock(unref(Button), {
406
417
  key: 0,
407
418
  size: "small",
408
- icon: Catalogue,
419
+ icon: _sfc_main$9,
409
420
  circle: "",
410
421
  onClick: onShowList
411
422
  })) : createCommentVNode("", true),
412
423
  createVNode(unref(Button), {
413
424
  size: "small",
414
- icon: unref(isFullscreen) ? Star : Frame,
425
+ icon: unref(isFullscreen) ? _sfc_main$a : _sfc_main$b,
415
426
  circle: "",
416
427
  onClick: onFullscreen
417
428
  }, null, 8, ["icon"])
@@ -2,9 +2,9 @@
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 bar = require("../../../icons/vue/bar.cjs");
6
- const frame = require("../../../icons/vue/frame.cjs");
7
- const star = require("../../../icons/vue/star.cjs");
5
+ require("../../../icons/vue/bar.cjs");
6
+ require("../../../icons/vue/frame.cjs");
7
+ require("../../../icons/vue/star.cjs");
8
8
  const getCss = require("@fangzhongya/utils/css/getCss");
9
9
  const setCss = require("@fangzhongya/utils/css/setCss");
10
10
  const data = require("./data.cjs");
@@ -18,6 +18,9 @@ const setClassName = require("@fangzhongya/utils/css/setClassName");
18
18
  const index$7 = require("../../../directives/drag/index.cjs");
19
19
  const index$2 = require("../../../hooks/props-default/index.cjs");
20
20
  const data$1 = require("../../box-title/src/data.cjs");
21
+ const bar_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/bar2.cjs");
22
+ const star_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/star2.cjs");
23
+ const frame_vue_vue_type_script_setup_true_lang = require("../../../icons/vue/frame2.cjs");
21
24
  const _hoisted_1 = ["title"];
22
25
  const _hoisted_2 = ["title"];
23
26
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
@@ -232,7 +235,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
232
235
  vue.createVNode(vue.unref(index$6.Icon), null, {
233
236
  default: vue.withCtx(() => [
234
237
  vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-min"], {}, () => [
235
- vue.createVNode(bar.default)
238
+ vue.createVNode(bar_vue_vue_type_script_setup_true_lang.default)
236
239
  ])
237
240
  ]),
238
241
  _: 3
@@ -249,9 +252,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
249
252
  vue.createVNode(vue.unref(index$6.Icon), null, {
250
253
  default: vue.withCtx(() => [
251
254
  isMax.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
252
- vue.createVNode(star.default)
255
+ vue.createVNode(star_vue_vue_type_script_setup_true_lang.default)
253
256
  ]) : vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
254
- vue.createVNode(frame.default)
257
+ vue.createVNode(frame_vue_vue_type_script_setup_true_lang.default)
255
258
  ])
256
259
  ]),
257
260
  _: 3
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, shallowRef, watch, nextTick, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, normalizeClass, withDirectives, renderSlot, createElementVNode, createVNode } from "vue";
2
2
  import { Icon } from "../../icon/index.js";
3
- import Bar from "../../../icons/vue/bar.js";
4
- import Frame from "../../../icons/vue/frame.js";
5
- import Star from "../../../icons/vue/star.js";
3
+ import "../../../icons/vue/bar.js";
4
+ import "../../../icons/vue/frame.js";
5
+ import "../../../icons/vue/star.js";
6
6
  import { getCss } from "@fangzhongya/utils/css/getCss";
7
7
  import { setCss } from "@fangzhongya/utils/css/setCss";
8
8
  import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
@@ -16,6 +16,9 @@ import { setClassName } from "@fangzhongya/utils/css/setClassName";
16
16
  import vDrag from "../../../directives/drag/index.js";
17
17
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
18
18
  import { name as name$1 } from "../../box-title/src/data.js";
19
+ import _sfc_main$1 from "../../../icons/vue/bar2.js";
20
+ import _sfc_main$2 from "../../../icons/vue/star2.js";
21
+ import _sfc_main$3 from "../../../icons/vue/frame2.js";
19
22
  const _hoisted_1 = ["title"];
20
23
  const _hoisted_2 = ["title"];
21
24
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -230,7 +233,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
230
233
  createVNode(unref(Icon), null, {
231
234
  default: withCtx(() => [
232
235
  renderSlot(_ctx.$slots, unref(dataSlot)["icon-min"], {}, () => [
233
- createVNode(Bar)
236
+ createVNode(_sfc_main$1)
234
237
  ])
235
238
  ]),
236
239
  _: 3
@@ -247,9 +250,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
247
250
  createVNode(unref(Icon), null, {
248
251
  default: withCtx(() => [
249
252
  isMax.value ? renderSlot(_ctx.$slots, unref(dataSlot)["icon-full"], { key: 0 }, () => [
250
- createVNode(Star)
253
+ createVNode(_sfc_main$2)
251
254
  ]) : renderSlot(_ctx.$slots, unref(dataSlot)["icon-max"], { key: 1 }, () => [
252
- createVNode(Frame)
255
+ createVNode(_sfc_main$3)
253
256
  ])
254
257
  ]),
255
258
  _: 3
@@ -792,7 +792,7 @@
792
792
 
793
793
  .right-key-box {
794
794
  width: 140px;
795
- position: absolute;
795
+ position: fixed;
796
796
  padding: 10px;
797
797
  z-index: 9999;
798
798
  background: #ffffff;
@@ -808,6 +808,7 @@
808
808
  white-space: nowrap;
809
809
  display: flex;
810
810
  align-items: center;
811
+ box-sizing: border-box;
811
812
  height: 40px;
812
813
  padding: 8px 14px 8px 10px;
813
814
  border-radius: 4px;
@@ -1460,6 +1461,9 @@
1460
1461
 
1461
1462
  .retract {
1462
1463
  position: relative;
1464
+ --retract-width: 12px;
1465
+ --retract-height: 40px;
1466
+ --retract-width-adjust: 8px;
1463
1467
  }
1464
1468
  .retract-div.left, .retract-div.right {
1465
1469
  height: 100%;
@@ -1489,13 +1493,13 @@
1489
1493
  }
1490
1494
  .retract .retract-but.is-left {
1491
1495
  top: 50%;
1492
- width: 20px;
1493
- height: 50px;
1494
- margin-top: -25px;
1495
- left: -20px;
1496
+ height: var(--retract-height);
1497
+ margin-top: calc(var(--retract-height) / 2 * -1);
1498
+ width: var(--retract-width);
1499
+ left: calc(0 - var(--retract-width));
1496
1500
  }
1497
1501
  .retract .retract-but.is-left.is-adjust {
1498
- left: -10px;
1502
+ left: calc(var(--retract-width-adjust) - var(--retract-width));
1499
1503
  }
1500
1504
  .retract .retract-but.is-left .retract-icon {
1501
1505
  transform: rotate(0);
@@ -1505,13 +1509,13 @@
1505
1509
  }
1506
1510
  .retract .retract-but.is-right {
1507
1511
  top: 50%;
1508
- width: 20px;
1509
- height: 50px;
1510
- margin-top: -25px;
1511
- right: -20px;
1512
+ height: var(--retract-height);
1513
+ margin-top: calc(var(--retract-height) / 2 * -1);
1514
+ width: var(--retract-width);
1515
+ right: calc(0 - var(--retract-width));
1512
1516
  }
1513
1517
  .retract .retract-but.is-right.is-adjust {
1514
- right: -10px;
1518
+ right: calc(var(--retract-width-adjust) - var(--retract-width));
1515
1519
  }
1516
1520
  .retract .retract-but.is-right .retract-icon {
1517
1521
  transform: rotate(-180deg);
@@ -1521,13 +1525,13 @@
1521
1525
  }
1522
1526
  .retract .retract-but.is-top {
1523
1527
  left: 50%;
1524
- width: 50px;
1525
- height: 20px;
1526
- margin-left: -25px;
1527
- top: -20px;
1528
+ width: var(--retract-height);
1529
+ margin-left: calc(var(--retract-height) / 2 * -1);
1530
+ height: var(--retract-width);
1531
+ top: calc(0 - var(--retract-width));
1528
1532
  }
1529
1533
  .retract .retract-but.is-top.is-adjust {
1530
- top: -10px;
1534
+ top: calc(var(--retract-width-adjust) - var(--retract-width));
1531
1535
  }
1532
1536
  .retract .retract-but.is-top .retract-icon {
1533
1537
  transform: rotate(90deg);
@@ -1537,13 +1541,13 @@
1537
1541
  }
1538
1542
  .retract .retract-but.is-bottom {
1539
1543
  left: 50%;
1540
- width: 50px;
1541
- height: 20px;
1542
- margin-left: -25px;
1543
- bottom: -20px;
1544
+ width: var(--retract-height);
1545
+ margin-left: calc(var(--retract-height) / 2 * -1);
1546
+ height: var(--retract-width);
1547
+ bottom: calc(0 - var(--retract-width));
1544
1548
  }
1545
1549
  .retract .retract-but.is-bottom.is-adjust {
1546
- bottom: -10px;
1550
+ bottom: calc(var(--retract-width-adjust) - var(--retract-width));
1547
1551
  }
1548
1552
  .retract .retract-but.is-bottom .retract-icon {
1549
1553
  transform: rotate(-90deg);