widget.qw 1.0.17 → 1.0.19
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
|
@@ -817,27 +817,27 @@
|
|
|
817
817
|
/* 防止压缩 */
|
|
818
818
|
}
|
|
819
819
|
|
|
820
|
-
.widget[data-v-
|
|
820
|
+
.widget[data-v-67868eb2] {
|
|
821
821
|
/* 统一字段间距 */
|
|
822
822
|
}
|
|
823
|
-
.widget[data-v-
|
|
823
|
+
.widget[data-v-67868eb2] .van-cell {
|
|
824
824
|
align-items: center;
|
|
825
825
|
}
|
|
826
|
-
.widget[data-v-
|
|
826
|
+
.widget[data-v-67868eb2] .van-field__label {
|
|
827
827
|
width: 90px;
|
|
828
828
|
flex: none;
|
|
829
829
|
}
|
|
830
|
-
.widget .readonly-field[data-v-
|
|
830
|
+
.widget .readonly-field[data-v-67868eb2] {
|
|
831
831
|
/* 添加必填星号对齐 */
|
|
832
832
|
}
|
|
833
|
-
.widget .readonly-field[data-v-
|
|
833
|
+
.widget .readonly-field[data-v-67868eb2] .van-field__control {
|
|
834
834
|
color: #323233;
|
|
835
835
|
/* 修改文字颜色与普通字段一致 */
|
|
836
836
|
padding-right: 16px;
|
|
837
837
|
}
|
|
838
|
-
.widget .readonly-field.van-field--required[data-v-
|
|
838
|
+
.widget .readonly-field.van-field--required[data-v-67868eb2] .van-field__label::before {
|
|
839
839
|
margin-right: 4px;
|
|
840
840
|
}
|
|
841
|
-
.widget .readonly-field[data-v-
|
|
841
|
+
.widget .readonly-field[data-v-67868eb2] {
|
|
842
842
|
margin: 4px 0;
|
|
843
843
|
}
|
package/build/widget.qw.es.js
CHANGED
|
@@ -20661,7 +20661,7 @@ const _sfc_main$1 = {
|
|
|
20661
20661
|
};
|
|
20662
20662
|
}
|
|
20663
20663
|
};
|
|
20664
|
-
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-
|
|
20664
|
+
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-67868eb2] {\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n}\n.widget[data-v-67868eb2] .van-cell {\n align-items: center;\n}\n.widget[data-v-67868eb2] .van-field__label {\n width: 90px;\n flex: none;\n}\n.widget .readonly-field[data-v-67868eb2] {\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n}\n.widget .readonly-field[data-v-67868eb2] .van-field__control {\n color: #323233;\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\n padding-right: 16px;\n}\n.widget .readonly-field.van-field--required[data-v-67868eb2] .van-field__label::before {\n margin-right: 4px;\n}\n.widget .readonly-field[data-v-67868eb2] {\n margin: 4px 0;\n}')();
|
|
20665
20665
|
const _hoisted_1 = {
|
|
20666
20666
|
class: "widget"
|
|
20667
20667
|
};
|
|
@@ -20719,12 +20719,10 @@ const _sfc_main = {
|
|
|
20719
20719
|
return one ? one.text : "";
|
|
20720
20720
|
});
|
|
20721
20721
|
onMounted(() => __async(this, null, function* () {
|
|
20722
|
-
props.query(
|
|
20723
|
-
data2.options = options;
|
|
20724
|
-
});
|
|
20722
|
+
data2.options = yield props.query();
|
|
20725
20723
|
}));
|
|
20726
20724
|
const onShow = () => {
|
|
20727
|
-
if (isReadonly || isDisabled || isGone)
|
|
20725
|
+
if (isReadonly.value || isDisabled.value || isGone.value)
|
|
20728
20726
|
return;
|
|
20729
20727
|
data2.isShow = true;
|
|
20730
20728
|
};
|
|
@@ -20771,7 +20769,7 @@ const _sfc_main = {
|
|
|
20771
20769
|
};
|
|
20772
20770
|
}
|
|
20773
20771
|
};
|
|
20774
|
-
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
20772
|
+
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-67868eb2"]]);
|
|
20775
20773
|
const secret_notify = () => {
|
|
20776
20774
|
showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
|
|
20777
20775
|
};
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -20664,7 +20664,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20664
20664
|
};
|
|
20665
20665
|
}
|
|
20666
20666
|
};
|
|
20667
|
-
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-
|
|
20667
|
+
var SingleApiPicker_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '@charset "UTF-8";\n.widget[data-v-67868eb2] {\n /* \u7EDF\u4E00\u5B57\u6BB5\u95F4\u8DDD */\n}\n.widget[data-v-67868eb2] .van-cell {\n align-items: center;\n}\n.widget[data-v-67868eb2] .van-field__label {\n width: 90px;\n flex: none;\n}\n.widget .readonly-field[data-v-67868eb2] {\n /* \u6DFB\u52A0\u5FC5\u586B\u661F\u53F7\u5BF9\u9F50 */\n}\n.widget .readonly-field[data-v-67868eb2] .van-field__control {\n color: #323233;\n /* \u4FEE\u6539\u6587\u5B57\u989C\u8272\u4E0E\u666E\u901A\u5B57\u6BB5\u4E00\u81F4 */\n padding-right: 16px;\n}\n.widget .readonly-field.van-field--required[data-v-67868eb2] .van-field__label::before {\n margin-right: 4px;\n}\n.widget .readonly-field[data-v-67868eb2] {\n margin: 4px 0;\n}')();
|
|
20668
20668
|
const _hoisted_1 = {
|
|
20669
20669
|
class: "widget"
|
|
20670
20670
|
};
|
|
@@ -20722,12 +20722,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20722
20722
|
return one ? one.text : "";
|
|
20723
20723
|
});
|
|
20724
20724
|
vue.onMounted(() => __async(this, null, function* () {
|
|
20725
|
-
props.query(
|
|
20726
|
-
data2.options = options;
|
|
20727
|
-
});
|
|
20725
|
+
data2.options = yield props.query();
|
|
20728
20726
|
}));
|
|
20729
20727
|
const onShow = () => {
|
|
20730
|
-
if (isReadonly || isDisabled || isGone)
|
|
20728
|
+
if (isReadonly.value || isDisabled.value || isGone.value)
|
|
20731
20729
|
return;
|
|
20732
20730
|
data2.isShow = true;
|
|
20733
20731
|
};
|
|
@@ -20774,7 +20772,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20774
20772
|
};
|
|
20775
20773
|
}
|
|
20776
20774
|
};
|
|
20777
|
-
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
20775
|
+
var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-67868eb2"]]);
|
|
20778
20776
|
const secret_notify = () => {
|
|
20779
20777
|
showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
|
|
20780
20778
|
};
|
package/package.json
CHANGED
|
@@ -57,13 +57,11 @@ const formatLabel = computed(() => {
|
|
|
57
57
|
})
|
|
58
58
|
|
|
59
59
|
onMounted(async () => {
|
|
60
|
-
props.query(
|
|
61
|
-
data.options = options
|
|
62
|
-
})
|
|
60
|
+
data.options = await props.query()
|
|
63
61
|
})
|
|
64
62
|
|
|
65
63
|
const onShow=()=>{
|
|
66
|
-
if(isReadonly || isDisabled || isGone)
|
|
64
|
+
if(isReadonly.value || isDisabled.value || isGone.value)
|
|
67
65
|
return
|
|
68
66
|
|
|
69
67
|
data.isShow = true
|
|
@@ -80,6 +78,7 @@ const onConfirm = ({ selectedOptions }) => {
|
|
|
80
78
|
const onCancel = () => {
|
|
81
79
|
data.isShow = false
|
|
82
80
|
}
|
|
81
|
+
|
|
83
82
|
</script>
|
|
84
83
|
|
|
85
84
|
<style lang="scss" scoped>
|