widget.qw 1.0.91 → 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-7f872a31] .label {
142
+ [data-v-c848ffbc] .label {
143
143
  color: #000 !important;
144
144
  }
145
- [data-v-7f872a31] .van-field__control:disabled {
145
+ [data-v-c848ffbc] .van-field__control:disabled {
146
146
  color: #000 !important;
147
147
  cursor: not-allowed;
148
148
  opacity: 1;
@@ -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-7f872a31] .label {\n color: #000 !important;\n}\n[data-v-7f872a31] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
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: {
@@ -18164,6 +18164,7 @@ const _sfc_main$r = {
18164
18164
  key: 0,
18165
18165
  label: props.label,
18166
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-7f872a31"]]);
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: {
@@ -22453,6 +22454,7 @@ 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
22459
  required: unref(isRequired),
22458
22460
  rules: unref(rules),
@@ -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,
@@ -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-7f872a31] .label {\n color: #000 !important;\n}\n[data-v-7f872a31] .van-field__control:disabled {\n color: #000 !important;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: #000;\n}")();
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: {
@@ -18167,6 +18167,7 @@ var __async = (__this, __arguments, generator) => {
18167
18167
  key: 0,
18168
18168
  label: props.label,
18169
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-7f872a31"]]);
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: {
@@ -22456,6 +22457,7 @@ 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
22462
  required: vue.unref(isRequired),
22461
22463
  rules: vue.unref(rules),
@@ -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,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "widget.qw",
3
3
  "private": false,
4
- "version": "1.0.91",
4
+ "version": "1.0.92",
5
5
  "description": "marqstree Vue3组件库",
6
6
  "main": "build/widget.qw.es.js",
7
7
  "keywords": [
@@ -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"