@newview/ui 1.2.3 → 1.2.6

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/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 1.2.6
2
+ 1.行编辑增加文本类型
3
+
4
+ ### 1.2.4
5
+ 1、表单项增加title提示
6
+
1
7
  ### 1.2.3
2
8
  1、表格筛选条件刷新优化
3
9
 
@@ -31459,7 +31459,7 @@ let ComFormInstance$1 = class ComFormInstance2 extends BaseInstance {
31459
31459
  }
31460
31460
  //#endregion 公开Api End
31461
31461
  };
31462
- const ComForm_vue_vue_type_style_index_0_scoped_c4eed153_lang = "";
31462
+ const ComForm_vue_vue_type_style_index_0_scoped_80b78296_lang = "";
31463
31463
  const _hoisted_1$j = { class: "comForm" };
31464
31464
  const _hoisted_2$g = ["onClick"];
31465
31465
  const _hoisted_3$d = { key: 1 };
@@ -31603,6 +31603,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
31603
31603
  key: 3,
31604
31604
  modelValue: _ctx.formModel[item2.model],
31605
31605
  "onUpdate:modelValue": ($event) => _ctx.formModel[item2.model] = $event,
31606
+ title: _ctx.formModel[item2.model],
31606
31607
  type: _ctx.getPropValue(item2.inputProp, "type"),
31607
31608
  size: _ctx.getPropValue(item2.inputProp, "size"),
31608
31609
  placeholder: _ctx.getPropValue(item2.inputProp, "placeholder"),
@@ -31654,7 +31655,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
31654
31655
  ]),
31655
31656
  key: "1"
31656
31657
  } : void 0
31657
- ]), 1032, ["modelValue", "onUpdate:modelValue", "type", "size", "placeholder", "clearable", "border", "disabled", "readonly", "maxlength", "show-word-limit", "password", "icon", "prefix", "suffix", "search", "enter-button", "rows", "autosize", "number", "autofocus", "autocomplete", "element-id", "spellcheck", "wrap", "onOnEnter", "onOnClick", "onOnChange", "onOnFocus", "onOnBlur", "onOnKeyup", "onOnKeydown", "onOnKeypress", "onOnSearch", "onOnClear"])) : createCommentVNode("", true),
31658
+ ]), 1032, ["modelValue", "onUpdate:modelValue", "title", "type", "size", "placeholder", "clearable", "border", "disabled", "readonly", "maxlength", "show-word-limit", "password", "icon", "prefix", "suffix", "search", "enter-button", "rows", "autosize", "number", "autofocus", "autocomplete", "element-id", "spellcheck", "wrap", "onOnEnter", "onOnClick", "onOnChange", "onOnFocus", "onOnBlur", "onOnKeyup", "onOnKeydown", "onOnKeypress", "onOnSearch", "onOnClear"])) : createCommentVNode("", true),
31658
31659
  item2.type == "InputNumber" ? (openBlock(), createElementBlock("div", {
31659
31660
  key: 4,
31660
31661
  class: normalizeClass(["ivu-input-group ivu-input-wrapper", { "ivu-input-group-with-append": _ctx.getAppend(item2.inputNumberProp) != "" }])
@@ -32047,7 +32048,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
32047
32048
  ], 2)
32048
32049
  ]);
32049
32050
  }
32050
- const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-c4eed153"]]);
32051
+ const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-80b78296"]]);
32051
32052
  const style = "";
32052
32053
  const propDefine$v = {
32053
32054
  options: {
@@ -33252,7 +33253,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
33252
33253
  }
33253
33254
  };
33254
33255
  const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
33255
- const GridColumn_vue_vue_type_style_index_1_scoped_695d02ef_lang = "";
33256
+ const GridColumn_vue_vue_type_style_index_1_scoped_06bc9656_lang = "";
33256
33257
  const _hoisted_1$h = { class: "gridColumn" };
33257
33258
  const _hoisted_2$e = {
33258
33259
  key: 3,
@@ -33308,8 +33309,15 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33308
33309
  createElementVNode("span", null, toDisplayString(column.title ? column.title : "序号"), 1)
33309
33310
  ]),
33310
33311
  _: 2
33311
- }, 1032, ["align", "width", "fixed"])) : column.colType == "radio" ? (openBlock(), createBlock(_component_vxe_column, {
33312
+ }, 1032, ["align", "width", "fixed"])) : column.colType == "textarea" ? (openBlock(), createBlock(_component_vxe_column, {
33312
33313
  key: 1,
33314
+ field: column.field,
33315
+ title: column.title,
33316
+ padding: false,
33317
+ "vertical-align": "top",
33318
+ "edit-render": column.editRender
33319
+ }, null, 8, ["field", "title", "edit-render"])) : column.colType == "radio" ? (openBlock(), createBlock(_component_vxe_column, {
33320
+ key: 2,
33313
33321
  type: "radio",
33314
33322
  width: "60",
33315
33323
  align: "center"
@@ -33325,13 +33333,13 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33325
33333
  ]),
33326
33334
  _: 1
33327
33335
  })) : column.colType == "checkbox" ? (openBlock(), createBlock(_component_vxe_column, {
33328
- key: 2,
33336
+ key: 3,
33329
33337
  type: "checkbox",
33330
33338
  align: "center",
33331
33339
  width: "60",
33332
33340
  fixed: column.fixed ? column.fixed : null
33333
33341
  }, null, 8, ["fixed"])) : column.colType == "expand" ? (openBlock(), createBlock(_component_vxe_column, {
33334
- key: 3,
33342
+ key: 4,
33335
33343
  type: "expand",
33336
33344
  field: column.field,
33337
33345
  "min-width": column.minWidth,
@@ -33363,7 +33371,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33363
33371
  ]),
33364
33372
  _: 2
33365
33373
  }, 1032, ["field", "min-width", "width", "resizable", "visible", "fixed", "align", "header-align", "footer-align", "show-overflow", "show-header-overflow", "show-footer-overflow", "class-name", "header-class-name", "footer-class-name", "formatter", "sortable", "sort-by", "sort-type", "tree-node"])) : column.colType == "ed" || column.colType == "password" || column.colType == "auto" || column.colType == "date" || column.colType == "time" || column.colType == "num" || column.colType == "select" || column.colType == "treeSelect" || column.colType == "ch" || column.colType == "switch" || column.colType == "color" || column.colType == "mile" ? (openBlock(), createBlock(_component_vxe_column, {
33366
- key: 4,
33374
+ key: 5,
33367
33375
  field: column.field,
33368
33376
  "min-width": column.minWidth,
33369
33377
  width: column.width,
@@ -33548,7 +33556,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33548
33556
  ]),
33549
33557
  _: 2
33550
33558
  }, 1032, ["field", "min-width", "width", "resizable", "visible", "fixed", "align", "header-align", "footer-align", "show-overflow", "show-header-overflow", "show-footer-overflow", "class-name", "header-class-name", "footer-class-name", "formatter", "sortable", "sort-by", "sort-type", "tree-node", "filters", "filter-multiple", "filter-render"])) : _ctx.getHasRowButton(column) ? (openBlock(), createBlock(_component_vxe_column, {
33551
- key: 5,
33559
+ key: 6,
33552
33560
  field: column.field,
33553
33561
  "min-width": column.minWidth,
33554
33562
  width: column.width,
@@ -33584,7 +33592,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33584
33592
  ]),
33585
33593
  _: 2
33586
33594
  }, 1032, ["field", "min-width", "width", "align", "class-name", "header-class-name", "footer-class-name"])) : (openBlock(), createBlock(_component_vxe_column, {
33587
- key: 6,
33595
+ key: 7,
33588
33596
  field: column.field,
33589
33597
  "min-width": column.minWidth,
33590
33598
  width: column.width,
@@ -33625,7 +33633,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33625
33633
  }), 256))
33626
33634
  ]);
33627
33635
  }
33628
- const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-695d02ef"]]);
33636
+ const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-06bc9656"]]);
33629
33637
  const _sfc_main$l = defineComponent({
33630
33638
  name: "FilterDaterange",
33631
33639
  props: {
@@ -60273,7 +60281,7 @@ class GridColumnInstance extends BaseInstance {
60273
60281
  //#endregion
60274
60282
  }
60275
60283
  const GridColumn_vue_vue_type_style_index_0_lang = "";
60276
- const GridColumn_vue_vue_type_style_index_1_scoped_85926738_lang = "";
60284
+ const GridColumn_vue_vue_type_style_index_1_scoped_d569c5cb_lang = "";
60277
60285
  const _hoisted_1$d = { class: "gridColumn" };
60278
60286
  const _hoisted_2$a = {
60279
60287
  key: 3,
@@ -60329,8 +60337,15 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
60329
60337
  createElementVNode("span", null, toDisplayString(column.title ? column.title : "序号"), 1)
60330
60338
  ]),
60331
60339
  _: 2
60332
- }, 1032, ["align", "width", "fixed"])) : column.colType == "radio" ? (openBlock(), createBlock(_component_vxe_column, {
60340
+ }, 1032, ["align", "width", "fixed"])) : column.colType == "textarea" ? (openBlock(), createBlock(_component_vxe_column, {
60333
60341
  key: 1,
60342
+ field: column.field,
60343
+ title: column.title,
60344
+ padding: false,
60345
+ "vertical-align": "top",
60346
+ "edit-render": column.editRender
60347
+ }, null, 8, ["field", "title", "edit-render"])) : column.colType == "radio" ? (openBlock(), createBlock(_component_vxe_column, {
60348
+ key: 2,
60334
60349
  type: "radio",
60335
60350
  width: "60",
60336
60351
  align: "center"
@@ -60346,13 +60361,13 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
60346
60361
  ]),
60347
60362
  _: 1
60348
60363
  })) : column.colType == "checkbox" ? (openBlock(), createBlock(_component_vxe_column, {
60349
- key: 2,
60364
+ key: 3,
60350
60365
  type: "checkbox",
60351
60366
  align: "center",
60352
60367
  width: "60",
60353
60368
  fixed: column.fixed ? column.fixed : null
60354
60369
  }, null, 8, ["fixed"])) : column.colType == "expand" ? (openBlock(), createBlock(_component_vxe_column, {
60355
- key: 3,
60370
+ key: 4,
60356
60371
  type: "expand",
60357
60372
  field: column.field,
60358
60373
  "min-width": column.minWidth,
@@ -60384,7 +60399,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
60384
60399
  ]),
60385
60400
  _: 2
60386
60401
  }, 1032, ["field", "min-width", "width", "resizable", "visible", "fixed", "align", "header-align", "footer-align", "show-overflow", "show-header-overflow", "show-footer-overflow", "class-name", "header-class-name", "footer-class-name", "formatter", "sortable", "sort-by", "sort-type", "tree-node"])) : column.colType == "ed" || column.colType == "password" || column.colType == "auto" || column.colType == "date" || column.colType == "time" || column.colType == "num" || column.colType == "select" || column.colType == "treeSelect" || column.colType == "ch" || column.colType == "switch" || column.colType == "color" || column.colType == "mile" ? (openBlock(), createBlock(_component_vxe_column, {
60387
- key: 4,
60402
+ key: 5,
60388
60403
  field: column.field,
60389
60404
  "min-width": column.minWidth,
60390
60405
  width: column.width,
@@ -60561,7 +60576,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
60561
60576
  ]),
60562
60577
  _: 2
60563
60578
  }, 1032, ["field", "min-width", "width", "resizable", "visible", "fixed", "align", "header-align", "footer-align", "show-overflow", "show-header-overflow", "show-footer-overflow", "class-name", "header-class-name", "footer-class-name", "formatter", "sortable", "sort-by", "sort-type", "tree-node", "filters", "filter-multiple", "filter-render"])) : _ctx.getHasRowButton(column) ? (openBlock(), createBlock(_component_vxe_column, {
60564
- key: 5,
60579
+ key: 6,
60565
60580
  field: column.field,
60566
60581
  "min-width": column.minWidth,
60567
60582
  width: column.width,
@@ -60594,7 +60609,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
60594
60609
  ]),
60595
60610
  _: 2
60596
60611
  }, 1032, ["field", "min-width", "width"])) : (openBlock(), createBlock(_component_vxe_column, {
60597
- key: 6,
60612
+ key: 7,
60598
60613
  field: column.field,
60599
60614
  "min-width": column.minWidth,
60600
60615
  width: column.width,
@@ -60635,7 +60650,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
60635
60650
  }), 256))
60636
60651
  ]);
60637
60652
  }
60638
- const GridColumn = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-85926738"]]);
60653
+ const GridColumn = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-d569c5cb"]]);
60639
60654
  const _sfc_main$h = defineComponent({
60640
60655
  name: "FilterDaterange",
60641
60656
  props: {