@newview/ui 1.1.69 → 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/README.md +1 -1
- package/dist/newview-ui.js +234 -219
- 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/README.md
CHANGED
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,
|
|
@@ -33345,114 +33351,119 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33345
33351
|
"filter-multiple": _ctx.getColumFilterMultiple(column.filter),
|
|
33346
33352
|
"filter-render": _ctx.getColumFilterRender(column.filter)
|
|
33347
33353
|
}, {
|
|
33348
|
-
edit: withCtx((scope) =>
|
|
33349
|
-
|
|
33350
|
-
|
|
33351
|
-
|
|
33352
|
-
|
|
33353
|
-
|
|
33354
|
-
|
|
33355
|
-
|
|
33356
|
-
|
|
33357
|
-
modelValue:
|
|
33358
|
-
|
|
33359
|
-
|
|
33360
|
-
|
|
33361
|
-
|
|
33362
|
-
|
|
33363
|
-
|
|
33364
|
-
modelValue:
|
|
33365
|
-
|
|
33366
|
-
|
|
33367
|
-
|
|
33368
|
-
|
|
33369
|
-
|
|
33370
|
-
|
|
33371
|
-
|
|
33372
|
-
modelValue:
|
|
33373
|
-
|
|
33374
|
-
|
|
33375
|
-
|
|
33376
|
-
|
|
33377
|
-
|
|
33378
|
-
|
|
33379
|
-
|
|
33380
|
-
modelValue:
|
|
33381
|
-
|
|
33382
|
-
|
|
33383
|
-
|
|
33384
|
-
|
|
33385
|
-
|
|
33386
|
-
|
|
33387
|
-
modelValue:
|
|
33388
|
-
|
|
33389
|
-
|
|
33390
|
-
|
|
33391
|
-
|
|
33392
|
-
|
|
33393
|
-
|
|
33394
|
-
|
|
33395
|
-
|
|
33396
|
-
|
|
33397
|
-
"onUpdate:modelValue"
|
|
33398
|
-
|
|
33399
|
-
|
|
33400
|
-
|
|
33401
|
-
|
|
33402
|
-
|
|
33403
|
-
|
|
33404
|
-
(
|
|
33405
|
-
|
|
33406
|
-
|
|
33407
|
-
|
|
33408
|
-
|
|
33409
|
-
|
|
33410
|
-
|
|
33411
|
-
|
|
33412
|
-
|
|
33413
|
-
|
|
33414
|
-
|
|
33415
|
-
|
|
33416
|
-
|
|
33417
|
-
|
|
33418
|
-
|
|
33419
|
-
|
|
33420
|
-
modelValue:
|
|
33421
|
-
|
|
33422
|
-
|
|
33423
|
-
|
|
33424
|
-
|
|
33425
|
-
|
|
33426
|
-
|
|
33427
|
-
|
|
33428
|
-
|
|
33429
|
-
"onUpdate:modelValue"
|
|
33430
|
-
|
|
33431
|
-
|
|
33432
|
-
|
|
33433
|
-
|
|
33434
|
-
|
|
33435
|
-
|
|
33436
|
-
|
|
33437
|
-
"onUpdate:modelValue"
|
|
33438
|
-
|
|
33439
|
-
|
|
33440
|
-
|
|
33441
|
-
|
|
33442
|
-
|
|
33443
|
-
|
|
33444
|
-
modelValue:
|
|
33445
|
-
|
|
33446
|
-
|
|
33447
|
-
|
|
33448
|
-
|
|
33449
|
-
|
|
33450
|
-
|
|
33451
|
-
|
|
33452
|
-
|
|
33453
|
-
|
|
33454
|
-
|
|
33455
|
-
|
|
33354
|
+
edit: withCtx((scope) => {
|
|
33355
|
+
var _a;
|
|
33356
|
+
return [
|
|
33357
|
+
column.colType == "ed" ? (openBlock(), createBlock(_component_Input, {
|
|
33358
|
+
key: 0,
|
|
33359
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33360
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33361
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33362
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
33363
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange", "onOnBlur"])) : column.colType == "password" ? (openBlock(), createBlock(_component_Input, {
|
|
33364
|
+
key: 1,
|
|
33365
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33366
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33367
|
+
type: "password",
|
|
33368
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33369
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
33370
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange", "onOnBlur"])) : column.colType == "auto" ? (openBlock(), createBlock(_component_AutoComplete, {
|
|
33371
|
+
key: 2,
|
|
33372
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33373
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33374
|
+
data: _ctx.getAutoCompleteData(column),
|
|
33375
|
+
"filter-method": _ctx.getAutoCompleteFilterMethod(column),
|
|
33376
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33377
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
33378
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "filter-method", "onOnChange", "onOnBlur"])) : column.colType == "date" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
33379
|
+
key: 3,
|
|
33380
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33381
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33382
|
+
format: _ctx.getDatePickerFormat(column),
|
|
33383
|
+
type: _ctx.getDatePickerType(column),
|
|
33384
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33385
|
+
transfer: _ctx.getDateTransfer(column)
|
|
33386
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "type", "onOnChange", "transfer"])) : column.colType == "time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
33387
|
+
key: 4,
|
|
33388
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33389
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33390
|
+
format: _ctx.getTimePickerFormat(column),
|
|
33391
|
+
type: _ctx.getTimePickerType(column),
|
|
33392
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
33393
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "type", "onOnChange"])) : column.colType == "num" ? (openBlock(), createBlock(_component_InputNumber, {
|
|
33394
|
+
key: 5,
|
|
33395
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33396
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33397
|
+
max: _ctx.getInputNumberMax(column),
|
|
33398
|
+
min: _ctx.getInputNumberMin(column),
|
|
33399
|
+
step: _ctx.getInputNumberStep(column),
|
|
33400
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
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, {
|
|
33404
|
+
key: 6,
|
|
33405
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33406
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33407
|
+
multiple: _ctx.getSelectMultiple(column),
|
|
33408
|
+
clearable: _ctx.getSelectClearable(column),
|
|
33409
|
+
transfer: _ctx.getSelectTransfer(column),
|
|
33410
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
33411
|
+
}, {
|
|
33412
|
+
default: withCtx(() => [
|
|
33413
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getSelectData(column), (item2) => {
|
|
33414
|
+
return openBlock(), createBlock(_component_Option, {
|
|
33415
|
+
value: item2.value,
|
|
33416
|
+
key: item2.value
|
|
33417
|
+
}, {
|
|
33418
|
+
default: withCtx(() => [
|
|
33419
|
+
createTextVNode(toDisplayString(item2.text), 1)
|
|
33420
|
+
]),
|
|
33421
|
+
_: 2
|
|
33422
|
+
}, 1032, ["value"]);
|
|
33423
|
+
}), 128))
|
|
33424
|
+
]),
|
|
33425
|
+
_: 2
|
|
33426
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "multiple", "clearable", "transfer", "onOnChange"])) : column.colType == "treeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
33427
|
+
key: 7,
|
|
33428
|
+
class: "column-tree",
|
|
33429
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33430
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33431
|
+
data: _ctx.getTreeSelectData(column),
|
|
33432
|
+
multiple: _ctx.getTreeSelectMultiple(column),
|
|
33433
|
+
transfer: _ctx.getTreeSelectTransfer(column),
|
|
33434
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
33435
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "multiple", "transfer", "onOnChange"])) : column.colType == "ch" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
33436
|
+
key: 8,
|
|
33437
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33438
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33439
|
+
size: _ctx.getChSize(column),
|
|
33440
|
+
"true-value": _ctx.getChTrueValue(column),
|
|
33441
|
+
"false-value": _ctx.getChFalseValue(column),
|
|
33442
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
33443
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "size", "true-value", "false-value", "onOnChange"])) : column.colType == "switch" ? (openBlock(), createBlock(_component_Switch, mergeProps({
|
|
33444
|
+
key: 9,
|
|
33445
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33446
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event
|
|
33447
|
+
}, column.switchConfig, {
|
|
33448
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
33449
|
+
disabled: _ctx.getIsEnableSw(column)
|
|
33450
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "onOnChange", "disabled"])) : column.colType == "color" ? (openBlock(), createBlock(_component_ColorPicker, {
|
|
33451
|
+
key: 10,
|
|
33452
|
+
class: "nvgridcell-color",
|
|
33453
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
33454
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
33455
|
+
transfer: "",
|
|
33456
|
+
"transfer-class-name": "nvgridcell-color-transfer",
|
|
33457
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
33458
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange"])) : column.colType == "mile" ? (openBlock(), createBlock(_component_MileEdit, {
|
|
33459
|
+
key: 11,
|
|
33460
|
+
dataValue: scope.row[_ctx.getField(column)],
|
|
33461
|
+
prefix: (_a = column.mileConfig) == null ? void 0 : _a.prefix,
|
|
33462
|
+
placeholder: column.mileConfig && column.mileConfig.placeholder ? column.mileConfig.placeholder : "",
|
|
33463
|
+
onOnChange: ($event) => _ctx.mileOnChange(scope.row, column, $event)
|
|
33464
|
+
}, null, 8, ["dataValue", "prefix", "placeholder", "onOnChange"])) : createCommentVNode("", true)
|
|
33465
|
+
];
|
|
33466
|
+
}),
|
|
33456
33467
|
default: withCtx(({ row }) => {
|
|
33457
33468
|
var _a;
|
|
33458
33469
|
return [
|
|
@@ -33563,7 +33574,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33563
33574
|
}), 256))
|
|
33564
33575
|
]);
|
|
33565
33576
|
}
|
|
33566
|
-
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"]]);
|
|
33567
33578
|
const _sfc_main$l = defineComponent({
|
|
33568
33579
|
name: "FilterDaterange",
|
|
33569
33580
|
props: {
|
|
@@ -60118,7 +60129,7 @@ class GridColumnInstance extends BaseInstance {
|
|
|
60118
60129
|
//#endregion
|
|
60119
60130
|
}
|
|
60120
60131
|
const GridColumn_vue_vue_type_style_index_0_lang = "";
|
|
60121
|
-
const
|
|
60132
|
+
const GridColumn_vue_vue_type_style_index_1_scoped_f801d36f_lang = "";
|
|
60122
60133
|
const _hoisted_1$d = { class: "gridColumn" };
|
|
60123
60134
|
const _hoisted_2$a = {
|
|
60124
60135
|
key: 3,
|
|
@@ -60255,113 +60266,117 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
60255
60266
|
"filter-multiple": _ctx.getColumFilterMultiple(column.filter),
|
|
60256
60267
|
"filter-render": _ctx.getColumFilterRender(column.filter)
|
|
60257
60268
|
}, {
|
|
60258
|
-
edit: withCtx((scope) =>
|
|
60259
|
-
|
|
60260
|
-
|
|
60261
|
-
|
|
60262
|
-
|
|
60263
|
-
|
|
60264
|
-
|
|
60265
|
-
|
|
60266
|
-
|
|
60267
|
-
modelValue:
|
|
60268
|
-
|
|
60269
|
-
|
|
60270
|
-
|
|
60271
|
-
|
|
60272
|
-
|
|
60273
|
-
|
|
60274
|
-
modelValue:
|
|
60275
|
-
|
|
60276
|
-
|
|
60277
|
-
|
|
60278
|
-
|
|
60279
|
-
|
|
60280
|
-
|
|
60281
|
-
|
|
60282
|
-
modelValue:
|
|
60283
|
-
|
|
60284
|
-
|
|
60285
|
-
|
|
60286
|
-
|
|
60287
|
-
|
|
60288
|
-
|
|
60289
|
-
modelValue:
|
|
60290
|
-
|
|
60291
|
-
|
|
60292
|
-
|
|
60293
|
-
|
|
60294
|
-
|
|
60295
|
-
|
|
60296
|
-
modelValue:
|
|
60297
|
-
|
|
60298
|
-
|
|
60299
|
-
|
|
60300
|
-
|
|
60301
|
-
|
|
60302
|
-
|
|
60303
|
-
|
|
60304
|
-
|
|
60305
|
-
modelValue:
|
|
60306
|
-
|
|
60307
|
-
|
|
60308
|
-
|
|
60309
|
-
|
|
60310
|
-
|
|
60311
|
-
|
|
60312
|
-
|
|
60313
|
-
|
|
60314
|
-
|
|
60315
|
-
|
|
60316
|
-
|
|
60317
|
-
|
|
60318
|
-
|
|
60319
|
-
|
|
60320
|
-
|
|
60321
|
-
|
|
60322
|
-
|
|
60323
|
-
|
|
60324
|
-
|
|
60325
|
-
|
|
60326
|
-
|
|
60327
|
-
|
|
60328
|
-
|
|
60329
|
-
|
|
60330
|
-
|
|
60331
|
-
|
|
60332
|
-
|
|
60333
|
-
|
|
60334
|
-
|
|
60335
|
-
|
|
60336
|
-
|
|
60337
|
-
modelValue:
|
|
60338
|
-
|
|
60339
|
-
|
|
60340
|
-
|
|
60341
|
-
|
|
60342
|
-
|
|
60343
|
-
|
|
60344
|
-
|
|
60345
|
-
modelValue:
|
|
60346
|
-
|
|
60347
|
-
|
|
60348
|
-
|
|
60349
|
-
|
|
60350
|
-
|
|
60351
|
-
|
|
60352
|
-
|
|
60353
|
-
|
|
60354
|
-
|
|
60355
|
-
|
|
60356
|
-
|
|
60357
|
-
|
|
60358
|
-
|
|
60359
|
-
|
|
60360
|
-
|
|
60361
|
-
|
|
60362
|
-
|
|
60363
|
-
|
|
60364
|
-
|
|
60269
|
+
edit: withCtx((scope) => {
|
|
60270
|
+
var _a;
|
|
60271
|
+
return [
|
|
60272
|
+
column.colType == "ed" ? (openBlock(), createBlock(_component_Input, {
|
|
60273
|
+
key: 0,
|
|
60274
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60275
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60276
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
60277
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
60278
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange", "onOnBlur"])) : column.colType == "password" ? (openBlock(), createBlock(_component_Input, {
|
|
60279
|
+
key: 1,
|
|
60280
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60281
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60282
|
+
type: "password",
|
|
60283
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
60284
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
60285
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange", "onOnBlur"])) : column.colType == "auto" ? (openBlock(), createBlock(_component_AutoComplete, {
|
|
60286
|
+
key: 2,
|
|
60287
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60288
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60289
|
+
data: _ctx.getAutoCompleteData(column),
|
|
60290
|
+
"filter-method": _ctx.getAutoCompleteFilterMethod(column),
|
|
60291
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
60292
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
60293
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "filter-method", "onOnChange", "onOnBlur"])) : column.colType == "date" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
60294
|
+
key: 3,
|
|
60295
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60296
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60297
|
+
format: _ctx.getDatePickerFormat(column),
|
|
60298
|
+
type: _ctx.getDatePickerType(column),
|
|
60299
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
60300
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "type", "onOnChange"])) : column.colType == "time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
60301
|
+
key: 4,
|
|
60302
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60303
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60304
|
+
format: _ctx.getTimePickerFormat(column),
|
|
60305
|
+
type: _ctx.getTimePickerType(column),
|
|
60306
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
60307
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "type", "onOnChange"])) : column.colType == "num" ? (openBlock(), createBlock(_component_InputNumber, {
|
|
60308
|
+
key: 5,
|
|
60309
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60310
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60311
|
+
max: _ctx.getInputNumberMax(column),
|
|
60312
|
+
min: _ctx.getInputNumberMin(column),
|
|
60313
|
+
step: _ctx.getInputNumberStep(column),
|
|
60314
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
60315
|
+
onOnBlur: ($event) => _ctx.doBlur(column, scope.row)
|
|
60316
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step", "onOnChange", "onOnBlur"])) : column.colType == "select" ? (openBlock(), createBlock(_component_Select, {
|
|
60317
|
+
key: 6,
|
|
60318
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60319
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60320
|
+
multiple: _ctx.getSelectMultiple(column),
|
|
60321
|
+
clearable: _ctx.getSelectClearable(column),
|
|
60322
|
+
transfer: _ctx.getSelectTransfer(column),
|
|
60323
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
60324
|
+
}, {
|
|
60325
|
+
default: withCtx(() => [
|
|
60326
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getSelectData(column), (item2) => {
|
|
60327
|
+
return openBlock(), createBlock(_component_Option, {
|
|
60328
|
+
value: item2.value,
|
|
60329
|
+
key: item2.value
|
|
60330
|
+
}, {
|
|
60331
|
+
default: withCtx(() => [
|
|
60332
|
+
createTextVNode(toDisplayString(item2.text), 1)
|
|
60333
|
+
]),
|
|
60334
|
+
_: 2
|
|
60335
|
+
}, 1032, ["value"]);
|
|
60336
|
+
}), 128))
|
|
60337
|
+
]),
|
|
60338
|
+
_: 2
|
|
60339
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "multiple", "clearable", "transfer", "onOnChange"])) : column.colType == "treeSelect" ? (openBlock(), createBlock(_component_TreeSelect, {
|
|
60340
|
+
key: 7,
|
|
60341
|
+
class: "column-tree",
|
|
60342
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60343
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60344
|
+
data: _ctx.getTreeSelectData(column),
|
|
60345
|
+
multiple: _ctx.getTreeSelectMultiple(column),
|
|
60346
|
+
transfer: _ctx.getTreeSelectTransfer(column),
|
|
60347
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
60348
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data", "multiple", "transfer", "onOnChange"])) : column.colType == "ch" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
60349
|
+
key: 8,
|
|
60350
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60351
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60352
|
+
size: _ctx.getChSize(column),
|
|
60353
|
+
"true-value": _ctx.getChTrueValue(column),
|
|
60354
|
+
"false-value": _ctx.getChFalseValue(column),
|
|
60355
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
60356
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "size", "true-value", "false-value", "onOnChange"])) : column.colType == "switch" ? (openBlock(), createBlock(_component_Switch, mergeProps({
|
|
60357
|
+
key: 9,
|
|
60358
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60359
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event
|
|
60360
|
+
}, column.switchConfig, {
|
|
60361
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row),
|
|
60362
|
+
disabled: _ctx.getIsEnableSw(column)
|
|
60363
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "onOnChange", "disabled"])) : column.colType == "color" ? (openBlock(), createBlock(_component_ColorPicker, {
|
|
60364
|
+
key: 10,
|
|
60365
|
+
class: "nvgridcell-color",
|
|
60366
|
+
modelValue: scope.row[_ctx.getField(column)],
|
|
60367
|
+
"onUpdate:modelValue": ($event) => scope.row[_ctx.getField(column)] = $event,
|
|
60368
|
+
transfer: "",
|
|
60369
|
+
"transfer-class-name": "nvgridcell-color-transfer",
|
|
60370
|
+
onOnChange: ($event) => _ctx.doChange(column, scope.row)
|
|
60371
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onOnChange"])) : column.colType == "mile" ? (openBlock(), createBlock(_component_MileEdit, {
|
|
60372
|
+
key: 11,
|
|
60373
|
+
dataValue: scope.row[_ctx.getField(column)],
|
|
60374
|
+
prefix: (_a = column.mileConfig) == null ? void 0 : _a.prefix,
|
|
60375
|
+
placeholder: column.mileConfig && column.mileConfig.placeholder ? column.mileConfig.placeholder : "",
|
|
60376
|
+
onOnChange: ($event) => _ctx.mileOnChange(scope.row, column, $event)
|
|
60377
|
+
}, null, 8, ["dataValue", "prefix", "placeholder", "onOnChange"])) : createCommentVNode("", true)
|
|
60378
|
+
];
|
|
60379
|
+
}),
|
|
60365
60380
|
default: withCtx(({ row }) => {
|
|
60366
60381
|
var _a;
|
|
60367
60382
|
return [
|
|
@@ -60472,7 +60487,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
60472
60487
|
}), 256))
|
|
60473
60488
|
]);
|
|
60474
60489
|
}
|
|
60475
|
-
const GridColumn = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
|
60490
|
+
const GridColumn = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-f801d36f"]]);
|
|
60476
60491
|
const _sfc_main$h = defineComponent({
|
|
60477
60492
|
name: "FilterDaterange",
|
|
60478
60493
|
props: {
|