@web-utils/component 4.0.13 → 4.0.15

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 (171) hide show
  1. package/address-input/index.mjs +15 -13
  2. package/card/index.mjs +20 -18
  3. package/carousel/index.mjs +12 -10
  4. package/chat/index.mjs +56 -45
  5. package/chunk-file-uploader/index.mjs +378 -36
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
  8. package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
  9. package/chunks/FyForm.DriwCJ7b.mjs +765 -0
  10. package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
  11. package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
  12. package/chunks/TableColumn.BzivvXMF.mjs +337 -0
  13. package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
  14. package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
  15. package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
  16. package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
  17. package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
  18. package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
  19. package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
  20. package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
  21. package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
  22. package/color-picker/index.mjs +101 -22
  23. package/confirm-button/index.mjs +1 -1
  24. package/confirmable/index.mjs +1 -1
  25. package/data-box/index.mjs +15 -12
  26. package/data-card/index.mjs +12 -10
  27. package/data-card-text/index.mjs +12 -10
  28. package/data-display/index.mjs +17 -15
  29. package/data-icons/index.mjs +16 -13
  30. package/data-imgtext/index.mjs +18 -15
  31. package/data-operatext/index.mjs +16 -14
  32. package/data-panel/index.mjs +16 -13
  33. package/data-pay/index.mjs +20 -16
  34. package/data-price/index.mjs +16 -14
  35. package/data-progress/index.mjs +17 -13
  36. package/data-rotate/index.mjs +15 -12
  37. package/data-table-picker/index.mjs +18 -15
  38. package/data-tabs/index.mjs +15 -12
  39. package/dialog-form/index.mjs +18 -16
  40. package/dynamic-table/index.mjs +30 -25
  41. package/editable-progress/index.mjs +11 -9
  42. package/editable-tree/index.mjs +56 -52
  43. package/egd-collapse-item/index.mjs +9 -9
  44. package/element-dialog/index.mjs +23 -22
  45. package/flex-column/index.mjs +1 -1
  46. package/flex-item/index.mjs +1 -1
  47. package/flex-row/index.mjs +1 -1
  48. package/flow/index.mjs +11 -10
  49. package/flow-designer/index.mjs +1973 -699
  50. package/flow-designer/style.css +1 -1
  51. package/flow-node/index.mjs +1 -1
  52. package/flow-viewer/index.mjs +9 -9
  53. package/form-block/index.mjs +34 -32
  54. package/form-cascader/index.mjs +24 -23
  55. package/form-checkbox/index.mjs +17 -16
  56. package/form-checkbox-group/index.mjs +23 -20
  57. package/form-checkbox-group/style.css +1 -1
  58. package/form-date-picker/index.mjs +20 -18
  59. package/form-holder/index.mjs +14 -13
  60. package/form-input/index.mjs +15 -14
  61. package/form-input-cron-expression/index.mjs +22 -19
  62. package/form-input-email/index.mjs +16 -15
  63. package/form-input-id-card/index.mjs +13 -12
  64. package/form-input-number/index.mjs +17 -16
  65. package/form-input-phone-number/index.mjs +22 -21
  66. package/form-input-tag/index.mjs +15 -14
  67. package/form-input-time/index.mjs +15 -14
  68. package/form-item/index.mjs +3 -140
  69. package/form-item-group/index.mjs +31 -28
  70. package/form-radio-group/index.mjs +28 -27
  71. package/form-radio-group/style.css +1 -1
  72. package/form-select/index.mjs +23 -21
  73. package/form-switch/index.mjs +17 -16
  74. package/form-table/index.mjs +17 -16
  75. package/form-table-plus/index.mjs +22 -21
  76. package/form-textarea/index.mjs +16 -15
  77. package/form-tree-select/index.mjs +15 -14
  78. package/form-tree-select-multiple/index.mjs +15 -14
  79. package/form-view/index.mjs +39 -35
  80. package/fy-array/index.mjs +37 -33
  81. package/fy-cascader/index.mjs +17 -16
  82. package/fy-checkbox/index.mjs +13 -11
  83. package/fy-code/index.mjs +10 -10
  84. package/fy-curd/index.mjs +1147 -1123
  85. package/fy-date/index.mjs +11 -10
  86. package/fy-draggable/index.mjs +10 -9
  87. package/fy-dynamic/index.mjs +25 -22
  88. package/fy-empty/index.mjs +1 -1
  89. package/fy-form/index.mjs +15 -638
  90. package/fy-form-design/index.mjs +1165 -1127
  91. package/fy-input/index.mjs +14 -12
  92. package/fy-input-color/index.mjs +15 -13
  93. package/fy-input-icon/index.mjs +23 -20
  94. package/fy-input-map/index.mjs +31 -28
  95. package/fy-input-number/index.mjs +10 -9
  96. package/fy-input-table/index.mjs +22 -18
  97. package/fy-input-tree/index.mjs +37 -33
  98. package/fy-progress/index.mjs +10 -9
  99. package/fy-radio/index.mjs +16 -15
  100. package/fy-rate/index.mjs +11 -10
  101. package/fy-select/index.mjs +29 -25
  102. package/fy-slider/index.mjs +12 -11
  103. package/fy-switch/index.mjs +10 -9
  104. package/fy-tabs/index.mjs +17 -15
  105. package/fy-time/index.mjs +1 -1
  106. package/fy-title/index.mjs +1 -1
  107. package/fy-tree/index.mjs +24 -18
  108. package/fy-u-editor/index.mjs +1 -1
  109. package/fy-upload/index.mjs +76 -74
  110. package/guide-steps/index.mjs +13 -11
  111. package/iframe-window/index.mjs +10 -9
  112. package/image-cropper/index.mjs +30 -28
  113. package/image-preview/index.mjs +14 -12
  114. package/index.mjs +72 -72
  115. package/input-number/index.mjs +14 -13
  116. package/input-number-range/index.mjs +12 -11
  117. package/license/index.mjs +1 -1
  118. package/login/index.mjs +26 -21
  119. package/nav-bar/index.mjs +10 -9
  120. package/notice/index.mjs +10 -9
  121. package/package.json +1 -1
  122. package/page-index/index.mjs +13 -12
  123. package/page-index-top/index.mjs +28 -23
  124. package/page-skeleton/index.mjs +14 -14
  125. package/page-skeleton-new/index.mjs +9 -8
  126. package/pageable-table/index.mjs +182 -172
  127. package/pageable-table/style.css +1 -1
  128. package/pageable-view/index.mjs +16 -15
  129. package/picker-table-view/index.mjs +58 -49
  130. package/present-view/index.mjs +39 -35
  131. package/record-video/index.mjs +1 -1
  132. package/resize-observer/index.mjs +1 -1
  133. package/search/index.mjs +22 -20
  134. package/search-popover/index.mjs +1 -1
  135. package/sign/index.mjs +1 -1
  136. package/skeleton-panel/index.mjs +10 -9
  137. package/split-pane/index.mjs +37 -36
  138. package/static-pageable-table/index.mjs +13 -11
  139. package/sub-table/index.mjs +49 -36
  140. package/sub-table-plus/index.mjs +18 -229
  141. package/swiper/index.mjs +12 -11
  142. package/table-column/index.mjs +3 -223
  143. package/table-view/index.mjs +60 -52
  144. package/tabs-view/index.mjs +19 -17
  145. package/tag-render/index.mjs +18 -16
  146. package/text-ellipsis/index.mjs +10 -9
  147. package/toolbar/index.mjs +14 -13
  148. package/toolbar-button/index.mjs +14 -13
  149. package/verify/index.mjs +1 -1
  150. package/vue-cron/index.mjs +267 -259
  151. package/watermark/index.mjs +1 -1
  152. package/web-types.json +1 -1
  153. package/x-input-tag/index.mjs +24 -21
  154. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  155. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  156. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  157. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  158. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  159. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  160. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  161. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  162. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  163. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  164. package/chunks/core.0Exl13Mz.mjs +0 -54
  165. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  166. package/chunks/form-item.LWjePsPa.mjs +0 -233
  167. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  168. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  169. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  170. package/element-listeners/style.css +0 -1
  171. package/element-multi-instance/style.css +0 -1
package/fy-rate/index.mjs CHANGED
@@ -1,8 +1,9 @@
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 = {
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 = {
4
5
  name: "FyRate",
5
- mixins: [l, a],
6
+ mixins: [a, t],
6
7
  props: {
7
8
  allowHalf: Boolean,
8
9
  lowThreshold: Number,
@@ -50,22 +51,22 @@ const r = {
50
51
  },
51
52
  methods: {}
52
53
  };
53
- var n = function() {
54
+ var d = function() {
54
55
  var e = this, s = e._self._c;
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) {
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) {
56
57
  return e.handleClick.apply(null, arguments);
57
58
  } }, model: { value: e.text, callback: function(o) {
58
59
  e.text = o;
59
60
  }, expression: "text" } });
60
- }, d = [], i = /* @__PURE__ */ t(
61
- r,
61
+ }, i = [], c = /* @__PURE__ */ r(
62
62
  n,
63
63
  d,
64
+ i,
64
65
  !1,
65
66
  null,
66
67
  null
67
68
  );
68
- const p = i.exports;
69
+ const f = c.exports;
69
70
  export {
70
- p as default
71
+ f as default
71
72
  };
@@ -1,12 +1,16 @@
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 = {
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 = {
8
12
  name: "FySelect",
9
- mixins: [i, r],
13
+ mixins: [p, u],
10
14
  props: {
11
15
  loadingText: {
12
16
  type: String
@@ -64,7 +68,7 @@ const h = {
64
68
  },
65
69
  watch: {
66
70
  text(l) {
67
- p(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(d) : this.text));
71
+ _(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(h) : this.text));
68
72
  },
69
73
  dic: {
70
74
  handler(l) {
@@ -79,7 +83,7 @@ const h = {
79
83
  methods: {
80
84
  setSort() {
81
85
  if (!window.Sortable) {
82
- u.logs("Sortable");
86
+ m.logs("Sortable");
83
87
  return;
84
88
  }
85
89
  const l = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
@@ -92,7 +96,7 @@ const h = {
92
96
  });
93
97
  },
94
98
  handleRemoteMethod(l) {
95
- this.loading = !0, c({
99
+ this.loading = !0, f({
96
100
  column: this.column,
97
101
  value: l
98
102
  }).then((e) => {
@@ -109,30 +113,30 @@ const h = {
109
113
  }
110
114
  }
111
115
  };
112
- var m = function() {
116
+ var b = function() {
113
117
  var e = this, a = e._self._c;
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) {
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) {
115
119
  return e.handleClick.apply(null, arguments);
116
120
  } }, model: { value: e.text, callback: function(t) {
117
121
  e.text = t;
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);
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);
121
125
  }), 1);
122
- }) : [e.all && e.multiple ? a("ElCheckbox", { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
126
+ }) : [e.all && e.multiple ? a(r, { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
123
127
  e.checkAll = t;
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);
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);
126
130
  })]], 2);
127
- }, _ = [], y = /* @__PURE__ */ f(
128
- h,
129
- m,
130
- _,
131
+ }, v = [], x = /* @__PURE__ */ g(
132
+ y,
133
+ b,
134
+ v,
131
135
  !1,
132
136
  null,
133
137
  null
134
138
  );
135
- const K = y.exports;
139
+ const L = x.exports;
136
140
  export {
137
- K as default
141
+ L as default
138
142
  };
@@ -1,9 +1,10 @@
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";
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";
4
5
  const l = {
5
6
  name: "FySlider",
6
- mixins: [s, n],
7
+ mixins: [s, r],
7
8
  props: {
8
9
  step: Number,
9
10
  min: Number,
@@ -20,25 +21,25 @@ const l = {
20
21
  tooltipClass: String
21
22
  },
22
23
  methods: {
23
- setPx: r
24
+ setPx: a
24
25
  }
25
26
  };
26
- var i = function() {
27
+ var p = function() {
27
28
  var o = this, e = o._self._c;
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) {
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) {
29
30
  return o.handleClick.apply(null, arguments);
30
31
  } }, model: { value: o.text, callback: function(t) {
31
32
  o.text = t;
32
33
  }, expression: "text" } });
33
- }, p = [], m = /* @__PURE__ */ a(
34
+ }, m = [], u = /* @__PURE__ */ i(
34
35
  l,
35
- i,
36
36
  p,
37
+ m,
37
38
  !1,
38
39
  null,
39
40
  null
40
41
  );
41
- const d = m.exports;
42
+ const v = u.exports;
42
43
  export {
43
- d as default
44
+ v as default
44
45
  };
@@ -1,8 +1,9 @@
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";
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";
3
4
  const l = {
4
5
  name: "FySwitch",
5
- mixins: [a, n],
6
+ mixins: [a, c],
6
7
  props: {
7
8
  // eslint-disable-next-line vue/no-unused-properties
8
9
  value: [String, Object, Number, Boolean, Array],
@@ -21,22 +22,22 @@ const l = {
21
22
  }
22
23
  }
23
24
  };
24
- var r = function() {
25
+ var o = function() {
25
26
  var e = this, i = e._self._c;
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) {
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) {
27
28
  return e.handleClick.apply(null, arguments);
28
29
  } }, model: { value: e.text, callback: function(t) {
29
30
  e.text = t;
30
31
  }, expression: "text" } });
31
- }, o = [], s = /* @__PURE__ */ c(
32
+ }, s = [], v = /* @__PURE__ */ r(
32
33
  l,
33
- r,
34
34
  o,
35
+ s,
35
36
  !1,
36
37
  null,
37
38
  null
38
39
  );
39
- const m = s.exports;
40
+ const d = v.exports;
40
41
  export {
41
- m as default
42
+ d as default
42
43
  };
package/fy-tabs/index.mjs CHANGED
@@ -1,5 +1,7 @@
1
- import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const o = {
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 = {
3
5
  name: "FyTabs",
4
6
  props: {
5
7
  option: {
@@ -18,29 +20,29 @@ const o = {
18
20
  }
19
21
  },
20
22
  methods: {
21
- changeTabs(n) {
22
- this.active = `${n}`;
23
+ changeTabs(a) {
24
+ this.active = `${a}`;
23
25
  }
24
26
  }
25
27
  };
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) {
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) {
29
31
  t.active = e;
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) + " ")])];
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) + " ")])];
33
35
  }, proxy: !0 }], null, !0) });
34
36
  }), 1)], 1);
35
- }, c = [], l = /* @__PURE__ */ i(
36
- o,
37
- r,
37
+ }, p = [], _ = /* @__PURE__ */ r(
38
38
  c,
39
+ l,
40
+ p,
39
41
  !1,
40
42
  null,
41
43
  null
42
44
  );
43
- const u = l.exports;
45
+ const f = _.exports;
44
46
  export {
45
- u as default
47
+ f as default
46
48
  };
package/fy-time/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { p as n, e as o } from "../chunks/event.9aDS6jcw.mjs";
1
+ import { p as n, e as o } from "../chunks/event.DSlcqYHL.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.9aDS6jcw.mjs";
1
+ import { p as s, e as n } from "../chunks/event.DSlcqYHL.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,11 +1,17 @@
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 = {
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 = {
6
12
  name: "FyTree",
7
13
  directives: {
8
- permission: h
14
+ permission: _
9
15
  },
10
16
  props: {
11
17
  indent: Number,
@@ -152,7 +158,7 @@ const f = {
152
158
  return l(this.option[`${t}Text`], t);
153
159
  },
154
160
  getPermission(t) {
155
- return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) : u(this.permission[t]) ? !0 : this.permission[t];
161
+ return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) : v(this.permission[t]) ? !0 : this.permission[t];
156
162
  },
157
163
  initFun() {
158
164
  [
@@ -257,30 +263,30 @@ const f = {
257
263
  }
258
264
  }
259
265
  };
260
- var m = function() {
266
+ var C = function() {
261
267
  var e = this, i = e._self._c;
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) {
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) {
263
269
  e.filterValue = n;
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 }) {
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 }) {
265
271
  return [e._t("default", function() {
266
272
  return [i("span", { staticClass: "el-tree-node__label" }, [i("span", [e._v(e._s(n.label))])])];
267
273
  }, { node: n, data: o })];
268
274
  } }], 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) {
269
275
  e.client.show = !1;
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) {
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) {
271
277
  e.box = n;
272
- } } }, [i("FyForm", { ref: "form", attrs: { option: e.formOption }, on: { submit: e.handleSubmit }, model: { value: e.form, callback: function(n) {
278
+ } } }, [i(h, { ref: "form", attrs: { option: e.formOption }, on: { submit: e.handleSubmit }, model: { value: e.form, callback: function(n) {
273
279
  e.form = n;
274
280
  }, expression: "form" } })], 1)], 1) : e._e()], 1);
275
- }, y = [], v = /* @__PURE__ */ p(
276
- f,
277
- m,
278
- y,
281
+ }, g = [], x = /* @__PURE__ */ k(
282
+ b,
283
+ C,
284
+ g,
279
285
  !1,
280
286
  null,
281
287
  null
282
288
  );
283
- const x = v.exports;
289
+ const E = x.exports;
284
290
  export {
285
- x as default
291
+ E as default
286
292
  };
@@ -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 { p } from "../chunks/util.DqFv_pWg.mjs";
3
+ import { g as p } from "../chunks/util.DI42t5GU.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;