@web-utils/component 3.1.0 → 3.2.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 +1 -1
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +13 -13
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +6 -6
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +5 -5
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +13 -13
- package/card/style.css +1 -1
- package/carousel/index.mjs +9 -9
- package/carousel/style.css +1 -1
- package/chat/index.mjs +2 -2
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +9 -9
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.aa57efb4.mjs → FormTemp.0eqGAu6W.mjs} +4 -4
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.Ab9PZnVk.mjs} +1 -1
- package/chunks/{dic.eaac0823.mjs → dic.7JBaVHv6.mjs} +1 -1
- package/chunks/{event.b5d855dd.mjs → event.lbJYeMJp.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.47f219b4.mjs → init.6oF7OO2W.mjs} +3 -3
- package/code-mirror-editor/index.mjs +24 -24
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +3 -3
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +4 -4
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +10 -10
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +4 -4
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +3 -3
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +5 -5
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +10 -10
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +3 -3
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +6 -6
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +11 -11
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +8 -8
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +7 -7
- 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 +9 -9
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +4 -4
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +11 -11
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +1 -1
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +6 -6
- 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 +49 -49
- 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 +14 -14
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +4 -4
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +3 -3
- 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 +3 -3
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +5 -5
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +27 -29
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +11 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +14 -14
- 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 +20 -20
- 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 +9 -9
- 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 +10 -10
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +2 -2
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +25 -25
- 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 +15 -15
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +19 -19
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +1 -1
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +7 -7
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +11 -13
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +9 -9
- 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 +5 -5
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +5 -5
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +15 -17
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +21 -25
- 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 +26 -26
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +12 -12
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +6 -6
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +2 -2
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +10 -10
- 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 +16 -16
- 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 +9 -9
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +5 -5
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +13 -13
- 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 +24 -24
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +3 -3
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +4 -4
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +3 -3
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +4 -4
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +8 -8
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/image-viewer/style.css +1 -1
- package/index.mjs +500 -3983
- package/input-number/index.mjs +4 -4
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +6 -6
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +6 -6
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +7 -7
- package/loading-view/style.css +1 -1
- package/login/index.mjs +6 -6
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +7 -7
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +10 -10
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +1 -1
- package/notice/style.css +1 -1
- package/package.json +5 -5
- package/page/index.mjs +6 -6
- package/page/style.css +1 -1
- package/page-header/index.mjs +3 -3
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +13 -13
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +9 -9
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +1 -1
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +18 -18
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +13 -13
- 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 +1 -1
- package/queue/style.css +1 -1
- package/record-video/index.mjs +2 -2
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +4 -4
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +9 -9
- package/search/style.css +1 -1
- package/search-popover/index.mjs +18 -18
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +15 -15
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +7 -7
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +47 -48
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +19 -19
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +7 -7
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +4 -4
- package/swiper/style.css +1 -1
- package/tab/index.mjs +8 -8
- 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 +10 -10
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +7 -7
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +4 -4
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +21 -22
- package/tinymce-editor/style.css +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +13 -13
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +15 -15
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +2 -3
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +1 -1
- 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 +2 -3
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +8 -8
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +19 -19
- package/watermark/style.css +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +5 -5
- package/x-input-tag/style.css +1 -1
- package/index.css +0 -1
- /package/chunks/{_plugin-vue2_normalizer.446f5dc4.mjs → _plugin-vue2_normalizer.JwmUNtgn.mjs} +0 -0
- /package/chunks/{confirmable-mixin.817b542f.mjs → confirmable-mixin.GqdyYLEM.mjs} +0 -0
- /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.ae730cde.mjs → util.y1gUGRqi.mjs} +0 -0
|
@@ -10,11 +10,11 @@ var s = (t, e, r) => e in t ? m(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
h.call(e, r) && s(t, r, e[r]);
|
|
11
11
|
return t;
|
|
12
12
|
}, l = (t, e) => u(t, p(e));
|
|
13
|
-
import { f } from "../chunks/form-input-mixin.
|
|
14
|
-
import { f as c } from "../chunks/form-pick-mixin.
|
|
13
|
+
import { f } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
14
|
+
import { f as c } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
15
15
|
import { toDate as o } from "@web-utils/integrations/dayjs";
|
|
16
|
-
import { d as y, n as g } from "../chunks/index.
|
|
17
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { d as y, n as g } from "../chunks/index.LGsb2aDq.mjs";
|
|
17
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
18
18
|
const k = [
|
|
19
19
|
"type",
|
|
20
20
|
"timeArrowControl",
|
package/form-holder/index.mjs
CHANGED
|
@@ -15,8 +15,8 @@ var o = (t, e, l) => new Promise((d, s) => {
|
|
|
15
15
|
i((l = l.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { warning as m } from "@web-utils/core";
|
|
18
|
-
import { e as u } from "../chunks/index.
|
|
19
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
18
|
+
import { e as u } from "../chunks/index.LGsb2aDq.mjs";
|
|
19
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
20
20
|
const p = {
|
|
21
21
|
name: "FormHolder",
|
|
22
22
|
provide() {
|
package/form-input/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var l = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
i.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import u from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
14
|
+
import { d, n as f } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(u.props || u.default.props).filter(
|
|
17
17
|
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
18
|
), y = {
|
|
@@ -9,10 +9,10 @@ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
14
|
+
import { d, n as f } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter(
|
|
17
17
|
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
18
18
|
), v = {
|
|
@@ -9,11 +9,11 @@ var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { validateIdCard as a } from "@web-utils/core";
|
|
14
14
|
import i from "element-ui/lib/input";
|
|
15
|
-
import { d as f, n as c } from "../chunks/index.
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { d as f, n as c } from "../chunks/index.LGsb2aDq.mjs";
|
|
16
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const v = Object.keys(i.props || i.default.props).filter(
|
|
18
18
|
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
19
|
), y = {
|
|
@@ -9,11 +9,11 @@ var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
l.call(e, t) && i(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as a } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as m, n as f } from "../chunks/index.
|
|
14
|
-
import { i as c } from "../chunks/input-number-mixin.
|
|
15
|
-
import { n as
|
|
16
|
-
const
|
|
12
|
+
import { f as a } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { d as m, n as f } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
|
+
import { i as c } from "../chunks/input-number-mixin.GE2zr_3s.mjs";
|
|
15
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
|
+
const _ = Object.keys(c.props).filter(
|
|
17
17
|
(r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)
|
|
18
18
|
), y = {
|
|
19
19
|
name: "FormInputNumber",
|
|
@@ -39,7 +39,7 @@ const d = Object.keys(c.props).filter(
|
|
|
39
39
|
},
|
|
40
40
|
computed: {
|
|
41
41
|
inputProps() {
|
|
42
|
-
return m(u(u({}, f(this.$attrs)), this.$props),
|
|
42
|
+
return m(u(u({}, f(this.$attrs)), this.$props), _);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
};
|
|
@@ -60,7 +60,7 @@ var b = function() {
|
|
|
60
60
|
} }, { key: "label", fn: function() {
|
|
61
61
|
return [e._t("label")];
|
|
62
62
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
63
|
-
}, x = [], I = /* @__PURE__ */
|
|
63
|
+
}, x = [], I = /* @__PURE__ */ d(
|
|
64
64
|
y,
|
|
65
65
|
b,
|
|
66
66
|
x,
|
|
@@ -70,7 +70,7 @@ var b = function() {
|
|
|
70
70
|
null,
|
|
71
71
|
null
|
|
72
72
|
);
|
|
73
|
-
const
|
|
73
|
+
const F = I.exports;
|
|
74
74
|
export {
|
|
75
|
-
|
|
75
|
+
F as default
|
|
76
76
|
};
|
|
@@ -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 = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { validatePhoneNum as d } from "@web-utils/core";
|
|
14
|
-
import { d as f, n as c } from "../chunks/index.
|
|
14
|
+
import { d as f, n as c } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
15
|
import s from "element-ui/lib/input";
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const h = Object.keys(s.props || s.default.props).filter(
|
|
18
18
|
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
19
|
), y = {
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
i.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d, n as c } from "../chunks/index.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { d, n as c } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import u from "@web-utils/component/x-input-tag";
|
|
15
15
|
import "@web-utils/component/x-input-tag/style.css";
|
|
16
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
|
|
18
18
|
name: "FormInputTag",
|
|
19
19
|
components: {
|
|
@@ -9,10 +9,10 @@ var i = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && i(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as u } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as u } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import o from "element-ui/lib/time-picker";
|
|
14
|
-
import { d as f, n as d } from "../chunks/index.
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
14
|
+
import { d as f, n as d } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(o.props || o.default.props).filter(
|
|
17
17
|
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
18
|
), g = {
|
package/form-item/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ var x = (e, r, t) => r in e ? T(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
j.call(r, t) && x(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
var w = (e, r, t) => new Promise((
|
|
12
|
+
var w = (e, r, t) => new Promise((d, a) => {
|
|
13
13
|
var o = (i) => {
|
|
14
14
|
try {
|
|
15
15
|
l(t.next(i));
|
|
@@ -22,11 +22,11 @@ var w = (e, r, t) => new Promise((n, a) => {
|
|
|
22
22
|
} catch (m) {
|
|
23
23
|
a(m);
|
|
24
24
|
}
|
|
25
|
-
}, l = (i) => i.done ?
|
|
25
|
+
}, l = (i) => i.done ? d(i.value) : Promise.resolve(i.value).then(o, s);
|
|
26
26
|
l((t = t.apply(e, r)).next());
|
|
27
27
|
});
|
|
28
28
|
import { h as p } from "vue";
|
|
29
|
-
import { f as B } from "../chunks/form-item-mixin.
|
|
29
|
+
import { f as B } from "../chunks/form-item-mixin.BilKDUlK.mjs";
|
|
30
30
|
import { hasOwn as I } from "@web-utils/core";
|
|
31
31
|
const A = {
|
|
32
32
|
name: "FormItem",
|
|
@@ -55,7 +55,7 @@ const A = {
|
|
|
55
55
|
label: e,
|
|
56
56
|
labelWidth: r,
|
|
57
57
|
prop: t,
|
|
58
|
-
rules:
|
|
58
|
+
rules: d,
|
|
59
59
|
$scopedSlots: a,
|
|
60
60
|
elFormItemProps: o,
|
|
61
61
|
elForm: s,
|
|
@@ -67,11 +67,11 @@ const A = {
|
|
|
67
67
|
wrapCol: y,
|
|
68
68
|
wrapFormItem: R,
|
|
69
69
|
disabled: E,
|
|
70
|
-
formItemConfig:
|
|
70
|
+
formItemConfig: n,
|
|
71
71
|
getRequireRule: W
|
|
72
72
|
} = this;
|
|
73
|
-
let f =
|
|
74
|
-
|
|
73
|
+
let f = d, u = m, c = m, C = $, b = y;
|
|
74
|
+
n && (I(n, "block") && (C = n.block), I(n, "wrapCol") && (b = n.wrapCol));
|
|
75
75
|
const H = C && v && b ? `calc( 50% - ${this.gutter / 2}px)` : "";
|
|
76
76
|
return E || s != null && s.disabled ? (f = [], l && !l.required && !((q = l.requiredFields) != null && q.includes(t)) && (c = !1)) : (l && !l.required && !((g = l.requiredFields) != null && g.includes(t)) && (u = !1), u && !(f != null && f.length) && t ? f = [W()] : u || (c = !1, f && (f = f.filter((P) => !P.required)))), R ? (
|
|
77
77
|
// eslint-disable-next-line no-undef
|
|
@@ -112,7 +112,7 @@ const A = {
|
|
|
112
112
|
computeSpan: e,
|
|
113
113
|
wrapCol: r,
|
|
114
114
|
formItemConfig: t,
|
|
115
|
-
renderFormItem:
|
|
115
|
+
renderFormItem: d,
|
|
116
116
|
elColProps: a,
|
|
117
117
|
$scopedSlots: o,
|
|
118
118
|
unwrap: s
|
|
@@ -125,8 +125,8 @@ const A = {
|
|
|
125
125
|
attrs: {
|
|
126
126
|
span: e
|
|
127
127
|
}
|
|
128
|
-
}, [
|
|
129
|
-
) :
|
|
128
|
+
}, [d(), (m = o == null ? void 0 : o.below) == null ? void 0 : m.call(o)])
|
|
129
|
+
) : d();
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
export {
|
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 { h as o } from "vue";
|
|
2
2
|
import { isFunction as n } from "@web-utils/core";
|
|
3
|
-
const a = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], m = ["$emit", "validate", "clearValidate"],
|
|
3
|
+
const a = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], m = ["$emit", "validate", "clearValidate"], p = {
|
|
4
4
|
name: "FormItemGroup",
|
|
5
5
|
inject: {
|
|
6
6
|
elForm: {
|
|
@@ -149,5 +149,5 @@ const a = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
export {
|
|
152
|
-
|
|
152
|
+
p as default
|
|
153
153
|
};
|
|
@@ -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 u = Object.defineProperty;
|
|
2
2
|
var n = Object.getOwnPropertySymbols;
|
|
3
3
|
var p = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var s = (
|
|
5
|
-
for (var
|
|
6
|
-
p.call(e,
|
|
4
|
+
var s = (l, e, o) => e in l ? u(l, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[e] = o, t = (l, e) => {
|
|
5
|
+
for (var o in e || (e = {}))
|
|
6
|
+
p.call(e, o) && s(l, o, e[o]);
|
|
7
7
|
if (n)
|
|
8
|
-
for (var
|
|
9
|
-
f.call(e,
|
|
10
|
-
return
|
|
8
|
+
for (var o of n(e))
|
|
9
|
+
f.call(e, o) && s(l, o, e[o]);
|
|
10
|
+
return l;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as h } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { f as h } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
14
14
|
import a from "element-ui/lib/radio-group";
|
|
15
|
-
import { d, n as
|
|
16
|
-
import { n as
|
|
17
|
-
const
|
|
18
|
-
(
|
|
19
|
-
),
|
|
15
|
+
import { d, n as m } from "../chunks/index.LGsb2aDq.mjs";
|
|
16
|
+
import { n as y } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
|
+
const v = Object.keys(a.props || a.default.props).filter(
|
|
18
|
+
(l) => !["value", "placeholder", "disabled"].includes(l)
|
|
19
|
+
), _ = {
|
|
20
20
|
name: "FormRadioGroup",
|
|
21
21
|
mixins: [c, h],
|
|
22
22
|
props: {
|
|
@@ -49,7 +49,7 @@ const _ = Object.keys(a.props || a.default.props).filter(
|
|
|
49
49
|
return "请选择";
|
|
50
50
|
},
|
|
51
51
|
inputProps() {
|
|
52
|
-
return d(t(t({},
|
|
52
|
+
return d(t(t({}, m(this.$attrs)), this.$props), v);
|
|
53
53
|
},
|
|
54
54
|
labelKey() {
|
|
55
55
|
return this.classic ? "label" : this.labelProp;
|
|
@@ -80,27 +80,27 @@ const _ = Object.keys(a.props || a.default.props).filter(
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
methods: {
|
|
83
|
-
emitInput(
|
|
84
|
-
this.$emit("input",
|
|
83
|
+
emitInput(l) {
|
|
84
|
+
this.$emit("input", l);
|
|
85
85
|
},
|
|
86
|
-
toggle(
|
|
87
|
-
this.value ===
|
|
86
|
+
toggle(l) {
|
|
87
|
+
this.value === l[this.valueKey] ? this.emitInput(null) : this.emitInput(l[this.valueKey]);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
var b = function() {
|
|
92
|
-
var e = this,
|
|
93
|
-
return
|
|
92
|
+
var e = this, o = e._self._c;
|
|
93
|
+
return o("FormItem", e._b({ class: [
|
|
94
94
|
"form-radio-group",
|
|
95
95
|
{ "form-radio-group-row": e.fillRow, inline: e.inline },
|
|
96
96
|
e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"
|
|
97
97
|
], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
98
|
-
return [
|
|
99
|
-
return
|
|
98
|
+
return [o("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(r) {
|
|
99
|
+
return o("ElRadio", { key: r[e.valueKey], attrs: { label: r[e.valueKey] }, nativeOn: { click: function(i) {
|
|
100
100
|
return i.preventDefault(), i.stopPropagation(), e.toggle(r);
|
|
101
101
|
} } }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
|
|
102
102
|
}) : e._l(e.innerOptions, function(r) {
|
|
103
|
-
return
|
|
103
|
+
return o("ElRadio", { key: r[e.valueKey], attrs: { label: r[e.valueKey] } }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
|
|
104
104
|
})], 2), e._t("append")];
|
|
105
105
|
}, proxy: !0 }, { key: "error", fn: function({ error: r }) {
|
|
106
106
|
return [e._t("error", null, { error: r })];
|
|
@@ -109,8 +109,8 @@ var b = function() {
|
|
|
109
109
|
}, proxy: !0 }, { key: "below", fn: function() {
|
|
110
110
|
return [e._t("below")];
|
|
111
111
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
112
|
-
}, g = [], K = /* @__PURE__ */
|
|
113
|
-
|
|
112
|
+
}, g = [], K = /* @__PURE__ */ y(
|
|
113
|
+
_,
|
|
114
114
|
b,
|
|
115
115
|
g,
|
|
116
116
|
!1,
|
|
@@ -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 s = (l, e, t) => e in l ? a(l, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && s(l, t, e[t]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { f } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
14
14
|
import o from "element-ui/lib/select";
|
|
15
|
-
import { d as h, n as m } from "../chunks/index.
|
|
16
|
-
import { n as y } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { d as h, n as m } from "../chunks/index.LGsb2aDq.mjs";
|
|
16
|
+
import { n as y } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const d = Object.keys(o.props || o.default.props).filter(
|
|
18
18
|
(l) => !["value", "placeholder", "disabled"].includes(l)
|
|
19
19
|
), _ = {
|
package/form-switch/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var l = (r, e, t) => e in r ? i(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
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 s from "element-ui/lib/switch";
|
|
14
|
-
import { d as m, n as d } from "../chunks/index.
|
|
15
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.
|
|
14
|
+
import { d as m, n as d } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(s.props || s.default.props).filter(
|
|
17
17
|
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
18
|
), y = {
|
package/form-textarea/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var s = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as f, n as d } from "../chunks/index.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { d as f, n as d } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import a from "element-ui/lib/input";
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(a.props || a.default.props).filter(
|
|
17
17
|
(t) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(t)
|
|
18
18
|
), h = {
|
package/form-view/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _ = Object.defineProperty, g = Object.defineProperties;
|
|
2
2
|
var w = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var h = Object.getOwnPropertySymbols;
|
|
4
4
|
var x = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var p = (o, t, e) => t in o ?
|
|
5
|
+
var p = (o, t, e) => t in o ? _(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, c = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
x.call(t, e) && p(o, e, t[e]);
|
|
8
8
|
if (h)
|
|
@@ -11,27 +11,27 @@ var p = (o, t, e) => t in o ? y(o, t, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return o;
|
|
12
12
|
}, f = (o, t) => g(o, w(t));
|
|
13
13
|
var u = (o, t, e) => new Promise((r, s) => {
|
|
14
|
-
var
|
|
14
|
+
var i = (n) => {
|
|
15
15
|
try {
|
|
16
|
-
a(e.next(
|
|
16
|
+
a(e.next(n));
|
|
17
17
|
} catch (d) {
|
|
18
18
|
s(d);
|
|
19
19
|
}
|
|
20
|
-
}, l = (
|
|
20
|
+
}, l = (n) => {
|
|
21
21
|
try {
|
|
22
|
-
a(e.throw(
|
|
22
|
+
a(e.throw(n));
|
|
23
23
|
} catch (d) {
|
|
24
24
|
s(d);
|
|
25
25
|
}
|
|
26
|
-
}, a = (
|
|
26
|
+
}, a = (n) => n.done ? r(n.value) : Promise.resolve(n.value).then(i, l);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { hasOwn as b, toStringArray as S, animate as F, isInContainer as k } from "@web-utils/core";
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
31
|
import C from "@web-utils/component/resize-observer";
|
|
32
32
|
import "@web-utils/component/resize-observer/style.css";
|
|
33
|
-
import { n as L } from "../chunks/_plugin-vue2_normalizer.
|
|
34
|
-
const
|
|
33
|
+
import { n as L } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
34
|
+
const y = [
|
|
35
35
|
"back",
|
|
36
36
|
"create",
|
|
37
37
|
"save",
|
|
@@ -51,7 +51,7 @@ const _ = [
|
|
|
51
51
|
"disabled",
|
|
52
52
|
"reload",
|
|
53
53
|
"slot"
|
|
54
|
-
], I =
|
|
54
|
+
], I = y.map((o) => `${o}-down`), T = ["back", "withdraw", "edit"], v = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], m = (o, t) => {
|
|
55
55
|
if (o.classList.contains(t))
|
|
56
56
|
return o;
|
|
57
57
|
let e = o.parentNode;
|
|
@@ -134,10 +134,10 @@ const _ = [
|
|
|
134
134
|
o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
|
|
135
135
|
const r = m(t.$el, "form-card"), s = m(e.$el, "form-card");
|
|
136
136
|
if (r === s) {
|
|
137
|
-
const
|
|
138
|
-
return
|
|
137
|
+
const i = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
|
|
138
|
+
return i - l;
|
|
139
139
|
} else {
|
|
140
|
-
const
|
|
140
|
+
const i = m(r, "form-scroller"), l = [].indexOf.call(i.children, r), a = [].indexOf.call(i.children, s);
|
|
141
141
|
return l - a;
|
|
142
142
|
}
|
|
143
143
|
}), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
|
|
@@ -155,7 +155,7 @@ const _ = [
|
|
|
155
155
|
},
|
|
156
156
|
methods: {
|
|
157
157
|
getToolbarSlotKeys() {
|
|
158
|
-
return Object.keys(this.$scopedSlots).filter((o) =>
|
|
158
|
+
return Object.keys(this.$scopedSlots).filter((o) => y.includes(o));
|
|
159
159
|
},
|
|
160
160
|
getFooterSlotKeys() {
|
|
161
161
|
return Object.keys(this.$scopedSlots).filter((o) => I.includes(o));
|
|
@@ -225,7 +225,7 @@ var N = function() {
|
|
|
225
225
|
return [t._t(r)];
|
|
226
226
|
}, proxy: !0 };
|
|
227
227
|
})], null, !0) }, "Toolbar", f(c({}, t.toolbarProps), { buttons: t.footerBarButtons }), !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e("FormItemGroup", { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e("ResizeObserver", { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
|
|
228
|
-
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(
|
|
228
|
+
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
|
|
229
229
|
return t.navItemClick(r, s);
|
|
230
230
|
} } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
|
|
231
231
|
}), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
|
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 l, e as a } from "../chunks/event.
|
|
2
|
-
import { i as o } from "../chunks/util.
|
|
3
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { p as l, e as a } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
|
+
import { i as o } from "../chunks/util.y1gUGRqi.mjs";
|
|
3
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "FyArray",
|
|
6
6
|
mixins: [l, a],
|
|
@@ -40,20 +40,20 @@ const p = {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
var u = function() {
|
|
43
|
-
var
|
|
44
|
-
return
|
|
45
|
-
return
|
|
46
|
-
} } }) :
|
|
47
|
-
return
|
|
48
|
-
return [
|
|
49
|
-
return
|
|
50
|
-
} } }) :
|
|
51
|
-
}, proxy: !0 }], null, !0) }, [
|
|
52
|
-
|
|
53
|
-
}, expression: "text[index]" } })], 1),
|
|
54
|
-
return
|
|
55
|
-
} } }),
|
|
56
|
-
return
|
|
43
|
+
var t = this, e = t._self._c;
|
|
44
|
+
return e("div", { staticClass: "avue-array" }, [t.text ? e("ElButton", { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(r) {
|
|
45
|
+
return t.add();
|
|
46
|
+
} } }) : t._e(), t._l(t.text, function(r, s) {
|
|
47
|
+
return e("div", { key: s, staticClass: "avue-array__item" }, [e("div", { staticClass: "avue-array__input" }, [e("ElTooltip", { attrs: { placement: "bottom", disabled: !t.isImg && !t.isUrl || !!r }, scopedSlots: t._u([{ key: "content", fn: function() {
|
|
48
|
+
return [e("div", [t.isImg ? e(t.isMediaType(r), { tag: "Component", staticStyle: { width: "200px" }, attrs: { src: r, controls: "controls" }, on: { click: function(n) {
|
|
49
|
+
return t.openImg(s);
|
|
50
|
+
} } }) : t.isUrl ? e("ElLink", { attrs: { type: "primary", href: r, target: t.target } }, [t._v(" " + t._s(r) + " ")]) : t._e()], 1)];
|
|
51
|
+
}, proxy: !0 }], null, !0) }, [e("ElInput", { attrs: { size: t.size, placeholder: t.placeholder, disabled: t.disabled }, model: { value: t.text[s], callback: function(n) {
|
|
52
|
+
t.$set(t.text, s, n);
|
|
53
|
+
}, expression: "text[index]" } })], 1), t.disabled || t.readonly || t.alone ? t._e() : [t.isLimit ? t._e() : e("ElButton", { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(n) {
|
|
54
|
+
return t.add(s);
|
|
55
|
+
} } }), e("ElButton", { attrs: { type: "danger", icon: "el-icon-minus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(n) {
|
|
56
|
+
return t.remove(s);
|
|
57
57
|
} } })]], 2)]);
|
|
58
58
|
})], 2);
|
|
59
59
|
}, d = [], m = /* @__PURE__ */ c(
|
|
@@ -66,7 +66,7 @@ var u = function() {
|
|
|
66
66
|
null,
|
|
67
67
|
null
|
|
68
68
|
);
|
|
69
|
-
const
|
|
69
|
+
const v = m.exports;
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
v as default
|
|
72
72
|
};
|
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
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 c, e as p } from "../chunks/event.
|
|
2
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { p as c, e as p } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
const u = {
|
|
4
4
|
name: "FyCascader",
|
|
5
5
|
mixins: [c, p],
|