@web-utils/component 2.30.1 → 2.40.0
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 +9 -9
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +20 -20
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +10 -10
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +23 -23
- package/card/style.css +1 -1
- package/carousel/index.mjs +5 -5
- package/carousel/style.css +1 -1
- package/chat/index.mjs +5 -3
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +3 -3
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.FX8xmbVB.mjs → FormTemp.7f91629d.mjs} +4 -4
- package/chunks/{confirmable-mixin.rTUMhoRH.mjs → confirmable-mixin.817b542f.mjs} +16 -6
- package/chunks/{dataformat.X_61lMA7.mjs → dataformat.f995e2f9.mjs} +1 -1
- package/chunks/{dic.6tk91Dmq.mjs → dic.eaac0823.mjs} +8 -10
- package/chunks/{event.NHA7rYFE.mjs → event.b5d855dd.mjs} +3 -3
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.4632ad36.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.ad148e7b.mjs} +1 -1
- package/chunks/{init.Ac4dKUJB.mjs → init.47f219b4.mjs} +3 -3
- package/chunks/{util.C2Bhx22L.mjs → util.ae730cde.mjs} +24 -18
- package/code-mirror-editor/index.mjs +404 -175
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +18 -18
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +9 -9
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +6 -10
- package/custom-scrollbar/index.mjs +5 -9
- package/data-box/index.mjs +8 -8
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +19 -19
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +22 -22
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +24 -24
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +13 -13
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +18 -18
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +28 -28
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +15 -15
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +7 -7
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +5 -5
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +16 -16
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +6 -6
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +47 -47
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +15 -15
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +7 -7
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +15 -15
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +5 -5
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +13 -9
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +9 -9
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +13 -13
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +12 -6
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +5 -5
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +23 -9
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +156 -63
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +20 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +23 -20
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +7 -5
- package/form-checkbox-group/index.mjs +9 -7
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +41 -12
- package/form-holder/index.mjs +6 -3
- package/form-input/index.mjs +6 -4
- package/form-input-email/index.mjs +12 -8
- package/form-input-id-card/index.mjs +12 -8
- package/form-input-number/index.mjs +10 -8
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +12 -8
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +6 -4
- package/form-item/index.mjs +43 -37
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +15 -12
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +40 -38
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +7 -5
- package/form-switch/index.mjs +6 -4
- package/form-textarea/index.mjs +6 -4
- package/form-view/index.mjs +32 -10
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +9 -9
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +7 -7
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +6 -6
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +117 -99
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +8 -8
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +3 -3
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +51 -43
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +10 -10
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +42 -42
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +539 -421
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +5 -5
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +21 -15
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +13 -10
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +6 -6
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +6 -6
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +27 -27
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +14 -14
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +6 -9
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +34 -32
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +27 -27
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +12 -12
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +9 -9
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +16 -16
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +5 -5
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +10 -10
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +7 -7
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +5 -5
- package/image-viewer/style.css +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +7 -7
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +6 -2
- package/keyboard/index.mjs +21 -20
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +5 -5
- package/loading-view/style.css +1 -1
- package/login/index.mjs +4 -4
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +6 -6
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +8 -8
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +15 -15
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +5 -5
- package/notice/style.css +1 -1
- package/package.json +1 -1
- package/page/index.mjs +8 -8
- package/page/style.css +1 -1
- package/page-header/index.mjs +6 -6
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +19 -19
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +21 -21
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +3 -3
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +21 -26
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +37 -42
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +4 -2
- package/present-view/index.mjs +31 -9
- package/present-view/style.css +1 -1
- package/queue/index.mjs +4 -4
- package/queue/style.css +1 -1
- package/record-video/index.mjs +14 -14
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +6 -6
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +7 -7
- package/search/style.css +1 -1
- package/search-popover/index.mjs +6 -6
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +31 -31
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +8 -8
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +10 -10
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +19 -22
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +12 -12
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +9 -9
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +7 -7
- package/swiper/style.css +1 -1
- package/tab/index.mjs +2 -2
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +10 -6
- package/table-view/index.mjs +28 -8
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +29 -29
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +9 -12
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +77 -77
- package/tinymce-editor/style.css +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +6 -6
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +10 -10
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +3 -3
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +25 -22
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +32 -29
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +11 -11
- package/watermark/style.css +1 -1
- package/web-types.json +31 -31
- package/x-input-tag/index.mjs +13 -13
- package/x-input-tag/style.css +1 -1
- /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.61ad06b2.mjs} +0 -0
- /package/chunks/{index.LGsb2aDq.mjs → index.57f871af.mjs} +0 -0
- /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.41a066be.mjs} +0 -0
- /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.21cfffea.mjs} +0 -0
- /package/chunks/{packages.v6r2Hr7E.mjs → packages.1fc9ccba.mjs} +0 -0
- /package/chunks/{permission.E9kZbW48.mjs → permission.ce5d2121.mjs} +0 -0
- /package/chunks/{slot.j1uMmBnG.mjs → slot.4b391395.mjs} +0 -0
- /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.e2b9c6a4.mjs} +0 -0
- /package/chunks/{vueComponentNormalizer.JwmUNtgn.mjs → vueComponentNormalizer.446f5dc4.mjs} +0 -0
package/form-item/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var q = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var F = (e, r, t) => r in e ? M(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t,
|
|
4
|
+
var F = (e, r, t) => r in e ? M(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, _ = (e, r) => {
|
|
5
5
|
for (var t in r || (r = {}))
|
|
6
6
|
P.call(r, t) && F(e, t, r[t]);
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
7
|
+
if (q)
|
|
8
|
+
for (var t of q(r))
|
|
9
9
|
T.call(r, t) && F(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var h = (e, r, t) => new Promise((i, f) => {
|
|
13
13
|
var s = (l) => {
|
|
14
14
|
try {
|
|
15
15
|
a(t.next(l));
|
|
@@ -25,9 +25,9 @@ var _ = (e, r, t) => new Promise((i, f) => {
|
|
|
25
25
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, o);
|
|
26
26
|
a((t = t.apply(e, r)).next());
|
|
27
27
|
});
|
|
28
|
-
import { f as V } from "../chunks/form-item-mixin.
|
|
28
|
+
import { f as V } from "../chunks/form-item-mixin.ad148e7b.mjs";
|
|
29
29
|
import { hasOwn as w } from "@web-utils/core";
|
|
30
|
-
import { n as z } from "../chunks/vueComponentNormalizer.
|
|
30
|
+
import { n as z } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
31
31
|
const B = {
|
|
32
32
|
name: "FormItem",
|
|
33
33
|
mixins: [V],
|
|
@@ -50,7 +50,7 @@ const B = {
|
|
|
50
50
|
},
|
|
51
51
|
methods: {
|
|
52
52
|
renderFormItem() {
|
|
53
|
-
var
|
|
53
|
+
var v, b, g;
|
|
54
54
|
const e = this.$createElement, {
|
|
55
55
|
label: r,
|
|
56
56
|
labelWidth: t,
|
|
@@ -63,41 +63,44 @@ const B = {
|
|
|
63
63
|
formItemClass: n,
|
|
64
64
|
required: u,
|
|
65
65
|
block: k,
|
|
66
|
-
half:
|
|
67
|
-
wrapCol:
|
|
66
|
+
half: y,
|
|
67
|
+
wrapCol: $,
|
|
68
68
|
wrapFormItem: R,
|
|
69
69
|
disabled: E,
|
|
70
70
|
formItemConfig: d,
|
|
71
71
|
getRequireRule: W
|
|
72
72
|
} = this;
|
|
73
|
-
let m = f, c = u, p = u,
|
|
74
|
-
d && (w(d, "block") && (
|
|
75
|
-
const j =
|
|
76
|
-
return E || a != null && a.disabled ? (m = [], l && !l.required && !((
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
73
|
+
let m = f, c = u, p = u, I = k, C = $;
|
|
74
|
+
d && (w(d, "block") && (I = d.block), w(d, "wrapCol") && (C = d.wrapCol));
|
|
75
|
+
const j = I && y && C ? `calc( 50% - ${this.gutter / 2}px)` : "";
|
|
76
|
+
return E || a != null && a.disabled ? (m = [], l && !l.required && !((v = l.requiredFields) != null && v.includes(i)) && (p = !1)) : (l && !l.required && !((b = l.requiredFields) != null && b.includes(i)) && (c = !1), c && !(m != null && m.length) && i ? m = [W()] : c || (p = !1, m && (m = m.filter((H) => !H.required)))), R ? (
|
|
77
|
+
// eslint-disable-next-line no-undef
|
|
78
|
+
e("ElFormItem", {
|
|
79
|
+
style: {
|
|
80
|
+
width: j
|
|
81
|
+
},
|
|
82
|
+
key: `${i}-${c}`,
|
|
83
|
+
class: p ? `form-item required ${n || ""}` : `${n || ""}`,
|
|
84
|
+
scopedSlots: s,
|
|
85
|
+
props: _({}, o),
|
|
86
|
+
attrs: {
|
|
87
|
+
label: r,
|
|
88
|
+
"label-width": t,
|
|
89
|
+
prop: i,
|
|
90
|
+
rules: m
|
|
91
|
+
},
|
|
92
|
+
ref: "formItem"
|
|
93
|
+
})
|
|
94
|
+
) : e("div", [(g = s.default) == null ? void 0 : g.call(s)]);
|
|
92
95
|
},
|
|
93
96
|
clearValidate() {
|
|
94
|
-
return
|
|
97
|
+
return h(this, null, function* () {
|
|
95
98
|
var e, r;
|
|
96
99
|
yield this.$nextTick(), (r = (e = this.$refs.formItem).clearValidate) == null || r.call(e);
|
|
97
100
|
});
|
|
98
101
|
},
|
|
99
102
|
validate() {
|
|
100
|
-
return
|
|
103
|
+
return h(this, null, function* () {
|
|
101
104
|
var e, r;
|
|
102
105
|
yield this.$nextTick(), (r = (e = this.$refs.formItem).validate) == null || r.call(e);
|
|
103
106
|
});
|
|
@@ -115,12 +118,15 @@ const B = {
|
|
|
115
118
|
unwrap: a
|
|
116
119
|
} = this;
|
|
117
120
|
let l = t;
|
|
118
|
-
return i && w(i, "wrapCol") && (l = i.wrapCol), a ? e("div", [(n = o.default) == null ? void 0 : n.call(o)]) : l ?
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
return i && w(i, "wrapCol") && (l = i.wrapCol), a ? e("div", [(n = o.default) == null ? void 0 : n.call(o)]) : l ? (
|
|
122
|
+
// eslint-disable-next-line no-undef
|
|
123
|
+
e("ElCol", {
|
|
124
|
+
props: _({}, s),
|
|
125
|
+
attrs: {
|
|
126
|
+
span: r
|
|
127
|
+
}
|
|
128
|
+
}, [f(), (u = o == null ? void 0 : o.below) == null ? void 0 : u.call(o)])
|
|
129
|
+
) : f();
|
|
124
130
|
}
|
|
125
131
|
};
|
|
126
132
|
let N, O;
|
package/form-item/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-item.el-form-item.required:not(.is-no-asterisk) .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}
|
|
1
|
+
.form-item.el-form-item.required:not(.is-no-asterisk) .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isFunction as m } from "@web-utils/core";
|
|
2
|
-
import { n as u } from "../chunks/vueComponentNormalizer.
|
|
3
|
-
const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], c = ["$emit", "validate", "clearValidate"],
|
|
2
|
+
import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
|
+
const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], c = ["$emit", "validate", "clearValidate"], p = {
|
|
4
4
|
name: "FormItemGroup",
|
|
5
5
|
inject: {
|
|
6
6
|
elForm: {
|
|
@@ -90,14 +90,17 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
90
90
|
formConfig: i,
|
|
91
91
|
$scopedSlots: o
|
|
92
92
|
} = this;
|
|
93
|
-
return m(o.default) ? t ?
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
return m(o.default) ? t ? (
|
|
94
|
+
// eslint-disable-next-line no-undef
|
|
95
|
+
e("ElRow", {
|
|
96
|
+
attrs: {
|
|
97
|
+
gutter: s
|
|
98
|
+
},
|
|
99
|
+
class: "form-item-group-row"
|
|
100
|
+
}, [o.default({
|
|
101
|
+
disabled: i.disabled
|
|
102
|
+
})])
|
|
103
|
+
) : o.default({
|
|
101
104
|
disabled: i.disabled
|
|
102
105
|
}) : e("EmptyView", {
|
|
103
106
|
attrs: {
|
|
@@ -145,11 +148,11 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
145
148
|
}, [t()])])]);
|
|
146
149
|
}
|
|
147
150
|
};
|
|
148
|
-
let
|
|
151
|
+
let f, h;
|
|
149
152
|
const l = {};
|
|
150
153
|
var b = /* @__PURE__ */ u(
|
|
151
|
-
f,
|
|
152
154
|
p,
|
|
155
|
+
f,
|
|
153
156
|
h,
|
|
154
157
|
!1,
|
|
155
158
|
g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-item-group{background-color:#fff;margin-bottom:10px}.form-item-group.is-disabled .is-required .el-form-item__label:before,.form-item-group.is-disabled .required .el-form-item__label:before{display:none}.form-item-group .form-item-group-row{margin:0!important}.form-item-group .form-item-group-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
|
|
1
|
+
.form-item-group{background-color:#fff;margin-bottom:10px}.form-item-group.is-disabled .is-required .el-form-item__label:before,.form-item-group.is-disabled .required .el-form-item__label:before{display:none}.form-item-group .form-item-group-row{margin:0!important}.form-item-group .form-item-group-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var i = Object.getOwnPropertySymbols;
|
|
3
3
|
var c = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var s = (e,
|
|
5
|
-
for (var
|
|
6
|
-
c.call(
|
|
7
|
-
if (
|
|
8
|
-
for (var
|
|
9
|
-
f.call(
|
|
4
|
+
var s = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, n = (e, t) => {
|
|
5
|
+
for (var o in t || (t = {}))
|
|
6
|
+
c.call(t, o) && s(e, o, t[o]);
|
|
7
|
+
if (i)
|
|
8
|
+
for (var o of i(t))
|
|
9
|
+
f.call(t, o) && s(e, o, t[o]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as h } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as d } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { f as d } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
14
14
|
import a from "element-ui/lib/radio-group";
|
|
15
|
-
import { d as y, n as m } from "../chunks/index.
|
|
16
|
-
import { n as
|
|
17
|
-
var
|
|
18
|
-
var e = this,
|
|
19
|
-
return
|
|
15
|
+
import { d as y, n as m } from "../chunks/index.57f871af.mjs";
|
|
16
|
+
import { n as _ } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
|
+
var v = function() {
|
|
18
|
+
var e = this, t = e.$createElement, o = e._self._c || t;
|
|
19
|
+
return o("FormItem", e._b({
|
|
20
20
|
class: ["form-radio-group", {
|
|
21
21
|
"form-radio-group-row": e.fillRow,
|
|
22
22
|
inline: e.inline
|
|
@@ -28,7 +28,7 @@ var _ = function() {
|
|
|
28
28
|
scopedSlots: e._u([{
|
|
29
29
|
key: "default",
|
|
30
30
|
fn: function() {
|
|
31
|
-
return [
|
|
31
|
+
return [o("ElRadioGroup", e._g(e._b({
|
|
32
32
|
class: {
|
|
33
33
|
"over-flow": e.overFlow
|
|
34
34
|
},
|
|
@@ -38,36 +38,36 @@ var _ = function() {
|
|
|
38
38
|
placeholder: e.computePlaceholder
|
|
39
39
|
},
|
|
40
40
|
on: {
|
|
41
|
-
input: function(
|
|
42
|
-
return e.$emit("input",
|
|
41
|
+
input: function(r) {
|
|
42
|
+
return e.$emit("input", r);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
}, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(
|
|
46
|
-
return
|
|
47
|
-
key:
|
|
45
|
+
}, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(r) {
|
|
46
|
+
return o("ElRadio", {
|
|
47
|
+
key: r[e.valueKey],
|
|
48
48
|
attrs: {
|
|
49
|
-
label:
|
|
49
|
+
label: r[e.valueKey]
|
|
50
50
|
},
|
|
51
51
|
nativeOn: {
|
|
52
52
|
click: function(l) {
|
|
53
|
-
return l.preventDefault(), l.stopPropagation(), e.toggle(
|
|
53
|
+
return l.preventDefault(), l.stopPropagation(), e.toggle(r);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
}, [e._v(" " + e._s(
|
|
57
|
-
}) : e._l(e.innerOptions, function(
|
|
58
|
-
return
|
|
59
|
-
key:
|
|
56
|
+
}, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
|
|
57
|
+
}) : e._l(e.innerOptions, function(r) {
|
|
58
|
+
return o("ElRadio", {
|
|
59
|
+
key: r[e.valueKey],
|
|
60
60
|
attrs: {
|
|
61
|
-
label:
|
|
61
|
+
label: r[e.valueKey]
|
|
62
62
|
}
|
|
63
|
-
}, [e._v(" " + e._s(
|
|
63
|
+
}, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
|
|
64
64
|
})], 2), e._t("append")];
|
|
65
65
|
},
|
|
66
66
|
proxy: !0
|
|
67
67
|
}, {
|
|
68
68
|
key: "error",
|
|
69
|
-
fn: function(
|
|
70
|
-
var l =
|
|
69
|
+
fn: function(r) {
|
|
70
|
+
var l = r.error;
|
|
71
71
|
return [e._t("error", null, {
|
|
72
72
|
error: l
|
|
73
73
|
})];
|
|
@@ -87,7 +87,9 @@ var _ = function() {
|
|
|
87
87
|
}], null, !0)
|
|
88
88
|
}, "FormItem", e.formItemProps, !1));
|
|
89
89
|
}, b = [];
|
|
90
|
-
const g = Object.keys(a.props || a.default.props).filter(
|
|
90
|
+
const g = Object.keys(a.props || a.default.props).filter(
|
|
91
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
92
|
+
), K = {
|
|
91
93
|
name: "FormRadioGroup",
|
|
92
94
|
mixins: [h, d],
|
|
93
95
|
props: {
|
|
@@ -120,7 +122,7 @@ const g = Object.keys(a.props || a.default.props).filter((e) => !["value", "plac
|
|
|
120
122
|
return "请选择";
|
|
121
123
|
},
|
|
122
124
|
inputProps() {
|
|
123
|
-
return y(
|
|
125
|
+
return y(n(n({}, m(this.$attrs)), this.$props), g);
|
|
124
126
|
},
|
|
125
127
|
labelKey() {
|
|
126
128
|
return this.classic ? "label" : this.labelProp;
|
|
@@ -159,9 +161,9 @@ const g = Object.keys(a.props || a.default.props).filter((e) => !["value", "plac
|
|
|
159
161
|
}
|
|
160
162
|
}
|
|
161
163
|
}, u = {};
|
|
162
|
-
var w = /* @__PURE__ */
|
|
164
|
+
var w = /* @__PURE__ */ _(
|
|
163
165
|
K,
|
|
164
|
-
|
|
166
|
+
v,
|
|
165
167
|
b,
|
|
166
168
|
!1,
|
|
167
169
|
B,
|
|
@@ -170,12 +172,12 @@ var w = /* @__PURE__ */ v(
|
|
|
170
172
|
null
|
|
171
173
|
);
|
|
172
174
|
function B(e) {
|
|
173
|
-
for (let
|
|
174
|
-
this[
|
|
175
|
+
for (let t in u)
|
|
176
|
+
this[t] = u[t];
|
|
175
177
|
}
|
|
176
|
-
const
|
|
178
|
+
const G = /* @__PURE__ */ function() {
|
|
177
179
|
return w.exports;
|
|
178
180
|
}();
|
|
179
181
|
export {
|
|
180
|
-
|
|
182
|
+
G as default
|
|
181
183
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-radio-group.inline{display:inline}.form-radio-group.inline .el-radio{float:left;margin-right:10px}.form-radio-group.form-radio-group-row.form-radio-group-row-ellipsis .el-radio__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-radio-group.form-radio-group-row.form-radio-group-row-break-word .el-radio__label{word-wrap:break-word;word-break:break-all}.form-radio-group.form-radio-group-row .el-radio-group{display:block}.form-radio-group.form-radio-group-row .el-radio{flex-flow:row;width:100%;display:flex}.form-radio-group.form-radio-group-row .el-radio__input{flex-shrink:0;top:3px}.form-radio-group.form-radio-group-row .el-radio__label{vertical-align:sub;flex:auto;margin-bottom:6px;padding-left:4px;display:block}.form-radio-group .el-radio-group{line-height:1}.form-radio-group .el-radio{vertical-align:middle;margin-right:10px}.form-radio-group .el-radio__label{padding-left:0;line-height:19px}
|
|
1
|
+
.form-radio-group.inline{display:inline}.form-radio-group.inline .el-radio{float:left;margin-right:10px}.form-radio-group.form-radio-group-row.form-radio-group-row-ellipsis .el-radio__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-radio-group.form-radio-group-row.form-radio-group-row-break-word .el-radio__label{word-wrap:break-word;word-break:break-all}.form-radio-group.form-radio-group-row .el-radio-group{display:block}.form-radio-group.form-radio-group-row .el-radio{flex-flow:row;width:100%;display:flex}.form-radio-group.form-radio-group-row .el-radio__input{flex-shrink:0;top:3px}.form-radio-group.form-radio-group-row .el-radio__label{vertical-align:sub;flex:auto;margin-bottom:6px;padding-left:4px;display:block}.form-radio-group .el-radio-group{line-height:1}.form-radio-group .el-radio{vertical-align:middle;margin-right:10px}.form-radio-group .el-radio__label{padding-left:0;line-height:19px}
|
package/form-select/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ var o = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
f.call(r, t) && o(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as h } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as m } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { f as m } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
14
14
|
import a from "element-ui/lib/select";
|
|
15
|
-
import { d as y, n as d } from "../chunks/index.
|
|
16
|
-
import { n as _ } from "../chunks/vueComponentNormalizer.
|
|
15
|
+
import { d as y, n as d } from "../chunks/index.57f871af.mjs";
|
|
16
|
+
import { n as _ } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
17
|
var v = function() {
|
|
18
18
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
19
19
|
return t("FormItem", e._b({
|
|
@@ -74,7 +74,9 @@ var v = function() {
|
|
|
74
74
|
}], null, !0)
|
|
75
75
|
}, "FormItem", e.formItemProps, !1));
|
|
76
76
|
}, b = [];
|
|
77
|
-
const K = Object.keys(a.props || a.default.props).filter(
|
|
77
|
+
const K = Object.keys(a.props || a.default.props).filter(
|
|
78
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
79
|
+
), g = {
|
|
78
80
|
name: "FormSelect",
|
|
79
81
|
mixins: [h, m],
|
|
80
82
|
props: {
|
package/form-switch/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var l = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
m.call(t, r) && l(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as d } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
13
|
import s from "element-ui/lib/switch";
|
|
14
|
-
import { d as f, n as _ } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var h = function() {
|
|
17
17
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
18
18
|
return r("FormItem", e._b({
|
|
@@ -67,7 +67,9 @@ var h = function() {
|
|
|
67
67
|
}], null, !0)
|
|
68
68
|
}, "FormItem", e.formItemProps, !1));
|
|
69
69
|
}, y = [];
|
|
70
|
-
const b = Object.keys(s.props || s.default.props).filter(
|
|
70
|
+
const b = Object.keys(s.props || s.default.props).filter(
|
|
71
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
72
|
+
), S = {
|
|
71
73
|
name: "FormSwitch",
|
|
72
74
|
mixins: [d],
|
|
73
75
|
props: {
|
package/form-textarea/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var s = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(t, r) && s(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d, n as _ } from "../chunks/index.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { d, n as _ } from "../chunks/index.57f871af.mjs";
|
|
14
14
|
import a from "element-ui/lib/input";
|
|
15
|
-
import { n as h } from "../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var x = function() {
|
|
17
17
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
18
18
|
return r("FormItem", e._b({
|
|
@@ -60,7 +60,9 @@ var x = function() {
|
|
|
60
60
|
}], null, !0)
|
|
61
61
|
}, "FormItem", e.formItemProps, !1));
|
|
62
62
|
}, y = [];
|
|
63
|
-
const v = Object.keys(a.props || a.default.props).filter(
|
|
63
|
+
const v = Object.keys(a.props || a.default.props).filter(
|
|
64
|
+
(e) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(e)
|
|
65
|
+
), b = {
|
|
64
66
|
name: "FormTextarea",
|
|
65
67
|
mixins: [f],
|
|
66
68
|
props: {
|
package/form-view/index.mjs
CHANGED
|
@@ -14,11 +14,11 @@ var c = (t, e, o) => new Promise((r, s) => {
|
|
|
14
14
|
}, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
|
|
15
15
|
a((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { hasOwn as d, toStringArray as b, animate as v, isInContainer as
|
|
18
|
-
import { merge as
|
|
19
|
-
import
|
|
17
|
+
import { hasOwn as d, toStringArray as b, animate as v, isInContainer as _ } from "@web-utils/core";
|
|
18
|
+
import { merge as g } from "@web-utils/integrations/lodash";
|
|
19
|
+
import y from "@web-utils/component/resize-observer";
|
|
20
20
|
import "@web-utils/component/resize-observer/style.css";
|
|
21
|
-
import { n as w } from "../chunks/vueComponentNormalizer.
|
|
21
|
+
import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
22
22
|
var x = function() {
|
|
23
23
|
var t = this, e = t.$createElement, o = t._self._c || e;
|
|
24
24
|
return o("div", {
|
|
@@ -185,7 +185,7 @@ var x = function() {
|
|
|
185
185
|
staticClass: "form-nav"
|
|
186
186
|
}, [o("div", {
|
|
187
187
|
staticClass: "form-nav-header"
|
|
188
|
-
}, [t._v("
|
|
188
|
+
}, [t._v("表单导航")]), o("ul", {
|
|
189
189
|
staticClass: "form-nav-list"
|
|
190
190
|
}, t._l(t.groups, function(r, s) {
|
|
191
191
|
return o("li", {
|
|
@@ -206,7 +206,27 @@ var x = function() {
|
|
|
206
206
|
}
|
|
207
207
|
}) : t._e()], 1);
|
|
208
208
|
}, $ = [];
|
|
209
|
-
const p = [
|
|
209
|
+
const p = [
|
|
210
|
+
"back",
|
|
211
|
+
"create",
|
|
212
|
+
"save",
|
|
213
|
+
"withdraw",
|
|
214
|
+
"edit",
|
|
215
|
+
"submit",
|
|
216
|
+
"publish",
|
|
217
|
+
"agree",
|
|
218
|
+
"disagree",
|
|
219
|
+
"reject",
|
|
220
|
+
"finish",
|
|
221
|
+
"cancel",
|
|
222
|
+
"enable",
|
|
223
|
+
"exp",
|
|
224
|
+
"imp",
|
|
225
|
+
"del",
|
|
226
|
+
"disabled",
|
|
227
|
+
"reload",
|
|
228
|
+
"slot"
|
|
229
|
+
], S = p.map((t) => `${t}-down`), F = ["back", "withdraw", "edit"], m = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], u = (t, e) => {
|
|
210
230
|
if (t.classList.contains(e))
|
|
211
231
|
return t;
|
|
212
232
|
let o = t.parentNode;
|
|
@@ -216,7 +236,7 @@ const p = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
216
236
|
}, k = {
|
|
217
237
|
name: "FormView",
|
|
218
238
|
components: {
|
|
219
|
-
ResizeObserver:
|
|
239
|
+
ResizeObserver: y
|
|
220
240
|
},
|
|
221
241
|
inject: {
|
|
222
242
|
flowContext: {
|
|
@@ -271,14 +291,16 @@ const p = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
271
291
|
},
|
|
272
292
|
toolbarProps() {
|
|
273
293
|
var r;
|
|
274
|
-
const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o =
|
|
294
|
+
const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = g({}, this.toolbarAttrs, t);
|
|
275
295
|
return o.buttons = e || ["back"], o.buttons = b(o.buttons), o;
|
|
276
296
|
},
|
|
277
297
|
toolbarButtons() {
|
|
278
298
|
return this.toolbarProps.buttons.filter((t) => !m.includes(t) && t.indexOf(":down") < 0).map((t) => t.replace(":up", ""));
|
|
279
299
|
},
|
|
280
300
|
footerBarButtons() {
|
|
281
|
-
let t = this.toolbarProps.buttons.filter(
|
|
301
|
+
let t = this.toolbarProps.buttons.filter(
|
|
302
|
+
(e) => !F.includes(e) && (m.includes(e) || e.indexOf(":down") > -1)
|
|
303
|
+
).map((e) => e.replace(":down", ""));
|
|
282
304
|
return t = t || [], this.$parent.isEnabled && !t.includes("cancel") && t.push("cancel"), t;
|
|
283
305
|
}
|
|
284
306
|
},
|
|
@@ -334,7 +356,7 @@ const p = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
334
356
|
return c(this, null, function* () {
|
|
335
357
|
if (this.showNav) {
|
|
336
358
|
for (let t = 0; t < this.groups.length; t++)
|
|
337
|
-
if (
|
|
359
|
+
if (_(this.groups[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
338
360
|
this.activeIndex = t;
|
|
339
361
|
break;
|
|
340
362
|
}
|
package/form-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;font-family:element-icons,serif;font-size:14px;list-style:none;position:relative}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia,serif;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}.form-view .el-table td .cell .el-input .el-input__inner{padding-left:4px}.form-view .el-table td .cell .el-input.el-input--prefix .el-input__inner{padding-left:30px}.form-view .el-table td .cell .el-input.is-disabled .el-input__suffix{display:none}.form-view .el-table td .cell .el-input.is-disabled .el-input__inner{white-space:normal;word-break:break-word;background:0 0;border:0;padding:0 0 0 4px;line-height:1.6}@keyframes breathe-indicator{0%{box-shadow:0 0 0 0 var(--color-primary,red)}to{box-shadow:0 0 4px 1px var(--color-primary,red)}}.form-view .breathe-indicator-animation{animation-name:breathe-indicator;animation-duration:.3s;animation-timing-function:ease-in-out;animation-iteration-count:4;animation-direction:alternate;animation-delay:.1s}@media screen and (min-width:1700px){.form-view.form-view__lg .form-card{position:relative;left:60px}}
|
|
1
|
+
.form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;font-family:element-icons,serif;font-size:14px;list-style:none;position:relative}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia,serif;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}.form-view .el-table td .cell .el-input .el-input__inner{padding-left:4px}.form-view .el-table td .cell .el-input.el-input--prefix .el-input__inner{padding-left:30px}.form-view .el-table td .cell .el-input.is-disabled .el-input__suffix{display:none}.form-view .el-table td .cell .el-input.is-disabled .el-input__inner{white-space:normal;word-break:break-word;background:0 0;border:0;padding:0 0 0 4px;line-height:1.6}@keyframes breathe-indicator{0%{box-shadow:0 0 0 0 var(--color-primary,red)}to{box-shadow:0 0 4px 1px var(--color-primary,red)}}.form-view .breathe-indicator-animation{animation-name:breathe-indicator;animation-duration:.3s;animation-timing-function:ease-in-out;animation-iteration-count:4;animation-direction:alternate;animation-delay:.1s}@media screen and (min-width:1700px){.form-view.form-view__lg .form-card{position:relative;left:60px}}
|
package/fy-array/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as a, e as o } from "../chunks/event.
|
|
2
|
-
import { i as c } from "../chunks/util.
|
|
3
|
-
import { n as u } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { p as a, e as o } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { i as c } from "../chunks/util.ae730cde.mjs";
|
|
3
|
+
import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
4
|
var p = function() {
|
|
5
5
|
var t = this, n = t.$createElement, e = t._self._c || n;
|
|
6
6
|
return e("div", {
|
|
@@ -98,7 +98,7 @@ var p = function() {
|
|
|
98
98
|
})]], 2)]);
|
|
99
99
|
})], 2);
|
|
100
100
|
}, d = [];
|
|
101
|
-
const
|
|
101
|
+
const _ = {
|
|
102
102
|
name: "FyArray",
|
|
103
103
|
mixins: [a, o],
|
|
104
104
|
props: {
|
|
@@ -136,22 +136,22 @@ const m = {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}, l = {};
|
|
139
|
-
var
|
|
140
|
-
|
|
139
|
+
var m = /* @__PURE__ */ u(
|
|
140
|
+
_,
|
|
141
141
|
p,
|
|
142
142
|
d,
|
|
143
143
|
!1,
|
|
144
|
-
|
|
144
|
+
y,
|
|
145
145
|
null,
|
|
146
146
|
null,
|
|
147
147
|
null
|
|
148
148
|
);
|
|
149
|
-
function
|
|
149
|
+
function y(t) {
|
|
150
150
|
for (let n in l)
|
|
151
151
|
this[n] = l[n];
|
|
152
152
|
}
|
|
153
153
|
const b = /* @__PURE__ */ function() {
|
|
154
|
-
return
|
|
154
|
+
return m.exports;
|
|
155
155
|
}();
|
|
156
156
|
export {
|
|
157
157
|
b as default
|
package/fy-array/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-array__item{margin-bottom:5px}.avue-array__input{display:flex}.avue-array__input .el-input{flex:auto}.avue-array__input .el-button{margin-left:5px}
|
|
1
|
+
.avue-array__item{margin-bottom:5px}.avue-array__input{display:flex}.avue-array__input .el-input{flex:auto}.avue-array__input .el-button{margin-left:5px}
|
package/fy-article/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
1
|
+
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var i = function() {
|
|
3
3
|
var t = this, s = t.$createElement, e = t._self._c || s;
|
|
4
4
|
return e("div", {
|
|
5
5
|
staticClass: "avue-article"
|
|
@@ -26,13 +26,13 @@ var l = function() {
|
|
|
26
26
|
innerHTML: t._s(t.body)
|
|
27
27
|
}
|
|
28
28
|
}) : t._e()]);
|
|
29
|
-
},
|
|
29
|
+
}, n = [];
|
|
30
30
|
const a = {
|
|
31
31
|
title: "title",
|
|
32
32
|
meta: "meta",
|
|
33
33
|
lead: "lead",
|
|
34
34
|
body: "body"
|
|
35
|
-
},
|
|
35
|
+
}, o = {
|
|
36
36
|
name: "FyArticle",
|
|
37
37
|
props: {
|
|
38
38
|
data: {
|
|
@@ -71,10 +71,10 @@ const a = {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}, r = {};
|
|
74
|
-
var d = /* @__PURE__ */
|
|
75
|
-
n,
|
|
76
|
-
l,
|
|
74
|
+
var d = /* @__PURE__ */ l(
|
|
77
75
|
o,
|
|
76
|
+
i,
|
|
77
|
+
n,
|
|
78
78
|
!1,
|
|
79
79
|
_,
|
|
80
80
|
null,
|
package/fy-article/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-article__title{margin-bottom:15px;font-size:32px;font-weight:400;line-height:32px}.avue-article__meta{color:#999;margin-bottom:20px;font-size:12px;display:block}.avue-article__lead{color:#666;background:#f9f9f9;border:1px solid #dedede;border-radius:2px;padding:10px;font-size:14px;line-height:22px}.avue-article__body{color:#333;background:#fff;padding-top:10px;font-family:Segoe UI,Lucida Grande,Helvetica,Arial,Microsoft YaHei,FreeSans,Arimo,Droid Sans,wenquanyi micro hei,Hiragino Sans GB,Hiragino Sans GB W3,FontAwesome,sans-serif;font-size:14px}.avue-article blockquote{border-left:4px solid #ddd;margin:0;padding:1px 0 1px 15px;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif}
|
|
1
|
+
.avue-article__title{margin-bottom:15px;font-size:32px;font-weight:400;line-height:32px}.avue-article__meta{color:#999;margin-bottom:20px;font-size:12px;display:block}.avue-article__lead{color:#666;background:#f9f9f9;border:1px solid #dedede;border-radius:2px;padding:10px;font-size:14px;line-height:22px}.avue-article__body{color:#333;background:#fff;padding-top:10px;font-family:Segoe UI,Lucida Grande,Helvetica,Arial,Microsoft YaHei,FreeSans,Arimo,Droid Sans,wenquanyi micro hei,Hiragino Sans GB,Hiragino Sans GB W3,FontAwesome,sans-serif;font-size:14px}.avue-article blockquote{border-left:4px solid #ddd;margin:0;padding:1px 0 1px 15px;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif}
|
package/fy-cascader/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as d, e as u } from "../chunks/event.
|
|
2
|
-
import { n as p } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { p as d, e as u } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var h = function() {
|
|
4
4
|
var e = this, l = e.$createElement, s = e._self._c || l;
|
|
5
5
|
return s("ElCascader", {
|