@web-utils/component 3.3.15 → 3.3.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.
- package/address-input/index.mjs +1 -3
- package/affix/index.mjs +4 -6
- package/aside-menu/index.mjs +8 -10
- package/avatar/index.mjs +1 -3
- package/awesome-button/index.mjs +20 -22
- package/capsule-tab/index.mjs +4 -6
- package/card/index.mjs +4 -6
- package/carousel/index.mjs +1 -3
- package/chat/index.mjs +2 -4
- package/chunk-file-uploader/index.mjs +1 -3
- package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.Cf9d5N_a.mjs} +7 -9
- package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
- package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
- package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
- package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
- package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
- package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
- package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
- package/code-mirror-editor/index.mjs +1 -3
- package/color-picker/index.mjs +4 -6
- package/comment/index.mjs +1 -3
- package/confirm-button/index.mjs +5 -7
- package/confirmable/index.mjs +5 -7
- package/context-menu/index.mjs +1 -3
- package/count-up/index.mjs +4 -6
- package/custom-scrollbar/index.mjs +1 -3
- package/data-box/index.mjs +5 -7
- package/data-card/index.mjs +4 -6
- package/data-cardtext/index.mjs +1 -3
- package/data-display/index.mjs +6 -8
- package/data-icons/index.mjs +4 -6
- package/data-imgtext/index.mjs +6 -8
- package/data-operatext/index.mjs +3 -5
- package/data-panel/index.mjs +5 -7
- package/data-pay/index.mjs +7 -9
- package/data-price/index.mjs +3 -5
- package/data-progress/index.mjs +1 -3
- package/data-rotate/index.mjs +3 -5
- package/data-table-picker/index.mjs +1 -3
- package/data-tabs/index.mjs +3 -5
- package/dialog-form/index.mjs +2 -4
- package/dynamic-table/index.mjs +1 -3
- package/e-charts/index.mjs +1 -3
- package/easy-popup/index.mjs +7 -9
- package/editable-progress/index.mjs +6 -8
- package/editable-tree/index.mjs +1 -3
- package/egd-collapse/index.mjs +4 -6
- package/egd-collapse-item/index.mjs +1 -3
- package/element-dialog/index.mjs +5 -7
- package/empty-view/index.mjs +3 -5
- package/error-view/index.mjs +3 -5
- package/flex-column/index.mjs +4 -6
- package/flex-item/index.mjs +1 -3
- package/flex-row/index.mjs +4 -6
- package/flex-scroller/index.mjs +6 -8
- package/flow/index.mjs +2 -4
- package/flow-designer/index.mjs +123 -155
- package/flow-node/index.mjs +8 -10
- package/flow-viewer/index.mjs +1 -3
- package/form-button/index.mjs +5 -7
- package/form-cascader/index.mjs +1 -3
- package/form-checkbox-group/index.mjs +4 -6
- package/form-date-picker/index.mjs +1 -3
- package/form-holder/index.mjs +11 -13
- package/form-input/index.mjs +5 -7
- package/form-input-email/index.mjs +6 -8
- package/form-input-id-card/index.mjs +13 -15
- package/form-input-number/index.mjs +5 -7
- package/form-input-phone-number/index.mjs +9 -11
- package/form-input-tag/index.mjs +6 -8
- package/form-input-time/index.mjs +7 -9
- package/form-item-config-provider/index.mjs +4 -6
- package/form-radio-group/index.mjs +22 -24
- package/form-select/index.mjs +17 -19
- package/form-switch/index.mjs +5 -7
- package/form-textarea/index.mjs +1 -3
- package/form-view/index.mjs +1 -3
- package/fy-array/index.mjs +4 -6
- package/fy-article/index.mjs +4 -6
- package/fy-cascader/index.mjs +2 -4
- package/fy-checkbox/index.mjs +12 -14
- package/fy-code/index.mjs +6 -8
- package/fy-curd/index.mjs +6 -32
- package/fy-date/index.mjs +6 -8
- package/fy-draggable/index.mjs +2 -4
- package/fy-dynamic/index.mjs +3 -5
- package/fy-empty/index.mjs +2 -4
- package/fy-form/index.mjs +6 -12
- package/fy-form-design/index.mjs +95 -151
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +5 -7
- package/fy-input-color/index.mjs +9 -11
- package/fy-input-icon/index.mjs +3 -5
- package/fy-input-map/index.mjs +2 -4
- package/fy-input-number/index.mjs +5 -7
- package/fy-input-table/index.mjs +2 -4
- package/fy-input-tree/index.mjs +2 -4
- package/fy-progress/index.mjs +3 -5
- package/fy-radio/index.mjs +4 -6
- package/fy-rate/index.mjs +5 -7
- package/fy-select/index.mjs +4 -6
- package/fy-slider/index.mjs +7 -9
- package/fy-switch/index.mjs +3 -5
- package/fy-tabs/index.mjs +5 -7
- package/fy-time/index.mjs +5 -7
- package/fy-title/index.mjs +5 -7
- package/fy-tree/index.mjs +2 -4
- package/fy-u-editor/index.mjs +2 -4
- package/fy-upload/index.mjs +3 -5
- package/guide-steps/index.mjs +1 -3
- package/highlight-j-s/index.mjs +8 -10
- package/icon-card/index.mjs +4 -6
- package/icon-temp/index.mjs +6 -8
- package/iframe-window/index.mjs +6 -8
- package/image-cropper/index.mjs +5 -7
- package/image-preview/index.mjs +2 -4
- package/image-viewer/index.mjs +4 -6
- package/input-number/index.mjs +1 -3
- package/input-number-range/index.mjs +11 -13
- package/keep-view-alive/index.mjs +12 -14
- package/keyboard/index.mjs +1 -3
- package/license/index.mjs +19 -21
- package/loading-view/index.mjs +3 -5
- package/login/index.mjs +2 -4
- package/monaco-editor/index.mjs +2 -4
- package/name-avatar/index.mjs +4 -6
- package/nav-bar/index.mjs +3 -5
- package/not-implement/index.mjs +3 -5
- package/notice/index.mjs +1 -3
- package/package.json +8 -8
- package/page/index.mjs +6 -8
- package/page-header/index.mjs +4 -6
- package/page-index/index.mjs +17 -19
- package/page-index-top/index.mjs +11 -13
- package/page-skeleton/index.mjs +6 -8
- package/page-skeleton-new/index.mjs +1 -3
- package/pageable-table/index.mjs +8 -10
- package/pageable-view/index.mjs +24 -26
- package/photo-swipe/index.mjs +7 -9
- package/present-view/index.mjs +1 -3
- package/queue/index.mjs +4 -6
- package/record-video/index.mjs +4 -6
- package/resize-observer/index.mjs +4 -6
- package/search/index.mjs +6 -8
- package/search-popover/index.mjs +2 -4
- package/sign/index.mjs +2 -4
- package/sign-panel/index.mjs +5 -7
- package/skeleton/index.mjs +5 -7
- package/split-pane/index.mjs +1 -5
- package/stateful/index.mjs +4 -6
- package/static-pageable-table/index.mjs +8 -10
- package/swiper/index.mjs +4 -6
- package/tab/index.mjs +1 -3
- package/tab-item/index.mjs +1 -3
- package/table-column/index.mjs +1 -3
- package/table-view/index.mjs +1 -3
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +6 -8
- package/tinymce-editor/index.mjs +1 -5
- package/toolbar-button/index.mjs +8 -10
- package/verify/index.mjs +8 -10
- package/vue-cron/index.mjs +1 -3
- package/vue-qr-code/index.mjs +9 -11
- package/vue-quill-editor/index.mjs +1 -3
- package/vue-tags-input/index.mjs +12 -14
- package/vue-tree-select/index.mjs +1 -27
- package/vue-video-player/index.mjs +1 -3
- package/watermark/index.mjs +14 -16
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +8 -10
- package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
- package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
package/address-input/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const l = {
|
|
3
3
|
name: "AddressInput",
|
|
4
4
|
inject: {
|
|
@@ -66,8 +66,6 @@ var r = function() {
|
|
|
66
66
|
i,
|
|
67
67
|
!1,
|
|
68
68
|
null,
|
|
69
|
-
null,
|
|
70
|
-
null,
|
|
71
69
|
null
|
|
72
70
|
);
|
|
73
71
|
const p = n.exports;
|
package/affix/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n
|
|
1
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const r = {
|
|
3
3
|
name: "Affix",
|
|
4
4
|
props: {
|
|
@@ -39,10 +39,10 @@ const r = {
|
|
|
39
39
|
return typeof o != "number" && (o = document.documentElement[i]), o;
|
|
40
40
|
},
|
|
41
41
|
getOffset(s) {
|
|
42
|
-
const t = s.getBoundingClientRect(), e = this.getScroll(this.container, !0), i = this.getScroll(this.container), o = document.body, l = o.clientTop || 0,
|
|
42
|
+
const t = s.getBoundingClientRect(), e = this.getScroll(this.container, !0), i = this.getScroll(this.container), o = document.body, l = o.clientTop || 0, f = o.clientLeft || 0;
|
|
43
43
|
return {
|
|
44
44
|
top: t.top + e - l,
|
|
45
|
-
left: t.left + i -
|
|
45
|
+
left: t.left + i - f
|
|
46
46
|
};
|
|
47
47
|
},
|
|
48
48
|
handleScroll() {
|
|
@@ -65,14 +65,12 @@ const r = {
|
|
|
65
65
|
var h = function() {
|
|
66
66
|
var t = this, e = t._self._c;
|
|
67
67
|
return e("div", [e("div", { ref: "point", class: { affix: t.affix }, style: t.styles }, [t._t("default")], 2), e("div", { directives: [{ name: "show", rawName: "v-show", value: t.slot, expression: "slot" }], style: t.slotStyle })]);
|
|
68
|
-
}, c = [], a = /* @__PURE__ */
|
|
68
|
+
}, c = [], a = /* @__PURE__ */ n(
|
|
69
69
|
r,
|
|
70
70
|
h,
|
|
71
71
|
c,
|
|
72
72
|
!1,
|
|
73
73
|
null,
|
|
74
|
-
null,
|
|
75
|
-
null,
|
|
76
74
|
null
|
|
77
75
|
);
|
|
78
76
|
const d = a.exports;
|
package/aside-menu/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const s = {
|
|
3
3
|
name: "AsideMenu",
|
|
4
4
|
props: {
|
|
@@ -9,13 +9,13 @@ const s = {
|
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
var r = function() {
|
|
12
|
-
var
|
|
13
|
-
return t("div", { staticStyle: { "padding-top": "4px" } },
|
|
14
|
-
return t("div", { key:
|
|
15
|
-
return
|
|
16
|
-
} } }, [
|
|
17
|
-
return [t("i", { staticClass: "egd-icon-common", class:
|
|
18
|
-
}, { item:
|
|
12
|
+
var e = this, t = e._self._c;
|
|
13
|
+
return t("div", { staticStyle: { "padding-top": "4px" } }, e._l(e.menu, function(n) {
|
|
14
|
+
return t("div", { key: n.key, staticClass: "aside-menu-item hover-active", class: { active: e.$route.path === n.path }, on: { click: function(u) {
|
|
15
|
+
return e.$router.push(n.path);
|
|
16
|
+
} } }, [e._t("default", function() {
|
|
17
|
+
return [t("i", { staticClass: "egd-icon-common", class: n.icon }), e._v(" " + e._s(n.label) + " ")];
|
|
18
|
+
}, { item: n })], 2);
|
|
19
19
|
}), 0);
|
|
20
20
|
}, c = [], o = /* @__PURE__ */ a(
|
|
21
21
|
s,
|
|
@@ -23,8 +23,6 @@ var r = function() {
|
|
|
23
23
|
c,
|
|
24
24
|
!1,
|
|
25
25
|
null,
|
|
26
|
-
null,
|
|
27
|
-
null,
|
|
28
26
|
null
|
|
29
27
|
);
|
|
30
28
|
const _ = o.exports;
|
package/avatar/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const i = "avue-avatar", r = {
|
|
3
3
|
name: "Avatar",
|
|
4
4
|
props: {
|
|
@@ -74,8 +74,6 @@ var n = function() {
|
|
|
74
74
|
l,
|
|
75
75
|
!1,
|
|
76
76
|
null,
|
|
77
|
-
null,
|
|
78
|
-
null,
|
|
79
77
|
null
|
|
80
78
|
);
|
|
81
79
|
const o = c.exports;
|
package/awesome-button/index.mjs
CHANGED
|
@@ -2,32 +2,32 @@ var g = Object.defineProperty, h = Object.defineProperties;
|
|
|
2
2
|
var _ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var r = Object.getOwnPropertySymbols;
|
|
4
4
|
var y = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var c = (
|
|
6
|
-
for (var
|
|
7
|
-
y.call(t,
|
|
5
|
+
var c = (n, t, o) => t in n ? g(n, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[t] = o, p = (n, t) => {
|
|
6
|
+
for (var o in t || (t = {}))
|
|
7
|
+
y.call(t, o) && c(n, o, t[o]);
|
|
8
8
|
if (r)
|
|
9
|
-
for (var
|
|
10
|
-
B.call(t,
|
|
11
|
-
return
|
|
12
|
-
}, d = (
|
|
13
|
-
var u = (
|
|
9
|
+
for (var o of r(t))
|
|
10
|
+
B.call(t, o) && c(n, o, t[o]);
|
|
11
|
+
return n;
|
|
12
|
+
}, d = (n, t) => h(n, _(t));
|
|
13
|
+
var u = (n, t, o) => new Promise((s, l) => {
|
|
14
14
|
var f = (e) => {
|
|
15
15
|
try {
|
|
16
|
-
i(
|
|
16
|
+
i(o.next(e));
|
|
17
17
|
} catch (a) {
|
|
18
18
|
l(a);
|
|
19
19
|
}
|
|
20
20
|
}, m = (e) => {
|
|
21
21
|
try {
|
|
22
|
-
i(
|
|
22
|
+
i(o.throw(e));
|
|
23
23
|
} catch (a) {
|
|
24
24
|
l(a);
|
|
25
25
|
}
|
|
26
26
|
}, i = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(f, m);
|
|
27
|
-
i((
|
|
27
|
+
i((o = o.apply(n, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { isFunction as x, error as S } from "@web-utils/core";
|
|
30
|
-
import { n as k } from "../chunks/_plugin-vue2_normalizer.
|
|
30
|
+
import { n as k } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
31
31
|
const L = {
|
|
32
32
|
props: {
|
|
33
33
|
type: {
|
|
@@ -64,24 +64,24 @@ const L = {
|
|
|
64
64
|
};
|
|
65
65
|
},
|
|
66
66
|
methods: {
|
|
67
|
-
onClick(
|
|
67
|
+
onClick(n) {
|
|
68
68
|
return u(this, null, function* () {
|
|
69
69
|
this.isLoading = !0;
|
|
70
70
|
const { click: t } = this.$listeners;
|
|
71
71
|
if (x(t))
|
|
72
72
|
try {
|
|
73
|
-
yield t(
|
|
74
|
-
} catch (
|
|
75
|
-
S.call(this,
|
|
73
|
+
yield t(n);
|
|
74
|
+
} catch (o) {
|
|
75
|
+
S.call(this, o);
|
|
76
76
|
}
|
|
77
77
|
this.isLoading = !1;
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
-
render(
|
|
82
|
-
var
|
|
83
|
-
const t = (s = (
|
|
84
|
-
return
|
|
81
|
+
render(n) {
|
|
82
|
+
var o, s;
|
|
83
|
+
const t = (s = (o = this.$scopedSlots).default) == null ? void 0 : s.call(o);
|
|
84
|
+
return n(
|
|
85
85
|
"ElButton",
|
|
86
86
|
{ on: { click: this.onClick }, props: d(p({}, this.$props), { disabled: this.isLoading }) },
|
|
87
87
|
t && (t[0].tag || t[0].text) ? t : this.text
|
|
@@ -94,8 +94,6 @@ var C = /* @__PURE__ */ k(
|
|
|
94
94
|
w,
|
|
95
95
|
!1,
|
|
96
96
|
null,
|
|
97
|
-
null,
|
|
98
|
-
null,
|
|
99
97
|
null
|
|
100
98
|
);
|
|
101
99
|
const F = C.exports;
|
package/capsule-tab/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
1
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const l = {
|
|
3
3
|
name: "CapsuleTab",
|
|
4
4
|
props: {
|
|
5
5
|
tabs: {
|
|
@@ -18,14 +18,12 @@ var s = function() {
|
|
|
18
18
|
return e.$emit("input", a.value);
|
|
19
19
|
} } }, [e._v(" " + e._s(a.label) + " ")]);
|
|
20
20
|
}), 0);
|
|
21
|
-
}, r = [], u = /* @__PURE__ */
|
|
22
|
-
|
|
21
|
+
}, r = [], u = /* @__PURE__ */ t(
|
|
22
|
+
l,
|
|
23
23
|
s,
|
|
24
24
|
r,
|
|
25
25
|
!1,
|
|
26
26
|
null,
|
|
27
|
-
null,
|
|
28
|
-
null,
|
|
29
27
|
null
|
|
30
28
|
);
|
|
31
29
|
const i = u.exports;
|
package/card/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const n = {
|
|
3
3
|
img: "img",
|
|
4
4
|
title: "title",
|
|
@@ -46,7 +46,7 @@ const n = {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
var
|
|
49
|
+
var c = function() {
|
|
50
50
|
var t = this, a = t._self._c;
|
|
51
51
|
return a("div", { staticClass: "avue-card" }, [a("ElRow", { attrs: { span: 24, gutter: t.gutter } }, [t.option.addBtn ? a("ElCol", { attrs: { span: t.span } }, [a("div", { staticClass: "avue-card__item avue-card__item--add", on: { click: function(s) {
|
|
52
52
|
return t.rowAdd();
|
|
@@ -55,14 +55,12 @@ var l = function() {
|
|
|
55
55
|
return t.rowClick(s, i);
|
|
56
56
|
} } }, [a("div", { staticClass: "avue-card__body" }, [a("div", { staticClass: "avue-card__avatar" }, [a("img", { attrs: { src: s[t.imgKey], alt: "" } })]), a("div", { staticClass: "avue-card__detail" }, [a("div", { staticClass: "avue-card__title" }, [t._v(" " + t._s(s[t.titleKey]) + " ")]), a("div", { staticClass: "avue-card__info" }, [t._v(" " + t._s(s[t.infoKey]) + " ")])])]), a("div", { staticClass: "avue-card__menu" }, [t._t("menu", null, { index: i, row: s })], 2)])]);
|
|
57
57
|
})], 2)], 1);
|
|
58
|
-
},
|
|
58
|
+
}, l = [], u = /* @__PURE__ */ e(
|
|
59
59
|
o,
|
|
60
|
-
l,
|
|
61
60
|
c,
|
|
61
|
+
l,
|
|
62
62
|
!1,
|
|
63
63
|
null,
|
|
64
|
-
null,
|
|
65
|
-
null,
|
|
66
64
|
null
|
|
67
65
|
);
|
|
68
66
|
const _ = u.exports;
|
package/carousel/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const s = {
|
|
3
3
|
name: "Carousel",
|
|
4
4
|
props: {
|
|
@@ -25,8 +25,6 @@ var l = function() {
|
|
|
25
25
|
n,
|
|
26
26
|
!1,
|
|
27
27
|
null,
|
|
28
|
-
null,
|
|
29
|
-
null,
|
|
30
28
|
null
|
|
31
29
|
);
|
|
32
30
|
const _ = i.exports;
|
package/chat/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { formatDate as r } from "@web-utils/integrations/dayjs";
|
|
2
|
-
import { s as l } from "../chunks/util.
|
|
3
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
+
import { s as l } from "../chunks/util.B_LEdJSZ.mjs";
|
|
3
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
4
|
const d = {
|
|
5
5
|
name: "Chat",
|
|
6
6
|
props: {
|
|
@@ -258,8 +258,6 @@ var u = function() {
|
|
|
258
258
|
f,
|
|
259
259
|
!1,
|
|
260
260
|
null,
|
|
261
|
-
null,
|
|
262
|
-
null,
|
|
263
261
|
null
|
|
264
262
|
);
|
|
265
263
|
const y = m.exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import d from "simple-uploader.js";
|
|
2
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
function r(e) {
|
|
4
4
|
return e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
|
|
5
5
|
}
|
|
@@ -94,8 +94,6 @@ var f = function() {
|
|
|
94
94
|
p,
|
|
95
95
|
!1,
|
|
96
96
|
null,
|
|
97
|
-
null,
|
|
98
|
-
null,
|
|
99
97
|
null
|
|
100
98
|
);
|
|
101
99
|
const _ = h.exports;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { isBlank as _ } from "@web-utils/core";
|
|
2
2
|
import { formatDate as i } from "@web-utils/integrations/dayjs";
|
|
3
|
-
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.
|
|
3
|
+
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.B_LEdJSZ.mjs";
|
|
4
4
|
import "../fy-u-editor/style.css";
|
|
5
|
-
import { a as D, b as O } from "./dataformat.
|
|
5
|
+
import { a as D, b as O } from "./dataformat.skVZSF57.mjs";
|
|
6
6
|
import { s as j } from "./slot.DXIbhGat.mjs";
|
|
7
|
-
import { n as L } from "./_plugin-vue2_normalizer.
|
|
7
|
+
import { n as L } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
8
|
const R = (n = {}, e = {}, s = {}, r = []) => {
|
|
9
9
|
let t = n[e.prop];
|
|
10
10
|
const a = e.type, o = e.separator;
|
|
@@ -17,12 +17,12 @@ const R = (n = {}, e = {}, s = {}, r = []) => {
|
|
|
17
17
|
else if (a === "password")
|
|
18
18
|
t = T(t, "*");
|
|
19
19
|
else if (C.includes(a) && e.format) {
|
|
20
|
-
const
|
|
20
|
+
const m = e.format.replace("dd", "DD").replace("yyyy", "YYYY"), u = i(Date.now(), "YYYY-MM-DD");
|
|
21
21
|
if (a.indexOf("range") !== -1) {
|
|
22
|
-
let
|
|
23
|
-
a === "timerange" &&
|
|
22
|
+
let p = t[0] || "", l = t[1] || "";
|
|
23
|
+
a === "timerange" && p.length <= 8 && l.length < 8 && (p = `${u} ${p}`, l = `${u} ${l}`), t = [i(p, m), i(l, m)].join(e.separator || "~");
|
|
24
24
|
} else
|
|
25
|
-
a === "time" && t.length <= 8 && (t = `${
|
|
25
|
+
a === "time" && t.length <= 8 && (t = `${u} ${t}`), t = i(t, m);
|
|
26
26
|
}
|
|
27
27
|
t = v(r, t, e.props || s.props);
|
|
28
28
|
}
|
|
@@ -114,8 +114,6 @@ var k = function() {
|
|
|
114
114
|
F,
|
|
115
115
|
!1,
|
|
116
116
|
null,
|
|
117
|
-
null,
|
|
118
|
-
null,
|
|
119
117
|
null
|
|
120
118
|
);
|
|
121
119
|
const V = I.exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isBlank as l } from "@web-utils/core";
|
|
2
|
-
import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.
|
|
2
|
+
import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.B_LEdJSZ.mjs";
|
|
3
3
|
const P = {
|
|
4
4
|
common: {
|
|
5
5
|
condition: "条件",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as r, a as i, b as a } from "./util.
|
|
1
|
+
import { D as r, a as i, b as a } from "./util.B_LEdJSZ.mjs";
|
|
2
2
|
import { s as l } from "./slot.DXIbhGat.mjs";
|
|
3
3
|
import { isBlank as s } from "@web-utils/core";
|
|
4
|
-
import { i as p } from "./dataformat.
|
|
4
|
+
import { i as p } from "./dataformat.skVZSF57.mjs";
|
|
5
5
|
const f = {
|
|
6
6
|
mixins: [l],
|
|
7
7
|
data() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, l as n, a as h, b as r } from "./dic.
|
|
2
|
-
import { d, a as c } from "./util.
|
|
1
|
+
import { s as a, l as n, a as h, b as r } from "./dic.28d_-7EJ.mjs";
|
|
2
|
+
import { d, a as c } from "./util.B_LEdJSZ.mjs";
|
|
3
3
|
import { s as l } from "./slot.DXIbhGat.mjs";
|
|
4
4
|
import { isBlank as s } from "@web-utils/core";
|
|
5
5
|
const f = {
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
const g = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, O = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
|
|
2
|
+
let s, p;
|
|
3
|
+
const d = {
|
|
4
|
+
// table of character substitutions
|
|
5
|
+
"\b": "\\b",
|
|
6
|
+
" ": "\\t",
|
|
7
|
+
"\n": "\\n",
|
|
8
|
+
"\f": "\\f",
|
|
9
|
+
"\r": "\\r",
|
|
10
|
+
'"': '\\"',
|
|
11
|
+
"'": "\\'",
|
|
12
|
+
"\\": "\\\\"
|
|
13
|
+
};
|
|
14
|
+
let h;
|
|
15
|
+
function N(r, i = {}) {
|
|
16
|
+
const n = i.space || 2, t = i.dropQuotesOnKeys !== !1, e = i.dropQuotesOnNumbers || !1, l = i.inlineShortArrays || !1, o = i.inlineShortArraysDepth || 1, a = i.quoteType || "single", c = i.minify || !1;
|
|
17
|
+
e && S(r);
|
|
18
|
+
let u = x(r, null, c ? void 0 : n, t, a);
|
|
19
|
+
if (l && !c) {
|
|
20
|
+
let f = j(u);
|
|
21
|
+
if (o > 1)
|
|
22
|
+
for (let m = 1; m < o && (u = f, f = j(u), f !== u); m++)
|
|
23
|
+
;
|
|
24
|
+
u = f;
|
|
25
|
+
}
|
|
26
|
+
return u;
|
|
27
|
+
}
|
|
28
|
+
function S(r) {
|
|
29
|
+
if (!$(r))
|
|
30
|
+
return;
|
|
31
|
+
const i = Object.keys(r);
|
|
32
|
+
i && i.forEach(function(n) {
|
|
33
|
+
const t = r[n];
|
|
34
|
+
if (typeof t == "string") {
|
|
35
|
+
const e = t - 0;
|
|
36
|
+
r[n] = isNaN(e) ? t : e;
|
|
37
|
+
} else
|
|
38
|
+
($(t) || Array.isArray(t)) && S(t);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function $(r) {
|
|
42
|
+
return r && typeof r == "object";
|
|
43
|
+
}
|
|
44
|
+
function j(r, i) {
|
|
45
|
+
if (i || (i = 80), typeof i != "number" || i < 20)
|
|
46
|
+
throw Error(`Invalid width '${i}'. Expecting number equal or larger than 20.`);
|
|
47
|
+
const n = r.split(`
|
|
48
|
+
`);
|
|
49
|
+
let t = 0, e = null, l = [];
|
|
50
|
+
for (; t < n.length; ) {
|
|
51
|
+
const o = !!n[t].match(/\[/), a = !!n[t].match(/\],?/);
|
|
52
|
+
if (o && !a)
|
|
53
|
+
l = [n[t]], e = t;
|
|
54
|
+
else if (a && !o && e) {
|
|
55
|
+
l.push((n[t] || "").trim());
|
|
56
|
+
const c = l.join(" ");
|
|
57
|
+
c.length < i && (n.splice(e, t - e + 1, c), t = e), e = null, l = [];
|
|
58
|
+
} else
|
|
59
|
+
e && l.push((n[t] || "").trim());
|
|
60
|
+
t += 1;
|
|
61
|
+
}
|
|
62
|
+
return n.join(`
|
|
63
|
+
`);
|
|
64
|
+
}
|
|
65
|
+
function x(r, i, n, t, e) {
|
|
66
|
+
let l;
|
|
67
|
+
if (s = "", p = "", typeof n == "number")
|
|
68
|
+
for (l = 0; l < n; l += 1)
|
|
69
|
+
p += " ";
|
|
70
|
+
else
|
|
71
|
+
typeof n == "string" && (p = n);
|
|
72
|
+
return h = i, b("", { "": r }, t, e);
|
|
73
|
+
}
|
|
74
|
+
function b(r, i, n, t) {
|
|
75
|
+
let e, l, o, a;
|
|
76
|
+
const c = s;
|
|
77
|
+
let u, f = i[r];
|
|
78
|
+
switch (f && typeof f == "object" && typeof f.toJSON == "function" && (f = f.toJSON(r)), typeof h == "function" && (f = h.call(i, r, f)), typeof f) {
|
|
79
|
+
case "function":
|
|
80
|
+
return f;
|
|
81
|
+
case "string":
|
|
82
|
+
return y(f, t);
|
|
83
|
+
case "number":
|
|
84
|
+
return isFinite(f) ? String(f) : "null";
|
|
85
|
+
case "boolean":
|
|
86
|
+
case "null":
|
|
87
|
+
return String(f);
|
|
88
|
+
case "object":
|
|
89
|
+
if (!f)
|
|
90
|
+
return "null";
|
|
91
|
+
if (s += p, u = [], Object.prototype.toString.apply(f) === "[object Array]") {
|
|
92
|
+
for (a = f.length, e = 0; e < a; e += 1)
|
|
93
|
+
u[e] = b(e, f, n, t) || "null";
|
|
94
|
+
return o = u.length === 0 ? "[]" : s ? `[
|
|
95
|
+
${s}${u.join(`,
|
|
96
|
+
${s}`)}
|
|
97
|
+
${c}]` : `[${u.join(",")}]`, s = c, o;
|
|
98
|
+
}
|
|
99
|
+
if (h && typeof h == "object")
|
|
100
|
+
for (a = h.length, e = 0; e < a; e += 1)
|
|
101
|
+
typeof h[e] == "string" && (l = h[e], o = b(l, f, n, t), o && u.push((n ? A(l, t) : y(l, t)) + (s ? ": " : ":") + o));
|
|
102
|
+
else
|
|
103
|
+
for (l in f)
|
|
104
|
+
Object.prototype.hasOwnProperty.call(f, l) && (o = b(l, f, n, t), o && u.push((n ? A(l, t) : y(l, t)) + (s ? ": " : ":") + o));
|
|
105
|
+
return o = u.length === 0 ? "{}" : s ? `{
|
|
106
|
+
${s}${u.join(`,
|
|
107
|
+
${s}`)}
|
|
108
|
+
${c}}` : `{${u.join(",")}}`, s = c, o;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function y(r, i) {
|
|
112
|
+
g.lastIndex = 0;
|
|
113
|
+
let n = '"';
|
|
114
|
+
return i === "single" && (n = "'"), g.test(r) ? n + r.replace(g, function(t) {
|
|
115
|
+
const e = d[t];
|
|
116
|
+
return typeof e == "string" ? e : `\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`;
|
|
117
|
+
}) + n : n + r + n;
|
|
118
|
+
}
|
|
119
|
+
function A(r, i) {
|
|
120
|
+
return O.test(r) ? r : y(r, i);
|
|
121
|
+
}
|
|
122
|
+
export {
|
|
123
|
+
N as c
|
|
124
|
+
};
|