cnhis-design-vue 3.1.41 → 3.1.42-beta.1

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 (231) hide show
  1. package/README.md +87 -87
  2. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  3. package/es/components/annotation-edit/src/type.d.ts +3 -0
  4. package/es/components/annotation-edit/style/index.css +1 -1
  5. package/es/components/base-search/index.d.ts +293 -0
  6. package/es/components/base-search/index.js +1 -0
  7. package/es/components/{table-filter/src/base-search-com/BaseSearch.vue.d.ts → base-search/src/index.vue.d.ts} +26 -91
  8. package/es/components/base-search/src/index.vue.js +1 -0
  9. package/es/components/base-search/style/iconfont.ttf +0 -0
  10. package/es/components/base-search/style/index.css +1 -0
  11. package/es/components/big-table/index.d.ts +4 -3
  12. package/es/components/big-table/src/BigTable.vue.d.ts +4 -3
  13. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  14. package/es/components/big-table/style/index.css +1 -1
  15. package/es/components/button-print/index.d.ts +7 -6
  16. package/es/components/button-print/src/ButtonPrint.vue.d.ts +7 -6
  17. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  18. package/es/components/button-print/src/api.d.ts +3 -0
  19. package/es/components/button-print/src/api.js +1 -0
  20. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  21. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  22. package/es/components/button-print/src/utils/print.js +1 -1
  23. package/es/components/classification/index.d.ts +995 -0
  24. package/es/components/classification/index.js +1 -0
  25. package/es/components/{table-filter → classification}/src/components/search-filter/index.vue.d.ts +10 -93
  26. package/es/components/classification/src/components/search-filter/index.vue.js +1 -0
  27. package/es/components/{table-filter → classification}/src/components/set-classification/index.vue.d.ts +5 -130
  28. package/es/components/classification/src/components/set-classification/index.vue.js +1 -0
  29. package/es/components/{table-filter → classification}/src/components/table-modal/index.vue.d.ts +0 -42
  30. package/es/components/classification/src/components/table-modal/index.vue.js +1 -0
  31. package/es/components/classification/src/const/index.d.ts +2 -0
  32. package/es/components/classification/src/const/index.js +1 -0
  33. package/es/components/{table-filter/src/classification/Classification-com.vue.d.ts → classification/src/index.vue.d.ts} +57 -291
  34. package/es/components/classification/src/index.vue.js +1 -0
  35. package/es/components/classification/style/iconfont.ttf +0 -0
  36. package/es/components/classification/style/index.css +1 -0
  37. package/es/components/config-provider/index.d.ts +14 -0
  38. package/es/components/config-provider/index.js +1 -0
  39. package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
  40. package/es/components/config-provider/src/ConfigProvider.js +1 -0
  41. package/es/components/config-provider/src/interface.d.ts +19 -0
  42. package/es/components/config-provider/src/interface.js +1 -0
  43. package/es/components/config-provider/src/utils/index.d.ts +2 -0
  44. package/es/components/config-provider/src/utils/index.js +1 -0
  45. package/es/components/date-picker/index.d.ts +20 -0
  46. package/es/components/date-picker/index.js +1 -0
  47. package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
  48. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  49. package/es/components/fabric-chart/index.d.ts +2 -2
  50. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  51. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  53. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  54. package/es/components/fabric-chart/src/hooks/useRight.js +1 -1
  55. package/es/components/field-set/index.d.ts +2 -2
  56. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  57. package/es/components/form-config/index.d.ts +46 -37
  58. package/es/components/form-config/src/FormConfig.vue.d.ts +46 -37
  59. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  60. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
  61. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
  62. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +9 -1
  63. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  64. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +33 -6
  65. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  66. package/es/components/form-config/style/index.css +1 -1
  67. package/es/components/form-render/index.d.ts +16 -16
  68. package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
  69. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
  70. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  71. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  72. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  73. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  74. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  75. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  76. package/es/components/form-render/src/components/renderer/select.js +1 -1
  77. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  78. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  79. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
  80. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  81. package/es/components/form-render/style/index.css +1 -1
  82. package/es/components/iho-table/index.d.ts +3 -0
  83. package/es/components/iho-table/src/IhoTable.vue.d.ts +3 -0
  84. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  85. package/es/components/iho-table/src/constants/index.d.ts +4 -4
  86. package/es/components/iho-table/src/constants/index.js +1 -1
  87. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  88. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -7
  89. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  90. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +18 -1
  91. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  92. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  93. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  94. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  95. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  96. package/es/components/iho-table/src/types/index.d.ts +1 -0
  97. package/es/components/iho-table/src/utils/index.d.ts +1 -0
  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 +8 -2
  102. package/es/components/index.js +1 -1
  103. package/es/components/info-header/index.d.ts +3799 -156
  104. package/es/components/info-header/src/InfoHeader.vue.d.ts +3800 -156
  105. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  106. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1842 -0
  107. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
  108. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1972 -0
  109. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
  110. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  111. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  112. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  113. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2669 -139
  114. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  115. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +745 -0
  116. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  117. package/es/components/info-header/src/constants/index.d.ts +4 -0
  118. package/es/components/info-header/src/constants/index.js +1 -0
  119. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
  120. package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
  121. package/es/components/info-header/src/types/index.d.ts +17 -3
  122. package/es/components/info-header/style/index.css +1 -1
  123. package/es/components/keyboard/index.d.ts +4 -2
  124. package/es/components/keyboard/src/Keyboard.vue.d.ts +4 -2
  125. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  126. package/es/components/keyboard/src/constants/index.d.ts +2 -0
  127. package/es/components/keyboard/src/constants/index.js +1 -0
  128. package/es/components/keyboard/style/index.css +1 -1
  129. package/es/components/quick-search/index.d.ts +713 -0
  130. package/es/components/quick-search/index.js +1 -0
  131. package/es/components/{table-filter/src/quick-search/QuickSearch.vue.d.ts → quick-search/src/index.vue.d.ts} +31 -120
  132. package/es/components/quick-search/src/index.vue.js +1 -0
  133. package/es/components/quick-search/style/index.css +1 -0
  134. package/es/components/recommend-search/index.d.ts +2 -2
  135. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  136. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  137. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  138. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
  139. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  140. package/es/components/scale-view/src/hooks/use-component.d.ts +69 -116
  141. package/es/components/search-cascader/index.d.ts +2 -2
  142. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  143. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  144. package/es/components/select-label/index.d.ts +70 -169
  145. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -53
  146. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  147. package/es/components/select-label/src/SelectLabel.vue.d.ts +70 -116
  148. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  149. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  150. package/es/components/select-label/style/iconfont.ttf +0 -0
  151. package/es/components/select-label/style/index.css +1 -1
  152. package/es/components/select-person/index.d.ts +1 -1
  153. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  154. package/es/components/shortcut-setter/index.d.ts +17 -17
  155. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
  156. package/es/components/steps-wheel/index.d.ts +1 -0
  157. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -0
  158. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  159. package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
  160. package/es/components/steps-wheel/src/constants/index.js +1 -0
  161. package/es/components/steps-wheel/style/index.css +1 -1
  162. package/es/components/table-filter/index.d.ts +0 -2385
  163. package/es/components/table-filter/index.js +1 -1
  164. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +1 -0
  165. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  166. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -42
  167. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  168. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  169. package/es/components/table-filter/src/components/render-widget/enums.d.ts +0 -8
  170. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  171. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  172. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  173. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  174. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  175. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -1
  176. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  177. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -54
  178. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  179. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  180. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  181. package/es/components/table-filter/src/tool/transformData.d.ts +1 -37
  182. package/es/components/table-filter/src/tool/transformData.js +1 -1
  183. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  184. package/es/components/table-filter/src/types/enums.js +1 -1
  185. package/es/components/table-filter/src/types/index.d.ts +13 -169
  186. package/es/components/time-picker/index.d.ts +18 -0
  187. package/es/components/time-picker/index.js +1 -0
  188. package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
  189. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  190. package/es/env.d.ts +24 -24
  191. package/es/shared/mixins/index.d.ts +1 -0
  192. package/es/shared/mixins/index.js +1 -0
  193. package/es/shared/mixins/useTheme.d.ts +3 -0
  194. package/es/shared/mixins/useTheme.js +1 -0
  195. package/es/shared/utils/index.d.ts +1 -0
  196. package/es/shared/utils/index.js +1 -1
  197. package/package.json +2 -2
  198. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  199. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  200. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  201. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  202. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  203. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +0 -2
  204. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +0 -1
  205. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
  206. package/es/components/table-filter/src/classification/Classification-com.vue.js +0 -1
  207. package/es/components/table-filter/src/components/search-filter/index.vue.js +0 -1
  208. package/es/components/table-filter/src/components/set-classification/index.vue.js +0 -1
  209. package/es/components/table-filter/src/components/table-modal/index.vue.js +0 -1
  210. package/es/components/table-filter/src/const/index.d.ts +0 -5
  211. package/es/components/table-filter/src/const/index.js +0 -1
  212. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +0 -8
  213. package/es/components/table-filter/src/hooks/useTableSearchCon.js +0 -1
  214. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +0 -12
  215. package/es/components/table-filter/src/hooks/useWordBookutils.js +0 -1
  216. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
  217. package/es/components/table-filter/src/tool/time-domain.d.ts +0 -39
  218. package/es/components/table-filter/src/tool/time-domain.js +0 -1
  219. package/es/components/table-filter/src/tool/utils.d.ts +0 -4
  220. package/es/components/table-filter/src/tool/utils.js +0 -1
  221. package/es/components/table-filter/style/index.css +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/{table-filter → base-search}/src/directive/resize.d.ts +0 -0
  225. /package/es/components/{table-filter → base-search}/src/directive/resize.js +0 -0
  226. /package/es/components/{table-filter → base-search}/src/tool/resizeSensor.d.ts +0 -0
  227. /package/es/components/{table-filter → base-search}/src/tool/resizeSensor.js +0 -0
  228. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.d.ts +0 -0
  229. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.js +0 -0
  230. /package/es/components/table-filter/src/tool/{options.d.ts → baseOptions.d.ts} +0 -0
  231. /package/es/components/table-filter/src/tool/{options.js → baseOptions.js} +0 -0
@@ -1,23 +1,4 @@
1
1
  export declare type funcVoid = () => void;
2
- export declare type IrelationType = {
3
- fieldList?: any;
4
- valueField?: any;
5
- primaryField?: any;
6
- relationField?: any;
7
- tableId: any;
8
- parameterConversionId: any;
9
- converFun: any;
10
- preConObj: any;
11
- relationOrgId: any;
12
- preSqlExpression: any;
13
- tableName?: string;
14
- quote_con?: {
15
- conObj: ISearchConfigType;
16
- sqlExpression: string;
17
- };
18
- field_key?: string;
19
- con?: string;
20
- };
21
2
  export declare type ISearchType = {
22
3
  columnName: string;
23
4
  title: string;
@@ -28,8 +9,6 @@ export declare type ISearchType = {
28
9
  settingObj?: any;
29
10
  placeholder?: string;
30
11
  AGEAttr?: boolean;
31
- BIRTHDAY?: IDateType;
32
- DATE?: IDateType;
33
12
  CL?: string;
34
13
  CONVERT?: any;
35
14
  EVALUATEAttr?: boolean;
@@ -53,7 +32,6 @@ export declare type ISearchType = {
53
32
  comAttr?: string;
54
33
  con?: string;
55
34
  dataSource?: any;
56
- dateTeam?: ITeamType[];
57
35
  dictionarieObj?: any;
58
36
  explicitRequired?: number;
59
37
  explicitDefaultVal?: string;
@@ -105,14 +83,6 @@ export declare type ISearchType = {
105
83
  hasFieldList?: any;
106
84
  search_DefaultValue?: any;
107
85
  };
108
- export declare type IDateType = {
109
- con: any;
110
- limit_date?: any;
111
- start_val: any;
112
- end_val: any;
113
- unit?: string;
114
- units?: ITeamType[];
115
- };
116
86
  export declare type IlabelType = {
117
87
  labelId?: string;
118
88
  change_text: string;
@@ -131,50 +101,12 @@ export declare type IFilterItemType = {
131
101
  key?: string;
132
102
  value: string;
133
103
  };
134
- export declare type IsettingType = {
135
- acrossTable?: string;
136
- attr?: string;
137
- colorAndIcon?: any;
138
- colorSetting?: any;
139
- fontContentCopy?: string;
140
- format?: string;
141
- isHide?: string;
142
- isSystemField?: string;
143
- labelType?: any;
144
- notParticipatingSearch?: string;
145
- notParticipatingSort?: string;
146
- relationTable?: any;
147
- showSetting?: IlabelType[];
148
- wordbook?: IwordbookType;
149
- isPreciseSearch?: number;
150
- };
151
- export declare type IwordbookType = {
152
- id?: string;
153
- showType?: string;
154
- params?: any;
155
- autograph?: any;
156
- field_key?: string;
157
- showKeys?: any;
158
- filterKeys?: any;
159
- wordbookType?: any;
160
- };
161
104
  export declare type IParentNamesType = {
162
105
  disabled: boolean;
163
106
  isAdd?: boolean;
164
107
  selected: boolean;
165
108
  value: string;
166
109
  };
167
- export declare type ITeamType = {
168
- con: string;
169
- title: string;
170
- name: string;
171
- units?: number;
172
- };
173
- export declare type IEvaluateType = {
174
- label: string;
175
- value: string;
176
- isSelect?: boolean;
177
- };
178
110
  export declare type ISaveType = {
179
111
  id?: string;
180
112
  tableId: string;
@@ -194,26 +126,15 @@ export declare type ILabelItemListType = {
194
126
  typeId: string;
195
127
  typeName: string;
196
128
  };
197
- export declare type ILabelType = {
198
- addVal: string;
199
- isShowBtn: boolean;
200
- isUnfold: boolean;
201
- itemList: ILabelItemListType[];
202
- showAdd: boolean;
203
- typeId: string;
204
- typeName: string;
205
- change_text?: string;
206
- filter?: any;
207
- };
208
129
  export declare type IClassifyListType = {
209
- classifyId: string;
210
130
  displayCategory: string;
211
131
  isDefault: boolean;
212
132
  isEdit: boolean;
213
- isPublic: string;
214
133
  isShow: boolean;
215
134
  name: string;
216
135
  sid: string;
136
+ isPublic?: string;
137
+ classifyId?: string;
217
138
  conObj?: any;
218
139
  digital?: number;
219
140
  checked?: boolean;
@@ -246,70 +167,12 @@ export declare type ITreeDataType = {
246
167
  open?: boolean;
247
168
  selected?: boolean;
248
169
  };
249
- export declare type IActionType = {
250
- curKey: number;
251
- field_key: string;
252
- fieldId: any;
253
- fieldType: string;
254
- con: string;
255
- searchList: any;
256
- searchChildList: any;
257
- dateList: any;
258
- wordbookData: any;
259
- relationData: any;
260
- relationField: string;
261
- relationFieldList: any;
262
- quote_con: any;
263
- title: string;
264
- unit: string;
265
- setting: string;
266
- settingObj: any;
267
- wordbookValueList: string[];
268
- isIllegalField: boolean;
269
- is_compare_field: boolean;
270
- selectList: any;
271
- customInput: boolean;
272
- compare_field: any;
273
- };
274
170
  export declare type IConditionMapType = {
275
- conditionList: IClassifyListType[];
276
- displayCategoryList: string[];
277
- tabConditionList: any;
278
- countTabCondition: string;
279
- settingId: string;
280
- };
281
- export declare type ILocalObjType = {
282
- autograph?: string;
283
- extendParams?: any;
284
- id?: string;
285
- menuId?: string;
286
- name?: string;
287
- params?: any;
288
- preConObj?: any;
289
- preSqlExpression?: any;
290
- primaryKeyValue?: any;
291
- reportType?: any;
292
- triggerObjContentObj?: ITriggerObjType;
293
- type?: string;
294
- };
295
- export declare type ITriggerObjType = Record<'id' | 'name' | 'type', string>;
296
- export declare type ISelectAllType = Record<'name' | 'sid', string>;
297
- export declare type IOriginConditionType = {
298
- checked?: boolean;
299
- classifyId?: string;
300
- conObj: ISearchConfigType;
301
- createdByName: string;
302
- digital: number;
303
- displayCategory: string;
304
- from?: string;
305
- isDefault: boolean;
306
- isEdit: boolean;
307
- isPublic: string;
308
- isShow: boolean;
309
- name: string;
310
- selected?: boolean;
311
- sid: string;
312
- sqlExpression?: string;
171
+ conditionList?: IClassifyListType[];
172
+ displayCategoryList?: string[];
173
+ tabConditionList?: any;
174
+ countTabCondition?: string;
175
+ settingId?: string;
313
176
  };
314
177
  export declare type IbtnType = {
315
178
  buttonType: string;
@@ -368,9 +231,6 @@ export declare type IparamsType = Record<'p_name' | 'p_value', string>;
368
231
  export declare type IsettingsType = {
369
232
  hideQuickSearch: number;
370
233
  };
371
- export declare type InjectisShowResetButton = {
372
- from: '';
373
- };
374
234
  export declare type IeditTableWrapperItem = {
375
235
  options?: IeditTableWrapperDetail;
376
236
  };
@@ -378,28 +238,6 @@ export declare type IeditTableWrapperDetail = {
378
238
  isButtonFolding?: boolean;
379
239
  extendParams?: any;
380
240
  };
381
- export declare type IrowBtnListObj = {
382
- ADD: {
383
- name: string;
384
- children: IbtnType[];
385
- };
386
- INLINE: {
387
- name: string;
388
- children: IbtnType[];
389
- };
390
- BATCH: {
391
- name: string;
392
- children: IbtnType[];
393
- };
394
- };
395
- export declare type IPrintType = {
396
- number: number;
397
- authorizationKey: string;
398
- versionType: any;
399
- port: number;
400
- id: string;
401
- };
402
- export declare type IPrintAboutType = Record<'templateId' | 'formatId' | 'type', string>;
403
241
  export declare type ICheckboxType = Record<'label' | 'value', string>;
404
242
  export declare type IApiServerType = {
405
243
  name: string;
@@ -471,3 +309,9 @@ export declare type IFormStateType = {
471
309
  displayCategory: string;
472
310
  filterConditions: Record<'condition' | 'key' | 'presetVal' | 'value', string>[];
473
311
  };
312
+ export declare type ISearchParamsType = {
313
+ field_key: string;
314
+ con: string;
315
+ value: any;
316
+ unit: string | null;
317
+ };
@@ -0,0 +1,18 @@
1
+ import { SFCWithInstall } from '../../../es/shared/types';
2
+ declare const TimePicker: SFCWithInstall<import("vue").DefineComponent<{}, {
3
+ attrs: {
4
+ [x: string]: unknown;
5
+ };
6
+ emits: (event: "update:formattedValue", ...args: any[]) => void;
7
+ timePickerRef: import("vue").Ref<null>;
8
+ __formattedValue: import("vue").Ref<any>;
9
+ keyupValue: import("vue").Ref<string>;
10
+ formatRef: import("vue").ComputedRef<string>;
11
+ updateFormattedValue: (value: any) => void;
12
+ onBlur: () => void;
13
+ onKeyUp: (event: import("../../../es/shared/types").AnyObject) => any;
14
+ NTimePicker: any;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formattedValue"[], "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
16
+ "onUpdate:formattedValue"?: ((...args: any[]) => any) | undefined;
17
+ }, {}>>;
18
+ export default TimePicker;
@@ -0,0 +1 @@
1
+ import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as i}from"../../shared/utils/index.js";import e from"./src/TimePicker.vue.js";const o=e;o.install=function(e){i(e,o,r+"TimePicker")};export{o as default};
@@ -0,0 +1,18 @@
1
+ import { AnyObject } from '../../../../es/shared/types';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ attrs: {
4
+ [x: string]: unknown;
5
+ };
6
+ emits: (event: "update:formattedValue", ...args: any[]) => void;
7
+ timePickerRef: import("vue").Ref<null>;
8
+ __formattedValue: import("vue").Ref<any>;
9
+ keyupValue: import("vue").Ref<string>;
10
+ formatRef: import("vue").ComputedRef<string>;
11
+ updateFormattedValue: (value: any) => void;
12
+ onBlur: () => void;
13
+ onKeyUp: (event: AnyObject) => any;
14
+ NTimePicker: any;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formattedValue"[], "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
16
+ "onUpdate:formattedValue"?: ((...args: any[]) => any) | undefined;
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1 @@
1
+ import{defineComponent as e,useAttrs as t,ref as u,computed as l,watch as a,openBlock as r,createBlock as o,unref as i,mergeProps as n,createSlots as v,renderList as m,withCtx as f,renderSlot as d}from"vue";import{NTimePicker as s}from"naive-ui";import{parse as c,isValid as p,format as _}from"date-fns";import k from"../../../_virtual/plugin-vue_export-helper.js";var P=k(e({__name:"TimePicker",emits:["update:formattedValue"],setup(e,{expose:k,emit:P}){const $=t(),b=u(null),x=u(),y=u(""),V=l((()=>$.format?$.format:"HH:mm:ss"));function g(e){P("update:formattedValue",e)}function H(){const e=c(y.value,V.value.replace(/:/,""),new Date);p(e)&&(x.value=_(e,V.value),g(x.value))}function T(e){var t,u;const{keyCode:l=0}=e;if(13==l)return null==(t=b.value)?void 0:t.blur();y.value=(null==(u=e.target)?void 0:u.value)||""}return a((()=>$["formatted-value"]),(e=>{x.value=e}),{immediate:!0}),k({$timePicker:b,focus:()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.blur)?void 0:t.call(e)}}),(e,t)=>(r(),o(i(s),n({ref_key:"timePickerRef",ref:b},e.$attrs,{"formatted-value":x.value,"onUpdate:formattedValue":g,onBlur:H,onKeyup:T}),v({_:2},[m(e.$slots,((t,u)=>({name:u,fn:f((()=>[d(e.$slots,u)]))})))]),1040,["formatted-value"]))}}),[["__file","TimePicker.vue"]]);export{P as default};
package/es/env.d.ts CHANGED
@@ -1,24 +1,24 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly VITE_APP_TYPE: string;
5
- // 更多环境变量...
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv;
10
- }
11
-
12
- declare module '*.vue' {
13
- // @ts-ignore
14
- import type { App, defineComponent } from 'vue';
15
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
- // // const component: DefineComponent<{}, {}, any>
17
- const component: ReturnType<typeof defineComponent> & {
18
- install(app: App): void;
19
- };
20
- // @ts-ignore
21
- export default component;
22
- }
23
-
24
- declare module '*.js';
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_APP_TYPE: string;
5
+ // 更多环境变量...
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv;
10
+ }
11
+
12
+ declare module '*.vue' {
13
+ // @ts-ignore
14
+ import type { App, defineComponent } from 'vue';
15
+ // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
+ // // const component: DefineComponent<{}, {}, any>
17
+ const component: ReturnType<typeof defineComponent> & {
18
+ install(app: App): void;
19
+ };
20
+ // @ts-ignore
21
+ export default component;
22
+ }
23
+
24
+ declare module '*.js';
@@ -0,0 +1 @@
1
+ export * from './useTheme';
@@ -0,0 +1 @@
1
+ export{useTheme}from"./useTheme.js";
@@ -0,0 +1,3 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { CComponentThemeOverrides } from '../../../es/components/config-provider';
3
+ export declare function useTheme(defaultCssVars?: CSSProperties, componentKey?: keyof CComponentThemeOverrides): import("vue").ComputedRef<CSSProperties>;
@@ -0,0 +1 @@
1
+ import{checkInSetupEnv as r,hex2rgba as o}from"../utils/index.js";import{isNumber as i}from"lodash-es";import{useThemeVars as t}from"naive-ui";import{inject as e,computed as n,unref as c}from"vue";function m(i,m){r();const l=t(),p=e("themeOverridesInjectRef",{});return n((()=>{var r;const t=m?c(p)[m]:null,e=null!=(r=l.value.primaryColor)?r:"#5585f5";return{...i,"--c-primary-color":e,"--c-primary-color-opacity1":a(...o(e),.1),"--c-primary-color-opacity2":a(...o(e),.2),...t}}))}function a(r,o,t,e,n=1){return`rgba(${r},${o},${t}, ${i(e)?(e*n).toFixed(2):n})`}export{m as useTheme};
@@ -31,3 +31,4 @@ export declare function isMatchLowCodeCondition(value: unknown, condition: {
31
31
  con: LOW_CODE_VALUE_RELATION & string;
32
32
  value: unknown;
33
33
  }): boolean;
34
+ export declare function hex2rgba(hex: string): readonly [number, number, number, number];
@@ -1 +1 @@
1
- import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as n,includes as r,isEmpty as o,negate as u,gt as c,gte as i,lt as s,lte as f,isNumber as a,isObject as x,isFunction as E}from"lodash-es";import{getCurrentInstance as l}from"vue";function m(t,n,r="children",o){function u(){throw"silence break traverse"}try{h(t).forEach((t=>{n(t,u,o),h(r).forEach((o=>{e(t[o])&&m(t[o],n,r,t)}))}))}catch(t){if("silence break traverse"===t)return;throw t}}function L(t,e,n=e.name,r){if(!n)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[n]||(r?r():t.component(n,e))}function d(t){if(!n(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function h(t){return Array.isArray(t)?t:[t]}function p(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const N=t((function(t){return t?[...t].reduce(((t,e)=>/[a-z]/.test(e)?t+8:/[A-Z]/.test(e)?t+12:/\d/.test(e)?t+9:/\./.test(e)?t+4:/[\u4e00-\u9fa5]/.test(e)?t+15:/-/.test(e)?t+4:/[()]/.test(e)?t+14:/[)(]/.test(e)?t+5:/-/.test(e)?t+10:/%/.test(e)?t+14:/‰/.test(e)?t+16:t+6),0):0})),w=Object.seal(Object.create(null));function S(t,n){return function t(n,r){return x(n)?e(n)?n.map((e=>t(e,r))):Object.entries(n).reduce(((e,[n,o])=>(r.includes(n)||(x(o)&&!E(o)?e[n]=t(o,r):e[n]=o),e)),{}):n}(t,n)}function v(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function y(t,e){if(!t)return t;if(e(t))return t;let n=t.parentElement;for(;n&&!e(n);)n=n.parentElement;return n}function Q(t,e="px"){if(a(t))return`${t}${e}`;if(n(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function $(t,e){return t.some((t=>e.includes(t)))}const b=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function O(t,e){if(!x(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function U(t){if(!l())throw new Error(t||"can't use this hook out of setup environment")}var C=(t=>(t.EQ="EQ",t.NEQ="NEQ",t.CL="CL",t.NC="NC",t.NULL="NULL",t.NOT_NULL="NOT_NULL",t.BIG="BIG",t.BIGEQ="BIGEQ",t.LESS="LESS",t.LESSEQ="LESSEQ",t))(C||{});const I={EQ:(t,e)=>`${t}`===e,NEQ:(t,e)=>`${t}`!==e,CL:(t,o)=>!(!e(t)&&!n(t))&&r(t,o),NC:(t,o)=>!e(t)&&!n(t)||!r(t,o),NULL:o,NOT_NULL:u(o),BIG:c,BIGEQ:i,LESS:s,LESSEQ:f};function g(t,e){return(I[e.con]||(()=>!1))(t,`${e.value}`)}export{w as DMZ,C as LOW_CODE_VALUE_RELATION,h as arrayed,U as checkInSetupEnv,S as deepOmit,y as findAncestor,d as generateTimeFormat,N as getStringWidth,g as isMatchLowCodeCondition,b as jsonParse,L as safeComponentRegister,v as separateMetaModule,O as shallowOmit,$ as targetStringIncludes,m as traverse,p as uuidGenerator,Q as widthAppend};
1
+ import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as n,includes as r,isEmpty as o,negate as c,gt as u,gte as i,lt as s,lte as a,isNumber as f,isObject as x,isFunction as d}from"lodash-es";import{getCurrentInstance as E}from"vue";function l(t,n,r="children",o){function c(){throw"silence break traverse"}try{L(t).forEach((t=>{n(t,c,o),L(r).forEach((o=>{e(t[o])&&l(t[o],n,r,t)}))}))}catch(t){if("silence break traverse"===t)return;throw t}}function m(t,e,n=e.name,r){if(!n)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[n]||(r?r():t.component(n,e))}function p(t){if(!n(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function L(t){return Array.isArray(t)?t:[t]}function h(){if(window.isSecureContext&&window.crypto)return`key${window.crypto.randomUUID()}`;return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const N=t((function(t){return t?[...t].reduce(((t,e)=>/[a-z]/.test(e)?t+8:/[A-Z]/.test(e)?t+12:/\d/.test(e)?t+9:/\./.test(e)?t+4:/[\u4e00-\u9fa5]/.test(e)?t+15:/-/.test(e)?t+4:/[()]/.test(e)?t+14:/[)(]/.test(e)?t+5:/-/.test(e)?t+10:/%/.test(e)?t+14:/‰/.test(e)?t+16:t+6),0):0})),w=Object.seal(Object.create(null));function S(t,n){return function t(n,r){return x(n)?e(n)?n.map((e=>t(e,r))):Object.entries(n).reduce(((e,[n,o])=>(r.includes(n)||(x(o)&&!d(o)?e[n]=t(o,r):e[n]=o),e)),{}):n}(t,n)}function v(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function y(t,e){if(!t)return t;if(e(t))return t;let n=t.parentElement;for(;n&&!e(n);)n=n.parentElement;return n}function I(t,e="px"){if(f(t))return`${t}${e}`;if(n(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function Q(t,e){return t.some((t=>e.includes(t)))}const $=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function b(t,e){if(!x(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function O(t){if(!E())throw new Error(t||"can't use this hook out of setup environment")}var U=(t=>(t.EQ="EQ",t.NEQ="NEQ",t.CL="CL",t.NC="NC",t.NULL="NULL",t.NOT_NULL="NOT_NULL",t.BIG="BIG",t.BIGEQ="BIGEQ",t.LESS="LESS",t.LESSEQ="LESSEQ",t))(U||{});const C={EQ:(t,e)=>`${t}`===e,NEQ:(t,e)=>`${t}`!==e,CL:(t,o)=>!(!e(t)&&!n(t))&&r(t,o),NC:(t,o)=>!e(t)&&!n(t)||!r(t,o),NULL:o,NOT_NULL:c(o),BIG:u,BIGEQ:i,LESS:s,LESSEQ:a};function g(t,e){return(C[e.con]||(()=>!1))(t,`${e.value}`)}function B(t){const[e,n,r,o,c]=t.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i)||[];if(!e)return[0,0,0,1];const u=(c?parseInt(c,16):255)/255;return[parseInt(n,16),parseInt(r,16),parseInt(o,16),+(f(u)?u.toFixed(2):1)]}export{w as DMZ,U as LOW_CODE_VALUE_RELATION,L as arrayed,O as checkInSetupEnv,S as deepOmit,y as findAncestor,p as generateTimeFormat,N as getStringWidth,B as hex2rgba,g as isMatchLowCodeCondition,$ as jsonParse,m as safeComponentRegister,v as separateMetaModule,b as shallowOmit,Q as targetStringIncludes,l as traverse,h as uuidGenerator,I as widthAppend};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.41",
3
+ "version": "3.1.42-beta.1",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "5ee216d6b3ec2a78b318f362bdabeda8f236a5fb"
64
+ "gitHead": "6b2e7a963042d08e0a8707365e3078f6b1b57b36"
65
65
  }
File without changes
@@ -1 +0,0 @@
1
- declare module 'bpmn-js/lib/Viewer';
@@ -1 +0,0 @@
1
- declare module 'bpmn-js/lib/features/modeling';
@@ -1 +0,0 @@
1
- declare module 'diagram-js/lib/navigation/movecanvas';