cnhis-design-vue 3.3.3-beta.65 → 3.3.3-beta.66

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.
Files changed (46) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +7 -1
  3. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +7 -1
  4. package/es/components/button-print/src/utils/print.d.ts +3 -3
  5. package/es/components/button-print/src/utils/print.js +11 -0
  6. package/es/components/classification/index.d.ts +506 -4
  7. package/es/components/classification/src/components/search-filter/index.vue.d.ts +506 -4
  8. package/es/components/classification/src/components/set-classification/index.vue.d.ts +506 -4
  9. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  10. package/es/components/classification/src/index.vue.d.ts +509 -4
  11. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -4
  12. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
  13. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  14. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
  15. package/es/components/form-config/index.d.ts +12 -12
  16. package/es/components/form-config/src/FormConfig.vue.d.ts +12 -12
  17. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +8 -8
  18. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  19. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  20. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  21. package/es/components/shortcut-setter/index.d.ts +2 -2
  22. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -2
  23. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +489 -0
  24. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
  25. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
  26. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
  27. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
  28. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +238 -0
  29. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
  30. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +238 -0
  31. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +45 -4
  32. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +476 -0
  33. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
  34. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +123 -2
  35. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +506 -4
  36. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +11 -5
  37. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  38. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  39. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  40. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
  41. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
  42. package/es/components/table-filter/src/types/enums.d.ts +12 -0
  43. package/es/components/table-filter/src/types/enums.js +13 -1
  44. package/es/env.d.ts +25 -25
  45. package/es/shared/package.json.js +1 -1
  46. package/package.json +2 -2
@@ -1,7 +1,8 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, createVNode, unref, isRef, createBlock, createCommentVNode } from 'vue';
1
+ import { defineComponent, computed, openBlock, createElementBlock, unref, Fragment, createVNode, isRef, createBlock, createCommentVNode } from 'vue';
2
2
  import DatePicker from '../../../../../date-picker/index.js';
3
3
  import { NSelect } from 'naive-ui';
4
- import { WidgetOptionEnums, WidgetTypeEnums, WidgetValEnums } from '../../../types/enums.js';
4
+ import DateOption from './Base/DateOption.vue.js';
5
+ import { ConditionEnums, WidgetOptionEnums, WidgetTypeEnums, WidgetValEnums } from '../../../types/enums.js';
5
6
  import { WidgetDateOptionEnums } from '../../render-widget/helpers/enums.js';
6
7
  import { widgetDateValOptions } from '../../render-widget/helpers/dateExtraMap.js';
7
8
  import { setDateDisabled, setTimeDisabled } from '../../render-widget/helpers/dateDisabled.js';
@@ -18,6 +19,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
18
19
  componentCfg: {
19
20
  type: Object
20
21
  },
22
+ item: {
23
+ type: Object,
24
+ required: true
25
+ },
21
26
  paramCfg: {
22
27
  type: Object,
23
28
  default: null
@@ -40,6 +45,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
40
45
  emit
41
46
  }) {
42
47
  const props = __props;
48
+ const filterType = computed(() => {
49
+ switch (props.item.condition) {
50
+ case ConditionEnums.EQUAL:
51
+ case ConditionEnums.NEQ:
52
+ return "1";
53
+ case ConditionEnums.BIG:
54
+ case ConditionEnums.LESS:
55
+ case ConditionEnums.BIGEQ:
56
+ case ConditionEnums.LESSEQ:
57
+ return "2";
58
+ case ConditionEnums.L_:
59
+ case ConditionEnums.N_:
60
+ case ConditionEnums.IN_THE_PAST:
61
+ case ConditionEnums.IN_THE_FUTURE:
62
+ case ConditionEnums.IN_THE_PAST_DI:
63
+ case ConditionEnums.IN_THE_FUTURE_DI:
64
+ return "3";
65
+ default:
66
+ return "1";
67
+ }
68
+ });
43
69
  const valueCp = computed({
44
70
  set(val) {
45
71
  emit("update:modelValue", val);
@@ -141,7 +167,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
141
167
  return setTimeDisabled(ts, optionSetting.value);
142
168
  }
143
169
  return (_ctx, _cache) => {
144
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(NSelect), {
170
+ return openBlock(), createElementBlock("div", _hoisted_1, [unref(filterType) === "1" ? (openBlock(), createElementBlock(Fragment, {
171
+ key: 0
172
+ }, [createVNode(unref(NSelect), {
145
173
  style: {
146
174
  "width": "120px"
147
175
  },
@@ -161,7 +189,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
161
189
  valueFormat: unref(valueFormat),
162
190
  "formatted-value": unref(valueCp),
163
191
  "onUpdate:formatted-value": _cache[1] || (_cache[1] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
164
- }, null, 8, ["type", "valueFormat", "formatted-value"])) : createCommentVNode("v-if", true)]);
192
+ }, null, 8, ["type", "valueFormat", "formatted-value"])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(DateOption, {
193
+ key: 1,
194
+ filterType: unref(filterType),
195
+ dateType: unref(dateType),
196
+ isDateDisabled,
197
+ timeDisabled,
198
+ valueFormat: unref(valueFormat),
199
+ modelValue: unref(valueCp),
200
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
201
+ presetVal: unref(presetValCp),
202
+ "onUpdate:presetVal": _cache[3] || (_cache[3] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null)
203
+ }, null, 8, ["filterType", "dateType", "valueFormat", "modelValue", "presetVal"]))]);
165
204
  };
166
205
  }
167
206
  });
@@ -1,5 +1,9 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
+ item: {
4
+ type: ObjectConstructor;
5
+ required: true;
6
+ };
3
7
  paramCfg: {
4
8
  type: ObjectConstructor;
5
9
  default: null;
@@ -18,6 +22,10 @@ declare const _default: import("vue").DefineComponent<{
18
22
  };
19
23
  }, {
20
24
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
25
+ item: {
26
+ type: ObjectConstructor;
27
+ required: true;
28
+ };
21
29
  paramCfg: {
22
30
  type: ObjectConstructor;
23
31
  default: null;
@@ -42,6 +50,7 @@ declare const _default: import("vue").DefineComponent<{
42
50
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
43
51
  startDate: import("vue").Ref<any>;
44
52
  endDate: import("vue").Ref<any>;
53
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
45
54
  valueFormat: import("vue").ComputedRef<string>;
46
55
  dateFormat: import("vue").ComputedRef<string>;
47
56
  compType: import("vue").ComputedRef<any>;
@@ -205,6 +214,231 @@ declare const _default: import("vue").DefineComponent<{
205
214
  to: string | false | HTMLElement;
206
215
  holidays: Date[];
207
216
  }>>;
217
+ DateOption: import("vue").DefineComponent<{
218
+ filterType: {
219
+ type: StringConstructor;
220
+ required: true;
221
+ };
222
+ modelValue: {
223
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
224
+ default: null;
225
+ };
226
+ presetVal: {
227
+ type: StringConstructor;
228
+ default: null;
229
+ };
230
+ dateType: {
231
+ type: StringConstructor;
232
+ };
233
+ isDateDisabled: {
234
+ type: FunctionConstructor;
235
+ };
236
+ timeDisabled: {
237
+ type: FunctionConstructor;
238
+ };
239
+ valueFormat: {
240
+ type: StringConstructor;
241
+ };
242
+ }, {
243
+ widgetOptions: {
244
+ label: string;
245
+ value: string;
246
+ }[];
247
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
248
+ filterType: {
249
+ type: StringConstructor;
250
+ required: true;
251
+ };
252
+ modelValue: {
253
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
254
+ default: null;
255
+ };
256
+ presetVal: {
257
+ type: StringConstructor;
258
+ default: null;
259
+ };
260
+ dateType: {
261
+ type: StringConstructor;
262
+ };
263
+ isDateDisabled: {
264
+ type: FunctionConstructor;
265
+ };
266
+ timeDisabled: {
267
+ type: FunctionConstructor;
268
+ };
269
+ valueFormat: {
270
+ type: StringConstructor;
271
+ };
272
+ }>> & {
273
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
274
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
275
+ }>>;
276
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
277
+ valueCp: import("vue").WritableComputedRef<any>;
278
+ presetValCp: import("vue").WritableComputedRef<string>;
279
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
280
+ updateUnchangedValue: {
281
+ type: BooleanConstructor;
282
+ };
283
+ onConfirm: {
284
+ type: FunctionConstructor;
285
+ };
286
+ formattedValue: {
287
+ type: PropType<(string | [string, string]) | null | undefined>;
288
+ };
289
+ placeholder: {
290
+ type: StringConstructor;
291
+ };
292
+ allowedInvalidValue: {
293
+ type: StringConstructor;
294
+ };
295
+ to: {
296
+ type: PropType<string | false | HTMLElement>;
297
+ default: string;
298
+ };
299
+ holidays: {
300
+ type: PropType<Date[]>;
301
+ default: () => never[];
302
+ };
303
+ type: {
304
+ type: StringConstructor;
305
+ default: string;
306
+ };
307
+ isDateDisabled: {
308
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
309
+ };
310
+ }, {
311
+ attrs: {
312
+ [x: string]: unknown;
313
+ };
314
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
315
+ updateUnchangedValue: {
316
+ type: BooleanConstructor;
317
+ };
318
+ onConfirm: {
319
+ type: FunctionConstructor;
320
+ };
321
+ formattedValue: {
322
+ type: PropType<(string | [string, string]) | null | undefined>;
323
+ };
324
+ placeholder: {
325
+ type: StringConstructor;
326
+ };
327
+ allowedInvalidValue: {
328
+ type: StringConstructor;
329
+ };
330
+ to: {
331
+ type: PropType<string | false | HTMLElement>;
332
+ default: string;
333
+ };
334
+ holidays: {
335
+ type: PropType<Date[]>;
336
+ default: () => never[];
337
+ };
338
+ type: {
339
+ type: StringConstructor;
340
+ default: string;
341
+ };
342
+ isDateDisabled: {
343
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
344
+ };
345
+ }>> & {
346
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
347
+ }>>;
348
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
349
+ datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
350
+ panelInstRef: import("vue").Ref<null>;
351
+ placeholderRef: import("vue").Ref<any>;
352
+ oldValue: string;
353
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
354
+ isDateTime: import("vue").ComputedRef<boolean>;
355
+ formatRef: import("vue").ComputedRef<string>;
356
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
357
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
358
+ focus: () => any;
359
+ blur: () => any;
360
+ handleConfirm: (target: HTMLInputElement) => void;
361
+ onUpdateShow: (show: boolean) => Promise<void>;
362
+ watchers: import("../../../../../../shared/types").AnyFn[];
363
+ stopWatcher: () => void;
364
+ setHoliday: (show: boolean) => Promise<void>;
365
+ onConfirm: (...args: any[]) => Promise<void>;
366
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
367
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
368
+ NDatePicker: any;
369
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
370
+ updateUnchangedValue: {
371
+ type: BooleanConstructor;
372
+ };
373
+ onConfirm: {
374
+ type: FunctionConstructor;
375
+ };
376
+ formattedValue: {
377
+ type: PropType<(string | [string, string]) | null | undefined>;
378
+ };
379
+ placeholder: {
380
+ type: StringConstructor;
381
+ };
382
+ allowedInvalidValue: {
383
+ type: StringConstructor;
384
+ };
385
+ to: {
386
+ type: PropType<string | false | HTMLElement>;
387
+ default: string;
388
+ };
389
+ holidays: {
390
+ type: PropType<Date[]>;
391
+ default: () => never[];
392
+ };
393
+ type: {
394
+ type: StringConstructor;
395
+ default: string;
396
+ };
397
+ isDateDisabled: {
398
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
399
+ };
400
+ }>> & {
401
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
402
+ }, {
403
+ type: string;
404
+ updateUnchangedValue: boolean;
405
+ to: string | false | HTMLElement;
406
+ holidays: Date[];
407
+ }>>;
408
+ NSelect: any;
409
+ NInputNumber: any;
410
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
411
+ filterType: {
412
+ type: StringConstructor;
413
+ required: true;
414
+ };
415
+ modelValue: {
416
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
417
+ default: null;
418
+ };
419
+ presetVal: {
420
+ type: StringConstructor;
421
+ default: null;
422
+ };
423
+ dateType: {
424
+ type: StringConstructor;
425
+ };
426
+ isDateDisabled: {
427
+ type: FunctionConstructor;
428
+ };
429
+ timeDisabled: {
430
+ type: FunctionConstructor;
431
+ };
432
+ valueFormat: {
433
+ type: StringConstructor;
434
+ };
435
+ }>> & {
436
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
437
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
438
+ }, {
439
+ modelValue: string | number | unknown[];
440
+ presetVal: string;
441
+ }>;
208
442
  WidgetValEnums: {
209
443
  CUSTOM: string;
210
444
  FIRST_VAL: string;
@@ -237,6 +471,10 @@ declare const _default: import("vue").DefineComponent<{
237
471
  LAST_YEAR: string;
238
472
  };
239
473
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
474
+ item: {
475
+ type: ObjectConstructor;
476
+ required: true;
477
+ };
240
478
  paramCfg: {
241
479
  type: ObjectConstructor;
242
480
  default: null;
@@ -1,9 +1,10 @@
1
- import { defineComponent, ref, computed, watch, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, toDisplayString, createCommentVNode } from 'vue';
1
+ import { defineComponent, ref, computed, watch, openBlock, createElementBlock, unref, Fragment, createVNode, isRef, withCtx, toDisplayString, createCommentVNode, createBlock } from 'vue';
2
2
  import { NSelect, NPopover } from 'naive-ui';
3
3
  import DatePicker from '../../../../../date-picker/index.js';
4
+ import DateOption from './Base/DateOption.vue.js';
4
5
  import moment from 'moment';
5
6
  import { isString } from 'lodash-es';
6
- import { WidgetOptionEnums, WidgetTypeEnums, WidgetValEnums } from '../../../types/enums.js';
7
+ import { ConditionEnums, WidgetOptionEnums, WidgetTypeEnums, WidgetValEnums } from '../../../types/enums.js';
7
8
  import { WidgetDateOptionEnums } from '../../render-widget/helpers/enums.js';
8
9
  import { widgetDateValOptions } from '../../render-widget/helpers/dateExtraMap.js';
9
10
  import { dateDisabledCollect, isStartDateRangeDisabled, isTimeStartRangeDisabled, isEndDateRangeDisabled, isTimeEndRangeDisabled } from '../../render-widget/helpers/dateDisabled.js';
@@ -29,6 +30,10 @@ const _hoisted_4 = {
29
30
  var _sfc_main = /* @__PURE__ */ defineComponent({
30
31
  __name: "DateRange",
31
32
  props: {
33
+ item: {
34
+ type: Object,
35
+ required: true
36
+ },
32
37
  paramCfg: {
33
38
  type: Object,
34
39
  default: null
@@ -53,6 +58,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
53
58
  const props = __props;
54
59
  const startDate = ref();
55
60
  const endDate = ref();
61
+ const filterType = computed(() => {
62
+ switch (props.item.condition) {
63
+ case ConditionEnums.EQUAL:
64
+ case ConditionEnums.NEQ:
65
+ return "1";
66
+ case ConditionEnums.BIG:
67
+ case ConditionEnums.LESS:
68
+ case ConditionEnums.BIGEQ:
69
+ case ConditionEnums.LESSEQ:
70
+ return "2";
71
+ case ConditionEnums.L_:
72
+ case ConditionEnums.N_:
73
+ case ConditionEnums.IN_THE_PAST:
74
+ case ConditionEnums.IN_THE_FUTURE:
75
+ case ConditionEnums.IN_THE_PAST_DI:
76
+ case ConditionEnums.IN_THE_FUTURE_DI:
77
+ return "3";
78
+ default:
79
+ return "1";
80
+ }
81
+ });
56
82
  const valueFormat = computed(() => {
57
83
  let formateStr = "";
58
84
  switch (compType.value) {
@@ -220,6 +246,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
220
246
  endDate.value = moment(end.trim()).valueOf();
221
247
  return;
222
248
  }
249
+ if (val && filterType.value !== "1") {
250
+ const v = typeof val === "number" ? String(val) : val;
251
+ emit("update:modelValue", v);
252
+ }
223
253
  startDate.value = endDate.value = null;
224
254
  }, {
225
255
  immediate: true
@@ -250,7 +280,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
250
280
  return isTimeEndRangeDisabled(ts, optionSetting.value, startDate.value);
251
281
  }
252
282
  return (_ctx, _cache) => {
253
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(NSelect), {
283
+ return openBlock(), createElementBlock("div", _hoisted_1, [unref(filterType) === "1" ? (openBlock(), createElementBlock(Fragment, {
284
+ key: 0
285
+ }, [createVNode(unref(NSelect), {
254
286
  style: {
255
287
  "width": "120px"
256
288
  },
@@ -298,7 +330,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
298
330
  }, null, 8, ["type", "default-time", "valueFormat", "placeholder", "value"])]),
299
331
  default: withCtx(() => [unref(endDateFormat) ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(endDateFormat)), 1)) : createCommentVNode("v-if", true)]),
300
332
  _: 1
301
- }, 8, ["disabled"])])) : createCommentVNode("v-if", true)]);
333
+ }, 8, ["disabled"])])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(DateOption, {
334
+ key: 1,
335
+ filterType: unref(filterType),
336
+ dateType: unref(dateType),
337
+ valueFormat: unref(valueFormat),
338
+ modelValue: __props.modelValue,
339
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
340
+ presetVal: unref(presetValCp),
341
+ "onUpdate:presetVal": _cache[4] || (_cache[4] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null)
342
+ }, null, 8, ["filterType", "dateType", "valueFormat", "modelValue", "presetVal"]))]);
302
343
  };
303
344
  }
304
345
  });