@web-utils/component 2.12.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 +83 -83
- 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
package/form-block/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
2
|
const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], d = ["$emit", "validate", "clearValidate"], c = {
|
|
3
3
|
name: "FormBlock",
|
|
4
4
|
inject: {
|
|
@@ -74,26 +74,26 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
74
74
|
return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
|
|
75
75
|
},
|
|
76
76
|
dispatch(e, t, a) {
|
|
77
|
-
let
|
|
78
|
-
for (;
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
let i = this.$parent || this.$root, o = i.$options.name;
|
|
78
|
+
for (; i && (!o || o !== e); )
|
|
79
|
+
i = i.$parent, i && (o = i.$options.name);
|
|
80
|
+
i && i.$emit.apply(i, [t].concat(a));
|
|
81
81
|
},
|
|
82
82
|
renderDefault() {
|
|
83
83
|
const e = this.$createElement, {
|
|
84
84
|
wrapRow: t,
|
|
85
85
|
gutter: a,
|
|
86
|
-
formConfig:
|
|
87
|
-
$scopedSlots:
|
|
86
|
+
formConfig: i,
|
|
87
|
+
$scopedSlots: o
|
|
88
88
|
} = this;
|
|
89
89
|
return t ? e("ElRow", {
|
|
90
90
|
attrs: {
|
|
91
91
|
gutter: a
|
|
92
92
|
}
|
|
93
|
-
}, [
|
|
94
|
-
disabled:
|
|
95
|
-
})]) :
|
|
96
|
-
disabled:
|
|
93
|
+
}, [o.default({
|
|
94
|
+
disabled: i.disabled
|
|
95
|
+
})]) : o.default({
|
|
96
|
+
disabled: i.disabled
|
|
97
97
|
});
|
|
98
98
|
},
|
|
99
99
|
toggle() {
|
|
@@ -107,13 +107,13 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
107
107
|
const e = arguments[0], {
|
|
108
108
|
renderDefault: t,
|
|
109
109
|
blockTitle: a,
|
|
110
|
-
active:
|
|
111
|
-
expand:
|
|
110
|
+
active: i,
|
|
111
|
+
expand: o,
|
|
112
112
|
toggle: r
|
|
113
113
|
} = this;
|
|
114
114
|
return e("div", {
|
|
115
115
|
class: ["form-block", {
|
|
116
|
-
"default-active":
|
|
116
|
+
"default-active": i
|
|
117
117
|
}]
|
|
118
118
|
}, [e("div", {
|
|
119
119
|
class: "form-block-title",
|
|
@@ -123,11 +123,11 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
123
123
|
}, [e("span", {
|
|
124
124
|
class: "flex-item"
|
|
125
125
|
}, [a]), " ", e("i", {
|
|
126
|
-
class:
|
|
126
|
+
class: o ? "el-icon-arrow-down" : "el-icon-arrow-right"
|
|
127
127
|
})]), e("ElCollapseTransition", [e("div", {
|
|
128
128
|
directives: [{
|
|
129
129
|
name: "show",
|
|
130
|
-
value:
|
|
130
|
+
value: o
|
|
131
131
|
}]
|
|
132
132
|
}, [t()])])]);
|
|
133
133
|
}
|
package/form-block/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-block{background-color:#fff;padding-bottom:10px}.form-block-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-block{background-color:#fff;padding-bottom:10px}.form-block-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}
|
package/form-button/index.mjs
CHANGED
package/form-cascader/index.mjs
CHANGED
|
@@ -9,13 +9,13 @@ var o = (e, t, r) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(t, r) && o(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { f } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
14
14
|
import s from "element-ui/lib/cascader";
|
|
15
|
-
import { d as h, n as y } from "../chunks/index.
|
|
15
|
+
import { d as h, n as y } from "../chunks/index.LGsb2aDq.mjs";
|
|
16
16
|
import { findTreeChildren as v, setParent as _ } from "@web-utils/core";
|
|
17
17
|
import { cloneDeep as b } from "@web-utils/integrations/lodash";
|
|
18
|
-
import { n as S } from "../chunks/vueComponentNormalizer.
|
|
18
|
+
import { n as S } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
19
19
|
var k = function() {
|
|
20
20
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
21
21
|
return r("FormItem", e._b({
|
|
@@ -9,11 +9,11 @@ var n = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(t, r) && n(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as m } from "../chunks/form-pick-mixin.
|
|
14
|
-
import { d, n as b } from "../chunks/index.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { f as m } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
14
|
+
import { d, n as b } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
15
|
import s from "element-ui/lib/checkbox-group";
|
|
16
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as y } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
17
17
|
var _ = function() {
|
|
18
18
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
19
19
|
return r("FormItem", e._b({
|
|
@@ -195,9 +195,9 @@ function P(e) {
|
|
|
195
195
|
for (let t in a)
|
|
196
196
|
this[t] = a[t];
|
|
197
197
|
}
|
|
198
|
-
const
|
|
198
|
+
const F = /* @__PURE__ */ function() {
|
|
199
199
|
return k.exports;
|
|
200
200
|
}();
|
|
201
201
|
export {
|
|
202
|
-
|
|
202
|
+
F as default
|
|
203
203
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label{word-wrap:break-word;word-break:break-all}.form-checkbox-group.form-checkbox-group-row .el-checkbox-group{display:block}.form-checkbox-group.form-checkbox-group-row .el-checkbox{flex-flow:row;width:100%;display:flex}.form-checkbox-group.form-checkbox-group-row .el-checkbox__input{flex-shrink:0;top:3px}.form-checkbox-group.form-checkbox-group-row .el-checkbox__label{vertical-align:sub;flex:auto;margin-bottom:6px;display:block}.form-checkbox-group .form-checkbox-group-other{margin-left:10px;display:inline-block}.form-checkbox-group .form-checkbox-group-other .el-form-item__label{display:none}.form-checkbox-group .el-checkbox-group{line-height:inherit}.form-checkbox-group .el-checkbox{vertical-align:middle;margin-right:10px}.form-checkbox-group .el-checkbox__label{padding-left:4px}
|
|
1
|
+
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label{word-wrap:break-word;word-break:break-all}.form-checkbox-group.form-checkbox-group-row .el-checkbox-group{display:block}.form-checkbox-group.form-checkbox-group-row .el-checkbox{flex-flow:row;width:100%;display:flex}.form-checkbox-group.form-checkbox-group-row .el-checkbox__input{flex-shrink:0;top:3px}.form-checkbox-group.form-checkbox-group-row .el-checkbox__label{vertical-align:sub;flex:auto;margin-bottom:6px;display:block}.form-checkbox-group .form-checkbox-group-other{margin-left:10px;display:inline-block}.form-checkbox-group .form-checkbox-group-other .el-form-item__label{display:none}.form-checkbox-group .el-checkbox-group{line-height:inherit}.form-checkbox-group .el-checkbox{vertical-align:middle;margin-right:10px}.form-checkbox-group .el-checkbox__label{padding-left:4px}
|
|
@@ -10,11 +10,11 @@ var s = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
c.call(t, r) && s(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, o = (e, t) => h(e, d(t));
|
|
13
|
-
import { f as y } from "../chunks/form-input-mixin.
|
|
14
|
-
import { f as g } from "../chunks/form-pick-mixin.
|
|
13
|
+
import { f as y } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
14
|
+
import { f as g } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
15
15
|
import { toDate as l } from "@web-utils/integrations/dayjs";
|
|
16
|
-
import { d as _, n as k } from "../chunks/index.
|
|
17
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { d as _, n as k } from "../chunks/index.LGsb2aDq.mjs";
|
|
17
|
+
import { n as v } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
18
18
|
var x = function() {
|
|
19
19
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
20
20
|
return r("FormItem", e._b({
|
package/form-holder/index.mjs
CHANGED
|
@@ -15,8 +15,8 @@ var o = (e, r, i) => new Promise((d, s) => {
|
|
|
15
15
|
l((i = i.apply(e, r)).next());
|
|
16
16
|
});
|
|
17
17
|
import { warning as u } from "@web-utils/core";
|
|
18
|
-
import { e as c } from "../chunks/index.
|
|
19
|
-
import { n as p } from "../chunks/vueComponentNormalizer.
|
|
18
|
+
import { e as c } from "../chunks/index.LGsb2aDq.mjs";
|
|
19
|
+
import { n as p } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
20
20
|
var _ = function() {
|
|
21
21
|
var e = this, r = e.$createElement, i = e._self._c || r;
|
|
22
22
|
return i("ElForm", e._g(e._b({
|
package/form-input/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
|
c.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 u from "element-ui/lib/input";
|
|
14
|
-
import { d as _, n as f } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d as _, n as f } 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({
|
|
@@ -9,10 +9,10 @@ var s = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(r, t) && s(e, t, r[t]);
|
|
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 a from "element-ui/lib/input";
|
|
14
|
-
import { d as c, n as _ } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d as c, n as _ } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
16
16
|
const y = (e, r, t) => r && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(r) ? t(new Error("invalid")) : t();
|
|
17
17
|
var h = function() {
|
|
18
18
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
@@ -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({
|