@web-utils/component 2.7.2 → 2.7.4

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 (128) hide show
  1. package/dist/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +302 -0
  2. package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +51 -0
  3. package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +24 -0
  4. package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +52 -0
  5. package/dist/chunks/ConfigDate.vue_vue_type_template_lang.420fa897.js +104 -0
  6. package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js +133 -0
  7. package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +96 -0
  8. package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +48 -0
  9. package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +96 -0
  10. package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +31 -0
  11. package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +130 -0
  12. package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +125 -0
  13. package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.7db7e57f.js +483 -0
  14. package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +99 -0
  15. package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +54 -0
  16. package/dist/chunks/ConfigTable.vue_vue_type_template_lang.3e8136d9.js +341 -0
  17. package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +88 -0
  18. package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +87 -0
  19. package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js +464 -0
  20. package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +240 -0
  21. package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js +471 -0
  22. package/dist/chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js +232 -0
  23. package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.f903c9b2.js +1765 -0
  24. package/dist/chunks/WidgetForm.vue_vue_type_template_lang.82248338.js +242 -0
  25. package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js +266 -0
  26. package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +24 -0
  27. package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.30625146.js +228 -0
  28. package/dist/chunks/dataformat.d3fd2d1b.js +157 -0
  29. package/dist/chunks/{detail.a3249549.js → detail.ac4d421a.js} +7 -7
  30. package/dist/chunks/{dic.5f7e3523.js → dic.79d9f595.js} +28 -27
  31. package/dist/chunks/{event.50c365eb.js → event.43b42228.js} +7 -6
  32. package/dist/chunks/{init.352281f5.js → init.3b47bb80.js} +8 -7
  33. package/dist/chunks/{packages.5d7a86c4.js → packages.6f252850.js} +5 -61
  34. package/dist/chunks/{util.5053d54e.js → util.80e28481.js} +37 -51
  35. package/dist/components/afd-column/index.js +54 -0
  36. package/dist/components/chat/index.js +1 -1
  37. package/dist/components/code/index.js +1 -1
  38. package/dist/components/column/index.js +8 -7
  39. package/dist/components/column-default/index.js +1 -1
  40. package/dist/components/column-dynamic/index.js +1 -1
  41. package/dist/components/column-menu/index.js +1 -1
  42. package/dist/components/column-slot/index.js +27 -26
  43. package/dist/components/config-array/index.js +26 -0
  44. package/dist/components/config-color/index.js +26 -0
  45. package/dist/components/config-custom/index.js +60 -0
  46. package/dist/components/config-date/index.js +26 -0
  47. package/dist/components/config-dynamic/index.js +26 -0
  48. package/dist/components/config-event/index.js +72 -0
  49. package/dist/components/config-group/index.js +34 -0
  50. package/dist/components/config-input/index.js +26 -0
  51. package/dist/components/config-map/index.js +26 -0
  52. package/dist/components/config-number/index.js +26 -0
  53. package/dist/components/config-rate/index.js +69 -0
  54. package/dist/components/config-rate/style.css +1 -0
  55. package/dist/components/config-select/index.js +88 -0
  56. package/dist/components/config-slider/index.js +26 -0
  57. package/dist/components/config-switch/index.js +31 -0
  58. package/dist/components/config-switch/style.css +1 -0
  59. package/dist/components/config-table/index.js +120 -0
  60. package/dist/components/config-textarea/index.js +26 -0
  61. package/dist/components/config-title/index.js +31 -0
  62. package/dist/components/config-tree/index.js +120 -0
  63. package/dist/components/config-tree/style.css +1 -0
  64. package/dist/components/config-u-editor/index.js +32 -0
  65. package/dist/components/config-upload/index.js +56 -0
  66. package/dist/components/custom-scrollbar/index.js +6 -1
  67. package/dist/components/dialog-excel/index.js +2 -2
  68. package/dist/components/dialog-filter/index.js +1 -1
  69. package/dist/components/dialog-form/index.js +8 -7
  70. package/dist/components/flex-item/index.js +4 -1
  71. package/dist/components/flow/index.js +1 -1
  72. package/dist/components/flow-node/index.js +1 -1
  73. package/dist/components/form-config/index.js +26 -0
  74. package/dist/components/form-group/index.js +1 -1
  75. package/dist/components/form-temp/index.js +2 -2
  76. package/dist/components/{array → fy-array}/index.js +5 -5
  77. package/dist/components/{array → fy-array}/style.css +0 -0
  78. package/dist/components/fy-cascader/index.js +1 -1
  79. package/dist/components/fy-checkbox/index.js +1 -1
  80. package/dist/components/fy-curd/index.js +37 -131
  81. package/dist/components/fy-date/index.js +1 -1
  82. package/dist/components/fy-dialog-form/index.js +9 -8
  83. package/dist/components/{draggable → fy-draggable}/index.js +2 -2
  84. package/dist/components/{draggable → fy-draggable}/style.css +0 -0
  85. package/dist/components/fy-dynamic/index.js +2 -2
  86. package/dist/components/{empty → fy-empty}/index.js +6 -6
  87. package/dist/components/{empty → fy-empty}/style.css +0 -0
  88. package/dist/components/fy-form/index.js +9 -8
  89. package/dist/components/fy-form-design/index.js +1371 -0
  90. package/dist/components/fy-form-design/style.css +1 -0
  91. package/dist/components/fy-input/index.js +1 -1
  92. package/dist/components/fy-input-color/index.js +1 -1
  93. package/dist/components/fy-input-icon/index.js +1 -1
  94. package/dist/components/fy-input-map/index.js +4 -4
  95. package/dist/components/fy-input-number/index.js +1 -1
  96. package/dist/components/fy-input-table/index.js +4 -4
  97. package/dist/components/fy-input-tree/index.js +2 -2
  98. package/dist/components/fy-radio/index.js +1 -1
  99. package/dist/components/fy-rate/index.js +1 -1
  100. package/dist/components/fy-select/index.js +18 -17
  101. package/dist/components/fy-slider/index.js +2 -2
  102. package/dist/components/fy-switch/index.js +1 -1
  103. package/dist/components/fy-time/index.js +2 -2
  104. package/dist/components/fy-title/index.js +1 -1
  105. package/dist/components/fy-tree/index.js +7 -6
  106. package/dist/components/fy-upload/index.js +11 -10
  107. package/dist/components/header-menu/index.js +1 -1
  108. package/dist/components/header-search/index.js +2 -2
  109. package/dist/components/license/index.js +5 -5
  110. package/dist/components/login/index.js +9 -8
  111. package/dist/components/record-video/index.js +1 -1
  112. package/dist/components/search/index.js +10 -9
  113. package/dist/components/sign/index.js +1 -1
  114. package/dist/components/table-column/index.js +4 -1
  115. package/dist/components/table-page/index.js +9 -6
  116. package/dist/components/text-ellipsis/index.js +1 -1
  117. package/dist/components/verify/index.js +1 -1
  118. package/dist/components/watermark/index.js +5 -1
  119. package/dist/components/widget-config/index.js +107 -0
  120. package/dist/components/widget-form/index.js +68 -0
  121. package/dist/components/widget-form-group/index.js +91 -0
  122. package/dist/components/widget-form-item/index.js +70 -0
  123. package/dist/components/widget-form-table/index.js +90 -0
  124. package/dist/index.css +761 -201
  125. package/dist/index.es.js +24037 -16605
  126. package/package.json +6 -4
  127. package/web-types.json +1880 -1781
  128. package/dist/chunks/dataformat.fb35ee10.js +0 -61
@@ -0,0 +1,56 @@
1
+ import { s as n, r as o } from "../../chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js";
2
+ import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
+ const i = {
4
+ name: "ConfigUpload",
5
+ props: ["data"],
6
+ data() {
7
+ return {
8
+ option: {
9
+ column: [{
10
+ type: "input",
11
+ prop: "key",
12
+ label: "key"
13
+ }, {
14
+ type: "input",
15
+ prop: "value",
16
+ label: "value"
17
+ }]
18
+ }
19
+ };
20
+ },
21
+ watch: {
22
+ "data.prop": {
23
+ handler() {
24
+ },
25
+ immediate: !0
26
+ },
27
+ "data.drag": function(t) {
28
+ },
29
+ "data.dragFile": function(t) {
30
+ t && this.$delete(this.data, "listType");
31
+ },
32
+ "data.showCanvas"(t) {
33
+ t ? (this.$set(this.data, "canvasOption", {}), this.$set(this.data, "accept", "image/*")) : this.$delete(this.data, "canvasOption");
34
+ }
35
+ }
36
+ }, e = {};
37
+ var l = /* @__PURE__ */ s(
38
+ i,
39
+ o,
40
+ n,
41
+ !1,
42
+ p,
43
+ null,
44
+ null,
45
+ null
46
+ );
47
+ function p(t) {
48
+ for (let a in e)
49
+ this[a] = e[a];
50
+ }
51
+ const c = /* @__PURE__ */ function() {
52
+ return l.exports;
53
+ }();
54
+ export {
55
+ c as default
56
+ };
@@ -70,7 +70,12 @@ const n = {
70
70
  },
71
71
  computed: {
72
72
  innerOptions() {
73
- return { ...this.options || {}, className: this.theme || "os-theme-dark", scrollbars: { autoHide: "l", autoHideDelay: 100 }, callbacks: { onScroll: this.internalScroll } };
73
+ return {
74
+ ...this.options || {},
75
+ className: this.theme || "os-theme-dark",
76
+ scrollbars: { autoHide: "l", autoHideDelay: 100 },
77
+ callbacks: { onScroll: this.internalScroll }
78
+ };
74
79
  }
75
80
  },
76
81
  watch: {
@@ -1,5 +1,5 @@
1
- import { d as p } from "../../chunks/detail.a3249549.js";
2
- import { k as a } from "../../chunks/util.5053d54e.js";
1
+ import { d as p } from "../../chunks/detail.ac4d421a.js";
2
+ import { d as a } from "../../chunks/util.80e28481.js";
3
3
  import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  var d = function() {
5
5
  var t = this, s = t.$createElement, e = t._self._c || s;
@@ -1,4 +1,4 @@
1
- import { k as n } from "../../chunks/util.5053d54e.js";
1
+ import { d as n } from "../../chunks/util.80e28481.js";
2
2
  import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var r = function() {
4
4
  var e = this, l = e.$createElement, t = e._self._c || l;
@@ -1,5 +1,6 @@
1
- import { c as d } from "../../chunks/config.46422d7f.js";
2
- import { k as l, c as o, o as r, u, n as a } from "../../chunks/util.5053d54e.js";
1
+ import { c } from "../../chunks/config.46422d7f.js";
2
+ import { d as l, o as r, u, j as a } from "../../chunks/util.80e28481.js";
3
+ import { isBlank as o } from "@web-utils/core";
3
4
  import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
5
  var p = function() {
5
6
  var t = this, e = t.$createElement, i = t._self._c || e;
@@ -50,8 +51,8 @@ var p = function() {
50
51
  scopedSlots: t._u([t._l(t.crud.formSlot, function(s) {
51
52
  return {
52
53
  key: t.getSlotName(s),
53
- fn: function(c) {
54
- return [t._t(s, null, null, Object.assign(c, {
54
+ fn: function(d) {
55
+ return [t._t(s, null, null, Object.assign(d, {
55
56
  type: t.boxType
56
57
  }))];
57
58
  }
@@ -130,7 +131,7 @@ const m = {
130
131
  return this.crud.tableOption.dialogDirection;
131
132
  },
132
133
  width() {
133
- return r(`${this.crud.tableOption.dialogWidth}`, this.crud.isMobile ? "100%" : `${d.dialogWidth}`);
134
+ return r(`${this.crud.tableOption.dialogWidth}`, this.crud.isMobile ? "100%" : `${c.dialogWidth}`);
134
135
  },
135
136
  dialogType() {
136
137
  return this.isDrawer ? "ElDrawer" : "ElementDialog";
@@ -267,9 +268,9 @@ function g(t) {
267
268
  for (let e in n)
268
269
  this[e] = n[e];
269
270
  }
270
- const x = /* @__PURE__ */ function() {
271
+ const F = /* @__PURE__ */ function() {
271
272
  return f.exports;
272
273
  }();
273
274
  export {
274
- x as default
275
+ F as default
275
276
  };
@@ -39,7 +39,10 @@ const r = {
39
39
  },
40
40
  render(n, { children: l, data: o, props: e }) {
41
41
  const t = f(o.class, e.relative ? "flex-item-relative" : "flex-item");
42
- return e.absolute && !e.relative && t.push("flex-item-relative"), e.center || e.horizonCenter && e.verticalCenter ? (t.push("horizon-center"), t.push("vertical-center")) : (e.horizonCenter && t.push("horizon-center"), e.verticalCenter && t.push("vertical-center")), e.textCenter && t.push("text-center"), e.flexColumn && t.push("flex-column"), e.flexRow && t.push("flex-row"), e.absolute ? n("div", { ...o, class: t }, [n("div", { class: "absolute", style: "overflow:auto" }, l)]) : n("div", { ...o, class: t }, l);
42
+ return e.absolute && !e.relative && t.push("flex-item-relative"), e.center || e.horizonCenter && e.verticalCenter ? (t.push("horizon-center"), t.push("vertical-center")) : (e.horizonCenter && t.push("horizon-center"), e.verticalCenter && t.push("vertical-center")), e.textCenter && t.push("text-center"), e.flexColumn && t.push("flex-column"), e.flexRow && t.push("flex-row"), e.absolute ? n("div", { ...o, class: t }, [n("div", {
43
+ class: "absolute",
44
+ style: "overflow:auto"
45
+ }, l)]) : n("div", { ...o, class: t }, l);
43
46
  }
44
47
  };
45
48
  let i, u;
@@ -1,4 +1,4 @@
1
- import { s as l, r as u } from "../../chunks/util.5053d54e.js";
1
+ import { s as l, r as u } from "../../chunks/util.80e28481.js";
2
2
  import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var h = function() {
4
4
  var t = this, e = t.$createElement, n = t._self._c || e;
@@ -1,4 +1,4 @@
1
- import { s as n } from "../../chunks/util.5053d54e.js";
1
+ import { s as n } from "../../chunks/util.80e28481.js";
2
2
  import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var l = function() {
4
4
  var e = this, o = e.$createElement, t = e._self._c || o;
@@ -0,0 +1,26 @@
1
+ import { s as t, r as e } from "../../chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js";
2
+ import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
+ const s = {
4
+ name: "FormConfig",
5
+ props: ["data"]
6
+ }, o = {};
7
+ var a = /* @__PURE__ */ r(
8
+ s,
9
+ e,
10
+ t,
11
+ !1,
12
+ i,
13
+ null,
14
+ null,
15
+ null
16
+ );
17
+ function i(l) {
18
+ for (let n in o)
19
+ this[n] = o[n];
20
+ }
21
+ const m = /* @__PURE__ */ function() {
22
+ return a.exports;
23
+ }();
24
+ export {
25
+ m as default
26
+ };
@@ -41,7 +41,7 @@ var s = function() {
41
41
  class: [e.icon, "avue-group__icon"]
42
42
  }) : e._e(), e.label ? t("h1", {
43
43
  staticClass: "avue-group__title"
44
- }, [e._v(e._s(e.label))]) : e._e()]) : e._e(), e._t("default")], 2)], 1)], 2) : e._e();
44
+ }, [e._v(" " + e._s(e.label) + " ")]) : e._e()]) : e._e(), e._t("default")], 2)], 1)], 2) : e._e();
45
45
  }, n = [];
46
46
  const i = {
47
47
  name: "FormGroup",
@@ -1,6 +1,6 @@
1
- import { g as a, a as u } from "../../chunks/dataformat.fb35ee10.js";
1
+ import { g as a, a as u } from "../../chunks/dataformat.d3fd2d1b.js";
2
2
  import { s as p } from "../../chunks/slot.1b8d2b1b.js";
3
- import { u as s } from "../../chunks/util.5053d54e.js";
3
+ import { u as s } from "../../chunks/util.80e28481.js";
4
4
  import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
5
5
  var i = function() {
6
6
  var e = this, n = e.$createElement, o = e._self._c || n;
@@ -1,5 +1,5 @@
1
- import { p as a, e as o } from "../../chunks/event.50c365eb.js";
2
- import { i as c } from "../../chunks/util.5053d54e.js";
1
+ import { p as a, e as o } from "../../chunks/event.43b42228.js";
2
+ import { x as c } from "../../chunks/util.80e28481.js";
3
3
  import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  var u = function() {
5
5
  var t = this, i = t.$createElement, e = t._self._c || i;
@@ -97,7 +97,7 @@ var u = function() {
97
97
  })], 2);
98
98
  }, d = [];
99
99
  const m = {
100
- name: "Array",
100
+ name: "FyArray",
101
101
  mixins: [a, o],
102
102
  props: {
103
103
  fileType: String,
@@ -148,9 +148,9 @@ function y(t) {
148
148
  for (let i in l)
149
149
  this[i] = l[i];
150
150
  }
151
- const b = /* @__PURE__ */ function() {
151
+ const x = /* @__PURE__ */ function() {
152
152
  return _.exports;
153
153
  }();
154
154
  export {
155
- b as default
155
+ x as default
156
156
  };
File without changes
@@ -1,4 +1,4 @@
1
- import { p as d, e as u } from "../../chunks/event.50c365eb.js";
1
+ import { p as d, e as u } from "../../chunks/event.43b42228.js";
2
2
  import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var h = function() {
4
4
  var e = this, t = e.$createElement, s = e._self._c || t;
@@ -1,4 +1,4 @@
1
- import { p as i, e as c } from "../../chunks/event.50c365eb.js";
1
+ import { p as i, e as c } from "../../chunks/event.43b42228.js";
2
2
  import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var r = function() {
4
4
  var e = this, t = e.$createElement, l = e._self._c || t;
@@ -1,106 +1,12 @@
1
- import { p as F } from "../../chunks/packages.5d7a86c4.js";
1
+ import { p as F } from "../../chunks/packages.6f252850.js";
2
2
  import { p as S } from "../../chunks/permission.ce5d2121.js";
3
- import { i as _ } from "../../chunks/init.352281f5.js";
3
+ import { i as _ } from "../../chunks/init.3b47bb80.js";
4
4
  import { c as d } from "../../chunks/config.46422d7f.js";
5
- import { b as v, f as O } from "../../chunks/dataformat.fb35ee10.js";
6
- import { a as f, s as k, o as y, c as b, k as o } from "../../chunks/util.5053d54e.js";
7
- import { n as L } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
8
- const E = {
9
- common: {
10
- condition: "条件",
11
- display: "显示",
12
- hide: "隐藏"
13
- },
14
- tip: {
15
- select: "请选择",
16
- input: "请输入"
17
- },
18
- check: {
19
- checkAll: "全选"
20
- },
21
- upload: {
22
- upload: "点击上传",
23
- tip: "将文件拖到此处,或"
24
- },
25
- time: {
26
- start: "开始",
27
- end: "结束"
28
- },
29
- date: {
30
- start: "开始",
31
- end: "结束",
32
- t: "今日",
33
- y: "昨日",
34
- n: "近7天",
35
- a: "全部"
36
- },
37
- form: {
38
- printBtn: "打 印",
39
- mockBtn: "模 拟",
40
- submitBtn: "提 交",
41
- emptyBtn: "清 空"
42
- },
43
- crud: {
44
- filter: {
45
- addBtn: "新增条件",
46
- clearBtn: "清空数据",
47
- resetBtn: "清空条件",
48
- cancelBtn: "取 消",
49
- submitBtn: "确 定"
50
- },
51
- column: {
52
- name: "列名",
53
- hide: "隐藏",
54
- fixed: "冻结",
55
- filters: "过滤",
56
- sortable: "排序",
57
- index: "顺序",
58
- width: "宽度"
59
- },
60
- tipStartTitle: "当前表格已选择",
61
- tipEndTitle: "项",
62
- editTitle: "编 辑",
63
- copyTitle: "复 制",
64
- addTitle: "新 增",
65
- viewTitle: "查 看",
66
- filterTitle: "过滤条件",
67
- showTitle: "列显隐",
68
- menu: "操作",
69
- addBtn: "新 增",
70
- show: "显 示",
71
- hide: "隐 藏",
72
- open: "展 开",
73
- shrink: "收 缩",
74
- printBtn: "打 印",
75
- excelBtn: "导 出",
76
- updateBtn: "修 改",
77
- cancelBtn: "取 消",
78
- searchBtn: "搜 索",
79
- emptyBtn: "清 空",
80
- menuBtn: "功 能",
81
- saveBtn: "保 存",
82
- viewBtn: "查 看",
83
- editBtn: "编 辑",
84
- copyBtn: "复 制",
85
- delBtn: "删 除"
86
- }
87
- }, x = (e, t) => {
88
- t = t || "";
89
- const l = t.split(".");
90
- let i = e, r = null;
91
- for (let s = 0, a = l.length; s < a; s++) {
92
- const c = l[s];
93
- if (!i)
94
- break;
95
- if (s === a - 1) {
96
- r = i[c];
97
- break;
98
- }
99
- i = i[c];
100
- }
101
- return r;
102
- }, D = (e) => x(E, e);
103
- var B = function() {
5
+ import { b as v, t as O, f as L } from "../../chunks/dataformat.d3fd2d1b.js";
6
+ import { k as f, s as k, o as y, d as n } from "../../chunks/util.80e28481.js";
7
+ import { isBlank as b } from "@web-utils/core";
8
+ import { n as E } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
9
+ var x = function() {
104
10
  var e = this, t = e.$createElement, l = e._self._c || t;
105
11
  return l("div", {
106
12
  staticClass: "avue-crud avue-crud--card"
@@ -312,8 +218,8 @@ var B = function() {
312
218
  }), l("DialogFilter", {
313
219
  ref: "dialogFilter"
314
220
  })], 2);
315
- }, P = [];
316
- const H = {
221
+ }, D = [];
222
+ const P = {
317
223
  name: "FyCurd",
318
224
  directives: {
319
225
  permission: S
@@ -542,7 +448,7 @@ const H = {
542
448
  });
543
449
  },
544
450
  menuIcon(e) {
545
- return y(this.tableOption[e + "Text"], D(`crud.${e}`));
451
+ return y(this.tableOption[e + "Text"], O(`crud.${e}`));
546
452
  },
547
453
  getBtnIcon(e) {
548
454
  const t = e + "Icon";
@@ -553,7 +459,7 @@ const H = {
553
459
  return this.$refs.dialogForm.$refs.tableForm.validateField(e);
554
460
  },
555
461
  selectClear() {
556
- this.$emit("selection-clear", o(this.tableSelect)), this.$refs.table.clearSelection();
462
+ this.$emit("selection-clear", n(this.tableSelect)), this.$refs.table.clearSelection();
557
463
  },
558
464
  toggleRowSelection(e, t) {
559
465
  this.$refs.table.toggleRowSelection(e, t);
@@ -566,7 +472,7 @@ const H = {
566
472
  },
567
473
  dataInit() {
568
474
  this.list = this.data, this.list.forEach((e, t) => {
569
- e.$cellEdit && !this.cascaderFormList[t] && (this.cascaderFormList[t] = o(e)), this.$set(e, "$cellEdit", e.$cellEdit || !1), this.$set(e, "$index", t);
475
+ e.$cellEdit && !this.cascaderFormList[t] && (this.cascaderFormList[t] = n(e)), this.$set(e, "$cellEdit", e.$cellEdit || !1), this.$set(e, "$index", t);
570
476
  });
571
477
  },
572
478
  //拖动表头事件
@@ -661,8 +567,8 @@ const H = {
661
567
  },
662
568
  //单元格新增
663
569
  rowCellAdd(e = {}) {
664
- let t = this.list.length, l = O(this.propOption).tableForm;
665
- e = o(
570
+ let t = this.list.length, l = L(this.propOption).tableForm;
571
+ e = n(
666
572
  Object.assign(
667
573
  {
668
574
  $cellEdit: !0,
@@ -682,7 +588,7 @@ const H = {
682
588
  e.$cellEdit ? this.rowCellUpdate(e, t) : this.rowCellEdit(e, t);
683
589
  },
684
590
  rowCellUpdate(e, t) {
685
- e = o(e);
591
+ e = n(e);
686
592
  var l = this.validateCellField(t);
687
593
  const i = () => {
688
594
  this.btnDisabledList[t] = !1, this.btnDisabled = !1, this.list[t].$cellEdit = !1, this.cascaderIndexList.splice(this.cascaderIndexList.indexOf(t), 1), delete this.cascaderFormList[t];
@@ -693,7 +599,7 @@ const H = {
693
599
  },
694
600
  // 单元格编辑
695
601
  rowCellEdit(e, t) {
696
- e.$cellEdit = !0, this.cascaderFormList[t] = o(e), this.cascaderDicList[t] = o(this.cascaderDIC[t]);
602
+ e.$cellEdit = !0, this.cascaderFormList[t] = n(e), this.cascaderDicList[t] = n(this.cascaderDIC[t]);
697
603
  },
698
604
  // 对部分表单字段进行校验
699
605
  validateCellForm(e) {
@@ -732,15 +638,15 @@ const H = {
732
638
  },
733
639
  // 编辑
734
640
  rowEdit(e, t) {
735
- this.tableForm = o(e), this.tableIndex = t, this.setVal(), this.$refs.dialogForm.show("edit");
641
+ this.tableForm = n(e), this.tableIndex = t, this.setVal(), this.$refs.dialogForm.show("edit");
736
642
  },
737
643
  //复制
738
644
  rowCopy(e) {
739
- this.tableForm = o(e), delete this.tableForm[this.rowKey], this.tableIndex = -1, this.setVal(), this.$refs.dialogForm.show("add");
645
+ this.tableForm = n(e), delete this.tableForm[this.rowKey], this.tableIndex = -1, this.setVal(), this.$refs.dialogForm.show("add");
740
646
  },
741
647
  //查看
742
648
  rowView(e, t) {
743
- this.tableForm = o(e), this.tableIndex = t, this.setVal(), this.$refs.dialogForm.show("view");
649
+ this.tableForm = n(e), this.tableIndex = t, this.setVal(), this.$refs.dialogForm.show("view");
744
650
  },
745
651
  // 删除
746
652
  rowDel(e, t) {
@@ -762,25 +668,25 @@ const H = {
762
668
  const { columns: l, data: i } = e;
763
669
  let r = [];
764
670
  return l.length > 0 && l.forEach((s, a) => {
765
- let c = this.sumColumnList.find((u) => u.name === s.property);
766
- if (c) {
767
- let u = c.decimals || 2, m = c.label || "";
768
- switch (c.type) {
671
+ let h = this.sumColumnList.find((u) => u.name === s.property);
672
+ if (h) {
673
+ let u = h.decimals || 2, m = h.label || "";
674
+ switch (h.type) {
769
675
  case "count":
770
676
  r[a] = m + i.length;
771
677
  break;
772
678
  case "avg":
773
- let C = i.map((n) => Number(n[s.property])), g = 1;
774
- r[a] = C.reduce((n, h) => {
775
- let p = Number(h);
776
- return isNaN(p) ? n : (n * (g - 1) + h) / g++;
679
+ let C = i.map((o) => Number(o[s.property])), g = 1;
680
+ r[a] = C.reduce((o, c) => {
681
+ let p = Number(c);
682
+ return isNaN(p) ? o : (o * (g - 1) + c) / g++;
777
683
  }, 0), r[a] = m + r[a].toFixed(u);
778
684
  break;
779
685
  case "sum":
780
- let $ = i.map((n) => Number(n[s.property]));
781
- r[a] = $.reduce((n, h) => {
782
- let p = Number(h);
783
- return isNaN(p) ? n : n + h;
686
+ let $ = i.map((o) => Number(o[s.property]));
687
+ r[a] = $.reduce((o, c) => {
688
+ let p = Number(c);
689
+ return isNaN(p) ? o : o + c;
784
690
  }, 0), r[a] = m + r[a].toFixed(u);
785
691
  break;
786
692
  }
@@ -824,10 +730,10 @@ const H = {
824
730
  }
825
731
  }
826
732
  }, w = {};
827
- var T = /* @__PURE__ */ L(
828
- H,
829
- B,
733
+ var H = /* @__PURE__ */ E(
830
734
  P,
735
+ x,
736
+ D,
831
737
  !1,
832
738
  M,
833
739
  null,
@@ -838,9 +744,9 @@ function M(e) {
838
744
  for (let t in w)
839
745
  this[t] = w[t];
840
746
  }
841
- const z = /* @__PURE__ */ function() {
842
- return T.exports;
747
+ const j = /* @__PURE__ */ function() {
748
+ return H.exports;
843
749
  }();
844
750
  export {
845
- z as default
751
+ j as default
846
752
  };
@@ -1,4 +1,4 @@
1
- import { p as n, e as o } from "../../chunks/event.50c365eb.js";
1
+ import { p as n, e as o } from "../../chunks/event.43b42228.js";
2
2
  import { n as i } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var s = function() {
4
4
  var e = this, a = e.$createElement, t = e._self._c || a;
@@ -1,5 +1,6 @@
1
1
  import { c as a } from "../../chunks/config.46422d7f.js";
2
- import { k as l, c as r, o as n, u, n as c } from "../../chunks/util.5053d54e.js";
2
+ import { d as l, o as n, u, j as d } from "../../chunks/util.80e28481.js";
3
+ import { isBlank as r } from "@web-utils/core";
3
4
  import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
5
  var p = function() {
5
6
  var t = this, e = t.$createElement, i = t._self._c || e;
@@ -208,7 +209,7 @@ const m = {
208
209
  rowSave(t) {
209
210
  this.crud.$emit(
210
211
  "row-save",
211
- c(this.crud.tableForm, ["$"]),
212
+ d(this.crud.tableForm, ["$"]),
212
213
  this.closeDialog,
213
214
  t
214
215
  );
@@ -217,7 +218,7 @@ const m = {
217
218
  rowUpdate(t) {
218
219
  this.crud.$emit(
219
220
  "row-update",
220
- c(this.crud.tableForm, ["$"]),
221
+ d(this.crud.tableForm, ["$"]),
221
222
  this.crud.tableIndex,
222
223
  this.closeDialog,
223
224
  t
@@ -255,7 +256,7 @@ const m = {
255
256
  typeof this.crud.beforeOpen == "function" ? this.crud.beforeOpen(e, this.boxType) : e();
256
257
  }
257
258
  }
258
- }, d = {};
259
+ }, c = {};
259
260
  var f = /* @__PURE__ */ h(
260
261
  m,
261
262
  p,
@@ -267,12 +268,12 @@ var f = /* @__PURE__ */ h(
267
268
  null
268
269
  );
269
270
  function y(t) {
270
- for (let e in d)
271
- this[e] = d[e];
271
+ for (let e in c)
272
+ this[e] = c[e];
272
273
  }
273
- const F = /* @__PURE__ */ function() {
274
+ const x = /* @__PURE__ */ function() {
274
275
  return f.exports;
275
276
  }();
276
277
  export {
277
- F as default
278
+ x as default
278
279
  };
@@ -1,4 +1,4 @@
1
- import { s as l, j as a } from "../../chunks/util.5053d54e.js";
1
+ import { s as l, g as a } from "../../chunks/util.80e28481.js";
2
2
  import { n as v } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var g = function() {
4
4
  var e = this, t = e.$createElement, s = e._self._c || t;
@@ -73,7 +73,7 @@ var g = function() {
73
73
  }) : e._e()], 2)], 1);
74
74
  }, y = [];
75
75
  const _ = {
76
- name: "Draggable",
76
+ name: "FyDraggable",
77
77
  props: {
78
78
  index: {
79
79
  type: [String, Number]
@@ -1,5 +1,5 @@
1
- import { p as u, e as c } from "../../chunks/event.50c365eb.js";
2
- import { o, k as l } from "../../chunks/util.5053d54e.js";
1
+ import { p as u, e as c } from "../../chunks/event.43b42228.js";
2
+ import { o, d as l } from "../../chunks/util.80e28481.js";
3
3
  import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  function f(e) {
5
5
  if (e == null)
@@ -1,4 +1,4 @@
1
- import { s as N } from "../../chunks/util.5053d54e.js";
1
+ import { s as N } from "../../chunks/util.80e28481.js";
2
2
  import { n as j } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var i = function() {
4
4
  var M = this, I = M.$createElement, g = M._self._c || I;
@@ -19,7 +19,7 @@ var i = function() {
19
19
  }, [M._v(" " + M._s(M.desc) + " ")]), M._t("default")], 2);
20
20
  }, u = [];
21
21
  const T = {
22
- name: "Empty",
22
+ name: "FyEmpty",
23
23
  props: {
24
24
  size: {
25
25
  type: String
@@ -37,22 +37,22 @@ const T = {
37
37
  setPx: N
38
38
  }
39
39
  }, A = {};
40
- var L = /* @__PURE__ */ j(
40
+ var y = /* @__PURE__ */ j(
41
41
  T,
42
42
  i,
43
43
  u,
44
44
  !1,
45
- y,
45
+ L,
46
46
  null,
47
47
  null,
48
48
  null
49
49
  );
50
- function y(M) {
50
+ function L(M) {
51
51
  for (let I in A)
52
52
  this[I] = A[I];
53
53
  }
54
54
  const C = /* @__PURE__ */ function() {
55
- return L.exports;
55
+ return y.exports;
56
56
  }();
57
57
  export {
58
58
  C as default
File without changes