cnhis-design-vue 3.1.46-beta.8 → 3.1.46-release.0

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 (168) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +8 -17
  3. package/es/components/base-search/src/index.vue.d.ts +8 -17
  4. package/es/components/base-search/src/index.vue2.js +1 -1
  5. package/es/components/base-search/style/index.css +1 -1
  6. package/es/components/classification/index.d.ts +18 -219
  7. package/es/components/classification/src/components/search-filter/index.vue.d.ts +18 -219
  8. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  9. package/es/components/classification/src/components/set-classification/index.vue.d.ts +18 -219
  10. package/es/components/classification/src/index.vue.d.ts +18 -219
  11. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  13. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  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/temperature/useCenter.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  19. package/es/components/fabric-chart/src/utils/index.d.ts +0 -1
  20. package/es/components/fabric-chart/src/utils/index.js +1 -1
  21. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  22. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  23. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  24. package/es/components/index.css +1 -1
  25. package/es/components/index.d.ts +1 -2
  26. package/es/components/index.js +1 -1
  27. package/es/components/quick-search/index.d.ts +7 -21
  28. package/es/components/quick-search/src/index.vue.d.ts +7 -21
  29. package/es/components/quick-search/src/index.vue2.js +1 -1
  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/select-label/src/LabelFormContent.vue2.js +1 -1
  33. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  34. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +17 -219
  35. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  36. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -17
  37. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  38. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -19
  39. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  40. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +11 -178
  41. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  42. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +5 -1
  43. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +1 -1
  44. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -2
  45. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  46. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +17 -217
  47. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  48. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +17 -219
  49. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
  50. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
  51. package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
  52. package/es/components/table-filter/src/components/render-widget/components/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
  53. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
  54. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
  55. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +8 -117
  56. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  57. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +9 -13
  58. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  59. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +6 -8
  60. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  61. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +6 -7
  62. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  63. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +25 -19
  64. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  65. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +36 -611
  66. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  67. package/es/components/table-filter/src/components/render-widget/enums.d.ts +3 -10
  68. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  69. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +6 -2
  70. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  71. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +3 -4
  72. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  73. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +35 -639
  74. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  75. package/es/components/table-filter/src/constants/index.d.ts +1 -3
  76. package/es/components/table-filter/src/constants/index.js +1 -1
  77. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -9
  78. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  79. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +3 -3
  80. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  81. package/es/components/table-filter/src/tool/baseOptions.d.ts +8 -0
  82. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  83. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +7 -0
  84. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -0
  85. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  86. package/es/components/table-filter/src/tool/transformData.js +1 -1
  87. package/es/components/table-filter/src/types/enums.d.ts +0 -3
  88. package/es/components/table-filter/src/types/enums.js +1 -1
  89. package/es/components/table-filter/src/types/index.d.ts +0 -7
  90. package/es/env.d.ts +25 -25
  91. package/es/shared/assets/img/failure.png.js +1 -1
  92. package/es/shared/assets/img/no-permission.png.js +1 -1
  93. package/es/shared/assets/img/nodata.png.js +1 -1
  94. package/es/shared/assets/img/notfound.png.js +1 -1
  95. package/es/shared/assets/img/qr.png.js +1 -1
  96. package/es/shared/assets/img/success.png.js +1 -1
  97. package/es/shared/assets/img/video.png.js +1 -1
  98. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  99. package/es/shared/assets/img/xb_big.png.js +1 -1
  100. package/es/shared/assets/img/xb_small.png.js +1 -1
  101. package/es/shared/package.json.js +1 -1
  102. package/es/shared/utils/fabricjs/index.js +1 -1
  103. package/package.json +2 -2
  104. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  105. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  106. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  107. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  108. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  109. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  110. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  111. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  112. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  113. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  114. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  115. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  116. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  117. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  118. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  119. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  120. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  121. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
  122. package/es/components/table-export-field/index.d.ts +0 -967
  123. package/es/components/table-export-field/index.js +0 -1
  124. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -192
  125. package/es/components/table-export-field/src/components/ExportModal.vue.js +0 -1
  126. package/es/components/table-export-field/src/components/ExportModal.vue2.js +0 -1
  127. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +0 -687
  128. package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +0 -1
  129. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +0 -1
  130. package/es/components/table-export-field/src/constants/index.d.ts +0 -3
  131. package/es/components/table-export-field/src/constants/index.js +0 -1
  132. package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +0 -6
  133. package/es/components/table-export-field/src/hooks/useAsyncData.js +0 -1
  134. package/es/components/table-export-field/src/index.vue.d.ts +0 -968
  135. package/es/components/table-export-field/src/index.vue.js +0 -1
  136. package/es/components/table-export-field/src/index.vue2.js +0 -1
  137. package/es/components/table-export-field/src/types/index.d.ts +0 -6
  138. package/es/components/table-export-field/src/types/index.js +0 -1
  139. package/es/components/table-export-field/style/index.css +0 -1
  140. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -231
  141. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
  142. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
  143. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
  144. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
  145. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
  146. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
  147. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
  148. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -223
  149. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
  150. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
  151. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -158
  152. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
  153. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
  154. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
  155. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
  156. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
  157. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
  158. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
  159. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +0 -1
  160. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.d.ts +0 -4
  161. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +0 -1
  162. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +0 -4
  163. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +0 -1
  164. package/es/components/table-filter/src/hooks/useAsyncData.d.ts +0 -4
  165. package/es/components/table-filter/src/hooks/useAsyncData.js +0 -1
  166. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  167. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  168. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -43,6 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  bodyStyle: import("vue").Ref<{
44
44
  maxHeight: string;
45
45
  height: string;
46
+ overflowY: string;
46
47
  }>;
47
48
  conditionApiRef: any;
48
49
  filterTimer: any;
@@ -211,9 +212,6 @@ declare const _default: import("vue").DefineComponent<{
211
212
  presetValCp: import("vue").WritableComputedRef<string>;
212
213
  widgetType: import("vue").ComputedRef<any>;
213
214
  Date: import("vue").DefineComponent<{
214
- componentCfg: {
215
- type: ObjectConstructor;
216
- };
217
215
  paramCfg: {
218
216
  type: ObjectConstructor;
219
217
  default: null;
@@ -228,9 +226,6 @@ declare const _default: import("vue").DefineComponent<{
228
226
  };
229
227
  }, {
230
228
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
231
- componentCfg: {
232
- type: ObjectConstructor;
233
- };
234
229
  paramCfg: {
235
230
  type: ObjectConstructor;
236
231
  default: null;
@@ -253,17 +248,11 @@ declare const _default: import("vue").DefineComponent<{
253
248
  dateType: any;
254
249
  valueFormat: import("vue").ComputedRef<string>;
255
250
  compType: import("vue").ComputedRef<any>;
256
- optionSetting: import("vue").ComputedRef<any>;
251
+ mappingConfig: import("vue").ComputedRef<any>;
257
252
  widgetOptions: import("vue").ComputedRef<{
258
253
  label: string;
259
254
  value: string;
260
255
  }[]>;
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
- };
267
256
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
268
257
  updateUnchangedValue: {
269
258
  type: BooleanConstructor;
@@ -307,7 +296,6 @@ declare const _default: import("vue").DefineComponent<{
307
296
  WidgetValEnums: {
308
297
  CUSTOM: string;
309
298
  FIRST_VAL: string;
310
- WHOLE: string;
311
299
  NOW: string;
312
300
  TODAY: string;
313
301
  TODAY_START: string;
@@ -336,9 +324,6 @@ declare const _default: import("vue").DefineComponent<{
336
324
  LAST_YEAR: string;
337
325
  };
338
326
  }, 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<{
339
- componentCfg: {
340
- type: ObjectConstructor;
341
- };
342
327
  paramCfg: {
343
328
  type: ObjectConstructor;
344
329
  default: null;
@@ -446,7 +431,11 @@ declare const _default: import("vue").DefineComponent<{
446
431
  emit: (event: "update:modelValue", ...args: any[]) => void;
447
432
  valueCp: import("vue").WritableComputedRef<any>;
448
433
  optionSetting: import("vue").ComputedRef<any>;
449
- widgetOptions: import("vue").ComputedRef<any>;
434
+ mappingConfig: import("vue").ComputedRef<any>;
435
+ widgetOptions: import("vue").ComputedRef<{
436
+ label: string;
437
+ value: string;
438
+ }[]>;
450
439
  NSelect: any;
451
440
  WidgetOptionEnums: {
452
441
  RADIO: string;
@@ -486,7 +475,6 @@ declare const _default: import("vue").DefineComponent<{
486
475
  default: null;
487
476
  };
488
477
  }, {
489
- message: import("naive-ui").MessageApi;
490
478
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
491
479
  paramCfg: {
492
480
  type: ObjectConstructor;
@@ -499,195 +487,28 @@ declare const _default: import("vue").DefineComponent<{
499
487
  }>> & {
500
488
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
501
489
  }>>;
502
- getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
490
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
491
+ $attrs: {
492
+ [x: string]: unknown;
493
+ };
503
494
  emit: (event: "update:modelValue", ...args: any[]) => void;
495
+ selectOptions: import("vue").Ref<any[]>;
504
496
  isLoading: import("vue").Ref<boolean>;
505
497
  filterApiConfig: import("../../../..").AnyObject;
506
- classifyFilterList: import("vue").Ref<import("../../../..").AnyObject[]>;
507
- totalPage: import("vue").Ref<number>;
508
- menuProps: {
509
- class: string;
510
- };
511
- curPage: import("vue").Ref<number>;
512
- fieldTitleList: import("vue").Ref<any>;
513
- selectOptions: import("vue").Ref<any[]>;
514
- keywordVal: import("vue").Ref<any>;
498
+ valueCp: import("vue").WritableComputedRef<any>;
515
499
  optionSetting: import("vue").ComputedRef<any>;
516
500
  isMultiple: import("vue").ComputedRef<boolean>;
517
- dynamicOptionInfos: import("vue").ComputedRef<any>;
518
- isLastPage: import("vue").ComputedRef<boolean>;
519
- valueCp: import("vue").ComputedRef<string | number | any[]>;
520
- isInitRequest: import("vue").ComputedRef<boolean>;
521
- setOptionActive: (selectIds: string[]) => void;
522
- handleUpdateSelect: (value: string[] | null) => void;
523
- handleUpdatePage: (page: number) => Promise<void>;
524
- getOptionsData: (keyword: string, curPage: number) => Promise<any>;
525
- isWhole: (value: string) => boolean;
501
+ searchOptions: (keyword: string) => Promise<any>;
526
502
  _handleSearch: (query: string) => Promise<void>;
527
503
  handleSearch: (query: string) => Promise<void>;
528
504
  handleInitData: () => Promise<void>;
529
- handleClear: () => Promise<void>;
530
- handleUpdateShow: (show: boolean) => void;
505
+ renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
506
+ [key: string]: any;
507
+ }>;
531
508
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
532
509
  [key: string]: any;
533
510
  }>;
534
- init: () => void;
535
511
  NSelect: any;
536
- SelectDynamicOption: import("vue").DefineComponent<{
537
- dynamicOptionInfo: {
538
- type: import("vue").PropType<import("../../../..").AnyObject>;
539
- default: () => {};
540
- };
541
- fieldTitleList: {
542
- type: import("vue").PropType<import("../../../..").AnyObject[]>;
543
- default: () => never[];
544
- };
545
- optionList: {
546
- type: import("vue").PropType<import("../../../..").AnyObject[]>;
547
- default: () => never[];
548
- };
549
- isMultiple: {
550
- type: BooleanConstructor;
551
- default: boolean;
552
- };
553
- curPage: {
554
- type: NumberConstructor;
555
- default: number;
556
- };
557
- isLastPage: {
558
- type: BooleanConstructor;
559
- default: boolean;
560
- };
561
- isShowWhole: {
562
- type: BooleanConstructor;
563
- default: boolean;
564
- };
565
- }, {
566
- selectMinWidth: number;
567
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
568
- dynamicOptionInfo: {
569
- type: import("vue").PropType<import("../../../..").AnyObject>;
570
- default: () => {};
571
- };
572
- fieldTitleList: {
573
- type: import("vue").PropType<import("../../../..").AnyObject[]>;
574
- default: () => never[];
575
- };
576
- optionList: {
577
- type: import("vue").PropType<import("../../../..").AnyObject[]>;
578
- default: () => never[];
579
- };
580
- isMultiple: {
581
- type: BooleanConstructor;
582
- default: boolean;
583
- };
584
- curPage: {
585
- type: NumberConstructor;
586
- default: number;
587
- };
588
- isLastPage: {
589
- type: BooleanConstructor;
590
- default: boolean;
591
- };
592
- isShowWhole: {
593
- type: BooleanConstructor;
594
- default: boolean;
595
- };
596
- }>> & {
597
- onUpdateSelect?: ((...args: any[]) => any) | undefined;
598
- onUpdatePage?: ((...args: any[]) => any) | undefined;
599
- }>>;
600
- emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
601
- dragEndWidth: import("vue").Ref<number>;
602
- showKeys: import("vue").ComputedRef<any>;
603
- titleList: import("vue").ComputedRef<string[]>;
604
- handleSelect: (option: any) => void;
605
- searchByPage: (onePage: number) => void;
606
- changeWidth: ({ distance }: any) => void;
607
- saveWidth: () => void;
608
- NEmpty: any;
609
- NButtonGroup: any;
610
- NButton: any;
611
- NIcon: any;
612
- NPopover: any;
613
- vFlexibleResize: {
614
- mounted(el: any, { value }: any): void;
615
- beforeUnmount(el: any): void;
616
- };
617
- WidgetValEnums: {
618
- CUSTOM: string;
619
- FIRST_VAL: string;
620
- WHOLE: string;
621
- NOW: string;
622
- TODAY: string;
623
- TODAY_START: string;
624
- TODAY_END: string;
625
- TOMORROW: string;
626
- TOMORROW_START: string;
627
- TOMORROW_END: string;
628
- YESTERDAY: string;
629
- YESTERDAY_START: string;
630
- YESTERDAY_END: string;
631
- THIS_WEEK: string;
632
- WEEK_START: string;
633
- WEEK_END: string;
634
- NEXT_WEEK: string;
635
- LAST_WEEK: string;
636
- THIS_MONTH: string;
637
- MONTH_START: string;
638
- MONTH_END: string;
639
- NEXT_MONTH: string;
640
- LAST_MONTH: string;
641
- THIS_QUARTER: string;
642
- NEXT_QUARTER: string;
643
- LAST_QUARTER: string;
644
- THIS_YEAR: string;
645
- NEXT_YEAR: string;
646
- LAST_YEAR: string;
647
- };
648
- 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<{}>>, {}>;
649
- 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<{}>>, {}>;
650
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
651
- dynamicOptionInfo: {
652
- type: import("vue").PropType<import("../../../..").AnyObject>;
653
- default: () => {};
654
- };
655
- fieldTitleList: {
656
- type: import("vue").PropType<import("../../../..").AnyObject[]>;
657
- default: () => never[];
658
- };
659
- optionList: {
660
- type: import("vue").PropType<import("../../../..").AnyObject[]>;
661
- default: () => never[];
662
- };
663
- isMultiple: {
664
- type: BooleanConstructor;
665
- default: boolean;
666
- };
667
- curPage: {
668
- type: NumberConstructor;
669
- default: number;
670
- };
671
- isLastPage: {
672
- type: BooleanConstructor;
673
- default: boolean;
674
- };
675
- isShowWhole: {
676
- type: BooleanConstructor;
677
- default: boolean;
678
- };
679
- }>> & {
680
- onUpdateSelect?: ((...args: any[]) => any) | undefined;
681
- onUpdatePage?: ((...args: any[]) => any) | undefined;
682
- }, {
683
- dynamicOptionInfo: import("../../../..").AnyObject;
684
- fieldTitleList: import("../../../..").AnyObject[];
685
- optionList: import("../../../..").AnyObject[];
686
- isMultiple: boolean;
687
- curPage: number;
688
- isLastPage: boolean;
689
- isShowWhole: boolean;
690
- }>;
691
512
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
692
513
  paramCfg: {
693
514
  type: ObjectConstructor;
@@ -793,15 +614,8 @@ declare const _default: import("vue").DefineComponent<{
793
614
  valueFormat: import("vue").ComputedRef<string>;
794
615
  dateFormat: import("vue").ComputedRef<string>;
795
616
  compType: import("vue").ComputedRef<any>;
796
- optionSetting: import("vue").ComputedRef<any>;
797
- isPastTime: import("vue").ComputedRef<boolean>;
798
- isFutureTime: import("vue").ComputedRef<boolean>;
799
617
  startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
800
618
  endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
801
- startDefault: import("vue").ComputedRef<string>;
802
- endDefault: import("vue").ComputedRef<string>;
803
- startDateFormat: import("vue").ComputedRef<string | null>;
804
- endDateFormat: import("vue").ComputedRef<string | null>;
805
619
  dateType: any;
806
620
  widgetOptions: import("vue").ComputedRef<{
807
621
  label: string;
@@ -810,19 +624,8 @@ declare const _default: import("vue").DefineComponent<{
810
624
  presetValCp: import("vue").WritableComputedRef<string>;
811
625
  handleChange: (val: any, type: "end" | "start") => void;
812
626
  isStartDateDisabled: (ts: number) => boolean;
813
- timeStartDisabled: (ts: number) => {
814
- isHourDisabled(hour: number): boolean | 0;
815
- isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
816
- isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
817
- };
818
627
  isEndDateDisabled: (ts: number) => boolean;
819
- timeEndDisabled: (ts: number) => {
820
- isHourDisabled(hour: number): boolean | 0;
821
- isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
822
- isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
823
- };
824
628
  NSelect: any;
825
- NPopover: any;
826
629
  CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
827
630
  updateUnchangedValue: {
828
631
  type: BooleanConstructor;
@@ -865,7 +668,6 @@ declare const _default: import("vue").DefineComponent<{
865
668
  WidgetValEnums: {
866
669
  CUSTOM: string;
867
670
  FIRST_VAL: string;
868
- WHOLE: string;
869
671
  NOW: string;
870
672
  TODAY: string;
871
673
  TODAY_START: string;
@@ -924,8 +726,7 @@ declare const _default: import("vue").DefineComponent<{
924
726
  default: null;
925
727
  };
926
728
  }, {
927
- getDynamicLabelData: (params: any, filterApiConfig: any) => Promise<any>;
928
- message: import("naive-ui").MessageApi;
729
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
929
730
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
930
731
  paramCfg: {
931
732
  type: ObjectConstructor;
@@ -965,9 +766,7 @@ declare const _default: import("vue").DefineComponent<{
965
766
  INPUT: string;
966
767
  SELECT: string;
967
768
  DATE: string;
968
- DATE_OUT: string;
969
769
  DATE_TIME: string;
970
- DATETIME_OUT: string;
971
770
  CHECKBOX_GROUP: string;
972
771
  INPUTNUMBER_RANGE: string;
973
772
  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 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};
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};