@newview/ui 1.1.92 → 1.1.93

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.93
2
+ 1、表格颜色列配置项增加参数
3
+
1
4
  ### 1.1.92
2
5
  1、分页组件支持:分页尺寸选择、快速跳转
3
6
 
@@ -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_acb5bdbf_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,
@@ -33590,7 +33595,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33590
33595
  }), 256))
33591
33596
  ]);
33592
33597
  }
33593
- const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e528d9f3"]]);
33598
+ const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-acb5bdbf"]]);
33594
33599
  const _sfc_main$l = defineComponent({
33595
33600
  name: "FilterDaterange",
33596
33601
  props: {