cnhis-design-vue 3.1.45-beta.8 → 3.1.45-beta.9

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 (118) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +2 -0
  3. package/es/components/base-search/src/index.vue.d.ts +2 -0
  4. package/es/components/base-search/style/index.css +1 -1
  5. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  6. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  7. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  8. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  9. package/es/components/classification/index.d.ts +165 -11
  10. package/es/components/classification/src/components/search-filter/index.vue.d.ts +165 -11
  11. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  12. package/es/components/classification/src/components/set-classification/index.vue.d.ts +165 -11
  13. package/es/components/classification/src/index.vue.d.ts +165 -11
  14. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  17. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  18. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
  19. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
  20. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
  21. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
  22. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
  23. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
  24. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
  25. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +3 -0
  26. package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
  27. package/es/components/index.css +1 -1
  28. package/es/components/quick-search/index.d.ts +2 -0
  29. package/es/components/quick-search/src/index.vue.d.ts +2 -0
  30. package/es/components/quick-search/style/index.css +1 -1
  31. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  32. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
  33. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
  34. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
  35. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
  36. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
  37. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  38. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  39. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +165 -10
  40. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  41. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +16 -1
  42. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  43. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -0
  44. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  45. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +128 -10
  46. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  47. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +61 -0
  48. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -0
  49. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  50. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +163 -10
  51. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +165 -10
  52. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +218 -0
  53. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
  54. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
  55. package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
  56. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
  57. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
  58. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
  59. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
  60. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
  61. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +99 -5
  62. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  63. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -9
  64. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  65. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +7 -5
  66. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  67. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +6 -5
  68. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  69. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +15 -25
  70. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  71. package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +45 -0
  72. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +175 -0
  73. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
  74. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
  75. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +114 -0
  76. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
  77. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
  78. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +520 -25
  79. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  80. package/es/components/table-filter/src/components/render-widget/enums.d.ts +10 -3
  81. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  82. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
  83. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
  84. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
  85. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
  86. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
  87. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
  88. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
  89. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  90. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  91. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +548 -24
  92. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  93. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
  94. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  95. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  96. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  97. package/es/components/table-filter/src/types/enums.d.ts +2 -0
  98. package/es/components/table-filter/src/types/enums.js +1 -1
  99. package/es/env.d.ts +25 -25
  100. package/es/shared/assets/img/failure.png.js +1 -1
  101. package/es/shared/assets/img/no-permission.png.js +1 -1
  102. package/es/shared/assets/img/nodata.png.js +1 -1
  103. package/es/shared/assets/img/notfound.png.js +1 -1
  104. package/es/shared/assets/img/qr.png.js +1 -1
  105. package/es/shared/assets/img/success.png.js +1 -1
  106. package/es/shared/assets/img/video.png.js +1 -1
  107. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  108. package/es/shared/assets/img/xb_big.png.js +1 -1
  109. package/es/shared/assets/img/xb_small.png.js +1 -1
  110. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  111. package/es/shared/package.json.js +1 -1
  112. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  113. package/es/shared/utils/tapable/index.d.ts +139 -0
  114. package/package.json +2 -2
  115. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
  116. package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
  117. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
  118. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
@@ -43,7 +43,6 @@ declare const _default: import("vue").DefineComponent<{
43
43
  bodyStyle: import("vue").Ref<{
44
44
  maxHeight: string;
45
45
  height: string;
46
- overflowY: string;
47
46
  }>;
48
47
  conditionApiRef: any;
49
48
  filterTimer: any;
@@ -212,6 +211,9 @@ declare const _default: import("vue").DefineComponent<{
212
211
  presetValCp: import("vue").WritableComputedRef<string>;
213
212
  widgetType: import("vue").ComputedRef<any>;
214
213
  Date: import("vue").DefineComponent<{
214
+ componentCfg: {
215
+ type: ObjectConstructor;
216
+ };
215
217
  paramCfg: {
216
218
  type: ObjectConstructor;
217
219
  default: null;
@@ -226,6 +228,9 @@ declare const _default: import("vue").DefineComponent<{
226
228
  };
227
229
  }, {
228
230
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
231
+ componentCfg: {
232
+ type: ObjectConstructor;
233
+ };
229
234
  paramCfg: {
230
235
  type: ObjectConstructor;
231
236
  default: null;
@@ -248,11 +253,17 @@ declare const _default: import("vue").DefineComponent<{
248
253
  dateType: any;
249
254
  valueFormat: import("vue").ComputedRef<string>;
250
255
  compType: import("vue").ComputedRef<any>;
251
- mappingConfig: import("vue").ComputedRef<any>;
256
+ optionSetting: import("vue").ComputedRef<any>;
252
257
  widgetOptions: import("vue").ComputedRef<{
253
258
  label: string;
254
259
  value: string;
255
260
  }[]>;
261
+ isDateDisabled: (ts: number) => boolean;
262
+ timeDisabled: (ts: number) => {
263
+ isHourDisabled(hour: number): boolean | undefined;
264
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
265
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
266
+ };
256
267
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
257
268
  updateUnchangedValue: {
258
269
  type: BooleanConstructor;
@@ -324,6 +335,9 @@ declare const _default: import("vue").DefineComponent<{
324
335
  LAST_YEAR: string;
325
336
  };
326
337
  }, 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<{
338
+ componentCfg: {
339
+ type: ObjectConstructor;
340
+ };
327
341
  paramCfg: {
328
342
  type: ObjectConstructor;
329
343
  default: null;
@@ -475,6 +489,7 @@ declare const _default: import("vue").DefineComponent<{
475
489
  default: null;
476
490
  };
477
491
  }, {
492
+ message: import("naive-ui").MessageApi;
478
493
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
479
494
  paramCfg: {
480
495
  type: ObjectConstructor;
@@ -488,27 +503,145 @@ declare const _default: import("vue").DefineComponent<{
488
503
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
489
504
  }>>;
490
505
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
491
- $attrs: {
492
- [x: string]: unknown;
493
- };
494
506
  emit: (event: "update:modelValue", ...args: any[]) => void;
495
- selectOptions: import("vue").Ref<any[]>;
496
507
  isLoading: import("vue").Ref<boolean>;
497
508
  filterApiConfig: import("../../../..").AnyObject;
498
- valueCp: import("vue").WritableComputedRef<any>;
509
+ totalPage: import("vue").Ref<number>;
510
+ menuProps: {
511
+ class: string;
512
+ };
513
+ curPage: import("vue").Ref<number>;
514
+ fieldTitleList: import("vue").Ref<any>;
515
+ selectOptions: import("vue").Ref<any[]>;
516
+ keywordVal: import("vue").Ref<any>;
499
517
  optionSetting: import("vue").ComputedRef<any>;
500
518
  isMultiple: import("vue").ComputedRef<boolean>;
501
- searchOptions: (keyword: string) => Promise<any>;
519
+ dynamicOptionInfos: import("vue").ComputedRef<any>;
520
+ isLastPage: import("vue").ComputedRef<boolean>;
521
+ valueCp: import("vue").ComputedRef<string | number | any[]>;
522
+ setOptionActive: (selectIds: string[]) => void;
523
+ handleUpdateSelect: (value: string[] | null) => void;
524
+ handleUpdatePage: (page: number) => Promise<void>;
525
+ getOptionsData: (keyword: string, curPage: number) => Promise<any>;
502
526
  _handleSearch: (query: string) => Promise<void>;
503
527
  handleSearch: (query: string) => Promise<void>;
504
528
  handleInitData: () => Promise<void>;
505
- renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
506
- [key: string]: any;
507
- }>;
529
+ handleClear: () => Promise<void>;
508
530
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
509
531
  [key: string]: any;
510
532
  }>;
511
533
  NSelect: any;
534
+ SelectDynamicOption: import("vue").DefineComponent<{
535
+ dynamicOptionInfo: {
536
+ type: import("vue").PropType<import("../../../..").AnyObject>;
537
+ default: () => {};
538
+ };
539
+ fieldTitleList: {
540
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
541
+ default: () => never[];
542
+ };
543
+ optionList: {
544
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
545
+ default: () => never[];
546
+ };
547
+ isMultiple: {
548
+ type: BooleanConstructor;
549
+ default: boolean;
550
+ };
551
+ curPage: {
552
+ type: NumberConstructor;
553
+ default: number;
554
+ };
555
+ isLastPage: {
556
+ type: BooleanConstructor;
557
+ default: boolean;
558
+ };
559
+ }, {
560
+ selectMinWidth: number;
561
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
562
+ dynamicOptionInfo: {
563
+ type: import("vue").PropType<import("../../../..").AnyObject>;
564
+ default: () => {};
565
+ };
566
+ fieldTitleList: {
567
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
568
+ default: () => never[];
569
+ };
570
+ optionList: {
571
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
572
+ default: () => never[];
573
+ };
574
+ isMultiple: {
575
+ type: BooleanConstructor;
576
+ default: boolean;
577
+ };
578
+ curPage: {
579
+ type: NumberConstructor;
580
+ default: number;
581
+ };
582
+ isLastPage: {
583
+ type: BooleanConstructor;
584
+ default: boolean;
585
+ };
586
+ }>> & {
587
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
588
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
589
+ }>>;
590
+ emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
591
+ dragEndWidth: import("vue").Ref<number>;
592
+ showKeys: import("vue").ComputedRef<any>;
593
+ titleList: import("vue").ComputedRef<string[]>;
594
+ handleSelect: (option: any) => void;
595
+ searchByPage: (onePage: number) => void;
596
+ changeWidth: ({ distance }: any) => void;
597
+ saveWidth: () => void;
598
+ NEmpty: any;
599
+ NButtonGroup: any;
600
+ NButton: any;
601
+ NIcon: any;
602
+ NPopover: any;
603
+ vFlexibleResize: {
604
+ mounted(el: any, { value }: any): void;
605
+ beforeUnmount(el: any): void;
606
+ };
607
+ ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
608
+ ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
609
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
610
+ dynamicOptionInfo: {
611
+ type: import("vue").PropType<import("../../../..").AnyObject>;
612
+ default: () => {};
613
+ };
614
+ fieldTitleList: {
615
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
616
+ default: () => never[];
617
+ };
618
+ optionList: {
619
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
620
+ default: () => never[];
621
+ };
622
+ isMultiple: {
623
+ type: BooleanConstructor;
624
+ default: boolean;
625
+ };
626
+ curPage: {
627
+ type: NumberConstructor;
628
+ default: number;
629
+ };
630
+ isLastPage: {
631
+ type: BooleanConstructor;
632
+ default: boolean;
633
+ };
634
+ }>> & {
635
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
636
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
637
+ }, {
638
+ dynamicOptionInfo: import("../../../..").AnyObject;
639
+ fieldTitleList: import("../../../..").AnyObject[];
640
+ optionList: import("../../../..").AnyObject[];
641
+ isMultiple: boolean;
642
+ curPage: number;
643
+ isLastPage: boolean;
644
+ }>;
512
645
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
513
646
  paramCfg: {
514
647
  type: ObjectConstructor;
@@ -614,8 +747,15 @@ declare const _default: import("vue").DefineComponent<{
614
747
  valueFormat: import("vue").ComputedRef<string>;
615
748
  dateFormat: import("vue").ComputedRef<string>;
616
749
  compType: import("vue").ComputedRef<any>;
750
+ optionSetting: import("vue").ComputedRef<any>;
751
+ isPastTime: import("vue").ComputedRef<boolean>;
752
+ isFutureTime: import("vue").ComputedRef<boolean>;
617
753
  startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
618
754
  endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
755
+ startDefault: import("vue").ComputedRef<string>;
756
+ endDefault: import("vue").ComputedRef<string>;
757
+ startDateFormat: import("vue").ComputedRef<string | null>;
758
+ endDateFormat: import("vue").ComputedRef<string | null>;
619
759
  dateType: any;
620
760
  widgetOptions: import("vue").ComputedRef<{
621
761
  label: string;
@@ -624,8 +764,19 @@ declare const _default: import("vue").DefineComponent<{
624
764
  presetValCp: import("vue").WritableComputedRef<string>;
625
765
  handleChange: (val: any, type: "end" | "start") => void;
626
766
  isStartDateDisabled: (ts: number) => boolean;
767
+ timeStartDisabled: (ts: number) => {
768
+ isHourDisabled(hour: number): boolean | 0;
769
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
770
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
771
+ };
627
772
  isEndDateDisabled: (ts: number) => boolean;
773
+ timeEndDisabled: (ts: number) => {
774
+ isHourDisabled(hour: number): boolean | 0;
775
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
776
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
777
+ };
628
778
  NSelect: any;
779
+ NPopover: any;
629
780
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
630
781
  updateUnchangedValue: {
631
782
  type: BooleanConstructor;
@@ -727,6 +878,7 @@ declare const _default: import("vue").DefineComponent<{
727
878
  };
728
879
  }, {
729
880
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
881
+ message: import("naive-ui").MessageApi;
730
882
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
731
883
  paramCfg: {
732
884
  type: ObjectConstructor;
@@ -766,7 +918,9 @@ declare const _default: import("vue").DefineComponent<{
766
918
  INPUT: string;
767
919
  SELECT: string;
768
920
  DATE: string;
921
+ DATE_OUT: string;
769
922
  DATE_TIME: string;
923
+ DATETIME_OUT: string;
770
924
  CHECKBOX_GROUP: string;
771
925
  INPUTNUMBER_RANGE: string;
772
926
  DATE_RANGE_OUT: string;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as i,onBeforeUnmount as t,watch as a,openBlock as l,createBlock as o,unref as n,normalizeClass as s,withCtx as u,createVNode as d,normalizeStyle as c,createElementVNode as r,createTextVNode as v,mergeProps as h}from"vue";import{NModal as f,NCard as m,NButton as p}from"naive-ui";import x from"../../../../table-filter/src/components/classify-filter/index.vue.js";const g={class:"svg-wrap"},b={class:"flex_right"};var y=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:y,emit:w}){const k=e,z=i(k.visible),A=i(!1),C=i("860px");let L=i({maxHeight:"496px",height:"496px",overflowY:"auto"}),_=i(null),S=null;function H(){F(),S=setTimeout((()=>{_&&_.value.handleInitConditions()}),30)}function F(){S&&clearTimeout(S)}function T(){_&&_.value.saveAdd()}function $(){z.value=!1,w("cancelSaveAdd"),C.value="860px",L.value={height:"496px",maxHeight:"496px",overflowY:"auto"},A.value=!1,_&&_.value.cancelSaveAdd()}function Y(){A.value=!A.value;let e=document.body.clientHeight;"860px"===C.value?(C.value="100%",L.value.maxHeight=`${e}px`,L.value.height=`${e}px`):(C.value="860px",L.value.maxHeight="496px",L.value.height="")}return t((()=>{F()})),a((()=>k.visible),(e=>{z.value=e,e&&H()})),y({cancelSaveAdd:$}),(e,i)=>(l(),o(n(f),{class:s(["classification-modal-block standard-modal standard-modal-white",{"modal-screen":A.value}]),show:z.value,"onUpdate:show":i[0]||(i[0]=e=>z.value=e),maskClosable:!1,width:C.value,bodyStyle:n(L),closable:!1,centered:"",onPositiveClick:T,onNegativeClick:$},{default:u((()=>[d(n(m),{style:c({width:C.value,...n(L)}),title:k.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":u((()=>[r("div",g,[r("i",{onClick:Y,class:s(["iconfont-table-filter",A.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),r("i",{onClick:$,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:u((()=>[r("div",b,[d(n(p),{onClick:$},{default:u((()=>[v("取消")])),_:1}),d(n(p),{type:"info",onClick:T},{default:u((()=>[v("保存")])),_:1})])])),default:u((()=>[d(x,h(e.$attrs,{ref_key:"conditionApiRef",ref:_,searchFieldList:k.searchFieldList,conditionList:k.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{y as default};
1
+ import{defineComponent as e,ref as i,onBeforeUnmount as t,watch as a,openBlock as l,createBlock as n,unref as o,normalizeClass as s,withCtx as d,createVNode as u,normalizeStyle as c,createElementVNode as r,createTextVNode as h,mergeProps as v}from"vue";import{NModal as f,NCard as m,NButton as p}from"naive-ui";import x from"../../../../table-filter/src/components/classify-filter/index.vue.js";const g={class:"svg-wrap"},b={class:"flex_right"};var y=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:y,emit:k}){const z=e,w=i(z.visible),A=i(!1),C=i("860px");let L=i({maxHeight:"496px",height:"496px"}),_=i(null),S=null;function H(){F(),S=setTimeout((()=>{_&&_.value.handleInitConditions()}),30)}function F(){S&&clearTimeout(S)}function T(){_&&_.value.saveAdd()}function $(){w.value=!1,k("cancelSaveAdd"),C.value="860px",L.value={height:"496px",maxHeight:"496px"},A.value=!1,_&&_.value.cancelSaveAdd()}function j(){A.value=!A.value;let e=document.body.clientHeight;"860px"===C.value?(C.value="100%",L.value.maxHeight=`${e}px`,L.value.height=`${e}px`):(C.value="860px",L.value.maxHeight="496px",L.value.height="")}return t((()=>{F()})),a((()=>z.visible),(e=>{w.value=e,e&&H()})),y({cancelSaveAdd:$}),(e,i)=>(l(),n(o(f),{class:s(["classification-modal-block standard-modal standard-modal-white search-filter-modal",{"modal-screen":A.value}]),show:w.value,"onUpdate:show":i[0]||(i[0]=e=>w.value=e),maskClosable:!1,width:C.value,bodyStyle:o(L),closable:!1,centered:"",onPositiveClick:T,onNegativeClick:$},{default:d((()=>[u(o(m),{style:c({width:C.value,...o(L)}),title:z.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":d((()=>[r("div",g,[r("i",{onClick:j,class:s(["iconfont-table-filter",A.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),r("i",{onClick:$,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:d((()=>[r("div",b,[u(o(p),{onClick:$},{default:d((()=>[h("取消")])),_:1}),u(o(p),{type:"info",onClick:T},{default:d((()=>[h("保存")])),_:1})])])),default:d((()=>[u(x,v(e.$attrs,{ref_key:"conditionApiRef",ref:_,searchFieldList:z.searchFieldList,conditionList:z.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{y as default};
@@ -353,7 +353,6 @@ declare const _default: import("vue").DefineComponent<{
353
353
  bodyStyle: import("vue").Ref<{
354
354
  maxHeight: string;
355
355
  height: string;
356
- overflowY: string;
357
356
  }>;
358
357
  conditionApiRef: any;
359
358
  filterTimer: any;
@@ -522,6 +521,9 @@ declare const _default: import("vue").DefineComponent<{
522
521
  presetValCp: import("vue").WritableComputedRef<string>;
523
522
  widgetType: import("vue").ComputedRef<any>;
524
523
  Date: import("vue").DefineComponent<{
524
+ componentCfg: {
525
+ type: ObjectConstructor;
526
+ };
525
527
  paramCfg: {
526
528
  type: ObjectConstructor;
527
529
  default: null;
@@ -536,6 +538,9 @@ declare const _default: import("vue").DefineComponent<{
536
538
  };
537
539
  }, {
538
540
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
541
+ componentCfg: {
542
+ type: ObjectConstructor;
543
+ };
539
544
  paramCfg: {
540
545
  type: ObjectConstructor;
541
546
  default: null;
@@ -558,11 +563,17 @@ declare const _default: import("vue").DefineComponent<{
558
563
  dateType: any;
559
564
  valueFormat: import("vue").ComputedRef<string>;
560
565
  compType: import("vue").ComputedRef<any>;
561
- mappingConfig: import("vue").ComputedRef<any>;
566
+ optionSetting: import("vue").ComputedRef<any>;
562
567
  widgetOptions: import("vue").ComputedRef<{
563
568
  label: string;
564
569
  value: string;
565
570
  }[]>;
571
+ isDateDisabled: (ts: number) => boolean;
572
+ timeDisabled: (ts: number) => {
573
+ isHourDisabled(hour: number): boolean | undefined;
574
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
575
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
576
+ };
566
577
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
567
578
  updateUnchangedValue: {
568
579
  type: BooleanConstructor;
@@ -634,6 +645,9 @@ declare const _default: import("vue").DefineComponent<{
634
645
  LAST_YEAR: string;
635
646
  };
636
647
  }, 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<{
648
+ componentCfg: {
649
+ type: ObjectConstructor;
650
+ };
637
651
  paramCfg: {
638
652
  type: ObjectConstructor;
639
653
  default: null;
@@ -785,6 +799,7 @@ declare const _default: import("vue").DefineComponent<{
785
799
  default: null;
786
800
  };
787
801
  }, {
802
+ message: import("naive-ui").MessageApi;
788
803
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
789
804
  paramCfg: {
790
805
  type: ObjectConstructor;
@@ -798,27 +813,145 @@ declare const _default: import("vue").DefineComponent<{
798
813
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
799
814
  }>>;
800
815
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
801
- $attrs: {
802
- [x: string]: unknown;
803
- };
804
816
  emit: (event: "update:modelValue", ...args: any[]) => void;
805
- selectOptions: import("vue").Ref<any[]>;
806
817
  isLoading: import("vue").Ref<boolean>;
807
818
  filterApiConfig: import("../../../..").AnyObject;
808
- valueCp: import("vue").WritableComputedRef<any>;
819
+ totalPage: import("vue").Ref<number>;
820
+ menuProps: {
821
+ class: string;
822
+ };
823
+ curPage: import("vue").Ref<number>;
824
+ fieldTitleList: import("vue").Ref<any>;
825
+ selectOptions: import("vue").Ref<any[]>;
826
+ keywordVal: import("vue").Ref<any>;
809
827
  optionSetting: import("vue").ComputedRef<any>;
810
828
  isMultiple: import("vue").ComputedRef<boolean>;
811
- searchOptions: (keyword: string) => Promise<any>;
829
+ dynamicOptionInfos: import("vue").ComputedRef<any>;
830
+ isLastPage: import("vue").ComputedRef<boolean>;
831
+ valueCp: import("vue").ComputedRef<string | number | any[]>;
832
+ setOptionActive: (selectIds: string[]) => void;
833
+ handleUpdateSelect: (value: string[] | null) => void;
834
+ handleUpdatePage: (page: number) => Promise<void>;
835
+ getOptionsData: (keyword: string, curPage: number) => Promise<any>;
812
836
  _handleSearch: (query: string) => Promise<void>;
813
837
  handleSearch: (query: string) => Promise<void>;
814
838
  handleInitData: () => Promise<void>;
815
- renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
816
- [key: string]: any;
817
- }>;
839
+ handleClear: () => Promise<void>;
818
840
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
819
841
  [key: string]: any;
820
842
  }>;
821
843
  NSelect: any;
844
+ SelectDynamicOption: import("vue").DefineComponent<{
845
+ dynamicOptionInfo: {
846
+ type: import("vue").PropType<import("../../../..").AnyObject>;
847
+ default: () => {};
848
+ };
849
+ fieldTitleList: {
850
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
851
+ default: () => never[];
852
+ };
853
+ optionList: {
854
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
855
+ default: () => never[];
856
+ };
857
+ isMultiple: {
858
+ type: BooleanConstructor;
859
+ default: boolean;
860
+ };
861
+ curPage: {
862
+ type: NumberConstructor;
863
+ default: number;
864
+ };
865
+ isLastPage: {
866
+ type: BooleanConstructor;
867
+ default: boolean;
868
+ };
869
+ }, {
870
+ selectMinWidth: number;
871
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
872
+ dynamicOptionInfo: {
873
+ type: import("vue").PropType<import("../../../..").AnyObject>;
874
+ default: () => {};
875
+ };
876
+ fieldTitleList: {
877
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
878
+ default: () => never[];
879
+ };
880
+ optionList: {
881
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
882
+ default: () => never[];
883
+ };
884
+ isMultiple: {
885
+ type: BooleanConstructor;
886
+ default: boolean;
887
+ };
888
+ curPage: {
889
+ type: NumberConstructor;
890
+ default: number;
891
+ };
892
+ isLastPage: {
893
+ type: BooleanConstructor;
894
+ default: boolean;
895
+ };
896
+ }>> & {
897
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
898
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
899
+ }>>;
900
+ emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
901
+ dragEndWidth: import("vue").Ref<number>;
902
+ showKeys: import("vue").ComputedRef<any>;
903
+ titleList: import("vue").ComputedRef<string[]>;
904
+ handleSelect: (option: any) => void;
905
+ searchByPage: (onePage: number) => void;
906
+ changeWidth: ({ distance }: any) => void;
907
+ saveWidth: () => void;
908
+ NEmpty: any;
909
+ NButtonGroup: any;
910
+ NButton: any;
911
+ NIcon: any;
912
+ NPopover: any;
913
+ vFlexibleResize: {
914
+ mounted(el: any, { value }: any): void;
915
+ beforeUnmount(el: any): void;
916
+ };
917
+ ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
918
+ ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
919
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
920
+ dynamicOptionInfo: {
921
+ type: import("vue").PropType<import("../../../..").AnyObject>;
922
+ default: () => {};
923
+ };
924
+ fieldTitleList: {
925
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
926
+ default: () => never[];
927
+ };
928
+ optionList: {
929
+ type: import("vue").PropType<import("../../../..").AnyObject[]>;
930
+ default: () => never[];
931
+ };
932
+ isMultiple: {
933
+ type: BooleanConstructor;
934
+ default: boolean;
935
+ };
936
+ curPage: {
937
+ type: NumberConstructor;
938
+ default: number;
939
+ };
940
+ isLastPage: {
941
+ type: BooleanConstructor;
942
+ default: boolean;
943
+ };
944
+ }>> & {
945
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
946
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
947
+ }, {
948
+ dynamicOptionInfo: import("../../../..").AnyObject;
949
+ fieldTitleList: import("../../../..").AnyObject[];
950
+ optionList: import("../../../..").AnyObject[];
951
+ isMultiple: boolean;
952
+ curPage: number;
953
+ isLastPage: boolean;
954
+ }>;
822
955
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
823
956
  paramCfg: {
824
957
  type: ObjectConstructor;
@@ -924,8 +1057,15 @@ declare const _default: import("vue").DefineComponent<{
924
1057
  valueFormat: import("vue").ComputedRef<string>;
925
1058
  dateFormat: import("vue").ComputedRef<string>;
926
1059
  compType: import("vue").ComputedRef<any>;
1060
+ optionSetting: import("vue").ComputedRef<any>;
1061
+ isPastTime: import("vue").ComputedRef<boolean>;
1062
+ isFutureTime: import("vue").ComputedRef<boolean>;
927
1063
  startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
928
1064
  endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
1065
+ startDefault: import("vue").ComputedRef<string>;
1066
+ endDefault: import("vue").ComputedRef<string>;
1067
+ startDateFormat: import("vue").ComputedRef<string | null>;
1068
+ endDateFormat: import("vue").ComputedRef<string | null>;
929
1069
  dateType: any;
930
1070
  widgetOptions: import("vue").ComputedRef<{
931
1071
  label: string;
@@ -934,8 +1074,19 @@ declare const _default: import("vue").DefineComponent<{
934
1074
  presetValCp: import("vue").WritableComputedRef<string>;
935
1075
  handleChange: (val: any, type: "end" | "start") => void;
936
1076
  isStartDateDisabled: (ts: number) => boolean;
1077
+ timeStartDisabled: (ts: number) => {
1078
+ isHourDisabled(hour: number): boolean | 0;
1079
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
1080
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
1081
+ };
937
1082
  isEndDateDisabled: (ts: number) => boolean;
1083
+ timeEndDisabled: (ts: number) => {
1084
+ isHourDisabled(hour: number): boolean | 0;
1085
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
1086
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
1087
+ };
938
1088
  NSelect: any;
1089
+ NPopover: any;
939
1090
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
940
1091
  updateUnchangedValue: {
941
1092
  type: BooleanConstructor;
@@ -1037,6 +1188,7 @@ declare const _default: import("vue").DefineComponent<{
1037
1188
  };
1038
1189
  }, {
1039
1190
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
1191
+ message: import("naive-ui").MessageApi;
1040
1192
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1041
1193
  paramCfg: {
1042
1194
  type: ObjectConstructor;
@@ -1076,7 +1228,9 @@ declare const _default: import("vue").DefineComponent<{
1076
1228
  INPUT: string;
1077
1229
  SELECT: string;
1078
1230
  DATE: string;
1231
+ DATE_OUT: string;
1079
1232
  DATE_TIME: string;
1233
+ DATETIME_OUT: string;
1080
1234
  CHECKBOX_GROUP: string;
1081
1235
  INPUTNUMBER_RANGE: string;
1082
1236
  DATE_RANGE_OUT: string;