@web-utils/component 3.8.3 → 4.0.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 (67) hide show
  1. package/card/index.mjs +13 -13
  2. package/chat/index.mjs +2 -2
  3. package/chunks/{FormTemp.BSpnNput.mjs → FormTemp.Bu2VCxUh.mjs} +2 -2
  4. package/chunks/{dataformat.B9UvztrQ.mjs → dataformat.CpqOeGBl.mjs} +2 -2
  5. package/chunks/{dic.CET0XdKP.mjs → dic.Dkl-leRW.mjs} +43 -43
  6. package/chunks/{event.BT1F_1vF.mjs → event.9aDS6jcw.mjs} +2 -2
  7. package/chunks/{init.ofpxEyAI.mjs → init.DAsXSoLW.mjs} +2 -2
  8. package/chunks/{packages.CWPkeLu9.mjs → packages.ByyangTp.mjs} +3 -3
  9. package/chunks/{util.CoahLDYn.mjs → util.DqFv_pWg.mjs} +54 -55
  10. package/dialog-form/index.mjs +6 -6
  11. package/flow/index.mjs +30 -32
  12. package/flow-designer/index.mjs +1 -1
  13. package/flow-node/index.mjs +1 -1
  14. package/form-holder/index.mjs +18 -36
  15. package/form-view/index.mjs +21 -23
  16. package/fy-array/index.mjs +2 -2
  17. package/fy-cascader/index.mjs +1 -1
  18. package/fy-checkbox/index.mjs +1 -1
  19. package/fy-code/index.mjs +1 -1
  20. package/fy-curd/index.mjs +141 -137
  21. package/fy-date/index.mjs +1 -1
  22. package/fy-draggable/index.mjs +27 -19
  23. package/fy-dynamic/index.mjs +64 -57
  24. package/fy-empty/index.mjs +1 -1
  25. package/fy-form/index.mjs +117 -136
  26. package/fy-form-design/index.mjs +15 -16
  27. package/fy-form-design/style.css +1 -1
  28. package/fy-input/index.mjs +2 -2
  29. package/fy-input-color/index.mjs +1 -1
  30. package/fy-input-icon/index.mjs +1 -1
  31. package/fy-input-map/index.mjs +56 -51
  32. package/fy-input-number/index.mjs +1 -1
  33. package/fy-input-table/index.mjs +46 -38
  34. package/fy-input-tree/index.mjs +1 -1
  35. package/fy-radio/index.mjs +1 -1
  36. package/fy-rate/index.mjs +1 -1
  37. package/fy-select/index.mjs +4 -4
  38. package/fy-slider/index.mjs +2 -2
  39. package/fy-switch/index.mjs +1 -1
  40. package/fy-tabs/index.mjs +0 -1
  41. package/fy-time/index.mjs +1 -1
  42. package/fy-title/index.mjs +1 -1
  43. package/fy-tree/index.mjs +1 -1
  44. package/fy-u-editor/index.mjs +1 -1
  45. package/fy-upload/index.mjs +3 -3
  46. package/highlight-j-s/index.mjs +1 -1
  47. package/image-cropper/index.mjs +1 -1
  48. package/image-preview/index.mjs +1 -1
  49. package/license/index.mjs +1 -1
  50. package/login/index.mjs +1 -1
  51. package/monaco-editor/index.mjs +10 -12
  52. package/package.json +17 -17
  53. package/pageable-table/index.mjs +33 -37
  54. package/pageable-view/index.mjs +53 -57
  55. package/record-video/index.mjs +1 -1
  56. package/search/index.mjs +2 -2
  57. package/search-popover/index.mjs +1 -1
  58. package/sign/index.mjs +1 -1
  59. package/split-pane/index.mjs +3 -3
  60. package/table-view/index.mjs +1 -3
  61. package/text-ellipsis/index.mjs +1 -1
  62. package/verify/index.mjs +1 -1
  63. package/vue-cron/index.mjs +1 -1
  64. package/vue-quill-editor/index.mjs +24 -13
  65. package/vue-tags-input/index.mjs +21 -10
  66. package/vue-video-player/index.mjs +10 -12
  67. package/web-types.json +2 -5
@@ -1,15 +1,15 @@
1
1
  var f = Object.defineProperty;
2
- var h = Object.getOwnPropertySymbols;
2
+ var d = Object.getOwnPropertySymbols;
3
3
  var v = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
- var c = (e, i, t) => i in e ? f(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
- v.call(i, t) && c(e, t, i[t]);
7
- if (h)
8
- for (var t of h(i))
9
- m.call(i, t) && c(e, t, i[t]);
6
+ v.call(i, t) && h(e, t, i[t]);
7
+ if (d)
8
+ for (var t of d(i))
9
+ m.call(i, t) && h(e, t, i[t]);
10
10
  return e;
11
11
  };
12
- var d = (e, i, t) => new Promise((o, r) => {
12
+ var c = (e, i, t) => new Promise((o, r) => {
13
13
  var n = (s) => {
14
14
  try {
15
15
  a(t.next(s));
@@ -121,7 +121,7 @@ const _ = ["loadeddata", "canplay", "canplaythrough", "play", "pause", "waiting"
121
121
  },
122
122
  methods: {
123
123
  initialize() {
124
- return d(this, null, function* () {
124
+ return c(this, null, function* () {
125
125
  var n, l;
126
126
  if (yield this.$nextTick(), !((l = (n = this.videoOptions) == null ? void 0 : n.sources) != null && l.length))
127
127
  return;
@@ -142,10 +142,8 @@ const _ = ["loadeddata", "canplay", "canplaythrough", "play", "pause", "waiting"
142
142
  });
143
143
  },
144
144
  dispose() {
145
- return d(this, null, function* () {
146
- var e;
147
- (e = this.player) != null && e.dispose && (this.player.techName_ !== "Flash" && this.player.pause(), this.player.dispose(), this.player = null);
148
- });
145
+ var e;
146
+ (e = this.player) != null && e.dispose && (this.player.techName_ !== "Flash" && this.player.pause(), this.player.dispose(), this.player = null);
149
147
  }
150
148
  }
151
149
  };
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": "3.8.3",
5
+ "version": "4.0.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -9717,7 +9717,6 @@
9717
9717
  },
9718
9718
  {
9719
9719
  "name": "data",
9720
- "required": true,
9721
9720
  "value": {
9722
9721
  "kind": "expression",
9723
9722
  "type": "array"
@@ -10838,7 +10837,6 @@
10838
10837
  },
10839
10838
  {
10840
10839
  "name": "value",
10841
- "required": true,
10842
10840
  "value": {
10843
10841
  "kind": "expression",
10844
10842
  "type": "object"
@@ -10968,7 +10966,7 @@
10968
10966
  "kind": "expression",
10969
10967
  "type": "array"
10970
10968
  },
10971
- "default": "() => {\r\n const arr = []\r\n fields.forEach(f => {\r\n f.list.forEach(c => {\r\n arr.push(c.type)\r\n })\r\n })\r\n return arr\r\n}"
10969
+ "default": "() => {\r\n const arr = []\r\n fields.forEach(f => {\r\n f.list.forEach(c => {\r\n arr.push(c.type)\r\n })\r\n })\r\n\r\n return arr\r\n}"
10972
10970
  },
10973
10971
  {
10974
10972
  "name": "customFields",
@@ -15547,7 +15545,6 @@
15547
15545
  "attributes": [
15548
15546
  {
15549
15547
  "name": "option",
15550
- "required": true,
15551
15548
  "value": {
15552
15549
  "kind": "expression",
15553
15550
  "type": "object"