widget.qw 1.0.90 → 1.0.92
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/style.css
CHANGED
|
@@ -139,10 +139,10 @@
|
|
|
139
139
|
margin: 0 8px 8px 0;
|
|
140
140
|
padding: 2px 5px;
|
|
141
141
|
}
|
|
142
|
-
[data-v-
|
|
142
|
+
[data-v-c848ffbc] .label {
|
|
143
143
|
color: #000 !important;
|
|
144
144
|
}
|
|
145
|
-
[data-v-
|
|
145
|
+
[data-v-c848ffbc] .van-field__control:disabled {
|
|
146
146
|
color: #000 !important;
|
|
147
147
|
cursor: not-allowed;
|
|
148
148
|
opacity: 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,
|
|
@@ -18066,7 +18066,7 @@ const _sfc_main$s = {
|
|
|
18066
18066
|
}
|
|
18067
18067
|
};
|
|
18068
18068
|
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0d491607"]]);
|
|
18069
|
-
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
18069
|
+
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-c848ffbc] .label {\n color: #000 !important;\n}\n[data-v-c848ffbc] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18070
18070
|
const _sfc_main$r = {
|
|
18071
18071
|
__name: "CheckGroup",
|
|
18072
18072
|
props: {
|
|
@@ -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,8 @@ 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
|
+
modelValue: unref(modelValue),
|
|
18167
18168
|
rules: unref(rules)
|
|
18168
18169
|
}, {
|
|
18169
18170
|
input: withCtx(() => [createVNode(_component_van_checkbox_group, {
|
|
@@ -18188,11 +18189,11 @@ const _sfc_main$r = {
|
|
|
18188
18189
|
_: 1
|
|
18189
18190
|
}, 8, ["modelValue", "disabled"])]),
|
|
18190
18191
|
_: 1
|
|
18191
|
-
}, 8, ["label", "required", "rules"])) : createCommentVNode("", true);
|
|
18192
|
+
}, 8, ["label", "required", "modelValue", "rules"])) : createCommentVNode("", true);
|
|
18192
18193
|
};
|
|
18193
18194
|
}
|
|
18194
18195
|
};
|
|
18195
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
18196
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-c848ffbc"]]);
|
|
18196
18197
|
const _sfc_main$q = {
|
|
18197
18198
|
__name: "DatetimePop",
|
|
18198
18199
|
props: {
|
|
@@ -18532,7 +18533,7 @@ const _sfc_main$p = {
|
|
|
18532
18533
|
isShow: false
|
|
18533
18534
|
});
|
|
18534
18535
|
const {
|
|
18535
|
-
isRequired
|
|
18536
|
+
isRequired,
|
|
18536
18537
|
isReadonly,
|
|
18537
18538
|
isGone,
|
|
18538
18539
|
isDisabled,
|
|
@@ -18580,7 +18581,7 @@ const _sfc_main$p = {
|
|
|
18580
18581
|
readonly: unref(isReadonly),
|
|
18581
18582
|
clearable: "",
|
|
18582
18583
|
placeholder: props.placeholder,
|
|
18583
|
-
required: unref(
|
|
18584
|
+
required: unref(isRequired),
|
|
18584
18585
|
rules: unref(rules),
|
|
18585
18586
|
"right-icon": unref(rightIcon),
|
|
18586
18587
|
onClickRightIcon: onToggleShow
|
|
@@ -18722,7 +18723,7 @@ const _sfc_main$n = {
|
|
|
18722
18723
|
}) {
|
|
18723
18724
|
const props = __props;
|
|
18724
18725
|
const {
|
|
18725
|
-
isRequired
|
|
18726
|
+
isRequired,
|
|
18726
18727
|
isReadonly,
|
|
18727
18728
|
isGone,
|
|
18728
18729
|
isDisabled,
|
|
@@ -18881,7 +18882,7 @@ const _sfc_main$n = {
|
|
|
18881
18882
|
autosize: "",
|
|
18882
18883
|
modelValue: unref(selectdItemsLabel),
|
|
18883
18884
|
clearable: "",
|
|
18884
|
-
required: unref(
|
|
18885
|
+
required: unref(isRequired),
|
|
18885
18886
|
label: __props.label,
|
|
18886
18887
|
name: __props.name
|
|
18887
18888
|
}, _ctx.$attrs, {
|
|
@@ -19132,7 +19133,7 @@ const _sfc_main$l = {
|
|
|
19132
19133
|
}) {
|
|
19133
19134
|
const props = __props;
|
|
19134
19135
|
const {
|
|
19135
|
-
isRequired
|
|
19136
|
+
isRequired,
|
|
19136
19137
|
isGone,
|
|
19137
19138
|
isDisabled,
|
|
19138
19139
|
isReadonly
|
|
@@ -19341,7 +19342,7 @@ const _sfc_main$l = {
|
|
|
19341
19342
|
placeholder: props.placeholder,
|
|
19342
19343
|
onClick: onShow,
|
|
19343
19344
|
"right-icon": unref(isReadonly) ? "" : "arrow",
|
|
19344
|
-
required: unref(
|
|
19345
|
+
required: unref(isRequired),
|
|
19345
19346
|
rules: __props.rules,
|
|
19346
19347
|
type: "textarea",
|
|
19347
19348
|
autosize: "true",
|
|
@@ -19494,7 +19495,7 @@ const _sfc_main$k = {
|
|
|
19494
19495
|
}) {
|
|
19495
19496
|
const props = __props;
|
|
19496
19497
|
const {
|
|
19497
|
-
isRequired
|
|
19498
|
+
isRequired,
|
|
19498
19499
|
isReadonly,
|
|
19499
19500
|
isGone,
|
|
19500
19501
|
isDisabled,
|
|
@@ -20001,7 +20002,7 @@ const _sfc_main$j = {
|
|
|
20001
20002
|
const props = __props;
|
|
20002
20003
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20003
20004
|
const {
|
|
20004
|
-
isRequired
|
|
20005
|
+
isRequired,
|
|
20005
20006
|
isReadonly,
|
|
20006
20007
|
isGone,
|
|
20007
20008
|
isDisabled,
|
|
@@ -20046,7 +20047,7 @@ const _sfc_main$j = {
|
|
|
20046
20047
|
key: 0,
|
|
20047
20048
|
name: "image",
|
|
20048
20049
|
label: props.label,
|
|
20049
|
-
required: unref(
|
|
20050
|
+
required: unref(isRequired),
|
|
20050
20051
|
rules: unref(rules),
|
|
20051
20052
|
"label-class": "label",
|
|
20052
20053
|
placeholder: props.placeholder
|
|
@@ -20141,7 +20142,7 @@ const _sfc_main$i = {
|
|
|
20141
20142
|
const props = __props;
|
|
20142
20143
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20143
20144
|
const {
|
|
20144
|
-
isRequired
|
|
20145
|
+
isRequired,
|
|
20145
20146
|
isReadonly,
|
|
20146
20147
|
isGone,
|
|
20147
20148
|
isDisabled,
|
|
@@ -20239,7 +20240,7 @@ const _sfc_main$i = {
|
|
|
20239
20240
|
return openBlock(), createBlock(_component_van_field, {
|
|
20240
20241
|
name: "image",
|
|
20241
20242
|
label: props.label,
|
|
20242
|
-
required: unref(
|
|
20243
|
+
required: unref(isRequired),
|
|
20243
20244
|
rules: unref(rules),
|
|
20244
20245
|
"label-class": "label",
|
|
20245
20246
|
placeholder: props.placeholder
|
|
@@ -20253,7 +20254,7 @@ const _sfc_main$i = {
|
|
|
20253
20254
|
capture: props.capture,
|
|
20254
20255
|
accept: "image/jpeg,image/png",
|
|
20255
20256
|
disabled: unref(isDisabled),
|
|
20256
|
-
deletable: !unref(
|
|
20257
|
+
deletable: !unref(isRequired) && !unref(isDisabled),
|
|
20257
20258
|
afterRead: onAfterRead,
|
|
20258
20259
|
"before-delete": onBeforeDelete,
|
|
20259
20260
|
"show-upload": !unref(isReadonly)
|
|
@@ -20344,7 +20345,7 @@ const _sfc_main$h = {
|
|
|
20344
20345
|
const props = __props;
|
|
20345
20346
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20346
20347
|
const {
|
|
20347
|
-
isRequired
|
|
20348
|
+
isRequired,
|
|
20348
20349
|
isReadonly,
|
|
20349
20350
|
isGone,
|
|
20350
20351
|
isDisabled,
|
|
@@ -20429,7 +20430,7 @@ const _sfc_main$h = {
|
|
|
20429
20430
|
key: 0,
|
|
20430
20431
|
name: "image",
|
|
20431
20432
|
label: props.label,
|
|
20432
|
-
required: unref(
|
|
20433
|
+
required: unref(isRequired),
|
|
20433
20434
|
rules: unref(rules),
|
|
20434
20435
|
"label-class": "label",
|
|
20435
20436
|
placeholder: props.placeholder
|
|
@@ -20522,7 +20523,7 @@ const _sfc_main$g = {
|
|
|
20522
20523
|
const show = ref(false);
|
|
20523
20524
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20524
20525
|
const {
|
|
20525
|
-
isRequired
|
|
20526
|
+
isRequired,
|
|
20526
20527
|
isReadonly,
|
|
20527
20528
|
isGone,
|
|
20528
20529
|
isDisabled,
|
|
@@ -20732,7 +20733,7 @@ const _sfc_main$g = {
|
|
|
20732
20733
|
placeholder: props.placeholder,
|
|
20733
20734
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !unref(isReadonly)),
|
|
20734
20735
|
"model-value": selectedUserInfo.value,
|
|
20735
|
-
required: unref(
|
|
20736
|
+
required: unref(isRequired),
|
|
20736
20737
|
rules: unref(rules),
|
|
20737
20738
|
"input-align": "center"
|
|
20738
20739
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
@@ -21137,7 +21138,7 @@ const _sfc_main$e = {
|
|
|
21137
21138
|
});
|
|
21138
21139
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21139
21140
|
const {
|
|
21140
|
-
isRequired
|
|
21141
|
+
isRequired,
|
|
21141
21142
|
isReadonly,
|
|
21142
21143
|
isGone,
|
|
21143
21144
|
isDisabled,
|
|
@@ -21177,7 +21178,7 @@ const _sfc_main$e = {
|
|
|
21177
21178
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21178
21179
|
key: 0,
|
|
21179
21180
|
label: props.label,
|
|
21180
|
-
required: unref(
|
|
21181
|
+
required: unref(isRequired),
|
|
21181
21182
|
rules: unref(rules),
|
|
21182
21183
|
disabled: unref(isDisabled),
|
|
21183
21184
|
placeholder: props.placeholder,
|
|
@@ -21262,7 +21263,7 @@ const _sfc_main$d = {
|
|
|
21262
21263
|
});
|
|
21263
21264
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21264
21265
|
const {
|
|
21265
|
-
isRequired
|
|
21266
|
+
isRequired,
|
|
21266
21267
|
isReadonly,
|
|
21267
21268
|
isGone,
|
|
21268
21269
|
isDisabled,
|
|
@@ -21296,7 +21297,7 @@ const _sfc_main$d = {
|
|
|
21296
21297
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
21297
21298
|
key: 0,
|
|
21298
21299
|
label: props.label,
|
|
21299
|
-
required: unref(
|
|
21300
|
+
required: unref(isRequired),
|
|
21300
21301
|
rules: unref(rules),
|
|
21301
21302
|
disabled: unref(isDisabled),
|
|
21302
21303
|
placeholder: props.placeholder,
|
|
@@ -21741,7 +21742,7 @@ const _sfc_main$7 = {
|
|
|
21741
21742
|
const props = __props;
|
|
21742
21743
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21743
21744
|
const {
|
|
21744
|
-
isRequired
|
|
21745
|
+
isRequired,
|
|
21745
21746
|
isReadonly,
|
|
21746
21747
|
isGone,
|
|
21747
21748
|
isDisabled,
|
|
@@ -21762,7 +21763,7 @@ const _sfc_main$7 = {
|
|
|
21762
21763
|
key: 0,
|
|
21763
21764
|
label: props.label,
|
|
21764
21765
|
disabled: unref(isDisabled),
|
|
21765
|
-
required: unref(
|
|
21766
|
+
required: unref(isRequired),
|
|
21766
21767
|
placeholder: props.placeholder
|
|
21767
21768
|
}, {
|
|
21768
21769
|
input: withCtx(() => [createVNode(_component_van_switch, {
|
|
@@ -21820,7 +21821,7 @@ const _sfc_main$6 = {
|
|
|
21820
21821
|
const props = __props;
|
|
21821
21822
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21822
21823
|
const {
|
|
21823
|
-
isRequired
|
|
21824
|
+
isRequired,
|
|
21824
21825
|
isReadonly,
|
|
21825
21826
|
isGone,
|
|
21826
21827
|
isDisabled,
|
|
@@ -21847,7 +21848,7 @@ const _sfc_main$6 = {
|
|
|
21847
21848
|
key: 0,
|
|
21848
21849
|
label: props.label,
|
|
21849
21850
|
disabled: unref(isDisabled),
|
|
21850
|
-
required: unref(
|
|
21851
|
+
required: unref(isRequired),
|
|
21851
21852
|
rules: unref(rules),
|
|
21852
21853
|
placeholder: props.placeholder
|
|
21853
21854
|
}, {
|
|
@@ -21986,7 +21987,7 @@ const _sfc_main$4 = {
|
|
|
21986
21987
|
});
|
|
21987
21988
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21988
21989
|
const {
|
|
21989
|
-
isRequired
|
|
21990
|
+
isRequired,
|
|
21990
21991
|
isReadonly,
|
|
21991
21992
|
isGone,
|
|
21992
21993
|
isDisabled,
|
|
@@ -22023,7 +22024,7 @@ const _sfc_main$4 = {
|
|
|
22023
22024
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
22024
22025
|
key: 0,
|
|
22025
22026
|
label: props.label,
|
|
22026
|
-
required: unref(
|
|
22027
|
+
required: unref(isRequired),
|
|
22027
22028
|
rules: unref(rules),
|
|
22028
22029
|
disabled: unref(isDisabled),
|
|
22029
22030
|
placeholder: props.placeholder,
|
|
@@ -22395,7 +22396,7 @@ const _sfc_main$2 = {
|
|
|
22395
22396
|
});
|
|
22396
22397
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22397
22398
|
const {
|
|
22398
|
-
isRequired
|
|
22399
|
+
isRequired,
|
|
22399
22400
|
isReadonly,
|
|
22400
22401
|
isGone,
|
|
22401
22402
|
isDisabled,
|
|
@@ -22453,8 +22454,9 @@ const _sfc_main$2 = {
|
|
|
22453
22454
|
return openBlock(), createElementBlock(Fragment, null, [!unref(isGone) ? (openBlock(), createBlock(_component_van_field, {
|
|
22454
22455
|
key: 0,
|
|
22455
22456
|
label: props.label,
|
|
22457
|
+
modelValue: unref(modelValue),
|
|
22456
22458
|
readonly: "",
|
|
22457
|
-
required: unref(
|
|
22459
|
+
required: unref(isRequired),
|
|
22458
22460
|
rules: unref(rules),
|
|
22459
22461
|
disabled: unref(isDisabled),
|
|
22460
22462
|
placeholder: props.placeholder,
|
|
@@ -22495,7 +22497,7 @@ const _sfc_main$2 = {
|
|
|
22495
22497
|
_: 2
|
|
22496
22498
|
}, 1032, ["closeable", "onClose"]);
|
|
22497
22499
|
}), 128)) : createCommentVNode("", true)])])
|
|
22498
|
-
} : void 0]), 1032, ["label", "required", "rules", "disabled", "placeholder", "is-link"])) : createCommentVNode("", true), createVNode(CascaderPop, {
|
|
22500
|
+
} : void 0]), 1032, ["label", "modelValue", "required", "rules", "disabled", "placeholder", "is-link"])) : createCommentVNode("", true), createVNode(CascaderPop, {
|
|
22499
22501
|
show: data2.isShowPop,
|
|
22500
22502
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
|
|
22501
22503
|
modelValue: data2.selectedNodeId,
|
|
@@ -22547,7 +22549,7 @@ const _sfc_main$1 = {
|
|
|
22547
22549
|
const props = __props;
|
|
22548
22550
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22549
22551
|
const {
|
|
22550
|
-
isRequired
|
|
22552
|
+
isRequired,
|
|
22551
22553
|
isReadonly,
|
|
22552
22554
|
isGone,
|
|
22553
22555
|
isDisabled,
|
|
@@ -22592,7 +22594,7 @@ const _sfc_main$1 = {
|
|
|
22592
22594
|
placeholder: props.placeholder,
|
|
22593
22595
|
rules: unref(rules),
|
|
22594
22596
|
readonly: "",
|
|
22595
|
-
required: unref(
|
|
22597
|
+
required: unref(isRequired),
|
|
22596
22598
|
disabled: unref(isDisabled),
|
|
22597
22599
|
onClick: onShow
|
|
22598
22600
|
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : createCommentVNode("", true), createVNode(_component_van_popup, {
|
|
@@ -22696,7 +22698,7 @@ const _sfc_main = {
|
|
|
22696
22698
|
const props = __props;
|
|
22697
22699
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22698
22700
|
const {
|
|
22699
|
-
isRequired
|
|
22701
|
+
isRequired,
|
|
22700
22702
|
isReadonly,
|
|
22701
22703
|
isGone,
|
|
22702
22704
|
isDisabled,
|
|
@@ -22839,7 +22841,7 @@ const _sfc_main = {
|
|
|
22839
22841
|
key: 0,
|
|
22840
22842
|
label: props.label,
|
|
22841
22843
|
disabled: unref(isDisabled),
|
|
22842
|
-
required: unref(
|
|
22844
|
+
required: unref(isRequired),
|
|
22843
22845
|
placeholder: props.placeholder,
|
|
22844
22846
|
rules: unref(rules)
|
|
22845
22847
|
}, {
|
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,
|
|
@@ -18069,7 +18069,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18069
18069
|
}
|
|
18070
18070
|
};
|
|
18071
18071
|
var MultiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0d491607"]]);
|
|
18072
|
-
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-
|
|
18072
|
+
var CheckGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "[data-v-c848ffbc] .label {\n color: #000 !important;\n}\n[data-v-c848ffbc] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
|
|
18073
18073
|
const _sfc_main$r = {
|
|
18074
18074
|
__name: "CheckGroup",
|
|
18075
18075
|
props: {
|
|
@@ -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,8 @@ 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
|
+
modelValue: vue.unref(modelValue),
|
|
18170
18171
|
rules: vue.unref(rules)
|
|
18171
18172
|
}, {
|
|
18172
18173
|
input: vue.withCtx(() => [vue.createVNode(_component_van_checkbox_group, {
|
|
@@ -18191,11 +18192,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18191
18192
|
_: 1
|
|
18192
18193
|
}, 8, ["modelValue", "disabled"])]),
|
|
18193
18194
|
_: 1
|
|
18194
|
-
}, 8, ["label", "required", "rules"])) : vue.createCommentVNode("", true);
|
|
18195
|
+
}, 8, ["label", "required", "modelValue", "rules"])) : vue.createCommentVNode("", true);
|
|
18195
18196
|
};
|
|
18196
18197
|
}
|
|
18197
18198
|
};
|
|
18198
|
-
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
18199
|
+
var CheckGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-c848ffbc"]]);
|
|
18199
18200
|
const _sfc_main$q = {
|
|
18200
18201
|
__name: "DatetimePop",
|
|
18201
18202
|
props: {
|
|
@@ -18535,7 +18536,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18535
18536
|
isShow: false
|
|
18536
18537
|
});
|
|
18537
18538
|
const {
|
|
18538
|
-
isRequired
|
|
18539
|
+
isRequired,
|
|
18539
18540
|
isReadonly,
|
|
18540
18541
|
isGone,
|
|
18541
18542
|
isDisabled,
|
|
@@ -18583,7 +18584,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18583
18584
|
readonly: vue.unref(isReadonly),
|
|
18584
18585
|
clearable: "",
|
|
18585
18586
|
placeholder: props.placeholder,
|
|
18586
|
-
required: vue.unref(
|
|
18587
|
+
required: vue.unref(isRequired),
|
|
18587
18588
|
rules: vue.unref(rules),
|
|
18588
18589
|
"right-icon": vue.unref(rightIcon),
|
|
18589
18590
|
onClickRightIcon: onToggleShow
|
|
@@ -18725,7 +18726,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18725
18726
|
}) {
|
|
18726
18727
|
const props = __props;
|
|
18727
18728
|
const {
|
|
18728
|
-
isRequired
|
|
18729
|
+
isRequired,
|
|
18729
18730
|
isReadonly,
|
|
18730
18731
|
isGone,
|
|
18731
18732
|
isDisabled,
|
|
@@ -18884,7 +18885,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18884
18885
|
autosize: "",
|
|
18885
18886
|
modelValue: vue.unref(selectdItemsLabel),
|
|
18886
18887
|
clearable: "",
|
|
18887
|
-
required: vue.unref(
|
|
18888
|
+
required: vue.unref(isRequired),
|
|
18888
18889
|
label: __props.label,
|
|
18889
18890
|
name: __props.name
|
|
18890
18891
|
}, _ctx.$attrs, {
|
|
@@ -19135,7 +19136,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19135
19136
|
}) {
|
|
19136
19137
|
const props = __props;
|
|
19137
19138
|
const {
|
|
19138
|
-
isRequired
|
|
19139
|
+
isRequired,
|
|
19139
19140
|
isGone,
|
|
19140
19141
|
isDisabled,
|
|
19141
19142
|
isReadonly
|
|
@@ -19344,7 +19345,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19344
19345
|
placeholder: props.placeholder,
|
|
19345
19346
|
onClick: onShow,
|
|
19346
19347
|
"right-icon": vue.unref(isReadonly) ? "" : "arrow",
|
|
19347
|
-
required: vue.unref(
|
|
19348
|
+
required: vue.unref(isRequired),
|
|
19348
19349
|
rules: __props.rules,
|
|
19349
19350
|
type: "textarea",
|
|
19350
19351
|
autosize: "true",
|
|
@@ -19497,7 +19498,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19497
19498
|
}) {
|
|
19498
19499
|
const props = __props;
|
|
19499
19500
|
const {
|
|
19500
|
-
isRequired
|
|
19501
|
+
isRequired,
|
|
19501
19502
|
isReadonly,
|
|
19502
19503
|
isGone,
|
|
19503
19504
|
isDisabled,
|
|
@@ -20004,7 +20005,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20004
20005
|
const props = __props;
|
|
20005
20006
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20006
20007
|
const {
|
|
20007
|
-
isRequired
|
|
20008
|
+
isRequired,
|
|
20008
20009
|
isReadonly,
|
|
20009
20010
|
isGone,
|
|
20010
20011
|
isDisabled,
|
|
@@ -20049,7 +20050,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20049
20050
|
key: 0,
|
|
20050
20051
|
name: "image",
|
|
20051
20052
|
label: props.label,
|
|
20052
|
-
required: vue.unref(
|
|
20053
|
+
required: vue.unref(isRequired),
|
|
20053
20054
|
rules: vue.unref(rules),
|
|
20054
20055
|
"label-class": "label",
|
|
20055
20056
|
placeholder: props.placeholder
|
|
@@ -20144,7 +20145,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20144
20145
|
const props = __props;
|
|
20145
20146
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20146
20147
|
const {
|
|
20147
|
-
isRequired
|
|
20148
|
+
isRequired,
|
|
20148
20149
|
isReadonly,
|
|
20149
20150
|
isGone,
|
|
20150
20151
|
isDisabled,
|
|
@@ -20242,7 +20243,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20242
20243
|
return vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
20243
20244
|
name: "image",
|
|
20244
20245
|
label: props.label,
|
|
20245
|
-
required: vue.unref(
|
|
20246
|
+
required: vue.unref(isRequired),
|
|
20246
20247
|
rules: vue.unref(rules),
|
|
20247
20248
|
"label-class": "label",
|
|
20248
20249
|
placeholder: props.placeholder
|
|
@@ -20256,7 +20257,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20256
20257
|
capture: props.capture,
|
|
20257
20258
|
accept: "image/jpeg,image/png",
|
|
20258
20259
|
disabled: vue.unref(isDisabled),
|
|
20259
|
-
deletable: !vue.unref(
|
|
20260
|
+
deletable: !vue.unref(isRequired) && !vue.unref(isDisabled),
|
|
20260
20261
|
afterRead: onAfterRead,
|
|
20261
20262
|
"before-delete": onBeforeDelete,
|
|
20262
20263
|
"show-upload": !vue.unref(isReadonly)
|
|
@@ -20347,7 +20348,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20347
20348
|
const props = __props;
|
|
20348
20349
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20349
20350
|
const {
|
|
20350
|
-
isRequired
|
|
20351
|
+
isRequired,
|
|
20351
20352
|
isReadonly,
|
|
20352
20353
|
isGone,
|
|
20353
20354
|
isDisabled,
|
|
@@ -20432,7 +20433,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20432
20433
|
key: 0,
|
|
20433
20434
|
name: "image",
|
|
20434
20435
|
label: props.label,
|
|
20435
|
-
required: vue.unref(
|
|
20436
|
+
required: vue.unref(isRequired),
|
|
20436
20437
|
rules: vue.unref(rules),
|
|
20437
20438
|
"label-class": "label",
|
|
20438
20439
|
placeholder: props.placeholder
|
|
@@ -20525,7 +20526,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20525
20526
|
const show = vue.ref(false);
|
|
20526
20527
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
20527
20528
|
const {
|
|
20528
|
-
isRequired
|
|
20529
|
+
isRequired,
|
|
20529
20530
|
isReadonly,
|
|
20530
20531
|
isGone,
|
|
20531
20532
|
isDisabled,
|
|
@@ -20735,7 +20736,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20735
20736
|
placeholder: props.placeholder,
|
|
20736
20737
|
onClick: _cache[0] || (_cache[0] = ($event) => show.value = !vue.unref(isReadonly)),
|
|
20737
20738
|
"model-value": selectedUserInfo.value,
|
|
20738
|
-
required: vue.unref(
|
|
20739
|
+
required: vue.unref(isRequired),
|
|
20739
20740
|
rules: vue.unref(rules),
|
|
20740
20741
|
"input-align": "center"
|
|
20741
20742
|
}, null, 8, ["is-link", "label", "placeholder", "model-value", "required", "rules"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
@@ -21140,7 +21141,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21140
21141
|
});
|
|
21141
21142
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21142
21143
|
const {
|
|
21143
|
-
isRequired
|
|
21144
|
+
isRequired,
|
|
21144
21145
|
isReadonly,
|
|
21145
21146
|
isGone,
|
|
21146
21147
|
isDisabled,
|
|
@@ -21180,7 +21181,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21180
21181
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21181
21182
|
key: 0,
|
|
21182
21183
|
label: props.label,
|
|
21183
|
-
required: vue.unref(
|
|
21184
|
+
required: vue.unref(isRequired),
|
|
21184
21185
|
rules: vue.unref(rules),
|
|
21185
21186
|
disabled: vue.unref(isDisabled),
|
|
21186
21187
|
placeholder: props.placeholder,
|
|
@@ -21265,7 +21266,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21265
21266
|
});
|
|
21266
21267
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21267
21268
|
const {
|
|
21268
|
-
isRequired
|
|
21269
|
+
isRequired,
|
|
21269
21270
|
isReadonly,
|
|
21270
21271
|
isGone,
|
|
21271
21272
|
isDisabled,
|
|
@@ -21299,7 +21300,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21299
21300
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
21300
21301
|
key: 0,
|
|
21301
21302
|
label: props.label,
|
|
21302
|
-
required: vue.unref(
|
|
21303
|
+
required: vue.unref(isRequired),
|
|
21303
21304
|
rules: vue.unref(rules),
|
|
21304
21305
|
disabled: vue.unref(isDisabled),
|
|
21305
21306
|
placeholder: props.placeholder,
|
|
@@ -21744,7 +21745,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21744
21745
|
const props = __props;
|
|
21745
21746
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21746
21747
|
const {
|
|
21747
|
-
isRequired
|
|
21748
|
+
isRequired,
|
|
21748
21749
|
isReadonly,
|
|
21749
21750
|
isGone,
|
|
21750
21751
|
isDisabled,
|
|
@@ -21765,7 +21766,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21765
21766
|
key: 0,
|
|
21766
21767
|
label: props.label,
|
|
21767
21768
|
disabled: vue.unref(isDisabled),
|
|
21768
|
-
required: vue.unref(
|
|
21769
|
+
required: vue.unref(isRequired),
|
|
21769
21770
|
placeholder: props.placeholder
|
|
21770
21771
|
}, {
|
|
21771
21772
|
input: vue.withCtx(() => [vue.createVNode(_component_van_switch, {
|
|
@@ -21823,7 +21824,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21823
21824
|
const props = __props;
|
|
21824
21825
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21825
21826
|
const {
|
|
21826
|
-
isRequired
|
|
21827
|
+
isRequired,
|
|
21827
21828
|
isReadonly,
|
|
21828
21829
|
isGone,
|
|
21829
21830
|
isDisabled,
|
|
@@ -21850,7 +21851,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21850
21851
|
key: 0,
|
|
21851
21852
|
label: props.label,
|
|
21852
21853
|
disabled: vue.unref(isDisabled),
|
|
21853
|
-
required: vue.unref(
|
|
21854
|
+
required: vue.unref(isRequired),
|
|
21854
21855
|
rules: vue.unref(rules),
|
|
21855
21856
|
placeholder: props.placeholder
|
|
21856
21857
|
}, {
|
|
@@ -21989,7 +21990,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21989
21990
|
});
|
|
21990
21991
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
21991
21992
|
const {
|
|
21992
|
-
isRequired
|
|
21993
|
+
isRequired,
|
|
21993
21994
|
isReadonly,
|
|
21994
21995
|
isGone,
|
|
21995
21996
|
isDisabled,
|
|
@@ -22026,7 +22027,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22026
22027
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
22027
22028
|
key: 0,
|
|
22028
22029
|
label: props.label,
|
|
22029
|
-
required: vue.unref(
|
|
22030
|
+
required: vue.unref(isRequired),
|
|
22030
22031
|
rules: vue.unref(rules),
|
|
22031
22032
|
disabled: vue.unref(isDisabled),
|
|
22032
22033
|
placeholder: props.placeholder,
|
|
@@ -22398,7 +22399,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22398
22399
|
});
|
|
22399
22400
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22400
22401
|
const {
|
|
22401
|
-
isRequired
|
|
22402
|
+
isRequired,
|
|
22402
22403
|
isReadonly,
|
|
22403
22404
|
isGone,
|
|
22404
22405
|
isDisabled,
|
|
@@ -22456,8 +22457,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22456
22457
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [!vue.unref(isGone) ? (vue.openBlock(), vue.createBlock(_component_van_field, {
|
|
22457
22458
|
key: 0,
|
|
22458
22459
|
label: props.label,
|
|
22460
|
+
modelValue: vue.unref(modelValue),
|
|
22459
22461
|
readonly: "",
|
|
22460
|
-
required: vue.unref(
|
|
22462
|
+
required: vue.unref(isRequired),
|
|
22461
22463
|
rules: vue.unref(rules),
|
|
22462
22464
|
disabled: vue.unref(isDisabled),
|
|
22463
22465
|
placeholder: props.placeholder,
|
|
@@ -22498,7 +22500,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22498
22500
|
_: 2
|
|
22499
22501
|
}, 1032, ["closeable", "onClose"]);
|
|
22500
22502
|
}), 128)) : vue.createCommentVNode("", true)])])
|
|
22501
|
-
} : void 0]), 1032, ["label", "required", "rules", "disabled", "placeholder", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(CascaderPop, {
|
|
22503
|
+
} : void 0]), 1032, ["label", "modelValue", "required", "rules", "disabled", "placeholder", "is-link"])) : vue.createCommentVNode("", true), vue.createVNode(CascaderPop, {
|
|
22502
22504
|
show: data2.isShowPop,
|
|
22503
22505
|
"onUpdate:show": _cache[1] || (_cache[1] = ($event) => data2.isShowPop = $event),
|
|
22504
22506
|
modelValue: data2.selectedNodeId,
|
|
@@ -22550,7 +22552,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22550
22552
|
const props = __props;
|
|
22551
22553
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22552
22554
|
const {
|
|
22553
|
-
isRequired
|
|
22555
|
+
isRequired,
|
|
22554
22556
|
isReadonly,
|
|
22555
22557
|
isGone,
|
|
22556
22558
|
isDisabled,
|
|
@@ -22595,7 +22597,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22595
22597
|
placeholder: props.placeholder,
|
|
22596
22598
|
rules: vue.unref(rules),
|
|
22597
22599
|
readonly: "",
|
|
22598
|
-
required: vue.unref(
|
|
22600
|
+
required: vue.unref(isRequired),
|
|
22599
22601
|
disabled: vue.unref(isDisabled),
|
|
22600
22602
|
onClick: onShow
|
|
22601
22603
|
}, null, 8, ["modelValue", "is-link", "label", "placeholder", "rules", "required", "disabled"])) : vue.createCommentVNode("", true), vue.createVNode(_component_van_popup, {
|
|
@@ -22699,7 +22701,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22699
22701
|
const props = __props;
|
|
22700
22702
|
const modelValue = useVModel(props, "modelValue", emit);
|
|
22701
22703
|
const {
|
|
22702
|
-
isRequired
|
|
22704
|
+
isRequired,
|
|
22703
22705
|
isReadonly,
|
|
22704
22706
|
isGone,
|
|
22705
22707
|
isDisabled,
|
|
@@ -22842,7 +22844,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22842
22844
|
key: 0,
|
|
22843
22845
|
label: props.label,
|
|
22844
22846
|
disabled: vue.unref(isDisabled),
|
|
22845
|
-
required: vue.unref(
|
|
22847
|
+
required: vue.unref(isRequired),
|
|
22846
22848
|
placeholder: props.placeholder,
|
|
22847
22849
|
rules: vue.unref(rules)
|
|
22848
22850
|
}, {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<van-field v-if="!isGone" :label="props.label" readonly :required="isRequired" :rules="rules"
|
|
2
|
+
<van-field v-if="!isGone" :label="props.label" :modelValue="modelValue" readonly :required="isRequired" :rules="rules"
|
|
3
3
|
:disabled="isDisabled" :placeholder="props.placeholder" :is-link="isReadonly ? false : true"
|
|
4
4
|
@click="data.isShowPop = !isReadonly" label-class="label">
|
|
5
5
|
<template #input v-if="modelValue">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<van-field v-if="!isGone" :label="props.label" :required="isRequired" :rules="rules">
|
|
2
|
+
<van-field v-if="!isGone" :label="props.label" :required="isRequired" :modelValue="modelValue" :rules="rules">
|
|
3
3
|
<template #input>
|
|
4
4
|
<van-checkbox-group v-model="modelValue" direction="vertical" :disabled="isDisabled">
|
|
5
5
|
<van-checkbox style="padding:5px 0;" v-for="(option, i) in totalOptions" :key="i" :name="option.code"
|