@newview/ui 1.1.79 → 1.1.81

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,10 @@
1
+ ### 1.1.81
2
+ 1、select框增加getIsEnableSw优化
3
+
4
+ ### 1.1.80
5
+ 1、select框修改getIsEnableSw方法为getIsEnableSel
6
+
7
+
1
8
  ### 1.1.79
2
9
  1、select框增加getIsEnableSw
3
10
 
@@ -32940,6 +32940,21 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
32940
32940
  return column.align ? column.align : defaultAlign;
32941
32941
  });
32942
32942
  //#endregion Ch 列 属性获取 END
32943
+ /**
32944
+ * 下拉列表禁用
32945
+ * @param column
32946
+ * @param row
32947
+ * @returns
32948
+ */
32949
+ __publicField2(this, "getIsEnableSel", (column, row) => {
32950
+ if (!column.isEnable) {
32951
+ return false;
32952
+ }
32953
+ if (typeof column.isEnable == "boolean") {
32954
+ return column.isEnable;
32955
+ }
32956
+ return column.isEnable(column, row);
32957
+ });
32943
32958
  //#region switchConfig 列 属性获取
32944
32959
  __publicField2(this, "getIsEnableSw", (row) => {
32945
32960
  if (this.utilities.isNull(row.isEnable)) {
@@ -33214,7 +33229,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
33214
33229
  }
33215
33230
  };
33216
33231
  const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
33217
- const GridColumn_vue_vue_type_style_index_1_scoped_3dcb22bd_lang = "";
33232
+ const GridColumn_vue_vue_type_style_index_1_scoped_e528d9f3_lang = "";
33218
33233
  const _hoisted_1$h = { class: "gridColumn" };
33219
33234
  const _hoisted_2$e = {
33220
33235
  key: 3,
@@ -33408,7 +33423,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33408
33423
  clearable: _ctx.getSelectClearable(column),
33409
33424
  transfer: _ctx.getSelectTransfer(column),
33410
33425
  onOnChange: ($event) => _ctx.doChange(column, scope.row),
33411
- disabled: _ctx.getIsEnableSw(column)
33426
+ disabled: _ctx.getIsEnableSel(column, scope.row)
33412
33427
  }, {
33413
33428
  default: withCtx(() => [
33414
33429
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getSelectData(column), (item2) => {
@@ -33575,7 +33590,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
33575
33590
  }), 256))
33576
33591
  ]);
33577
33592
  }
33578
- const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-3dcb22bd"]]);
33593
+ const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e528d9f3"]]);
33579
33594
  const _sfc_main$l = defineComponent({
33580
33595
  name: "FilterDaterange",
33581
33596
  props: {