@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,35 +1,35 @@
1
- var v = Object.defineProperty;
1
+ var f = Object.defineProperty;
2
2
  var c = Object.getOwnPropertySymbols;
3
3
  var m = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
4
- var d = (e, i, t) => i in e ? v(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, u = (e, i) => {
4
+ var h = (e, i, t) => i in e ? f(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, u = (e, i) => {
5
5
  for (var t in i || (i = {}))
6
- m.call(i, t) && d(e, t, i[t]);
6
+ m.call(i, t) && h(e, t, i[t]);
7
7
  if (c)
8
8
  for (var t of c(i))
9
- g.call(i, t) && d(e, t, i[t]);
9
+ g.call(i, t) && h(e, t, i[t]);
10
10
  return e;
11
11
  };
12
- var h = (e, i, t) => new Promise((a, r) => {
13
- var n = (s) => {
12
+ var d = (e, i, t) => new Promise((a, n) => {
13
+ var r = (s) => {
14
14
  try {
15
15
  o(t.next(s));
16
16
  } catch (p) {
17
- r(p);
17
+ n(p);
18
18
  }
19
19
  }, l = (s) => {
20
20
  try {
21
21
  o(t.throw(s));
22
22
  } catch (p) {
23
- r(p);
23
+ n(p);
24
24
  }
25
- }, o = (s) => s.done ? a(s.value) : Promise.resolve(s.value).then(n, l);
25
+ }, o = (s) => s.done ? a(s.value) : Promise.resolve(s.value).then(r, l);
26
26
  o((t = t.apply(e, i)).next());
27
27
  });
28
28
  import "video.js/dist/video-js.min.css";
29
- import f from "video.js";
29
+ import v from "video.js";
30
30
  import _ from "video.js/dist/lang/zh-CN.json";
31
31
  import { defaults as b } from "lodash-es";
32
- import { n as O } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
32
+ import { n as O } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
33
33
  var $ = function() {
34
34
  var e = this, i = e.$createElement, t = e._self._c || i;
35
35
  return t("div", {
@@ -44,7 +44,7 @@ var $ = function() {
44
44
  }
45
45
  })]);
46
46
  }, x = [];
47
- f.addLanguage("zh", _);
47
+ v.addLanguage("zh", _);
48
48
  const A = [
49
49
  "loadeddata",
50
50
  "canplay",
@@ -145,20 +145,20 @@ const A = [
145
145
  },
146
146
  methods: {
147
147
  initialize() {
148
- return h(this, null, function* () {
149
- var n, l;
150
- if (yield this.$nextTick(), !((l = (n = this.videoOptions) == null ? void 0 : n.sources) != null && l.length))
148
+ return d(this, null, function* () {
149
+ var r, l;
150
+ if (yield this.$nextTick(), !((l = (r = this.videoOptions) == null ? void 0 : r.sources) != null && l.length))
151
151
  return;
152
152
  if (this.player) {
153
153
  this.player.options(this.videoOptions);
154
154
  return;
155
155
  }
156
156
  this.playsInline && (this.$refs.video.setAttribute("playsinline", this.playsInline), this.$refs.video.setAttribute("webkit-playsinline", this.playsInline), this.$refs.video.setAttribute("x5-playsinline", this.playsInline), this.$refs.video.setAttribute("x5-video-player-type", "h5"), this.$refs.video.setAttribute("x5-video-player-fullscreen", !1)), this.crossOrigin && (this.$refs.video.crossOrigin = this.crossOrigin, this.$refs.video.setAttribute("crossOrigin", this.crossOrigin));
157
- const { events: e, globalEvents: i, volume: t } = this, a = (...o) => this.$emit(...o), r = A.concat(e).concat(i);
158
- this.player = f(this.$refs.video, this.videoOptions, function() {
157
+ const { events: e, globalEvents: i, volume: t } = this, a = (...o) => this.$emit(...o), n = A.concat(e).concat(i);
158
+ this.player = v(this.$refs.video, this.videoOptions, function() {
159
159
  this.volume(t);
160
- for (let o = 0; o < r.length; o++) {
161
- const s = r[o];
160
+ for (let o = 0; o < n.length; o++) {
161
+ const s = n[o];
162
162
  this.on(s, () => a(s, this));
163
163
  }
164
164
  this.on("timeupdate", () => a("timeupdate", this.currentTime(), this)), a("ready", this);
@@ -166,29 +166,29 @@ const A = [
166
166
  });
167
167
  },
168
168
  dispose() {
169
- return h(this, null, function* () {
169
+ return d(this, null, function* () {
170
170
  var e;
171
171
  (e = this.player) != null && e.dispose && (this.player.techName_ !== "Flash" && this.player.pause(), this.player.dispose(), this.player = null);
172
172
  });
173
173
  }
174
174
  }
175
175
  }, y = {};
176
- var z = /* @__PURE__ */ O(
176
+ var V = /* @__PURE__ */ O(
177
177
  T,
178
178
  $,
179
179
  x,
180
180
  !1,
181
- E,
181
+ z,
182
182
  null,
183
183
  null,
184
184
  null
185
185
  );
186
- function E(e) {
186
+ function z(e) {
187
187
  for (let i in y)
188
188
  this[i] = y[i];
189
189
  }
190
190
  const B = /* @__PURE__ */ function() {
191
- return z.exports;
191
+ return V.exports;
192
192
  }();
193
193
  export {
194
194
  B as default
@@ -1 +1 @@
1
- .video-player-box{width:100%;height:100%}.video-player-box .video-js{background-color:#404040;width:100%;height:100%}
1
+ .video-player-box{width:100%;height:100%}.video-player-box .video-js{background-color:#404040;width:100%;height:100%}
@@ -2,16 +2,16 @@ var d = Object.defineProperty, g = Object.defineProperties;
2
2
  var y = Object.getOwnPropertyDescriptors;
3
3
  var s = Object.getOwnPropertySymbols;
4
4
  var x = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
- var c = (n, t, e) => t in n ? d(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, o = (n, t) => {
5
+ var u = (n, t, e) => t in n ? d(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, o = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
- x.call(t, e) && c(n, e, t[e]);
7
+ x.call(t, e) && u(n, e, t[e]);
8
8
  if (s)
9
9
  for (var e of s(t))
10
- v.call(t, e) && c(n, e, t[e]);
10
+ v.call(t, e) && u(n, e, t[e]);
11
11
  return n;
12
- }, u = (n, t) => g(n, y(t));
13
- import { g as b } from "../chunks/index.LGsb2aDq.mjs";
14
- import { n as S } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
12
+ }, c = (n, t) => g(n, y(t));
13
+ import { g as b } from "../chunks/index.57f871af.mjs";
14
+ import { n as S } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
15
15
  const k = {
16
16
  name: "Watermark",
17
17
  functional: !0,
@@ -59,13 +59,13 @@ const k = {
59
59
  default: "rgba(0,0,0,0)"
60
60
  }
61
61
  },
62
- render(n, { props: { width: t, height: e, text: p, backgroundColor: f, rotate: m, color: _ }, data: l }) {
62
+ render(n, { props: { width: t, height: e, text: _, backgroundColor: p, rotate: f, color: m }, data: l }) {
63
63
  const a = document.createElement("canvas");
64
64
  a.width = t, a.height = e;
65
65
  const r = a.getContext("2d");
66
- return r.font = "15px Verdana", r.fillStyle = f, r.fillRect(0, 0, t, e), r.translate(t / 2, e / 2), r.rotate(m * Math.PI / 180), r.fillStyle = _, r.textAlign = "center", r.textBaseline = "middle", r.fillText(p, 0, 0), n("div", {
66
+ return r.font = "15px Verdana", r.fillStyle = p, r.fillRect(0, 0, t, e), r.translate(t / 2, e / 2), r.rotate(f * Math.PI / 180), r.fillStyle = m, r.textAlign = "center", r.textBaseline = "middle", r.fillText(_, 0, 0), n("div", {
67
67
  class: b(l.class, `watermark ${l.staticClass || ""}`),
68
- style: u(o(o({}, l.style || {}), l.staticStyle || {}), {
68
+ style: c(o(o({}, l.style || {}), l.staticStyle || {}), {
69
69
  background: `url(${a.toDataURL("image/png")}) left top repeat`
70
70
  })
71
71
  });
@@ -78,12 +78,12 @@ var R = /* @__PURE__ */ S(
78
78
  C,
79
79
  N,
80
80
  !1,
81
- h,
81
+ W,
82
82
  null,
83
83
  null,
84
84
  null
85
85
  );
86
- function h(n) {
86
+ function W(n) {
87
87
  for (let t in i)
88
88
  this[t] = i[t];
89
89
  }
@@ -1 +1 @@
1
- .watermark{z-index:100;pointer-events:none;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}
1
+ .watermark{z-index:100;pointer-events:none;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "2.30.2",
5
+ "version": "2.50.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -10,28 +10,28 @@ var h = (t, s, e) => s in t ? f(t, s, { enumerable: !0, configurable: !0, writab
10
10
  y.call(s, e) && h(t, e, s[e]);
11
11
  return t;
12
12
  }, c = (t, s) => _(t, b(s));
13
- var r = (t, s, e) => new Promise((a, n) => {
14
- var o = (i) => {
13
+ var r = (t, s, e) => new Promise((a, i) => {
14
+ var o = (n) => {
15
15
  try {
16
- l(e.next(i));
16
+ l(e.next(n));
17
17
  } catch (u) {
18
- n(u);
18
+ i(u);
19
19
  }
20
- }, g = (i) => {
20
+ }, g = (n) => {
21
21
  try {
22
- l(e.throw(i));
22
+ l(e.throw(n));
23
23
  } catch (u) {
24
- n(u);
24
+ i(u);
25
25
  }
26
- }, l = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(o, g);
26
+ }, l = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(o, g);
27
27
  l((e = e.apply(t, s)).next());
28
28
  });
29
- import { n as V } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
29
+ import { n as V } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
30
30
  var w = function() {
31
31
  var t = this, s = t.$createElement, e = t._self._c || s;
32
32
  return e("div", {
33
33
  staticClass: "x-input-tag"
34
- }, [t.tags && t.tags.length && t.tags[0] ? t._l(t.tags, function(a, n) {
34
+ }, [t.tags && t.tags.length && t.tags[0] ? t._l(t.tags, function(a, i) {
35
35
  return e("ElTag", {
36
36
  key: a.id || a,
37
37
  attrs: {
@@ -41,7 +41,7 @@ var w = function() {
41
41
  },
42
42
  on: {
43
43
  close: function(o) {
44
- return t.handleClose(a, n);
44
+ return t.handleClose(a, i);
45
45
  }
46
46
  }
47
47
  }, [t._v(" " + t._s(a.name || a) + " ")]);
@@ -186,12 +186,12 @@ var I = /* @__PURE__ */ V(
186
186
  w,
187
187
  x,
188
188
  !1,
189
- M,
189
+ T,
190
190
  null,
191
191
  null,
192
192
  null
193
193
  );
194
- function M(t) {
194
+ function T(t) {
195
195
  for (let s in m)
196
196
  this[s] = m[s];
197
197
  }
@@ -1 +1 @@
1
- .el-form-item.is-error .x-input-tag{border-color:#f56c6c}.x-input-tag{border:1px solid var(--border-color);border-radius:4px;height:120px;padding-top:4px;padding-right:4px;line-height:0;overflow:auto}.x-input-tag .el-tag .el-tag__close:hover{background-color:#ee8677}.x-input-tag .el-tag,.x-input-tag .button-new-tag{margin-bottom:4px;margin-left:4px}.x-input-tag .el-input.input-new-tag{width:120px;margin-bottom:4px;margin-left:4px}.x-input-tag .tags-count{color:#b7b7b7;font-size:.9em;position:absolute;bottom:10px;right:6px}
1
+ .el-form-item.is-error .x-input-tag{border-color:#f56c6c}.x-input-tag{border:1px solid var(--border-color);border-radius:4px;height:120px;padding-top:4px;padding-right:4px;line-height:0;overflow:auto}.x-input-tag .el-tag .el-tag__close:hover{background-color:#ee8677}.x-input-tag .el-tag,.x-input-tag .button-new-tag{margin-bottom:4px;margin-left:4px}.x-input-tag .el-input.input-new-tag{width:120px;margin-bottom:4px;margin-left:4px}.x-input-tag .tags-count{color:#b7b7b7;font-size:.9em;position:absolute;bottom:10px;right:6px}
File without changes
File without changes