widget.qw 1.0.65 → 1.0.66

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,15 +840,16 @@
840
840
  }
841
841
  .widget .readonly-field[data-v-0c8e09c0] {
842
842
  margin: 4px 0;
843
- }.widget[data-v-9c2543e2] {
843
+ }.widget[data-v-34ffd212] {
844
844
  background: #fff;
845
845
  box-sizing: border-box;
846
846
  height: 100%;
847
847
  text-align: left;
848
+ font-size: 12px;
848
849
  }
849
- .option[data-v-9c2543e2] {
850
+ .option[data-v-34ffd212] {
850
851
  margin: 0 8px 8px 0;
851
- padding: 5px 5px;
852
+ padding: 5px 10px;
852
853
  border-radius: 6px;
853
854
  border: 2px solid #e1e1e1;
854
855
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
@@ -856,6 +857,6 @@
856
857
  display: inline-block;
857
858
  position: relative;
858
859
  }
859
- [data-v-9c2543e2] .van-field__label {
860
+ [data-v-34ffd212] .van-field__label {
860
861
  margin: auto;
861
862
  }
@@ -20959,7 +20959,7 @@ const _sfc_main$1 = {
20959
20959
  }
20960
20960
  };
20961
20961
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20962
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-9c2543e2] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.option[data-v-9c2543e2] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-9c2543e2] .van-field__label {\n margin: auto;\n}")();
20962
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-34ffd212] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n font-size: 12px;\n}\n.option[data-v-34ffd212] {\n margin: 0 8px 8px 0;\n padding: 5px 10px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-34ffd212] .van-field__label {\n margin: auto;\n}")();
20963
20963
  const _hoisted_1 = {
20964
20964
  class: "widget-box"
20965
20965
  };
@@ -21190,7 +21190,8 @@ const _sfc_main = {
21190
21190
  return openBlock(), createElementBlock("div", {
21191
21191
  key: j,
21192
21192
  style: {
21193
- "padding": "2px 2px"
21193
+ "padding": "2px 2px",
21194
+ "font-size": "12px"
21194
21195
  }
21195
21196
  }, toDisplayString(`${key2name(k)}:${key2value(k, item)}`), 1);
21196
21197
  }), 128))]), createElementVNode("div", _hoisted_4, [props.schema.auth != "readonly" && props.auth != "readonly" && props.auth != "disabled" ? (openBlock(), createBlock(_component_van_icon, {
@@ -21266,13 +21267,15 @@ const _sfc_main = {
21266
21267
  }, 1032, ["label", "required", "disabled"])), [[vShow, props.schema[key].auth != "gone"]]);
21267
21268
  }), 128)), createElementVNode("div", _hoisted_5, [data2.isShowInput ? (openBlock(), createBlock(_component_van_button, {
21268
21269
  key: 0,
21269
- onClick: onInputConfirm
21270
+ onClick: onInputConfirm,
21271
+ size: "mini"
21270
21272
  }, {
21271
21273
  default: withCtx(() => [_hoisted_6]),
21272
21274
  _: 1
21273
21275
  })) : createCommentVNode("", true), data2.isShowInput ? (openBlock(), createBlock(_component_van_button, {
21274
21276
  key: 1,
21275
- onClick: onInputCancel
21277
+ onClick: onInputCancel,
21278
+ size: "mini"
21276
21279
  }, {
21277
21280
  default: withCtx(() => [_hoisted_7]),
21278
21281
  _: 1
@@ -21289,7 +21292,7 @@ const _sfc_main = {
21289
21292
  };
21290
21293
  }
21291
21294
  };
21292
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c2543e2"]]);
21295
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-34ffd212"]]);
21293
21296
  const secret_notify = () => {
21294
21297
  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 });
21295
21298
  };
@@ -20962,7 +20962,7 @@ var __async = (__this, __arguments, generator) => {
20962
20962
  }
20963
20963
  };
20964
20964
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20965
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-9c2543e2] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.option[data-v-9c2543e2] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-9c2543e2] .van-field__label {\n margin: auto;\n}")();
20965
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-34ffd212] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n font-size: 12px;\n}\n.option[data-v-34ffd212] {\n margin: 0 8px 8px 0;\n padding: 5px 10px;\n border-radius: 6px;\n border: 2px solid #e1e1e1;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n color: #666;\n display: inline-block;\n position: relative;\n}\n[data-v-34ffd212] .van-field__label {\n margin: auto;\n}")();
20966
20966
  const _hoisted_1 = {
20967
20967
  class: "widget-box"
20968
20968
  };
@@ -21193,7 +21193,8 @@ var __async = (__this, __arguments, generator) => {
21193
21193
  return vue.openBlock(), vue.createElementBlock("div", {
21194
21194
  key: j,
21195
21195
  style: {
21196
- "padding": "2px 2px"
21196
+ "padding": "2px 2px",
21197
+ "font-size": "12px"
21197
21198
  }
21198
21199
  }, vue.toDisplayString(`${key2name(k)}:${key2value(k, item)}`), 1);
21199
21200
  }), 128))]), vue.createElementVNode("div", _hoisted_4, [props.schema.auth != "readonly" && props.auth != "readonly" && props.auth != "disabled" ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
@@ -21269,13 +21270,15 @@ var __async = (__this, __arguments, generator) => {
21269
21270
  }, 1032, ["label", "required", "disabled"])), [[vue.vShow, props.schema[key].auth != "gone"]]);
21270
21271
  }), 128)), vue.createElementVNode("div", _hoisted_5, [data2.isShowInput ? (vue.openBlock(), vue.createBlock(_component_van_button, {
21271
21272
  key: 0,
21272
- onClick: onInputConfirm
21273
+ onClick: onInputConfirm,
21274
+ size: "mini"
21273
21275
  }, {
21274
21276
  default: vue.withCtx(() => [_hoisted_6]),
21275
21277
  _: 1
21276
21278
  })) : vue.createCommentVNode("", true), data2.isShowInput ? (vue.openBlock(), vue.createBlock(_component_van_button, {
21277
21279
  key: 1,
21278
- onClick: onInputCancel
21280
+ onClick: onInputCancel,
21281
+ size: "mini"
21279
21282
  }, {
21280
21283
  default: vue.withCtx(() => [_hoisted_7]),
21281
21284
  _: 1
@@ -21292,7 +21295,7 @@ var __async = (__this, __arguments, generator) => {
21292
21295
  };
21293
21296
  }
21294
21297
  };
21295
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c2543e2"]]);
21298
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-34ffd212"]]);
21296
21299
  const secret_notify = () => {
21297
21300
  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 });
21298
21301
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "widget.qw",
3
3
  "private": false,
4
- "version": "1.0.65",
4
+ "version": "1.0.66",
5
5
  "description": "marqstree Vue3组件库",
6
6
  "main": "build/widget.qw.es.js",
7
7
  "keywords": [
@@ -7,7 +7,7 @@
7
7
  <div v-if="index != data.selectIndex" style=" display: flex;align-items: center;">
8
8
  <van-icon name="arrow-left" @click.stop="onForward(index)" />
9
9
  <div style="padding: 5px 5px;">
10
- <div v-for="(k, j) in visiableKeys" :key="j" style="padding:2px 2px;">
10
+ <div v-for="(k, j) in visiableKeys" :key="j" style="padding:2px 2px;font-size: 12px;">
11
11
  {{ `${key2name(k)}:${key2value(k, item)}` }}
12
12
  </div>
13
13
  </div>
@@ -58,9 +58,9 @@
58
58
  </van-field>
59
59
 
60
60
  <div style="margin: 16px; display: flex;align-items: center;justify-content: center;">
61
- <van-button v-if="data.isShowInput" @click="onInputConfirm"
61
+ <van-button v-if="data.isShowInput" @click="onInputConfirm" size="mini"
62
62
  >保存</van-button>
63
- <van-button v-if="data.isShowInput" @click="onInputCancel"
63
+ <van-button v-if="data.isShowInput" @click="onInputCancel" size="mini"
64
64
  >取消</van-button>
65
65
  </div>
66
66
  </van-form>
@@ -284,11 +284,12 @@ const onChangeOption = (key) => {
284
284
  box-sizing: border-box;
285
285
  height: 100%;
286
286
  text-align: left;
287
+ font-size: 12px;
287
288
  }
288
289
 
289
290
  .option {
290
291
  margin: 0 8px 8px 0;
291
- padding: 5px 5px;
292
+ padding: 5px 10px;
292
293
  border-radius: 6px;
293
294
  border: 2px solid #e1e1e1;
294
295
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);