cnhis-design-vue 3.1.42-release.0 → 3.1.42-release.2

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 (254) 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 +271 -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 -113
  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/style/index.css +1 -1
  12. package/es/components/button-print/index.d.ts +3 -2
  13. package/es/components/button-print/src/ButtonPrint.vue.d.ts +3 -2
  14. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  15. package/es/components/button-print/src/api.d.ts +3 -0
  16. package/es/components/button-print/src/api.js +1 -0
  17. package/es/components/button-print/src/utils/print.js +1 -1
  18. package/es/components/classification/index.d.ts +995 -0
  19. package/es/components/classification/index.js +1 -0
  20. package/es/components/{table-filter → classification}/src/components/search-filter/index.vue.d.ts +10 -93
  21. package/es/components/classification/src/components/search-filter/index.vue.js +1 -0
  22. package/es/components/{table-filter → classification}/src/components/set-classification/index.vue.d.ts +5 -130
  23. package/es/components/classification/src/components/set-classification/index.vue.js +1 -0
  24. package/es/components/{table-filter → classification}/src/components/table-modal/index.vue.d.ts +0 -42
  25. package/es/components/classification/src/components/table-modal/index.vue.js +1 -0
  26. package/es/components/classification/src/const/index.d.ts +2 -0
  27. package/es/components/classification/src/const/index.js +1 -0
  28. package/es/components/{table-filter/src/classification/Classification-com.vue.d.ts → classification/src/index.vue.d.ts} +57 -291
  29. package/es/components/classification/src/index.vue.js +1 -0
  30. package/es/components/classification/style/iconfont.ttf +0 -0
  31. package/es/components/classification/style/index.css +1 -0
  32. package/es/components/config-provider/index.d.ts +14 -0
  33. package/es/components/config-provider/index.js +1 -0
  34. package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
  35. package/es/components/config-provider/src/ConfigProvider.js +1 -0
  36. package/es/components/config-provider/src/interface.d.ts +19 -0
  37. package/es/components/config-provider/src/interface.js +1 -0
  38. package/es/components/config-provider/src/utils/index.d.ts +2 -0
  39. package/es/components/config-provider/src/utils/index.js +1 -0
  40. package/es/components/date-picker/index.d.ts +12 -0
  41. package/es/components/date-picker/index.js +1 -0
  42. package/es/components/date-picker/src/DatePicker.vue.d.ts +12 -0
  43. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  44. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  45. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  46. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  47. package/es/components/fabric-chart/src/hooks/useRight.js +1 -1
  48. package/es/components/field-set/index.d.ts +82 -13
  49. package/es/components/field-set/src/FieldSet.vue.d.ts +78 -27
  50. package/es/components/field-set/src/types/index.d.ts +18 -0
  51. package/es/components/field-set/src/types/index.js +1 -0
  52. package/es/components/form-config/index.d.ts +36 -27
  53. package/es/components/form-config/src/FormConfig.vue.d.ts +36 -27
  54. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  55. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -11
  56. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +14 -14
  57. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +9 -1
  58. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  59. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +33 -6
  60. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  61. package/es/components/form-config/style/index.css +1 -1
  62. package/es/components/form-render/index.d.ts +11 -11
  63. package/es/components/form-render/index.js +1 -1
  64. package/es/components/form-render/src/FormRender.vue.d.ts +11 -11
  65. package/es/components/form-render/src/FormRender.vue.js +1 -1
  66. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -11
  67. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  68. package/es/components/form-render/src/components/renderer/date.js +1 -1
  69. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  70. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  71. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  72. package/es/components/form-render/src/components/renderer/select.js +1 -1
  73. package/es/components/form-render/src/hooks/index.d.ts +1 -1
  74. package/es/components/form-render/src/hooks/index.js +1 -1
  75. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  76. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  77. package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +16 -0
  78. package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -0
  79. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  80. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
  81. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  82. package/es/components/form-render/src/types/index.d.ts +2 -1
  83. package/es/components/form-render/style/index.css +1 -1
  84. package/es/components/iho-table/index.d.ts +1526 -0
  85. package/es/components/iho-table/src/IhoTable.vue.d.ts +1526 -0
  86. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  87. package/es/components/iho-table/src/constants/index.d.ts +6 -5
  88. package/es/components/iho-table/src/constants/index.js +1 -1
  89. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -1
  90. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  91. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +3 -1
  92. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
  93. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  94. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  95. package/es/components/iho-table/src/plugins/index.js +1 -1
  96. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
  97. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +12 -7
  98. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  99. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  100. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  101. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -1
  102. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
  103. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +12 -1
  104. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  105. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  106. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  107. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  108. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -0
  109. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -0
  110. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  111. package/es/components/iho-table/src/types/index.d.ts +2 -0
  112. package/es/components/iho-table/src/types/pluginType.d.ts +3 -1
  113. package/es/components/iho-table/src/utils/index.d.ts +2 -0
  114. package/es/components/iho-table/src/utils/index.js +1 -1
  115. package/es/components/iho-table/style/index.css +1 -1
  116. package/es/components/index.css +1 -1
  117. package/es/components/index.d.ts +9 -2
  118. package/es/components/index.js +1 -1
  119. package/es/components/info-header/index.d.ts +3800 -157
  120. package/es/components/info-header/src/InfoHeader.vue.d.ts +3801 -157
  121. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  122. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1842 -0
  123. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
  124. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1972 -0
  125. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
  126. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  127. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2669 -139
  128. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  129. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +745 -0
  130. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  131. package/es/components/info-header/src/constants/index.d.ts +4 -0
  132. package/es/components/info-header/src/constants/index.js +1 -0
  133. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
  134. package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
  135. package/es/components/info-header/src/types/index.d.ts +17 -3
  136. package/es/components/info-header/style/index.css +1 -1
  137. package/es/components/keyboard/index.d.ts +3 -1
  138. package/es/components/keyboard/src/Keyboard.vue.d.ts +3 -1
  139. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  140. package/es/components/keyboard/src/constants/index.d.ts +2 -0
  141. package/es/components/keyboard/src/constants/index.js +1 -0
  142. package/es/components/keyboard/style/index.css +1 -1
  143. package/es/components/quick-search/index.d.ts +713 -0
  144. package/es/components/quick-search/index.js +1 -0
  145. package/es/components/{table-filter/src/quick-search/QuickSearch.vue.d.ts → quick-search/src/index.vue.d.ts} +31 -120
  146. package/es/components/quick-search/src/index.vue.js +1 -0
  147. package/es/components/quick-search/style/index.css +1 -0
  148. package/es/components/recommend-search/index.d.ts +2 -2
  149. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  150. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  151. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  152. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
  153. package/es/components/scale-view/src/hooks/use-component.d.ts +69 -116
  154. package/es/components/search-cascader/index.d.ts +2 -2
  155. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  156. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  157. package/es/components/select-label/index.d.ts +70 -169
  158. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -53
  159. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  160. package/es/components/select-label/src/SelectLabel.vue.d.ts +70 -116
  161. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  162. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  163. package/es/components/select-label/style/iconfont.ttf +0 -0
  164. package/es/components/select-label/style/index.css +1 -1
  165. package/es/components/shortcut-setter/index.d.ts +12 -12
  166. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +12 -12
  167. package/es/components/steps-wheel/index.d.ts +1 -0
  168. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -0
  169. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  170. package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
  171. package/es/components/steps-wheel/src/constants/index.js +1 -0
  172. package/es/components/steps-wheel/style/index.css +1 -1
  173. package/es/components/table-filter/index.d.ts +0 -2386
  174. package/es/components/table-filter/index.js +1 -1
  175. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +1 -0
  176. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  177. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -42
  178. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  179. package/es/components/table-filter/src/components/render-widget/enums.d.ts +0 -8
  180. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  181. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  182. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  183. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  184. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -1
  185. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  186. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -54
  187. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  188. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  189. package/es/components/table-filter/src/tool/baseOptions.d.ts +8 -0
  190. package/es/components/table-filter/src/tool/baseOptions.js +1 -0
  191. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
  192. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  193. package/es/components/table-filter/src/tool/transformData.d.ts +1 -37
  194. package/es/components/table-filter/src/tool/transformData.js +1 -1
  195. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  196. package/es/components/table-filter/src/types/enums.js +1 -1
  197. package/es/components/table-filter/src/types/index.d.ts +13 -243
  198. package/es/components/time-picker/index.d.ts +12 -0
  199. package/es/components/time-picker/index.js +1 -0
  200. package/es/components/time-picker/src/TimePicker.vue.d.ts +12 -0
  201. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  202. package/es/env.d.ts +24 -24
  203. package/es/shared/hooks/index.d.ts +3 -0
  204. package/es/shared/hooks/index.js +1 -0
  205. package/es/{components/form-render/src → shared}/hooks/useAsyncQueue.d.ts +0 -14
  206. package/es/shared/hooks/useAsyncQueue.js +1 -0
  207. package/es/shared/hooks/useDateTime.d.ts +6 -0
  208. package/es/shared/hooks/useDateTime.js +1 -0
  209. package/es/shared/hooks/useTheme.d.ts +3 -0
  210. package/es/shared/hooks/useTheme.js +1 -0
  211. package/es/shared/utils/index.d.ts +1 -0
  212. package/es/shared/utils/index.js +1 -1
  213. package/package.json +2 -2
  214. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  215. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  216. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  217. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  218. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  219. package/es/components/form-render/src/hooks/useAsyncQueue.js +0 -1
  220. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +0 -2
  221. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +0 -1
  222. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
  223. package/es/components/table-filter/src/classification/Classification-com.vue.js +0 -1
  224. package/es/components/table-filter/src/components/search-filter/index.vue.js +0 -1
  225. package/es/components/table-filter/src/components/set-classification/index.vue.js +0 -1
  226. package/es/components/table-filter/src/components/table-modal/index.vue.js +0 -1
  227. package/es/components/table-filter/src/const/index.d.ts +0 -5
  228. package/es/components/table-filter/src/const/index.js +0 -1
  229. package/es/components/table-filter/src/directive/resize.d.ts +0 -4
  230. package/es/components/table-filter/src/directive/resize.js +0 -1
  231. package/es/components/table-filter/src/hooks/export.d.ts +0 -1
  232. package/es/components/table-filter/src/hooks/export.js +0 -1
  233. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +0 -8
  234. package/es/components/table-filter/src/hooks/useTableSearchCon.js +0 -1
  235. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +0 -12
  236. package/es/components/table-filter/src/hooks/useWordBookutils.js +0 -1
  237. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
  238. package/es/components/table-filter/src/tool/getWidgetType.d.ts +0 -1
  239. package/es/components/table-filter/src/tool/getWidgetType.js +0 -1
  240. package/es/components/table-filter/src/tool/options.d.ts +0 -18
  241. package/es/components/table-filter/src/tool/options.js +0 -1
  242. package/es/components/table-filter/src/tool/resizeSensor.d.ts +0 -16
  243. package/es/components/table-filter/src/tool/resizeSensor.js +0 -1
  244. package/es/components/table-filter/src/tool/time-domain.d.ts +0 -39
  245. package/es/components/table-filter/src/tool/time-domain.js +0 -1
  246. package/es/components/table-filter/src/tool/utils.d.ts +0 -4
  247. package/es/components/table-filter/src/tool/utils.js +0 -1
  248. package/es/components/table-filter/style/index.css +0 -1
  249. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  250. package/es/shared/utils/colorLog.d.ts +0 -31
  251. package/es/shared/utils/colorLog.js +0 -1
  252. package/es/shared/utils/tapable/index.d.ts +0 -139
  253. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.d.ts +0 -0
  254. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.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,89 +101,27 @@ 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;
181
113
  setting: any;
182
114
  conditionList: string;
183
115
  };
184
- export declare type ILabelItemListType = {
185
- allowCreateByPersonal: number;
186
- color: string;
187
- isPublic: string;
188
- isSelect: boolean;
189
- labelId: string;
190
- labelName: string;
191
- parentColor: string;
192
- parentId: string;
193
- parentType: string;
194
- typeId: string;
195
- typeName: string;
196
- };
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
116
  export declare type IClassifyListType = {
209
- classifyId: string;
210
117
  displayCategory: string;
211
118
  isDefault: boolean;
212
119
  isEdit: boolean;
213
- isPublic: string;
214
120
  isShow: boolean;
215
121
  name: string;
216
122
  sid: string;
123
+ isPublic?: string;
124
+ classifyId?: string;
217
125
  conObj?: any;
218
126
  digital?: number;
219
127
  checked?: boolean;
@@ -246,160 +154,16 @@ export declare type ITreeDataType = {
246
154
  open?: boolean;
247
155
  selected?: boolean;
248
156
  };
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
157
  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;
158
+ conditionList?: IClassifyListType[];
159
+ displayCategoryList?: string[];
160
+ tabConditionList?: any;
161
+ countTabCondition?: string;
162
+ settingId?: string;
294
163
  };
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;
313
- };
314
- export declare type IbtnType = {
315
- buttonType: string;
316
- color: string;
317
- icon: string;
318
- id: string;
319
- isShow: number;
320
- name: string;
321
- setting: string;
322
- settingList: string;
323
- settingObj: IsettingObjType[];
324
- showStyle: string;
325
- sid: string;
326
- tableId: string;
327
- toggle: string;
328
- type: string;
329
- alias?: string;
330
- buttonRemark?: string;
331
- buttonGroup?: any;
332
- canHandleUniline?: boolean;
333
- chooseTwoData?: string;
334
- createdTime?: string;
335
- dataSource?: string;
336
- isButtonGroup?: boolean;
337
- isHide?: boolean;
338
- isImportGuage?: boolean;
339
- iconSetting?: string;
340
- isShowFoldGroupBtn?: boolean;
341
- isVisible?: boolean;
342
- printType?: any;
343
- quoteSetting?: string;
344
- showStyleSetting?: string;
345
- strategy?: string;
346
- updatedTime?: string;
347
- __printConfig?: any;
348
- };
349
- export declare type IsettingObjType = {
350
- obj_id: string;
351
- trigger_type: string;
352
- isTips: string;
353
- trigger_id?: string;
354
- trigger_name?: string;
355
- params?: IparamsType[];
356
- editAllRow?: number;
357
- tipsMsg?: any;
358
- newTitle?: string;
359
- display?: string;
360
- importComponentId?: string;
361
- importComponentName?: string;
362
- prevStepSetting?: any;
363
- linkShowType?: string;
364
- conditionExpression?: string;
365
- conditionParams?: any;
366
- };
367
- export declare type IparamsType = Record<'p_name' | 'p_value', string>;
368
164
  export declare type IsettingsType = {
369
165
  hideQuickSearch: number;
370
166
  };
371
- export declare type InjectisShowResetButton = {
372
- from: '';
373
- };
374
- export declare type IeditTableWrapperItem = {
375
- options?: IeditTableWrapperDetail;
376
- };
377
- export declare type IeditTableWrapperDetail = {
378
- isButtonFolding?: boolean;
379
- extendParams?: any;
380
- };
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
167
  export declare type ICheckboxType = Record<'label' | 'value', string>;
404
168
  export declare type IApiServerType = {
405
169
  name: string;
@@ -471,3 +235,9 @@ export declare type IFormStateType = {
471
235
  displayCategory: string;
472
236
  filterConditions: Record<'condition' | 'key' | 'presetVal' | 'value', string>[];
473
237
  };
238
+ export declare type ISearchParamsType = {
239
+ field_key: string;
240
+ con: string;
241
+ value: any;
242
+ unit: string | null;
243
+ };
@@ -0,0 +1,12 @@
1
+ import { SFCWithInstall } from '../../../es/shared/types';
2
+ declare const TimePicker: SFCWithInstall<import("vue").DefineComponent<{}, {
3
+ attrs: {
4
+ [x: string]: unknown;
5
+ };
6
+ timePickerRef: import("vue").Ref<import("../../../es/shared/types").AnyObject | null>;
7
+ formatRef: import("vue").ComputedRef<string>;
8
+ focus: () => any;
9
+ blur: () => any;
10
+ NTimePicker: any;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
12
+ 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,12 @@
1
+ import { AnyObject } from '../../../../es/shared/types';
2
+ declare const _default: import("vue").DefineComponent<{}, {
3
+ attrs: {
4
+ [x: string]: unknown;
5
+ };
6
+ timePickerRef: import("vue").Ref<AnyObject | null>;
7
+ formatRef: import("vue").ComputedRef<string>;
8
+ focus: () => any;
9
+ blur: () => any;
10
+ NTimePicker: any;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
12
+ export default _default;
@@ -0,0 +1 @@
1
+ import{defineComponent as e,useAttrs as r,ref as o,computed as s,openBlock as t,createBlock as i,unref as m,mergeProps as u,createSlots as a,renderList as f,withCtx as l,renderSlot as p}from"vue";import{NTimePicker as n}from"naive-ui";import"../../../shared/utils/index.js";import"lodash-es";import{useDateTime as _}from"../../../shared/hooks/useDateTime.js";import c from"../../../_virtual/plugin-vue_export-helper.js";var k=c(e({__name:"TimePicker",setup(e,{expose:c}){const k=r(),v=o(null),d=s((()=>k.format?k.format:"HH:mm:ss")),{focus:h,blur:x}=_(v,d);return c({$timePicker:v,focus:h,blur:x}),(e,r)=>(t(),i(m(n),u({ref_key:"timePickerRef",ref:v},e.$attrs),a({_:2},[f(e.$slots,((r,o)=>({name:o,fn:l((()=>[p(e.$slots,o)]))})))]),1040))}}),[["__file","TimePicker.vue"]]);export{k 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,3 @@
1
+ export * from './useTheme';
2
+ export * from './useDateTime';
3
+ export * from './useAsyncQueue';
@@ -0,0 +1 @@
1
+ export{useTheme}from"./useTheme.js";export{useDateTime}from"./useDateTime.js";export{AsyncQueue}from"./useAsyncQueue.js";
@@ -1,11 +1,3 @@
1
- import { AnyObject, UndefinedAble } from '../../../../../es/shared/types';
2
- import { ComputedRef } from 'vue';
3
- import { FormAsyncQueueItem } from '../types';
4
- import { RequestInstance } from '../../../../../es/components/form-render';
5
- declare type ProcessorOption = Partial<{
6
- afterRequest(key: string, payload?: unknown): AnyObject[];
7
- beforeRequest(key: string, params?: unknown): UndefinedAble<AnyObject> | void;
8
- }>;
9
1
  interface EntryCallback {
10
2
  (err?: any, result?: any): void;
11
3
  }
@@ -38,10 +30,4 @@ export declare class AsyncQueue<T = any, K = any, R = any> {
38
30
  private _startProcess;
39
31
  private _handlerResult;
40
32
  }
41
- export declare function useAsyncQueue(requestInstance: ComputedRef<UndefinedAble<RequestInstance>>): {
42
- create: (parallelism?: number, option?: ProcessorOption) => AsyncQueue<FormAsyncQueueItem, any, {
43
- label: string;
44
- value: unknown;
45
- }[]>;
46
- };
47
33
  export {};
@@ -0,0 +1 @@
1
+ import{cloneDeep as s}from"lodash-es";class e{constructor(s,e,t){this.item=s,this.key=e,this.state=0,this.callback=t}}class t{constructor(s){this._list=s?Array.from(s):[]}enqueue(s){this._list.push(s)}dequeue(){return this._list.shift()}}class i{constructor({name:s,processor:e,getKey:i,parallelism:r}){this._queued=new t,this._entries=new Map,this._activeTasks=0,this._processingLock=!1,this._stopped=!1,this.name=s,this.processor=e,this.getKey=i,this.parallelism=r||100}add(t,i){if(this._stopped)return i(new Error("Queue was stopped"));const r=this.getKey(t);if(this._entries.has(r)){const e=this._entries.get(r);return void(1===e.state?setTimeout((()=>{i&&i(s(e.error),s(e.result))})):e.callbacks?e.callbacks.push(i):e.callbacks=[i])}const c=new e(t,r,i);this._entries.set(r,c),this._queued.enqueue(c),this._processingLock||(this._processingLock=!0,Promise.resolve().then(this._ensureProcessing.bind(this)))}addAsync(s){return new Promise(((e,t)=>{this.add(s,((s,i)=>{s&&t(s),e(i)}))}))}_ensureProcessing(){for(;this._activeTasks<this.parallelism;){const s=this._queued.dequeue();if(!s)break;this._activeTasks++,s.state=0,this._startProcess(s)}this._processingLock=!1}_startProcess(s){this.processor(s.item,((e,t)=>{e?this._handlerResult(s,e):this._handlerResult(s,e,t)}),(()=>this._entries.delete(s.key)))}_handlerResult(e,t,i){const r=e.callback;e.state=1,e.callback=void 0,e.result=s(i),e.error=s(t),this._activeTasks--,r&&r(t,i),e.callbacks&&e.callbacks.forEach((s=>s(t,i))),this._processingLock||(this._processingLock=!0,Promise.resolve().then(this._ensureProcessing.bind(this)))}}export{i as AsyncQueue};
@@ -0,0 +1,6 @@
1
+ import { Ref } from 'vue';
2
+ import { AnyObject } from '../../../es/shared/types';
3
+ export declare function useDateTime(datePickerRef: Ref<AnyObject | null>, formatRef: Ref<string>): {
4
+ focus: () => any;
5
+ blur: () => any;
6
+ };
@@ -0,0 +1 @@
1
+ import{computed as e,onMounted as t,onUnmounted as n}from"vue";import{useDebounceFn as l}from"@vueuse/core";function o(o,c){const u=l((e=>{!function(e){const t=e.target;if(["INPUT"].includes(t.tagName)){const{selectionStart:e=0,selectionEnd:n=0}=t;e===n&&t.select()}}(e)}),200),s=e((()=>{var e;return null==(e=o.value)?void 0:e.$el}));function r(e){const t=e.target;t.value&&Reflect.get(t,"_f_")&&(Reflect.set(t,"_f_",0),a(t,!0)&&(e.preventDefault(),e.stopPropagation()))}function i(e){const{key:t,target:n}=e;/\d/.test(t)&&n?Reflect.set(n,"_f_",1):"Enter"===t&&a(e.target,!1,!0)}function a(e,t,n){const l=e.value;if(!l)return;const o=e.selectionEnd||0,u=l.length;let s=0,r=0,i=0,a="",v=0;for(;s<u;){const e=l[s++];if(/\d/.test(e)&&(a+=e),s===o){i=a.length;const e=l.slice(s).match(/^\d+/);v=e?e[0].length:0}}const d=c.value;let f="",g=0,h=0;for(s=0;s<d.length&&(n||!(r>=a.length));){const e=d[s++];if(/[yMdHms]/.test(e)?f+=a[r++]||"0":f+=e,t&&r===i){i=-1,g=f.length,h=g;let e=d.slice(s).match(/^[yMdHms]+/);e?(v=Math.min(v,e[0].length),v&&(f+=a.slice(r,r+v),r+=v),s+=e[0].length):(e=d.slice(s).match(/^([^yMdHms]+)([yMdHms]*)/),e&&(g+=e[1].length,h=g+e[2].length))}}const m=f!==l;if(m){e.value=f;const t=new InputEvent("input");e.dispatchEvent(t)}return t&&(g=g||f.length+1,h=h||f.length+1,e.setSelectionRange(g,h)),m}return t((()=>{s.value&&(s.value.addEventListener("input",r,!0),s.value.addEventListener("keydown",i,!0),s.value.addEventListener("click",u,!0))})),n((()=>{s.value&&(s.value.removeEventListener("input",r,!0),s.value.removeEventListener("keydown",i,!0),s.value.removeEventListener("click",u,!0))})),{focus:()=>{var e,t;return null==(t=null==(e=o.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=o.value)?void 0:e.blur)?void 0:t.call(e)}}}export{o as useDateTime};
@@ -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.42-release.0",
3
+ "version": "3.1.42-release.2",
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": "d9efd1bf772d6a90d0a884657e038313e02b772b"
64
+ "gitHead": "d86fb81ea1d5aad8c6740f4723542e484dab1554"
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';