widget.qw 1.0.90 → 1.0.91
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/build/widget.qw.es.js +42 -42
- package/build/widget.qw.umd.js +42 -42
- package/package.json +1 -1
- package/src/util/auth_util.js +1 -1
package/build/widget.qw.es.js
CHANGED
|
@@ -3070,7 +3070,7 @@ const props2auth = (props) => {
|
|
|
3070
3070
|
return [];
|
|
3071
3071
|
if (!props.label)
|
|
3072
3072
|
return [];
|
|
3073
|
-
if (
|
|
3073
|
+
if (props.auth == "require" || props.required)
|
|
3074
3074
|
return [{ required: true, message: `${props.label}\u4E3A\u7A7A` }];
|
|
3075
3075
|
})
|
|
3076
3076
|
};
|
|
@@ -17674,7 +17674,7 @@ const _sfc_main$v = {
|
|
|
17674
17674
|
const props = __props;
|
|
17675
17675
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17676
17676
|
const {
|
|
17677
|
-
isRequired
|
|
17677
|
+
isRequired,
|
|
17678
17678
|
isReadonly,
|
|
17679
17679
|
isGone,
|
|
17680
17680
|
isDisabled,
|
|
@@ -17693,7 +17693,7 @@ const _sfc_main$v = {
|
|
|
17693
17693
|
number: true
|
|
17694
17694
|
},
|
|
17695
17695
|
disabled: unref(isDisabled),
|
|
17696
|
-
required: unref(
|
|
17696
|
+
required: unref(isRequired),
|
|
17697
17697
|
placeholder: props.placeholder,
|
|
17698
17698
|
type: props.type,
|
|
17699
17699
|
rows: props.rows,
|
|
@@ -17705,7 +17705,7 @@ const _sfc_main$v = {
|
|
|
17705
17705
|
modelValue: unref(modelValue),
|
|
17706
17706
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
17707
17707
|
disabled: unref(isDisabled),
|
|
17708
|
-
required: unref(
|
|
17708
|
+
required: unref(isRequired),
|
|
17709
17709
|
placeholder: props.placeholder,
|
|
17710
17710
|
type: props.type,
|
|
17711
17711
|
rows: props.rows,
|
|
@@ -17761,7 +17761,7 @@ const _sfc_main$u = {
|
|
|
17761
17761
|
return ary;
|
|
17762
17762
|
});
|
|
17763
17763
|
const {
|
|
17764
|
-
isRequired
|
|
17764
|
+
isRequired,
|
|
17765
17765
|
isGone,
|
|
17766
17766
|
isDisabled,
|
|
17767
17767
|
isReadonly
|
|
@@ -17816,7 +17816,7 @@ const _sfc_main$u = {
|
|
|
17816
17816
|
"label-class": "label",
|
|
17817
17817
|
placeholder: props.placeholder,
|
|
17818
17818
|
onClickInput: onClick,
|
|
17819
|
-
required: unref(
|
|
17819
|
+
required: unref(isRequired),
|
|
17820
17820
|
rules: __props.rules
|
|
17821
17821
|
}, null, 8, ["modelValue", "is-link", "disabled", "label", "placeholder", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
17822
17822
|
show: isShowPicker.value,
|
|
@@ -17965,7 +17965,7 @@ const _sfc_main$s = {
|
|
|
17965
17965
|
}) {
|
|
17966
17966
|
const props = __props;
|
|
17967
17967
|
const {
|
|
17968
|
-
isRequired
|
|
17968
|
+
isRequired,
|
|
17969
17969
|
isReadonly,
|
|
17970
17970
|
isGone,
|
|
17971
17971
|
isDisabled,
|
|
@@ -18031,7 +18031,7 @@ const _sfc_main$s = {
|
|
|
18031
18031
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18032
18032
|
key: 0,
|
|
18033
18033
|
label: props.label,
|
|
18034
|
-
required: unref(
|
|
18034
|
+
required: unref(isRequired),
|
|
18035
18035
|
rules: unref(rules),
|
|
18036
18036
|
disabled: unref(isDisabled),
|
|
18037
18037
|
placeholder: props.placeholder,
|
|
@@ -18106,7 +18106,7 @@ const _sfc_main$r = {
|
|
|
18106
18106
|
const props = __props;
|
|
18107
18107
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18108
18108
|
const {
|
|
18109
|
-
isRequired
|
|
18109
|
+
isRequired,
|
|
18110
18110
|
isReadonly,
|
|
18111
18111
|
isGone,
|
|
18112
18112
|
isDisabled,
|
|
@@ -18163,7 +18163,7 @@ const _sfc_main$r = {
|
|
|
18163
18163
|
return !unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
18164
18164
|
key: 0,
|
|
18165
18165
|
label: props.label,
|
|
18166
|
-
required: unref(
|
|
18166
|
+
required: unref(isRequired),
|
|
18167
18167
|
rules: unref(rules)
|
|
18168
18168
|
}, {
|
|
18169
18169
|
input: withCtx(() => [createVNode(_component_van_checkbox_group, {
|
|
@@ -18532,7 +18532,7 @@ const _sfc_main$p = {
|
|
|
18532
18532
|
isShow: false
|
|
18533
18533
|
});
|
|
18534
18534
|
const {
|
|
18535
|
-
isRequired
|
|
18535
|
+
isRequired,
|
|
18536
18536
|
isReadonly,
|
|
18537
18537
|
isGone,
|
|
18538
18538
|
isDisabled,
|
|
@@ -18580,7 +18580,7 @@ const _sfc_main$p = {
|
|
|
18580
18580
|
readonly: unref(isReadonly),
|
|
18581
18581
|
clearable: "",
|
|
18582
18582
|
placeholder: props.placeholder,
|
|
18583
|
-
required: unref(
|
|
18583
|
+
required: unref(isRequired),
|
|
18584
18584
|
rules: unref(rules),
|
|
18585
18585
|
"right-icon": unref(rightIcon),
|
|
18586
18586
|
onClickRightIcon: onToggleShow
|
|
@@ -18722,7 +18722,7 @@ const _sfc_main$n = {
|
|
|
18722
18722
|
}) {
|
|
18723
18723
|
const props = __props;
|
|
18724
18724
|
const {
|
|
18725
|
-
isRequired
|
|
18725
|
+
isRequired,
|
|
18726
18726
|
isReadonly,
|
|
18727
18727
|
isGone,
|
|
18728
18728
|
isDisabled,
|
|
@@ -18881,7 +18881,7 @@ const _sfc_main$n = {
|
|
|
18881
18881
|
autosize: "",
|
|
18882
18882
|
modelValue: unref(selectdItemsLabel),
|
|
18883
18883
|
clearable: "",
|
|
18884
|
-
required: unref(
|
|
18884
|
+
required: unref(isRequired),
|
|
18885
18885
|
label: __props.label,
|
|
18886
18886
|
name: __props.name
|
|
18887
18887
|
}, _ctx.$attrs, {
|
|
@@ -19132,7 +19132,7 @@ const _sfc_main$l = {
|
|
|
19132
19132
|
}) {
|
|
19133
19133
|
const props = __props;
|
|
19134
19134
|
const {
|
|
19135
|
-
isRequired
|
|
19135
|
+
isRequired,
|
|
19136
19136
|
isGone,
|
|
19137
19137
|
isDisabled,
|
|
19138
19138
|
isReadonly
|
|
@@ -19341,7 +19341,7 @@ const _sfc_main$l = {
|
|
|
19341
19341
|
placeholder: props.placeholder,
|
|
19342
19342
|
onClick: onShow,
|
|
19343
19343
|
"right-icon": unref(isReadonly) ? "" : "arrow",
|
|
19344
|
-
required: unref(
|
|
19344
|
+
required: unref(isRequired),
|
|
19345
19345
|
rules: __props.rules,
|
|
19346
19346
|
type: "textarea",
|
|
19347
19347
|
autosize: "true",
|
|
@@ -19494,7 +19494,7 @@ const _sfc_main$k = {
|
|
|
19494
19494
|
}) {
|
|
19495
19495
|
const props = __props;
|
|
19496
19496
|
const {
|
|
19497
|
-
isRequired
|
|
19497
|
+
isRequired,
|
|
19498
19498
|
isReadonly,
|
|
19499
19499
|
isGone,
|
|
19500
19500
|
isDisabled,
|
|
@@ -20001,7 +20001,7 @@ const _sfc_main$j = {
|
|
|
20001
20001
|
const props = __props;
|
|
20002
20002
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20003
20003
|
const {
|
|
20004
|
-
isRequired
|
|
20004
|
+
isRequired,
|
|
20005
20005
|
isReadonly,
|
|
20006
20006
|
isGone,
|
|
20007
20007
|
isDisabled,
|
|
@@ -20046,7 +20046,7 @@ const _sfc_main$j = {
|
|
|
20046
20046
|
key: 0,
|
|
20047
20047
|
name: "image",
|
|
20048
20048
|
label: props.label,
|
|
20049
|
-
required: unref(
|
|
20049
|
+
required: unref(isRequired),
|
|
20050
20050
|
rules: unref(rules),
|
|
20051
20051
|
"label-class": "label",
|
|
20052
20052
|
placeholder: props.placeholder
|
|
@@ -20141,7 +20141,7 @@ const _sfc_main$i = {
|
|
|
20141
20141
|
const props = __props;
|
|
20142
20142
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20143
20143
|
const {
|
|
20144
|
-
isRequired
|
|
20144
|
+
isRequired,
|
|
20145
20145
|
isReadonly,
|
|
20146
20146
|
isGone,
|
|
20147
20147
|
isDisabled,
|
|
@@ -20239,7 +20239,7 @@ const _sfc_main$i = {
|
|
|
20239
20239
|
return openBlock(), createBlock(_component_van_field, {
|
|
20240
20240
|
name: "image",
|
|
20241
20241
|
label: props.label,
|
|
20242
|
-
required: unref(
|
|
20242
|
+
required: unref(isRequired),
|
|
20243
20243
|
rules: unref(rules),
|
|
20244
20244
|
"label-class": "label",
|
|
20245
20245
|
placeholder: props.placeholder
|
|
@@ -20253,7 +20253,7 @@ const _sfc_main$i = {
|
|
|
20253
20253
|
capture: props.capture,
|
|
20254
20254
|
accept: "image/jpeg,image/png",
|
|
20255
20255
|
disabled: unref(isDisabled),
|
|
20256
|
-
deletable: !unref(
|
|
20256
|
+
deletable: !unref(isRequired) && !unref(isDisabled),
|
|
20257
20257
|
afterRead: onAfterRead,
|
|
20258
20258
|
"before-delete": onBeforeDelete,
|
|
20259
20259
|
"show-upload": !unref(isReadonly)
|
|
@@ -20344,7 +20344,7 @@ const _sfc_main$h = {
|
|
|
20344
20344
|
const props = __props;
|
|
20345
20345
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20346
20346
|
const {
|
|
20347
|
-
isRequired
|
|
20347
|
+
isRequired,
|
|
20348
20348
|
isReadonly,
|
|
20349
20349
|
isGone,
|
|
20350
20350
|
isDisabled,
|
|
@@ -20429,7 +20429,7 @@ const _sfc_main$h = {
|
|
|
20429
20429
|
key: 0,
|
|
20430
20430
|
name: "image",
|
|
20431
20431
|
label: props.label,
|
|
20432
|
-
required: unref(
|
|
20432
|
+
required: unref(isRequired),
|
|
20433
20433
|
rules: unref(rules),
|
|
20434
20434
|
"label-class": "label",
|
|
20435
20435
|
placeholder: props.placeholder
|
|
@@ -20522,7 +20522,7 @@ const _sfc_main$g = {
|
|
|
20522
20522
|
const show = ref(false);
|
|
20523
20523
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20524
20524
|
const {
|
|
20525
|
-
isRequired
|
|
20525
|
+
isRequired,
|
|
20526
20526
|
isReadonly,
|
|
20527
20527
|
isGone,
|
|
20528
20528
|
isDisabled,
|
|
@@ -20732,7 +20732,7 @@ const _sfc_main$g = {
|
|
|
20732
20732
|
placeholder: props.placeholder,
|
|
20733
20733
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !unref(isReadonly)),
|
|
20734
20734
|
"model-value": selectedUserInfo.value,
|
|
20735
|
-
required: unref(
|
|
20735
|
+
required: unref(isRequired),
|
|
20736
20736
|
rules: unref(rules),
|
|
20737
20737
|
"input-align": "center"
|
|
20738
20738
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
@@ -21137,7 +21137,7 @@ const _sfc_main$e = {
|
|
|
21137
21137
|
});
|
|
21138
21138
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21139
21139
|
const {
|
|
21140
|
-
isRequired
|
|
21140
|
+
isRequired,
|
|
21141
21141
|
isReadonly,
|
|
21142
21142
|
isGone,
|
|
21143
21143
|
isDisabled,
|
|
@@ -21177,7 +21177,7 @@ const _sfc_main$e = {
|
|
|
21177
21177
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21178
21178
|
key: 0,
|
|
21179
21179
|
label: props.label,
|
|
21180
|
-
required: unref(
|
|
21180
|
+
required: unref(isRequired),
|
|
21181
21181
|
rules: unref(rules),
|
|
21182
21182
|
disabled: unref(isDisabled),
|
|
21183
21183
|
placeholder: props.placeholder,
|
|
@@ -21262,7 +21262,7 @@ const _sfc_main$d = {
|
|
|
21262
21262
|
});
|
|
21263
21263
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21264
21264
|
const {
|
|
21265
|
-
isRequired
|
|
21265
|
+
isRequired,
|
|
21266
21266
|
isReadonly,
|
|
21267
21267
|
isGone,
|
|
21268
21268
|
isDisabled,
|
|
@@ -21296,7 +21296,7 @@ const _sfc_main$d = {
|
|
|
21296
21296
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21297
21297
|
key: 0,
|
|
21298
21298
|
label: props.label,
|
|
21299
|
-
required: unref(
|
|
21299
|
+
required: unref(isRequired),
|
|
21300
21300
|
rules: unref(rules),
|
|
21301
21301
|
disabled: unref(isDisabled),
|
|
21302
21302
|
placeholder: props.placeholder,
|
|
@@ -21741,7 +21741,7 @@ const _sfc_main$7 = {
|
|
|
21741
21741
|
const props = __props;
|
|
21742
21742
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21743
21743
|
const {
|
|
21744
|
-
isRequired
|
|
21744
|
+
isRequired,
|
|
21745
21745
|
isReadonly,
|
|
21746
21746
|
isGone,
|
|
21747
21747
|
isDisabled,
|
|
@@ -21762,7 +21762,7 @@ const _sfc_main$7 = {
|
|
|
21762
21762
|
key: 0,
|
|
21763
21763
|
label: props.label,
|
|
21764
21764
|
disabled: unref(isDisabled),
|
|
21765
|
-
required: unref(
|
|
21765
|
+
required: unref(isRequired),
|
|
21766
21766
|
placeholder: props.placeholder
|
|
21767
21767
|
}, {
|
|
21768
21768
|
input: withCtx(() => [createVNode(_component_van_switch, {
|
|
@@ -21820,7 +21820,7 @@ const _sfc_main$6 = {
|
|
|
21820
21820
|
const props = __props;
|
|
21821
21821
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21822
21822
|
const {
|
|
21823
|
-
isRequired
|
|
21823
|
+
isRequired,
|
|
21824
21824
|
isReadonly,
|
|
21825
21825
|
isGone,
|
|
21826
21826
|
isDisabled,
|
|
@@ -21847,7 +21847,7 @@ const _sfc_main$6 = {
|
|
|
21847
21847
|
key: 0,
|
|
21848
21848
|
label: props.label,
|
|
21849
21849
|
disabled: unref(isDisabled),
|
|
21850
|
-
required: unref(
|
|
21850
|
+
required: unref(isRequired),
|
|
21851
21851
|
rules: unref(rules),
|
|
21852
21852
|
placeholder: props.placeholder
|
|
21853
21853
|
}, {
|
|
@@ -21986,7 +21986,7 @@ const _sfc_main$4 = {
|
|
|
21986
21986
|
});
|
|
21987
21987
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21988
21988
|
const {
|
|
21989
|
-
isRequired
|
|
21989
|
+
isRequired,
|
|
21990
21990
|
isReadonly,
|
|
21991
21991
|
isGone,
|
|
21992
21992
|
isDisabled,
|
|
@@ -22023,7 +22023,7 @@ const _sfc_main$4 = {
|
|
|
22023
22023
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
22024
22024
|
key: 0,
|
|
22025
22025
|
label: props.label,
|
|
22026
|
-
required: unref(
|
|
22026
|
+
required: unref(isRequired),
|
|
22027
22027
|
rules: unref(rules),
|
|
22028
22028
|
disabled: unref(isDisabled),
|
|
22029
22029
|
placeholder: props.placeholder,
|
|
@@ -22395,7 +22395,7 @@ const _sfc_main$2 = {
|
|
|
22395
22395
|
});
|
|
22396
22396
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22397
22397
|
const {
|
|
22398
|
-
isRequired
|
|
22398
|
+
isRequired,
|
|
22399
22399
|
isReadonly,
|
|
22400
22400
|
isGone,
|
|
22401
22401
|
isDisabled,
|
|
@@ -22454,7 +22454,7 @@ const _sfc_main$2 = {
|
|
|
22454
22454
|
key: 0,
|
|
22455
22455
|
label: props.label,
|
|
22456
22456
|
readonly: "",
|
|
22457
|
-
required: unref(
|
|
22457
|
+
required: unref(isRequired),
|
|
22458
22458
|
rules: unref(rules),
|
|
22459
22459
|
disabled: unref(isDisabled),
|
|
22460
22460
|
placeholder: props.placeholder,
|
|
@@ -22547,7 +22547,7 @@ const _sfc_main$1 = {
|
|
|
22547
22547
|
const props = __props;
|
|
22548
22548
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22549
22549
|
const {
|
|
22550
|
-
isRequired
|
|
22550
|
+
isRequired,
|
|
22551
22551
|
isReadonly,
|
|
22552
22552
|
isGone,
|
|
22553
22553
|
isDisabled,
|
|
@@ -22592,7 +22592,7 @@ const _sfc_main$1 = {
|
|
|
22592
22592
|
placeholder: props.placeholder,
|
|
22593
22593
|
rules: unref(rules),
|
|
22594
22594
|
readonly: "",
|
|
22595
|
-
required: unref(
|
|
22595
|
+
required: unref(isRequired),
|
|
22596
22596
|
disabled: unref(isDisabled),
|
|
22597
22597
|
onClick: onShow
|
|
22598
22598
|
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
@@ -22696,7 +22696,7 @@ const _sfc_main = {
|
|
|
22696
22696
|
const props = __props;
|
|
22697
22697
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22698
22698
|
const {
|
|
22699
|
-
isRequired
|
|
22699
|
+
isRequired,
|
|
22700
22700
|
isReadonly,
|
|
22701
22701
|
isGone,
|
|
22702
22702
|
isDisabled,
|
|
@@ -22839,7 +22839,7 @@ const _sfc_main = {
|
|
|
22839
22839
|
key: 0,
|
|
22840
22840
|
label: props.label,
|
|
22841
22841
|
disabled: unref(isDisabled),
|
|
22842
|
-
required: unref(
|
|
22842
|
+
required: unref(isRequired),
|
|
22843
22843
|
placeholder: props.placeholder,
|
|
22844
22844
|
rules: unref(rules)
|
|
22845
22845
|
}, {
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -3073,7 +3073,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
3073
3073
|
return [];
|
|
3074
3074
|
if (!props.label)
|
|
3075
3075
|
return [];
|
|
3076
|
-
if (
|
|
3076
|
+
if (props.auth == "require" || props.required)
|
|
3077
3077
|
return [{ required: true, message: `${props.label}\u4E3A\u7A7A` }];
|
|
3078
3078
|
})
|
|
3079
3079
|
};
|
|
@@ -17677,7 +17677,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17677
17677
|
const props = __props;
|
|
17678
17678
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
17679
17679
|
const {
|
|
17680
|
-
isRequired
|
|
17680
|
+
isRequired,
|
|
17681
17681
|
isReadonly,
|
|
17682
17682
|
isGone,
|
|
17683
17683
|
isDisabled,
|
|
@@ -17696,7 +17696,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17696
17696
|
number: true
|
|
17697
17697
|
},
|
|
17698
17698
|
disabled: vue.unref(isDisabled),
|
|
17699
|
-
required: vue.unref(
|
|
17699
|
+
required: vue.unref(isRequired),
|
|
17700
17700
|
placeholder: props.placeholder,
|
|
17701
17701
|
type: props.type,
|
|
17702
17702
|
rows: props.rows,
|
|
@@ -17708,7 +17708,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17708
17708
|
modelValue: vue.unref(modelValue),
|
|
17709
17709
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
17710
17710
|
disabled: vue.unref(isDisabled),
|
|
17711
|
-
required: vue.unref(
|
|
17711
|
+
required: vue.unref(isRequired),
|
|
17712
17712
|
placeholder: props.placeholder,
|
|
17713
17713
|
type: props.type,
|
|
17714
17714
|
rows: props.rows,
|
|
@@ -17764,7 +17764,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17764
17764
|
return ary;
|
|
17765
17765
|
});
|
|
17766
17766
|
const {
|
|
17767
|
-
isRequired
|
|
17767
|
+
isRequired,
|
|
17768
17768
|
isGone,
|
|
17769
17769
|
isDisabled,
|
|
17770
17770
|
isReadonly
|
|
@@ -17819,7 +17819,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17819
17819
|
"label-class": "label",
|
|
17820
17820
|
placeholder: props.placeholder,
|
|
17821
17821
|
onClickInput: onClick,
|
|
17822
|
-
required: vue.unref(
|
|
17822
|
+
required: vue.unref(isRequired),
|
|
17823
17823
|
rules: __props.rules
|
|
17824
17824
|
}, null, 8, ["modelValue", "is-link", "disabled", "label", "placeholder", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
17825
17825
|
show: isShowPicker.value,
|
|
@@ -17968,7 +17968,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
17968
17968
|
}) {
|
|
17969
17969
|
const props = __props;
|
|
17970
17970
|
const {
|
|
17971
|
-
isRequired
|
|
17971
|
+
isRequired,
|
|
17972
17972
|
isReadonly,
|
|
17973
17973
|
isGone,
|
|
17974
17974
|
isDisabled,
|
|
@@ -18034,7 +18034,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18034
18034
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18035
18035
|
key: 0,
|
|
18036
18036
|
label: props.label,
|
|
18037
|
-
required: vue.unref(
|
|
18037
|
+
required: vue.unref(isRequired),
|
|
18038
18038
|
rules: vue.unref(rules),
|
|
18039
18039
|
disabled: vue.unref(isDisabled),
|
|
18040
18040
|
placeholder: props.placeholder,
|
|
@@ -18109,7 +18109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18109
18109
|
const props = __props;
|
|
18110
18110
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
18111
18111
|
const {
|
|
18112
|
-
isRequired
|
|
18112
|
+
isRequired,
|
|
18113
18113
|
isReadonly,
|
|
18114
18114
|
isGone,
|
|
18115
18115
|
isDisabled,
|
|
@@ -18166,7 +18166,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18166
18166
|
return !vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
18167
18167
|
key: 0,
|
|
18168
18168
|
label: props.label,
|
|
18169
|
-
required: vue.unref(
|
|
18169
|
+
required: vue.unref(isRequired),
|
|
18170
18170
|
rules: vue.unref(rules)
|
|
18171
18171
|
}, {
|
|
18172
18172
|
input: vue.withCtx(() => [vue.createVNode(_component_van_checkbox_group, {
|
|
@@ -18535,7 +18535,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18535
18535
|
isShow: false
|
|
18536
18536
|
});
|
|
18537
18537
|
const {
|
|
18538
|
-
isRequired
|
|
18538
|
+
isRequired,
|
|
18539
18539
|
isReadonly,
|
|
18540
18540
|
isGone,
|
|
18541
18541
|
isDisabled,
|
|
@@ -18583,7 +18583,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18583
18583
|
readonly: vue.unref(isReadonly),
|
|
18584
18584
|
clearable: "",
|
|
18585
18585
|
placeholder: props.placeholder,
|
|
18586
|
-
required: vue.unref(
|
|
18586
|
+
required: vue.unref(isRequired),
|
|
18587
18587
|
rules: vue.unref(rules),
|
|
18588
18588
|
"right-icon": vue.unref(rightIcon),
|
|
18589
18589
|
onClickRightIcon: onToggleShow
|
|
@@ -18725,7 +18725,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18725
18725
|
}) {
|
|
18726
18726
|
const props = __props;
|
|
18727
18727
|
const {
|
|
18728
|
-
isRequired
|
|
18728
|
+
isRequired,
|
|
18729
18729
|
isReadonly,
|
|
18730
18730
|
isGone,
|
|
18731
18731
|
isDisabled,
|
|
@@ -18884,7 +18884,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18884
18884
|
autosize: "",
|
|
18885
18885
|
modelValue: vue.unref(selectdItemsLabel),
|
|
18886
18886
|
clearable: "",
|
|
18887
|
-
required: vue.unref(
|
|
18887
|
+
required: vue.unref(isRequired),
|
|
18888
18888
|
label: __props.label,
|
|
18889
18889
|
name: __props.name
|
|
18890
18890
|
}, _ctx.$attrs, {
|
|
@@ -19135,7 +19135,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19135
19135
|
}) {
|
|
19136
19136
|
const props = __props;
|
|
19137
19137
|
const {
|
|
19138
|
-
isRequired
|
|
19138
|
+
isRequired,
|
|
19139
19139
|
isGone,
|
|
19140
19140
|
isDisabled,
|
|
19141
19141
|
isReadonly
|
|
@@ -19344,7 +19344,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19344
19344
|
placeholder: props.placeholder,
|
|
19345
19345
|
onClick: onShow,
|
|
19346
19346
|
"right-icon": vue.unref(isReadonly) ? "" : "arrow",
|
|
19347
|
-
required: vue.unref(
|
|
19347
|
+
required: vue.unref(isRequired),
|
|
19348
19348
|
rules: __props.rules,
|
|
19349
19349
|
type: "textarea",
|
|
19350
19350
|
autosize: "true",
|
|
@@ -19497,7 +19497,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19497
19497
|
}) {
|
|
19498
19498
|
const props = __props;
|
|
19499
19499
|
const {
|
|
19500
|
-
isRequired
|
|
19500
|
+
isRequired,
|
|
19501
19501
|
isReadonly,
|
|
19502
19502
|
isGone,
|
|
19503
19503
|
isDisabled,
|
|
@@ -20004,7 +20004,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20004
20004
|
const props = __props;
|
|
20005
20005
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20006
20006
|
const {
|
|
20007
|
-
isRequired
|
|
20007
|
+
isRequired,
|
|
20008
20008
|
isReadonly,
|
|
20009
20009
|
isGone,
|
|
20010
20010
|
isDisabled,
|
|
@@ -20049,7 +20049,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20049
20049
|
key: 0,
|
|
20050
20050
|
name: "image",
|
|
20051
20051
|
label: props.label,
|
|
20052
|
-
required: vue.unref(
|
|
20052
|
+
required: vue.unref(isRequired),
|
|
20053
20053
|
rules: vue.unref(rules),
|
|
20054
20054
|
"label-class": "label",
|
|
20055
20055
|
placeholder: props.placeholder
|
|
@@ -20144,7 +20144,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20144
20144
|
const props = __props;
|
|
20145
20145
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20146
20146
|
const {
|
|
20147
|
-
isRequired
|
|
20147
|
+
isRequired,
|
|
20148
20148
|
isReadonly,
|
|
20149
20149
|
isGone,
|
|
20150
20150
|
isDisabled,
|
|
@@ -20242,7 +20242,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20242
20242
|
return vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
20243
20243
|
name: "image",
|
|
20244
20244
|
label: props.label,
|
|
20245
|
-
required: vue.unref(
|
|
20245
|
+
required: vue.unref(isRequired),
|
|
20246
20246
|
rules: vue.unref(rules),
|
|
20247
20247
|
"label-class": "label",
|
|
20248
20248
|
placeholder: props.placeholder
|
|
@@ -20256,7 +20256,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20256
20256
|
capture: props.capture,
|
|
20257
20257
|
accept: "image/jpeg,image/png",
|
|
20258
20258
|
disabled: vue.unref(isDisabled),
|
|
20259
|
-
deletable: !vue.unref(
|
|
20259
|
+
deletable: !vue.unref(isRequired) && !vue.unref(isDisabled),
|
|
20260
20260
|
afterRead: onAfterRead,
|
|
20261
20261
|
"before-delete": onBeforeDelete,
|
|
20262
20262
|
"show-upload": !vue.unref(isReadonly)
|
|
@@ -20347,7 +20347,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20347
20347
|
const props = __props;
|
|
20348
20348
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20349
20349
|
const {
|
|
20350
|
-
isRequired
|
|
20350
|
+
isRequired,
|
|
20351
20351
|
isReadonly,
|
|
20352
20352
|
isGone,
|
|
20353
20353
|
isDisabled,
|
|
@@ -20432,7 +20432,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20432
20432
|
key: 0,
|
|
20433
20433
|
name: "image",
|
|
20434
20434
|
label: props.label,
|
|
20435
|
-
required: vue.unref(
|
|
20435
|
+
required: vue.unref(isRequired),
|
|
20436
20436
|
rules: vue.unref(rules),
|
|
20437
20437
|
"label-class": "label",
|
|
20438
20438
|
placeholder: props.placeholder
|
|
@@ -20525,7 +20525,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20525
20525
|
const show = vue.ref(false);
|
|
20526
20526
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20527
20527
|
const {
|
|
20528
|
-
isRequired
|
|
20528
|
+
isRequired,
|
|
20529
20529
|
isReadonly,
|
|
20530
20530
|
isGone,
|
|
20531
20531
|
isDisabled,
|
|
@@ -20735,7 +20735,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20735
20735
|
placeholder: props.placeholder,
|
|
20736
20736
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !vue.unref(isReadonly)),
|
|
20737
20737
|
"model-value": selectedUserInfo.value,
|
|
20738
|
-
required: vue.unref(
|
|
20738
|
+
required: vue.unref(isRequired),
|
|
20739
20739
|
rules: vue.unref(rules),
|
|
20740
20740
|
"input-align": "center"
|
|
20741
20741
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
@@ -21140,7 +21140,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21140
21140
|
});
|
|
21141
21141
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21142
21142
|
const {
|
|
21143
|
-
isRequired
|
|
21143
|
+
isRequired,
|
|
21144
21144
|
isReadonly,
|
|
21145
21145
|
isGone,
|
|
21146
21146
|
isDisabled,
|
|
@@ -21180,7 +21180,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21180
21180
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21181
21181
|
key: 0,
|
|
21182
21182
|
label: props.label,
|
|
21183
|
-
required: vue.unref(
|
|
21183
|
+
required: vue.unref(isRequired),
|
|
21184
21184
|
rules: vue.unref(rules),
|
|
21185
21185
|
disabled: vue.unref(isDisabled),
|
|
21186
21186
|
placeholder: props.placeholder,
|
|
@@ -21265,7 +21265,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21265
21265
|
});
|
|
21266
21266
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21267
21267
|
const {
|
|
21268
|
-
isRequired
|
|
21268
|
+
isRequired,
|
|
21269
21269
|
isReadonly,
|
|
21270
21270
|
isGone,
|
|
21271
21271
|
isDisabled,
|
|
@@ -21299,7 +21299,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21299
21299
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21300
21300
|
key: 0,
|
|
21301
21301
|
label: props.label,
|
|
21302
|
-
required: vue.unref(
|
|
21302
|
+
required: vue.unref(isRequired),
|
|
21303
21303
|
rules: vue.unref(rules),
|
|
21304
21304
|
disabled: vue.unref(isDisabled),
|
|
21305
21305
|
placeholder: props.placeholder,
|
|
@@ -21744,7 +21744,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21744
21744
|
const props = __props;
|
|
21745
21745
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21746
21746
|
const {
|
|
21747
|
-
isRequired
|
|
21747
|
+
isRequired,
|
|
21748
21748
|
isReadonly,
|
|
21749
21749
|
isGone,
|
|
21750
21750
|
isDisabled,
|
|
@@ -21765,7 +21765,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21765
21765
|
key: 0,
|
|
21766
21766
|
label: props.label,
|
|
21767
21767
|
disabled: vue.unref(isDisabled),
|
|
21768
|
-
required: vue.unref(
|
|
21768
|
+
required: vue.unref(isRequired),
|
|
21769
21769
|
placeholder: props.placeholder
|
|
21770
21770
|
}, {
|
|
21771
21771
|
input: vue.withCtx(() => [vue.createVNode(_component_van_switch, {
|
|
@@ -21823,7 +21823,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21823
21823
|
const props = __props;
|
|
21824
21824
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21825
21825
|
const {
|
|
21826
|
-
isRequired
|
|
21826
|
+
isRequired,
|
|
21827
21827
|
isReadonly,
|
|
21828
21828
|
isGone,
|
|
21829
21829
|
isDisabled,
|
|
@@ -21850,7 +21850,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21850
21850
|
key: 0,
|
|
21851
21851
|
label: props.label,
|
|
21852
21852
|
disabled: vue.unref(isDisabled),
|
|
21853
|
-
required: vue.unref(
|
|
21853
|
+
required: vue.unref(isRequired),
|
|
21854
21854
|
rules: vue.unref(rules),
|
|
21855
21855
|
placeholder: props.placeholder
|
|
21856
21856
|
}, {
|
|
@@ -21989,7 +21989,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21989
21989
|
});
|
|
21990
21990
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21991
21991
|
const {
|
|
21992
|
-
isRequired
|
|
21992
|
+
isRequired,
|
|
21993
21993
|
isReadonly,
|
|
21994
21994
|
isGone,
|
|
21995
21995
|
isDisabled,
|
|
@@ -22026,7 +22026,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22026
22026
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
22027
22027
|
key: 0,
|
|
22028
22028
|
label: props.label,
|
|
22029
|
-
required: vue.unref(
|
|
22029
|
+
required: vue.unref(isRequired),
|
|
22030
22030
|
rules: vue.unref(rules),
|
|
22031
22031
|
disabled: vue.unref(isDisabled),
|
|
22032
22032
|
placeholder: props.placeholder,
|
|
@@ -22398,7 +22398,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22398
22398
|
});
|
|
22399
22399
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22400
22400
|
const {
|
|
22401
|
-
isRequired
|
|
22401
|
+
isRequired,
|
|
22402
22402
|
isReadonly,
|
|
22403
22403
|
isGone,
|
|
22404
22404
|
isDisabled,
|
|
@@ -22457,7 +22457,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22457
22457
|
key: 0,
|
|
22458
22458
|
label: props.label,
|
|
22459
22459
|
readonly: "",
|
|
22460
|
-
required: vue.unref(
|
|
22460
|
+
required: vue.unref(isRequired),
|
|
22461
22461
|
rules: vue.unref(rules),
|
|
22462
22462
|
disabled: vue.unref(isDisabled),
|
|
22463
22463
|
placeholder: props.placeholder,
|
|
@@ -22550,7 +22550,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22550
22550
|
const props = __props;
|
|
22551
22551
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22552
22552
|
const {
|
|
22553
|
-
isRequired
|
|
22553
|
+
isRequired,
|
|
22554
22554
|
isReadonly,
|
|
22555
22555
|
isGone,
|
|
22556
22556
|
isDisabled,
|
|
@@ -22595,7 +22595,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22595
22595
|
placeholder: props.placeholder,
|
|
22596
22596
|
rules: vue.unref(rules),
|
|
22597
22597
|
readonly: "",
|
|
22598
|
-
required: vue.unref(
|
|
22598
|
+
required: vue.unref(isRequired),
|
|
22599
22599
|
disabled: vue.unref(isDisabled),
|
|
22600
22600
|
onClick: onShow
|
|
22601
22601
|
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
@@ -22699,7 +22699,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22699
22699
|
const props = __props;
|
|
22700
22700
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22701
22701
|
const {
|
|
22702
|
-
isRequired
|
|
22702
|
+
isRequired,
|
|
22703
22703
|
isReadonly,
|
|
22704
22704
|
isGone,
|
|
22705
22705
|
isDisabled,
|
|
@@ -22842,7 +22842,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22842
22842
|
key: 0,
|
|
22843
22843
|
label: props.label,
|
|
22844
22844
|
disabled: vue.unref(isDisabled),
|
|
22845
|
-
required: vue.unref(
|
|
22845
|
+
required: vue.unref(isRequired),
|
|
22846
22846
|
placeholder: props.placeholder,
|
|
22847
22847
|
rules: vue.unref(rules)
|
|
22848
22848
|
}, {
|
package/package.json
CHANGED