@newview/ui 1.1.78 → 1.1.80
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 +8 -0
- package/dist/newview-ui.js +20 -4
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/newview-ui.js
CHANGED
|
@@ -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 (this.utilities.isNull(column.isEnable)) {
|
|
32951
|
+
return true;
|
|
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
|
|
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,
|
|
@@ -33407,7 +33422,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33407
33422
|
multiple: _ctx.getSelectMultiple(column),
|
|
33408
33423
|
clearable: _ctx.getSelectClearable(column),
|
|
33409
33424
|
transfer: _ctx.getSelectTransfer(column),
|
|
33410
|
-
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
33425
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33426
|
+
disabled: _ctx.getIsEnableSel(column, scope.row)
|
|
33411
33427
|
}, {
|
|
33412
33428
|
default: withCtx(() => [
|
|
33413
33429
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getSelectData(column), (item2) => {
|
|
@@ -33423,7 +33439,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33423
33439
|
}), 128))
|
|
33424
33440
|
]),
|
|
33425
33441
|
_: 2
|
|
33426
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "multiple", "clearable", "transfer", "onOnChange"])) : column.colType == "treeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
33442
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "multiple", "clearable", "transfer", "onOnChange", "disabled"])) : column.colType == "treeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
33427
33443
|
key: 7,
|
|
33428
33444
|
class: "column-tree",
|
|
33429
33445
|
modelValue: scope.row[_ctx.getField(column)],
|
|
@@ -33574,7 +33590,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33574
33590
|
}), 256))
|
|
33575
33591
|
]);
|
|
33576
33592
|
}
|
|
33577
|
-
const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-
|
|
33593
|
+
const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e528d9f3"]]);
|
|
33578
33594
|
const _sfc_main$l = defineComponent({
|
|
33579
33595
|
name: "FilterDaterange",
|
|
33580
33596
|
props: {
|