@web-utils/component 2.13.0 → 2.14.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 +2 -2
- 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.a70cc55d.mjs → FormTemp.FX8xmbVB.mjs} +4 -4
- package/chunks/{confirmable-mixin.d89088b0.mjs → confirmable-mixin.rTUMhoRH.mjs} +25 -24
- package/chunks/{dataformat.504544b2.mjs → dataformat.X_61lMA7.mjs} +1 -1
- package/chunks/{dic.9277cfae.mjs → dic.6tk91Dmq.mjs} +1 -1
- package/chunks/{event.67cfd4fb.mjs → event.NHA7rYFE.mjs} +3 -3
- package/chunks/{form-input-mixin.4632ad36.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.ad148e7b.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{init.7338d214.mjs → init.Ac4dKUJB.mjs} +3 -3
- package/code-mirror-editor/index.mjs +36 -36
- 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 +1 -1
- package/custom-scrollbar/index.mjs +6 -6
- 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 +8 -8
- 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 +2 -2
- 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 +2 -2
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +31 -31
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +4 -4
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +16 -16
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +6 -6
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +3 -3
- package/form-input-email/index.mjs +3 -3
- package/form-input-id-card/index.mjs +3 -3
- package/form-input-number/index.mjs +8 -8
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +3 -3
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +3 -3
- package/form-item/index.mjs +18 -18
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +4 -4
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +37 -37
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +4 -4
- package/form-switch/index.mjs +3 -3
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +7 -7
- 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 +9 -9
- 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 +2 -2
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +7 -7
- 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 +3 -3
- 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 +8 -8
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +2 -2
- 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 +3 -3
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +14 -14
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +17 -17
- 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 +1 -1
- package/keyboard/index.mjs +12 -12
- 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 +1 -1
- 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 +12 -12
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +28 -28
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/present-view/index.mjs +7 -7
- 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 +6 -6
- 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 +5 -5
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +10 -10
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +18 -18
- 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 +1 -1
- package/table-view/index.mjs +6 -6
- 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 +8 -8
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +70 -70
- 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 +364 -369
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +25 -25
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +11 -11
- package/watermark/style.css +1 -1
- package/web-types.json +27 -3
- package/x-input-tag/index.mjs +13 -13
- package/x-input-tag/style.css +1 -1
- /package/chunks/{form-pick-mixin.61ad06b2.mjs → form-pick-mixin.y-qhZJi6.mjs} +0 -0
- /package/chunks/{index.57f871af.mjs → index.LGsb2aDq.mjs} +0 -0
- /package/chunks/{input-number-mixin.41a066be.mjs → input-number-mixin.GE2zr_3s.mjs} +0 -0
- /package/chunks/{json-beautifier.21cfffea.mjs → json-beautifier.fUZFSW5j.mjs} +0 -0
- /package/chunks/{packages.1fc9ccba.mjs → packages.v6r2Hr7E.mjs} +0 -0
- /package/chunks/{permission.ce5d2121.mjs → permission.E9kZbW48.mjs} +0 -0
- /package/chunks/{slot.4b391395.mjs → slot.j1uMmBnG.mjs} +0 -0
- /package/chunks/{tab-mixin.e2b9c6a4.mjs → tab-mixin.tM9jcRT8.mjs} +0 -0
- /package/chunks/{util.c5724c4a.mjs → util.C2Bhx22L.mjs} +0 -0
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → vueComponentNormalizer.JwmUNtgn.mjs} +0 -0
|
@@ -9,11 +9,11 @@ var a = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(e, t) && a(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { validateIdCard as i } from "@web-utils/core";
|
|
14
14
|
import u from "element-ui/lib/input";
|
|
15
|
-
import { d as _, n as v } from "../chunks/index.
|
|
16
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
15
|
+
import { d as _, n as v } from "../chunks/index.LGsb2aDq.mjs";
|
|
16
|
+
import { n as y } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
17
17
|
var h = function() {
|
|
18
18
|
var r = this, e = r.$createElement, t = r._self._c || e;
|
|
19
19
|
return t("FormItem", r._b({
|
|
@@ -9,10 +9,10 @@ var i = (e, r, t) => r in e ? l(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
m.call(r, t) && i(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as c, n as
|
|
14
|
-
import { i as
|
|
15
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { d as c, n as d } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
|
+
import { i as _ } from "../chunks/input-number-mixin.GE2zr_3s.mjs";
|
|
15
|
+
import { n as y } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
16
16
|
var b = function() {
|
|
17
17
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
18
18
|
return t("FormItem", e._b({
|
|
@@ -84,7 +84,7 @@ var b = function() {
|
|
|
84
84
|
}], null, !0)
|
|
85
85
|
}, "FormItem", e.formItemProps, !1));
|
|
86
86
|
}, x = [];
|
|
87
|
-
const v = Object.keys(
|
|
87
|
+
const v = Object.keys(_.props).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), I = {
|
|
88
88
|
name: "FormInputNumber",
|
|
89
89
|
mixins: [f],
|
|
90
90
|
props: {
|
|
@@ -108,7 +108,7 @@ const v = Object.keys(d.props).filter((e) => !["value", "placeholder", "disabled
|
|
|
108
108
|
},
|
|
109
109
|
computed: {
|
|
110
110
|
inputProps() {
|
|
111
|
-
return c(u(u({},
|
|
111
|
+
return c(u(u({}, d(this.$attrs)), this.$props), v);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
}, s = {};
|
|
@@ -126,9 +126,9 @@ function h(e) {
|
|
|
126
126
|
for (let r in s)
|
|
127
127
|
this[r] = s[r];
|
|
128
128
|
}
|
|
129
|
-
const
|
|
129
|
+
const M = /* @__PURE__ */ function() {
|
|
130
130
|
return N.exports;
|
|
131
131
|
}();
|
|
132
132
|
export {
|
|
133
|
-
|
|
133
|
+
M as default
|
|
134
134
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-input-number.el-input-number{width:100%}.form-input-number.el-input-number .el-input__inner{text-align:left}
|
|
1
|
+
.form-input-number.el-input-number{width:100%}.form-input-number.el-input-number .el-input__inner{text-align:left}
|
|
@@ -9,11 +9,11 @@ var l = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(t, r) && l(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { validatePhoneNum as f } from "@web-utils/core";
|
|
14
|
-
import { d as _, n as h } from "../chunks/index.
|
|
14
|
+
import { d as _, n as h } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
15
|
import s from "element-ui/lib/input";
|
|
16
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as v } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
17
17
|
var y = function() {
|
|
18
18
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
19
19
|
return r("FormItem", e._b({
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ var l = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
m.call(r, t) && l(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as d } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as f, n as _ } from "../chunks/index.
|
|
12
|
+
import { f as d } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { d as f, n as _ } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import s from "@web-utils/component/x-input-tag";
|
|
15
15
|
import "@web-utils/component/x-input-tag/style.css";
|
|
16
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as y } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
17
17
|
var b = function() {
|
|
18
18
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
19
19
|
return t("FormItem", e._b({
|
|
@@ -9,10 +9,10 @@ var i = (e, t, r) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(t, r) && i(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import l from "element-ui/lib/time-picker";
|
|
14
|
-
import { d, n as _ } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d, n as _ } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
16
16
|
var y = function() {
|
|
17
17
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
18
18
|
return r("FormItem", e._b({
|
package/form-item/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var v = 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, h = (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 (v)
|
|
8
|
+
for (var t of v(r))
|
|
9
9
|
T.call(r, t) && F(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var _ = (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 h = (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.BilKDUlK.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.JwmUNtgn.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 b, q, g;
|
|
54
54
|
const e = this.$createElement, {
|
|
55
55
|
label: r,
|
|
56
56
|
labelWidth: t,
|
|
@@ -63,24 +63,24 @@ const B = {
|
|
|
63
63
|
formItemClass: n,
|
|
64
64
|
required: u,
|
|
65
65
|
block: k,
|
|
66
|
-
half:
|
|
67
|
-
wrapCol:
|
|
66
|
+
half: $,
|
|
67
|
+
wrapCol: y,
|
|
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 && !((
|
|
73
|
+
let m = f, c = u, p = u, C = k, I = y;
|
|
74
|
+
d && (w(d, "block") && (C = d.block), w(d, "wrapCol") && (I = d.wrapCol));
|
|
75
|
+
const j = C && $ && I ? `calc( 50% - ${this.gutter / 2}px)` : "";
|
|
76
|
+
return E || a != null && a.disabled ? (m = [], l && !l.required && !((b = l.requiredFields) != null && b.includes(i)) && (p = !1)) : (l && !l.required && !((q = l.requiredFields) != null && q.includes(i)) && (c = !1), c && !(m != null && m.length) && i ? m = [W()] : c || (p = !1, m && (m = m.filter((H) => !H.required)))), R ? e("ElFormItem", {
|
|
77
77
|
style: {
|
|
78
78
|
width: j
|
|
79
79
|
},
|
|
80
80
|
key: `${i}-${c}`,
|
|
81
81
|
class: p ? `form-item required ${n || ""}` : `${n || ""}`,
|
|
82
82
|
scopedSlots: s,
|
|
83
|
-
props:
|
|
83
|
+
props: h({}, o),
|
|
84
84
|
attrs: {
|
|
85
85
|
label: r,
|
|
86
86
|
"label-width": t,
|
|
@@ -91,13 +91,13 @@ const B = {
|
|
|
91
91
|
}) : e("div", [(g = s.default) == null ? void 0 : g.call(s)]);
|
|
92
92
|
},
|
|
93
93
|
clearValidate() {
|
|
94
|
-
return
|
|
94
|
+
return _(this, null, function* () {
|
|
95
95
|
var e, r;
|
|
96
96
|
yield this.$nextTick(), (r = (e = this.$refs.formItem).clearValidate) == null || r.call(e);
|
|
97
97
|
});
|
|
98
98
|
},
|
|
99
99
|
validate() {
|
|
100
|
-
return
|
|
100
|
+
return _(this, null, function* () {
|
|
101
101
|
var e, r;
|
|
102
102
|
yield this.$nextTick(), (r = (e = this.$refs.formItem).validate) == null || r.call(e);
|
|
103
103
|
});
|
|
@@ -116,7 +116,7 @@ const B = {
|
|
|
116
116
|
} = this;
|
|
117
117
|
let l = t;
|
|
118
118
|
return i && w(i, "wrapCol") && (l = i.wrapCol), a ? e("div", [(n = o.default) == null ? void 0 : n.call(o)]) : l ? e("ElCol", {
|
|
119
|
-
props:
|
|
119
|
+
props: h({}, s),
|
|
120
120
|
attrs: {
|
|
121
121
|
span: r
|
|
122
122
|
}
|
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.JwmUNtgn.mjs";
|
|
3
|
+
const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], c = ["$emit", "validate", "clearValidate"], f = {
|
|
4
4
|
name: "FormItemGroup",
|
|
5
5
|
inject: {
|
|
6
6
|
elForm: {
|
|
@@ -145,11 +145,11 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
145
145
|
}, [t()])])]);
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
let
|
|
148
|
+
let p, h;
|
|
149
149
|
const l = {};
|
|
150
150
|
var b = /* @__PURE__ */ u(
|
|
151
|
-
p,
|
|
152
151
|
f,
|
|
152
|
+
p,
|
|
153
153
|
h,
|
|
154
154
|
!1,
|
|
155
155
|
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 n = 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, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, i = (e, r) => {
|
|
5
|
+
for (var t in r || (r = {}))
|
|
6
|
+
c.call(r, t) && s(e, t, r[t]);
|
|
7
|
+
if (n)
|
|
8
|
+
for (var t of n(r))
|
|
9
|
+
f.call(r, t) && s(e, t, r[t]);
|
|
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.IKogWBfn.mjs";
|
|
13
|
+
import { f as d } from "../chunks/form-pick-mixin.y-qhZJi6.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.LGsb2aDq.mjs";
|
|
16
|
+
import { n as v } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
17
|
+
var _ = function() {
|
|
18
|
+
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
19
|
+
return t("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 v = function() {
|
|
|
28
28
|
scopedSlots: e._u([{
|
|
29
29
|
key: "default",
|
|
30
30
|
fn: function() {
|
|
31
|
-
return [
|
|
31
|
+
return [t("ElRadioGroup", e._g(e._b({
|
|
32
32
|
class: {
|
|
33
33
|
"over-flow": e.overFlow
|
|
34
34
|
},
|
|
@@ -38,36 +38,36 @@ var v = function() {
|
|
|
38
38
|
placeholder: e.computePlaceholder
|
|
39
39
|
},
|
|
40
40
|
on: {
|
|
41
|
-
input: function(
|
|
42
|
-
return e.$emit("input",
|
|
41
|
+
input: function(o) {
|
|
42
|
+
return e.$emit("input", o);
|
|
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(o) {
|
|
46
|
+
return t("ElRadio", {
|
|
47
|
+
key: o[e.valueKey],
|
|
48
48
|
attrs: {
|
|
49
|
-
label:
|
|
49
|
+
label: o[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(o);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
}, [e._v(" " + e._s(
|
|
57
|
-
}) : e._l(e.innerOptions, function(
|
|
58
|
-
return
|
|
59
|
-
key:
|
|
56
|
+
}, [e._v(" " + e._s(o[e.labelKey]) + " ")]);
|
|
57
|
+
}) : e._l(e.innerOptions, function(o) {
|
|
58
|
+
return t("ElRadio", {
|
|
59
|
+
key: o[e.valueKey],
|
|
60
60
|
attrs: {
|
|
61
|
-
label:
|
|
61
|
+
label: o[e.valueKey]
|
|
62
62
|
}
|
|
63
|
-
}, [e._v(" " + e._s(
|
|
63
|
+
}, [e._v(" " + e._s(o[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(o) {
|
|
70
|
+
var l = o.error;
|
|
71
71
|
return [e._t("error", null, {
|
|
72
72
|
error: l
|
|
73
73
|
})];
|
|
@@ -120,7 +120,7 @@ const g = Object.keys(a.props || a.default.props).filter((e) => !["value", "plac
|
|
|
120
120
|
return "请选择";
|
|
121
121
|
},
|
|
122
122
|
inputProps() {
|
|
123
|
-
return y(
|
|
123
|
+
return y(i(i({}, m(this.$attrs)), this.$props), g);
|
|
124
124
|
},
|
|
125
125
|
labelKey() {
|
|
126
126
|
return this.classic ? "label" : this.labelProp;
|
|
@@ -159,9 +159,9 @@ const g = Object.keys(a.props || a.default.props).filter((e) => !["value", "plac
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}, u = {};
|
|
162
|
-
var w = /* @__PURE__ */
|
|
162
|
+
var w = /* @__PURE__ */ v(
|
|
163
163
|
K,
|
|
164
|
-
|
|
164
|
+
_,
|
|
165
165
|
b,
|
|
166
166
|
!1,
|
|
167
167
|
B,
|
|
@@ -170,12 +170,12 @@ var w = /* @__PURE__ */ _(
|
|
|
170
170
|
null
|
|
171
171
|
);
|
|
172
172
|
function B(e) {
|
|
173
|
-
for (let
|
|
174
|
-
this[
|
|
173
|
+
for (let r in u)
|
|
174
|
+
this[r] = u[r];
|
|
175
175
|
}
|
|
176
|
-
const
|
|
176
|
+
const E = /* @__PURE__ */ function() {
|
|
177
177
|
return w.exports;
|
|
178
178
|
}();
|
|
179
179
|
export {
|
|
180
|
-
|
|
180
|
+
E as default
|
|
181
181
|
};
|
|
@@ -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.IKogWBfn.mjs";
|
|
13
|
+
import { f as m } from "../chunks/form-pick-mixin.y-qhZJi6.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.LGsb2aDq.mjs";
|
|
16
|
+
import { n as _ } from "../chunks/vueComponentNormalizer.JwmUNtgn.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({
|
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.IKogWBfn.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.LGsb2aDq.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.JwmUNtgn.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({
|
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.IKogWBfn.mjs";
|
|
13
|
+
import { d, n as _ } from "../chunks/index.LGsb2aDq.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.JwmUNtgn.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({
|
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 g } from "@web-utils/core";
|
|
18
|
+
import { merge as y } from "@web-utils/integrations/lodash";
|
|
19
|
+
import _ 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.JwmUNtgn.mjs";
|
|
22
22
|
var x = function() {
|
|
23
23
|
var t = this, e = t.$createElement, o = t._self._c || e;
|
|
24
24
|
return o("div", {
|
|
@@ -216,7 +216,7 @@ const p = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
216
216
|
}, k = {
|
|
217
217
|
name: "FormView",
|
|
218
218
|
components: {
|
|
219
|
-
ResizeObserver:
|
|
219
|
+
ResizeObserver: _
|
|
220
220
|
},
|
|
221
221
|
inject: {
|
|
222
222
|
flowContext: {
|
|
@@ -271,7 +271,7 @@ const p = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
271
271
|
},
|
|
272
272
|
toolbarProps() {
|
|
273
273
|
var r;
|
|
274
|
-
const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o =
|
|
274
|
+
const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = y({}, this.toolbarAttrs, t);
|
|
275
275
|
return o.buttons = e || ["back"], o.buttons = b(o.buttons), o;
|
|
276
276
|
},
|
|
277
277
|
toolbarButtons() {
|
|
@@ -334,7 +334,7 @@ const p = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
334
334
|
return c(this, null, function* () {
|
|
335
335
|
if (this.showNav) {
|
|
336
336
|
for (let t = 0; t < this.groups.length; t++)
|
|
337
|
-
if (
|
|
337
|
+
if (g(this.groups[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
338
338
|
this.activeIndex = t;
|
|
339
339
|
break;
|
|
340
340
|
}
|
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.NHA7rYFE.mjs";
|
|
2
|
+
import { i as c } from "../chunks/util.C2Bhx22L.mjs";
|
|
3
|
+
import { n as u } from "../chunks/vueComponentNormalizer.JwmUNtgn.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 m = {
|
|
102
102
|
name: "FyArray",
|
|
103
103
|
mixins: [a, o],
|
|
104
104
|
props: {
|
|
@@ -136,22 +136,22 @@ const _ = {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}, l = {};
|
|
139
|
-
var
|
|
140
|
-
|
|
139
|
+
var y = /* @__PURE__ */ u(
|
|
140
|
+
m,
|
|
141
141
|
p,
|
|
142
142
|
d,
|
|
143
143
|
!1,
|
|
144
|
-
|
|
144
|
+
_,
|
|
145
145
|
null,
|
|
146
146
|
null,
|
|
147
147
|
null
|
|
148
148
|
);
|
|
149
|
-
function
|
|
149
|
+
function _(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 y.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 i } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var l = 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 i = function() {
|
|
|
26
26
|
innerHTML: t._s(t.body)
|
|
27
27
|
}
|
|
28
28
|
}) : t._e()]);
|
|
29
|
-
},
|
|
29
|
+
}, o = [];
|
|
30
30
|
const a = {
|
|
31
31
|
title: "title",
|
|
32
32
|
meta: "meta",
|
|
33
33
|
lead: "lead",
|
|
34
34
|
body: "body"
|
|
35
|
-
},
|
|
35
|
+
}, n = {
|
|
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
|
-
o,
|
|
76
|
-
i,
|
|
74
|
+
var d = /* @__PURE__ */ i(
|
|
77
75
|
n,
|
|
76
|
+
l,
|
|
77
|
+
o,
|
|
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.NHA7rYFE.mjs";
|
|
2
|
+
import { n as p } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var h = function() {
|
|
4
4
|
var e = this, l = e.$createElement, s = e._self._c || l;
|
|
5
5
|
return s("ElCascader", {
|
package/fy-checkbox/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as c, e as i } from "../chunks/event.
|
|
2
|
-
import { n as o } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { p as c, e as i } from "../chunks/event.NHA7rYFE.mjs";
|
|
2
|
+
import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var r = function() {
|
|
4
4
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
5
5
|
return l("div", {
|
|
@@ -100,18 +100,18 @@ var u = /* @__PURE__ */ o(
|
|
|
100
100
|
r,
|
|
101
101
|
h,
|
|
102
102
|
!1,
|
|
103
|
-
|
|
103
|
+
m,
|
|
104
104
|
null,
|
|
105
105
|
null,
|
|
106
106
|
null
|
|
107
107
|
);
|
|
108
|
-
function
|
|
108
|
+
function m(e) {
|
|
109
109
|
for (let t in a)
|
|
110
110
|
this[t] = a[t];
|
|
111
111
|
}
|
|
112
|
-
const
|
|
112
|
+
const p = /* @__PURE__ */ function() {
|
|
113
113
|
return u.exports;
|
|
114
114
|
}();
|
|
115
115
|
export {
|
|
116
|
-
|
|
116
|
+
p as default
|
|
117
117
|
};
|
package/fy-checkbox/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-checkbox .el-checkbox+.el-checkbox{margin-left:0}.avue-checkbox .el-checkbox{margin-right:10px}.avue-checkbox__all{display:none}
|
|
1
|
+
.avue-checkbox .el-checkbox+.el-checkbox{margin-left:0}.avue-checkbox .el-checkbox{margin-right:10px}.avue-checkbox__all{display:none}
|