cnhis-design-vue 3.3.3-beta.73 → 3.3.3-beta.75

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 (59) hide show
  1. package/README.md +87 -87
  2. package/es/components/big-table/src/hooks/useBatchEditing.js +25 -24
  3. package/es/components/classification/index.d.ts +16 -258
  4. package/es/components/classification/src/components/search-filter/index.vue.d.ts +16 -258
  5. package/es/components/classification/src/components/set-classification/index.vue.d.ts +16 -258
  6. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  7. package/es/components/classification/src/index.vue.d.ts +16 -258
  8. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  9. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  10. package/es/components/form-render/src/constants/index.d.ts +1 -1
  11. package/es/components/iho-chat/index.d.ts +19 -2
  12. package/es/components/iho-chat/src/Index.vue.d.ts +19 -2
  13. package/es/components/iho-chat/src/Index.vue2.js +14 -6
  14. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  15. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  16. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +0 -1
  17. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +0 -20
  18. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  19. package/es/components/iho-chat/src/components/Video.vue.d.ts +6 -1
  20. package/es/components/iho-chat/src/components/Video.vue2.js +23 -11
  21. package/es/components/iho-chat/src/hooks/useVideo.d.ts +8 -8
  22. package/es/components/iho-chat/src/hooks/useVideo.js +22 -2
  23. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  24. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -22
  25. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  26. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  27. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  28. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  29. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  30. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  31. package/es/components/info-header/index.d.ts +9 -17
  32. package/es/components/info-header/src/InfoHeader.vue.d.ts +9 -17
  33. package/es/components/info-header/src/InfoHeader.vue2.js +2 -2
  34. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +3 -2
  35. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -1
  36. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +9 -17
  37. package/es/components/info-header/src/constants/index.d.ts +1 -1
  38. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  39. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  40. package/es/components/shortcut-provider/src/types/index.d.ts +1 -0
  41. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  42. package/es/components/shortcut-provider/src/utils/index.js +3 -1
  43. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -258
  44. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +7 -129
  45. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +107 -13
  46. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +7 -129
  47. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +7 -129
  48. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +2 -8
  49. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -258
  50. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +26 -1
  51. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -258
  52. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +3 -1
  53. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +16 -1
  54. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  55. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  56. package/es/components/table-filter/src/types/enums.js +1 -0
  57. package/es/env.d.ts +25 -25
  58. package/es/shared/package.json.js +1 -1
  59. package/package.json +2 -3
@@ -230,6 +230,12 @@ declare const _default: import("vue").DefineComponent<{
230
230
  label: string;
231
231
  value: string;
232
232
  }[];
233
+ widgetRangeOptions: {
234
+ label: string;
235
+ value: string;
236
+ }[];
237
+ startDateNum: import("vue").Ref<any>;
238
+ endDateNum: import("vue").Ref<any>;
233
239
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
234
240
  filterType: {
235
241
  type: StringConstructor;
@@ -262,135 +268,7 @@ declare const _default: import("vue").DefineComponent<{
262
268
  emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
263
269
  valueCp: import("vue").WritableComputedRef<any>;
264
270
  presetValCp: import("vue").WritableComputedRef<string>;
265
- CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
266
- updateUnchangedValue: {
267
- type: BooleanConstructor;
268
- };
269
- onConfirm: {
270
- type: FunctionConstructor;
271
- };
272
- formattedValue: {
273
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
274
- };
275
- placeholder: {
276
- type: StringConstructor;
277
- };
278
- allowedInvalidValue: {
279
- type: StringConstructor;
280
- };
281
- to: {
282
- type: import("vue").PropType<string | false | HTMLElement>;
283
- default: string;
284
- };
285
- holidays: {
286
- type: import("vue").PropType<Date[]>;
287
- default: () => never[];
288
- };
289
- type: {
290
- type: StringConstructor;
291
- default: string;
292
- };
293
- isDateDisabled: {
294
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
295
- };
296
- }, {
297
- attrs: {
298
- [x: string]: unknown;
299
- };
300
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
301
- updateUnchangedValue: {
302
- type: BooleanConstructor;
303
- };
304
- onConfirm: {
305
- type: FunctionConstructor;
306
- };
307
- formattedValue: {
308
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
309
- };
310
- placeholder: {
311
- type: StringConstructor;
312
- };
313
- allowedInvalidValue: {
314
- type: StringConstructor;
315
- };
316
- to: {
317
- type: import("vue").PropType<string | false | HTMLElement>;
318
- default: string;
319
- };
320
- holidays: {
321
- type: import("vue").PropType<Date[]>;
322
- default: () => never[];
323
- };
324
- type: {
325
- type: StringConstructor;
326
- default: string;
327
- };
328
- isDateDisabled: {
329
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
330
- };
331
- }>> & {
332
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
333
- }>>;
334
- emit: (event: "update:formatted-value", ...args: any[]) => void;
335
- datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
336
- panelInstRef: import("vue").Ref<null>;
337
- placeholderRef: import("vue").Ref<any>;
338
- oldValue: string;
339
- currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
340
- isDateTime: import("vue").ComputedRef<boolean>;
341
- formatRef: import("vue").ComputedRef<string>;
342
- panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
343
- _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
344
- focus: () => any;
345
- blur: () => any;
346
- handleConfirm: (target: HTMLInputElement) => void;
347
- onUpdateShow: (show: boolean) => Promise<void>;
348
- watchers: import("../../../../../../shared/types").AnyFn[];
349
- stopWatcher: () => void;
350
- setHoliday: (show: boolean) => Promise<void>;
351
- onConfirm: (...args: any[]) => Promise<void>;
352
- isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
353
- setShortcutValue: (type: "month" | "week") => Promise<void>;
354
- NDatePicker: any;
355
- }, 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<{
356
- updateUnchangedValue: {
357
- type: BooleanConstructor;
358
- };
359
- onConfirm: {
360
- type: FunctionConstructor;
361
- };
362
- formattedValue: {
363
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
364
- };
365
- placeholder: {
366
- type: StringConstructor;
367
- };
368
- allowedInvalidValue: {
369
- type: StringConstructor;
370
- };
371
- to: {
372
- type: import("vue").PropType<string | false | HTMLElement>;
373
- default: string;
374
- };
375
- holidays: {
376
- type: import("vue").PropType<Date[]>;
377
- default: () => never[];
378
- };
379
- type: {
380
- type: StringConstructor;
381
- default: string;
382
- };
383
- isDateDisabled: {
384
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
385
- };
386
- }>> & {
387
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
388
- }, {
389
- type: string;
390
- updateUnchangedValue: boolean;
391
- to: string | false | HTMLElement;
392
- holidays: Date[];
393
- }>>;
271
+ handleChange: (val: any, type: "start" | "end") => void;
394
272
  NSelect: any;
395
273
  NInputNumber: any;
396
274
  }, 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<{
@@ -244,6 +244,12 @@ declare const _default: import("vue").DefineComponent<{
244
244
  label: string;
245
245
  value: string;
246
246
  }[];
247
+ widgetRangeOptions: {
248
+ label: string;
249
+ value: string;
250
+ }[];
251
+ startDateNum: import("vue").Ref<any>;
252
+ endDateNum: import("vue").Ref<any>;
247
253
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
248
254
  filterType: {
249
255
  type: StringConstructor;
@@ -276,135 +282,7 @@ declare const _default: import("vue").DefineComponent<{
276
282
  emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
277
283
  valueCp: import("vue").WritableComputedRef<any>;
278
284
  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
- }>>;
285
+ handleChange: (val: any, type: "start" | "end") => void;
408
286
  NSelect: any;
409
287
  NInputNumber: any;
410
288
  }, 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<{
@@ -61,15 +61,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  const filterType = computed(() => {
62
62
  switch (props.item.condition) {
63
63
  case ConditionEnums.EQUAL:
64
- case ConditionEnums.NEQ:
65
64
  return "1";
66
- case ConditionEnums.BIG:
67
- case ConditionEnums.LESS:
68
- case ConditionEnums.BIGEQ:
69
- case ConditionEnums.LESSEQ:
65
+ case ConditionEnums.CUSTOM_RANGE:
70
66
  return "2";
71
- case ConditionEnums.L_:
72
- case ConditionEnums.N_:
73
67
  case ConditionEnums.IN_THE_PAST:
74
68
  case ConditionEnums.IN_THE_FUTURE:
75
69
  case ConditionEnums.IN_THE_PAST_DI:
@@ -244,7 +238,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
244
238
  }
245
239
  });
246
240
  watch(() => props.modelValue, (val) => {
247
- if (val && filterType.value !== "1" && isString(val) && val.includes("~")) {
241
+ if (val && filterType.value === "1" && isString(val) && val.includes("~")) {
248
242
  const [start, end] = val.split("~");
249
243
  if (start.trim())
250
244
  startDate.value = moment(start.trim()).valueOf();
@@ -230,6 +230,12 @@ declare const Date: import("vue").DefineComponent<{
230
230
  label: string;
231
231
  value: string;
232
232
  }[];
233
+ widgetRangeOptions: {
234
+ label: string;
235
+ value: string;
236
+ }[];
237
+ startDateNum: import("vue").Ref<any>;
238
+ endDateNum: import("vue").Ref<any>;
233
239
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
234
240
  filterType: {
235
241
  type: StringConstructor;
@@ -262,135 +268,7 @@ declare const Date: import("vue").DefineComponent<{
262
268
  emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
263
269
  valueCp: import("vue").WritableComputedRef<any>;
264
270
  presetValCp: import("vue").WritableComputedRef<string>;
265
- CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
266
- updateUnchangedValue: {
267
- type: BooleanConstructor;
268
- };
269
- onConfirm: {
270
- type: FunctionConstructor;
271
- };
272
- formattedValue: {
273
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
274
- };
275
- placeholder: {
276
- type: StringConstructor;
277
- };
278
- allowedInvalidValue: {
279
- type: StringConstructor;
280
- };
281
- to: {
282
- type: import("vue").PropType<string | false | HTMLElement>;
283
- default: string;
284
- };
285
- holidays: {
286
- type: import("vue").PropType<Date[]>;
287
- default: () => never[];
288
- };
289
- type: {
290
- type: StringConstructor;
291
- default: string;
292
- };
293
- isDateDisabled: {
294
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
295
- };
296
- }, {
297
- attrs: {
298
- [x: string]: unknown;
299
- };
300
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
301
- updateUnchangedValue: {
302
- type: BooleanConstructor;
303
- };
304
- onConfirm: {
305
- type: FunctionConstructor;
306
- };
307
- formattedValue: {
308
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
309
- };
310
- placeholder: {
311
- type: StringConstructor;
312
- };
313
- allowedInvalidValue: {
314
- type: StringConstructor;
315
- };
316
- to: {
317
- type: import("vue").PropType<string | false | HTMLElement>;
318
- default: string;
319
- };
320
- holidays: {
321
- type: import("vue").PropType<Date[]>;
322
- default: () => never[];
323
- };
324
- type: {
325
- type: StringConstructor;
326
- default: string;
327
- };
328
- isDateDisabled: {
329
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
330
- };
331
- }>> & {
332
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
333
- }>>;
334
- emit: (event: "update:formatted-value", ...args: any[]) => void;
335
- datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
336
- panelInstRef: import("vue").Ref<null>;
337
- placeholderRef: import("vue").Ref<any>;
338
- oldValue: string;
339
- currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
340
- isDateTime: import("vue").ComputedRef<boolean>;
341
- formatRef: import("vue").ComputedRef<string>;
342
- panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
343
- _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
344
- focus: () => any;
345
- blur: () => any;
346
- handleConfirm: (target: HTMLInputElement) => void;
347
- onUpdateShow: (show: boolean) => Promise<void>;
348
- watchers: import("../../../../../../shared/types").AnyFn[];
349
- stopWatcher: () => void;
350
- setHoliday: (show: boolean) => Promise<void>;
351
- onConfirm: (...args: any[]) => Promise<void>;
352
- isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
353
- setShortcutValue: (type: "month" | "week") => Promise<void>;
354
- NDatePicker: any;
355
- }, 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<{
356
- updateUnchangedValue: {
357
- type: BooleanConstructor;
358
- };
359
- onConfirm: {
360
- type: FunctionConstructor;
361
- };
362
- formattedValue: {
363
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
364
- };
365
- placeholder: {
366
- type: StringConstructor;
367
- };
368
- allowedInvalidValue: {
369
- type: StringConstructor;
370
- };
371
- to: {
372
- type: import("vue").PropType<string | false | HTMLElement>;
373
- default: string;
374
- };
375
- holidays: {
376
- type: import("vue").PropType<Date[]>;
377
- default: () => never[];
378
- };
379
- type: {
380
- type: StringConstructor;
381
- default: string;
382
- };
383
- isDateDisabled: {
384
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
385
- };
386
- }>> & {
387
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
388
- }, {
389
- type: string;
390
- updateUnchangedValue: boolean;
391
- to: string | false | HTMLElement;
392
- holidays: Date[];
393
- }>>;
271
+ handleChange: (val: any, type: "start" | "end") => void;
394
272
  NSelect: any;
395
273
  NInputNumber: any;
396
274
  }, 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<{
@@ -1185,6 +1063,12 @@ declare const DateRange: import("vue").DefineComponent<{
1185
1063
  label: string;
1186
1064
  value: string;
1187
1065
  }[];
1066
+ widgetRangeOptions: {
1067
+ label: string;
1068
+ value: string;
1069
+ }[];
1070
+ startDateNum: import("vue").Ref<any>;
1071
+ endDateNum: import("vue").Ref<any>;
1188
1072
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1189
1073
  filterType: {
1190
1074
  type: StringConstructor;
@@ -1217,135 +1101,7 @@ declare const DateRange: import("vue").DefineComponent<{
1217
1101
  emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
1218
1102
  valueCp: import("vue").WritableComputedRef<any>;
1219
1103
  presetValCp: import("vue").WritableComputedRef<string>;
1220
- CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
1221
- updateUnchangedValue: {
1222
- type: BooleanConstructor;
1223
- };
1224
- onConfirm: {
1225
- type: FunctionConstructor;
1226
- };
1227
- formattedValue: {
1228
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1229
- };
1230
- placeholder: {
1231
- type: StringConstructor;
1232
- };
1233
- allowedInvalidValue: {
1234
- type: StringConstructor;
1235
- };
1236
- to: {
1237
- type: import("vue").PropType<string | false | HTMLElement>;
1238
- default: string;
1239
- };
1240
- holidays: {
1241
- type: import("vue").PropType<Date[]>;
1242
- default: () => never[];
1243
- };
1244
- type: {
1245
- type: StringConstructor;
1246
- default: string;
1247
- };
1248
- isDateDisabled: {
1249
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1250
- };
1251
- }, {
1252
- attrs: {
1253
- [x: string]: unknown;
1254
- };
1255
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1256
- updateUnchangedValue: {
1257
- type: BooleanConstructor;
1258
- };
1259
- onConfirm: {
1260
- type: FunctionConstructor;
1261
- };
1262
- formattedValue: {
1263
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1264
- };
1265
- placeholder: {
1266
- type: StringConstructor;
1267
- };
1268
- allowedInvalidValue: {
1269
- type: StringConstructor;
1270
- };
1271
- to: {
1272
- type: import("vue").PropType<string | false | HTMLElement>;
1273
- default: string;
1274
- };
1275
- holidays: {
1276
- type: import("vue").PropType<Date[]>;
1277
- default: () => never[];
1278
- };
1279
- type: {
1280
- type: StringConstructor;
1281
- default: string;
1282
- };
1283
- isDateDisabled: {
1284
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1285
- };
1286
- }>> & {
1287
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1288
- }>>;
1289
- emit: (event: "update:formatted-value", ...args: any[]) => void;
1290
- datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
1291
- panelInstRef: import("vue").Ref<null>;
1292
- placeholderRef: import("vue").Ref<any>;
1293
- oldValue: string;
1294
- currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1295
- isDateTime: import("vue").ComputedRef<boolean>;
1296
- formatRef: import("vue").ComputedRef<string>;
1297
- panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1298
- _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1299
- focus: () => any;
1300
- blur: () => any;
1301
- handleConfirm: (target: HTMLInputElement) => void;
1302
- onUpdateShow: (show: boolean) => Promise<void>;
1303
- watchers: import("../../../../../../shared/types").AnyFn[];
1304
- stopWatcher: () => void;
1305
- setHoliday: (show: boolean) => Promise<void>;
1306
- onConfirm: (...args: any[]) => Promise<void>;
1307
- isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1308
- setShortcutValue: (type: "month" | "week") => Promise<void>;
1309
- NDatePicker: any;
1310
- }, 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<{
1311
- updateUnchangedValue: {
1312
- type: BooleanConstructor;
1313
- };
1314
- onConfirm: {
1315
- type: FunctionConstructor;
1316
- };
1317
- formattedValue: {
1318
- type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1319
- };
1320
- placeholder: {
1321
- type: StringConstructor;
1322
- };
1323
- allowedInvalidValue: {
1324
- type: StringConstructor;
1325
- };
1326
- to: {
1327
- type: import("vue").PropType<string | false | HTMLElement>;
1328
- default: string;
1329
- };
1330
- holidays: {
1331
- type: import("vue").PropType<Date[]>;
1332
- default: () => never[];
1333
- };
1334
- type: {
1335
- type: StringConstructor;
1336
- default: string;
1337
- };
1338
- isDateDisabled: {
1339
- type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1340
- };
1341
- }>> & {
1342
- "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1343
- }, {
1344
- type: string;
1345
- updateUnchangedValue: boolean;
1346
- to: string | false | HTMLElement;
1347
- holidays: Date[];
1348
- }>>;
1104
+ handleChange: (val: any, type: "start" | "end") => void;
1349
1105
  NSelect: any;
1350
1106
  NInputNumber: any;
1351
1107
  }, 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<{
@@ -22,7 +22,32 @@ const baseConditionOptions = [{
22
22
  value: ConditionEnums.NULL
23
23
  }];
24
24
  const dateConditionOptions = [
25
- ...baseConditionOptions,
25
+ {
26
+ label: function() {
27
+ var _a, _b, _c;
28
+ try {
29
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.376")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.376")) || "\u81EA\u5B9A\u4E49";
30
+ } catch (e) {
31
+ return "\u81EA\u5B9A\u4E49";
32
+ }
33
+ }(),
34
+ value: ConditionEnums.EQUAL
35
+ },
36
+ {
37
+ label: "\u81EA\u5B9A\u4E49\u8303\u56F4",
38
+ value: ConditionEnums.CUSTOM_RANGE
39
+ },
40
+ {
41
+ label: function() {
42
+ var _a, _b, _c;
43
+ try {
44
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.338")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.338")) || "\u4E3A\u7A7A";
45
+ } catch (e) {
46
+ return "\u4E3A\u7A7A";
47
+ }
48
+ }(),
49
+ value: ConditionEnums.NULL
50
+ },
26
51
  {
27
52
  label: function() {
28
53
  var _a, _b, _c;