cnhis-design-vue 3.1.45-beta.9 → 3.1.45-release.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 (204) hide show
  1. package/README.md +87 -87
  2. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  3. package/es/components/base-search/index.d.ts +0 -2
  4. package/es/components/base-search/src/index.vue.d.ts +0 -2
  5. package/es/components/base-search/style/index.css +1 -1
  6. package/es/components/classification/index.d.ts +11 -165
  7. package/es/components/classification/src/components/search-filter/index.vue.d.ts +11 -165
  8. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  9. package/es/components/classification/src/components/set-classification/index.vue.d.ts +11 -165
  10. package/es/components/classification/src/index.vue.d.ts +11 -165
  11. package/es/components/fabric-chart/index.d.ts +5 -40
  12. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -40
  13. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +0 -20
  15. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  19. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  20. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  21. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
  22. package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
  23. package/es/components/fabric-chart/src/interface.d.ts +0 -13
  24. package/es/components/fabric-chart/src/utils/index.d.ts +1 -2
  25. package/es/components/fabric-chart/src/utils/index.js +1 -1
  26. package/es/components/field-set/index.d.ts +38 -157
  27. package/es/components/field-set/src/FieldSet.vue.d.ts +23 -160
  28. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  29. package/es/components/field-set/src/types/index.d.ts +0 -1
  30. package/es/components/field-set/style/index.css +1 -1
  31. package/es/components/form-config/index.d.ts +48 -3561
  32. package/es/components/form-config/src/FormConfig.vue.d.ts +48 -3561
  33. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  34. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -31
  35. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
  36. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -33
  37. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -11
  38. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  39. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +0 -2
  40. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
  41. package/es/components/form-config/src/constants/index.d.ts +0 -1
  42. package/es/components/form-config/src/constants/index.js +1 -1
  43. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  44. package/es/components/form-config/src/types/index.d.ts +0 -2
  45. package/es/components/form-config/style/index.css +1 -1
  46. package/es/components/form-render/index.d.ts +4 -31
  47. package/es/components/form-render/src/FormRender.vue.d.ts +4 -31
  48. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  49. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -31
  50. package/es/components/form-render/src/components/renderer/combination.d.ts +5 -5
  51. package/es/components/form-render/src/components/renderer/combination.js +1 -1
  52. package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +5 -5
  53. package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
  54. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  55. package/es/components/form-render/src/constants/index.d.ts +0 -2
  56. package/es/components/form-render/src/constants/index.js +1 -1
  57. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  58. package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +1 -1
  59. package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
  60. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  61. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -3
  62. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
  63. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  64. package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -1
  65. package/es/components/form-render/src/types/index.d.ts +0 -2
  66. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  67. package/es/components/index.css +1 -1
  68. package/es/components/info-header/index.d.ts +10 -72
  69. package/es/components/info-header/src/InfoHeader.vue.d.ts +10 -72
  70. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +4 -31
  71. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -31
  72. package/es/components/keyboard/index.d.ts +1 -1
  73. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  74. package/es/components/quick-search/index.d.ts +0 -2
  75. package/es/components/quick-search/src/index.vue.d.ts +0 -2
  76. package/es/components/quick-search/style/index.css +1 -1
  77. package/es/components/recommend-search/index.d.ts +2 -2
  78. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  79. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  80. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
  81. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  82. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  83. package/es/components/search-cascader/index.d.ts +3 -16
  84. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +3 -16
  85. package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
  86. package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
  87. package/es/components/search-cascader/src/hooks/index.js +1 -0
  88. package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
  89. package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -0
  90. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  91. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  92. package/es/components/shortcut-setter/index.d.ts +4 -31
  93. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -31
  94. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +10 -165
  95. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  96. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -16
  97. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  98. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -18
  99. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  100. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +10 -128
  101. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  102. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +0 -1
  103. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  104. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +10 -163
  105. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +10 -165
  106. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
  107. package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
  108. package/es/components/table-filter/src/components/render-widget/components/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
  109. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
  110. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
  111. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +5 -99
  112. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  113. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +9 -13
  114. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  115. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +5 -7
  116. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  117. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +5 -6
  118. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  119. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +25 -15
  120. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  121. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +25 -520
  122. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  123. package/es/components/table-filter/src/components/render-widget/enums.d.ts +3 -10
  124. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  125. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +6 -2
  126. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  127. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  128. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +24 -548
  129. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  130. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +0 -2
  131. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  132. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  133. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  134. package/es/components/table-filter/src/types/enums.d.ts +0 -2
  135. package/es/components/table-filter/src/types/enums.js +1 -1
  136. package/es/env.d.ts +25 -25
  137. package/es/shared/assets/img/failure.png.js +1 -1
  138. package/es/shared/assets/img/no-permission.png.js +1 -1
  139. package/es/shared/assets/img/nodata.png.js +1 -1
  140. package/es/shared/assets/img/notfound.png.js +1 -1
  141. package/es/shared/assets/img/qr.png.js +1 -1
  142. package/es/shared/assets/img/success.png.js +1 -1
  143. package/es/shared/assets/img/video.png.js +1 -1
  144. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  145. package/es/shared/assets/img/xb_big.png.js +1 -1
  146. package/es/shared/assets/img/xb_small.png.js +1 -1
  147. package/es/shared/hooks/useAsyncQueue.d.ts +1 -3
  148. package/es/shared/hooks/useAsyncQueue.js +1 -1
  149. package/es/shared/package.json.js +1 -1
  150. package/package.json +2 -2
  151. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  152. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  153. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  154. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  155. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.d.ts +0 -2
  156. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.js +0 -1
  157. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +0 -4
  158. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +0 -1
  159. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +0 -4
  160. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +0 -1
  161. package/es/components/field-set/src/components/Row.vue.d.ts +0 -132
  162. package/es/components/field-set/src/components/Row.vue.js +0 -1
  163. package/es/components/field-set/src/components/Row.vue2.js +0 -1
  164. package/es/components/field-set/src/utils/index.d.ts +0 -7
  165. package/es/components/field-set/src/utils/index.js +0 -1
  166. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  167. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  168. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  169. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  170. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  171. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  172. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  173. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  174. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  175. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  176. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  177. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  178. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  179. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
  180. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +0 -61
  181. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -218
  182. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
  183. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
  184. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
  185. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
  186. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
  187. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
  188. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
  189. package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +0 -45
  190. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -175
  191. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
  192. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
  193. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -114
  194. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
  195. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
  196. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
  197. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
  198. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
  199. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
  200. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
  201. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +0 -1
  202. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  203. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  204. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1,4 +0,0 @@
1
- import { type Ref } from 'vue';
2
- import { fabric } from '../../../../../../es/shared/utils/fabricjs';
3
- import { AnyObject } from '../../../../../../es/shared/types';
4
- export declare function useCenter(canvas: Ref<fabric.Canvas>, propItems: AnyObject): void;
@@ -1 +0,0 @@
1
- import"../useDraw.js";import{useGrid as r}from"../useGrid.js";import"date-fns";import"lodash-es";import"@vueuse/core";import"../../../../../shared/utils/fabricjs/index.js";import"vue";import"../temperature/useShadow.js";function e(e,o){r(e,o)}export{e as useCenter};
@@ -1,4 +0,0 @@
1
- import { type Ref } from 'vue';
2
- import { fabric } from '../../../../../../es/shared/utils/fabricjs';
3
- import { AnyObject } from '../../../../../../es/shared/types';
4
- export declare function useTop(canvas: Ref<fabric.Canvas>, propItems: AnyObject): void;
@@ -1 +0,0 @@
1
- import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawText as e,defaultStyle as o}from"../useDraw.js";import"date-fns";import"lodash-es";import"@vueuse/core";import"vue";import"../temperature/useShadow.js";function r(r,i){const{grid:s,originX:a,endX:n,xCellWidth:u,gridXNumber:p,top:c,topList:l,canvasWidth:d,borderStyle:h,treeData:m,xAxis:f}=i;!function(){const{height:i,list:s,left:a,top:n,spaceValue:p}=f,c=[],l=n+i/2;s.forEach(((t,o)=>{const r=a+o*u*p;c.push(e([r,l],{value:t.slice(11,16)}))}));const d=c.length>0?new t.Group([...c],{...o,objectCaching:!1}):null;d&&r.value.add(d)}()}export{r as useTop};
@@ -1,132 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../es/shared/types';
3
- import { setStyle, isDisable } from '../utils';
4
- declare const _default: import("vue").DefineComponent<{
5
- element: {
6
- type: PropType<AnyObject>;
7
- default: () => {};
8
- };
9
- columns: {
10
- type: PropType<Partial<{
11
- [key: string]: any;
12
- id: string;
13
- name: string;
14
- show: boolean;
15
- sort: boolean;
16
- sortDirection: "NONE" | "ASC" | "DESC";
17
- title: string;
18
- alias: string;
19
- fixedShow: boolean;
20
- fixedWay: "NONE" | "LEFT" | "RIGHT";
21
- columnWidth: number | null;
22
- editable: boolean;
23
- editableDisable: boolean;
24
- required: boolean;
25
- requiredDisable: boolean;
26
- hide: boolean;
27
- }>[]>;
28
- default: () => never[];
29
- };
30
- }, {
31
- fixedWayOptions: {
32
- label: string;
33
- value: string;
34
- }[];
35
- sortOptions: {
36
- label: string;
37
- value: string;
38
- }[];
39
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
40
- element: {
41
- type: PropType<AnyObject>;
42
- default: () => {};
43
- };
44
- columns: {
45
- type: PropType<Partial<{
46
- [key: string]: any;
47
- id: string;
48
- name: string;
49
- show: boolean;
50
- sort: boolean;
51
- sortDirection: "NONE" | "ASC" | "DESC";
52
- title: string;
53
- alias: string;
54
- fixedShow: boolean;
55
- fixedWay: "NONE" | "LEFT" | "RIGHT";
56
- columnWidth: number | null;
57
- editable: boolean;
58
- editableDisable: boolean;
59
- required: boolean;
60
- requiredDisable: boolean;
61
- hide: boolean;
62
- }>[]>;
63
- default: () => never[];
64
- };
65
- }>> & {
66
- onUpdateChecked?: ((...args: any[]) => any) | undefined;
67
- }>>;
68
- emit: (event: "updateChecked", ...args: any[]) => void;
69
- setOptions: (column: AnyObject) => {
70
- label: string;
71
- value: string;
72
- }[];
73
- onUpdateChecked: (checked: boolean, column: AnyObject) => void;
74
- NCheckbox: any;
75
- NSelect: any;
76
- NInput: any;
77
- NInputNumber: any;
78
- NTooltip: any;
79
- NIcon: any;
80
- setStyle: typeof setStyle;
81
- isDisable: typeof isDisable;
82
- ReorderTwoOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
83
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updateChecked"[], "updateChecked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
- element: {
85
- type: PropType<AnyObject>;
86
- default: () => {};
87
- };
88
- columns: {
89
- type: PropType<Partial<{
90
- [key: string]: any;
91
- id: string;
92
- name: string;
93
- show: boolean;
94
- sort: boolean;
95
- sortDirection: "NONE" | "ASC" | "DESC";
96
- title: string;
97
- alias: string;
98
- fixedShow: boolean;
99
- fixedWay: "NONE" | "LEFT" | "RIGHT";
100
- columnWidth: number | null;
101
- editable: boolean;
102
- editableDisable: boolean;
103
- required: boolean;
104
- requiredDisable: boolean;
105
- hide: boolean;
106
- }>[]>;
107
- default: () => never[];
108
- };
109
- }>> & {
110
- onUpdateChecked?: ((...args: any[]) => any) | undefined;
111
- }, {
112
- columns: Partial<{
113
- [key: string]: any;
114
- id: string;
115
- name: string;
116
- show: boolean;
117
- sort: boolean;
118
- sortDirection: "NONE" | "ASC" | "DESC";
119
- title: string;
120
- alias: string;
121
- fixedShow: boolean;
122
- fixedWay: "NONE" | "LEFT" | "RIGHT";
123
- columnWidth: number | null;
124
- editable: boolean;
125
- editableDisable: boolean;
126
- required: boolean;
127
- requiredDisable: boolean;
128
- hide: boolean;
129
- }>[];
130
- element: AnyObject;
131
- }>;
132
- export default _default;
@@ -1 +0,0 @@
1
- import e from"./Row.vue2.js";import r from"../../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","Row.vue"]]);export{o as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,openBlock as l,createElementBlock as t,Fragment as n,renderList as a,normalizeStyle as i,unref as d,createVNode as u,withCtx as o,createTextVNode as p,toDisplayString as m,createCommentVNode as c,withDirectives as f,createBlock as v,vShow as r,createElementVNode as s}from"vue";import{NTooltip as y,NIcon as k,NCheckbox as b,NSelect as h,NInput as x,NInputNumber as U}from"naive-ui";import{setStyle as g,isDisable as N}from"../utils/index.js";import{ReorderTwoOutline as C}from"@vicons/ionicons5";const E={class:"row"},w=["title"],O=s("span",null,"拖拽调整顺序",-1);var S=e({__name:"Row",props:{element:{type:Object,default:()=>({})},columns:{type:Array,default:()=>[]}},emits:["updateChecked"],setup(e,{emit:s}){const S=[{label:"不固定",value:"NONE"},{label:"左固定",value:"LEFT"},{label:"右固定",value:"RIGHT"}],_=[{label:"不排序",value:"NONE"},{label:"升序",value:"ASC"},{label:"降序",value:"DESC"}];function j(e){return"fixedWay"===e.field?S:_}return(S,_)=>(l(),t("div",E,[(l(!0),t(n,null,a(e.columns,((a,E)=>(l(),t(n,{key:E},[a.isShow?(l(),t("span",{key:0,class:"table-cell",title:e.element[a.field],style:i(d(g)(a))},["text"===a.type?(l(),t(n,{key:0},[u(d(y),{trigger:"hover"},{trigger:o((()=>[u(d(k),{style:{"margin-right":"5px",top:"2px"},component:d(C)},null,8,["component"])])),default:o((()=>[O])),_:1}),p(" "+m(e.element[a.field]),1)],64)):c("v-if",!0),"checkbox"===a.type?f((l(),v(d(b),{key:1,disabled:d(N)(e.element,a.field),checked:e.element[a.field],"onUpdate:checked":[l=>e.element[a.field]=l,e=>function(e,l){s("updateChecked",{checked:e,column:l})}(e,a)]},null,8,["disabled","checked","onUpdate:checked"])),[[r,"0001"!=e.element.id]]):c("v-if",!0),"select"===a.type?f((l(),v(d(h),{key:2,value:e.element[a.field],"onUpdate:value":l=>e.element[a.field]=l,options:j(a)},null,8,["value","onUpdate:value","options"])),[[r,"fixedWay"===a.field||"0001"!=e.element.id]]):c("v-if",!0),"input"===a.type?f((l(),v(d(x),{key:3,value:e.element[a.field],"onUpdate:value":l=>e.element[a.field]=l,clearable:""},null,8,["value","onUpdate:value"])),[[r,"0001"!=e.element.id]]):c("v-if",!0),"inputNumber"===a.type?(l(),v(d(U),{key:4,value:e.element[a.field],"onUpdate:value":l=>e.element[a.field]=l},null,8,["value","onUpdate:value"])):c("v-if",!0)],12,w)):c("v-if",!0)],64)))),128))]))}});export{S as default};
@@ -1,7 +0,0 @@
1
- import { CSSProperties } from 'vue';
2
- import { AnyObject } from '../../../../../es/shared/types';
3
- import { FieldSetItem } from '../../../../../es/components/field-set';
4
- import { IhoTableConfig } from '../../../../../es/components/iho-table';
5
- export declare function setStyle(column: AnyObject): CSSProperties;
6
- export declare function isDisable(item: FieldSetItem, key: string): any;
7
- export declare function getGroupTree(rowGroupSetting: NonNullable<IhoTableConfig['rowGroupSetting']>, fieldList: FieldSetItem[], getKey?: (field: FieldSetItem) => string): Array<AnyObject | string>;
@@ -1 +0,0 @@
1
- import{isArray as e,isObject as t}from"lodash-es";import{IhoTableRowGroupSequence as n}from"../../../iho-table/src/constants/index.js";function i(e){const t={flex:"1 1 90px"};switch(e.type){case"text":Object.assign(t,{flex:"0 0 120px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"});break;case"checkbox":t.flex="1 1 60px";break;case"select":t.flex="1 1 80px";break;case"input":t.flex="1 1 100px"}return t}function s(e,t){return["editable","required"].includes(t)&&e[`${t}Disable`]||["sort"].includes(t)&&1==e.notParticipatingSort}function r(i,s,r=(e=>e.name)){const c=s.map((e=>r(e)));return n.some((n=>{const s=i[n];if(!e(s))return!0;s.forEach((n=>{if(!e(n.list)||!n.list.length)return;const i=[];let s=null;n.list.forEach(((e,r)=>{const l=function(e,n,i){return n.findIndex((n=>n!==i&&(t(n)?n.fieldName:n)===e))}(e,c,s);~l&&(i.push(c[l]),0===r?c.splice(l,1,s={fieldName:n.title,children:i}):c.splice(l,1))}))}))})),c}export{r as getGroupTree,s as isDisable,i as setStyle};
@@ -1,77 +0,0 @@
1
- export const __esModule: true;
2
- export const LEVEL_SEARCH_CASCADER: vue_2.DefineComponent<{
3
- options: {
4
- type: ArrayConstructor;
5
- default: () => never[];
6
- };
7
- labelField: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- valueField: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- autograph: {
16
- type: StringConstructor;
17
- required: true;
18
- };
19
- lazyRequest: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- requestCache: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- wordbook: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- onChange: {};
32
- value: {
33
- type: (ArrayConstructor | StringConstructor)[];
34
- };
35
- }, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
36
- options: {
37
- type: ArrayConstructor;
38
- default: () => never[];
39
- };
40
- labelField: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- valueField: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- autograph: {
49
- type: StringConstructor;
50
- required: true;
51
- };
52
- lazyRequest: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- requestCache: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- wordbook: {
61
- type: ObjectConstructor;
62
- required: true;
63
- };
64
- onChange: {};
65
- value: {
66
- type: (ArrayConstructor | StringConstructor)[];
67
- };
68
- }>> & {
69
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
70
- }, {
71
- options: unknown[];
72
- labelField: string;
73
- valueField: string;
74
- lazyRequest: boolean;
75
- requestCache: boolean;
76
- }>;
77
- import vue_2 = require("vue");
@@ -1,93 +0,0 @@
1
- export const __esModule: true;
2
- export const SEARCH_CASCADER: vue_2.DefineComponent<{
3
- options: {
4
- type: ArrayConstructor;
5
- default: () => never[];
6
- };
7
- depth: {
8
- type: (NumberConstructor | StringConstructor)[];
9
- };
10
- urlConfig: {
11
- type: ObjectConstructor;
12
- };
13
- lazyRequest: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- requestCache: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- onFocus: {
22
- type: FunctionConstructor;
23
- };
24
- filterable: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- checkStrategy: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- labelField: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
- valueField: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- onChange: {};
41
- value: {};
42
- }, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
43
- options: {
44
- type: ArrayConstructor;
45
- default: () => never[];
46
- };
47
- depth: {
48
- type: (NumberConstructor | StringConstructor)[];
49
- };
50
- urlConfig: {
51
- type: ObjectConstructor;
52
- };
53
- lazyRequest: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- requestCache: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- onFocus: {
62
- type: FunctionConstructor;
63
- };
64
- filterable: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- checkStrategy: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- labelField: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- valueField: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- onChange: {};
81
- value: {};
82
- }>> & {
83
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
84
- }, {
85
- options: unknown[];
86
- checkStrategy: string;
87
- labelField: string;
88
- valueField: string;
89
- lazyRequest: boolean;
90
- requestCache: boolean;
91
- filterable: boolean;
92
- }>;
93
- import vue_2 = require("vue");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function highLightSetPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function filterRenderPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function dateRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function defaultRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function seqRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function variableHeightRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,44 +0,0 @@
1
- export const __esModule: true;
2
- export const IhoTableUtils: Readonly<{
3
- getCellType: (lowCodeField: any) => any;
4
- }>;
5
- export const IhoTableRenderHelper: Readonly<{
6
- createDefaultRenderCell: typeof createDefaultRenderCell;
7
- createRenderEdit: typeof createRenderEdit;
8
- isEditableColumn: (config: any, column: any) => any;
9
- hasFilter: (lowCodeField: any) => boolean;
10
- hasDateFiler: (lowCodeField: any) => any;
11
- }>;
12
- export const IhoTableStatusHelper: Readonly<{
13
- isPositive: (value: any) => boolean;
14
- isNegative: (value: any) => boolean;
15
- notPositive: (value: any) => boolean;
16
- notNegative: (value: any) => boolean;
17
- }>;
18
- export function createIhoTableClearActivedInterceptor(type: any, solution: any): (_a: any) => boolean;
19
- export function IhoTableLog(message: any): void;
20
- export function IhoTableWarn(message: any): void;
21
- export function getRowHeight(): number;
22
- export function eventListener2EventName(eventListenerName: any): string;
23
- export function eventName2EventListener(eventName: any): string;
24
- export function useUUIDMap(creator: any, isReactive: any): {
25
- getItemFromUUID: (uuid: any) => any;
26
- setItemFromUUID: (uuid: any, value: any) => void;
27
- removeItemFromUUID: (uuid: any) => void;
28
- };
29
- export function getColumnRenderWidth(column: any, $table: any): any;
30
- export function useIhoTableFormEvent(payload: any): {
31
- emitFormChange: () => void;
32
- emitFormClick: () => void;
33
- emitFormChangeWithParams: (params: any) => void;
34
- emitFormClickWithParams: (params: any) => void;
35
- };
36
- export function getLowCodeFieldFromField(field: any): any;
37
- declare function createDefaultRenderCell(): (_: any, _a: any) => any[];
38
- declare function createRenderEdit(renderer: any): (_a: any, params: any) => any;
39
- export function isTransformTreeType(config: any): boolean;
40
- export function isRichContent(content: any): boolean;
41
- export function parseRichContent(richContent: any): any;
42
- export function parseMergeField(row: any, column: any): any;
43
- export function isCompatibleColumn(field: any): any;
44
- export {};
@@ -1,36 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- form: {
4
- type: ObjectConstructor;
5
- default: () => void;
6
- };
7
- item: {
8
- type: ObjectConstructor;
9
- default: () => void;
10
- };
11
- isLock: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
16
- form: {
17
- type: ObjectConstructor;
18
- default: () => void;
19
- };
20
- item: {
21
- type: ObjectConstructor;
22
- default: () => void;
23
- };
24
- isLock: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>> & {
29
- onScaleChange?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- item: Record<string, any>;
32
- isLock: boolean;
33
- form: Record<string, any>;
34
- }>;
35
- export default _default;
36
- import vue_1 = require("vue");
@@ -1,36 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- form: {
4
- type: ObjectConstructor;
5
- default: () => {};
6
- };
7
- item: {
8
- type: ObjectConstructor;
9
- default: () => {};
10
- };
11
- isLock: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
16
- form: {
17
- type: ObjectConstructor;
18
- default: () => {};
19
- };
20
- item: {
21
- type: ObjectConstructor;
22
- default: () => {};
23
- };
24
- isLock: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>> & {
29
- onScaleChange?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- item: Record<string, any>;
32
- isLock: boolean;
33
- form: Record<string, any>;
34
- }>;
35
- export default _default;
36
- import vue_1 = require("vue");
@@ -1,82 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- title: {
4
- type: (StringConstructor | FunctionConstructor)[];
5
- default: string;
6
- };
7
- changeSize: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- closable: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- modalWidth: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- modalHeight: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- handleOk: {
24
- type: FunctionConstructor;
25
- default: () => {};
26
- };
27
- cancel: {
28
- type: FunctionConstructor;
29
- default: () => {};
30
- };
31
- visible: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("update:visible" | "onClose")[], "onClose" | "update:visible", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
36
- title: {
37
- type: (StringConstructor | FunctionConstructor)[];
38
- default: string;
39
- };
40
- changeSize: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- closable: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- modalWidth: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- modalHeight: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- handleOk: {
57
- type: FunctionConstructor;
58
- default: () => {};
59
- };
60
- cancel: {
61
- type: FunctionConstructor;
62
- default: () => {};
63
- };
64
- visible: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- }>> & {
69
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
70
- onOnClose?: ((...args: any[]) => any) | undefined;
71
- }, {
72
- closable: boolean;
73
- title: string | Function;
74
- visible: boolean;
75
- modalWidth: string;
76
- modalHeight: string;
77
- handleOk: Function;
78
- cancel: Function;
79
- changeSize: boolean;
80
- }>;
81
- export default _default;
82
- import vue_1 = require("vue");
@@ -1,57 +0,0 @@
1
- export const __esModule: true;
2
- export const SearchMenu: vue_1.DefineComponent<{
3
- childKey: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- options: {
8
- type: ArrayConstructor;
9
- default: () => never[];
10
- };
11
- labelKey: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- valueKey: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- currentNode: {
20
- type: ObjectConstructor;
21
- };
22
- cursorNode: {
23
- type: ObjectConstructor;
24
- };
25
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
26
- childKey: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- options: {
31
- type: ArrayConstructor;
32
- default: () => never[];
33
- };
34
- labelKey: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- valueKey: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- currentNode: {
43
- type: ObjectConstructor;
44
- };
45
- cursorNode: {
46
- type: ObjectConstructor;
47
- };
48
- }>> & {
49
- onNodeClick?: ((...args: any[]) => any) | undefined;
50
- onChangeCursor?: ((...args: any[]) => any) | undefined;
51
- }, {
52
- options: unknown[];
53
- valueKey: string;
54
- childKey: string;
55
- labelKey: string;
56
- }>;
57
- import vue_1 = require("vue");