@newview/ui 1.1.70 → 1.1.71
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/dist/newview-ui.js +11 -4
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +71 -71
- package/types/Grid.d.ts +6 -1
- package/vite.config.ts +1 -0
package/dist/newview-ui.js
CHANGED
|
@@ -32828,6 +32828,12 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
|
|
|
32828
32828
|
}
|
|
32829
32829
|
return column.inputNumber.min;
|
|
32830
32830
|
});
|
|
32831
|
+
__publicField2(this, "getInputNumberReadonly", (column) => {
|
|
32832
|
+
if (this.utilities.isNull(column.inputNumber) || this.utilities.isNull(column.inputNumber.readonly)) {
|
|
32833
|
+
return false;
|
|
32834
|
+
}
|
|
32835
|
+
return column.inputNumber.readonly;
|
|
32836
|
+
});
|
|
32831
32837
|
__publicField2(this, "getInputNumberStep", (column) => {
|
|
32832
32838
|
if (this.utilities.isNull(column.inputNumber) || this.utilities.isNull(column.inputNumber.step)) {
|
|
32833
32839
|
return 1;
|
|
@@ -33208,7 +33214,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
|
|
|
33208
33214
|
}
|
|
33209
33215
|
};
|
|
33210
33216
|
const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
|
|
33211
|
-
const
|
|
33217
|
+
const GridColumn_vue_vue_type_style_index_1_scoped_c68bfba4_lang = "";
|
|
33212
33218
|
const _hoisted_1$h = { class: "gridColumn" };
|
|
33213
33219
|
const _hoisted_2$e = {
|
|
33214
33220
|
key: 3,
|
|
@@ -33392,8 +33398,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33392
33398
|
min: _ctx.getInputNumberMin(column),
|
|
33393
33399
|
step: _ctx.getInputNumberStep(column),
|
|
33394
33400
|
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33395
|
-
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
33396
|
-
|
|
33401
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row),
|
|
33402
|
+
readonly: _ctx.getInputNumberReadonly(column)
|
|
33403
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step", "onOnChange", "onOnBlur", "readonly"])) : column.colType == "select" ? (openBlock(), createBlock(_component_Select, {
|
|
33397
33404
|
key: 6,
|
|
33398
33405
|
modelValue: scope.row[_ctx.getField(column)],
|
|
33399
33406
|
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
@@ -33567,7 +33574,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33567
33574
|
}), 256))
|
|
33568
33575
|
]);
|
|
33569
33576
|
}
|
|
33570
|
-
const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-
|
|
33577
|
+
const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-c68bfba4"]]);
|
|
33571
33578
|
const _sfc_main$l = defineComponent({
|
|
33572
33579
|
name: "FilterDaterange",
|
|
33573
33580
|
props: {
|