cnhis-design-vue 3.1.41-release.4 → 3.1.41-release.6

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 (198) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/button-print/src/utils/print.js +1 -1
  7. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  8. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
  9. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
  13. package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
  14. package/es/components/field-set/index.d.ts +8 -0
  15. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
  16. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  17. package/es/components/field-set/style/index.css +1 -1
  18. package/es/components/form-config/index.d.ts +6761 -45
  19. package/es/components/form-config/src/FormConfig.vue.d.ts +6902 -185
  20. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  21. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
  22. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  23. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
  24. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  25. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3414 -59
  26. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  27. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
  28. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  29. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
  30. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  31. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
  32. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  33. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
  34. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  35. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
  36. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  37. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
  38. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  39. package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
  40. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  41. package/es/components/form-config/src/types/index.d.ts +9 -2
  42. package/es/components/form-config/src/utils/index.d.ts +4 -1
  43. package/es/components/form-config/src/utils/index.js +1 -1
  44. package/es/components/form-config/style/index.css +1 -1
  45. package/es/components/form-render/index.d.ts +2 -2
  46. package/es/components/form-render/index.js +1 -1
  47. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  48. package/es/components/form-render/src/FormRender.vue.js +1 -1
  49. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +22 -21
  50. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  51. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  52. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  53. package/es/components/form-render/src/constants/index.d.ts +0 -12
  54. package/es/components/form-render/src/constants/index.js +1 -1
  55. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
  56. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  57. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  58. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  59. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  60. package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
  61. package/es/components/form-render/src/hooks/useFormField.js +1 -1
  62. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  63. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  64. package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
  65. package/es/components/form-render/src/types/index.d.ts +5 -3
  66. package/es/components/form-render/src/utils/dom.d.ts +2 -1
  67. package/es/components/form-render/src/utils/dom.js +1 -1
  68. package/es/components/iho-table/index.d.ts +5 -5
  69. package/es/components/iho-table/index.js +1 -1
  70. package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
  71. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  72. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  73. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  74. package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
  75. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
  76. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
  77. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
  78. package/es/components/iho-table/src/plugins/index.js +1 -1
  79. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +85 -0
  80. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
  81. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
  82. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
  83. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
  84. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
  85. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
  86. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  87. package/es/components/iho-table/src/types/index.d.ts +20 -11
  88. package/es/components/iho-table/src/utils/index.js +1 -1
  89. package/es/components/iho-table/style/index.css +1 -1
  90. package/es/components/index.css +1 -1
  91. package/es/components/index.js +1 -1
  92. package/es/components/info-header/index.d.ts +289 -155
  93. package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
  94. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  95. package/es/components/info-header/src/components/index.d.ts +3 -0
  96. package/es/components/info-header/src/components/index.js +1 -0
  97. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
  98. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
  99. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
  100. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
  101. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
  102. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
  103. package/es/components/info-header/src/types/index.d.ts +29 -0
  104. package/es/components/recommend-search/index.d.ts +10 -10
  105. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
  106. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
  107. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
  108. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
  109. package/es/components/scale-view/index.d.ts +1 -2
  110. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -2
  111. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  112. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
  113. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
  114. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  115. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  116. package/es/components/scale-view/src/utils/judge-types.js +1 -1
  117. package/es/components/scale-view/style/index.css +1 -1
  118. package/es/components/shortcut-setter/index.d.ts +3 -2
  119. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -2
  120. package/es/components/steps-wheel/index.d.ts +1 -1
  121. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  122. package/es/components/table-filter/index.d.ts +902 -7615
  123. package/es/components/table-filter/index.js +1 -1
  124. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +44 -3313
  125. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
  126. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +461 -2810
  127. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
  128. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
  129. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
  130. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  131. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -7
  132. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  133. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  134. package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +456 -0
  135. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
  136. package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +843 -0
  137. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
  138. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
  139. package/es/components/table-filter/src/hooks/export.js +1 -1
  140. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  141. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  142. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  143. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  144. package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +51 -1190
  145. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
  146. package/es/components/table-filter/src/types/index.d.ts +4 -14
  147. package/es/components/table-filter/style/index.css +1 -1
  148. package/es/env.d.ts +24 -24
  149. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
  150. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  151. package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
  152. package/es/shared/components/no-data/NoData.vue.js +1 -1
  153. package/es/shared/utils/index.d.ts +16 -0
  154. package/es/shared/utils/index.js +1 -1
  155. package/es/shared/utils/tapable/index.d.ts +139 -0
  156. package/package.json +64 -64
  157. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
  158. package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
  159. package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
  160. package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
  161. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
  162. package/es/components/info-header/src/HiddenContent.vue.js +0 -1
  163. package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
  164. package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
  165. package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
  166. package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1469
  167. package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
  168. package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
  169. package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
  170. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
  171. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
  172. package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
  173. package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
  174. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
  175. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
  176. package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
  177. package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
  178. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
  179. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
  180. package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
  181. package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
  182. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
  183. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
  184. package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
  185. package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
  186. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
  187. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
  188. package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
  189. package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
  190. package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
  191. package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
  192. package/es/components/table-filter/src/const/dataOptions.js +0 -1
  193. package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
  194. package/es/components/table-filter/src/directive/preventReClick.js +0 -1
  195. package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
  196. package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
  197. /package/es/components/{iho-table/src/plugins/filterPlugin/types.js → info-header/src/types/index.js} +0 -0
  198. /package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -0
@@ -1,266 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { ISearchType } from '../../../../../../es/components/table-filter/src/types';
3
- import moment from 'moment';
4
- declare const _default: import("vue").DefineComponent<{
5
- item: {
6
- type: PropType<ISearchType>;
7
- default: () => void;
8
- };
9
- filterApiConfig: {
10
- type: ObjectConstructor;
11
- default: () => void;
12
- };
13
- }, {
14
- handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
15
- wordBookutils: {
16
- hasArray: (arr: ISearchType[]) => boolean;
17
- handleWordbookData(item: any, data: any, params: any): {
18
- rows: never[];
19
- hasFieldList: boolean;
20
- searchPageConfig: {};
21
- };
22
- getTitleHeader(fieldList: ISearchType[], renderKey: any): any;
23
- };
24
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
25
- item: {
26
- type: PropType<ISearchType>;
27
- default: () => void;
28
- };
29
- filterApiConfig: {
30
- type: ObjectConstructor;
31
- default: () => void;
32
- };
33
- }>> & {
34
- onOutFilterChange?: ((...args: any[]) => any) | undefined;
35
- }>>;
36
- emit: (event: "outFilterChange", ...args: any[]) => void;
37
- fetchingWordbook: import("vue").Ref<boolean>;
38
- initSearch: import("vue").Ref<boolean>;
39
- handlePickerShowTime: import("vue").ComputedRef<(item: ISearchType) => false | {
40
- defaultValue: moment.Moment[];
41
- }>;
42
- init: () => void;
43
- handleWordBookSearch: (value: string, item: ISearchType, config?: any) => void;
44
- dropdownVisibleChange: (open: boolean, item: ISearchType, config?: any) => void;
45
- handleWordbookData: (item: ISearchType, data: any, params: any) => void;
46
- getWordbookData: (o: any, obj: any) => Promise<any>;
47
- rangePickerChange: (value: string, item: ISearchType) => void;
48
- outFilterChange: (config?: {}) => void;
49
- maxTagPlaceholder: (item: ISearchType) => number;
50
- changeOutFilterNumber: (item: ISearchType) => void;
51
- clearOutFilterNumber: (item: ISearchType) => void;
52
- NInput: any;
53
- NDatePicker: any;
54
- multiSelect: import("vue").DefineComponent<{
55
- item: {
56
- type: PropType<ISearchType>;
57
- default: () => void;
58
- };
59
- maxTagPlaceholder: {
60
- type: FunctionConstructor;
61
- default: () => {};
62
- };
63
- outFilterChange: {
64
- type: FunctionConstructor;
65
- default: () => {};
66
- };
67
- handleWordBookSearch: {
68
- type: FunctionConstructor;
69
- default: () => {};
70
- };
71
- dropdownVisibleChange: {
72
- type: FunctionConstructor;
73
- default: () => {};
74
- };
75
- source: {
76
- type: StringConstructor;
77
- default: string;
78
- };
79
- fetchingWordbook: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- }, {
84
- quickInputSelect: any;
85
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
86
- item: {
87
- type: PropType<ISearchType>;
88
- default: () => void;
89
- };
90
- maxTagPlaceholder: {
91
- type: FunctionConstructor;
92
- default: () => {};
93
- };
94
- outFilterChange: {
95
- type: FunctionConstructor;
96
- default: () => {};
97
- };
98
- handleWordBookSearch: {
99
- type: FunctionConstructor;
100
- default: () => {};
101
- };
102
- dropdownVisibleChange: {
103
- type: FunctionConstructor;
104
- default: () => {};
105
- };
106
- source: {
107
- type: StringConstructor;
108
- default: string;
109
- };
110
- fetchingWordbook: {
111
- type: BooleanConstructor;
112
- default: boolean;
113
- };
114
- }>> & {}>>;
115
- handleMaxTagCount: import("vue").ComputedRef<(item: ISearchType) => 0 | 1>;
116
- isnoPages: import("vue").ComputedRef<boolean>;
117
- hasShowKeys: import("vue").ComputedRef<boolean>;
118
- showRemoveIcon: import("vue").ComputedRef<boolean>;
119
- mode: import("vue").ComputedRef<boolean>;
120
- renderList: import("vue").ComputedRef<any>;
121
- createSuffixIcon: () => void;
122
- filterOption: (...arg: any) => any;
123
- handleSearchChangePage: (type: string) => void;
124
- handleChange: () => void;
125
- NSelect: any;
126
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
127
- item: {
128
- type: PropType<ISearchType>;
129
- default: () => void;
130
- };
131
- maxTagPlaceholder: {
132
- type: FunctionConstructor;
133
- default: () => {};
134
- };
135
- outFilterChange: {
136
- type: FunctionConstructor;
137
- default: () => {};
138
- };
139
- handleWordBookSearch: {
140
- type: FunctionConstructor;
141
- default: () => {};
142
- };
143
- dropdownVisibleChange: {
144
- type: FunctionConstructor;
145
- default: () => {};
146
- };
147
- source: {
148
- type: StringConstructor;
149
- default: string;
150
- };
151
- fetchingWordbook: {
152
- type: BooleanConstructor;
153
- default: boolean;
154
- };
155
- }>>, {
156
- item: ISearchType;
157
- source: string;
158
- outFilterChange: Function;
159
- maxTagPlaceholder: Function;
160
- handleWordBookSearch: Function;
161
- dropdownVisibleChange: Function;
162
- fetchingWordbook: boolean;
163
- }>;
164
- cTreeSelect: import("vue").DefineComponent<{
165
- item: {
166
- type: PropType<ISearchType>;
167
- default: () => {
168
- value: never[];
169
- };
170
- };
171
- handleGetConfigApi: {
172
- type: FunctionConstructor;
173
- default: () => void;
174
- };
175
- filterApiConfig: {
176
- type: ObjectConstructor;
177
- };
178
- outFilterChange: {
179
- type: FunctionConstructor;
180
- default: () => void;
181
- };
182
- }, {
183
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
184
- item: {
185
- type: PropType<ISearchType>;
186
- default: () => {
187
- value: never[];
188
- };
189
- };
190
- handleGetConfigApi: {
191
- type: FunctionConstructor;
192
- default: () => void;
193
- };
194
- filterApiConfig: {
195
- type: ObjectConstructor;
196
- };
197
- outFilterChange: {
198
- type: FunctionConstructor;
199
- default: () => void;
200
- };
201
- }>> & {}>>;
202
- quickInputSelect: any;
203
- treeData: import("vue").Ref<{
204
- label: string;
205
- key: string;
206
- selectable: boolean;
207
- scopedSlots: {
208
- title: string;
209
- };
210
- }[]>;
211
- handleMaxTagCount: import("vue").ComputedRef<(item: ISearchType) => 0 | 1>;
212
- showRemoveIcon: import("vue").ComputedRef<boolean>;
213
- init: () => Promise<void>;
214
- handleMaxTag: () => string;
215
- handleRequestedOptions: (item: ISearchType) => Promise<any>;
216
- getSearchDefParams: (item: ISearchType) => any;
217
- formatField: (value: any) => any;
218
- hanldeGetCascadelabel: (v?: never[], k?: {}) => any;
219
- handleInitTreeData: (list: any, config: ISearchType) => void;
220
- hanldeSetTreeDef: () => void;
221
- maxTagPlaceholder: (item: ISearchType) => number;
222
- treeSelect: (key: string, vnode: any) => void;
223
- change: () => void;
224
- handleDisabledTreeData: (list?: any, config?: any) => void;
225
- createSuffixIcon: () => void;
226
- NTreeSelect: any;
227
- NSpin: any;
228
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
229
- item: {
230
- type: PropType<ISearchType>;
231
- default: () => {
232
- value: never[];
233
- };
234
- };
235
- handleGetConfigApi: {
236
- type: FunctionConstructor;
237
- default: () => void;
238
- };
239
- filterApiConfig: {
240
- type: ObjectConstructor;
241
- };
242
- outFilterChange: {
243
- type: FunctionConstructor;
244
- default: () => void;
245
- };
246
- }>>, {
247
- item: ISearchType;
248
- handleGetConfigApi: Function;
249
- outFilterChange: Function;
250
- }>;
251
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "outFilterChange"[], "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
252
- item: {
253
- type: PropType<ISearchType>;
254
- default: () => void;
255
- };
256
- filterApiConfig: {
257
- type: ObjectConstructor;
258
- default: () => void;
259
- };
260
- }>> & {
261
- onOutFilterChange?: ((...args: any[]) => any) | undefined;
262
- }, {
263
- item: ISearchType;
264
- filterApiConfig: Record<string, any>;
265
- }>;
266
- export default _default;
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,computed as i,onMounted as a,openBlock as l,createElementBlock as o,renderSlot as r,createVNode as n,unref as u,withKeys as s,normalizeStyle as c,createCommentVNode as m,Fragment as p,createBlock as d,createElementVNode as f,normalizeClass as h,withDirectives as v,vModelText as g,createTextVNode as y,toDisplayString as k}from"vue";import{NInput as b,NDatePicker as x}from"naive-ui";import w from"../multi-select/multi-select.vue.js";import V from"../c-tree-select/tree-select.vue.js";import C from"../../hooks/useMixins.js";import O from"../../hooks/useWordBookutils.js";import j from"moment";import S from"../../../../../_virtual/plugin-vue_export-helper.js";const D={class:"outQuickSearch-li-block"},W={key:4,class:"ant-calendar-picker",style:{margin:"0 8px 8px 0",width:"200px"}},_=["title","placeholder"],A=f("span",{class:"ant-calendar-range-picker-separator"}," ~  ",-1),F=["title","placeholder"],P=[f("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[f("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[f("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],T=f("span",{class:"ant-calendar-picker-icon"},null,-1);var $=S(e({__name:"out-quick-search",props:{item:{type:Object,default:()=>{}},filterApiConfig:{type:Object,default:()=>{}}},emits:["outFilterChange"],setup(e,{emit:S}){const $=e,{handleGetConfigApi:L}=C(),{wordBookutils:U}=O(),K=t(!1),q=t(!1);function B(e,t,i={type:""}){var a,l,o;if("SelectMuiWordBook"!=t.comType)return;let r={keyword:e,autograph:t.settingObj.wordbook&&t.settingObj.wordbook.autograph},n={};((null==(l=null==(a=null==t?void 0:t.setting)?void 0:a.wordbook)?void 0:l.params)||void 0)&&(null==(o=t.setting.wordbook)||o.params.forEach((e=>{n[e.p_name]=e.p_value})));let u={...r,...n,...i};R(t.setting.wordbook,u).then((({data:e})=>{N(t,e,u)}))}function M(e,t,i={type:""}){var a;if("SelectMuiWordBook"==t.comType&&e){let e={};(null==(a=t.setting.wordbook)?void 0:a.params)&&t.setting.wordbook.params.forEach((t=>{e[t.p_name]=t.p_value})),t.settingObj.wordbook&&(e.autograph=t.settingObj.wordbook.autograph);let l=t.explicitDefaultVal;"firstOption"!=l&&(e.keyword=l),R(t.setting.wordbook,e).then((({data:a})=>{N(t,a,e),"hasDefaultInit"==(null==i?void 0:i.type)&&G({type:"outSearchInit"})}))}}function N(e,t,i){var a,l;e.hasFieldList=!1;const{rows:o,hasFieldList:r,searchPageConfig:n}=U.handleWordbookData(e,t,i);e.hasFieldList=r,e.dataSource=o;let u=(null==(l=null==(a=null==e?void 0:e.setting)?void 0:a.wordbook)?void 0:l.showKeys)||[];if(e.searchPageConfig=Object.assign(e.searchPageConfig,n),!q.value){let t=e.explicitDefaultVal;if(t){let i=[];if("firstOption"===t){let[t,a]=o;u.length>0&&e.hasFieldList&&(t=a),t&&(i=[t.myName])}else{let e=o.find((e=>e.myName.includes(t)));e&&(i=[e.myName])}e.value=[...i],e.search_DefaultValue=[...i]}q.value=!0}}function R(e,t){let{id:i,filterKeys:a,wordbookType:l}=e;K.value=!0;let o={wordbookId:i,fieldKeys:Array.isArray(a)?JSON.stringify(a):a,wordbookType:l||"WORDBOOK",asyncCount:1,...t};return L(o,"requestGetWordbookData",{fields:e},$.filterApiConfig).then((e=>(K.value=!1,"object"==typeof e.data&&(e.data.reqParams=o),e))).catch((()=>{K.value=!1}))}function G(e={}){S("outFilterChange",e)}function H(e){return Array.isArray(e.value)?e.value.length:1}function I(e){if(e.lessValue&&e.bigValue){const t=e.lessValue,i=e.bigValue;return i<t&&(e.lessValue=i,e.bigValue=t),void G()}""==e.lessValue&&""==e.bigValue&&G()}return i((()=>function(e){return!!e.showTime&&{defaultValue:[j("00:00:00","HH:mm:ss"),j("23:59:59","HH:mm:ss")]}})),a((()=>{!function(){let e=$.item,t=e.explicitDefaultVal;"SelectMui"==e.com&&t&&M(!0,e,{type:"hasDefaultInit"})}()})),(t,i)=>(l(),o("li",D,["Text"==e.item.com?r(t.$slots,"default",{key:0},(()=>[n(u(b),{onKeyup:s(G,["enter"]),class:"CL-input",style:c({width:`${e.item.advanceColWidth||200}px`,margin:"0 8px 8px 0","font-family":e.item.PASSWORDTYPE?"text-security-disc":"inherit"}),placeholder:e.item.placeholder||`搜索${e.item.alias||e.item.title}`,value:e.item.value,"onUpdate:value":i[0]||(i[0]=t=>e.item.value=t),clearable:""},null,8,["onKeyup","style","placeholder","value"])])):m("v-if",!0),"SelectMui"==e.item.com?(l(),o(p,{key:1},["treeSelect"===e.item.comType?(l(),d(V,{key:0,item:e.item,handleGetConfigApi:u(L),maxTagPlaceholder:H,outFilterChange:G,style:{margin:"0 8px 8px 0"}},null,8,["item","handleGetConfigApi"])):(l(),d(w,{key:1,item:e.item,maxTagPlaceholder:H,outFilterChange:G,handleWordBookSearch:B,dropdownVisibleChange:M,fetchingWordbook:K.value,style:{margin:"0 8px 8px 0"}},null,8,["item","fetchingWordbook"]))],64)):m("v-if",!0),"DatePicker"==e.item.com?(l(),d(u(x),{key:2,clearable:1!=e.item.explicitRequired,format:e.item.showFormat,value:e.item.value,"onUpdate:value":[i[1]||(i[1]=t=>e.item.value=t),G],type:"datetimerange","start-placeholder":`${e.item.alias||e.item.title}起始日期`,"end-placeholder":`${e.item.alias||e.item.title}截止日期`,style:{margin:"0 8px 8px 0"}},null,8,["clearable","format","value","start-placeholder","end-placeholder"])):m("v-if",!0),"DayPicker"==e.item.com?(l(),d(u(x),{key:3,"input-readonly":1==e.item.explicitRequired,clearable:1!=e.item.explicitRequired,"value-format":e.item.showFormat,"formatted-value":e.item.value,"onUpdate:formatted-value":i[2]||(i[2]=t=>e.item.value=t),placeholder:e.item.placeholder||`请选择${e.item.alias||e.item.title}`,style:{margin:"0 8px 8px 0"},"onUpdate:value":G},null,8,["input-readonly","clearable","value-format","formatted-value","placeholder"])):m("v-if",!0),"Number"==e.item.com?(l(),o("span",W,[f("span",{class:h(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":e.item.inputUnit}])},[v(f("input",{"onUpdate:modelValue":i[3]||(i[3]=t=>e.item.lessValue=t),onKeyup:i[4]||(i[4]=s((()=>I(e.item)),["enter"])),title:`起始${e.item.alias||e.item.title}`,placeholder:`起始${e.item.alias||e.item.title}`,class:"ant-calendar-range-picker-input"},null,40,_),[[g,e.item.lessValue]]),A,v(f("input",{"onUpdate:modelValue":i[5]||(i[5]=t=>e.item.bigValue=t),title:`截止${e.item.alias||e.item.title}`,onKeyup:i[6]||(i[6]=s((()=>I(e.item)),["enter"])),placeholder:`截止${e.item.alias||e.item.title}`,class:"ant-calendar-range-picker-input"},null,40,F),[[g,e.item.bigValue]]),e.item.inputUnit?(l(),o(p,{key:0},[y(" "+k(e.item.inputUnit),1)],64)):m("v-if",!0),e.item.lessValue||e.item.bigValue?(l(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:i[7]||(i[7]=t=>{return(i=e.item).lessValue=i.bigValue="",void G();var i})},P)):m("v-if",!0),T],2)])):m("v-if",!0)]))}}),[["__file","out-quick-search.vue"]]);export{$ as default};
@@ -1,248 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- value: {
3
- value: ObjectConstructor;
4
- default: () => {
5
- star_val: string;
6
- end_val: string;
7
- };
8
- };
9
- options: {
10
- type: ArrayConstructor;
11
- default: () => never[];
12
- };
13
- item: {
14
- type: ObjectConstructor;
15
- default: () => {};
16
- };
17
- defaultValue: {
18
- type: ObjectConstructor;
19
- default: () => {};
20
- };
21
- format: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- disabled: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- dataName: {
30
- type: StringConstructor;
31
- };
32
- }, {
33
- valueObj: any;
34
- startValue: any;
35
- endValue: any;
36
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
37
- value: {
38
- value: ObjectConstructor;
39
- default: () => {
40
- star_val: string;
41
- end_val: string;
42
- };
43
- };
44
- options: {
45
- type: ArrayConstructor;
46
- default: () => never[];
47
- };
48
- item: {
49
- type: ObjectConstructor;
50
- default: () => {};
51
- };
52
- defaultValue: {
53
- type: ObjectConstructor;
54
- default: () => {};
55
- };
56
- format: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- disabled: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- dataName: {
65
- type: StringConstructor;
66
- };
67
- }>> & {
68
- onChange?: ((...args: any[]) => any) | undefined;
69
- }>>;
70
- emits: (event: "change", ...args: any[]) => void;
71
- initDefaultValue: () => void;
72
- diffTime: (days: number) => {
73
- year?: undefined;
74
- month?: undefined;
75
- day?: undefined;
76
- days?: undefined;
77
- } | {
78
- year: string | number;
79
- month: string | number;
80
- day: string | number;
81
- days: string | number;
82
- };
83
- ageStartOnChange: (obj: any) => void;
84
- ageEndOnChange: (obj: any) => void;
85
- reset: () => void;
86
- ageCom: import("vue").DefineComponent<{
87
- value: {
88
- type: ObjectConstructor;
89
- default: () => void;
90
- };
91
- format: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- disabled: {
96
- type: BooleanConstructor;
97
- default: boolean;
98
- };
99
- isDetail: {
100
- type: BooleanConstructor;
101
- default: boolean;
102
- };
103
- defaultValue: {
104
- type: ObjectConstructor;
105
- default: () => {};
106
- };
107
- itemData: {
108
- type: ObjectConstructor;
109
- default: () => {};
110
- };
111
- shortcutFieldsList: {
112
- type: ArrayConstructor;
113
- default: () => never[];
114
- };
115
- }, {
116
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
117
- value: {
118
- type: ObjectConstructor;
119
- default: () => void;
120
- };
121
- format: {
122
- type: StringConstructor;
123
- default: string;
124
- };
125
- disabled: {
126
- type: BooleanConstructor;
127
- default: boolean;
128
- };
129
- isDetail: {
130
- type: BooleanConstructor;
131
- default: boolean;
132
- };
133
- defaultValue: {
134
- type: ObjectConstructor;
135
- default: () => {};
136
- };
137
- itemData: {
138
- type: ObjectConstructor;
139
- default: () => {};
140
- };
141
- shortcutFieldsList: {
142
- type: ArrayConstructor;
143
- default: () => never[];
144
- };
145
- }>> & {
146
- onChange?: ((...args: any[]) => any) | undefined;
147
- }>>;
148
- emits: (event: "change", ...args: any[]) => void;
149
- ageValue: any;
150
- showType: import("vue").ComputedRef<string>;
151
- isDisabled: import("vue").ComputedRef<boolean>;
152
- handleInitDefaultValue: () => void;
153
- checkType: (val: any) => string;
154
- handlefillVal: (val?: any) => void;
155
- handleYearChange: (e: any) => void;
156
- handleMonthChange: (e: any) => void;
157
- handleDayChange: (e: any) => void;
158
- getvalue: (e: any) => any;
159
- valueChange: (val: string, key: string) => void;
160
- checkVal: (val: string, key: string) => boolean;
161
- handleProrate: () => void;
162
- triggerChange: (changedValue: any) => void;
163
- NInputNumber: any;
164
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
165
- value: {
166
- type: ObjectConstructor;
167
- default: () => void;
168
- };
169
- format: {
170
- type: StringConstructor;
171
- default: string;
172
- };
173
- disabled: {
174
- type: BooleanConstructor;
175
- default: boolean;
176
- };
177
- isDetail: {
178
- type: BooleanConstructor;
179
- default: boolean;
180
- };
181
- defaultValue: {
182
- type: ObjectConstructor;
183
- default: () => {};
184
- };
185
- itemData: {
186
- type: ObjectConstructor;
187
- default: () => {};
188
- };
189
- shortcutFieldsList: {
190
- type: ArrayConstructor;
191
- default: () => never[];
192
- };
193
- }>> & {
194
- onChange?: ((...args: any[]) => any) | undefined;
195
- }, {
196
- value: Record<string, any>;
197
- disabled: boolean;
198
- isDetail: boolean;
199
- defaultValue: Record<string, any>;
200
- format: string;
201
- itemData: Record<string, any>;
202
- shortcutFieldsList: unknown[];
203
- }>;
204
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
205
- value: {
206
- value: ObjectConstructor;
207
- default: () => {
208
- star_val: string;
209
- end_val: string;
210
- };
211
- };
212
- options: {
213
- type: ArrayConstructor;
214
- default: () => never[];
215
- };
216
- item: {
217
- type: ObjectConstructor;
218
- default: () => {};
219
- };
220
- defaultValue: {
221
- type: ObjectConstructor;
222
- default: () => {};
223
- };
224
- format: {
225
- type: StringConstructor;
226
- default: string;
227
- };
228
- disabled: {
229
- type: BooleanConstructor;
230
- default: boolean;
231
- };
232
- dataName: {
233
- type: StringConstructor;
234
- };
235
- }>> & {
236
- onChange?: ((...args: any[]) => any) | undefined;
237
- }, {
238
- value: {
239
- star_val: string;
240
- end_val: string;
241
- };
242
- disabled: boolean;
243
- options: unknown[];
244
- item: Record<string, any>;
245
- defaultValue: Record<string, any>;
246
- format: string;
247
- }>;
248
- export default _default;
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as a,onMounted as t,watch as l,openBlock as d,createElementBlock as u,createElementVNode as n,createVNode as i,unref as r}from"vue";import o from"../age-com/index.vue.js";import s from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"range-grid-con-block"},v={class:"grid-item"},m=n("div",{class:"middle-tips"},"—",-1),c={class:"grid-item"};var p=s(e({__name:"index",props:{value:{value:Object,default:()=>({star_val:"",end_val:""})},options:{type:Array,default:()=>[]},item:{type:Object,default:()=>({})},defaultValue:{type:Object,default:()=>({})},format:{type:String,default:"YYYY-MM-DD"},disabled:{type:Boolean,default:!1},dataName:{type:String}},emits:["change"],setup(e,{expose:s,emit:p}){const y=e;let b=a({star_val:0,end_val:0}),g=a({}),_=a({});function h(e){if(isNaN(e))return{};if("number"==typeof e){let a=0,t=Math.floor(e/365);a=e%365;let l=Math.floor(a/30);return a%=30,{year:t||"",month:l||"",day:a||"",days:e||""}}return{}}function j(e){p("change",Object.assign(b.value,{star_val:e.days}))}function x(e){p("change",Object.assign(b.value,{end_val:e.days}))}return t((()=>{!function(){const{star_val:e,end_val:a}=y.defaultValue||{};let t=h(+e),l=h(+a);g.value=t,_.value=l}()})),l((()=>y.value),(e=>{if("object"==typeof e&&Object.keys(e).length>0){const{star_val:e,end_val:a}=y.value||{};if(+e){let a=h(+e);g.value=a}if(+a){let e=h(+a);_.value=e}}}),{immediate:!0}),s({reset:function(){let e={year:null,month:null,day:null,days:null};g.value={...e},_.value={...e}},dataName:y.dataName}),(a,t)=>(d(),u("div",f,[n("div",v,[i(o,{disabled:e.disabled,format:e.format,onChange:j,defaultValue:r(g)},null,8,["disabled","format","defaultValue"])]),m,n("div",c,[i(o,{disabled:e.disabled,format:e.format,onChange:x,defaultValue:r(_)},null,8,["disabled","format","defaultValue"])])]))}}),[["__file","index.vue"]]);export{p as default};