widget.qw 1.0.61 → 1.0.62

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
@@ -840,13 +840,7 @@
840
840
  }
841
841
  .widget .readonly-field[data-v-0c8e09c0] {
842
842
  margin: 4px 0;
843
- }.widget[data-v-4503cbfe] {
844
- background: #fff;
845
- box-sizing: border-box;
846
- height: 100%;
847
- text-align: left;
848
- }
849
- .widget .option[data-v-4503cbfe] {
843
+ }.option[data-v-91e049d6] {
850
844
  margin: 0 8px 8px 0;
851
845
  padding: 5px 5px;
852
846
  border-radius: 4px;
@@ -855,6 +849,6 @@
855
849
  display: inline-block;
856
850
  position: relative;
857
851
  }
858
- [data-v-4503cbfe] .van-field__label {
852
+ [data-v-91e049d6] .van-field__label {
859
853
  margin: auto;
860
854
  }
@@ -20946,7 +20946,7 @@ const _sfc_main$1 = {
20946
20946
  }
20947
20947
  };
20948
20948
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20949
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-4503cbfe] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-4503cbfe] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-4503cbfe] .van-field__label {\n margin: auto;\n}")();
20949
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".option[data-v-91e049d6] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-91e049d6] .van-field__label {\n margin: auto;\n}")();
20950
20950
  const _hoisted_1 = {
20951
20951
  style: {
20952
20952
  "display": "flex",
@@ -21268,7 +21268,7 @@ const _sfc_main = {
21268
21268
  };
21269
21269
  }
21270
21270
  };
21271
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4503cbfe"]]);
21271
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-91e049d6"]]);
21272
21272
  const secret_notify = () => {
21273
21273
  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 });
21274
21274
  };
@@ -20949,7 +20949,7 @@ var __async = (__this, __arguments, generator) => {
20949
20949
  }
20950
20950
  };
20951
20951
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20952
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-4503cbfe] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-4503cbfe] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-4503cbfe] .van-field__label {\n margin: auto;\n}")();
20952
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".option[data-v-91e049d6] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-91e049d6] .van-field__label {\n margin: auto;\n}")();
20953
20953
  const _hoisted_1 = {
20954
20954
  style: {
20955
20955
  "display": "flex",
@@ -21271,7 +21271,7 @@ var __async = (__this, __arguments, generator) => {
21271
21271
  };
21272
21272
  }
21273
21273
  };
21274
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4503cbfe"]]);
21274
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-91e049d6"]]);
21275
21275
  const secret_notify = () => {
21276
21276
  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 });
21277
21277
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "widget.qw",
3
3
  "private": false,
4
- "version": "1.0.61",
4
+ "version": "1.0.62",
5
5
  "description": "marqstree Vue3组件库",
6
6
  "main": "build/widget.qw.es.js",
7
7
  "keywords": [
@@ -12,16 +12,21 @@
12
12
  </div>
13
13
 
14
14
  <div style="display: flex;flex-direction:column;cursor: pointer;">
15
- <van-icon name="edit" v-if="props.schema.auth != 'readonly' && props.auth!='readonly' && props.auth!='disabled'" @click.stop="onEdit(index)" />
15
+ <van-icon name="edit"
16
+ v-if="props.schema.auth != 'readonly' && props.auth != 'readonly' && props.auth != 'disabled'"
17
+ @click.stop="onEdit(index)" />
16
18
 
17
19
  <van-icon name="arrow" @click.stop="onBack(index)" style="margin:8px 0" />
18
20
 
19
- <van-icon name="cross" v-if="props.schema.auth != 'readonly' && props.auth!='readonly' && props.auth!='disabled'" @click.stop="onDelete(index)" />
21
+ <van-icon name="cross"
22
+ v-if="props.schema.auth != 'readonly' && props.auth != 'readonly' && props.auth != 'disabled'"
23
+ @click.stop="onDelete(index)" />
20
24
  </div>
21
25
  </div>
22
26
  </div>
23
27
 
24
- <van-icon name="plus" v-if="!data.isShowInput && props.auth!='readonly' && props.auth!='disabled'" @click="onNewOption" />
28
+ <van-icon name="plus" v-if="!data.isShowInput && props.auth != 'readonly' && props.auth != 'disabled'"
29
+ @click="onNewOption" />
25
30
 
26
31
  <van-form v-if="data.isShowInput" :model="data.inputValue">
27
32
  <van-field v-for="(key, i) in keys" :key="i" :label="props.schema[key].label"
@@ -261,22 +266,14 @@ const onChangeOption = (key) => {
261
266
  </script>
262
267
 
263
268
  <style lang="scss" scoped>
264
- .widget {
265
- background: #fff;
266
- box-sizing: border-box;
267
- height: 100%;
268
- text-align: left;
269
-
270
- .option {
271
- margin: 0 8px 8px 0;
272
- padding: 5px 5px;
273
- border-radius: 4px;
274
- background-color: rgb(217, 236, 255);
275
- color: #409eff;
276
- display: inline-block;
277
- position: relative;
278
- }
279
-
269
+ .option {
270
+ margin: 0 8px 8px 0;
271
+ padding: 5px 5px;
272
+ border-radius: 4px;
273
+ background-color: rgb(217, 236, 255);
274
+ color: #409eff;
275
+ display: inline-block;
276
+ position: relative;
280
277
  }
281
278
 
282
279
  :deep(.van-field__label) {