cnhis-design-vue 3.1.41-beta.3 → 3.1.41-beta.31

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 (226) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/index.d.ts +3 -2
  3. package/es/components/button-print/src/ButtonPrint.vue.d.ts +3 -2
  4. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  5. package/es/components/button-print/src/api.d.ts +3 -0
  6. package/es/components/button-print/src/api.js +1 -0
  7. package/es/components/button-print/src/utils/print.d.ts +1 -1
  8. package/es/components/button-print/src/utils/print.js +1 -1
  9. package/es/components/date-picker/index.d.ts +20 -0
  10. package/es/components/date-picker/index.js +1 -0
  11. package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
  12. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  13. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
  16. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
  19. package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
  20. package/es/components/field-set/index.d.ts +8 -0
  21. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
  22. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  23. package/es/components/field-set/style/index.css +1 -1
  24. package/es/components/form-config/index.d.ts +6762 -46
  25. package/es/components/form-config/src/FormConfig.vue.d.ts +6903 -186
  26. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  27. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
  28. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  29. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
  30. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  31. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3415 -60
  32. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  33. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
  34. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  35. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
  36. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  37. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
  38. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  39. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
  40. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  41. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
  42. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  43. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
  44. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  45. package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
  46. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  47. package/es/components/form-config/src/types/index.d.ts +9 -2
  48. package/es/components/form-config/src/utils/index.d.ts +4 -1
  49. package/es/components/form-config/src/utils/index.js +1 -1
  50. package/es/components/form-config/style/index.css +1 -1
  51. package/es/components/form-render/index.d.ts +2 -2
  52. package/es/components/form-render/index.js +1 -1
  53. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  54. package/es/components/form-render/src/FormRender.vue.js +1 -1
  55. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +22 -21
  56. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  57. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  58. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  59. package/es/components/form-render/src/constants/index.d.ts +0 -12
  60. package/es/components/form-render/src/constants/index.js +1 -1
  61. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
  62. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  63. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  64. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  65. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  66. package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
  67. package/es/components/form-render/src/hooks/useFormField.js +1 -1
  68. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  69. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  70. package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
  71. package/es/components/form-render/src/types/index.d.ts +5 -3
  72. package/es/components/form-render/src/utils/dom.d.ts +2 -1
  73. package/es/components/form-render/src/utils/dom.js +1 -1
  74. package/es/components/iho-table/index.d.ts +5 -5
  75. package/es/components/iho-table/index.js +1 -1
  76. package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
  77. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  78. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  79. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  80. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  81. package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
  82. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
  83. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
  84. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
  85. package/es/components/iho-table/src/plugins/index.js +1 -1
  86. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -7
  87. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  88. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +102 -0
  89. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
  90. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
  91. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
  92. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
  93. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  94. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  95. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  96. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  97. package/es/components/iho-table/src/types/index.d.ts +20 -11
  98. package/es/components/iho-table/src/utils/index.js +1 -1
  99. package/es/components/iho-table/style/index.css +1 -1
  100. package/es/components/index.css +1 -1
  101. package/es/components/index.d.ts +3 -1
  102. package/es/components/index.js +1 -1
  103. package/es/components/info-header/index.d.ts +289 -155
  104. package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
  105. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  106. package/es/components/info-header/src/components/index.d.ts +3 -0
  107. package/es/components/info-header/src/components/index.js +1 -0
  108. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
  109. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
  110. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
  111. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
  112. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
  113. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
  114. package/es/components/info-header/src/types/index.d.ts +29 -0
  115. package/es/components/recommend-search/index.d.ts +10 -10
  116. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
  117. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
  118. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
  119. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
  120. package/es/components/scale-view/index.d.ts +1 -2
  121. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -5
  122. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  123. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
  124. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
  125. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  126. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  127. package/es/components/scale-view/src/utils/judge-types.js +1 -1
  128. package/es/components/scale-view/style/index.css +1 -1
  129. package/es/components/shortcut-setter/index.d.ts +4 -3
  130. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -3
  131. package/es/components/steps-wheel/index.d.ts +1 -1
  132. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  133. package/es/components/table-filter/index.d.ts +963 -8064
  134. package/es/components/table-filter/index.js +1 -1
  135. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +57 -3397
  136. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
  137. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +404 -2969
  138. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
  139. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
  140. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
  141. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  142. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -49
  143. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  144. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  145. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  146. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  147. package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +372 -0
  148. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
  149. package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +717 -0
  150. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
  151. package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -42
  152. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
  153. package/es/components/table-filter/src/hooks/export.js +1 -1
  154. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  155. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  156. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  157. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  158. package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +50 -1291
  159. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
  160. package/es/components/table-filter/src/types/index.d.ts +10 -176
  161. package/es/components/table-filter/style/iconfont.ttf +0 -0
  162. package/es/components/table-filter/style/index.css +1 -1
  163. package/es/components/time-picker/index.d.ts +18 -0
  164. package/es/components/time-picker/index.js +1 -0
  165. package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
  166. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  167. package/es/env.d.ts +24 -24
  168. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
  169. package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
  170. package/es/shared/components/no-data/NoData.vue.js +1 -1
  171. package/es/shared/utils/index.d.ts +16 -0
  172. package/es/shared/utils/index.js +1 -1
  173. package/package.json +2 -2
  174. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  175. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  176. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  177. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  178. package/es/components/callback/src/components/form.d.ts +0 -0
  179. package/es/components/callback/src/components/page.d.ts +0 -0
  180. package/es/components/callback/src/components/table.d.ts +0 -0
  181. package/es/components/callback/src/types/index.d.ts +0 -0
  182. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  183. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
  184. package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
  185. package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
  186. package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
  187. package/es/components/iho-table/src/plugins/filterPlugin/types.js +0 -1
  188. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
  189. package/es/components/info-header/src/HiddenContent.vue.js +0 -1
  190. package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
  191. package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
  192. package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
  193. package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1472
  194. package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
  195. package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
  196. package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
  197. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
  198. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
  199. package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
  200. package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
  201. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
  202. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
  203. package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
  204. package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
  205. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
  206. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
  207. package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
  208. package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
  209. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
  210. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
  211. package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
  212. package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
  213. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
  214. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
  215. package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
  216. package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
  217. package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
  218. package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
  219. package/es/components/table-filter/src/const/dataOptions.js +0 -1
  220. package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
  221. package/es/components/table-filter/src/directive/preventReClick.js +0 -1
  222. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  223. package/es/shared/utils/tapable/index.d.ts +0 -139
  224. package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
  225. package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
  226. /package/es/components/{callback → info-header}/src/types/index.js +0 -0
@@ -0,0 +1,372 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ visible: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ modalTitle: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ conditionList: {
11
+ type: ArrayConstructor;
12
+ default: () => never[];
13
+ };
14
+ searchFieldList: {
15
+ type: ArrayConstructor;
16
+ default: () => never[];
17
+ };
18
+ filterApiConfig: {
19
+ type: ObjectConstructor;
20
+ default: () => {};
21
+ };
22
+ }, {
23
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
24
+ visible: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ modalTitle: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ conditionList: {
33
+ type: ArrayConstructor;
34
+ default: () => never[];
35
+ };
36
+ searchFieldList: {
37
+ type: ArrayConstructor;
38
+ default: () => never[];
39
+ };
40
+ filterApiConfig: {
41
+ type: ObjectConstructor;
42
+ default: () => {};
43
+ };
44
+ }>> & {
45
+ onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
46
+ }>>;
47
+ emits: (event: "cancelSaveAdd", ...args: any[]) => void;
48
+ addVisible: import("vue").Ref<boolean>;
49
+ isChangeWindow: import("vue").Ref<boolean>;
50
+ modalWidth: import("vue").Ref<string>;
51
+ bodyStyle: import("vue").Ref<{
52
+ maxHeight: string;
53
+ height: string;
54
+ overflowY: string;
55
+ }>;
56
+ conditionApiRef: any;
57
+ filterTimer: any;
58
+ init: () => void;
59
+ clearTimer: () => void;
60
+ handleInitConditions: () => void;
61
+ saveAdd: () => void;
62
+ cancelSaveAdd: () => void;
63
+ clearConditions: () => void;
64
+ resetChangeWindow: () => void;
65
+ changeModalWindow: () => void;
66
+ NModal: any;
67
+ NCard: any;
68
+ NButton: any;
69
+ SearchConditionByApi: import("vue").DefineComponent<{
70
+ actionList_prop: {
71
+ type: import("vue").PropType<import("../../types").IClassifyListType>;
72
+ default: () => {};
73
+ };
74
+ conditionList: {
75
+ type: ArrayConstructor;
76
+ default: () => never[];
77
+ };
78
+ tableId: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ searchFieldList: {
83
+ type: ArrayConstructor;
84
+ default: () => never[];
85
+ };
86
+ showItemName: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ hideAddBtn: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ }, {
95
+ $message: import("naive-ui").MessageApi;
96
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
97
+ actionList_prop: {
98
+ type: import("vue").PropType<import("../../types").IClassifyListType>;
99
+ default: () => {};
100
+ };
101
+ conditionList: {
102
+ type: ArrayConstructor;
103
+ default: () => never[];
104
+ };
105
+ tableId: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ searchFieldList: {
110
+ type: ArrayConstructor;
111
+ default: () => never[];
112
+ };
113
+ showItemName: {
114
+ type: BooleanConstructor;
115
+ default: boolean;
116
+ };
117
+ hideAddBtn: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ }>> & {
122
+ onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
123
+ onSaveAdd?: ((...args: any[]) => any) | undefined;
124
+ }>>;
125
+ emit: (event: "cancelSaveAdd" | "saveAdd", ...args: any[]) => void;
126
+ $attrs: {
127
+ [x: string]: unknown;
128
+ };
129
+ FormState: {
130
+ className: string;
131
+ displayCategory: string;
132
+ filterConditions: {
133
+ value: string;
134
+ key: string;
135
+ condition: string;
136
+ presetVal: string;
137
+ }[];
138
+ };
139
+ loading: import("vue").Ref<boolean>;
140
+ DisplayCategoryState: {
141
+ addDisplayCategory: string;
142
+ displayCategories: {
143
+ disabled: boolean;
144
+ value: string;
145
+ }[];
146
+ displayCategoryOriginLen: number;
147
+ showAdd: boolean;
148
+ };
149
+ isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
150
+ editDisplayCategory: (e: any, item: import("../../types").ICategoryItemType) => void;
151
+ handleDisplayCategorySelect: (item: import("../../types").ICategoryItemType) => void;
152
+ handleDisplayCategoryRemove: (index: number, item: import("../../types").ICategoryItemType) => void;
153
+ handleDisplayCategoryAdd: (e: any) => void;
154
+ handlerBlur: () => void;
155
+ initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
156
+ FilterConditionsState: any;
157
+ paramOptions: import("vue").ComputedRef<any>;
158
+ addFilterCondition: () => void;
159
+ delFilterCondition: (index: number) => void;
160
+ updateKey: (index: number, val: any) => void;
161
+ updateCondition: (index: number, val: any) => void;
162
+ getParamCfg: (key: string) => any;
163
+ initFilterConditions: (tableId: string, rawConditions: import("../../types").ISearchConfigType) => Promise<void>;
164
+ getRawFilterConditions: () => {
165
+ field_key: any;
166
+ con: any;
167
+ value: any;
168
+ unit: any;
169
+ }[];
170
+ findConditionByDisplayCategory: (displayCategory: string) => unknown;
171
+ handleDisplayCategorySelectProxy: (item: import("../../types").ICategoryItemType) => void;
172
+ clearFormData: () => void;
173
+ handleInitConditions: () => Promise<void>;
174
+ validate: () => Promise<unknown>;
175
+ saveAdd: () => void;
176
+ cancelSaveAdd: () => void;
177
+ checkActionList: () => boolean;
178
+ NSpin: any;
179
+ NIcon: any;
180
+ NInput: any;
181
+ NButton: any;
182
+ NTooltip: any;
183
+ NSelect: any;
184
+ AddOutline: 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<{}>>, {}>;
185
+ AddCircleSharp: 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<{}>>, {}>;
186
+ CloseOutline: 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<{}>>, {}>;
187
+ ValueCfg: import("vue").DefineComponent<{
188
+ paramCfg: {
189
+ type: ObjectConstructor;
190
+ default: null;
191
+ };
192
+ modelValue: {
193
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
194
+ default: null;
195
+ };
196
+ presetVal: {
197
+ type: StringConstructor;
198
+ default: null;
199
+ };
200
+ }, {
201
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
202
+ paramCfg: {
203
+ type: ObjectConstructor;
204
+ default: null;
205
+ };
206
+ modelValue: {
207
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
208
+ default: null;
209
+ };
210
+ presetVal: {
211
+ type: StringConstructor;
212
+ default: null;
213
+ };
214
+ }>> & {
215
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
216
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
217
+ }>>;
218
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
219
+ valueCp: import("vue").WritableComputedRef<any>;
220
+ presetValCp: import("vue").WritableComputedRef<string>;
221
+ widgetType: import("vue").ComputedRef<any>;
222
+ optionSetting: import("vue").ComputedRef<any>;
223
+ mappingConfig: import("vue").ComputedRef<any>;
224
+ widgetOptions: import("vue").ComputedRef<{
225
+ label: string;
226
+ value: string;
227
+ }[]>;
228
+ NInputNumber: any;
229
+ NInput: any;
230
+ NSelect: any;
231
+ NDatePicker: any;
232
+ WidgetTypeEnums: {
233
+ INPUT_NUMBER: string;
234
+ INPUT: string;
235
+ SELECT: string;
236
+ DATE: string;
237
+ DATE_TIME: string;
238
+ };
239
+ WidgetValEnums: {
240
+ CUSTOM: string;
241
+ FIRST_VAL: string;
242
+ NOW: string;
243
+ TODAY: string;
244
+ TODAY_START: string;
245
+ TODAY_END: string;
246
+ TOMORROW: string;
247
+ TOMORROW_START: string;
248
+ TOMORROW_END: string;
249
+ YESTERDAY: string;
250
+ YESTERDAY_START: string;
251
+ YESTERDAY_END: string;
252
+ THIS_WEEK: string;
253
+ WEEK_START: string;
254
+ WEEK_END: string;
255
+ NEXT_WEEK: string;
256
+ LAST_WEEK: string;
257
+ THIS_MONTH: string;
258
+ MONTH_START: string;
259
+ MONTH_END: string;
260
+ NEXT_MONTH: string;
261
+ LAST_MONTH: string;
262
+ THIS_QUARTER: string;
263
+ NEXT_QUARTER: string;
264
+ LAST_QUARTER: string;
265
+ THIS_YEAR: string;
266
+ NEXT_YEAR: string;
267
+ LAST_YEAR: string;
268
+ };
269
+ WidgetOptionEnums: {
270
+ RADIO: string;
271
+ MULTIPLE: string;
272
+ ALL: string;
273
+ SELECT_TIME: string;
274
+ PAST_TIME: string;
275
+ FUTURE_TIME: string;
276
+ };
277
+ }, 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<{
278
+ paramCfg: {
279
+ type: ObjectConstructor;
280
+ default: null;
281
+ };
282
+ modelValue: {
283
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
284
+ default: null;
285
+ };
286
+ presetVal: {
287
+ type: StringConstructor;
288
+ default: null;
289
+ };
290
+ }>> & {
291
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
292
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
293
+ }, {
294
+ modelValue: string | number | unknown[];
295
+ presetVal: string;
296
+ paramCfg: Record<string, any>;
297
+ }>;
298
+ ConditionEnums: {
299
+ NULL: string;
300
+ EQUAL: string;
301
+ };
302
+ conditionOptions: {
303
+ label: string;
304
+ value: string;
305
+ }[];
306
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
307
+ actionList_prop: {
308
+ type: import("vue").PropType<import("../../types").IClassifyListType>;
309
+ default: () => {};
310
+ };
311
+ conditionList: {
312
+ type: ArrayConstructor;
313
+ default: () => never[];
314
+ };
315
+ tableId: {
316
+ type: StringConstructor;
317
+ default: string;
318
+ };
319
+ searchFieldList: {
320
+ type: ArrayConstructor;
321
+ default: () => never[];
322
+ };
323
+ showItemName: {
324
+ type: BooleanConstructor;
325
+ default: boolean;
326
+ };
327
+ hideAddBtn: {
328
+ type: BooleanConstructor;
329
+ default: boolean;
330
+ };
331
+ }>> & {
332
+ onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
333
+ onSaveAdd?: ((...args: any[]) => any) | undefined;
334
+ }, {
335
+ searchFieldList: unknown[];
336
+ tableId: string;
337
+ conditionList: unknown[];
338
+ actionList_prop: import("../../types").IClassifyListType;
339
+ showItemName: boolean;
340
+ hideAddBtn: boolean;
341
+ }>;
342
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancelSaveAdd"[], "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
343
+ visible: {
344
+ type: BooleanConstructor;
345
+ default: boolean;
346
+ };
347
+ modalTitle: {
348
+ type: StringConstructor;
349
+ default: string;
350
+ };
351
+ conditionList: {
352
+ type: ArrayConstructor;
353
+ default: () => never[];
354
+ };
355
+ searchFieldList: {
356
+ type: ArrayConstructor;
357
+ default: () => never[];
358
+ };
359
+ filterApiConfig: {
360
+ type: ObjectConstructor;
361
+ default: () => {};
362
+ };
363
+ }>> & {
364
+ onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
365
+ }, {
366
+ visible: boolean;
367
+ modalTitle: string;
368
+ searchFieldList: unknown[];
369
+ filterApiConfig: Record<string, any>;
370
+ conditionList: unknown[];
371
+ }>;
372
+ export default _default;
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as i,onBeforeUnmount as t,watch as l,openBlock as a,createBlock as o,unref as n,normalizeClass as u,withCtx as d,createVNode as s,normalizeStyle as c,createElementVNode as r,createTextVNode as v,mergeProps as f}from"vue";import{NModal as h,NCard as p,NButton as m}from"naive-ui";import x from"../classify-filter/index.vue.js";import g from"../../../../../_virtual/plugin-vue_export-helper.js";const b={class:"svg-wrap"},y={class:"flex_right"};var _=g(e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]},filterApiConfig:{type:Object,default:()=>({})}},emits:["cancelSaveAdd"],setup(e,{expose:g,emit:_}){const w=e,k=i(w.visible),z=i(!1),A=i("860px");let C=i({maxHeight:"496px",height:"496px",overflowY:"auto"}),L=i(null),S=null;function H(){F(),S=setTimeout((()=>{L&&L.value.handleInitConditions()}),30)}function F(){S&&clearTimeout(S)}function T(){L&&L.value.saveAdd()}function j(){k.value=!1,_("cancelSaveAdd"),A.value="860px",C.value={height:"496px",maxHeight:"496px",overflowY:"auto"},z.value=!1,L&&L.value.cancelSaveAdd()}function $(){z.value=!z.value;let e=document.body.clientHeight;"860px"===A.value?(A.value="100%",C.value.maxHeight=`${e}px`,C.value.height=`${e}px`):(A.value="860px",C.value.maxHeight="496px",C.value.height="")}return t((()=>{F()})),l((()=>w.visible),(e=>{k.value=e,e&&H()})),g({cancelSaveAdd:j}),(e,i)=>(a(),o(n(h),{class:u(["classification-modal-block standard-modal standard-modal-white",{"modal-screen":z.value}]),show:k.value,"onUpdate:show":i[0]||(i[0]=e=>k.value=e),maskClosable:!1,width:A.value,bodyStyle:n(C),closable:!1,centered:"",onPositiveClick:T,onNegativeClick:j},{default:d((()=>[s(n(p),{style:c({width:A.value,...n(C)}),title:w.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":d((()=>[r("div",b,[r("i",{onClick:$,class:u(["iconfont-table-filter",z.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),r("i",{onClick:j,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:d((()=>[r("div",y,[s(n(m),{onClick:j},{default:d((()=>[v("取消")])),_:1}),s(n(m),{type:"info",onClick:T},{default:d((()=>[v("保存")])),_:1})])])),default:d((()=>[s(x,f(e.$attrs,{ref_key:"conditionApiRef",ref:L,searchFieldList:w.searchFieldList,conditionList:w.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}}),[["__file","index.vue"]]);export{_ as default};