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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/index.d.ts +3 -2
  3. package/es/components/button-print/src/ButtonPrint.vue.d.ts +3 -2
  4. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  5. package/es/components/button-print/src/api.d.ts +3 -0
  6. package/es/components/button-print/src/api.js +1 -0
  7. package/es/components/button-print/src/utils/print.d.ts +1 -1
  8. package/es/components/button-print/src/utils/print.js +1 -1
  9. package/es/components/date-picker/index.d.ts +20 -0
  10. package/es/components/date-picker/index.js +1 -0
  11. package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
  12. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  13. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
  16. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
  19. package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
  20. package/es/components/field-set/index.d.ts +8 -0
  21. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
  22. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  23. package/es/components/field-set/style/index.css +1 -1
  24. package/es/components/form-config/index.d.ts +6762 -46
  25. package/es/components/form-config/src/FormConfig.vue.d.ts +6903 -186
  26. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  27. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
  28. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  29. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
  30. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  31. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3415 -60
  32. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  33. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
  34. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  35. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
  36. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  37. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
  38. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  39. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
  40. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  41. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
  42. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  43. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
  44. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  45. package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
  46. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  47. package/es/components/form-config/src/types/index.d.ts +9 -2
  48. package/es/components/form-config/src/utils/index.d.ts +4 -1
  49. package/es/components/form-config/src/utils/index.js +1 -1
  50. package/es/components/form-config/style/index.css +1 -1
  51. package/es/components/form-render/index.d.ts +2 -2
  52. package/es/components/form-render/index.js +1 -1
  53. package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
  54. package/es/components/form-render/src/FormRender.vue.js +1 -1
  55. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +22 -21
  56. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  57. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  58. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  59. package/es/components/form-render/src/constants/index.d.ts +0 -12
  60. package/es/components/form-render/src/constants/index.js +1 -1
  61. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
  62. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  63. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  64. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  65. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  66. package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
  67. package/es/components/form-render/src/hooks/useFormField.js +1 -1
  68. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  69. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  70. package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
  71. package/es/components/form-render/src/types/index.d.ts +5 -3
  72. package/es/components/form-render/src/utils/dom.d.ts +2 -1
  73. package/es/components/form-render/src/utils/dom.js +1 -1
  74. package/es/components/iho-table/index.d.ts +5 -5
  75. package/es/components/iho-table/index.js +1 -1
  76. package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
  77. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  78. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  79. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  80. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  81. package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
  82. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
  83. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
  84. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
  85. package/es/components/iho-table/src/plugins/index.js +1 -1
  86. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -7
  87. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  88. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +102 -0
  89. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
  90. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
  91. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
  92. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
  93. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  94. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  95. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  96. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  97. package/es/components/iho-table/src/types/index.d.ts +20 -11
  98. package/es/components/iho-table/src/utils/index.js +1 -1
  99. package/es/components/iho-table/style/index.css +1 -1
  100. package/es/components/index.css +1 -1
  101. package/es/components/index.d.ts +3 -1
  102. package/es/components/index.js +1 -1
  103. package/es/components/info-header/index.d.ts +289 -155
  104. package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
  105. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  106. package/es/components/info-header/src/components/index.d.ts +3 -0
  107. package/es/components/info-header/src/components/index.js +1 -0
  108. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
  109. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
  110. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
  111. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
  112. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
  113. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
  114. package/es/components/info-header/src/types/index.d.ts +29 -0
  115. package/es/components/recommend-search/index.d.ts +10 -10
  116. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
  117. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
  118. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
  119. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
  120. package/es/components/scale-view/index.d.ts +1 -2
  121. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -5
  122. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  123. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
  124. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
  125. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  126. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  127. package/es/components/scale-view/src/utils/judge-types.js +1 -1
  128. package/es/components/scale-view/style/index.css +1 -1
  129. package/es/components/shortcut-setter/index.d.ts +4 -3
  130. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -3
  131. package/es/components/steps-wheel/index.d.ts +1 -1
  132. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  133. package/es/components/table-filter/index.d.ts +963 -8064
  134. package/es/components/table-filter/index.js +1 -1
  135. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +57 -3397
  136. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
  137. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +404 -2969
  138. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
  139. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
  140. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
  141. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  142. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -49
  143. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  144. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  145. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  146. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  147. package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +372 -0
  148. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
  149. package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +717 -0
  150. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
  151. package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -42
  152. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
  153. package/es/components/table-filter/src/hooks/export.js +1 -1
  154. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  155. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  156. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  157. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  158. package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +50 -1291
  159. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
  160. package/es/components/table-filter/src/types/index.d.ts +10 -176
  161. package/es/components/table-filter/style/iconfont.ttf +0 -0
  162. package/es/components/table-filter/style/index.css +1 -1
  163. package/es/components/time-picker/index.d.ts +18 -0
  164. package/es/components/time-picker/index.js +1 -0
  165. package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
  166. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  167. package/es/env.d.ts +24 -24
  168. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
  169. package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
  170. package/es/shared/components/no-data/NoData.vue.js +1 -1
  171. package/es/shared/utils/index.d.ts +16 -0
  172. package/es/shared/utils/index.js +1 -1
  173. package/package.json +2 -2
  174. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  175. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  176. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  177. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  178. package/es/components/callback/src/components/form.d.ts +0 -0
  179. package/es/components/callback/src/components/page.d.ts +0 -0
  180. package/es/components/callback/src/components/table.d.ts +0 -0
  181. package/es/components/callback/src/types/index.d.ts +0 -0
  182. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  183. package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
  184. package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
  185. package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
  186. package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
  187. package/es/components/iho-table/src/plugins/filterPlugin/types.js +0 -1
  188. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
  189. package/es/components/info-header/src/HiddenContent.vue.js +0 -1
  190. package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
  191. package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
  192. package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
  193. package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1472
  194. package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
  195. package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
  196. package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
  197. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
  198. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
  199. package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
  200. package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
  201. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
  202. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
  203. package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
  204. package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
  205. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
  206. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
  207. package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
  208. package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
  209. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
  210. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
  211. package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
  212. package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
  213. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
  214. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
  215. package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
  216. package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
  217. package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
  218. package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
  219. package/es/components/table-filter/src/const/dataOptions.js +0 -1
  220. package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
  221. package/es/components/table-filter/src/directive/preventReClick.js +0 -1
  222. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  223. package/es/shared/utils/tapable/index.d.ts +0 -139
  224. package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
  225. package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
  226. /package/es/components/{callback → info-header}/src/types/index.js +0 -0
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';
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
79
79
  required: false;
80
80
  };
81
81
  }>>, {
82
- effect: string;
83
82
  placement: string;
83
+ effect: string;
84
84
  tooltipTitle: string | number;
85
85
  isAlias: boolean;
86
86
  }>;
@@ -1,3 +1,4 @@
1
+ import { CSSProperties } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  noDataTip: {
3
4
  type: StringConstructor;
@@ -12,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
12
13
  default: boolean;
13
14
  };
14
15
  }, {
16
+ wrapperStyle: CSSProperties;
17
+ imgStyle: CSSProperties;
18
+ paragraphStyle: CSSProperties;
19
+ textStyle: CSSProperties;
15
20
  imgStr: import("vue").ComputedRef<null>;
16
21
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
17
22
  noDataTip: {
@@ -1 +1 @@
1
- import{defineComponent as a,computed as t,openBlock as e,createElementBlock as s,unref as o,createCommentVNode as r,createElementVNode as n,toDisplayString as i}from"vue";import p from"../../assets/img/nodata.png.js";import m from"../../assets/img/no-permission.png.js";import l from"../../assets/img/failure.png.js";import u from"../../assets/img/notfound.png.js";import f from"../../../_virtual/plugin-vue_export-helper.js";const g={class:"no-data-tip NoData-page"},c=["src"],d={key:1};var v=f(a({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(a){const f=a,v=t((()=>{let a=null;switch(f.noDataImg){case"no-permission":a=m;break;case"failure":a=l;break;case"nodata":a=p;break;default:a=u}return a})),D=t((()=>{let a="";switch(f.noDataImg){case"no-permission":a="请联系管理员";break;case"failure":a="请稍后再试"}return a}));return(t,p)=>(e(),s("div",g,[a.showImg?(e(),s("img",{key:0,src:o(v),alt:""},null,8,c)):r("v-if",!0),n("p",null,i(a.noDataTip),1),o(D)?(e(),s("span",d,i(o(D)),1)):r("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{v as default};
1
+ import{defineComponent as t,computed as e,openBlock as o,createElementBlock as a,unref as r,createCommentVNode as i,createElementVNode as s,toDisplayString as n}from"vue";import p from"../../assets/img/nodata.png.js";import m from"../../assets/img/no-permission.png.js";import l from"../../assets/img/failure.png.js";import f from"../../assets/img/notfound.png.js";import g from"../../../_virtual/plugin-vue_export-helper.js";const u=["src"];var c=g(t({__name:"NoData",props:{noDataTip:{type:String,default:"暂无数据"},noDataImg:{type:String,default:"nodata"},showImg:{type:Boolean,default:!0}},setup(t){const g=t,c={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",fontSize:"22px",color:"#333"},d={width:"260px",maxWidth:"70%"},x={marginTop:"12px",marginBottom:"0",fontSize:"16px",color:"rgb(0 0 0 / 80%)"},y={marginTop:"6px",fontSize:"14px",color:"rgb(0 0 0 / 40%)"},h=e((()=>{let t=null;switch(g.noDataImg){case"no-permission":t=m;break;case"failure":t=l;break;case"nodata":t=p;break;default:t=f}return t})),v=e((()=>{let t="";switch(g.noDataImg){case"no-permission":t="请联系管理员";break;case"failure":t="请稍后再试"}return t}));return(e,p)=>(o(),a("div",{style:c},[t.showImg?(o(),a("img",{key:0,style:d,src:r(h),alt:""},null,8,u)):i("v-if",!0),s("p",{style:x},n(t.noDataTip),1),r(v)?(o(),a("span",{key:1,style:y},n(r(v)),1)):i("v-if",!0)]))}}),[["__file","NoData.vue"]]);export{c as default};
@@ -15,3 +15,19 @@ export declare function targetStringIncludes(arr: string[], target: string): boo
15
15
  export declare const jsonParse: import("@vueuse/core").UseMemoizedFn<any, [value: string]>;
16
16
  export declare function shallowOmit<T, K extends Array<keyof T>>(target: T, keys: K): Omit<T, K[number]>;
17
17
  export declare function checkInSetupEnv(message?: string): void;
18
+ export declare enum LOW_CODE_VALUE_RELATION {
19
+ EQ = "EQ",
20
+ NEQ = "NEQ",
21
+ CL = "CL",
22
+ NC = "NC",
23
+ NULL = "NULL",
24
+ NOT_NULL = "NOT_NULL",
25
+ BIG = "BIG",
26
+ BIGEQ = "BIGEQ",
27
+ LESS = "LESS",
28
+ LESSEQ = "LESSEQ"
29
+ }
30
+ export declare function isMatchLowCodeCondition(value: unknown, condition: {
31
+ con: LOW_CODE_VALUE_RELATION & string;
32
+ value: unknown;
33
+ }): boolean;
@@ -1 +1 @@
1
- import{useMemoize as t}from"@vueuse/core";import{isArray as e,isString as r,isNumber as n,isObject as o,isFunction as u}from"lodash-es";import{getCurrentInstance as c}from"vue";function i(t,r,n="children",o){function u(){throw"silence break traverse"}try{a(t).forEach((t=>{r(t,u,o),a(n).forEach((o=>{e(t[o])&&i(t[o],r,n,t)}))}))}catch(t){if("silence break traverse"===t)return;throw t}}function s(t,e,r=e.name,n){if(!r)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[r]||(n?n():t.component(r,e))}function f(t){if(!r(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function a(t){return Array.isArray(t)?t:[t]}function x(){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 l=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})),m=Object.seal(Object.create(null));function d(t,r){return function t(r,n){return o(r)?e(r)?r.map((e=>t(e,n))):Object.entries(r).reduce(((e,[r,c])=>(n.includes(r)||(o(c)&&!u(c)?e[r]=t(c,n):e[r]=c),e)),{}):r}(t,r)}function h(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function p(t,e){if(!t)return t;if(e(t))return t;let r=t.parentElement;for(;r&&!e(r);)r=r.parentElement;return r}function w(t,e="px"){if(n(t))return`${t}${e}`;if(r(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}function y(t,e){return t.some((t=>e.includes(t)))}const v=t((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function b(t,e){if(!o(t))return t;const r={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(r,e[t]);return r}function $(t){if(!c())throw new Error(t||"can't use this hook out of setup environment")}export{m as DMZ,a as arrayed,$ as checkInSetupEnv,d as deepOmit,p as findAncestor,f as generateTimeFormat,l as getStringWidth,v as jsonParse,s as safeComponentRegister,h as separateMetaModule,b as shallowOmit,y as targetStringIncludes,i as traverse,x as uuidGenerator,w 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 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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.41-beta.3",
3
+ "version": "3.1.41-beta.31",
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": "a7ca27e025c81ee0ca32943e0c9c13e9fcb18a7d"
64
+ "gitHead": "acf4f4835277afc5a5bd400bf0a14fb208047bc7"
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';
File without changes
File without changes
File without changes
File without changes