@newview/ui 1.1.92 → 1.1.94

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.1.94
2
+ 1、luckysheet被关闭问题处理
3
+
4
+ ### 1.1.93
5
+ 1、表格颜色列配置项增加参数
6
+
1
7
  ### 1.1.92
2
8
  1、分页组件支持:分页尺寸选择、快速跳转
3
9
 
@@ -33229,7 +33229,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
33229
33229
  }
33230
33230
  };
33231
33231
  const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
33232
- const GridColumn_vue_vue_type_style_index_1_scoped_e528d9f3_lang = "";
33232
+ const GridColumn_vue_vue_type_style_index_1_scoped_96e8fcd4_lang = "";
33233
33233
  const _hoisted_1$h = { class: "gridColumn" };
33234
33234
  const _hoisted_2$e = {
33235
33235
  key: 3,
@@ -33468,10 +33468,15 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33468
33468
  class: "nvgridcell-color",
33469
33469
  modelValue: scope.row[_ctx.getField(column)],
33470
33470
  "onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
33471
+ alpha: column.color && column.color.alpha ? column.color.alpha : false,
33472
+ format: column.color && column.color.format ? column.color.format : "hex",
33473
+ disabled: column.color && column.color.disabled ? column.color.disabled : false,
33474
+ recommend: column.color && column.color.recommend ? column.color.recommend : false,
33475
+ colors: column.color && column.color.colors ? column.color.colors : [],
33471
33476
  transfer: "",
33472
33477
  "transfer-class-name": "nvgridcell-color-transfer",
33473
33478
  onOnChange: ($event) => _ctx.doChange(column, scope.row)
33474
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange"])) : column.colType == "mile" ? (openBlock(), createBlock(_component_MileEdit, {
33479
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "alpha", "format", "disabled", "recommend", "colors", "onOnChange"])) : column.colType == "mile" ? (openBlock(), createBlock(_component_MileEdit, {
33475
33480
  key: 11,
33476
33481
  dataValue: scope.row[_ctx.getField(column)],
33477
33482
  prefix: (_a = column.mileConfig) == null ? void 0 : _a.prefix,
@@ -33521,6 +33526,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33521
33526
  "min-width": column.minWidth,
33522
33527
  width: column.width,
33523
33528
  align: _ctx.getAlign(column),
33529
+ "class-name": column.className,
33530
+ "header-class-name": column.headerClassName,
33531
+ "footer-class-name": column.footerClassName,
33524
33532
  fixed: "right"
33525
33533
  }, {
33526
33534
  header: withCtx(() => [
@@ -33548,7 +33556,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33548
33556
  }, 1024)
33549
33557
  ]),
33550
33558
  _: 2
33551
- }, 1032, ["field", "min-width", "width", "align"])) : (openBlock(), createBlock(_component_vxe_column, {
33559
+ }, 1032, ["field", "min-width", "width", "align", "class-name", "header-class-name", "footer-class-name"])) : (openBlock(), createBlock(_component_vxe_column, {
33552
33560
  key: 6,
33553
33561
  field: column.field,
33554
33562
  "min-width": column.minWidth,
@@ -33590,7 +33598,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33590
33598
  }), 256))
33591
33599
  ]);
33592
33600
  }
33593
- const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e528d9f3"]]);
33601
+ const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-96e8fcd4"]]);
33594
33602
  const _sfc_main$l = defineComponent({
33595
33603
  name: "FilterDaterange",
33596
33604
  props: {
@@ -215128,10 +215136,10 @@ class PrintApi extends BaseInstance {
215128
215136
  body: prdata,
215129
215137
  printReport: () => {
215130
215138
  this.countPrintData(vrpdata);
215131
- },
215132
- drawerClose: () => {
215133
- this.luckysheet.destroy();
215134
215139
  }
215140
+ // drawerClose:()=>{
215141
+ // this.luckysheet.destroy();
215142
+ // }
215135
215143
  }).show();
215136
215144
  } else {
215137
215145
  this.countPrintData(vrpdata);