@web-utils/component 2.7.21 → 2.7.22
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/dist/chunks/confirmable-mixin.35bd1934.js +104 -0
- package/dist/chunks/{dayjs.b0f2f7d9.js → dayjs.ed2e1b73.js} +1 -1
- package/dist/chunks/{detail.6619700c.js → detail.d47a021c.js} +1 -1
- package/dist/chunks/{form-input-mixin.df413ca8.js → form-input-mixin.760cd65d.js} +1 -1
- package/dist/chunks/{form-item-mixin.b850e028.js → form-item-mixin.fa314b67.js} +14 -3
- package/dist/chunks/{tab-mixin.51886d91.js → tab-mixin.9d568df9.js} +1 -1
- package/dist/chunks/{vueComponentNormalizer.bf552d98.js → vueComponentNormalizer.77ec6792.js} +1 -1
- package/dist/components/address-input/index.js +1 -1
- package/dist/components/address-input/style.css +1 -10
- package/dist/components/affix/index.js +1 -1
- package/dist/components/affix/style.css +1 -4
- package/dist/components/aside-menu/index.js +1 -1
- package/dist/components/aside-menu/style.css +1 -3
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/style.css +1 -51
- package/dist/components/awesome-button/index.js +42 -12
- package/dist/components/base.css +1 -536
- package/dist/components/capsule-tab/index.js +1 -1
- package/dist/components/capsule-tab/style.css +1 -26
- package/dist/components/card/index.js +1 -1
- package/dist/components/card/style.css +1 -84
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/style.css +1 -35
- package/dist/components/chat/index.js +2 -2
- package/dist/components/chat/style.css +1 -277
- package/dist/components/chunk-file-uploader/index.js +1 -1
- package/dist/components/chunk-file-uploader/style.css +1 -3
- package/dist/components/chunk-file-uploader-button/index.js +1 -1
- package/dist/components/chunk-file-uploader-button/style.css +1 -16
- package/dist/components/chunk-file-uploader-drop/index.js +23 -5
- package/dist/components/chunk-file-uploader-drop/style.css +1 -11
- package/dist/components/chunk-file-uploader-file/index.js +2 -2
- package/dist/components/chunk-file-uploader-file/style.css +1 -124
- package/dist/components/chunk-file-uploader-files/index.js +1 -1
- package/dist/components/chunk-file-uploader-files/style.css +1 -8
- package/dist/components/chunk-file-uploader-list/index.js +1 -1
- package/dist/components/chunk-file-uploader-list/style.css +1 -8
- package/dist/components/chunk-file-uploader-un-support/index.js +1 -1
- package/dist/components/chunk-file-uploader-un-support/style.css +1 -5
- package/dist/components/code-mirror-editor/index.js +7 -7
- package/dist/components/code-mirror-editor/style.css +1 -11
- package/dist/components/color-picker/index.js +21 -3
- package/dist/components/column/index.js +1 -1
- package/dist/components/column-default/index.js +1 -1
- package/dist/components/column-dynamic/index.js +1 -1
- package/dist/components/column-menu/index.js +1 -1
- package/dist/components/column-slot/index.js +2 -2
- package/dist/components/comment/index.js +1 -1
- package/dist/components/comment/style.css +1 -110
- package/dist/components/confirm-button/index.js +2 -2
- package/dist/components/confirmable/index.js +2 -2
- package/dist/components/context-menu/index.js +1 -1
- package/dist/components/context-menu/style.css +1 -84
- package/dist/components/count-up/index.js +15 -4
- package/dist/components/custom-scrollbar/index.js +18 -5
- package/dist/components/data-box/index.js +1 -1
- package/dist/components/data-box/style.css +1 -52
- package/dist/components/data-card/index.js +1 -1
- package/dist/components/data-card/style.css +1 -35
- package/dist/components/data-cardtext/index.js +1 -1
- package/dist/components/data-cardtext/style.css +1 -30
- package/dist/components/data-display/index.js +1 -1
- package/dist/components/data-display/style.css +1 -31
- package/dist/components/data-icons/index.js +1 -1
- package/dist/components/data-icons/style.css +1 -47
- package/dist/components/data-imgtext/index.js +1 -1
- package/dist/components/data-imgtext/style.css +1 -65
- package/dist/components/data-operatext/index.js +1 -1
- package/dist/components/data-operatext/style.css +1 -72
- package/dist/components/data-panel/index.js +1 -1
- package/dist/components/data-panel/style.css +1 -31
- package/dist/components/data-pay/index.js +1 -1
- package/dist/components/data-pay/style.css +1 -96
- package/dist/components/data-price/index.js +1 -1
- package/dist/components/data-price/style.css +1 -75
- package/dist/components/data-progress/index.js +1 -1
- package/dist/components/data-progress/style.css +1 -24
- package/dist/components/data-rotate/index.js +1 -1
- package/dist/components/data-rotate/style.css +1 -44
- package/dist/components/data-table-picker/index.js +1 -1
- package/dist/components/data-tabs/index.js +1 -1
- package/dist/components/data-tabs/style.css +1 -64
- package/dist/components/dialog-column/index.js +1 -1
- package/dist/components/dialog-excel/index.js +2 -2
- package/dist/components/dialog-filter/index.js +1 -1
- package/dist/components/dialog-form/index.js +1 -1
- package/dist/components/dynamic-table/index.js +1 -1
- package/dist/components/dynamic-table/style.css +1 -24
- package/dist/components/e-charts/index.js +1 -1
- package/dist/components/e-charts/style.css +1 -4
- package/dist/components/easy-popup/index.js +1 -1
- package/dist/components/easy-popup/style.css +1 -12
- package/dist/components/editable-progress/index.js +1 -1
- package/dist/components/editable-progress/style.css +1 -33
- package/dist/components/editable-tree/index.js +216 -163
- package/dist/components/editable-tree/style.css +1 -79
- package/dist/components/egd-collapse/index.js +1 -1
- package/dist/components/egd-collapse-item/index.js +1 -1
- package/dist/components/element-dialog/index.js +1 -1
- package/dist/components/element-dialog/style.css +1 -82
- package/dist/components/empty-view/index.js +1 -1
- package/dist/components/empty-view/style.css +1 -11
- package/dist/components/error-view/index.js +1 -1
- package/dist/components/error-view/style.css +1 -11
- package/dist/components/flex-column/index.js +14 -2
- package/dist/components/flex-item/index.js +15 -3
- package/dist/components/flex-row/index.js +14 -2
- package/dist/components/flex-scroller/index.js +1 -1
- package/dist/components/flex-scroller/style.css +1 -14
- package/dist/components/flow/index.js +1 -1
- package/dist/components/flow/style.css +1 -38
- package/dist/components/flow-node/index.js +1 -1
- package/dist/components/flow-viewer/index.js +34 -7
- package/dist/components/flow-viewer/style.css +1 -13
- package/dist/components/form-button/index.js +2 -2
- package/dist/components/form-cascader/index.js +14 -3
- package/dist/components/form-checkbox-group/index.js +14 -3
- package/dist/components/form-checkbox-group/style.css +1 -45
- package/dist/components/form-date-picker/index.js +20 -11
- package/dist/components/form-group/index.js +1 -1
- package/dist/components/form-group/style.css +1 -76
- package/dist/components/form-holder/index.js +21 -3
- package/dist/components/form-input/index.js +14 -3
- package/dist/components/form-input-email/index.js +14 -3
- package/dist/components/form-input-id-card/index.js +14 -3
- package/dist/components/form-input-number/index.js +14 -3
- package/dist/components/form-input-number/style.css +1 -6
- package/dist/components/form-input-phone-number/index.js +14 -3
- package/dist/components/form-input-time/index.js +14 -3
- package/dist/components/form-item/index.js +43 -15
- package/dist/components/form-item/style.css +1 -5
- package/dist/components/form-item-config-provider/index.js +1 -1
- package/dist/components/form-item-group/index.js +1 -1
- package/dist/components/form-item-group/style.css +1 -25
- package/dist/components/form-radio-group/index.js +14 -3
- package/dist/components/form-radio-group/style.css +1 -47
- package/dist/components/form-select/index.js +14 -3
- package/dist/components/form-switch/index.js +14 -3
- package/dist/components/form-temp/index.js +1 -1
- package/dist/components/form-textarea/index.js +14 -3
- package/dist/components/form-view/index.js +35 -13
- package/dist/components/form-view/style.css +1 -155
- package/dist/components/fy-array/index.js +1 -1
- package/dist/components/fy-array/style.css +1 -12
- package/dist/components/fy-article/index.js +1 -1
- package/dist/components/fy-article/style.css +1 -56
- package/dist/components/fy-cascader/index.js +1 -1
- package/dist/components/fy-checkbox/index.js +1 -1
- package/dist/components/fy-checkbox/style.css +1 -9
- package/dist/components/fy-code/index.js +1 -1
- package/dist/components/fy-curd/index.js +1 -1
- package/dist/components/fy-curd/style.css +1 -236
- package/dist/components/fy-date/index.js +1 -1
- package/dist/components/fy-date/style.css +1 -15
- package/dist/components/fy-dialog-form/index.js +1 -1
- package/dist/components/fy-dialog-form/style.css +1 -0
- package/dist/components/fy-draggable/index.js +1 -1
- package/dist/components/fy-draggable/style.css +1 -136
- package/dist/components/fy-dynamic/index.js +1 -1
- package/dist/components/fy-dynamic/style.css +1 -29
- package/dist/components/fy-empty/index.js +1 -1
- package/dist/components/fy-empty/style.css +1 -18
- package/dist/components/fy-form/index.js +23 -5
- package/dist/components/fy-form/style.css +1 -73
- package/dist/components/fy-form-design/index.js +73 -49
- package/dist/components/fy-form-design/style.css +1 -560
- package/dist/components/fy-form-menu/index.js +1 -1
- package/dist/components/fy-input/index.js +1 -1
- package/dist/components/fy-input-color/index.js +1 -1
- package/dist/components/fy-input-icon/index.js +1 -1
- package/dist/components/fy-input-icon/style.css +1 -33
- package/dist/components/fy-input-map/index.js +1 -1
- package/dist/components/fy-input-map/style.css +1 -44
- package/dist/components/fy-input-number/index.js +1 -1
- package/dist/components/fy-input-table/index.js +1 -1
- package/dist/components/fy-input-table/style.css +1 -4
- package/dist/components/fy-input-tree/index.js +1 -1
- package/dist/components/fy-input-tree/style.css +1 -19
- package/dist/components/fy-progress/index.js +1 -1
- package/dist/components/fy-radio/index.js +1 -1
- package/dist/components/fy-radio/style.css +1 -6
- package/dist/components/fy-rate/index.js +1 -1
- package/dist/components/fy-rate/style.css +1 -3
- package/dist/components/fy-select/index.js +1 -1
- package/dist/components/fy-select/style.css +1 -19
- package/dist/components/fy-slider/index.js +1 -1
- package/dist/components/fy-switch/index.js +1 -1
- package/dist/components/fy-tabs/index.js +1 -1
- package/dist/components/fy-time/index.js +1 -1
- package/dist/components/fy-title/index.js +1 -1
- package/dist/components/fy-title/style.css +1 -5
- package/dist/components/fy-tree/index.js +1 -1
- package/dist/components/fy-tree/style.css +1 -39
- package/dist/components/fy-u-editor/index.js +47 -14
- package/dist/components/fy-u-editor/style.css +1 -9
- package/dist/components/fy-upload/index.js +1 -1
- package/dist/components/fy-upload/style.css +1 -55
- package/dist/components/guide-steps/index.js +1 -1
- package/dist/components/guide-steps/style.css +1 -28
- package/dist/components/header-menu/index.js +1 -1
- package/dist/components/header-search/index.js +1 -1
- package/dist/components/highlight-j-s/index.js +1 -1
- package/dist/components/highlight-j-s/style.css +1 -18
- package/dist/components/icon-card/index.js +1 -1
- package/dist/components/icon-card/style.css +1 -50
- package/dist/components/icon-temp/index.js +1 -1
- package/dist/components/icon-temp/style.css +1 -17
- package/dist/components/iframe-window/index.js +1 -1
- package/dist/components/iframe-window/style.css +1 -14
- package/dist/components/image-cropper/index.js +15 -6
- package/dist/components/image-cropper/style.css +1 -28
- package/dist/components/image-preview/index.js +15 -5
- package/dist/components/image-preview/style.css +1 -66
- package/dist/components/image-viewer/index.js +1 -1
- package/dist/components/image-viewer/style.css +1 -15
- package/dist/components/input-number/index.js +1 -1
- package/dist/components/input-number/style.css +1 -9
- package/dist/components/input-number-range/index.js +1 -1
- package/dist/components/input-number-range/style.css +1 -6
- package/dist/components/keep-view-alive/index.js +1 -1
- package/dist/components/keyboard/index.js +1 -1
- package/dist/components/keyboard/style.css +1 -473
- package/dist/components/license/index.js +1 -1
- package/dist/components/loading-view/index.js +1 -1
- package/dist/components/loading-view/style.css +1 -11
- package/dist/components/login/index.js +1 -1
- package/dist/components/login/style.css +1 -19
- package/dist/components/name-avatar/index.js +1 -1
- package/dist/components/name-avatar/style.css +1 -30
- package/dist/components/nav-bar/index.js +1 -1
- package/dist/components/nav-bar/style.css +1 -11
- package/dist/components/not-implement/index.js +1 -1
- package/dist/components/not-implement/style.css +1 -9
- package/dist/components/notice/index.js +1 -1
- package/dist/components/notice/style.css +1 -48
- package/dist/components/page/index.js +1 -1
- package/dist/components/page/style.css +1 -6
- package/dist/components/page-header/index.js +1 -1
- package/dist/components/page-header/style.css +1 -8
- package/dist/components/page-index/index.js +42 -18
- package/dist/components/page-index/style.css +1 -17
- package/dist/components/page-index-top/index.js +38 -16
- package/dist/components/page-skeleton/index.js +1 -1
- package/dist/components/page-skeleton/style.css +1 -17
- package/dist/components/page-skeleton-new/index.js +1 -1
- package/dist/components/page-skeleton-new/style.css +1 -36
- package/dist/components/pageable-table/index.js +78 -34
- package/dist/components/pageable-table/style.css +1 -66
- package/dist/components/pageable-view/index.js +78 -34
- package/dist/components/pageable-view/style.css +1 -63
- package/dist/components/photo-swipe/index.js +46 -24
- package/dist/components/process-designer/index.js +80 -50
- package/dist/components/process-designer/style.css +1 -1648
- package/dist/components/properties-panel/index.js +77 -51
- package/dist/components/properties-panel/style.css +1 -106
- package/dist/components/queue/index.js +1 -1
- package/dist/components/record-video/index.js +1 -1
- package/dist/components/record-video/style.css +1 -47
- package/dist/components/resize-observer/index.js +1 -1
- package/dist/components/resize-observer/style.css +1 -25
- package/dist/components/search/index.js +1 -1
- package/dist/components/search/style.css +1 -51
- package/dist/components/search-popover/index.js +29 -9
- package/dist/components/search-popover/style.css +1 -90
- package/dist/components/sign/index.js +2 -2
- package/dist/components/sign/style.css +1 -6
- package/dist/components/sign-panel/index.js +1 -1
- package/dist/components/sign-panel/style.css +1 -91
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/style.css +1 -55
- package/dist/components/split-pane/index.js +21 -3
- package/dist/components/split-pane/style.css +1 -98
- package/dist/components/stateful/index.js +1 -1
- package/dist/components/stateful/style.css +1 -27
- package/dist/components/static-pageable-table/index.js +1 -1
- package/dist/components/static-pageable-table/style.css +1 -3
- package/dist/components/swiper/index.js +25 -5
- package/dist/components/swiper/style.css +1 -37
- package/dist/components/tab/index.js +2 -2
- package/dist/components/tab/style.css +1 -108
- package/dist/components/tab-item/index.js +3 -3
- package/dist/components/table-column/index.js +17 -7
- package/dist/components/table-page/index.js +1 -1
- package/dist/components/table-view/index.js +62 -36
- package/dist/components/table-view/style.css +1 -90
- package/dist/components/tag-render/index.js +13 -2
- package/dist/components/tag-render/style.css +1 -27
- package/dist/components/text-ellipsis/index.js +1 -1
- package/dist/components/text-ellipsis/style.css +1 -3
- package/dist/components/tinymce-editor/index.js +27 -9
- package/dist/components/tinymce-editor/style.css +1 -37
- package/dist/components/tinymce-wrapper/index.js +17 -7
- package/dist/components/tinymce-wrapper/style.css +1 -30
- package/dist/components/toolbar/index.js +4 -4
- package/dist/components/toolbar/style.css +1 -35
- package/dist/components/toolbar-button/index.js +28 -10
- package/dist/components/toolbar-button/style.css +1 -15
- package/dist/components/trigger/index.js +1 -1
- package/dist/components/verify/index.js +1 -1
- package/dist/components/verify/style.css +1 -9
- package/dist/components/vue-tags-input/index.js +1 -1
- package/dist/components/vue-tags-input/style.css +1 -102
- package/dist/components/watermark/index.js +15 -5
- package/dist/components/watermark/style.css +1 -10
- package/dist/index.css +26 -68
- package/dist/index.es.js +990 -877
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.7112b769.js +0 -75
- package/dist/components/dialog-form/style.css +0 -5
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty, __defProps = Object.defineProperties;
|
|
2
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
6
|
+
for (var prop in b || (b = {}))
|
|
7
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
8
|
+
if (__getOwnPropSymbols)
|
|
9
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
10
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
11
|
+
return a;
|
|
12
|
+
}, __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
13
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
14
|
import { f as formPickMixin } from "../../chunks/form-pick-mixin.c4e0391b.js";
|
|
3
|
-
import { t as toDate } from "../../chunks/dayjs.
|
|
15
|
+
import { t as toDate } from "../../chunks/dayjs.ed2e1b73.js";
|
|
4
16
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
5
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
17
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
6
18
|
var render = function() {
|
|
7
19
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
8
20
|
return _c("FormItem", _vm._b({
|
|
@@ -116,15 +128,14 @@ const autoBindKeys = ["type", "timeArrowControl", "size", "format", "valueFormat
|
|
|
116
128
|
return this.maxDate ? toDate(this.maxDate) : null;
|
|
117
129
|
},
|
|
118
130
|
pickerOption() {
|
|
119
|
-
return {
|
|
131
|
+
return __spreadValues({
|
|
120
132
|
disabledDate: (time) => {
|
|
121
133
|
if (!this.mini && !this.max)
|
|
122
134
|
return !1;
|
|
123
135
|
const currentTime = time.getTime();
|
|
124
136
|
return this.mini && !this.max ? currentTime <= this.mini.getTime() : !this.mini && this.max ? currentTime >= this.max.getTime() : this.mini && this.max ? currentTime <= this.mini.getTime() && currentTime >= this.max.getTime() : !1;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
};
|
|
137
|
+
}
|
|
138
|
+
}, this.pickerOptions);
|
|
128
139
|
},
|
|
129
140
|
innerVal() {
|
|
130
141
|
if (this.range && this.split) {
|
|
@@ -137,15 +148,13 @@ const autoBindKeys = ["type", "timeArrowControl", "size", "format", "valueFormat
|
|
|
137
148
|
return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy 第 WW 周" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm" : "yyyy-MM-dd";
|
|
138
149
|
},
|
|
139
150
|
inputProps() {
|
|
140
|
-
return filterProperties({
|
|
141
|
-
...normalizeProps(this.$attrs),
|
|
142
|
-
...this.$props,
|
|
151
|
+
return filterProperties(__spreadProps(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), {
|
|
143
152
|
valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
|
|
144
153
|
format: this.format || this.fat,
|
|
145
154
|
rangeSeparator: this.rangeSeparator || "至",
|
|
146
155
|
startPlaceholder: this.startPlaceholder || "开始日期",
|
|
147
156
|
endPlaceholder: this.endPlaceholder || "结束日期"
|
|
148
|
-
}, autoBindKeys);
|
|
157
|
+
}), autoBindKeys);
|
|
149
158
|
},
|
|
150
159
|
range() {
|
|
151
160
|
return this.dateTimeRange || this.dateRange || this.monthRange;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
2
2
|
var render = function() {
|
|
3
3
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
4
4
|
return _vm.display ? _c("div", {
|
|
@@ -1,76 +1 @@
|
|
|
1
|
-
.avue-group {
|
|
2
|
-
width: 100%;
|
|
3
|
-
}
|
|
4
|
-
.avue-group .el-collapse,
|
|
5
|
-
.avue-group .el-collapse-item__wrap {
|
|
6
|
-
border-color: #fff;
|
|
7
|
-
}
|
|
8
|
-
.avue-group .el-collapse-item__header {
|
|
9
|
-
height: inherit;
|
|
10
|
-
border: none;
|
|
11
|
-
border-bottom: 1px solid #eee;
|
|
12
|
-
margin-bottom: 20px;
|
|
13
|
-
}
|
|
14
|
-
.avue-group .el-collapse-item__content,
|
|
15
|
-
.avue-group .van-collapse-item__content {
|
|
16
|
-
padding-bottom: 0;
|
|
17
|
-
}
|
|
18
|
-
.avue-group .van-collapse-item__content {
|
|
19
|
-
padding: 0 2px;
|
|
20
|
-
}
|
|
21
|
-
.avue-group--arrow .el-collapse-item__arrow,
|
|
22
|
-
.avue-group--arrow .van-icon-arrow {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
.avue-group .van-hairline--top-bottom:after,
|
|
26
|
-
.avue-group .van-hairline-unset--top-bottom:after {
|
|
27
|
-
display: none;
|
|
28
|
-
}
|
|
29
|
-
.avue-group .van-collapse-item__title {
|
|
30
|
-
padding: 0 10px;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
.avue-group .van-collapse-item__title:after {
|
|
35
|
-
left: 0 !important;
|
|
36
|
-
}
|
|
37
|
-
.avue-group--none {
|
|
38
|
-
margin: 0 !important;
|
|
39
|
-
border: none !important;
|
|
40
|
-
}
|
|
41
|
-
.avue-group--header .el-collapse-item__header,
|
|
42
|
-
.avue-group--header .van-collapse-item__title {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
.avue-group--collapse .el-collapse-item__arrow,
|
|
46
|
-
.avue-group--collapse .el-collapse-item__header {
|
|
47
|
-
display: flex !important;
|
|
48
|
-
}
|
|
49
|
-
.avue-group__item {
|
|
50
|
-
margin-bottom: 10px;
|
|
51
|
-
background-color: #fff;
|
|
52
|
-
border-bottom: 1px solid #eee;
|
|
53
|
-
border-radius: 5px;
|
|
54
|
-
box-sizing: border-box;
|
|
55
|
-
}
|
|
56
|
-
.avue-group__item:last-child {
|
|
57
|
-
border-bottom: none;
|
|
58
|
-
}
|
|
59
|
-
.avue-group__header {
|
|
60
|
-
width: 100%;
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: center;
|
|
63
|
-
height: 50px;
|
|
64
|
-
line-height: 50px;
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
}
|
|
67
|
-
.avue-group__icon {
|
|
68
|
-
margin-right: 8px;
|
|
69
|
-
font-size: 20px;
|
|
70
|
-
color: #000000d9;
|
|
71
|
-
}
|
|
72
|
-
.avue-group__title {
|
|
73
|
-
font-size: 16px;
|
|
74
|
-
font-weight: 500;
|
|
75
|
-
color: #000000d9;
|
|
76
|
-
}
|
|
1
|
+
.avue-group{width:100%}.avue-group .el-collapse,.avue-group .el-collapse-item__wrap{border-color:#fff}.avue-group .el-collapse-item__header{height:inherit;border:none;border-bottom:1px solid #eee;margin-bottom:20px}.avue-group .el-collapse-item__content,.avue-group .van-collapse-item__content{padding-bottom:0}.avue-group .van-collapse-item__content{padding:0 2px}.avue-group--arrow .el-collapse-item__arrow,.avue-group--arrow .van-icon-arrow{display:none}.avue-group .van-hairline--top-bottom:after,.avue-group .van-hairline-unset--top-bottom:after{display:none}.avue-group .van-collapse-item__title{padding:0 10px;display:flex;align-items:center}.avue-group .van-collapse-item__title:after{left:0!important}.avue-group--none{margin:0!important;border:none!important}.avue-group--header .el-collapse-item__header,.avue-group--header .van-collapse-item__title{display:none}.avue-group--collapse .el-collapse-item__arrow,.avue-group--collapse .el-collapse-item__header{display:flex!important}.avue-group__item{margin-bottom:10px;background-color:#fff;border-bottom:1px solid #eee;border-radius:5px;box-sizing:border-box}.avue-group__item:last-child{border-bottom:none}.avue-group__header{width:100%;display:flex;align-items:center;height:50px;line-height:50px;box-sizing:border-box}.avue-group__icon{margin-right:8px;font-size:20px;color:#000000d9}.avue-group__title{font-size:16px;font-weight:500;color:#000000d9}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
+
var __async = (__this, __arguments, generator) => new Promise((resolve, reject) => {
|
|
2
|
+
var fulfilled = (value) => {
|
|
3
|
+
try {
|
|
4
|
+
step(generator.next(value));
|
|
5
|
+
} catch (e) {
|
|
6
|
+
reject(e);
|
|
7
|
+
}
|
|
8
|
+
}, rejected = (value) => {
|
|
9
|
+
try {
|
|
10
|
+
step(generator.throw(value));
|
|
11
|
+
} catch (e) {
|
|
12
|
+
reject(e);
|
|
13
|
+
}
|
|
14
|
+
}, step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
15
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
16
|
+
});
|
|
1
17
|
import { warning } from "@web-utils/core";
|
|
2
18
|
import { e as findParent } from "../../chunks/utils.d7f73f8d.js";
|
|
3
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
19
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
4
20
|
var render = function() {
|
|
5
21
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
6
22
|
return _c("ElForm", _vm._g(_vm._b({
|
|
@@ -81,8 +97,10 @@ const __vue2_script = {
|
|
|
81
97
|
var _a;
|
|
82
98
|
(_a = this.$refs.form) == null || _a.clearValidate(fields);
|
|
83
99
|
},
|
|
84
|
-
|
|
85
|
-
return this
|
|
100
|
+
validate() {
|
|
101
|
+
return __async(this, null, function* () {
|
|
102
|
+
return this.$refs.form.validate();
|
|
103
|
+
});
|
|
86
104
|
},
|
|
87
105
|
resetFields() {
|
|
88
106
|
return this.$refs.form.resetFields();
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { Input } from "element-ui";
|
|
3
14
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
4
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
5
16
|
var render = function() {
|
|
6
17
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
7
18
|
return _c("FormItem", _vm._b({
|
|
@@ -75,7 +86,7 @@ const autoBindKeys = Object.keys(Input.props).filter((key) => !["value", "placeh
|
|
|
75
86
|
},
|
|
76
87
|
computed: {
|
|
77
88
|
inputProps() {
|
|
78
|
-
return filterProperties({
|
|
89
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
79
90
|
}
|
|
80
91
|
},
|
|
81
92
|
methods: {
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { Input } from "element-ui";
|
|
3
14
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
4
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
5
16
|
const validateEmail = (rule, value, callback) => value && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(value) ? callback(new Error("invalid")) : callback();
|
|
6
17
|
var render = function() {
|
|
7
18
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
@@ -63,7 +74,7 @@ const autoBindKeys = Object.keys(Input.props).filter((key) => !["value", "placeh
|
|
|
63
74
|
},
|
|
64
75
|
computed: {
|
|
65
76
|
inputProps() {
|
|
66
|
-
return filterProperties({
|
|
77
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
67
78
|
}
|
|
68
79
|
},
|
|
69
80
|
methods: {
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { validateIdCard } from "@web-utils/core";
|
|
3
14
|
import { Input } from "element-ui";
|
|
4
15
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
5
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
6
17
|
var render = function() {
|
|
7
18
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
8
19
|
return _c("FormItem", _vm._b({
|
|
@@ -69,7 +80,7 @@ const autoBindKeys = Object.keys(Input.props).filter((key) => !["value", "placeh
|
|
|
69
80
|
},
|
|
70
81
|
computed: {
|
|
71
82
|
inputProps() {
|
|
72
|
-
return filterProperties({
|
|
83
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
73
84
|
}
|
|
74
85
|
},
|
|
75
86
|
methods: {
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
3
14
|
import { i as inputNumberMixin } from "../../chunks/input-number-mixin.6849fa63.js";
|
|
4
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
5
16
|
var render = function() {
|
|
6
17
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
7
18
|
return _c("FormItem", _vm._b({
|
|
@@ -97,7 +108,7 @@ const autoBindKeys = Object.keys(inputNumberMixin.props).filter((key) => !["valu
|
|
|
97
108
|
},
|
|
98
109
|
computed: {
|
|
99
110
|
inputProps() {
|
|
100
|
-
return filterProperties({
|
|
111
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
101
112
|
}
|
|
102
113
|
}
|
|
103
114
|
}, __cssModules = {};
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { validatePhoneNum } from "@web-utils/core";
|
|
3
14
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
4
15
|
import { Input } from "element-ui";
|
|
5
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
6
17
|
var render = function() {
|
|
7
18
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
8
19
|
return _c("FormItem", _vm._b({
|
|
@@ -61,7 +72,7 @@ const autoBindKeys = Object.keys(Input.props).filter((key) => !["value", "placeh
|
|
|
61
72
|
},
|
|
62
73
|
computed: {
|
|
63
74
|
inputProps() {
|
|
64
|
-
return filterProperties({
|
|
75
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
65
76
|
}
|
|
66
77
|
},
|
|
67
78
|
methods: {
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { TimePicker } from "element-ui";
|
|
3
14
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
4
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
5
16
|
var render = function() {
|
|
6
17
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
7
18
|
return _c("FormItem", _vm._b({
|
|
@@ -98,7 +109,7 @@ const autoBindKeys = Object.keys(TimePicker.props).filter((key) => !["value", "p
|
|
|
98
109
|
return "请选择";
|
|
99
110
|
},
|
|
100
111
|
inputProps() {
|
|
101
|
-
return filterProperties({
|
|
112
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
102
113
|
}
|
|
103
114
|
}
|
|
104
115
|
}, __cssModules = {};
|
|
@@ -1,6 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
var __async = (__this, __arguments, generator) => new Promise((resolve, reject) => {
|
|
13
|
+
var fulfilled = (value) => {
|
|
14
|
+
try {
|
|
15
|
+
step(generator.next(value));
|
|
16
|
+
} catch (e) {
|
|
17
|
+
reject(e);
|
|
18
|
+
}
|
|
19
|
+
}, rejected = (value) => {
|
|
20
|
+
try {
|
|
21
|
+
step(generator.throw(value));
|
|
22
|
+
} catch (e) {
|
|
23
|
+
reject(e);
|
|
24
|
+
}
|
|
25
|
+
}, step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
26
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
27
|
+
});
|
|
28
|
+
import { f as formItemMixin } from "../../chunks/form-item-mixin.fa314b67.js";
|
|
2
29
|
import { hasOwn } from "@web-utils/core";
|
|
3
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
30
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
4
31
|
const __vue2_script = {
|
|
5
32
|
name: "FormItem",
|
|
6
33
|
mixins: [formItemMixin],
|
|
@@ -14,10 +41,11 @@ const __vue2_script = {
|
|
|
14
41
|
},
|
|
15
42
|
computed: {
|
|
16
43
|
gutter() {
|
|
44
|
+
var _a;
|
|
17
45
|
let parent = this.$parent;
|
|
18
46
|
for (; parent && parent.$options.componentName !== "ElRow"; )
|
|
19
47
|
parent = parent.$parent;
|
|
20
|
-
return (parent == null ? void 0 : parent.gutter)
|
|
48
|
+
return (_a = parent == null ? void 0 : parent.gutter) != null ? _a : 0;
|
|
21
49
|
}
|
|
22
50
|
},
|
|
23
51
|
methods: {
|
|
@@ -52,9 +80,7 @@ const __vue2_script = {
|
|
|
52
80
|
key: `${prop}-${formRequired}`,
|
|
53
81
|
class: rawRequired ? `form-item required ${formItemClass || ""}` : `${formItemClass || ""}`,
|
|
54
82
|
scopedSlots: $scopedSlots,
|
|
55
|
-
props: {
|
|
56
|
-
...elFormItemProps
|
|
57
|
-
},
|
|
83
|
+
props: __spreadValues({}, elFormItemProps),
|
|
58
84
|
attrs: {
|
|
59
85
|
label,
|
|
60
86
|
"label-width": labelWidth,
|
|
@@ -64,13 +90,17 @@ const __vue2_script = {
|
|
|
64
90
|
ref: "formItem"
|
|
65
91
|
}) : h("div", [(_c = $scopedSlots.default) == null ? void 0 : _c.call($scopedSlots)]);
|
|
66
92
|
},
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
93
|
+
clearValidate() {
|
|
94
|
+
return __async(this, null, function* () {
|
|
95
|
+
var _a, _b;
|
|
96
|
+
yield this.$nextTick(), (_b = (_a = this.$refs.formItem).clearValidate) == null || _b.call(_a);
|
|
97
|
+
});
|
|
70
98
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
99
|
+
validate() {
|
|
100
|
+
return __async(this, null, function* () {
|
|
101
|
+
var _a, _b;
|
|
102
|
+
yield this.$nextTick(), (_b = (_a = this.$refs.formItem).validate) == null || _b.call(_a);
|
|
103
|
+
});
|
|
74
104
|
}
|
|
75
105
|
},
|
|
76
106
|
render() {
|
|
@@ -86,9 +116,7 @@ const __vue2_script = {
|
|
|
86
116
|
} = this;
|
|
87
117
|
let formWrapCol = wrapCol;
|
|
88
118
|
return formItemConfig && hasOwn(formItemConfig, "wrapCol") && (formWrapCol = formItemConfig.wrapCol), unwrap ? h("div", [(_a = $scopedSlots.default) == null ? void 0 : _a.call($scopedSlots)]) : formWrapCol ? h("ElCol", {
|
|
89
|
-
props: {
|
|
90
|
-
...elColProps
|
|
91
|
-
},
|
|
119
|
+
props: __spreadValues({}, elColProps),
|
|
92
120
|
attrs: {
|
|
93
121
|
span: computeSpan
|
|
94
122
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isFunction } from "@web-utils/core";
|
|
2
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
2
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
3
3
|
const formProperties = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], formMethod = ["$emit", "validate", "clearValidate"], __vue2_script = {
|
|
4
4
|
name: "FormItemGroup",
|
|
5
5
|
inject: {
|
|
@@ -1,25 +1 @@
|
|
|
1
|
-
.form-item-group {
|
|
2
|
-
margin-bottom: 10px;
|
|
3
|
-
background-color: #fff;
|
|
4
|
-
}
|
|
5
|
-
.form-item-group.is-disabled .is-required .el-form-item__label:before,
|
|
6
|
-
.form-item-group.is-disabled .required .el-form-item__label:before {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
.form-item-group .form-item-group-row {
|
|
10
|
-
margin: 0 !important;
|
|
11
|
-
}
|
|
12
|
-
.form-item-group .form-item-group-title {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
height: 30px;
|
|
17
|
-
margin: 0 0 10px;
|
|
18
|
-
padding: 0 10px;
|
|
19
|
-
color: #333;
|
|
20
|
-
font-weight: 700;
|
|
21
|
-
font-size: 14px;
|
|
22
|
-
line-height: 30px;
|
|
23
|
-
background-color: #f3f5fb;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
1
|
+
.form-item-group{margin-bottom:10px;background-color:#fff}.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{display:flex;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;color:#333;font-weight:700;font-size:14px;line-height:30px;background-color:#f3f5fb;cursor:pointer}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { f as formPickMixin } from "../../chunks/form-pick-mixin.c4e0391b.js";
|
|
3
14
|
import { RadioGroup } from "element-ui";
|
|
4
15
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
5
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
6
17
|
var render = function() {
|
|
7
18
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
8
19
|
return _c("FormItem", _vm._b({
|
|
@@ -109,7 +120,7 @@ const autoBindKeys = Object.keys(RadioGroup.props).filter((key) => !["value", "p
|
|
|
109
120
|
return "请选择";
|
|
110
121
|
},
|
|
111
122
|
inputProps() {
|
|
112
|
-
return filterProperties({
|
|
123
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
113
124
|
},
|
|
114
125
|
labelKey() {
|
|
115
126
|
return this.classic ? "label" : this.labelProp;
|
|
@@ -1,47 +1 @@
|
|
|
1
|
-
.form-radio-group.inline {
|
|
2
|
-
display: inline;
|
|
3
|
-
}
|
|
4
|
-
.form-radio-group.inline .el-radio {
|
|
5
|
-
float: left;
|
|
6
|
-
margin-right: 10px;
|
|
7
|
-
}
|
|
8
|
-
.form-radio-group.form-radio-group-row.form-radio-group-row-ellipsis .el-radio__label {
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
white-space: nowrap;
|
|
11
|
-
text-overflow: ellipsis;
|
|
12
|
-
}
|
|
13
|
-
.form-radio-group.form-radio-group-row.form-radio-group-row-break-word .el-radio__label {
|
|
14
|
-
word-wrap: break-word;
|
|
15
|
-
word-break: break-all;
|
|
16
|
-
}
|
|
17
|
-
.form-radio-group.form-radio-group-row .el-radio-group {
|
|
18
|
-
display: block;
|
|
19
|
-
}
|
|
20
|
-
.form-radio-group.form-radio-group-row .el-radio {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: row;
|
|
23
|
-
flex-wrap: nowrap;
|
|
24
|
-
width: 100%;
|
|
25
|
-
}
|
|
26
|
-
.form-radio-group.form-radio-group-row .el-radio__input {
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
top: 3px;
|
|
29
|
-
}
|
|
30
|
-
.form-radio-group.form-radio-group-row .el-radio__label {
|
|
31
|
-
flex: 1 1 auto;
|
|
32
|
-
display: block;
|
|
33
|
-
margin-bottom: 6px;
|
|
34
|
-
padding-left: 4px;
|
|
35
|
-
vertical-align: sub;
|
|
36
|
-
}
|
|
37
|
-
.form-radio-group .el-radio-group {
|
|
38
|
-
line-height: 1;
|
|
39
|
-
}
|
|
40
|
-
.form-radio-group .el-radio {
|
|
41
|
-
margin-right: 10px;
|
|
42
|
-
vertical-align: middle;
|
|
43
|
-
}
|
|
44
|
-
.form-radio-group .el-radio__label {
|
|
45
|
-
padding-left: 0;
|
|
46
|
-
line-height: 19px;
|
|
47
|
-
}
|
|
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{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.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{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.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{flex:1 1 auto;display:block;margin-bottom:6px;padding-left:4px;vertical-align:sub}.form-radio-group .el-radio-group{line-height:1}.form-radio-group .el-radio{margin-right:10px;vertical-align:middle}.form-radio-group .el-radio__label{padding-left:0;line-height:19px}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
+
for (var prop in b || (b = {}))
|
|
6
|
+
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
+
if (__getOwnPropSymbols)
|
|
8
|
+
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
+
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.760cd65d.js";
|
|
2
13
|
import { f as formPickMixin } from "../../chunks/form-pick-mixin.c4e0391b.js";
|
|
3
14
|
import { Select } from "element-ui";
|
|
4
15
|
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.d7f73f8d.js";
|
|
5
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
6
17
|
var render = function() {
|
|
7
18
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
8
19
|
return _c("FormItem", _vm._b({
|
|
@@ -102,7 +113,7 @@ const autoBindKeys = Object.keys(Select.props).filter((key) => !["value", "place
|
|
|
102
113
|
return this.classic ? "value" : this.valueProp;
|
|
103
114
|
},
|
|
104
115
|
inputProps() {
|
|
105
|
-
return filterProperties({
|
|
116
|
+
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
106
117
|
},
|
|
107
118
|
innerOptions() {
|
|
108
119
|
return this.gender ? [
|