@web-utils/component 4.0.15 → 4.0.16

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 (169) hide show
  1. package/address-input/index.mjs +13 -15
  2. package/card/index.mjs +18 -20
  3. package/carousel/index.mjs +10 -12
  4. package/chat/index.mjs +45 -56
  5. package/chunk-file-uploader/index.mjs +36 -378
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
  8. package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
  9. package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
  10. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
  11. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
  12. package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
  13. package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
  14. package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
  15. package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
  16. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
  17. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
  18. package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
  19. package/chunks/core.0Exl13Mz.mjs +54 -0
  20. package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
  21. package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
  22. package/chunks/dictionary.DGt59Ir7.mjs +68 -0
  23. package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
  24. package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
  25. package/chunks/form-item.LWjePsPa.mjs +233 -0
  26. package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
  27. package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
  28. package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
  29. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  30. package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
  31. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  32. package/chunks/utils.DRcxC1Fb.mjs +60 -0
  33. package/color-picker/index.mjs +22 -101
  34. package/confirm-button/index.mjs +1 -1
  35. package/confirmable/index.mjs +1 -1
  36. package/data-box/index.mjs +12 -15
  37. package/data-card/index.mjs +10 -12
  38. package/data-card-text/index.mjs +10 -12
  39. package/data-display/index.mjs +15 -17
  40. package/data-icons/index.mjs +13 -16
  41. package/data-imgtext/index.mjs +15 -18
  42. package/data-operatext/index.mjs +14 -16
  43. package/data-panel/index.mjs +13 -16
  44. package/data-pay/index.mjs +16 -20
  45. package/data-price/index.mjs +14 -16
  46. package/data-progress/index.mjs +13 -17
  47. package/data-rotate/index.mjs +12 -15
  48. package/data-table-picker/index.mjs +15 -18
  49. package/data-tabs/index.mjs +12 -15
  50. package/dialog-form/index.mjs +16 -18
  51. package/dynamic-table/index.mjs +25 -30
  52. package/editable-progress/index.mjs +9 -11
  53. package/editable-tree/index.mjs +52 -56
  54. package/egd-collapse-item/index.mjs +9 -9
  55. package/element-dialog/index.mjs +22 -23
  56. package/element-listeners/style.css +1 -0
  57. package/element-multi-instance/style.css +1 -0
  58. package/flex-column/index.mjs +1 -1
  59. package/flex-item/index.mjs +1 -1
  60. package/flex-row/index.mjs +1 -1
  61. package/flow/index.mjs +10 -11
  62. package/flow-designer/index.mjs +699 -1973
  63. package/flow-designer/style.css +1 -1
  64. package/flow-node/index.mjs +1 -1
  65. package/flow-viewer/index.mjs +9 -9
  66. package/form-block/index.mjs +32 -34
  67. package/form-cascader/index.mjs +23 -24
  68. package/form-checkbox/index.mjs +16 -17
  69. package/form-checkbox-group/index.mjs +20 -23
  70. package/form-date-picker/index.mjs +18 -20
  71. package/form-holder/index.mjs +13 -14
  72. package/form-input/index.mjs +14 -15
  73. package/form-input-cron-expression/index.mjs +19 -22
  74. package/form-input-email/index.mjs +15 -16
  75. package/form-input-id-card/index.mjs +12 -13
  76. package/form-input-number/index.mjs +16 -17
  77. package/form-input-phone-number/index.mjs +21 -22
  78. package/form-input-tag/index.mjs +14 -15
  79. package/form-input-time/index.mjs +14 -15
  80. package/form-item/index.mjs +140 -3
  81. package/form-item-group/index.mjs +28 -31
  82. package/form-radio-group/index.mjs +27 -28
  83. package/form-select/index.mjs +21 -23
  84. package/form-switch/index.mjs +16 -17
  85. package/form-table/index.mjs +16 -17
  86. package/form-table-plus/index.mjs +21 -22
  87. package/form-textarea/index.mjs +15 -16
  88. package/form-tree-select/index.mjs +14 -15
  89. package/form-tree-select-multiple/index.mjs +14 -15
  90. package/form-view/index.mjs +35 -39
  91. package/fy-array/index.mjs +33 -37
  92. package/fy-cascader/index.mjs +16 -17
  93. package/fy-checkbox/index.mjs +11 -13
  94. package/fy-code/index.mjs +10 -10
  95. package/fy-curd/index.mjs +1128 -1152
  96. package/fy-date/index.mjs +10 -11
  97. package/fy-draggable/index.mjs +9 -10
  98. package/fy-dynamic/index.mjs +22 -25
  99. package/fy-empty/index.mjs +1 -1
  100. package/fy-form/index.mjs +638 -15
  101. package/fy-form-design/index.mjs +1307 -1345
  102. package/fy-from/crud/zh.d.ts +6 -6
  103. package/fy-input/index.mjs +12 -14
  104. package/fy-input-color/index.mjs +13 -15
  105. package/fy-input-icon/index.mjs +20 -23
  106. package/fy-input-map/index.mjs +28 -31
  107. package/fy-input-number/index.mjs +9 -10
  108. package/fy-input-table/index.mjs +18 -22
  109. package/fy-input-tree/index.mjs +33 -37
  110. package/fy-progress/index.mjs +9 -10
  111. package/fy-radio/index.mjs +15 -16
  112. package/fy-rate/index.mjs +10 -11
  113. package/fy-select/index.mjs +25 -29
  114. package/fy-slider/index.mjs +11 -12
  115. package/fy-switch/index.mjs +9 -10
  116. package/fy-tabs/index.mjs +15 -17
  117. package/fy-time/index.mjs +1 -1
  118. package/fy-title/index.mjs +1 -1
  119. package/fy-tree/index.mjs +18 -24
  120. package/fy-u-editor/index.mjs +1 -1
  121. package/fy-upload/index.mjs +74 -76
  122. package/guide-steps/index.mjs +11 -13
  123. package/iframe-window/index.mjs +9 -10
  124. package/image-cropper/index.mjs +28 -30
  125. package/image-preview/index.mjs +12 -14
  126. package/index.mjs +72 -72
  127. package/input-number/index.mjs +13 -14
  128. package/input-number-range/index.mjs +11 -12
  129. package/license/index.mjs +1 -1
  130. package/login/index.mjs +21 -26
  131. package/nav-bar/index.mjs +9 -10
  132. package/notice/index.mjs +9 -10
  133. package/package.json +1 -1
  134. package/page-index/index.mjs +12 -13
  135. package/page-index-top/index.mjs +23 -28
  136. package/page-skeleton/index.mjs +14 -14
  137. package/page-skeleton-new/index.mjs +8 -9
  138. package/pageable-table/index.mjs +172 -182
  139. package/pageable-view/index.mjs +15 -16
  140. package/picker-table-view/index.mjs +49 -58
  141. package/present-view/index.mjs +35 -39
  142. package/record-video/index.mjs +1 -1
  143. package/resize-observer/index.mjs +1 -1
  144. package/search/index.mjs +20 -22
  145. package/search-popover/index.mjs +1 -1
  146. package/sign/index.mjs +1 -1
  147. package/skeleton-panel/index.mjs +9 -10
  148. package/split-pane/index.mjs +36 -37
  149. package/static-pageable-table/index.mjs +11 -13
  150. package/sub-table/index.mjs +36 -49
  151. package/sub-table-plus/index.mjs +229 -18
  152. package/swiper/index.mjs +11 -12
  153. package/table-column/index.mjs +223 -3
  154. package/table-view/index.mjs +52 -60
  155. package/tabs-view/index.mjs +17 -19
  156. package/tag-render/index.mjs +16 -18
  157. package/text-ellipsis/index.mjs +9 -10
  158. package/toolbar/index.mjs +13 -14
  159. package/toolbar-button/index.mjs +13 -14
  160. package/verify/index.mjs +1 -1
  161. package/vue-cron/index.mjs +259 -267
  162. package/watermark/index.mjs +1 -1
  163. package/web-types.json +1 -1
  164. package/x-input-tag/index.mjs +21 -24
  165. package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
  166. package/chunks/FyForm.DriwCJ7b.mjs +0 -765
  167. package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
  168. package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
  169. package/chunks/TableColumn.BzivvXMF.mjs +0 -337
package/fy-rate/index.mjs CHANGED
@@ -1,9 +1,8 @@
1
- import l from "element-ui/lib/rate";
2
- import { p as a, e as t } from "../chunks/event.DSlcqYHL.mjs";
3
- import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- const n = {
1
+ import { p as l, e as a } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const r = {
5
4
  name: "FyRate",
6
- mixins: [a, t],
5
+ mixins: [l, a],
7
6
  props: {
8
7
  allowHalf: Boolean,
9
8
  lowThreshold: Number,
@@ -51,22 +50,22 @@ const n = {
51
50
  },
52
51
  methods: {}
53
52
  };
54
- var d = function() {
53
+ var n = function() {
55
54
  var e = this, s = e._self._c;
56
- return s(l, { attrs: { max: e.max, "low-threshold": e.lowThreshold, "high-threshold": e.highThreshold, "disabled-void-color": e.disabledVoidColor, "disabled-void-icon-class": e.disabledVoidIconClass, "allow-half": e.allowHalf, readonly: e.readonly, texts: e.texts, "show-score": e.showScore, "score-template": e.scoreTemplate, "show-text": e.showText, "icon-classes": e.iconClasses, "void-icon-class": e.voidIconClass, disabled: e.disabled, colors: e.colors }, nativeOn: { click: function(o) {
55
+ return s("ElRate", { attrs: { max: e.max, "low-threshold": e.lowThreshold, "high-threshold": e.highThreshold, "disabled-void-color": e.disabledVoidColor, "disabled-void-icon-class": e.disabledVoidIconClass, "allow-half": e.allowHalf, readonly: e.readonly, texts: e.texts, "show-score": e.showScore, "score-template": e.scoreTemplate, "show-text": e.showText, "icon-classes": e.iconClasses, "void-icon-class": e.voidIconClass, disabled: e.disabled, colors: e.colors }, nativeOn: { click: function(o) {
57
56
  return e.handleClick.apply(null, arguments);
58
57
  } }, model: { value: e.text, callback: function(o) {
59
58
  e.text = o;
60
59
  }, expression: "text" } });
61
- }, i = [], c = /* @__PURE__ */ r(
60
+ }, d = [], i = /* @__PURE__ */ t(
61
+ r,
62
62
  n,
63
63
  d,
64
- i,
65
64
  !1,
66
65
  null,
67
66
  null
68
67
  );
69
- const f = c.exports;
68
+ const p = i.exports;
70
69
  export {
71
- f as default
70
+ p as default
72
71
  };
@@ -1,16 +1,12 @@
1
- import s from "element-ui/lib/option";
2
- import r from "element-ui/lib/checkbox";
3
- import c from "element-ui/lib/option-group";
4
- import d from "element-ui/lib/select";
5
- import { p, e as u } from "../chunks/event.DSlcqYHL.mjs";
6
- import { s as f } from "../chunks/dic.BinnDitI.mjs";
7
- import { D as h } from "../chunks/util.DI42t5GU.mjs";
8
- import { isBlank as _ } from "@web-utils/core";
9
- import { p as m } from "../chunks/packages.ByyangTp.mjs";
10
- import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
11
- const y = {
1
+ import { p as i, e as r } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { s as c } from "../chunks/dic.Dkl-leRW.mjs";
3
+ import { b as d } from "../chunks/util.DqFv_pWg.mjs";
4
+ import { isBlank as p } from "@web-utils/core";
5
+ import { p as u } from "../chunks/packages.ByyangTp.mjs";
6
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
+ const h = {
12
8
  name: "FySelect",
13
- mixins: [p, u],
9
+ mixins: [i, r],
14
10
  props: {
15
11
  loadingText: {
16
12
  type: String
@@ -68,7 +64,7 @@ const y = {
68
64
  },
69
65
  watch: {
70
66
  text(l) {
71
- _(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(h) : this.text));
67
+ p(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(d) : this.text));
72
68
  },
73
69
  dic: {
74
70
  handler(l) {
@@ -83,7 +79,7 @@ const y = {
83
79
  methods: {
84
80
  setSort() {
85
81
  if (!window.Sortable) {
86
- m.logs("Sortable");
82
+ u.logs("Sortable");
87
83
  return;
88
84
  }
89
85
  const l = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
@@ -96,7 +92,7 @@ const y = {
96
92
  });
97
93
  },
98
94
  handleRemoteMethod(l) {
99
- this.loading = !0, f({
95
+ this.loading = !0, c({
100
96
  column: this.column,
101
97
  value: l
102
98
  }).then((e) => {
@@ -113,30 +109,30 @@ const y = {
113
109
  }
114
110
  }
115
111
  };
116
- var b = function() {
112
+ var m = function() {
117
113
  var e = this, a = e._self._c;
118
- return a(d, { ref: "main", staticClass: "avue-select", attrs: { size: e.size, loading: e.loading, "loading-text": e.loadingText, multiple: e.multiple, filterable: e.remote ? !0 : e.filterable, remote: e.remote, readonly: e.readonly, "no-match-text": e.noMatchText, "no-data-text": e.noDataText, "remote-method": e.remote ? e.handleRemoteMethod : void 0, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, "collapse-tags": e.tags, clearable: e.clearableVal, placeholder: e.placeholder, "multiple-limit": e.limit, "allow-create": e.allowCreate, "default-first-option": e.defaultFirstOption, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur, change: e.changeSelect }, nativeOn: { click: function(t) {
114
+ return a("ElSelect", { ref: "main", staticClass: "avue-select", attrs: { size: e.size, loading: e.loading, "loading-text": e.loadingText, multiple: e.multiple, filterable: e.remote ? !0 : e.filterable, remote: e.remote, readonly: e.readonly, "no-match-text": e.noMatchText, "no-data-text": e.noDataText, "remote-method": e.remote ? e.handleRemoteMethod : void 0, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, "collapse-tags": e.tags, clearable: e.clearableVal, placeholder: e.placeholder, "multiple-limit": e.limit, "allow-create": e.allowCreate, "default-first-option": e.defaultFirstOption, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur, change: e.changeSelect }, nativeOn: { click: function(t) {
119
115
  return e.handleClick.apply(null, arguments);
120
116
  } }, model: { value: e.text, callback: function(t) {
121
117
  e.text = t;
122
- }, expression: "text" } }, [e.group ? e._l(e.netDic, function(t, n) {
123
- return a(c, { key: n, attrs: { label: e.getLabelText(t) } }, e._l(t[e.groupsKey], function(o, i) {
124
- return a(s, { key: i, attrs: { disabled: o[e.disabledKey], label: e.getLabelText(o), value: o[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: o }) : [a("span", [e._v(e._s(e.getLabelText(o)))]), o[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(o[e.descKey]))]) : e._e()]], 2);
118
+ }, expression: "text" } }, [e.group ? e._l(e.netDic, function(t, o) {
119
+ return a("ElOptionGroup", { key: o, attrs: { label: e.getLabelText(t) } }, e._l(t[e.groupsKey], function(s, n) {
120
+ return a("ElOption", { key: n, attrs: { disabled: s[e.disabledKey], label: e.getLabelText(s), value: s[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: s }) : [a("span", [e._v(e._s(e.getLabelText(s)))]), s[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(s[e.descKey]))]) : e._e()]], 2);
125
121
  }), 1);
126
- }) : [e.all && e.multiple ? a(r, { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
122
+ }) : [e.all && e.multiple ? a("ElCheckbox", { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
127
123
  e.checkAll = t;
128
- }, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, n) {
129
- return a(s, { key: n, attrs: { disabled: t[e.disabledKey], label: e.getLabelText(t), value: t[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: t }) : [a("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
124
+ }, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, o) {
125
+ return a("ElOption", { key: o, attrs: { disabled: t[e.disabledKey], label: e.getLabelText(t), value: t[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: t }) : [a("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
130
126
  })]], 2);
131
- }, v = [], x = /* @__PURE__ */ g(
132
- y,
133
- b,
134
- v,
127
+ }, _ = [], y = /* @__PURE__ */ f(
128
+ h,
129
+ m,
130
+ _,
135
131
  !1,
136
132
  null,
137
133
  null
138
134
  );
139
- const L = x.exports;
135
+ const K = y.exports;
140
136
  export {
141
- L as default
137
+ K as default
142
138
  };
@@ -1,10 +1,9 @@
1
- import n from "element-ui/lib/slider";
2
- import { p as s, e as r } from "../chunks/event.DSlcqYHL.mjs";
3
- import { s as a } from "../chunks/util.DI42t5GU.mjs";
4
- import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
1
+ import { p as s, e as n } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { s as r } from "../chunks/util.DqFv_pWg.mjs";
3
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
4
  const l = {
6
5
  name: "FySlider",
7
- mixins: [s, r],
6
+ mixins: [s, n],
8
7
  props: {
9
8
  step: Number,
10
9
  min: Number,
@@ -21,25 +20,25 @@ const l = {
21
20
  tooltipClass: String
22
21
  },
23
22
  methods: {
24
- setPx: a
23
+ setPx: r
25
24
  }
26
25
  };
27
- var p = function() {
26
+ var i = function() {
28
27
  var o = this, e = o._self._c;
29
- return e(n, { attrs: { disabled: o.disabled, vertical: o.vertical, height: o.setPx(o.height), step: o.step, min: o.min, max: o.max, range: o.range, "show-stops": o.showStops, "show-tooltip": o.showTooltip, "show-input": o.showInput, "show-input-controls": o.showInputControls, "input-size": o.size, "tooltip-class": o.tooltipClass, marks: o.marks, "format-tooltip": o.formatTooltip }, nativeOn: { click: function(t) {
28
+ return e("ElSlider", { attrs: { disabled: o.disabled, vertical: o.vertical, height: o.setPx(o.height), step: o.step, min: o.min, max: o.max, range: o.range, "show-stops": o.showStops, "show-tooltip": o.showTooltip, "show-input": o.showInput, "show-input-controls": o.showInputControls, "input-size": o.size, "tooltip-class": o.tooltipClass, marks: o.marks, "format-tooltip": o.formatTooltip }, nativeOn: { click: function(t) {
30
29
  return o.handleClick.apply(null, arguments);
31
30
  } }, model: { value: o.text, callback: function(t) {
32
31
  o.text = t;
33
32
  }, expression: "text" } });
34
- }, m = [], u = /* @__PURE__ */ i(
33
+ }, p = [], m = /* @__PURE__ */ a(
35
34
  l,
35
+ i,
36
36
  p,
37
- m,
38
37
  !1,
39
38
  null,
40
39
  null
41
40
  );
42
- const v = u.exports;
41
+ const d = m.exports;
43
42
  export {
44
- v as default
43
+ d as default
45
44
  };
@@ -1,9 +1,8 @@
1
- import n from "element-ui/lib/switch";
2
- import { p as a, e as c } from "../chunks/event.DSlcqYHL.mjs";
3
- import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
1
+ import { p as a, e as n } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
3
  const l = {
5
4
  name: "FySwitch",
6
- mixins: [a, c],
5
+ mixins: [a, n],
7
6
  props: {
8
7
  // eslint-disable-next-line vue/no-unused-properties
9
8
  value: [String, Object, Number, Boolean, Array],
@@ -22,22 +21,22 @@ const l = {
22
21
  }
23
22
  }
24
23
  };
25
- var o = function() {
24
+ var r = function() {
26
25
  var e = this, i = e._self._c;
27
- return i(n, { attrs: { "active-text": e.active[e.labelKey], "active-value": e.active[e.valueKey], "inactive-value": e.inactive[e.valueKey], "inactive-text": e.inactive[e.labelKey], "active-icon-class": e.activeIconClass, "inactive-icon-class": e.inactiveIconClass, "active-color": e.activeColor, "inactive-color": e.inactiveColor, width: e.len, disabled: e.disabled, readonly: e.readonly, size: e.size }, nativeOn: { click: function(t) {
26
+ return i("ElSwitch", { attrs: { "active-text": e.active[e.labelKey], "active-value": e.active[e.valueKey], "inactive-value": e.inactive[e.valueKey], "inactive-text": e.inactive[e.labelKey], "active-icon-class": e.activeIconClass, "inactive-icon-class": e.inactiveIconClass, "active-color": e.activeColor, "inactive-color": e.inactiveColor, width: e.len, disabled: e.disabled, readonly: e.readonly, size: e.size }, nativeOn: { click: function(t) {
28
27
  return e.handleClick.apply(null, arguments);
29
28
  } }, model: { value: e.text, callback: function(t) {
30
29
  e.text = t;
31
30
  }, expression: "text" } });
32
- }, s = [], v = /* @__PURE__ */ r(
31
+ }, o = [], s = /* @__PURE__ */ c(
33
32
  l,
33
+ r,
34
34
  o,
35
- s,
36
35
  !1,
37
36
  null,
38
37
  null
39
38
  );
40
- const d = v.exports;
39
+ const m = s.exports;
41
40
  export {
42
- d as default
41
+ m as default
43
42
  };
package/fy-tabs/index.mjs CHANGED
@@ -1,7 +1,5 @@
1
- import s from "element-ui/lib/tab-pane";
2
- import i from "element-ui/lib/tabs";
3
- import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- const c = {
1
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const o = {
5
3
  name: "FyTabs",
6
4
  props: {
7
5
  option: {
@@ -20,29 +18,29 @@ const c = {
20
18
  }
21
19
  },
22
20
  methods: {
23
- changeTabs(a) {
24
- this.active = `${a}`;
21
+ changeTabs(n) {
22
+ this.active = `${n}`;
25
23
  }
26
24
  }
27
25
  };
28
- var l = function() {
29
- var t = this, n = t._self._c;
30
- return n("div", { staticClass: "avue-tabs" }, [n(i, { attrs: { "tab-position": t.option.position, type: t.option.type }, model: { value: t.active, callback: function(e) {
26
+ var r = function() {
27
+ var t = this, a = t._self._c;
28
+ 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) {
31
29
  t.active = e;
32
- }, expression: "active" } }, t._l(t.option.tabs, function(e, o) {
33
- return n(s, { key: e.label, attrs: { name: `${o}`, disabled: e.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
34
- return [n("span", [n("i", { class: e.icon }), t._v("  " + t._s(e.label) + " ")])];
30
+ }, expression: "active" } }, t._l(t.option.tabs, function(e, s) {
31
+ return a("ElTabPane", { key: e.label, attrs: { name: `${s}`, disabled: e.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
32
+ return [a("span", [a("i", { class: e.icon }), t._v("  " + t._s(e.label) + " ")])];
35
33
  }, proxy: !0 }], null, !0) });
36
34
  }), 1)], 1);
37
- }, p = [], _ = /* @__PURE__ */ r(
35
+ }, c = [], l = /* @__PURE__ */ i(
36
+ o,
37
+ r,
38
38
  c,
39
- l,
40
- p,
41
39
  !1,
42
40
  null,
43
41
  null
44
42
  );
45
- const f = _.exports;
43
+ const u = l.exports;
46
44
  export {
47
- f as default
45
+ u as default
48
46
  };
package/fy-time/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { p as n, e as o } from "../chunks/event.DSlcqYHL.mjs";
1
+ import { p as n, e as o } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { isBlank as l } from "@web-utils/core";
3
3
  import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
4
  const s = {
@@ -1,4 +1,4 @@
1
- import { p as s, e as n } from "../chunks/event.DSlcqYHL.mjs";
1
+ import { p as s, e as n } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const a = {
4
4
  name: "FyTitle",
package/fy-tree/index.mjs CHANGED
@@ -1,17 +1,11 @@
1
- import { F as h } from "../chunks/FyForm.DriwCJ7b.mjs";
2
- import p from "../element-dialog/index.mjs";
3
- import u from "element-ui/lib/tree";
4
- import f from "element-ui/lib/scrollbar";
5
- import m from "element-ui/lib/button";
6
- import y from "element-ui/lib/input";
7
- import { o as l, k as r, s as d } from "../chunks/util.DI42t5GU.mjs";
8
- import { p as _ } from "../chunks/permission.CO31YIkD.mjs";
9
- import { isBlank as v } from "@web-utils/core";
10
- import { n as k } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
11
- const b = {
1
+ import { o as l, D as r, s as d } from "../chunks/util.DqFv_pWg.mjs";
2
+ import { p as h } from "../chunks/permission.CO31YIkD.mjs";
3
+ import { isBlank as u } from "@web-utils/core";
4
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const f = {
12
6
  name: "FyTree",
13
7
  directives: {
14
- permission: _
8
+ permission: h
15
9
  },
16
10
  props: {
17
11
  indent: Number,
@@ -158,7 +152,7 @@ const b = {
158
152
  return l(this.option[`${t}Text`], t);
159
153
  },
160
154
  getPermission(t) {
161
- return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) : v(this.permission[t]) ? !0 : this.permission[t];
155
+ return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) : u(this.permission[t]) ? !0 : this.permission[t];
162
156
  },
163
157
  initFun() {
164
158
  [
@@ -263,30 +257,30 @@ const b = {
263
257
  }
264
258
  }
265
259
  };
266
- var C = function() {
260
+ var m = function() {
267
261
  var e = this, i = e._self._c;
268
- return i("div", { staticClass: "avue-tree" }, [e.optVal(e.option.filter, !0) ? i("div", { staticClass: "avue-tree__filter" }, [i(y, { attrs: { placeholder: e.optVal(e.option.filterText, "输入关键字进行过滤"), size: e.size }, model: { value: e.filterValue, callback: function(n) {
262
+ return i("div", { staticClass: "avue-tree" }, [e.optVal(e.option.filter, !0) ? i("div", { staticClass: "avue-tree__filter" }, [i("ElInput", { attrs: { placeholder: e.optVal(e.option.filterText, "输入关键字进行过滤"), size: e.size }, model: { value: e.filterValue, callback: function(n) {
269
263
  e.filterValue = n;
270
- }, expression: "filterValue" } }), e.optVal(e.option.addBtn, !0) ? i(m, { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], attrs: { size: e.size, icon: "el-icon-plus" }, on: { click: e.parentAdd } }) : e._t("addBtn")], 2) : e._e(), i(f, { staticClass: "avue-tree__content" }, [i(u, { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "tree", attrs: { data: e.data, lazy: e.lazy, load: e.treeLoad, props: e.treeProps, "icon-class": e.iconClass, indent: e.indent, "highlight-current": !e.multiple, "show-checkbox": e.multiple, accordion: e.accordion, "node-key": e.valueKey, "check-strictly": e.checkStrictly, "check-on-click-node": e.checkOnClickNode, "filter-node-method": e.filterNode, "expand-on-click-node": e.expandOnClickNode, "default-expand-all": e.defaultExpandAll, "default-expanded-keys": e.defaultExpandedKeys }, on: { "check-change": e.handleCheckChange, "node-click": e.nodeClick, "node-contextmenu": e.nodeContextmenu }, scopedSlots: e._u([{ key: "default", fn: function({ node: n, data: o }) {
264
+ }, expression: "filterValue" } }), e.optVal(e.option.addBtn, !0) ? i("ElButton", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], attrs: { size: e.size, icon: "el-icon-plus" }, on: { click: e.parentAdd } }) : e._t("addBtn")], 2) : e._e(), i("ElScrollbar", { staticClass: "avue-tree__content" }, [i("ElTree", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "tree", attrs: { data: e.data, lazy: e.lazy, load: e.treeLoad, props: e.treeProps, "icon-class": e.iconClass, indent: e.indent, "highlight-current": !e.multiple, "show-checkbox": e.multiple, accordion: e.accordion, "node-key": e.valueKey, "check-strictly": e.checkStrictly, "check-on-click-node": e.checkOnClickNode, "filter-node-method": e.filterNode, "expand-on-click-node": e.expandOnClickNode, "default-expand-all": e.defaultExpandAll, "default-expanded-keys": e.defaultExpandedKeys }, on: { "check-change": e.handleCheckChange, "node-click": e.nodeClick, "node-contextmenu": e.nodeContextmenu }, scopedSlots: e._u([{ key: "default", fn: function({ node: n, data: o }) {
271
265
  return [e._t("default", function() {
272
266
  return [i("span", { staticClass: "el-tree-node__label" }, [i("span", [e._v(e._s(n.label))])])];
273
267
  }, { node: n, data: o })];
274
268
  } }], null, !0) })], 1), e.client.show && e.menu ? i("div", { staticClass: "el-cascader-panel is-bordered avue-tree__menu", style: e.styleName, on: { click: function(n) {
275
269
  e.client.show = !1;
276
- } } }, [e.optVal(e.option.addBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowAdd } }, [e._v(" " + e._s(e.menuIcon("addBtn")) + " ")]) : e._e(), e.optVal(e.option.editBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("editBtn"), expression: "getPermission('editBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowEdit } }, [e._v(" " + e._s(e.menuIcon("editBtn")) + " ")]) : e._e(), e.optVal(e.option.delBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("delBtn"), expression: "getPermission('delBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowRemove } }, [e._v(" " + e._s(e.menuIcon("delBtn")) + " ")]) : e._e(), e._t("menu", null, { node: e.node })], 2) : e._e(), e.box ? i("div", [i(p, { attrs: { title: e.node[e.labelKey] || e.title, visible: e.box, "before-close": e.hide, width: e.optVal(e.option.dialogWidth, "50%") }, on: { "update:visible": function(n) {
270
+ } } }, [e.optVal(e.option.addBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowAdd } }, [e._v(" " + e._s(e.menuIcon("addBtn")) + " ")]) : e._e(), e.optVal(e.option.editBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("editBtn"), expression: "getPermission('editBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowEdit } }, [e._v(" " + e._s(e.menuIcon("editBtn")) + " ")]) : e._e(), e.optVal(e.option.delBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("delBtn"), expression: "getPermission('delBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowRemove } }, [e._v(" " + e._s(e.menuIcon("delBtn")) + " ")]) : e._e(), e._t("menu", null, { node: e.node })], 2) : e._e(), e.box ? i("div", [i("ElementDialog", { attrs: { title: e.node[e.labelKey] || e.title, visible: e.box, "before-close": e.hide, width: e.optVal(e.option.dialogWidth, "50%") }, on: { "update:visible": function(n) {
277
271
  e.box = n;
278
- } } }, [i(h, { ref: "form", attrs: { option: e.formOption }, on: { submit: e.handleSubmit }, model: { value: e.form, callback: function(n) {
272
+ } } }, [i("FyForm", { ref: "form", attrs: { option: e.formOption }, on: { submit: e.handleSubmit }, model: { value: e.form, callback: function(n) {
279
273
  e.form = n;
280
274
  }, expression: "form" } })], 1)], 1) : e._e()], 1);
281
- }, g = [], x = /* @__PURE__ */ k(
282
- b,
283
- C,
284
- g,
275
+ }, y = [], v = /* @__PURE__ */ p(
276
+ f,
277
+ m,
278
+ y,
285
279
  !1,
286
280
  null,
287
281
  null
288
282
  );
289
- const E = x.exports;
283
+ const x = v.exports;
290
284
  export {
291
- E as default
285
+ x as default
292
286
  };
@@ -1,6 +1,6 @@
1
1
  import "@wangeditor/editor/dist/css/style.css";
2
2
  import { createEditor as u, createToolbar as f } from "@wangeditor/editor";
3
- import { g as p } from "../chunks/util.DI42t5GU.mjs";
3
+ import { p } from "../chunks/util.DqFv_pWg.mjs";
4
4
  import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
5
  const y = (e) => {
6
6
  const { region: i, endpoint: r, accessKeyId: o, accessKeySecret: t, bucket: a } = e;