@newview/ui 1.1.94 → 1.1.95

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,6 @@
1
+ ### 1.1.95
2
+ 1、表格及工具栏增加自定义class
3
+
1
4
  ### 1.1.94
2
5
  1、luckysheet被关闭问题处理
3
6
 
@@ -32529,7 +32529,7 @@ let ToolbarInstance$1 = class ToolbarInstance2 extends BaseInstance {
32529
32529
  }
32530
32530
  //#endregion 业务逻辑 END
32531
32531
  };
32532
- const Toolbar_vue_vue_type_style_index_0_scoped_69337cbe_lang = "";
32532
+ const Toolbar_vue_vue_type_style_index_0_scoped_09e0c64e_lang = "";
32533
32533
  const _hoisted_1$i = { class: "toolbar" };
32534
32534
  const _hoisted_2$f = { style: { "display": "none" } };
32535
32535
  const _hoisted_3$c = { key: 0 };
@@ -32561,13 +32561,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32561
32561
  onClick: ($event) => item2.onclick ? item2.onclick() : {},
32562
32562
  size: item2.size ? item2.size : "default",
32563
32563
  title: item2.text,
32564
- loading: item2.loading ? item2.loading() : false
32564
+ loading: item2.loading ? item2.loading() : false,
32565
+ class: normalizeClass(item2.class)
32565
32566
  }, {
32566
32567
  default: withCtx(() => [
32567
32568
  createTextVNode(toDisplayString(_ctx.isIconButton ? "" : item2.text), 1)
32568
32569
  ]),
32569
32570
  _: 2
32570
- }, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading"])) : createCommentVNode("", true)
32571
+ }, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading", "class"])) : createCommentVNode("", true)
32571
32572
  ], 64);
32572
32573
  }), 256))
32573
32574
  ]),
@@ -32589,8 +32590,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32589
32590
  onClick: ($event) => item2.onclick ? item2.onclick() : {},
32590
32591
  title: item2.text,
32591
32592
  loading: item2.loading ? item2.loading() : false,
32592
- key: item2.name
32593
- }, null, 8, ["disabled", "icon", "custom-icon", "onClick", "title", "loading"])) : (openBlock(), createBlock(_component_Button, {
32593
+ key: item2.name,
32594
+ class: normalizeClass(item2.class)
32595
+ }, null, 8, ["disabled", "icon", "custom-icon", "onClick", "title", "loading", "class"])) : (openBlock(), createBlock(_component_Button, {
32594
32596
  disabled: _ctx.getIsEnable(item2),
32595
32597
  icon: _ctx.getIcon(item2),
32596
32598
  "custom-icon": item2.icon,
@@ -32599,13 +32601,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32599
32601
  size: item2.size ? item2.size : "default",
32600
32602
  title: item2.name,
32601
32603
  loading: item2.loading ? item2.loading() : false,
32602
- key: item2.name
32604
+ key: item2.name,
32605
+ class: normalizeClass(item2.class)
32603
32606
  }, {
32604
32607
  default: withCtx(() => [
32605
32608
  createTextVNode(toDisplayString(_ctx.isIconButton ? "" : item2.text), 1)
32606
32609
  ]),
32607
32610
  _: 2
32608
- }, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading"]))
32611
+ }, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading", "class"]))
32609
32612
  ], 64);
32610
32613
  }), 256)),
32611
32614
  _ctx.moreOptions.length > 0 ? (openBlock(), createBlock(_component_Dropdown, {
@@ -32618,7 +32621,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32618
32621
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.moreOptions, (item2, index2) => {
32619
32622
  return openBlock(), createBlock(_component_DropdownItem, {
32620
32623
  key: item2.name,
32621
- name: item2.name
32624
+ name: item2.name,
32625
+ class: normalizeClass(item2.class)
32622
32626
  }, {
32623
32627
  default: withCtx(() => [
32624
32628
  _ctx.isFaIcon(item2) ? (openBlock(), createElementBlock("i", {
@@ -32631,7 +32635,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32631
32635
  createTextVNode(" " + toDisplayString(item2.text), 1)
32632
32636
  ]),
32633
32637
  _: 2
32634
- }, 1032, ["name"]);
32638
+ }, 1032, ["name", "class"]);
32635
32639
  }), 128))
32636
32640
  ]),
32637
32641
  _: 1
@@ -32653,7 +32657,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
32653
32657
  }))
32654
32658
  ]);
32655
32659
  }
32656
- const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-69337cbe"]]);
32660
+ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-09e0c64e"]]);
32657
32661
  const GridCellContent$1 = defineComponent({
32658
32662
  name: "GridCellContent",
32659
32663
  props: {
@@ -33229,7 +33233,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
33229
33233
  }
33230
33234
  };
33231
33235
  const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
33232
- const GridColumn_vue_vue_type_style_index_1_scoped_96e8fcd4_lang = "";
33236
+ const GridColumn_vue_vue_type_style_index_1_scoped_e3b1464f_lang = "";
33233
33237
  const _hoisted_1$h = { class: "gridColumn" };
33234
33238
  const _hoisted_2$e = {
33235
33239
  key: 3,
@@ -33542,7 +33546,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33542
33546
  type: "text",
33543
33547
  size: "small",
33544
33548
  disabled: !_ctx.getIsEnableRowButton(btn, row),
33545
- class: normalizeClass(_ctx.getIsEnableRowButton(btn, row) ? "row-btn_" + btn.type : ""),
33549
+ class: normalizeClass(_ctx.getIsEnableRowButton(btn, row) ? (btn.class ? btn.class : "") + " row-btn_" + btn.type : btn.class ? btn.class : ""),
33546
33550
  onClick: ($event) => _ctx.doRunBtnClick(btn, row)
33547
33551
  }, {
33548
33552
  default: withCtx(() => [
@@ -33598,7 +33602,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33598
33602
  }), 256))
33599
33603
  ]);
33600
33604
  }
33601
- const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-96e8fcd4"]]);
33605
+ const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e3b1464f"]]);
33602
33606
  const _sfc_main$l = defineComponent({
33603
33607
  name: "FilterDaterange",
33604
33608
  props: {