@fangzhongya/fang-ui 0.0.98 → 0.0.99

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 (221) hide show
  1. package/dist/components/alert/src/index2.cjs +11 -11
  2. package/dist/components/array/src/index2.cjs +45 -45
  3. package/dist/components/audios/src/index2.cjs +54 -54
  4. package/dist/components/autocomplete/src/index2.cjs +11 -11
  5. package/dist/components/box/src/index2.cjs +21 -21
  6. package/dist/components/box-adjust/index.css +17 -0
  7. package/dist/components/box-adjust/index.scss +18 -0
  8. package/dist/components/box-adjust/src/data.cjs +17 -1
  9. package/dist/components/box-adjust/src/data.d.ts +16 -0
  10. package/dist/components/box-adjust/src/data.js +17 -1
  11. package/dist/components/box-adjust/src/index2.cjs +69 -35
  12. package/dist/components/box-adjust/src/index2.js +37 -3
  13. package/dist/components/box-local/src/index2.cjs +20 -20
  14. package/dist/components/box-mask/src/index2.cjs +5 -5
  15. package/dist/components/box-teleport/src/index2.cjs +5 -5
  16. package/dist/components/box-title/src/index2.cjs +15 -15
  17. package/dist/components/button/src/index2.cjs +11 -11
  18. package/dist/components/buttons/src/index2.cjs +20 -20
  19. package/dist/components/card/src/index2.cjs +11 -11
  20. package/dist/components/cascader/src/index2.cjs +11 -11
  21. package/dist/components/cascader-panel/src/index2.cjs +11 -11
  22. package/dist/components/cascaders/src/index2.cjs +17 -17
  23. package/dist/components/checkbox/src/index2.cjs +11 -11
  24. package/dist/components/checkbox-button/src/index2.cjs +11 -11
  25. package/dist/components/checkbox-group/src/index2.cjs +11 -11
  26. package/dist/components/checks/src/index2.cjs +31 -31
  27. package/dist/components/choice-select/src/index2.cjs +5 -5
  28. package/dist/components/collapse/src/index2.cjs +11 -11
  29. package/dist/components/collapse-item/src/index2.cjs +11 -11
  30. package/dist/components/color-picker/src/index2.cjs +11 -11
  31. package/dist/components/common/list.cjs +5 -5
  32. package/dist/components/common/use.cjs +5 -5
  33. package/dist/components/company-select/src/index2.cjs +19 -19
  34. package/dist/components/config-provider/src/index2.cjs +11 -11
  35. package/dist/components/date-picker/src/index2.cjs +11 -11
  36. package/dist/components/date-picker/style/element.scss +1 -1
  37. package/dist/components/date-picker-panel/src/index2.cjs +11 -11
  38. package/dist/components/dates/src/index2.cjs +12 -12
  39. package/dist/components/dates-divide/src/index2.cjs +20 -20
  40. package/dist/components/dates-picker/src/index2.cjs +15 -15
  41. package/dist/components/dates2/src/index2.cjs +26 -26
  42. package/dist/components/department-select/src/index2.cjs +10 -10
  43. package/dist/components/dialog/src/index2.cjs +11 -11
  44. package/dist/components/dialogs/src/index2.cjs +23 -23
  45. package/dist/components/divider/src/index2.cjs +11 -11
  46. package/dist/components/drawer/src/index2.cjs +11 -11
  47. package/dist/components/dropdown/src/index2.cjs +11 -11
  48. package/dist/components/dropdown-item/src/index2.cjs +11 -11
  49. package/dist/components/dropdown-menu/src/index2.cjs +11 -11
  50. package/dist/components/edit/src/index2.cjs +24 -24
  51. package/dist/components/edit-float/src/index2.cjs +40 -40
  52. package/dist/components/form/src/index2.cjs +11 -11
  53. package/dist/components/form-item/src/index2.cjs +11 -11
  54. package/dist/components/forms/index.css +22 -0
  55. package/dist/components/forms/src/index2.cjs +65 -65
  56. package/dist/components/forms/src/setup.cjs +12 -12
  57. package/dist/components/forms-div/src/index2.cjs +11 -11
  58. package/dist/components/forms-drag/src/index2.cjs +73 -73
  59. package/dist/components/forms-item/src/index2.cjs +45 -45
  60. package/dist/components/forms-item/src/label.cjs +4 -4
  61. package/dist/components/forms-items/src/index2.cjs +23 -23
  62. package/dist/components/full-screen/src/index2.cjs +11 -11
  63. package/dist/components/global-config/src/index.cjs +5 -5
  64. package/dist/components/history/src/index2.cjs +26 -26
  65. package/dist/components/icon/src/index2.cjs +23 -23
  66. package/dist/components/icon-picker/src/index2.cjs +52 -52
  67. package/dist/components/iframe/src/data.cjs +1 -1
  68. package/dist/components/iframe/src/data.js +1 -1
  69. package/dist/components/iframe/src/index2.cjs +15 -10
  70. package/dist/components/iframe/src/index2.js +5 -0
  71. package/dist/components/image/src/index2.cjs +11 -11
  72. package/dist/components/image-viewer/src/index2.cjs +11 -11
  73. package/dist/components/images/src/index2.cjs +17 -17
  74. package/dist/components/input/src/index2.cjs +11 -11
  75. package/dist/components/input-array/src/index2.cjs +38 -38
  76. package/dist/components/input-history/src/index2.cjs +47 -47
  77. package/dist/components/input-history/src/util.cjs +4 -4
  78. package/dist/components/input-num/src/index2.cjs +17 -17
  79. package/dist/components/input-number/src/index2.cjs +11 -11
  80. package/dist/components/input-select/src/index2.cjs +51 -51
  81. package/dist/components/input-tag/src/index2.cjs +11 -11
  82. package/dist/components/inputs/src/index2.cjs +17 -17
  83. package/dist/components/keep-com/src/index2.cjs +16 -16
  84. package/dist/components/labels/src/index2.cjs +13 -13
  85. package/dist/components/list/src/index2.cjs +24 -24
  86. package/dist/components/lists/src/index2.cjs +51 -51
  87. package/dist/components/listsp/src/index2.cjs +35 -35
  88. package/dist/components/mention/src/index2.cjs +11 -11
  89. package/dist/components/menu/src/index2.cjs +11 -11
  90. package/dist/components/menu-item/src/index2.cjs +11 -11
  91. package/dist/components/menu-item-group/src/index2.cjs +11 -11
  92. package/dist/components/menus/src/index2.cjs +16 -16
  93. package/dist/components/menus/src/menu-ll2.cjs +11 -11
  94. package/dist/components/no-data/src/index2.cjs +5 -5
  95. package/dist/components/option/src/index2.cjs +10 -10
  96. package/dist/components/option-group/src/index2.cjs +11 -11
  97. package/dist/components/page/index.css +22 -0
  98. package/dist/components/page/src/index2.cjs +77 -77
  99. package/dist/components/page/src/set-column2.cjs +54 -54
  100. package/dist/components/pagination/src/index2.cjs +11 -11
  101. package/dist/components/paging/src/index2.cjs +13 -13
  102. package/dist/components/popconfirm/src/index2.cjs +11 -11
  103. package/dist/components/popover/src/index2.cjs +11 -11
  104. package/dist/components/popup/src/index2.cjs +29 -29
  105. package/dist/components/radio/src/index2.cjs +11 -11
  106. package/dist/components/radio-button/src/index2.cjs +11 -11
  107. package/dist/components/radio-group/src/index2.cjs +11 -11
  108. package/dist/components/retract/src/index2.cjs +14 -14
  109. package/dist/components/right-key/src/index2.cjs +30 -30
  110. package/dist/components/role-select/src/index2.cjs +38 -38
  111. package/dist/components/scrollbar/src/index2.cjs +11 -11
  112. package/dist/components/seamless-scroll/src/index2.cjs +24 -24
  113. package/dist/components/select/src/index2.cjs +11 -11
  114. package/dist/components/select-dialog/src/index2.cjs +65 -65
  115. package/dist/components/select-popover/src/index2.cjs +41 -41
  116. package/dist/components/select-scroll/src/index2.cjs +30 -30
  117. package/dist/components/selector/src/index2.cjs +39 -39
  118. package/dist/components/selects/src/index2.cjs +20 -20
  119. package/dist/components/slider/src/index2.cjs +11 -11
  120. package/dist/components/sliders/src/index2.cjs +13 -13
  121. package/dist/components/stick-div/src/index2.cjs +17 -17
  122. package/dist/components/stick-edge/src/index2.cjs +10 -10
  123. package/dist/components/stick-window/src/index2.cjs +22 -22
  124. package/dist/components/sub-menu/src/index2.cjs +10 -10
  125. package/dist/components/switch/src/index2.cjs +11 -11
  126. package/dist/components/switchs/src/index2.cjs +15 -15
  127. package/dist/components/tab-pane/src/index2.cjs +11 -11
  128. package/dist/components/table/src/index2.cjs +11 -11
  129. package/dist/components/table-column/src/index2.cjs +11 -11
  130. package/dist/components/tables/common/img2.cjs +7 -7
  131. package/dist/components/tables/common/pagin.cjs +16 -16
  132. package/dist/components/tables/common/table-but2.cjs +10 -10
  133. package/dist/components/tables/common/table-color2.cjs +7 -7
  134. package/dist/components/tables/common/table-list2.cjs +9 -9
  135. package/dist/components/tables/common/util.cjs +2 -2
  136. package/dist/components/tables/src/column.cjs +5 -5
  137. package/dist/components/tables/src/columns2.cjs +2 -2
  138. package/dist/components/tables/src/columns3.cjs +2 -2
  139. package/dist/components/tables/src/index2.cjs +29 -29
  140. package/dist/components/tablesp/src/index2.cjs +36 -36
  141. package/dist/components/tabless/src/index2.cjs +49 -49
  142. package/dist/components/tablesv/src/column.cjs +16 -16
  143. package/dist/components/tablesv/src/columns2.cjs +2 -2
  144. package/dist/components/tablesv/src/columns3.cjs +2 -2
  145. package/dist/components/tablesv/src/index2.cjs +30 -30
  146. package/dist/components/tablesvp/src/index2.cjs +30 -30
  147. package/dist/components/tabs/src/index2.cjs +11 -11
  148. package/dist/components/tag/src/index2.cjs +11 -11
  149. package/dist/components/text/src/index2.cjs +11 -11
  150. package/dist/components/text/style/element.scss +1 -1
  151. package/dist/components/texts/src/index2.cjs +8 -8
  152. package/dist/components/time-picker/src/index2.cjs +11 -11
  153. package/dist/components/time-select/src/index2.cjs +11 -11
  154. package/dist/components/tooltip/src/index2.cjs +11 -11
  155. package/dist/components/transfer/src/index2.cjs +11 -11
  156. package/dist/components/tree/src/index2.cjs +11 -11
  157. package/dist/components/tree-select/src/index2.cjs +11 -11
  158. package/dist/components/tree-select-box/src/index2.cjs +29 -29
  159. package/dist/components/upload/src/index2.cjs +11 -11
  160. package/dist/components/uploads/index.css +22 -0
  161. package/dist/components/uploads/index.scss +23 -0
  162. package/dist/components/uploads/src/index2.cjs +128 -138
  163. package/dist/components/uploads/src/index2.js +61 -71
  164. package/dist/components/uploads/src/util.cjs +80 -0
  165. package/dist/components/uploads/src/util.d.ts +10 -0
  166. package/dist/components/uploads/src/util.js +80 -0
  167. package/dist/components/uploads/src/views.cjs +4 -0
  168. package/dist/components/uploads/src/views.js +4 -0
  169. package/dist/components/uploads/src/views2.cjs +77 -0
  170. package/dist/components/uploads/src/views2.js +77 -0
  171. package/dist/components/user-select/src/index2.cjs +99 -99
  172. package/dist/components/videos/src/index2.cjs +97 -97
  173. package/dist/components/window/src/index2.cjs +61 -61
  174. package/dist/css/box-adjust.css +17 -0
  175. package/dist/css/forms.css +22 -0
  176. package/dist/css/index.css +39 -0
  177. package/dist/css/page.css +22 -0
  178. package/dist/css/uploads.css +22 -0
  179. package/dist/directives/scroll/index.cjs +6 -24
  180. package/dist/directives/scroll/index.js +1 -3
  181. package/dist/hooks/event-aliass/index.cjs +2 -2
  182. package/dist/hooks/full-screen/index.cjs +5 -5
  183. package/dist/hooks/global-config/index.cjs +8 -8
  184. package/dist/hooks/inherit/index.cjs +2 -2
  185. package/dist/hooks/locale/index.cjs +7 -7
  186. package/dist/icons/iconify.cjs +3 -3
  187. package/dist/icons/index.css +79 -79
  188. package/dist/icons/index.json +35 -35
  189. package/dist/icons/vue/bar.cjs +3 -3
  190. package/dist/icons/vue/below.cjs +3 -3
  191. package/dist/icons/vue/bicycle.cjs +3 -3
  192. package/dist/icons/vue/bottom-left.cjs +4 -4
  193. package/dist/icons/vue/bottom-right.cjs +4 -4
  194. package/dist/icons/vue/bottom.cjs +3 -3
  195. package/dist/icons/vue/catalogue.cjs +5 -5
  196. package/dist/icons/vue/clear.cjs +5 -5
  197. package/dist/icons/vue/close.cjs +3 -3
  198. package/dist/icons/vue/delete.cjs +3 -3
  199. package/dist/icons/vue/document.cjs +5 -5
  200. package/dist/icons/vue/down.cjs +3 -3
  201. package/dist/icons/vue/download.cjs +3 -3
  202. package/dist/icons/vue/edit.cjs +5 -5
  203. package/dist/icons/vue/enter.cjs +3 -3
  204. package/dist/icons/vue/frame.cjs +3 -3
  205. package/dist/icons/vue/left.cjs +3 -3
  206. package/dist/icons/vue/mute.cjs +3 -3
  207. package/dist/icons/vue/pause.cjs +4 -4
  208. package/dist/icons/vue/play.cjs +3 -3
  209. package/dist/icons/vue/plus.cjs +3 -3
  210. package/dist/icons/vue/retreat.cjs +3 -3
  211. package/dist/icons/vue/right.cjs +3 -3
  212. package/dist/icons/vue/sound.cjs +4 -4
  213. package/dist/icons/vue/star.cjs +4 -4
  214. package/dist/icons/vue/up.cjs +3 -3
  215. package/dist/icons/vue/views.cjs +5 -5
  216. package/dist/icons/vue/views.js +2 -2
  217. package/dist/index.css +39 -0
  218. package/dist/utils/vues/common.cjs +2 -2
  219. package/package.json +3 -3
  220. /package/dist/components/{alert → divider}/index.css +0 -0
  221. /package/dist/css/{alert.css → divider.css} +0 -0
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const enter = require("../../../icons/vue/enter.cjs");
5
5
  const retreat = require("../../../icons/vue/retreat.cjs");
6
6
  const catalogue = require("../../../icons/vue/catalogue.cjs");
@@ -27,7 +27,7 @@ const _hoisted_1 = ["src"];
27
27
  const _hoisted_2 = { class: "end-content" };
28
28
  const _hoisted_3 = { class: "end-buttons" };
29
29
  const _hoisted_4 = ["onClick"];
30
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
30
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
31
31
  __name: "index",
32
32
  props: data.dataProps,
33
33
  emits: data.dataEmits,
@@ -37,21 +37,21 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
37
37
  const props = __props;
38
38
  const emit = __emit;
39
39
  const { isFullscreen, toggle } = index$2.useFullscreen();
40
- const videoRef = vues.ref(null);
41
- const domRef = vues.ref();
42
- const current = vues.ref(0);
43
- const list = vues.computed(() => {
40
+ const videoRef = vue.ref(null);
41
+ const domRef = vue.ref();
42
+ const current = vue.ref(0);
43
+ const list = vue.computed(() => {
44
44
  return util.getListValue(props.list);
45
45
  });
46
- const value = vues.computed(() => {
46
+ const value = vue.computed(() => {
47
47
  return list.value[current.value];
48
48
  });
49
- const currentTime = vues.ref(0);
50
- const duration = vues.ref(0);
51
- const isLoading = vues.ref(false);
52
- const buffered = vues.ref(0);
53
- const showControls = vues.ref(false);
54
- const showEndOverlay = vues.ref(false);
49
+ const currentTime = vue.ref(0);
50
+ const duration = vue.ref(0);
51
+ const isLoading = vue.ref(false);
52
+ const buffered = vue.ref(0);
53
+ const showControls = vue.ref(false);
54
+ const showEndOverlay = vue.ref(false);
55
55
  const optionsRate = [
56
56
  {
57
57
  label: "2.0",
@@ -78,19 +78,19 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
78
78
  value: 0.5
79
79
  }
80
80
  ];
81
- const playbackRate = vues.ref(1);
82
- const isPlaying = vues.ref(false);
83
- const isList = vues.ref(false);
81
+ const playbackRate = vue.ref(1);
82
+ const isPlaying = vue.ref(false);
83
+ const isList = vue.ref(false);
84
84
  const onShowList = () => {
85
85
  isList.value = !isList.value;
86
86
  };
87
- const slider = vues.ref(0);
87
+ const slider = vue.ref(0);
88
88
  const formatTooltip = (number) => {
89
89
  return hourFormat.hourFormat(number * duration.value / 100);
90
90
  };
91
- const volume = vues.ref(50);
92
- const isMuted = vues.ref(false);
93
- const isMouse = vues.ref(true);
91
+ const volume = vue.ref(50);
92
+ const isMuted = vue.ref(false);
93
+ const isMouse = vue.ref(true);
94
94
  const onMousedown = () => {
95
95
  isMouse.value = false;
96
96
  };
@@ -178,7 +178,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
178
178
  };
179
179
  const playTrack = (i) => {
180
180
  current.value = i;
181
- vues.nextTick(() => {
181
+ vue.nextTick(() => {
182
182
  if (videoRef.value) {
183
183
  buffered.value = 0;
184
184
  videoRef.value.load();
@@ -188,7 +188,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
188
188
  }
189
189
  });
190
190
  };
191
- vues.onMounted(() => {
191
+ vue.onMounted(() => {
192
192
  if (videoRef.value) {
193
193
  videoRef.value.volume = volume.value / 100;
194
194
  videoRef.value.muted = isMuted.value;
@@ -199,36 +199,36 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
199
199
  }
200
200
  }
201
201
  });
202
- vues.onUnmounted(() => {
202
+ vue.onUnmounted(() => {
203
203
  });
204
204
  __expose({
205
205
  ...data.dataExpose
206
206
  });
207
207
  return (_ctx, _cache) => {
208
208
  var _a, _b;
209
- return vues.openBlock(), vues.createElementBlock("div", {
210
- class: vues.normalizeClass([
211
- vues.unref(cs).z(),
212
- vues.unref(cs).is("fullscreen", vues.unref(isFullscreen)),
213
- vues.unref(cs).is("list", isList.value)
209
+ return vue.openBlock(), vue.createElementBlock("div", {
210
+ class: vue.normalizeClass([
211
+ vue.unref(cs).z(),
212
+ vue.unref(cs).is("fullscreen", vue.unref(isFullscreen)),
213
+ vue.unref(cs).is("list", isList.value)
214
214
  ]),
215
215
  ref_key: "domRef",
216
216
  ref: domRef
217
217
  }, [
218
- vues.createElementVNode("div", {
219
- class: vues.normalizeClass(vues.unref(cs).z("videos"))
218
+ vue.createElementVNode("div", {
219
+ class: vue.normalizeClass(vue.unref(cs).z("videos"))
220
220
  }, [
221
- vues.createElementVNode("div", {
222
- class: vues.normalizeClass(vues.unref(cs).z("controls-top"))
221
+ vue.createElementVNode("div", {
222
+ class: vue.normalizeClass(vue.unref(cs).z("controls-top"))
223
223
  }, [
224
- vues.createElementVNode("div", {
225
- class: vues.normalizeClass(vues.unref(cs).z("name"))
226
- }, vues.toDisplayString((_a = value.value) == null ? void 0 : _a.name), 3)
224
+ vue.createElementVNode("div", {
225
+ class: vue.normalizeClass(vue.unref(cs).z("name"))
226
+ }, vue.toDisplayString((_a = value.value) == null ? void 0 : _a.name), 3)
227
227
  ], 2),
228
- vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
229
- class: vues.normalizeClass(vues.unref(cs).z("video"))
228
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
229
+ class: vue.normalizeClass(vue.unref(cs).z("video"))
230
230
  }, [
231
- vues.createElementVNode("video", {
231
+ vue.createElementVNode("video", {
232
232
  ref_key: "videoRef",
233
233
  ref: videoRef,
234
234
  src: (_b = value.value) == null ? void 0 : _b.url,
@@ -240,37 +240,37 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
240
240
  onCanplay: handleCanPlay,
241
241
  onCanplaythrough: oncanplaythrough
242
242
  }, " 您的浏览器不支持视频播放 ", 40, _hoisted_1),
243
- showEndOverlay.value ? (vues.openBlock(), vues.createElementBlock("div", {
243
+ showEndOverlay.value ? (vue.openBlock(), vue.createElementBlock("div", {
244
244
  key: 0,
245
- class: vues.normalizeClass(vues.unref(cs).z("video-end"))
245
+ class: vue.normalizeClass(vue.unref(cs).z("video-end"))
246
246
  }, [
247
- vues.createElementVNode("div", _hoisted_2, [
248
- _cache[8] || (_cache[8] = vues.createElementVNode("h3", null, "播放结束", -1)),
249
- vues.createElementVNode("p", null, vues.toDisplayString(value.value.name), 1),
250
- vues.createElementVNode("div", _hoisted_3, [
251
- vues.createElementVNode("button", {
247
+ vue.createElementVNode("div", _hoisted_2, [
248
+ _cache[8] || (_cache[8] = vue.createElementVNode("h3", null, "播放结束", -1)),
249
+ vue.createElementVNode("p", null, vue.toDisplayString(value.value.name), 1),
250
+ vue.createElementVNode("div", _hoisted_3, [
251
+ vue.createElementVNode("button", {
252
252
  class: "replay-btn",
253
253
  onClick: onReplay
254
254
  }, " 重新播放 "),
255
- current.value + 1 < list.value.length ? (vues.openBlock(), vues.createElementBlock("button", {
255
+ current.value + 1 < list.value.length ? (vue.openBlock(), vue.createElementBlock("button", {
256
256
  key: 0,
257
257
  class: "next-btn",
258
258
  onClick: _cache[0] || (_cache[0] = ($event) => onTrack(false))
259
- }, " 下一个 ")) : vues.createCommentVNode("", true)
259
+ }, " 下一个 ")) : vue.createCommentVNode("", true)
260
260
  ])
261
261
  ])
262
- ], 2)) : vues.createCommentVNode("", true)
262
+ ], 2)) : vue.createCommentVNode("", true)
263
263
  ], 2)), [
264
- [vues.unref(index$3.vLoading), isLoading.value]
264
+ [vue.unref(index$3.vLoading), isLoading.value]
265
265
  ]),
266
- vues.createElementVNode("div", {
267
- class: vues.normalizeClass(vues.unref(cs).z("controls-bottom"))
266
+ vue.createElementVNode("div", {
267
+ class: vue.normalizeClass(vue.unref(cs).z("controls-bottom"))
268
268
  }, [
269
- vues.createElementVNode("div", {
270
- class: vues.normalizeClass(vues.unref(cs).z("slider"))
269
+ vue.createElementVNode("div", {
270
+ class: vue.normalizeClass(vue.unref(cs).z("slider"))
271
271
  }, [
272
- vues.createVNode(vues.unref(index$4.Sliders), {
273
- class: vues.normalizeClass(vues.unref(cs).z("slider-slider")),
272
+ vue.createVNode(vue.unref(index$4.Sliders), {
273
+ class: vue.normalizeClass(vue.unref(cs).z("slider-slider")),
274
274
  onChange: onChangeSlider,
275
275
  onMousedown,
276
276
  "format-tooltip": formatTooltip,
@@ -278,97 +278,97 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
278
278
  modelValue: slider.value,
279
279
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => slider.value = $event)
280
280
  }, null, 8, ["class", "advance", "modelValue"]),
281
- vues.createElementVNode("div", {
282
- class: vues.normalizeClass(vues.unref(cs).z("duration"))
281
+ vue.createElementVNode("div", {
282
+ class: vue.normalizeClass(vue.unref(cs).z("duration"))
283
283
  }, [
284
- vues.createElementVNode("span", {
285
- class: vues.normalizeClass(vues.unref(cs).z("duration-began"))
286
- }, vues.toDisplayString(vues.unref(hourFormat.hourFormat)(currentTime.value)), 3),
287
- _cache[9] || (_cache[9] = vues.createElementVNode("span", null, "/", -1)),
288
- vues.createElementVNode("span", {
289
- class: vues.normalizeClass(vues.unref(cs).z("duration-end"))
290
- }, vues.toDisplayString(vues.unref(hourFormat.hourFormat)(duration.value)), 3)
284
+ vue.createElementVNode("span", {
285
+ class: vue.normalizeClass(vue.unref(cs).z("duration-began"))
286
+ }, vue.toDisplayString(vue.unref(hourFormat.hourFormat)(currentTime.value)), 3),
287
+ _cache[9] || (_cache[9] = vue.createElementVNode("span", null, "/", -1)),
288
+ vue.createElementVNode("span", {
289
+ class: vue.normalizeClass(vue.unref(cs).z("duration-end"))
290
+ }, vue.toDisplayString(vue.unref(hourFormat.hourFormat)(duration.value)), 3)
291
291
  ], 2)
292
292
  ], 2),
293
- vues.createElementVNode("div", {
294
- class: vues.normalizeClass(vues.unref(cs).z("control"))
293
+ vue.createElementVNode("div", {
294
+ class: vue.normalizeClass(vue.unref(cs).z("control"))
295
295
  }, [
296
- vues.createElementVNode("div", {
297
- class: vues.normalizeClass(vues.unref(cs).z("control-buts"))
296
+ vue.createElementVNode("div", {
297
+ class: vue.normalizeClass(vue.unref(cs).z("control-buts"))
298
298
  }, [
299
- list.value.length > 1 ? (vues.openBlock(), vues.createBlock(vues.unref(index$5.Button), {
299
+ list.value.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.Button), {
300
300
  key: 0,
301
301
  size: "small",
302
302
  icon: up.default,
303
303
  disabled: current.value == 0,
304
304
  circle: "",
305
305
  onClick: _cache[2] || (_cache[2] = ($event) => onTrack(true))
306
- }, null, 8, ["disabled"])) : vues.createCommentVNode("", true),
307
- vues.createVNode(vues.unref(index$5.Button), {
306
+ }, null, 8, ["disabled"])) : vue.createCommentVNode("", true),
307
+ vue.createVNode(vue.unref(index$5.Button), {
308
308
  size: "small",
309
309
  icon: retreat.default,
310
310
  circle: "",
311
311
  onClick: _cache[3] || (_cache[3] = ($event) => onSkip(true))
312
312
  }),
313
- vues.createVNode(vues.unref(index$5.Button), {
313
+ vue.createVNode(vue.unref(index$5.Button), {
314
314
  icon: isPlaying.value ? pause.default : play.default,
315
315
  circle: "",
316
316
  onClick: togglePlay
317
317
  }, null, 8, ["icon"]),
318
- vues.createVNode(vues.unref(index$5.Button), {
318
+ vue.createVNode(vue.unref(index$5.Button), {
319
319
  size: "small",
320
320
  icon: enter.default,
321
321
  circle: "",
322
322
  onClick: _cache[4] || (_cache[4] = ($event) => onSkip(false))
323
323
  }),
324
- list.value.length > 1 ? (vues.openBlock(), vues.createBlock(vues.unref(index$5.Button), {
324
+ list.value.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.Button), {
325
325
  key: 1,
326
326
  size: "small",
327
327
  icon: down.default,
328
328
  circle: "",
329
329
  disabled: current.value + 1 == list.value.length,
330
330
  onClick: _cache[5] || (_cache[5] = ($event) => onTrack(false))
331
- }, null, 8, ["disabled"])) : vues.createCommentVNode("", true)
331
+ }, null, 8, ["disabled"])) : vue.createCommentVNode("", true)
332
332
  ], 2),
333
- vues.createElementVNode("div", {
334
- class: vues.normalizeClass(vues.unref(cs).z("control-volume"))
333
+ vue.createElementVNode("div", {
334
+ class: vue.normalizeClass(vue.unref(cs).z("control-volume"))
335
335
  }, [
336
- vues.createVNode(vues.unref(index$5.Button), {
337
- class: vues.normalizeClass(vues.unref(cs).z("control-volume-but")),
336
+ vue.createVNode(vue.unref(index$5.Button), {
337
+ class: vue.normalizeClass(vue.unref(cs).z("control-volume-but")),
338
338
  icon: isMuted.value ? mute.default : sound.default,
339
339
  circle: "",
340
340
  onClick: toggleMute,
341
341
  size: "small"
342
342
  }, null, 8, ["class", "icon"]),
343
- vues.createVNode(vues.unref(index$4.Sliders), {
343
+ vue.createVNode(vue.unref(index$4.Sliders), {
344
344
  size: "small",
345
- class: vues.normalizeClass(vues.unref(cs).z("control-volume-slider")),
345
+ class: vue.normalizeClass(vue.unref(cs).z("control-volume-slider")),
346
346
  onChange,
347
347
  modelValue: volume.value,
348
348
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => volume.value = $event)
349
349
  }, null, 8, ["class", "modelValue"])
350
350
  ], 2),
351
- vues.createElementVNode("div", {
352
- class: vues.normalizeClass(vues.unref(cs).z("control-more"))
351
+ vue.createElementVNode("div", {
352
+ class: vue.normalizeClass(vue.unref(cs).z("control-more"))
353
353
  }, [
354
- vues.createVNode(vues.unref(index$6.Selects), {
354
+ vue.createVNode(vue.unref(index$6.Selects), {
355
355
  size: "small",
356
- class: vues.normalizeClass(vues.unref(cs).z("control-more-rate")),
356
+ class: vue.normalizeClass(vue.unref(cs).z("control-more-rate")),
357
357
  options: optionsRate,
358
358
  onChange: setPlaybackRate,
359
359
  modelValue: playbackRate.value,
360
360
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => playbackRate.value = $event)
361
361
  }, null, 8, ["class", "modelValue"]),
362
- list.value.length > 1 ? (vues.openBlock(), vues.createBlock(vues.unref(index$5.Button), {
362
+ list.value.length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.Button), {
363
363
  key: 0,
364
364
  size: "small",
365
365
  icon: catalogue.default,
366
366
  circle: "",
367
367
  onClick: onShowList
368
- })) : vues.createCommentVNode("", true),
369
- vues.createVNode(vues.unref(index$5.Button), {
368
+ })) : vue.createCommentVNode("", true),
369
+ vue.createVNode(vue.unref(index$5.Button), {
370
370
  size: "small",
371
- icon: vues.unref(isFullscreen) ? star.default : frame.default,
371
+ icon: vue.unref(isFullscreen) ? star.default : frame.default,
372
372
  circle: "",
373
373
  onClick: onFullscreen
374
374
  }, null, 8, ["icon"])
@@ -376,22 +376,22 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
376
376
  ], 2)
377
377
  ], 2)
378
378
  ], 2),
379
- list.value.length > 1 ? vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
379
+ list.value.length > 1 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
380
380
  key: 0,
381
- class: vues.normalizeClass(vues.unref(cs).z("list"))
381
+ class: vue.normalizeClass(vue.unref(cs).z("list"))
382
382
  }, [
383
- (vues.openBlock(true), vues.createElementBlock(vues.Fragment, null, vues.renderList(list.value, (item, index2) => {
384
- return vues.openBlock(), vues.createElementBlock("div", {
385
- class: vues.normalizeClass([vues.unref(cs).z("list-li"), vues.unref(cs).is("active", current.value === index2)]),
383
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(list.value, (item, index2) => {
384
+ return vue.openBlock(), vue.createElementBlock("div", {
385
+ class: vue.normalizeClass([vue.unref(cs).z("list-li"), vue.unref(cs).is("active", current.value === index2)]),
386
386
  key: index2,
387
387
  onClick: ($event) => playTrack(index2)
388
388
  }, [
389
- vues.createElementVNode("div", null, vues.toDisplayString(item.name), 1)
389
+ vue.createElementVNode("div", null, vue.toDisplayString(item.name), 1)
390
390
  ], 10, _hoisted_4);
391
391
  }), 128))
392
392
  ], 2)), [
393
- [vues.vShow, isList.value]
394
- ]) : vues.createCommentVNode("", true)
393
+ [vue.vShow, isList.value]
394
+ ]) : vue.createCommentVNode("", true)
395
395
  ], 2);
396
396
  };
397
397
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vues = require("vue");
3
+ const vue = require("vue");
4
4
  const index$5 = require("../../icon/index.cjs");
5
5
  const bar = require("../../../icons/vue/bar.cjs");
6
6
  const frame = require("../../../icons/vue/frame.cjs");
@@ -19,13 +19,13 @@ const index$6 = require("../../../directives/drag/index.cjs");
19
19
  const use = require("../../common/use.cjs");
20
20
  const _hoisted_1 = ["title"];
21
21
  const _hoisted_2 = ["title"];
22
- const _sfc_main = /* @__PURE__ */ vues.defineComponent({
22
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23
23
  __name: "index",
24
24
  props: data.dataProps,
25
25
  emits: data.dataEmits,
26
26
  setup(__props, { expose: __expose, emit: __emit }) {
27
27
  const wykey = Symbol("Window-" + (/* @__PURE__ */ new Date()).getTime() + Math.random());
28
- const refBody = vues.shallowRef();
28
+ const refBody = vue.shallowRef();
29
29
  const { getLocale } = index.useLocale();
30
30
  const cs = index$1.useCssName("window");
31
31
  const prs = __props;
@@ -35,12 +35,12 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
35
35
  }
36
36
  });
37
37
  const emit = __emit;
38
- const isMax = vues.shallowRef(props.max);
39
- const isMin = vues.shallowRef(false);
40
- const isClose = vues.shallowRef(true);
41
- const refBox = vues.shallowRef();
42
- const position = vues.shallowRef({});
43
- vues.watch(
38
+ const isMax = vue.shallowRef(props.max);
39
+ const isMin = vue.shallowRef(false);
40
+ const isClose = vue.shallowRef(true);
41
+ const refBox = vue.shallowRef();
42
+ const position = vue.shallowRef({});
43
+ vue.watch(
44
44
  () => props.modelValue,
45
45
  () => {
46
46
  console.log("props.modelValue", props.modelValue);
@@ -48,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
48
48
  isClose.value = false;
49
49
  isMin.value = false;
50
50
  if (props.closeHave) {
51
- vues.nextTick(() => {
51
+ vue.nextTick(() => {
52
52
  setPosition();
53
53
  });
54
54
  } else {
@@ -100,13 +100,13 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
100
100
  emit("update:modelValue", false);
101
101
  emit("close");
102
102
  };
103
- vues.watch(
103
+ vue.watch(
104
104
  () => isMin.value,
105
105
  () => {
106
106
  setMin();
107
107
  }
108
108
  );
109
- vues.watch(
109
+ vue.watch(
110
110
  () => isMax.value,
111
111
  () => {
112
112
  setMax();
@@ -168,13 +168,13 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
168
168
  emit("changesize");
169
169
  }
170
170
  function setBoxClass(oldValue = "") {
171
- vues.nextTick(() => {
171
+ vue.nextTick(() => {
172
172
  setClassName.setClassName(refBox.value, props.boxClass, oldValue);
173
173
  });
174
174
  }
175
175
  let stop;
176
- vues.onMounted(() => {
177
- stop = vues.watch(
176
+ vue.onMounted(() => {
177
+ stop = vue.watch(
178
178
  () => props.boxClass,
179
179
  (newValue, oldValue) => {
180
180
  setBoxClass(oldValue);
@@ -182,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
182
182
  { immediate: true }
183
183
  );
184
184
  });
185
- vues.onUnmounted(() => {
185
+ vue.onUnmounted(() => {
186
186
  if (stop) {
187
187
  stop();
188
188
  }
@@ -194,65 +194,65 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
194
194
  ...data.dataExpose
195
195
  });
196
196
  return (_ctx, _cache) => {
197
- return vues.openBlock(), vues.createBlock(vues.unref(index$2.BoxTeleport), {
198
- disabled: vues.unref(props).disabled,
199
- to: vues.unref(props).to
197
+ return vue.openBlock(), vue.createBlock(vue.unref(index$2.BoxTeleport), {
198
+ disabled: vue.unref(props).disabled,
199
+ to: vue.unref(props).to
200
200
  }, {
201
- default: vues.withCtx(() => [
202
- !isClose.value ? (vues.openBlock(), vues.createElementBlock("div", {
201
+ default: vue.withCtx(() => [
202
+ !isClose.value ? (vue.openBlock(), vue.createElementBlock("div", {
203
203
  key: 0,
204
204
  ref_key: "refBox",
205
205
  ref: refBox,
206
- class: vues.normalizeClass(vues.unref(cs).z())
206
+ class: vue.normalizeClass(vue.unref(cs).z())
207
207
  }, [
208
- vues.unref(props).mask ? (vues.openBlock(), vues.createBlock(vues.unref(index$3.BoxMask), {
208
+ vue.unref(props).mask ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.BoxMask), {
209
209
  key: 0,
210
210
  onClick: onMaskClose,
211
- cssprefix: vues.unref(props).cssprefix || vues.unref(cs).z()
212
- }, null, 8, ["cssprefix"])) : vues.createCommentVNode("", true),
213
- vues.withDirectives((vues.openBlock(), vues.createElementBlock("div", {
211
+ cssprefix: vue.unref(props).cssprefix || vue.unref(cs).z()
212
+ }, null, 8, ["cssprefix"])) : vue.createCommentVNode("", true),
213
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
214
214
  ref_key: "refBody",
215
215
  ref: refBody,
216
- class: vues.normalizeClass(vues.unref(cs).z("body"))
216
+ class: vue.normalizeClass(vue.unref(cs).z("body"))
217
217
  }, [
218
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).title, {}, () => [
219
- vues.createVNode(vues.unref(index$4.BoxTitle), {
218
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
219
+ vue.createVNode(vue.unref(index$4.BoxTitle), {
220
220
  onClose,
221
- title: vues.unref(props).title
221
+ title: vue.unref(props).title
222
222
  }, {
223
- icon: vues.withCtx(() => [
224
- !vues.unref(props).noMin ? (vues.openBlock(), vues.createElementBlock("span", {
223
+ icon: vue.withCtx(() => [
224
+ !vue.unref(props).noMin ? (vue.openBlock(), vue.createElementBlock("span", {
225
225
  key: 0,
226
- title: vues.unref(getLocale)("minh"),
226
+ title: vue.unref(getLocale)("minh"),
227
227
  onClick: onMin,
228
- class: vues.normalizeClass([
229
- vues.unref(cs).z("title-icon"),
230
- vues.unref(cs).z("title-min")
228
+ class: vue.normalizeClass([
229
+ vue.unref(cs).z("title-icon"),
230
+ vue.unref(cs).z("title-min")
231
231
  ])
232
232
  }, [
233
- vues.createVNode(vues.unref(index$5.Icon), null, {
234
- default: vues.withCtx(() => [
235
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot)["icon-min"], {}, () => [
236
- vues.createVNode(bar.default)
233
+ vue.createVNode(vue.unref(index$5.Icon), null, {
234
+ default: vue.withCtx(() => [
235
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-min"], {}, () => [
236
+ vue.createVNode(bar.default)
237
237
  ])
238
238
  ]),
239
239
  _: 3
240
240
  })
241
- ], 10, _hoisted_1)) : vues.createCommentVNode("", true),
242
- vues.createElementVNode("span", {
243
- title: vues.unref(getLocale)(isMax.value ? "tmaxh" : "maxh"),
241
+ ], 10, _hoisted_1)) : vue.createCommentVNode("", true),
242
+ vue.createElementVNode("span", {
243
+ title: vue.unref(getLocale)(isMax.value ? "tmaxh" : "maxh"),
244
244
  onClick: onMax,
245
- class: vues.normalizeClass([
246
- vues.unref(cs).z("title-icon"),
247
- vues.unref(cs).z("title-max")
245
+ class: vue.normalizeClass([
246
+ vue.unref(cs).z("title-icon"),
247
+ vue.unref(cs).z("title-max")
248
248
  ])
249
249
  }, [
250
- vues.createVNode(vues.unref(index$5.Icon), null, {
251
- default: vues.withCtx(() => [
252
- isMax.value ? vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
253
- vues.createVNode(star.default)
254
- ]) : vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
255
- vues.createVNode(frame.default)
250
+ vue.createVNode(vue.unref(index$5.Icon), null, {
251
+ default: vue.withCtx(() => [
252
+ isMax.value ? vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-full"], { key: 0 }, () => [
253
+ vue.createVNode(star.default)
254
+ ]) : vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot)["icon-max"], { key: 1 }, () => [
255
+ vue.createVNode(frame.default)
256
256
  ])
257
257
  ]),
258
258
  _: 3
@@ -262,24 +262,24 @@ const _sfc_main = /* @__PURE__ */ vues.defineComponent({
262
262
  _: 3
263
263
  }, 8, ["title"])
264
264
  ]),
265
- vues.createElementVNode("div", {
266
- class: vues.normalizeClass(vues.unref(cs).z("body-div"))
265
+ vue.createElementVNode("div", {
266
+ class: vue.normalizeClass(vue.unref(cs).z("body-div"))
267
267
  }, [
268
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).default)
268
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).default)
269
269
  ], 2),
270
- vues.renderSlot(_ctx.$slots, vues.unref(data.dataSlot).footer)
270
+ vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).footer)
271
271
  ], 2)), [
272
- [vues.unref(index$6.default), {
273
- dom: vues.unref(props).drag,
272
+ [vue.unref(index$6.default), {
273
+ dom: vue.unref(props).drag,
274
274
  onMousedown
275
275
  }],
276
- [vues.unref(index$7.default), {
277
- often: vues.unref(props).often,
276
+ [vue.unref(index$7.default), {
277
+ often: vue.unref(props).often,
278
278
  onChange: onChangeAdjust,
279
279
  all: { position: true, getDisabled }
280
280
  }]
281
281
  ])
282
- ], 2)) : vues.createCommentVNode("", true)
282
+ ], 2)) : vue.createCommentVNode("", true)
283
283
  ]),
284
284
  _: 3
285
285
  }, 8, ["disabled", "to"]);
@@ -68,6 +68,23 @@
68
68
  display: flex;
69
69
  flex-direction: column;
70
70
  }
71
+ .box-adjust-body.is-max {
72
+ width: 100vw !important;
73
+ height: 100vh !important;
74
+ top: initial !important;
75
+ left: initial !important;
76
+ }
77
+ .box-adjust-body.is-max::-webkit-scrollbar {
78
+ width: 0 !important;
79
+ }
80
+ .box-adjust-body .box-adjust-title-icon {
81
+ width: 20px;
82
+ display: inline-flex;
83
+ align-items: center;
84
+ margin: 0 4px;
85
+ height: 100%;
86
+ cursor: pointer;
87
+ }
71
88
  .box-adjust-body-div {
72
89
  flex: 1;
73
90
  overflow-y: auto;
@@ -465,6 +465,12 @@
465
465
  align-items: center;
466
466
  justify-content: center;
467
467
  }
468
+ .uploads-upload-trigger.is-disabled {
469
+ box-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;
470
+ background-color: var(--el-disabled-bg-color);
471
+ color: var(--el-disabled-text-color);
472
+ cursor: not-allowed;
473
+ }
468
474
  .uploads-list {
469
475
  display: flex;
470
476
  flex-wrap: wrap;
@@ -505,6 +511,22 @@
505
511
  height: 100%;
506
512
  width: 100%;
507
513
  }
514
+ .uploads-list-li-value-img-error {
515
+ font-size: 14px;
516
+ background-color: var(--el-fill-color-light);
517
+ color: var(--el-text-color-placeholder);
518
+ max-height: 100%;
519
+ /* 换行设置 */
520
+ white-space: normal;
521
+ word-wrap: break-word;
522
+ overflow-wrap: break-word;
523
+ /* 多行省略 */
524
+ display: -webkit-box;
525
+ -webkit-box-orient: vertical;
526
+ -webkit-line-clamp: 4;
527
+ overflow: hidden;
528
+ line-height: 1.1;
529
+ }
508
530
  .uploads-list-li-value-document {
509
531
  height: 100%;
510
532
  width: 100%;