@web-utils/component 3.3.8 → 3.3.9

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 (80) hide show
  1. package/chat/index.mjs +1 -1
  2. package/chunks/{FormTemp.DBXY12r6.mjs → FormTemp.BO_zCjBT.mjs} +2 -2
  3. package/chunks/{dataformat.D_Opg_Hq.mjs → dataformat.J6EgqBfr.mjs} +1 -1
  4. package/chunks/{dic.BPoY9VwV.mjs → dic.6ODiMBAw.mjs} +1 -1
  5. package/chunks/{event.X575VReS.mjs → event.ChkcZtyR.mjs} +2 -2
  6. package/chunks/{init.CwDxjHXI.mjs → init.BbPaCwke.mjs} +2 -2
  7. package/chunks/{util.CGBb6mdq.mjs → util.ThVOTZAO.mjs} +2 -24
  8. package/code-mirror-editor/index.mjs +7 -12
  9. package/dialog-form/index.mjs +1 -1
  10. package/easy-popup/index.mjs +1 -4
  11. package/editable-tree/index.mjs +1 -5
  12. package/egd-collapse/index.mjs +1 -3
  13. package/element-dialog/index.mjs +1 -5
  14. package/flex-scroller/index.mjs +1 -5
  15. package/flow/index.mjs +1 -1
  16. package/flow-designer/index.mjs +27 -115
  17. package/flow-node/index.mjs +1 -1
  18. package/flow-viewer/index.mjs +1 -7
  19. package/form-checkbox-group/index.mjs +1 -3
  20. package/form-input/index.mjs +1 -3
  21. package/form-input-email/index.mjs +1 -3
  22. package/form-input-id-card/index.mjs +1 -3
  23. package/form-input-number/index.mjs +1 -3
  24. package/form-input-phone-number/index.mjs +1 -3
  25. package/form-input-time/index.mjs +1 -3
  26. package/form-radio-group/index.mjs +2 -8
  27. package/form-select/index.mjs +1 -3
  28. package/form-switch/index.mjs +1 -3
  29. package/form-view/index.mjs +1 -3
  30. package/fy-array/index.mjs +2 -2
  31. package/fy-cascader/index.mjs +1 -1
  32. package/fy-checkbox/index.mjs +1 -1
  33. package/fy-code/index.mjs +1 -1
  34. package/fy-curd/index.mjs +10 -20
  35. package/fy-date/index.mjs +1 -1
  36. package/fy-draggable/index.mjs +1 -1
  37. package/fy-dynamic/index.mjs +2 -2
  38. package/fy-empty/index.mjs +1 -1
  39. package/fy-form/index.mjs +6 -10
  40. package/fy-form-design/index.mjs +11 -68
  41. package/fy-form-design/style.css +1 -1
  42. package/fy-input/index.mjs +1 -1
  43. package/fy-input-color/index.mjs +1 -1
  44. package/fy-input-icon/index.mjs +37 -37
  45. package/fy-input-icon/style.css +1 -1
  46. package/fy-input-map/index.mjs +1 -1
  47. package/fy-input-number/index.mjs +1 -1
  48. package/fy-input-table/index.mjs +1 -1
  49. package/fy-input-tree/index.mjs +1 -1
  50. package/fy-radio/index.mjs +1 -1
  51. package/fy-rate/index.mjs +1 -1
  52. package/fy-select/index.mjs +3 -3
  53. package/fy-slider/index.mjs +2 -2
  54. package/fy-switch/index.mjs +1 -1
  55. package/fy-tabs/index.mjs +16 -27
  56. package/fy-time/index.mjs +1 -1
  57. package/fy-title/index.mjs +1 -1
  58. package/fy-tree/index.mjs +1 -1
  59. package/fy-u-editor/index.mjs +1 -1
  60. package/fy-upload/index.mjs +2 -2
  61. package/icon-temp/index.mjs +7 -6
  62. package/image-cropper/index.mjs +1 -1
  63. package/image-preview/index.mjs +1 -1
  64. package/license/index.mjs +1 -1
  65. package/login/index.mjs +1 -1
  66. package/package.json +1 -1
  67. package/page-skeleton/index.mjs +1 -5
  68. package/photo-swipe/index.mjs +1 -3
  69. package/present-view/index.mjs +1 -3
  70. package/record-video/index.mjs +1 -1
  71. package/search/index.mjs +2 -2
  72. package/search-popover/index.mjs +2 -2
  73. package/sign/index.mjs +1 -1
  74. package/sign-panel/index.mjs +1 -1
  75. package/table-view/index.mjs +14 -18
  76. package/text-ellipsis/index.mjs +1 -1
  77. package/verify/index.mjs +1 -1
  78. package/vue-tree-select/index.mjs +4 -18
  79. package/vue-video-player/index.mjs +1 -11
  80. package/web-types.json +9 -1
package/fy-tabs/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as i } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
- const r = {
2
+ const o = {
3
3
  name: "FyTabs",
4
4
  props: {
5
5
  option: {
@@ -13,48 +13,37 @@ const r = {
13
13
  active: "0"
14
14
  };
15
15
  },
16
- computed: {
17
- tabsObj() {
18
- return this.columnOption[this.active];
19
- },
20
- parentOption() {
21
- return this.option;
22
- },
23
- columnOption() {
24
- return this.parentOption.column || [];
25
- }
26
- },
27
16
  watch: {
28
17
  active() {
29
- this.$emit("change", this.tabsObj);
18
+ this.$emit("change", this.option.tabs[this.active]);
30
19
  }
31
20
  },
32
21
  methods: {
33
- changeTabs(a) {
34
- this.active = `${a}`;
22
+ changeTabs(n) {
23
+ this.active = `${n}`;
35
24
  }
36
25
  }
37
26
  };
38
- var o = function() {
39
- var t = this, e = t._self._c;
40
- return e("div", { staticClass: "avue-tabs" }, [e("ElTabs", { attrs: { "tab-position": t.parentOption.position, type: t.parentOption.type }, model: { value: t.active, callback: function(n) {
41
- t.active = n;
42
- }, expression: "active" } }, t._l(t.columnOption, function(n, s) {
43
- return e("ElTabPane", { key: s, attrs: { name: `${s}`, disabled: n.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
44
- return [e("span", [e("i", { class: n.icon }), t._v("  " + t._s(n.label) + " ")])];
27
+ var r = function() {
28
+ var t = this, a = t._self._c;
29
+ return a("div", { staticClass: "avue-tabs" }, [a("ElTabs", { attrs: { "tab-position": t.option.position, type: t.option.type }, model: { value: t.active, callback: function(e) {
30
+ t.active = e;
31
+ }, expression: "active" } }, t._l(t.option.tabs, function(e, s) {
32
+ return a("ElTabPane", { key: e.label, attrs: { name: `${s}`, disabled: e.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
33
+ return [a("span", [a("i", { class: e.icon }), t._v("  " + t._s(e.label) + " ")])];
45
34
  }, proxy: !0 }], null, !0) });
46
35
  }), 1)], 1);
47
- }, c = [], l = /* @__PURE__ */ i(
48
- r,
36
+ }, l = [], c = /* @__PURE__ */ i(
49
37
  o,
50
- c,
38
+ r,
39
+ l,
51
40
  !1,
52
41
  null,
53
42
  null,
54
43
  null,
55
44
  null
56
45
  );
57
- const u = l.exports;
46
+ const p = c.exports;
58
47
  export {
59
- u as default
48
+ p as default
60
49
  };
package/fy-time/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { p as n, e as l } from "../chunks/event.X575VReS.mjs";
1
+ import { p as n, e as l } from "../chunks/event.ChkcZtyR.mjs";
2
2
  import { isBlank as o } from "@web-utils/core";
3
3
  import { n as i } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
4
4
  const s = {
@@ -1,4 +1,4 @@
1
- import { p as s, e as n } from "../chunks/event.X575VReS.mjs";
1
+ import { p as s, e as n } from "../chunks/event.ChkcZtyR.mjs";
2
2
  import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
3
  const l = {
4
4
  name: "FyTitle",
package/fy-tree/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as d, o as l, a as r } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { s as d, o as l, a as r } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { p as h } from "../chunks/permission.CO31YIkD.mjs";
3
3
  import { isBlank as u } from "@web-utils/core";
4
4
  import { n as p } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
@@ -28,7 +28,7 @@ var u = (e, t, r) => new Promise((o, i) => {
28
28
  });
29
29
  import "@wangeditor/editor/dist/css/style.css";
30
30
  import { createEditor as v, createToolbar as A } from "@wangeditor/editor";
31
- import { p as O } from "../chunks/util.CGBb6mdq.mjs";
31
+ import { p as O } from "../chunks/util.ThVOTZAO.mjs";
32
32
  import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
33
33
  const w = (e) => {
34
34
  const { region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: n } = e;
@@ -1,5 +1,5 @@
1
- import { p as R, e as I } from "../chunks/event.X575VReS.mjs";
2
- import { B, i as F, p as N } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { p as R, e as I } from "../chunks/event.ChkcZtyR.mjs";
2
+ import { B, i as F, p as N } from "../chunks/util.ThVOTZAO.mjs";
3
3
  import { p as A } from "../chunks/packages.CWPkeLu9.mjs";
4
4
  import { isBlank as b } from "@web-utils/core";
5
5
  import { n as K } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
@@ -1,8 +1,9 @@
1
- import { n as t } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
1
+ import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
2
  const s = {
3
3
  name: "IconTemp",
4
4
  props: {
5
5
  small: Boolean,
6
+ size: String,
6
7
  text: {
7
8
  type: String,
8
9
  default: ""
@@ -10,9 +11,9 @@ const s = {
10
11
  }
11
12
  };
12
13
  var a = function() {
13
- var e = this, n = e._self._c;
14
- return n("span", { staticClass: "avue-icon", class: { "avue-icon--small": e.small } }, [e.text.includes("#") ? n("svg", { attrs: { "aria-hidden": "true" } }, [n("use", { attrs: { "xlink:href": e.text } })]) : n("i", { class: e.text })]);
15
- }, l = [], r = /* @__PURE__ */ t(
14
+ var e = this, t = e._self._c;
15
+ return t("span", { staticClass: "avue-icon", class: { "avue-icon--small": e.small } }, [e.text.includes("#") ? t("svg", { attrs: { "aria-hidden": "true" } }, [t("use", { attrs: { "xlink:href": e.text } })]) : t("i", { class: e.text, style: { fontSize: e.size } })]);
16
+ }, l = [], r = /* @__PURE__ */ n(
16
17
  s,
17
18
  a,
18
19
  l,
@@ -22,7 +23,7 @@ var a = function() {
22
23
  null,
23
24
  null
24
25
  );
25
- const i = r.exports;
26
+ const c = r.exports;
26
27
  export {
27
- i as default
28
+ c as default
28
29
  };
@@ -9,7 +9,7 @@ var a = (t, e, o) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writab
9
9
  c.call(e, o) && a(t, o, e[o]);
10
10
  return t;
11
11
  };
12
- import { B as u } from "../chunks/util.CGBb6mdq.mjs";
12
+ import { B as u } from "../chunks/util.ThVOTZAO.mjs";
13
13
  import { VueCropper as f } from "vue-cropper";
14
14
  import m from "vue";
15
15
  import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
@@ -9,7 +9,7 @@ var r = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writab
9
9
  v.call(e, t) && r(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- import { i as p } from "../chunks/util.CGBb6mdq.mjs";
12
+ import { i as p } from "../chunks/util.ThVOTZAO.mjs";
13
13
  import { setPx as u } from "@web-utils/core";
14
14
  import _ from "vue";
15
15
  import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
package/license/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { C as r } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { C as r } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { n as l } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
3
  const g = {
4
4
  name: "License",
package/login/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as l } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { s as l } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { isBlank as n } from "@web-utils/core";
3
3
  import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
4
4
  const r = "发送验证码", i = "{{time}}s后重获取", c = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.3.8",
4
+ "version": "3.3.9",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -31,11 +31,7 @@ var s = function() {
31
31
  var e = this, t = e._self._c;
32
32
  return t("Page", { staticClass: "page-skeleton" }, [e.header ? e._t("header", function() {
33
33
  return [e.title ? t("PageHeader", { attrs: { title: e.title } }) : t("NavBar")];
34
- }) : e._e(), t("div", { class: [
35
- "page-content",
36
- { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll },
37
- e.contentClass
38
- ] }, [e._t("default")], 2)], 2);
34
+ }) : e._e(), t("div", { class: ["page-content", { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll }, e.contentClass] }, [e._t("default")], 2)], 2);
39
35
  }, c = [], f = /* @__PURE__ */ r(
40
36
  a,
41
37
  s,
@@ -25,9 +25,7 @@ function l(h, a) {
25
25
  const r = i.target;
26
26
  if (!(!r || r.classList.contains(t.selector) || r.tagName === "IMG"))
27
27
  return;
28
- const e = n.querySelectorAll(
29
- t.selector === "img" ? t.selector : `.${t.selector}`
30
- ), s = [...e].findIndex((c) => c === r);
28
+ const e = n.querySelectorAll(t.selector === "img" ? t.selector : `.${t.selector}`), s = [...e].findIndex((c) => c === r);
31
29
  s >= 0 && (t.index = s);
32
30
  const o = yield f(e);
33
31
  yield w({ dataSource: o, index: s });
@@ -178,9 +178,7 @@ const w = [
178
178
  return e.filter((t) => !v.includes(t) && t.indexOf(":down") < 0).map((t) => t.replace(":up", ""));
179
179
  },
180
180
  getFooterBarButtons(e) {
181
- let t = e.filter(
182
- (o) => !I.includes(o) && (v.includes(o) || o.indexOf(":down") > -1)
183
- ).map((o) => o.replace(":down", ""));
181
+ let t = e.filter((o) => !I.includes(o) && (v.includes(o) || o.indexOf(":down") > -1)).map((o) => o.replace(":down", ""));
184
182
  return t = t || [], this.$parent.isEnabled && !t.includes("cancel") && t.push("cancel"), t;
185
183
  }
186
184
  }
@@ -1,4 +1,4 @@
1
- import { s } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { s } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { n as a } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
3
  let o = class {
4
4
  /**
package/search/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { a as p } from "../chunks/util.CGBb6mdq.mjs";
2
- import { i } from "../chunks/init.CwDxjHXI.mjs";
1
+ import { a as p } from "../chunks/util.ThVOTZAO.mjs";
2
+ import { i } from "../chunks/init.BbPaCwke.mjs";
3
3
  import { isBlank as o } from "@web-utils/core";
4
4
  import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
5
5
  const l = {
@@ -16,7 +16,7 @@ var c = (r, e, t) => new Promise((s, i) => {
16
16
  });
17
17
  import { copy as u, isInContainer as d } from "@web-utils/core";
18
18
  import p from "element-ui/lib/utils/clickoutside";
19
- import { z as f } from "../chunks/util.CGBb6mdq.mjs";
19
+ import { z as f } from "../chunks/util.ThVOTZAO.mjs";
20
20
  import { n as v } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
21
21
  const m = {
22
22
  name: "SearchPopover",
@@ -120,7 +120,7 @@ var w = function() {
120
120
  } } }, [t("div", { staticClass: "search-icon" }, [t("i", { class: s.icon || "el-icon-menu" })]), t("div", { staticStyle: { flex: "1", "box-sizing": "border-box", padding: "0 10px", "overflow-x": "hidden", "text-align": "left" } }, [t("p", { staticStyle: { "margin-bottom": "4px", "font-size": "16px" } }, [e._v(e._s(s.name))]), t("p", { staticClass: "url" }, [e._v(e._s(s.url || s.path))])]), t("div", { staticClass: "search-icon search-action" }, [t("svg", { staticClass: "action", attrs: { width: "20", height: "20", viewBox: "0 0 20 20" } }, [t("g", { attrs: { stroke: "currentColor", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M18 3v4c0 2-2 4-4 4H2" } }), t("path", { attrs: { d: "M8 17l-6-6 6-6" } })])])])])]);
121
121
  }) : e.evalResult !== "" ? t("li", { staticClass: "search-li", on: { click: e.copyEvalResult, mousemove: function(s) {
122
122
  return e.mouseHoverItem({}, -1);
123
- } } }, [t("a", { class: ["search-item", { active: e.currentIndex === -1 }], attrs: { rel: "noopener noreferrer", href: "javascript:void(0)" } }, [e._m(0), t("div", { staticStyle: { flex: "1", "box-sizing": "border-box", padding: "0 10px", "overflow-x": "hidden", "text-align": "left" } }, [t("p", { staticStyle: { "margin-bottom": "4px", "font-size": "16px" } }, [e._v("Result: " + e._s(e.evalResult))]), t("p", { staticClass: "url" }, [e._v("点击或这按 Enter 键复制")])]), t("div", { staticClass: "search-icon search-action" }, [t("svg", { staticClass: "action", attrs: { width: "20", height: "20", viewBox: "0 0 20 20" } }, [t("g", { attrs: { stroke: "currentColor", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M18 3v4c0 2-2 4-4 4H2" } }), t("path", { attrs: { d: "M8 17l-6-6 6-6" } })])])])])]) : t("li", { staticStyle: { display: "flex", "align-items": "center", "justify-content": "center", height: "100%", color: "#808080" } }, [e._v(" Sorry,no result ! ")])], 2), t("div", { staticClass: "footer-tips" }, [t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3" } })])])]), t("span", { staticStyle: { "margin-right": "20px", "font-size": "12px" } }, [e._v("选择")]), t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M7.5 3.5v8M10.5 8.5l-3 3-3-3" } })])])]), t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M7.5 11.5v-8M10.5 6.5l-3-3-3 3" } })])])]), t("span", { staticStyle: { "margin-right": "20px", "font-size": "12px" } }, [e._v("切换")]), t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956" } })])])]), t("span", { staticStyle: { "font-size": "12px" } }, [e._v("关闭")])])]);
123
+ } } }, [t("a", { class: ["search-item", { active: e.currentIndex === -1 }], attrs: { rel: "noopener noreferrer", href: "javascript:void(0)" } }, [e._m(0), t("div", { staticStyle: { flex: "1", "box-sizing": "border-box", padding: "0 10px", "overflow-x": "hidden", "text-align": "left" } }, [t("p", { staticStyle: { "margin-bottom": "4px", "font-size": "16px" } }, [e._v("Result: " + e._s(e.evalResult))]), t("p", { staticClass: "url" }, [e._v("点击或这按 Enter 键复制")])]), t("div", { staticClass: "search-icon search-action" }, [t("svg", { staticClass: "action", attrs: { width: "20", height: "20", viewBox: "0 0 20 20" } }, [t("g", { attrs: { stroke: "currentColor", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M18 3v4c0 2-2 4-4 4H2" } }), t("path", { attrs: { d: "M8 17l-6-6 6-6" } })])])])])]) : t("li", { staticStyle: { display: "flex", "align-items": "center", "justify-content": "center", height: "100%", color: "#808080" } }, [e._v("Sorry,no result !")])], 2), t("div", { staticClass: "footer-tips" }, [t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3" } })])])]), t("span", { staticStyle: { "margin-right": "20px", "font-size": "12px" } }, [e._v("选择")]), t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M7.5 3.5v8M10.5 8.5l-3 3-3-3" } })])])]), t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M7.5 11.5v-8M10.5 6.5l-3-3-3 3" } })])])]), t("span", { staticStyle: { "margin-right": "20px", "font-size": "12px" } }, [e._v("切换")]), t("span", { staticClass: "keyboard-key" }, [t("svg", { attrs: { width: "15", height: "15" } }, [t("g", { attrs: { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "1.2" } }, [t("path", { attrs: { d: "M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956" } })])])]), t("span", { staticStyle: { "font-size": "12px" } }, [e._v("关闭")])])]);
124
124
  }, k = [function() {
125
125
  var r = this, e = r._self._c;
126
126
  return e("div", { staticClass: "search-icon" }, [e("i", { staticClass: "fa fa-table" })]);
package/sign/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as v } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { s as v } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { n as m } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
3
  function p(e, s, n, r, t, o) {
4
4
  e.save(), e.fillStyle = t, e.translate(s, n), e.rotate(Math.PI + o), e.beginPath();
@@ -127,7 +127,7 @@ var l = function() {
127
127
  return e.stopPropagation(), t.touchend.apply(null, arguments);
128
128
  }, mouseup: function(e) {
129
129
  return e.stopPropagation(), t.up.apply(null, arguments);
130
- } } }, [t._v("当前浏览器不支持手写签名 ")])]), s("div", { staticClass: "sign-tool-bar" }, [s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "red" }, on: { click: t.clear } }, [s("i", { staticClass: "fa fa-trash" }), t._v(" 清除")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "red" }, on: { click: t.cancel } }, [s("i", { staticClass: "fa fa-close" }), t._v(" 取消")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "orange" }, on: { click: t.rollback } }, [s("i", { staticClass: "fa fa-repeat" }), t._v(" 撤销 ")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "green" }, on: { click: t.save } }, [s("i", { staticClass: "fa fa-check" }), t._v(" 确定")])])]), s("div", { directives: [{ name: "show", rawName: "v-show", value: t.disabled || !t.edit, expression: "disabled || !edit" }], staticClass: "sign-view", style: { cursor: t.disabled ? "not-allowed" : "pointer" }, on: { click: t.showSign } }, [t.value ? s("img", { staticClass: "sign-image", attrs: { src: t.value, alt: "签名" } }) : t._e(), t.value ? t._e() : s("p", { staticClass: "sign-tips", style: { color: !t.value && t.disabled ? "red" : "" } }, [t._v(" " + t._s(t.disabled ? "未签名" : "点击进行签名") + " ")]), t.disabled ? t._e() : s("i", { staticClass: "el-icon-edit-outline sign-edit-icon" })])]);
130
+ } } }, [t._v("当前浏览器不支持手写签名 ")])]), s("div", { staticClass: "sign-tool-bar" }, [s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "red" }, on: { click: t.clear } }, [s("i", { staticClass: "fa fa-trash" }), t._v(" 清除")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "red" }, on: { click: t.cancel } }, [s("i", { staticClass: "fa fa-close" }), t._v(" 取消")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "orange" }, on: { click: t.rollback } }, [s("i", { staticClass: "fa fa-repeat" }), t._v(" 撤销")]), s("div", { staticClass: "sign-button flex-item", staticStyle: { color: "green" }, on: { click: t.save } }, [s("i", { staticClass: "fa fa-check" }), t._v(" 确定")])])]), s("div", { directives: [{ name: "show", rawName: "v-show", value: t.disabled || !t.edit, expression: "disabled || !edit" }], staticClass: "sign-view", style: { cursor: t.disabled ? "not-allowed" : "pointer" }, on: { click: t.showSign } }, [t.value ? s("img", { staticClass: "sign-image", attrs: { src: t.value, alt: "签名" } }) : t._e(), t.value ? t._e() : s("p", { staticClass: "sign-tips", style: { color: !t.value && t.disabled ? "red" : "" } }, [t._v(" " + t._s(t.disabled ? "未签名" : "点击进行签名") + " ")]), t.disabled ? t._e() : s("i", { staticClass: "el-icon-edit-outline sign-edit-icon" })])]);
131
131
  }, o = [], c = /* @__PURE__ */ a(
132
132
  n,
133
133
  l,
@@ -204,24 +204,20 @@ const P = [
204
204
  this.$message.warning("请选择要删除的记录!");
205
205
  return;
206
206
  }
207
- yield this.$confirm(
208
- `您确定要删除选中的[<span class="break-word" style="color: orange">${this.selectedRows.length}</span>]行记录吗?`,
209
- "系统提示",
210
- {
211
- type: "warning",
212
- modal: !0,
213
- dangerouslyUseHTMLString: !0,
214
- closeOnClickModal: !1,
215
- beforeClose: (t, s, l) => a(this, null, function* () {
216
- if (t === "confirm")
217
- try {
218
- s.confirmButtonLoading = !0, s.confirmButtonText = "删除...", yield r.call(this, this.selectedRows.map((o) => o.id).join(",")), this.$message.success("删除成功"), yield this.reloadTable(), yield this.refreshTree();
219
- } catch (o) {
220
- }
221
- l();
222
- })
223
- }
224
- ).catch((t) => t);
207
+ yield this.$confirm(`您确定要删除选中的[<span class="break-word" style="color: orange">${this.selectedRows.length}</span>]行记录吗?`, "系统提示", {
208
+ type: "warning",
209
+ modal: !0,
210
+ dangerouslyUseHTMLString: !0,
211
+ closeOnClickModal: !1,
212
+ beforeClose: (t, s, l) => a(this, null, function* () {
213
+ if (t === "confirm")
214
+ try {
215
+ s.confirmButtonLoading = !0, s.confirmButtonText = "删除...", yield r.call(this, this.selectedRows.map((o) => o.id).join(",")), this.$message.success("删除成功"), yield this.reloadTable(), yield this.refreshTree();
216
+ } catch (o) {
217
+ }
218
+ l();
219
+ })
220
+ }).catch((t) => t);
225
221
  }
226
222
  });
227
223
  },
@@ -1,4 +1,4 @@
1
- import { s as n } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { s as n } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { n as o } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
3
  const h = {
4
4
  name: "TextEllipsis",
package/verify/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s } from "../chunks/util.CGBb6mdq.mjs";
1
+ import { s } from "../chunks/util.ThVOTZAO.mjs";
2
2
  import { n as i } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
3
3
  const l = {
4
4
  name: "Verify",
@@ -30,10 +30,7 @@ function b(e) {
30
30
  }
31
31
  function Ve(e, t) {
32
32
  const s = e.getBoundingClientRect(), n = t.getBoundingClientRect(), i = t.offsetHeight / 3;
33
- n.bottom + i > s.bottom ? e.scrollTop = Math.min(
34
- t.offsetTop + t.clientHeight - e.offsetHeight + i,
35
- e.scrollHeight
36
- ) : n.top - i < s.top && (e.scrollTop = Math.max(t.offsetTop - i, 0));
33
+ n.bottom + i > s.bottom ? e.scrollTop = Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + i, e.scrollHeight) : n.top - i < s.top && (e.scrollTop = Math.max(t.offsetTop - i, 0));
37
34
  }
38
35
  function ae(e, t) {
39
36
  const s = e.indexOf(t);
@@ -903,12 +900,7 @@ const Ze = {
903
900
  ), this.flat && O(
904
901
  () => this.multiple,
905
902
  () => 'You are using flat mode. But you forgot to add "multiple=true"?'
906
- ), this.flat || [
907
- "autoSelectAncestors",
908
- "autoSelectDescendants",
909
- "autoDeselectAncestors",
910
- "autoDeselectDescendants"
911
- ].forEach((t) => {
903
+ ), this.flat || ["autoSelectAncestors", "autoSelectDescendants", "autoDeselectAncestors", "autoDeselectDescendants"].forEach((t) => {
912
904
  O(
913
905
  () => !this[t],
914
906
  () => `"${t}" only applies to flat mode.`
@@ -1076,9 +1068,7 @@ const Ze = {
1076
1068
  });
1077
1069
  const s = e.trim().toLocaleLowerCase(), n = s.replace(/\s+/g, " ").split(" ");
1078
1070
  this.traverseAllNodesDFS((i) => {
1079
- this.searchNested && n.length > 1 ? i.isMatched = n.every((l) => oe(!1, l, i.nestedSearchLabel)) : i.isMatched = this.matchKeys.some(
1080
- (l) => oe(!this.disableFuzzyMatching, s, i.lowerCased[l])
1081
- ), i.isMatched && (this.localSearch.noResults = !1, i.ancestors.forEach((l) => this.localSearch.countMap[l.id][L]++), i.isLeaf && i.ancestors.forEach((l) => this.localSearch.countMap[l.id][T]++), i.parentNode !== E && (this.localSearch.countMap[i.parentNode.id][C] += 1, i.isLeaf && (this.localSearch.countMap[i.parentNode.id][M] += 1))), (i.isMatched || i.isBranch && i.isExpandedOnSearch) && i.parentNode !== E && (i.parentNode.isExpandedOnSearch = !0, i.parentNode.hasMatchedDescendants = !0);
1071
+ this.searchNested && n.length > 1 ? i.isMatched = n.every((l) => oe(!1, l, i.nestedSearchLabel)) : i.isMatched = this.matchKeys.some((l) => oe(!this.disableFuzzyMatching, s, i.lowerCased[l])), i.isMatched && (this.localSearch.noResults = !1, i.ancestors.forEach((l) => this.localSearch.countMap[l.id][L]++), i.isLeaf && i.ancestors.forEach((l) => this.localSearch.countMap[l.id][T]++), i.parentNode !== E && (this.localSearch.countMap[i.parentNode.id][C] += 1, i.isLeaf && (this.localSearch.countMap[i.parentNode.id][M] += 1))), (i.isMatched || i.isBranch && i.isExpandedOnSearch) && i.parentNode !== E && (i.parentNode.isExpandedOnSearch = !0, i.parentNode.hasMatchedDescendants = !0);
1082
1072
  }), t();
1083
1073
  },
1084
1074
  handleRemoteSearch() {
@@ -1229,11 +1219,7 @@ const Ze = {
1229
1219
  const h = Array.isArray(c);
1230
1220
  this.$set(a, "childrenStates", w(v({}, H()), {
1231
1221
  isLoaded: h
1232
- })), this.$set(
1233
- a,
1234
- "isExpanded",
1235
- typeof g == "boolean" ? g : N < this.defaultExpandLevel
1236
- ), this.$set(a, "hasMatchedDescendants", !1), this.$set(a, "hasDisabledDescendants", !1), this.$set(a, "isExpandedOnSearch", !1), this.$set(a, "showAllChildrenOnSearch", !1), this.$set(a, "count", {
1222
+ })), this.$set(a, "isExpanded", typeof g == "boolean" ? g : N < this.defaultExpandLevel), this.$set(a, "hasMatchedDescendants", !1), this.$set(a, "hasDisabledDescendants", !1), this.$set(a, "isExpandedOnSearch", !1), this.$set(a, "showAllChildrenOnSearch", !1), this.$set(a, "count", {
1237
1223
  [C]: 0,
1238
1224
  [L]: 0,
1239
1225
  [M]: 0,
@@ -31,17 +31,7 @@ import g from "video.js/dist/lang/zh-CN.json";
31
31
  import { defaults as b } from "lodash-es";
32
32
  import { n as O } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
33
33
  y.addLanguage("zh", g);
34
- const _ = [
35
- "loadeddata",
36
- "canplay",
37
- "canplaythrough",
38
- "play",
39
- "pause",
40
- "waiting",
41
- "playing",
42
- "ended",
43
- "error"
44
- ], $ = {
34
+ const _ = ["loadeddata", "canplay", "canplaythrough", "play", "pause", "waiting", "playing", "ended", "error"], $ = {
45
35
  name: "VueVideoPlayer",
46
36
  props: {
47
37
  crossOrigin: {
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.3.8",
5
+ "version": "3.3.9",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -16951,6 +16951,14 @@
16951
16951
  },
16952
16952
  "default": ""
16953
16953
  },
16954
+ {
16955
+ "name": "size",
16956
+ "value": {
16957
+ "kind": "expression",
16958
+ "type": "string"
16959
+ },
16960
+ "default": ""
16961
+ },
16954
16962
  {
16955
16963
  "name": "text",
16956
16964
  "value": {