@web-utils/component 2.30.2 → 2.50.0

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 (302) hide show
  1. package/address-input/index.mjs +9 -9
  2. package/address-input/style.css +1 -1
  3. package/affix/index.mjs +1 -1
  4. package/affix/style.css +1 -1
  5. package/aside-menu/index.mjs +20 -20
  6. package/aside-menu/style.css +1 -1
  7. package/avatar/index.mjs +1 -1
  8. package/avatar/style.css +1 -1
  9. package/awesome-button/index.mjs +1 -1
  10. package/base.css +1 -1
  11. package/capsule-tab/index.mjs +10 -10
  12. package/capsule-tab/style.css +1 -1
  13. package/card/index.mjs +23 -23
  14. package/card/style.css +1 -1
  15. package/carousel/index.mjs +5 -5
  16. package/carousel/style.css +1 -1
  17. package/chat/index.mjs +2 -2
  18. package/chat/style.css +1 -1
  19. package/chunk-file-uploader/index.mjs +3 -3
  20. package/chunk-file-uploader/style.css +1 -1
  21. package/chunks/{FormTemp.CtpL-vJy.mjs → FormTemp.7f91629d.mjs} +4 -4
  22. package/chunks/{dataformat.Ab9PZnVk.mjs → dataformat.f995e2f9.mjs} +1 -1
  23. package/chunks/{dic.7JBaVHv6.mjs → dic.eaac0823.mjs} +1 -1
  24. package/chunks/{event.lbJYeMJp.mjs → event.b5d855dd.mjs} +3 -3
  25. package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.4632ad36.mjs} +2 -2
  26. package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.ad148e7b.mjs} +1 -1
  27. package/chunks/{init.6oF7OO2W.mjs → init.47f219b4.mjs} +3 -3
  28. package/code-mirror-editor/index.mjs +37 -37
  29. package/code-mirror-editor/style.css +1 -1
  30. package/color-picker/index.mjs +1 -1
  31. package/comment/index.mjs +18 -18
  32. package/comment/style.css +1 -1
  33. package/confirm-button/index.mjs +2 -2
  34. package/confirmable/index.mjs +2 -2
  35. package/context-menu/index.mjs +9 -9
  36. package/context-menu/style.css +1 -1
  37. package/count-up/index.mjs +1 -1
  38. package/custom-scrollbar/index.mjs +1 -1
  39. package/data-box/index.mjs +8 -8
  40. package/data-box/style.css +1 -1
  41. package/data-card/index.mjs +19 -19
  42. package/data-card/style.css +1 -1
  43. package/data-cardtext/index.mjs +22 -22
  44. package/data-cardtext/style.css +1 -1
  45. package/data-display/index.mjs +24 -24
  46. package/data-display/style.css +1 -1
  47. package/data-icons/index.mjs +13 -13
  48. package/data-icons/style.css +1 -1
  49. package/data-imgtext/index.mjs +18 -18
  50. package/data-imgtext/style.css +1 -1
  51. package/data-operatext/index.mjs +28 -28
  52. package/data-operatext/style.css +1 -1
  53. package/data-panel/index.mjs +15 -15
  54. package/data-panel/style.css +1 -1
  55. package/data-pay/index.mjs +7 -7
  56. package/data-pay/style.css +1 -1
  57. package/data-price/index.mjs +5 -5
  58. package/data-price/style.css +1 -1
  59. package/data-progress/index.mjs +16 -16
  60. package/data-progress/style.css +1 -1
  61. package/data-rotate/index.mjs +7 -7
  62. package/data-rotate/style.css +1 -1
  63. package/data-table-picker/index.mjs +2 -2
  64. package/data-tabs/index.mjs +6 -6
  65. package/data-tabs/style.css +1 -1
  66. package/dialog-form/index.mjs +47 -47
  67. package/dialog-form/style.css +1 -1
  68. package/dynamic-table/index.mjs +15 -15
  69. package/dynamic-table/style.css +1 -1
  70. package/e-charts/index.mjs +7 -7
  71. package/e-charts/style.css +1 -1
  72. package/easy-popup/index.mjs +15 -15
  73. package/easy-popup/style.css +1 -1
  74. package/editable-progress/index.mjs +1 -1
  75. package/editable-progress/style.css +1 -1
  76. package/editable-tree/index.mjs +5 -5
  77. package/editable-tree/style.css +1 -1
  78. package/egd-collapse/index.mjs +1 -1
  79. package/egd-collapse-item/index.mjs +1 -1
  80. package/element-dialog/index.mjs +8 -8
  81. package/element-dialog/style.css +1 -1
  82. package/empty-view/index.mjs +9 -9
  83. package/empty-view/style.css +1 -1
  84. package/error-view/index.mjs +13 -13
  85. package/error-view/style.css +1 -1
  86. package/flex-column/index.mjs +2 -2
  87. package/flex-item/index.mjs +2 -2
  88. package/flex-row/index.mjs +2 -2
  89. package/flex-scroller/index.mjs +5 -5
  90. package/flex-scroller/style.css +1 -1
  91. package/flow/index.mjs +2 -2
  92. package/flow/style.css +1 -1
  93. package/flow-designer/index.mjs +31 -31
  94. package/flow-designer/style.css +1 -1
  95. package/flow-node/index.mjs +2 -2
  96. package/flow-viewer/index.mjs +4 -4
  97. package/flow-viewer/style.css +1 -1
  98. package/form-block/index.mjs +16 -16
  99. package/form-block/style.css +1 -1
  100. package/form-button/index.mjs +1 -1
  101. package/form-cascader/index.mjs +4 -4
  102. package/form-checkbox-group/index.mjs +6 -6
  103. package/form-checkbox-group/style.css +1 -1
  104. package/form-date-picker/index.mjs +4 -4
  105. package/form-holder/index.mjs +2 -2
  106. package/form-input/index.mjs +3 -3
  107. package/form-input-email/index.mjs +3 -3
  108. package/form-input-id-card/index.mjs +3 -3
  109. package/form-input-number/index.mjs +8 -8
  110. package/form-input-number/style.css +1 -1
  111. package/form-input-phone-number/index.mjs +3 -3
  112. package/form-input-tag/index.mjs +3 -3
  113. package/form-input-time/index.mjs +3 -3
  114. package/form-item/index.mjs +18 -18
  115. package/form-item/style.css +1 -1
  116. package/form-item-config-provider/index.mjs +1 -1
  117. package/form-item-group/index.mjs +4 -4
  118. package/form-item-group/style.css +1 -1
  119. package/form-radio-group/index.mjs +37 -37
  120. package/form-radio-group/style.css +1 -1
  121. package/form-select/index.mjs +4 -4
  122. package/form-switch/index.mjs +3 -3
  123. package/form-textarea/index.mjs +3 -3
  124. package/form-view/index.mjs +7 -7
  125. package/form-view/style.css +1 -1
  126. package/fy-array/index.mjs +9 -9
  127. package/fy-array/style.css +1 -1
  128. package/fy-article/index.mjs +7 -7
  129. package/fy-article/style.css +1 -1
  130. package/fy-cascader/index.mjs +2 -2
  131. package/fy-checkbox/index.mjs +6 -6
  132. package/fy-checkbox/style.css +1 -1
  133. package/fy-code/index.mjs +2 -2
  134. package/fy-curd/index.mjs +9 -9
  135. package/fy-curd/style.css +1 -1
  136. package/fy-date/index.mjs +8 -8
  137. package/fy-date/style.css +1 -1
  138. package/fy-draggable/index.mjs +2 -2
  139. package/fy-draggable/style.css +1 -1
  140. package/fy-dynamic/index.mjs +13 -13
  141. package/fy-dynamic/style.css +1 -1
  142. package/fy-empty/index.mjs +10 -10
  143. package/fy-empty/style.css +1 -1
  144. package/fy-form/index.mjs +42 -42
  145. package/fy-form/style.css +1 -1
  146. package/fy-form-design/index.mjs +36 -36
  147. package/fy-form-design/style.css +1 -1
  148. package/fy-input/index.mjs +2 -2
  149. package/fy-input-color/index.mjs +2 -2
  150. package/fy-input-icon/index.mjs +5 -5
  151. package/fy-input-icon/style.css +1 -1
  152. package/fy-input-map/index.mjs +8 -8
  153. package/fy-input-map/style.css +1 -1
  154. package/fy-input-number/index.mjs +2 -2
  155. package/fy-input-table/index.mjs +2 -2
  156. package/fy-input-table/style.css +1 -1
  157. package/fy-input-tree/index.mjs +6 -6
  158. package/fy-input-tree/style.css +1 -1
  159. package/fy-progress/index.mjs +1 -1
  160. package/fy-radio/index.mjs +6 -6
  161. package/fy-radio/style.css +1 -1
  162. package/fy-rate/index.mjs +4 -4
  163. package/fy-rate/style.css +1 -1
  164. package/fy-select/index.mjs +27 -27
  165. package/fy-select/style.css +1 -1
  166. package/fy-slider/index.mjs +3 -3
  167. package/fy-switch/index.mjs +2 -2
  168. package/fy-tabs/index.mjs +1 -1
  169. package/fy-time/index.mjs +2 -2
  170. package/fy-title/index.mjs +14 -14
  171. package/fy-title/style.css +1 -1
  172. package/fy-tree/index.mjs +3 -3
  173. package/fy-tree/style.css +1 -1
  174. package/fy-u-editor/index.mjs +10 -10
  175. package/fy-u-editor/style.css +1 -1
  176. package/fy-upload/index.mjs +17 -17
  177. package/fy-upload/style.css +1 -1
  178. package/guide-steps/index.mjs +12 -12
  179. package/guide-steps/style.css +1 -1
  180. package/highlight-j-s/index.mjs +1 -1
  181. package/highlight-j-s/style.css +1 -1
  182. package/icon-card/index.mjs +9 -9
  183. package/icon-card/style.css +1 -1
  184. package/icon-temp/index.mjs +16 -16
  185. package/icon-temp/style.css +1 -1
  186. package/iframe-window/index.mjs +5 -5
  187. package/iframe-window/style.css +1 -1
  188. package/image-cropper/index.mjs +10 -10
  189. package/image-cropper/style.css +1 -1
  190. package/image-preview/index.mjs +7 -7
  191. package/image-preview/style.css +1 -1
  192. package/image-viewer/index.mjs +5 -5
  193. package/image-viewer/style.css +1 -1
  194. package/input-number/index.mjs +2 -2
  195. package/input-number/style.css +1 -1
  196. package/input-number-range/index.mjs +7 -7
  197. package/input-number-range/style.css +1 -1
  198. package/keep-view-alive/index.mjs +1 -1
  199. package/keyboard/index.mjs +12 -12
  200. package/keyboard/style.css +1 -1
  201. package/license/index.mjs +2 -2
  202. package/loading-view/index.mjs +5 -5
  203. package/loading-view/style.css +1 -1
  204. package/login/index.mjs +4 -4
  205. package/login/style.css +1 -1
  206. package/monaco-editor/index.mjs +2 -2
  207. package/name-avatar/index.mjs +6 -6
  208. package/name-avatar/style.css +1 -1
  209. package/nav-bar/index.mjs +8 -8
  210. package/nav-bar/style.css +1 -1
  211. package/not-implement/index.mjs +15 -15
  212. package/not-implement/style.css +1 -1
  213. package/notice/index.mjs +1 -1
  214. package/notice/style.css +1 -1
  215. package/package.json +1 -1
  216. package/page/index.mjs +8 -8
  217. package/page/style.css +1 -1
  218. package/page-header/index.mjs +6 -6
  219. package/page-header/style.css +1 -1
  220. package/page-index/index.mjs +19 -19
  221. package/page-index/style.css +1 -1
  222. package/page-index-top/index.mjs +1 -1
  223. package/page-skeleton/index.mjs +21 -21
  224. package/page-skeleton/style.css +1 -1
  225. package/page-skeleton-new/index.mjs +3 -3
  226. package/page-skeleton-new/style.css +1 -1
  227. package/pageable-table/index.mjs +12 -12
  228. package/pageable-table/style.css +1 -1
  229. package/pageable-view/index.mjs +28 -28
  230. package/pageable-view/style.css +1 -1
  231. package/photo-swipe/index.mjs +1 -1
  232. package/present-view/index.mjs +7 -7
  233. package/present-view/style.css +1 -1
  234. package/queue/index.mjs +4 -4
  235. package/queue/style.css +1 -1
  236. package/record-video/index.mjs +14 -14
  237. package/record-video/style.css +1 -1
  238. package/resize-observer/index.mjs +6 -6
  239. package/resize-observer/style.css +1 -1
  240. package/search/index.mjs +6 -6
  241. package/search/style.css +1 -1
  242. package/search-popover/index.mjs +6 -6
  243. package/search-popover/style.css +1 -1
  244. package/sign/index.mjs +31 -31
  245. package/sign/style.css +1 -1
  246. package/sign-panel/index.mjs +5 -5
  247. package/sign-panel/style.css +1 -1
  248. package/skeleton/index.mjs +10 -10
  249. package/skeleton/style.css +1 -1
  250. package/split-pane/index.mjs +18 -18
  251. package/split-pane/style.css +1 -1
  252. package/stateful/index.mjs +12 -12
  253. package/stateful/style.css +1 -1
  254. package/static-pageable-table/index.mjs +9 -9
  255. package/static-pageable-table/style.css +1 -1
  256. package/swiper/index.mjs +7 -7
  257. package/swiper/style.css +1 -1
  258. package/tab/index.mjs +2 -2
  259. package/tab/style.css +1 -1
  260. package/tab-item/index.mjs +2 -2
  261. package/table-column/index.mjs +1 -1
  262. package/table-view/index.mjs +6 -6
  263. package/table-view/style.css +1 -1
  264. package/tag-render/index.mjs +29 -29
  265. package/tag-render/style.css +1 -1
  266. package/text-ellipsis/index.mjs +8 -8
  267. package/text-ellipsis/style.css +1 -1
  268. package/tinymce-editor/index.mjs +67 -67
  269. package/tinymce-editor/style.css +1 -1
  270. package/toolbar/index.mjs +1 -1
  271. package/toolbar/style.css +1 -1
  272. package/toolbar-button/index.mjs +6 -6
  273. package/toolbar-button/style.css +1 -1
  274. package/verify/index.mjs +10 -10
  275. package/verify/style.css +1 -1
  276. package/vue-cron/index.mjs +1 -1
  277. package/vue-cron/style.css +1 -1
  278. package/vue-qr-code/index.mjs +1 -1
  279. package/vue-quill-editor/index.mjs +3 -3
  280. package/vue-quill-editor/style.css +1 -1
  281. package/vue-tags-input/index.mjs +1 -1
  282. package/vue-tags-input/style.css +1 -1
  283. package/vue-tree-select/index.mjs +1 -1
  284. package/vue-tree-select/style.css +1 -1
  285. package/vue-video-player/index.mjs +24 -24
  286. package/vue-video-player/style.css +1 -1
  287. package/watermark/index.mjs +11 -11
  288. package/watermark/style.css +1 -1
  289. package/web-types.json +1 -1
  290. package/x-input-tag/index.mjs +13 -13
  291. package/x-input-tag/style.css +1 -1
  292. /package/chunks/{confirmable-mixin.GqdyYLEM.mjs → confirmable-mixin.817b542f.mjs} +0 -0
  293. /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.61ad06b2.mjs} +0 -0
  294. /package/chunks/{index.LGsb2aDq.mjs → index.57f871af.mjs} +0 -0
  295. /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.41a066be.mjs} +0 -0
  296. /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.21cfffea.mjs} +0 -0
  297. /package/chunks/{packages.v6r2Hr7E.mjs → packages.1fc9ccba.mjs} +0 -0
  298. /package/chunks/{permission.E9kZbW48.mjs → permission.ce5d2121.mjs} +0 -0
  299. /package/chunks/{slot.j1uMmBnG.mjs → slot.4b391395.mjs} +0 -0
  300. /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.e2b9c6a4.mjs} +0 -0
  301. /package/chunks/{util.y1gUGRqi.mjs → util.ae730cde.mjs} +0 -0
  302. /package/chunks/{vueComponentNormalizer.JwmUNtgn.mjs → vueComponentNormalizer.446f5dc4.mjs} +0 -0
@@ -1,8 +1,8 @@
1
- var _ = Object.defineProperty, T = Object.defineProperties;
1
+ var $ = Object.defineProperty, T = Object.defineProperties;
2
2
  var w = Object.getOwnPropertyDescriptors;
3
3
  var d = Object.getOwnPropertySymbols;
4
4
  var f = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
5
- var u = (e, t, s) => t in e ? _(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, p = (e, t) => {
5
+ var u = (e, t, s) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, p = (e, t) => {
6
6
  for (var s in t || (t = {}))
7
7
  f.call(t, s) && u(e, s, t[s]);
8
8
  if (d)
@@ -12,33 +12,33 @@ var u = (e, t, s) => t in e ? _(e, t, { enumerable: !0, configurable: !0, writab
12
12
  }, b = (e, t) => T(e, w(t));
13
13
  var y = (e, t) => {
14
14
  var s = {};
15
- for (var i in e)
16
- f.call(e, i) && t.indexOf(i) < 0 && (s[i] = e[i]);
15
+ for (var l in e)
16
+ f.call(e, l) && t.indexOf(l) < 0 && (s[l] = e[l]);
17
17
  if (e != null && d)
18
- for (var i of d(e))
19
- t.indexOf(i) < 0 && m.call(e, i) && (s[i] = e[i]);
18
+ for (var l of d(e))
19
+ t.indexOf(l) < 0 && m.call(e, l) && (s[l] = e[l]);
20
20
  return s;
21
21
  };
22
- var h = (e, t, s) => new Promise((i, r) => {
23
- var g = (l) => {
22
+ var h = (e, t, s) => new Promise((l, r) => {
23
+ var g = (i) => {
24
24
  try {
25
- a(s.next(l));
25
+ a(s.next(i));
26
26
  } catch (n) {
27
27
  r(n);
28
28
  }
29
- }, o = (l) => {
29
+ }, o = (i) => {
30
30
  try {
31
- a(s.throw(l));
31
+ a(s.throw(i));
32
32
  } catch (n) {
33
33
  r(n);
34
34
  }
35
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(g, o);
35
+ }, a = (i) => i.done ? l(i.value) : Promise.resolve(i.value).then(g, o);
36
36
  a((s = s.apply(e, t)).next());
37
37
  });
38
38
  import { cloneDeep as S, merge as P } from "@web-utils/integrations/lodash";
39
39
  import { copy as x, hasOwn as C } from "@web-utils/core";
40
- import { f as v, h as O, i as E } from "../chunks/index.LGsb2aDq.mjs";
41
- import { n as M } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
40
+ import { f as v, h as O, i as E } from "../chunks/index.57f871af.mjs";
41
+ import { n as M } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
42
42
  var R = function() {
43
43
  var e = this, t = e.$createElement, s = e._self._c || t;
44
44
  return s("div", {
@@ -69,9 +69,9 @@ var R = function() {
69
69
  staticClass: "scroll-wrapper"
70
70
  }, [s("div", {
71
71
  staticClass: "cards-block"
72
- }, [e._t("prepend"), e._l(e.records, function(i) {
72
+ }, [e._t("prepend"), e._l(e.records, function(l) {
73
73
  return [e._t("default", null, {
74
- item: i
74
+ item: l
75
75
  })];
76
76
  }), e._t("append")], 2)])]), s("ElPagination", {
77
77
  staticClass: "flex-not-shrink",
@@ -87,8 +87,8 @@ var R = function() {
87
87
  layout: "total, prev, pager, next, jumper"
88
88
  },
89
89
  on: {
90
- "current-change": function(i) {
91
- e.page.page = i;
90
+ "current-change": function(l) {
91
+ e.page.page = l;
92
92
  }
93
93
  }
94
94
  })], 1)]);
@@ -281,7 +281,7 @@ const c = {
281
281
  delete this.page.model[e];
282
282
  },
283
283
  removeRule(e) {
284
- const t = this.page.filters.rules, s = t.findIndex((i) => i.field === e);
284
+ const t = this.page.filters.rules, s = t.findIndex((l) => l.field === e);
285
285
  s > -1 && t.splice(s, 1);
286
286
  },
287
287
  addFilter({ field: e, op: t, value: s }) {
@@ -307,18 +307,18 @@ const c = {
307
307
  },
308
308
  getPage() {
309
309
  return h(this, null, function* () {
310
- var l;
310
+ var i;
311
311
  if (C(this.$attrs, "data")) {
312
312
  this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
313
313
  return;
314
314
  }
315
315
  this.records = [];
316
316
  let e;
317
- const a = this.page, { filters: t } = a, s = y(a, ["filters"]), i = p({}, s);
318
- if ((l = t == null ? void 0 : t.rules) != null && l.length && (i.filters = { rules: t.rules }), this.api || this.url) {
317
+ const a = this.page, { filters: t } = a, s = y(a, ["filters"]), l = p({}, s);
318
+ if ((i = t == null ? void 0 : t.rules) != null && i.length && (l.filters = { rules: t.rules }), this.api || this.url) {
319
319
  this.tableStatus = c.loading;
320
320
  try {
321
- this.loading = !0, this.api && (e = yield this.api(i)), this.url && (e = yield this.method(this.url, i)), this.loading = !1;
321
+ this.loading = !0, this.api && (e = yield this.api(l)), this.url && (e = yield this.method(this.url, l)), this.loading = !1;
322
322
  } catch (n) {
323
323
  this.tableStatus = c.error, console.error(n), this.loading = !1;
324
324
  return;
@@ -350,7 +350,7 @@ const c = {
350
350
  e && (this.$refs.scroller.scrollTop = e), t && (this.$refs.scroller.scrollLeft = t);
351
351
  }
352
352
  }
353
- }, $ = {};
353
+ }, _ = {};
354
354
  var L = /* @__PURE__ */ M(
355
355
  F,
356
356
  R,
@@ -362,12 +362,12 @@ var L = /* @__PURE__ */ M(
362
362
  null
363
363
  );
364
364
  function A(e) {
365
- for (let t in $)
366
- this[t] = $[t];
365
+ for (let t in _)
366
+ this[t] = _[t];
367
367
  }
368
- const V = /* @__PURE__ */ function() {
368
+ const N = /* @__PURE__ */ function() {
369
369
  return L.exports;
370
370
  }();
371
371
  export {
372
- V as default
372
+ N as default
373
373
  };
@@ -1 +1 @@
1
- .pageable-table{flex:auto;height:100%;position:relative}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
1
+ .pageable-table{flex:auto;height:100%;position:relative}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
@@ -16,7 +16,7 @@ var u = (t, a, e) => new Promise((h, n) => {
16
16
  });
17
17
  import d from "photoswipe";
18
18
  import "photoswipe/dist/photoswipe.css";
19
- import { n as w } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
19
+ import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
20
20
  function f(t) {
21
21
  new d(t).init();
22
22
  }
@@ -14,11 +14,11 @@ var c = (t, e, o) => new Promise((r, s) => {
14
14
  }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
15
15
  a((o = o.apply(t, e)).next());
16
16
  });
17
- import { hasOwn as d, toStringArray as p, delay as v, isInContainer as w } from "@web-utils/core";
18
- import { merge as y } from "@web-utils/integrations/lodash";
19
- import _ from "@web-utils/component/resize-observer";
17
+ import { hasOwn as d, toStringArray as p, delay as v, isInContainer as _ } from "@web-utils/core";
18
+ import { merge as w } from "@web-utils/integrations/lodash";
19
+ import y from "@web-utils/component/resize-observer";
20
20
  import "@web-utils/component/resize-observer/style.css";
21
- import { n as g } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
21
+ import { n as g } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
22
22
  var x = function() {
23
23
  var t = this, e = t.$createElement, o = t._self._c || e;
24
24
  return o("div", {
@@ -241,7 +241,7 @@ const b = [
241
241
  }, k = {
242
242
  name: "PresentView",
243
243
  components: {
244
- ResizeObserver: _
244
+ ResizeObserver: y
245
245
  },
246
246
  inject: {
247
247
  flowContext: {
@@ -288,7 +288,7 @@ const b = [
288
288
  },
289
289
  toolbarProps() {
290
290
  var r;
291
- const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = y({}, this.toolbarAttrs, t);
291
+ const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = w({}, this.toolbarAttrs, t);
292
292
  return o.buttons = e || ["back"], o.buttons = p(o.buttons), o;
293
293
  }
294
294
  },
@@ -341,7 +341,7 @@ const b = [
341
341
  return c(this, null, function* () {
342
342
  if (this.showNav) {
343
343
  for (let t = 0; t < this.tabs.length; t++)
344
- if (w(this.tabs[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
344
+ if (_(this.tabs[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
345
345
  this.activeIndex = t;
346
346
  break;
347
347
  }
@@ -1 +1 @@
1
- .form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;position:relative;font-family:element-icons!important}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-top:-10px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}
1
+ .form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;position:relative;font-family:element-icons!important}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-top:-10px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}
package/queue/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
2
- var s = function() {
1
+ import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
+ var o = function() {
3
3
  var e = this, t = e.$createElement, n = e._self._c || t;
4
4
  return n("div", {
5
5
  class: ["avue-queue", {
@@ -49,9 +49,9 @@ const l = {
49
49
  }
50
50
  }
51
51
  }, a = {};
52
- var u = /* @__PURE__ */ o(
52
+ var u = /* @__PURE__ */ s(
53
53
  l,
54
- s,
54
+ o,
55
55
  i,
56
56
  !1,
57
57
  c,
package/queue/style.css CHANGED
@@ -1 +1 @@
1
- .avue-queue--block{display:inline-block}
1
+ .avue-queue--block{display:inline-block}
@@ -1,5 +1,5 @@
1
- import { s } from "../chunks/util.y1gUGRqi.mjs";
2
- import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
1
+ import { s as r } from "../chunks/util.ae730cde.mjs";
2
+ import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  let n = class {
4
4
  /**
5
5
  * 构造函数
@@ -20,15 +20,15 @@ let n = class {
20
20
  audio: !0,
21
21
  video: !0
22
22
  // video: { width: this.videoWidth, height: this.videoHeight }
23
- }).then((r) => {
24
- this.video && ("srcObject" in this.video ? this.video.srcObject = r : this.video.src = window.URL.createObjectURL(r), this.video.addEventListener("loadmetadata", () => {
23
+ }).then((s) => {
24
+ this.video && ("srcObject" in this.video ? this.video.srcObject = s : this.video.src = window.URL.createObjectURL(s), this.video.addEventListener("loadmetadata", () => {
25
25
  var d;
26
26
  (d = this.video) == null || d.play();
27
- }), this.mediaRecorder = new MediaRecorder(r), this.mediaRecorder.addEventListener("dataavailable", (d) => {
27
+ }), this.mediaRecorder = new MediaRecorder(s), this.mediaRecorder.addEventListener("dataavailable", (d) => {
28
28
  this.chunks.push(d.data);
29
29
  }), e(!0));
30
- }).catch((r) => {
31
- i(r);
30
+ }).catch((s) => {
31
+ i(s);
32
32
  });
33
33
  });
34
34
  }
@@ -109,19 +109,19 @@ const l = {
109
109
  computed: {
110
110
  styleName() {
111
111
  return {
112
- width: s(this.width)
112
+ width: r(this.width)
113
113
  };
114
114
  },
115
115
  imgStyleName() {
116
116
  return {
117
- width: s(this.width / 2)
117
+ width: r(this.width / 2)
118
118
  };
119
119
  },
120
120
  borderStyleName() {
121
121
  return {
122
- width: s(this.width / 15),
123
- height: s(this.width / 15),
124
- borderWidth: s(5)
122
+ width: r(this.width / 15),
123
+ height: r(this.width / 15),
124
+ borderWidth: r(5)
125
125
  };
126
126
  }
127
127
  },
@@ -156,12 +156,12 @@ var v = /* @__PURE__ */ o(
156
156
  c,
157
157
  h,
158
158
  !1,
159
- m,
159
+ u,
160
160
  null,
161
161
  null,
162
162
  null
163
163
  );
164
- function m(t) {
164
+ function u(t) {
165
165
  for (let e in a)
166
166
  this[e] = a[e];
167
167
  }
@@ -1 +1 @@
1
- .avue-video{width:500px;position:relative;overflow:hidden}.avue-video__border span{color:#0073eb;border-style:solid;border-width:4px;width:30px;height:30px;position:absolute}.avue-video__border span:first-child{border-bottom:0;border-right:0;top:15px;left:15px}.avue-video__border span:nth-child(2){border-bottom:0;border-left:0;top:15px;right:15px}.avue-video__border span:nth-child(3){border-top:0;border-right:0;bottom:15px;left:15px}.avue-video__border span:nth-child(4){border-top:0;border-left:0;bottom:15px;right:15px}.avue-video__img{width:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
1
+ .avue-video{width:500px;position:relative;overflow:hidden}.avue-video__border span{color:#0073eb;border-style:solid;border-width:4px;width:30px;height:30px;position:absolute}.avue-video__border span:first-child{border-bottom:0;border-right:0;top:15px;left:15px}.avue-video__border span:nth-child(2){border-bottom:0;border-left:0;top:15px;right:15px}.avue-video__border span:nth-child(3){border-top:0;border-right:0;bottom:15px;left:15px}.avue-video__border span:nth-child(4){border-top:0;border-left:0;bottom:15px;right:15px}.avue-video__img{width:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
@@ -1,5 +1,5 @@
1
- import { j as o } from "../chunks/index.LGsb2aDq.mjs";
2
- import { n as h } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
1
+ import { j as o } from "../chunks/index.57f871af.mjs";
2
+ import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var a = function() {
4
4
  var e = this, t = e.$createElement, r = e._self._c || t;
5
5
  return r("div", {
@@ -45,18 +45,18 @@ var d = /* @__PURE__ */ h(
45
45
  a,
46
46
  l,
47
47
  !1,
48
- f,
48
+ _,
49
49
  null,
50
50
  null,
51
51
  null
52
52
  );
53
- function f(e) {
53
+ function _(e) {
54
54
  for (let t in n)
55
55
  this[t] = n[t];
56
56
  }
57
- const u = /* @__PURE__ */ function() {
57
+ const m = /* @__PURE__ */ function() {
58
58
  return d.exports;
59
59
  }();
60
60
  export {
61
- u as default
61
+ m as default
62
62
  };
@@ -1 +1 @@
1
- .resize-observer{z-index:-1;opacity:0;pointer-events:none;background-color:transparent;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer>object{z-index:-1;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}
1
+ .resize-observer{z-index:-1;opacity:0;pointer-events:none;background-color:transparent;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer>object{z-index:-1;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}
package/search/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { a as i } from "../chunks/util.y1gUGRqi.mjs";
2
- import { i as o } from "../chunks/init.6oF7OO2W.mjs";
3
- import { isBlank as n } from "@web-utils/core";
4
- import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
1
+ import { a as i } from "../chunks/util.ae730cde.mjs";
2
+ import { i as n } from "../chunks/init.47f219b4.mjs";
3
+ import { isBlank as o } from "@web-utils/core";
4
+ import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
5
  var h = function() {
6
6
  var t = this, e = t.$createElement, r = t._self._c || e;
7
7
  return r("ElRow", {
@@ -41,7 +41,7 @@ var h = function() {
41
41
  }, u = [];
42
42
  const c = {
43
43
  name: "Search",
44
- mixins: [o],
44
+ mixins: [n],
45
45
  props: {
46
46
  value: [String, Object, Number, Boolean, Array]
47
47
  },
@@ -103,7 +103,7 @@ const c = {
103
103
  dataFormat() {
104
104
  this.propOption.forEach((t) => {
105
105
  const e = t.prop;
106
- n(this.form[e]) && this.$set(this.form, e, t.multiple === !1 ? "" : []);
106
+ o(this.form[e]) && this.$set(this.form, e, t.multiple === !1 ? "" : []);
107
107
  });
108
108
  },
109
109
  getActive(t, e) {
package/search/style.css CHANGED
@@ -1 +1 @@
1
- .avue-search{padding:0 20px}.avue-search__item{border-bottom:1px dashed #e8e8e8;align-items:flex-start;padding:20px 0 10px;display:flex}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{color:rgba(0,0,0,.65);white-space:nowrap;cursor:pointer;margin-bottom:12px;margin-right:24px;padding:0 12px;font-size:14px;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{color:#fff;opacity:.85}.avue-search__title{box-sizing:border-box;text-align:right;width:120px;margin:0;padding:0 20px;font-size:14px;display:inline-block}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-search__content .el-tag{margin-bottom:10px;margin-right:10px}
1
+ .avue-search{padding:0 20px}.avue-search__item{border-bottom:1px dashed #e8e8e8;align-items:flex-start;padding:20px 0 10px;display:flex}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{color:rgba(0,0,0,.65);white-space:nowrap;cursor:pointer;margin-bottom:12px;margin-right:24px;padding:0 12px;font-size:14px;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{color:#fff;opacity:.85}.avue-search__title{box-sizing:border-box;text-align:right;width:120px;margin:0;padding:0 20px;font-size:14px;display:inline-block}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-search__content .el-tag{margin-bottom:10px;margin-right:10px}
@@ -16,8 +16,8 @@ var c = (t, r, e) => new Promise((s, o) => {
16
16
  });
17
17
  import { copy as d, isInContainer as p } from "@web-utils/core";
18
18
  import v from "element-ui/lib/utils/clickoutside";
19
- import { z as f } from "../chunks/util.y1gUGRqi.mjs";
20
- import { n as m } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
19
+ import { z as f } from "../chunks/util.ae730cde.mjs";
20
+ import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
21
21
  var w = function() {
22
22
  var t = this, r = t.$createElement, e = t._self._c || r;
23
23
  return e("div", {
@@ -292,7 +292,7 @@ var w = function() {
292
292
  "font-size": "12px"
293
293
  }
294
294
  }, [t._v("关闭")])])]);
295
- }, k = [function() {
295
+ }, y = [function() {
296
296
  var t = this, r = t.$createElement, e = t._self._c || r;
297
297
  return e("div", {
298
298
  staticClass: "search-icon"
@@ -300,7 +300,7 @@ var w = function() {
300
300
  staticClass: "fa fa-table"
301
301
  })]);
302
302
  }];
303
- const y = {
303
+ const k = {
304
304
  name: "SearchPopover",
305
305
  directives: {
306
306
  ClickOutside: v
@@ -391,9 +391,9 @@ const y = {
391
391
  }
392
392
  }, h = {};
393
393
  var x = /* @__PURE__ */ m(
394
- y,
395
- w,
396
394
  k,
395
+ w,
396
+ y,
397
397
  !1,
398
398
  g,
399
399
  null,
@@ -1 +1 @@
1
- .search-popover{z-index:100;background-color:#f5f6f7;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUeNpi/PTpEwMY8PLyMsFZnz9/ZoKzgAzG////Q1hAABBgAFeiDto+NxIZAAAAAElFTkSuQmCC);background-repeat:repeat;border:1px solid #1989fa;border-radius:4px;flex-direction:column;width:560px;height:500px;display:inline-flex;position:fixed;top:0;left:0;overflow:hidden;transform:translate(calc(50vw - 280px),15%)}.search-popover .footer-tips{text-align:left;border-top:1px solid #1989fa;padding:10px}.search-popover .keyboard-key{background:linear-gradient(-225deg,#d5dbe4,#f8f8f8);border-radius:2px;justify-content:center;align-items:center;width:20px;height:18px;margin-right:.4em;padding-bottom:2px;display:inline-flex;box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4)}.search-popover .search-input{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:1px solid #1989fa;border-radius:4px;outline:none;width:100%;height:46px;padding:10px}.search-popover .search-li{padding:10px}.search-popover .search-icon{color:#969faf;flex-shrink:0;font-size:24px}.search-popover .search-item{box-sizing:border-box;color:#000;background-color:#fff;border-radius:4px;align-items:center;padding:10px;text-decoration:none;display:flex;overflow-x:hidden;box-shadow:0 1px 3px #d4d9e1}.search-popover .search-item .search-action{display:none}.search-popover .search-item .url{color:#969faf;white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow-x:hidden}.search-popover .search-item.active{color:#fff;background-color:#1989fa}.search-popover .search-item.active .url{color:#fff}.search-popover .search-item.active .search-action{display:inline-block}.search-popover .search-item.active .search-icon{color:#fff}
1
+ .search-popover{z-index:100;background-color:#f5f6f7;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUeNpi/PTpEwMY8PLyMsFZnz9/ZoKzgAzG////Q1hAABBgAFeiDto+NxIZAAAAAElFTkSuQmCC);background-repeat:repeat;border:1px solid #1989fa;border-radius:4px;flex-direction:column;width:560px;height:500px;display:inline-flex;position:fixed;top:0;left:0;overflow:hidden;transform:translate(calc(50vw - 280px),15%)}.search-popover .footer-tips{text-align:left;border-top:1px solid #1989fa;padding:10px}.search-popover .keyboard-key{background:linear-gradient(-225deg,#d5dbe4,#f8f8f8);border-radius:2px;justify-content:center;align-items:center;width:20px;height:18px;margin-right:.4em;padding-bottom:2px;display:inline-flex;box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4)}.search-popover .search-input{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;border:1px solid #1989fa;border-radius:4px;outline:none;width:100%;height:46px;padding:10px}.search-popover .search-li{padding:10px}.search-popover .search-icon{color:#969faf;flex-shrink:0;font-size:24px}.search-popover .search-item{box-sizing:border-box;color:#000;background-color:#fff;border-radius:4px;align-items:center;padding:10px;text-decoration:none;display:flex;overflow-x:hidden;box-shadow:0 1px 3px #d4d9e1}.search-popover .search-item .search-action{display:none}.search-popover .search-item .url{color:#969faf;white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow-x:hidden}.search-popover .search-item.active{color:#fff;background-color:#1989fa}.search-popover .search-item.active .url{color:#fff}.search-popover .search-item.active .search-action{display:inline-block}.search-popover .search-item.active .search-icon{color:#fff}
package/sign/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { s as g } from "../chunks/util.y1gUGRqi.mjs";
2
- import { n as p } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
3
- var x = function() {
4
- var t = this, s = t.$createElement, n = t._self._c || s;
5
- return n("div", {
1
+ import { s as g } from "../chunks/util.ae730cde.mjs";
2
+ import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ var _ = function() {
4
+ var t = this, n = t.$createElement, s = t._self._c || n;
5
+ return s("div", {
6
6
  staticClass: "avue-sign",
7
7
  style: t.styleName
8
- }, [n("canvas", {
8
+ }, [s("canvas", {
9
9
  ref: "canvas",
10
10
  staticClass: "avue-sige__canvas",
11
11
  attrs: {
@@ -13,9 +13,9 @@ var x = function() {
13
13
  height: t.height
14
14
  }
15
15
  })]);
16
- }, y = [];
17
- function _(t, s, n, r, e, o) {
18
- t.save(), t.fillStyle = e, t.translate(s, n), t.rotate(Math.PI + o), t.beginPath();
16
+ }, x = [];
17
+ function y(t, n, s, r, e, o) {
18
+ t.save(), t.fillStyle = e, t.translate(n, s), t.rotate(Math.PI + o), t.beginPath();
19
19
  let a = Math.sin(0), d = Math.cos(0);
20
20
  const f = Math.PI / 5 * 4;
21
21
  for (let h = 0; h < 5; h++)
@@ -56,26 +56,26 @@ const M = {
56
56
  this.init();
57
57
  },
58
58
  methods: {
59
- getStar(t, s, n) {
59
+ getStar(t, n, s) {
60
60
  const r = this.canvas, e = this.context, o = r.width / 2, a = r.height / 2;
61
- e.lineWidth = 7, e.strokeStyle = "#f00", e.beginPath(), e.arc(o, a, 110, 0, Math.PI * 2), e.stroke(), _(e, o, a, 20, "#f00", 0), e.font = "18px 黑体", e.textBaseline = "middle", e.textAlign = "center", e.lineWidth = 1, e.strokeStyle = "#f00", e.strokeText(t, o, a + 50), e.font = "14px 黑体", e.textBaseline = "middle", e.textAlign = "center", e.lineWidth = 1, e.strokeStyle = "#f00", e.strokeText(n, o, a + 80), e.translate(o, a), e.font = "22px 黑体";
62
- const d = s.length, f = 4 * Math.PI / (3 * (d - 1)), h = s.split("");
61
+ e.lineWidth = 7, e.strokeStyle = "#f00", e.beginPath(), e.arc(o, a, 110, 0, Math.PI * 2), e.stroke(), y(e, o, a, 20, "#f00", 0), e.font = "18px 黑体", e.textBaseline = "middle", e.textAlign = "center", e.lineWidth = 1, e.strokeStyle = "#f00", e.strokeText(t, o, a + 50), e.font = "14px 黑体", e.textBaseline = "middle", e.textAlign = "center", e.lineWidth = 1, e.strokeStyle = "#f00", e.strokeText(s, o, a + 80), e.translate(o, a), e.font = "22px 黑体";
62
+ const d = n.length, f = 4 * Math.PI / (3 * (d - 1)), h = n.split("");
63
63
  let l;
64
64
  for (let i = 0; i < d; i++)
65
65
  l = h[i], i === 0 ? e.rotate(5 * Math.PI / 6) : e.rotate(f), e.save(), e.translate(90, 0), e.rotate(Math.PI / 2), e.strokeText(l, 0, 0), e.restore(), e.save();
66
66
  this.disabled = !0;
67
67
  },
68
- submit(t, s) {
69
- return t || (t = this.width), s || (s = this.height), this.canvas.toDataURL("i/png");
68
+ submit(t, n) {
69
+ return t || (t = this.width), n || (n = this.height), this.canvas.toDataURL("i/png");
70
70
  },
71
71
  clear() {
72
72
  this.linex = [], this.liney = [], this.linen = [], this.disabled = !1;
73
73
  },
74
74
  init() {
75
75
  this.canvas = this.$refs.canvas;
76
- const t = this.canvas, s = this;
76
+ const t = this.canvas, n = this;
77
77
  typeof document.ontouchstart != "undefined" ? (t.addEventListener("touchmove", d, !1), t.addEventListener("touchstart", f, !1), t.addEventListener("touchend", h, !1)) : (t.addEventListener("mousemove", d, !1), t.addEventListener("mousedown", f, !1), t.addEventListener("mouseup", h, !1), t.addEventListener("mouseleave", h, !1)), this.context = t.getContext("2d");
78
- const n = this.context;
78
+ const s = this.context;
79
79
  this.linex = [], this.liney = [], this.linen = [];
80
80
  let r = 1, e = 30, o = 0;
81
81
  function a(l, i) {
@@ -87,33 +87,33 @@ const M = {
87
87
  };
88
88
  }
89
89
  function d(l) {
90
- if (s.disabled)
90
+ if (n.disabled)
91
91
  return;
92
92
  const i = a(t, l).x, u = a(t, l).y;
93
93
  if (o === 1) {
94
- s.linex.push(i), s.liney.push(u), s.linen.push(1), n.save(), n.translate(n.canvas.width / 2, n.canvas.height / 2), n.translate(-n.canvas.width / 2, -n.canvas.height / 2), n.beginPath(), n.lineWidth = 2;
95
- for (let c = 1; c < s.linex.length; c++)
96
- r = s.linex[c], e = s.liney[c], s.linen[c] === 0 ? n.moveTo(r, e) : n.lineTo(r, e);
97
- n.shadowBlur = 10, n.stroke(), n.restore();
94
+ n.linex.push(i), n.liney.push(u), n.linen.push(1), s.save(), s.translate(s.canvas.width / 2, s.canvas.height / 2), s.translate(-s.canvas.width / 2, -s.canvas.height / 2), s.beginPath(), s.lineWidth = 2;
95
+ for (let c = 1; c < n.linex.length; c++)
96
+ r = n.linex[c], e = n.liney[c], n.linen[c] === 0 ? s.moveTo(r, e) : s.lineTo(r, e);
97
+ s.shadowBlur = 10, s.stroke(), s.restore();
98
98
  }
99
99
  l.preventDefault();
100
100
  }
101
101
  function f(l) {
102
- if (s.disabled)
102
+ if (n.disabled)
103
103
  return;
104
104
  const i = a(t, l).x, u = a(t, l).y;
105
- o = 1, s.linex.push(i), s.liney.push(u), s.linen.push(0);
105
+ o = 1, n.linex.push(i), n.liney.push(u), n.linen.push(0);
106
106
  }
107
107
  function h() {
108
- s.disabled || (o = 0);
108
+ n.disabled || (o = 0);
109
109
  }
110
110
  }
111
111
  }
112
- }, m = {};
113
- var w = /* @__PURE__ */ p(
112
+ }, p = {};
113
+ var w = /* @__PURE__ */ m(
114
114
  M,
115
+ _,
115
116
  x,
116
- y,
117
117
  !1,
118
118
  b,
119
119
  null,
@@ -121,12 +121,12 @@ var w = /* @__PURE__ */ p(
121
121
  null
122
122
  );
123
123
  function b(t) {
124
- for (let s in m)
125
- this[s] = m[s];
124
+ for (let n in p)
125
+ this[n] = p[n];
126
126
  }
127
- const T = /* @__PURE__ */ function() {
127
+ const S = /* @__PURE__ */ function() {
128
128
  return w.exports;
129
129
  }();
130
130
  export {
131
- T as default
131
+ S as default
132
132
  };
package/sign/style.css CHANGED
@@ -1 +1 @@
1
- .avue-sign{border:1px solid #eee;padding:5px}.avue-sign__canvas{border:1px solid #ccc}
1
+ .avue-sign{border:1px solid #eee;padding:5px}.avue-sign__canvas{border:1px solid #ccc}
@@ -1,4 +1,4 @@
1
- import { n } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
1
+ import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
2
  var o = function() {
3
3
  var t = this, e = t.$createElement, i = t._self._c || e;
4
4
  return i("div", {
@@ -116,8 +116,8 @@ var o = function() {
116
116
  }, [t._v(" " + t._s(t.disabled ? "未签名" : "点击进行签名") + " ")]), t.disabled ? t._e() : i("i", {
117
117
  staticClass: "el-icon-edit-outline sign-edit-icon"
118
118
  })])]);
119
- }, c = [];
120
- const l = {
119
+ }, l = [];
120
+ const c = {
121
121
  name: "SignPanel",
122
122
  props: {
123
123
  width: {
@@ -234,9 +234,9 @@ const l = {
234
234
  }
235
235
  }, a = {};
236
236
  var h = /* @__PURE__ */ n(
237
- l,
238
- o,
239
237
  c,
238
+ o,
239
+ l,
240
240
  !1,
241
241
  r,
242
242
  null,
@@ -1 +1 @@
1
- .sign-panel{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;justify-content:center;align-items:flex-start;width:100%}.sign-panel .sign-canvas{background:rgba(255,255,155,0);border:1px solid #ccc;width:100%;max-width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-tool-bar{border:1px solid #ccc;border-top:none;width:100%;display:flex}.sign-panel .sign-tips{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.sign-panel .sign-button{text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ebeef5;padding:6px;line-height:1.6}.sign-panel .sign-button:hover{color:#1989fa;background-color:#d0d4de}.sign-panel .sign-button:nth-child(n){border-right:1px solid #ccc}.sign-panel .sign-button:last-child{border:none!important}.sign-panel .sign-watermark{color:#eee;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-view{background-color:#fff;border:1px solid #eee;justify-content:center;align-items:center;min-width:212px;height:80px;display:flex;position:relative}.sign-panel .sign-edit-icon{position:absolute;bottom:4px;right:4px}.sign-panel .sign-image{min-width:160px;height:80px;display:inline-block}.sign-panel .sign-edit{background-color:#fff;flex-direction:column;align-items:center;max-width:100%;display:flex}.sign-panel .sign-draw-area{max-width:100%;position:relative}
1
+ .sign-panel{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:#fff;justify-content:center;align-items:flex-start;width:100%}.sign-panel .sign-canvas{background:rgba(255,255,155,0);border:1px solid #ccc;width:100%;max-width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-tool-bar{border:1px solid #ccc;border-top:none;width:100%;display:flex}.sign-panel .sign-tips{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.sign-panel .sign-button{text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ebeef5;padding:6px;line-height:1.6}.sign-panel .sign-button:hover{color:#1989fa;background-color:#d0d4de}.sign-panel .sign-button:nth-child(n){border-right:1px solid #ccc}.sign-panel .sign-button:last-child{border:none!important}.sign-panel .sign-watermark{color:#eee;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.sign-panel .sign-view{background-color:#fff;border:1px solid #eee;justify-content:center;align-items:center;min-width:212px;height:80px;display:flex;position:relative}.sign-panel .sign-edit-icon{position:absolute;bottom:4px;right:4px}.sign-panel .sign-image{min-width:160px;height:80px;display:inline-block}.sign-panel .sign-edit{background-color:#fff;flex-direction:column;align-items:center;max-width:100%;display:flex}.sign-panel .sign-draw-area{max-width:100%;position:relative}