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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/README.md +87 -87
  2. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  3. package/es/components/annotation-edit/src/type.d.ts +3 -0
  4. package/es/components/annotation-edit/style/index.css +1 -1
  5. package/es/components/base-search/index.d.ts +293 -0
  6. package/es/components/base-search/index.js +1 -0
  7. package/es/components/{table-filter/src/base-search-com/BaseSearch.vue.d.ts → base-search/src/index.vue.d.ts} +26 -91
  8. package/es/components/base-search/src/index.vue.js +1 -0
  9. package/es/components/base-search/style/iconfont.ttf +0 -0
  10. package/es/components/base-search/style/index.css +1 -0
  11. package/es/components/big-table/index.d.ts +4 -3
  12. package/es/components/big-table/src/BigTable.vue.d.ts +4 -3
  13. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  14. package/es/components/big-table/style/index.css +1 -1
  15. package/es/components/button-print/index.d.ts +7 -6
  16. package/es/components/button-print/src/ButtonPrint.vue.d.ts +7 -6
  17. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  18. package/es/components/button-print/src/api.d.ts +3 -0
  19. package/es/components/button-print/src/api.js +1 -0
  20. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  21. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  22. package/es/components/button-print/src/utils/print.js +1 -1
  23. package/es/components/classification/index.d.ts +995 -0
  24. package/es/components/classification/index.js +1 -0
  25. package/es/components/{table-filter → classification}/src/components/search-filter/index.vue.d.ts +10 -93
  26. package/es/components/classification/src/components/search-filter/index.vue.js +1 -0
  27. package/es/components/{table-filter → classification}/src/components/set-classification/index.vue.d.ts +5 -130
  28. package/es/components/classification/src/components/set-classification/index.vue.js +1 -0
  29. package/es/components/{table-filter → classification}/src/components/table-modal/index.vue.d.ts +0 -42
  30. package/es/components/classification/src/components/table-modal/index.vue.js +1 -0
  31. package/es/components/classification/src/const/index.d.ts +2 -0
  32. package/es/components/classification/src/const/index.js +1 -0
  33. package/es/components/{table-filter/src/classification/Classification-com.vue.d.ts → classification/src/index.vue.d.ts} +57 -291
  34. package/es/components/classification/src/index.vue.js +1 -0
  35. package/es/components/classification/style/iconfont.ttf +0 -0
  36. package/es/components/classification/style/index.css +1 -0
  37. package/es/components/config-provider/index.d.ts +14 -0
  38. package/es/components/config-provider/index.js +1 -0
  39. package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
  40. package/es/components/config-provider/src/ConfigProvider.js +1 -0
  41. package/es/components/config-provider/src/interface.d.ts +19 -0
  42. package/es/components/config-provider/src/interface.js +1 -0
  43. package/es/components/config-provider/src/utils/index.d.ts +2 -0
  44. package/es/components/config-provider/src/utils/index.js +1 -0
  45. package/es/components/date-picker/index.d.ts +20 -0
  46. package/es/components/date-picker/index.js +1 -0
  47. package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
  48. package/es/components/date-picker/src/DatePicker.vue.js +1 -0
  49. package/es/components/fabric-chart/index.d.ts +2 -2
  50. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  51. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  53. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  54. package/es/components/fabric-chart/src/hooks/useRight.js +1 -1
  55. package/es/components/field-set/index.d.ts +2 -2
  56. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  57. package/es/components/form-config/index.d.ts +46 -37
  58. package/es/components/form-config/src/FormConfig.vue.d.ts +46 -37
  59. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  60. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
  61. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
  62. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +9 -1
  63. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  64. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +33 -6
  65. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  66. package/es/components/form-config/style/index.css +1 -1
  67. package/es/components/form-render/index.d.ts +16 -16
  68. package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
  69. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
  70. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  71. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  72. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  73. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  74. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  75. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  76. package/es/components/form-render/src/components/renderer/select.js +1 -1
  77. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  78. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  79. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
  80. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  81. package/es/components/form-render/style/index.css +1 -1
  82. package/es/components/iho-table/index.d.ts +3 -0
  83. package/es/components/iho-table/src/IhoTable.vue.d.ts +3 -0
  84. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  85. package/es/components/iho-table/src/constants/index.d.ts +4 -4
  86. package/es/components/iho-table/src/constants/index.js +1 -1
  87. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  88. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -7
  89. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  90. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +18 -1
  91. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  92. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  93. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  94. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  95. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  96. package/es/components/iho-table/src/types/index.d.ts +1 -0
  97. package/es/components/iho-table/src/utils/index.d.ts +1 -0
  98. package/es/components/iho-table/src/utils/index.js +1 -1
  99. package/es/components/iho-table/style/index.css +1 -1
  100. package/es/components/index.css +1 -1
  101. package/es/components/index.d.ts +8 -2
  102. package/es/components/index.js +1 -1
  103. package/es/components/info-header/index.d.ts +3799 -156
  104. package/es/components/info-header/src/InfoHeader.vue.d.ts +3800 -156
  105. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  106. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1842 -0
  107. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
  108. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1972 -0
  109. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
  110. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  111. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  112. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  113. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2669 -139
  114. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  115. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +745 -0
  116. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  117. package/es/components/info-header/src/constants/index.d.ts +4 -0
  118. package/es/components/info-header/src/constants/index.js +1 -0
  119. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
  120. package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
  121. package/es/components/info-header/src/types/index.d.ts +17 -3
  122. package/es/components/info-header/style/index.css +1 -1
  123. package/es/components/keyboard/index.d.ts +4 -2
  124. package/es/components/keyboard/src/Keyboard.vue.d.ts +4 -2
  125. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  126. package/es/components/keyboard/src/constants/index.d.ts +2 -0
  127. package/es/components/keyboard/src/constants/index.js +1 -0
  128. package/es/components/keyboard/style/index.css +1 -1
  129. package/es/components/quick-search/index.d.ts +713 -0
  130. package/es/components/quick-search/index.js +1 -0
  131. package/es/components/{table-filter/src/quick-search/QuickSearch.vue.d.ts → quick-search/src/index.vue.d.ts} +31 -120
  132. package/es/components/quick-search/src/index.vue.js +1 -0
  133. package/es/components/quick-search/style/index.css +1 -0
  134. package/es/components/recommend-search/index.d.ts +2 -2
  135. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  136. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  137. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  138. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
  139. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  140. package/es/components/scale-view/src/hooks/use-component.d.ts +69 -116
  141. package/es/components/search-cascader/index.d.ts +2 -2
  142. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  143. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  144. package/es/components/select-label/index.d.ts +70 -169
  145. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -53
  146. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  147. package/es/components/select-label/src/SelectLabel.vue.d.ts +70 -116
  148. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  149. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  150. package/es/components/select-label/style/iconfont.ttf +0 -0
  151. package/es/components/select-label/style/index.css +1 -1
  152. package/es/components/select-person/index.d.ts +1 -1
  153. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  154. package/es/components/shortcut-setter/index.d.ts +17 -17
  155. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
  156. package/es/components/steps-wheel/index.d.ts +1 -0
  157. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -0
  158. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  159. package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
  160. package/es/components/steps-wheel/src/constants/index.js +1 -0
  161. package/es/components/steps-wheel/style/index.css +1 -1
  162. package/es/components/table-filter/index.d.ts +0 -2385
  163. package/es/components/table-filter/index.js +1 -1
  164. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +1 -0
  165. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  166. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +1 -42
  167. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  168. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  169. package/es/components/table-filter/src/components/render-widget/enums.d.ts +0 -8
  170. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  171. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
  172. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  173. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  174. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  175. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -1
  176. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  177. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -54
  178. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  179. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  180. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  181. package/es/components/table-filter/src/tool/transformData.d.ts +1 -37
  182. package/es/components/table-filter/src/tool/transformData.js +1 -1
  183. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  184. package/es/components/table-filter/src/types/enums.js +1 -1
  185. package/es/components/table-filter/src/types/index.d.ts +13 -169
  186. package/es/components/time-picker/index.d.ts +18 -0
  187. package/es/components/time-picker/index.js +1 -0
  188. package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
  189. package/es/components/time-picker/src/TimePicker.vue.js +1 -0
  190. package/es/env.d.ts +24 -24
  191. package/es/shared/mixins/index.d.ts +1 -0
  192. package/es/shared/mixins/index.js +1 -0
  193. package/es/shared/mixins/useTheme.d.ts +3 -0
  194. package/es/shared/mixins/useTheme.js +1 -0
  195. package/es/shared/utils/index.d.ts +1 -0
  196. package/es/shared/utils/index.js +1 -1
  197. package/package.json +2 -2
  198. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  199. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  200. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  201. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  202. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  203. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +0 -2
  204. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +0 -1
  205. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
  206. package/es/components/table-filter/src/classification/Classification-com.vue.js +0 -1
  207. package/es/components/table-filter/src/components/search-filter/index.vue.js +0 -1
  208. package/es/components/table-filter/src/components/set-classification/index.vue.js +0 -1
  209. package/es/components/table-filter/src/components/table-modal/index.vue.js +0 -1
  210. package/es/components/table-filter/src/const/index.d.ts +0 -5
  211. package/es/components/table-filter/src/const/index.js +0 -1
  212. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +0 -8
  213. package/es/components/table-filter/src/hooks/useTableSearchCon.js +0 -1
  214. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +0 -12
  215. package/es/components/table-filter/src/hooks/useWordBookutils.js +0 -1
  216. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
  217. package/es/components/table-filter/src/tool/time-domain.d.ts +0 -39
  218. package/es/components/table-filter/src/tool/time-domain.js +0 -1
  219. package/es/components/table-filter/src/tool/utils.d.ts +0 -4
  220. package/es/components/table-filter/src/tool/utils.js +0 -1
  221. package/es/components/table-filter/style/index.css +0 -1
  222. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  223. package/es/shared/utils/tapable/index.d.ts +0 -139
  224. /package/es/components/{table-filter → base-search}/src/directive/resize.d.ts +0 -0
  225. /package/es/components/{table-filter → base-search}/src/directive/resize.js +0 -0
  226. /package/es/components/{table-filter → base-search}/src/tool/resizeSensor.d.ts +0 -0
  227. /package/es/components/{table-filter → base-search}/src/tool/resizeSensor.js +0 -0
  228. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.d.ts +0 -0
  229. /package/es/components/{table-filter → classification}/src/directive/flexibleResize.js +0 -0
  230. /package/es/components/table-filter/src/tool/{options.d.ts → baseOptions.d.ts} +0 -0
  231. /package/es/components/table-filter/src/tool/{options.js → baseOptions.js} +0 -0
@@ -1,83 +1,108 @@
1
+ import { PropType } from 'vue';
1
2
  import { handleLabelColor } from '../../../../es/shared/utils/vexutils';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  selectedList: {
4
- type: ArrayConstructor;
5
- required: false;
5
+ type: PropType<any[]>;
6
6
  default: () => never[];
7
7
  };
8
8
  item: {
9
- type: null;
10
- required: false;
9
+ type: PropType<any>;
11
10
  default: () => {};
12
11
  };
13
12
  isDetail: {
14
13
  type: BooleanConstructor;
15
- required: false;
16
14
  default: boolean;
17
15
  };
18
16
  isLock: {
19
17
  type: BooleanConstructor;
20
- required: false;
21
18
  default: boolean;
22
19
  };
23
20
  sourceType: {
24
21
  type: StringConstructor;
25
- required: false;
26
22
  default: string;
27
23
  };
24
+ explicit: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
28
  getLabelList: {
29
29
  type: FunctionConstructor;
30
- required: false;
31
30
  default: () => Promise<{
32
31
  rows: never[];
33
32
  }>;
34
33
  };
35
- explicit: {
36
- type: BooleanConstructor;
37
- required: false;
38
- default: boolean;
39
- };
40
- explicitHeiht: {
41
- type: StringConstructor;
42
- required: false;
43
- default: string;
44
- };
45
34
  queryCommonlabels: {
46
35
  type: FunctionConstructor;
47
- required: false;
48
36
  default: () => Promise<{
49
37
  data: {};
50
38
  }>;
51
39
  };
52
40
  deleteLabel: {
53
41
  type: FunctionConstructor;
54
- required: false;
55
42
  default: () => Promise<{
56
43
  status: boolean;
57
44
  }>;
58
45
  };
59
46
  saveLabelItem: {
60
47
  type: FunctionConstructor;
61
- required: false;
62
48
  default: () => Promise<{
63
49
  status: boolean;
64
50
  }>;
65
51
  };
66
52
  }, {
67
- props: {
68
- selectedList: any[];
69
- item: any;
70
- isDetail: boolean;
71
- isLock: boolean;
72
- sourceType: string;
73
- getLabelList: Function;
74
- explicit: boolean;
75
- explicitHeiht: string;
76
- queryCommonlabels: Function;
77
- deleteLabel: Function;
78
- saveLabelItem: Function;
79
- };
80
- emit: (event: "onChange" | "scaleChange" | "vodFileList", ...args: any[]) => void;
53
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
54
+ selectedList: {
55
+ type: PropType<any[]>;
56
+ default: () => never[];
57
+ };
58
+ item: {
59
+ type: PropType<any>;
60
+ default: () => {};
61
+ };
62
+ isDetail: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ isLock: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ sourceType: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ explicit: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ getLabelList: {
79
+ type: FunctionConstructor;
80
+ default: () => Promise<{
81
+ rows: never[];
82
+ }>;
83
+ };
84
+ queryCommonlabels: {
85
+ type: FunctionConstructor;
86
+ default: () => Promise<{
87
+ data: {};
88
+ }>;
89
+ };
90
+ deleteLabel: {
91
+ type: FunctionConstructor;
92
+ default: () => Promise<{
93
+ status: boolean;
94
+ }>;
95
+ };
96
+ saveLabelItem: {
97
+ type: FunctionConstructor;
98
+ default: () => Promise<{
99
+ status: boolean;
100
+ }>;
101
+ };
102
+ }>> & {
103
+ onOnChange?: ((...args: any[]) => any) | undefined;
104
+ }>>;
105
+ emit: (event: "onChange", ...args: any[]) => void;
81
106
  labelFormContentRef: any;
82
107
  state: {
83
108
  labelVisible: boolean;
@@ -94,7 +119,6 @@ declare const _default: import("vue").DefineComponent<{
94
119
  };
95
120
  updateCommonChecked: (value: boolean, item: any) => void;
96
121
  item_is_edit: import("vue").ComputedRef<any>;
97
- titleRender: () => JSX.Element;
98
122
  hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
99
123
  getCommonlabelsList: (type: any) => Promise<void>;
100
124
  closeTag: (d: {
@@ -231,58 +255,6 @@ declare const _default: import("vue").DefineComponent<{
231
255
  anchorGetContainer: () => any;
232
256
  handleResetOptions: () => void;
233
257
  hanldeSetLabelItem: (id: string | number, status: boolean) => void;
234
- NTabs: any;
235
- NTabPane: import("vue").DefineComponent<{
236
- readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
237
- [key: string]: any;
238
- }> | (() => import("vue").VNodeChild)>;
239
- readonly name: {
240
- readonly type: import("vue").PropType<string | number>;
241
- readonly required: true;
242
- };
243
- readonly disabled: BooleanConstructor;
244
- readonly displayDirective: {
245
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
246
- readonly default: "if";
247
- };
248
- readonly closable: {
249
- readonly type: import("vue").PropType<boolean | undefined>;
250
- readonly default: undefined;
251
- };
252
- readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
253
- readonly label: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
254
- [key: string]: any;
255
- }> | (() => import("vue").VNodeChild)>;
256
- }, {
257
- style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
258
- class: import("vue").Ref<string | undefined>;
259
- mergedClsPrefix: import("vue").Ref<string>;
260
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
261
- readonly tab: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
262
- [key: string]: any;
263
- }> | (() => import("vue").VNodeChild)>;
264
- readonly name: {
265
- readonly type: import("vue").PropType<string | number>;
266
- readonly required: true;
267
- };
268
- readonly disabled: BooleanConstructor;
269
- readonly displayDirective: {
270
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
271
- readonly default: "if";
272
- };
273
- readonly closable: {
274
- readonly type: import("vue").PropType<boolean | undefined>;
275
- readonly default: undefined;
276
- };
277
- readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
278
- readonly label: import("vue").PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
279
- [key: string]: any;
280
- }> | (() => import("vue").VNodeChild)>;
281
- }>>, {
282
- readonly disabled: boolean;
283
- readonly closable: boolean | undefined;
284
- readonly displayDirective: "if" | "show" | "show:lazy";
285
- }>;
286
258
  NAnchor: any;
287
259
  NAnchorLink: import("vue").DefineComponent<{
288
260
  readonly title: StringConstructor;
@@ -481,89 +453,71 @@ declare const _default: import("vue").DefineComponent<{
481
453
  item: any;
482
454
  isLock: boolean;
483
455
  sourceType: string;
484
- getLabelList: Function;
485
456
  explicit: boolean;
457
+ getLabelList: Function;
486
458
  deleteLabel: Function;
487
459
  saveLabelItem: Function;
488
460
  }>;
489
461
  handleLabelColor: typeof handleLabelColor;
490
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onChange" | "scaleChange" | "vodFileList")[], "onChange" | "scaleChange" | "vodFileList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
462
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
491
463
  selectedList: {
492
- type: ArrayConstructor;
493
- required: false;
464
+ type: PropType<any[]>;
494
465
  default: () => never[];
495
466
  };
496
467
  item: {
497
- type: null;
498
- required: false;
468
+ type: PropType<any>;
499
469
  default: () => {};
500
470
  };
501
471
  isDetail: {
502
472
  type: BooleanConstructor;
503
- required: false;
504
473
  default: boolean;
505
474
  };
506
475
  isLock: {
507
476
  type: BooleanConstructor;
508
- required: false;
509
477
  default: boolean;
510
478
  };
511
479
  sourceType: {
512
480
  type: StringConstructor;
513
- required: false;
514
481
  default: string;
515
482
  };
483
+ explicit: {
484
+ type: BooleanConstructor;
485
+ default: boolean;
486
+ };
516
487
  getLabelList: {
517
488
  type: FunctionConstructor;
518
- required: false;
519
489
  default: () => Promise<{
520
490
  rows: never[];
521
491
  }>;
522
492
  };
523
- explicit: {
524
- type: BooleanConstructor;
525
- required: false;
526
- default: boolean;
527
- };
528
- explicitHeiht: {
529
- type: StringConstructor;
530
- required: false;
531
- default: string;
532
- };
533
493
  queryCommonlabels: {
534
494
  type: FunctionConstructor;
535
- required: false;
536
495
  default: () => Promise<{
537
496
  data: {};
538
497
  }>;
539
498
  };
540
499
  deleteLabel: {
541
500
  type: FunctionConstructor;
542
- required: false;
543
501
  default: () => Promise<{
544
502
  status: boolean;
545
503
  }>;
546
504
  };
547
505
  saveLabelItem: {
548
506
  type: FunctionConstructor;
549
- required: false;
550
507
  default: () => Promise<{
551
508
  status: boolean;
552
509
  }>;
553
510
  };
554
511
  }>> & {
555
512
  onOnChange?: ((...args: any[]) => any) | undefined;
556
- onScaleChange?: ((...args: any[]) => any) | undefined;
557
- onVodFileList?: ((...args: any[]) => any) | undefined;
558
513
  }, {
559
- selectedList: unknown[];
514
+ selectedList: any[];
560
515
  item: any;
561
516
  isDetail: boolean;
562
517
  isLock: boolean;
563
518
  sourceType: string;
564
- getLabelList: Function;
565
519
  explicit: boolean;
566
- explicitHeiht: string;
520
+ getLabelList: Function;
567
521
  queryCommonlabels: Function;
568
522
  deleteLabel: Function;
569
523
  saveLabelItem: Function;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,reactive as t,computed as a,onMounted as i,watch as o,openBlock as s,createElementBlock as n,Fragment as d,createElementVNode as m,createVNode as c,unref as b,withCtx as r,renderList as p,createBlock as u,normalizeStyle as L,toDisplayString as h,withDirectives as y,normalizeClass as C,createTextVNode as f,vShow as g,createCommentVNode as v,mergeProps as I,nextTick as w}from"vue";import{NSpace as x,NTag as S,NTooltip as k,NIcon as O,NModal as N}from"naive-ui";import{AddCircleOutline as j}from"@vicons/ionicons5";import W from"../../../shared/components/SvgIcon/SvgIcon.vue.js";import P from"./LabelFormContent.vue.js";import{handleLabelColor as _}from"../../../shared/utils/vexutils.js";import B from"xe-utils";const H={class:"c-select-label"},E=m("span",null,"常用",-1),F={key:1};var A=e({__name:"SelectLabel",props:{selectedList:{default:()=>[]},item:{default:()=>({})},isDetail:{type:Boolean,default:!1},isLock:{type:Boolean,default:!1},sourceType:{default:""},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},explicit:{type:Boolean,default:!1},explicitHeiht:{default:""},queryCommonlabels:{type:Function,default:()=>Promise.resolve({data:{}})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})}},emits:["onChange","scaleChange","vodFileList"],setup(e,{emit:A}){const V=e,T=l(null),U=t({labelVisible:!1,editLabelItem:{},labelSelectedList:[],labelSelectedEdit:[],inited:!1,isChangeWindow:!1,modalWidth:"763px",modalHeight:"404px",maxHeight:"404px",commonLabelList:[],multipleChoiceConfig:{}});const z=a((()=>{const e=(null==V?void 0:V.item)||{};return(1==e.is_edit||e.isShow)&&!V.isDetail})),D=()=>c(d,null,[c("div",null,[f("选择标签")]),c("div",{class:"svg-wrap"},[c(W,{onClick:K,"icon-class":U.isChangeWindow?"xitongtubiaodaohangtubiaozuixiaohua":"xitongtubiaodaohangtubiaozuidahua"},null)])]),$=(e,l)=>{e.length&&e.forEach((e=>{let t=l.some((l=>l.labelId==e.labelId));e.isSelect=t}))},q=(e,l)=>{let t=U.multipleChoiceConfig,a=U.labelSelectedList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;"2"==t[l.typeId]&&(a=a.filter((e=>e.typeId!==l.typeId))),a.push(l)}else{const e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}A("onChange",[...a]),U.labelSelectedList=a},J=e=>{V.isLock||(V.explicit||"init"===e||(U.labelVisible=!0),M(V.item))},R=()=>{var e;V.explicit||(null==(e=T.value)||e.resetShowAdd(),U.editLabelItem.showAdd=!1,U.editLabelItem={},U.inited=!1,U.modalWidth="763px",U.modalHeight="404px",U.maxHeight="404px",U.isChangeWindow=!1,U.labelVisible=!1)},K=()=>{U.isChangeWindow=!U.isChangeWindow;let e=document.body.clientHeight;U.modalWidth="763px"===U.modalWidth?"100%":"763px",U.modalHeight="404px"===U.modalHeight?e-110+"px":"404px",U.maxHeight="auto"===U.modalHeight?"404px":"none"},G=()=>{var e;null==(e=T.value)||e.handleLabelForm((e=>{A("onChange",[...e]),U.labelSelectedList=e,$(U.commonLabelList,e),R()}))},M=async(e,l)=>{const{rows:t,results:a}=await V.getLabelList(e,{update:l}),i=t||[],o={},s=`${e.val_key}_${e.name}`,n=l?[...U.labelSelectedEdit||[]]:[...U.labelSelectedList||[]];i.forEach((e=>{e.cacheKey=s,e.isSelect=!1,o[e.typeName]?o[e.typeName].itemList.push({...e}):o[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId}})),a&&(e.labelObj=o,e.labelList=i),l&&(U.labelSelectedEdit=n),U.editLabelItem=e,Q(a)},Q=e=>{if(!e)return!1;let l=Object.keys(e),t={},a=(e.typeList||[]).reduce(((e,l)=>(t[l.typeId]=l.multipleChoice,e[l.typeName]={multipleChoice:l.multipleChoice,parentColor:l.parentColor,allowCreateByPersonal:l.allowCreateByPersonal},e)),{});V.explicit&&(U.multipleChoiceConfig=t),l.forEach((l=>{var t,i,o,s,n,d,m;"typeList"!==l&&("emptyTypes"!==l?B.isPlainObject(e[l])?U.editLabelItem.labelObj[l]?(U.editLabelItem.labelObj[l].isNoAdd=!0,U.editLabelItem.labelObj[l].multipleChoice=null==(i=a[l])?void 0:i.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(o=a[l])?void 0:o.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(s=a[l])?void 0:s.parentColor):U.editLabelItem.labelObj[l]={addVal:"",showAdd:!1,itemList:!1,typeId:"",typeName:l,allowCreateByPersonal:null==(t=a[l])?void 0:t.allowCreateByPersonal,...a[l]||{}}:(U.editLabelItem.labelObj[l].multipleChoice=null==(n=a[l])?void 0:n.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(d=a[l])?void 0:d.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(m=a[l])?void 0:m.parentColor):e[l].forEach((e=>{U.editLabelItem.labelObj[e.typeName]={addVal:"",showAdd:!1,itemList:[],typeId:e.typeId,typeName:e.typeName,allowCreateByPersonal:e.allowCreateByPersonal,...a[e.typeName]||{}}})))}))},X=()=>{M(V.item,!0)},Y=()=>{G()},Z=(e,l)=>{V.explicit&&w((()=>{var t;null==(t=T.value)||t.hanldeSetLabelItem(e,l)}))};return i((()=>{V.explicit?J():(async e=>{const{rows:l,results:t}=await V.getLabelList(e);if(!t)return!1;let a=(t.typeList||[]).reduce(((e,l)=>(e[l.typeId]=l.multipleChoice,e)),{});U.multipleChoiceConfig=a})(V.item)})),o((()=>V.selectedList),(e=>{if(e){let l=Array.isArray(e)?e:[];U.labelSelectedList=JSON.parse(JSON.stringify(l)),$(U.commonLabelList,U.labelSelectedList)}}),{immediate:!0,deep:!0}),o((()=>{var e;return null==(e=V.item)?void 0:e.label_type}),(e=>{e&&"form"==V.sourceType&&(async e=>{var l;let{data:t={}}=await V.queryCommonlabels(e)||{};if("SUCCESS"!==t.result)return;let a=(null==(l=t.map)?void 0:l.rows)||[];$(a,U.labelSelectedList),U.commonLabelList=a})(e)}),{immediate:!0,deep:!0}),(l,t)=>(s(),n(d,null,[m("div",H,[c(b(x),{align:"center"},{default:r((()=>[(s(!0),n(d,null,p(U.labelSelectedList,(e=>(s(),u(b(S),{bordered:!1,key:e.labelId,style:L(b(_)(e,!0)),closable:b(z),onClose:l=>(e=>{const l=U.labelSelectedList||[],t=l.findIndex((l=>l.labelId==e.labelId));-1!=t&&l.splice(t,1),A("onChange",[...l]),U.labelSelectedList=l,Z(e.labelId,!1)})(e),size:"small"},{default:r((()=>[c(b(k),{placement:"top-start"},{trigger:r((()=>[m("span",null,h(e.labelName),1)])),default:r((()=>[m("span",null,h(e.labelName),1)])),_:2},1024)])),_:2},1032,["style","closable","onClose"])))),128)),e.explicit?v("v-if",!0):y((s(),n("span",{key:0,class:C(["form-add-icon form-add-icon-label",{disable:e.isLock}]),onClick:J},[c(b(O),{class:"add-icon",component:b(j)},null,8,["component"]),f(" 新增 ")],2)),[[g,b(z)]])])),_:1}),"form"==e.sourceType&&U.commonLabelList.length&&b(z)&&!e.explicit?(s(),u(b(x),{key:0,align:"center",class:"common-label"},{default:r((()=>[E,(s(!0),n(d,null,p(U.commonLabelList,((e,l)=>(s(),u(b(S),{checkable:"",checked:e.isSelect,"onUpdate:checked":l=>function(e,l){l.isSelect=e,q(e,l)}(l,e),key:l,style:L(b(_)(e)),size:"small"},{default:r((()=>[c(b(k),{placement:"top-start"},{trigger:r((()=>[m("span",null,h(e.labelName),1)])),default:r((()=>[m("span",null,h(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","onUpdate:checked","style"])))),128))])),_:1})):v("v-if",!0),e.explicit&&b(z)?(s(),n("div",F,[c(P,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:X,onExplicitOnChange:Y}),null,16,["labelSelectedList","isChangeWindow","labelOptions","deleteLabel","saveLabelItem"])])):v("v-if",!0)]),v(" 弹窗 "),c(b(N),{preset:"dialog",class:C(["label-form-modal-wrap modal-wrap standard-modal standard-modal-white",{"modal-screen":U.isChangeWindow}]),show:U.labelVisible,"onUpdate:show":t[0]||(t[0]=e=>U.labelVisible=e),onPositiveClick:G,onNegativeClick:R,onClose:R,"mask-closable":!1,"close-on-esc":!1,"show-icon":!1,"negative-text":"取消","positive-text":"确定",style:L({width:U.modalWidth}),title:D},{default:r((()=>[c(P,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,sourceType:e.sourceType,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:X}),null,16,["labelSelectedList","isChangeWindow","labelOptions","sourceType","deleteLabel","saveLabelItem"])])),_:1},8,["show","class","style"])],64))}});export{A as default};
1
+ import{defineComponent as e,ref as l,reactive as t,computed as a,onMounted as i,watch as o,openBlock as s,createElementBlock as n,Fragment as d,createElementVNode as c,createBlock as b,unref as m,withCtx as r,renderList as p,normalizeStyle as u,createVNode as L,toDisplayString as y,withDirectives as h,normalizeClass as C,createTextVNode as f,vShow as g,createCommentVNode as v,mergeProps as I,nextTick as w}from"vue";import{NSpace as x,NTag as S,NTooltip as k,NIcon as O,NModal as N}from"naive-ui";import{AddCircleOutline as j}from"@vicons/ionicons5";import W from"./LabelFormContent.vue.js";import{handleLabelColor as P}from"../../../shared/utils/vexutils.js";import _ from"xe-utils";const B={class:"c-select-label"},A=c("span",null,"常用",-1),E={key:2,class:"outexplicit"},H=c("span",null,"选择标签",-1),z={class:"svg-wrap"};var F=e({__name:"SelectLabel",props:{selectedList:{type:Array,default:()=>[]},item:{type:Object,default:()=>({})},isDetail:{type:Boolean,default:!1},isLock:{type:Boolean,default:!1},sourceType:{type:String,default:""},explicit:{type:Boolean,default:!1},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},queryCommonlabels:{type:Function,default:()=>Promise.resolve({data:{}})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})}},emits:["onChange"],setup(e,{emit:F}){const V=e,T=l(null),U=t({labelVisible:!1,editLabelItem:{},labelSelectedList:[],labelSelectedEdit:[],inited:!1,isChangeWindow:!1,modalWidth:"763px",modalHeight:"404px",maxHeight:"404px",commonLabelList:[],multipleChoiceConfig:{}});const D=a((()=>{const e=(null==V?void 0:V.item)||{};return(1==e.is_edit||e.isShow)&&!V.isDetail})),$=(e,l)=>{e.length&&e.forEach((e=>{let t=l.some((l=>l.labelId==e.labelId));e.isSelect=t}))},q=(e,l)=>{let t=U.multipleChoiceConfig,a=U.labelSelectedList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;"2"==t[l.typeId]&&(a=a.filter((e=>e.typeId!==l.typeId))),a.push(l)}else{const e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}F("onChange",[...a]),U.labelSelectedList=a},J=e=>{V.isLock||(V.explicit||"init"===e||(U.labelVisible=!0),M(V.item))},R=()=>{var e;V.explicit||(null==(e=T.value)||e.resetShowAdd(),U.editLabelItem.showAdd=!1,U.editLabelItem={},U.inited=!1,U.modalWidth="763px",U.modalHeight="404px",U.maxHeight="404px",U.isChangeWindow=!1,U.labelVisible=!1)},K=()=>{U.isChangeWindow=!U.isChangeWindow;let e=document.body.clientHeight;U.modalWidth="763px"===U.modalWidth?"100%":"763px",U.modalHeight="404px"===U.modalHeight?e-110+"px":"404px",U.maxHeight="auto"===U.modalHeight?"404px":"none"},G=()=>{var e;null==(e=T.value)||e.handleLabelForm((e=>{F("onChange",[...e]),U.labelSelectedList=e,$(U.commonLabelList,e),R()}))},M=async(e,l)=>{const{rows:t,results:a}=await V.getLabelList(e,{update:l}),i=t||[],o={},s=`${e.val_key}_${e.name}`,n=l?[...U.labelSelectedEdit||[]]:[...U.labelSelectedList||[]];i.forEach((e=>{e.cacheKey=s,e.isSelect=!1,o[e.typeName]?o[e.typeName].itemList.push({...e}):o[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId}})),a&&(e.labelObj=o,e.labelList=i),l&&(U.labelSelectedEdit=n),U.editLabelItem=e,Q(a)},Q=e=>{if(!e)return!1;let l=Object.keys(e),t={},a=(e.typeList||[]).reduce(((e,l)=>(t[l.typeId]=l.multipleChoice,e[l.typeName]={multipleChoice:l.multipleChoice,parentColor:l.parentColor,allowCreateByPersonal:l.allowCreateByPersonal},e)),{});V.explicit&&(U.multipleChoiceConfig=t),l.forEach((l=>{var t,i,o,s,n,d,c;"typeList"!==l&&("emptyTypes"!==l?_.isPlainObject(e[l])?U.editLabelItem.labelObj[l]?(U.editLabelItem.labelObj[l].isNoAdd=!0,U.editLabelItem.labelObj[l].multipleChoice=null==(i=a[l])?void 0:i.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(o=a[l])?void 0:o.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(s=a[l])?void 0:s.parentColor):U.editLabelItem.labelObj[l]={addVal:"",showAdd:!1,itemList:!1,typeId:"",typeName:l,allowCreateByPersonal:null==(t=a[l])?void 0:t.allowCreateByPersonal,...a[l]||{}}:(U.editLabelItem.labelObj[l].multipleChoice=null==(n=a[l])?void 0:n.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(d=a[l])?void 0:d.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(c=a[l])?void 0:c.parentColor):e[l].forEach((e=>{U.editLabelItem.labelObj[e.typeName]={addVal:"",showAdd:!1,itemList:[],typeId:e.typeId,typeName:e.typeName,allowCreateByPersonal:e.allowCreateByPersonal,...a[e.typeName]||{}}})))}))},X=()=>{M(V.item,!0)},Y=()=>{G()},Z=(e,l)=>{V.explicit&&w((()=>{var t;null==(t=T.value)||t.hanldeSetLabelItem(e,l)}))};return i((()=>{V.explicit?J():(async e=>{const{rows:l,results:t}=await V.getLabelList(e);if(!t)return!1;let a=(t.typeList||[]).reduce(((e,l)=>(e[l.typeId]=l.multipleChoice,e)),{});U.multipleChoiceConfig=a})(V.item)})),o((()=>V.selectedList),(e=>{if(e){let l=Array.isArray(e)?e:[];U.labelSelectedList=JSON.parse(JSON.stringify(l)),$(U.commonLabelList,U.labelSelectedList)}}),{immediate:!0,deep:!0}),o((()=>{var e;return null==(e=V.item)?void 0:e.label_type}),(e=>{e&&"form"==V.sourceType&&(async e=>{var l;let{data:t={}}=await V.queryCommonlabels(e)||{};if("SUCCESS"!==t.result)return;let a=(null==(l=t.map)?void 0:l.rows)||[];$(a,U.labelSelectedList),U.commonLabelList=a})(e)}),{immediate:!0,deep:!0}),(l,t)=>(s(),n(d,null,[c("div",B,[e.explicit?v("v-if",!0):(s(),b(m(x),{key:0,align:"center"},{default:r((()=>[(s(!0),n(d,null,p(U.labelSelectedList,(e=>(s(),b(m(S),{bordered:!1,key:e.labelId,style:u(m(P)(e,!0)),closable:m(D),onClose:l=>(e=>{const l=U.labelSelectedList||[],t=l.findIndex((l=>l.labelId==e.labelId));-1!=t&&l.splice(t,1),F("onChange",[...l]),U.labelSelectedList=l,Z(e.labelId,!1)})(e),size:"small"},{default:r((()=>[L(m(k),{placement:"top-start"},{trigger:r((()=>[c("span",null,y(e.labelName),1)])),default:r((()=>[c("span",null,y(e.labelName),1)])),_:2},1024)])),_:2},1032,["style","closable","onClose"])))),128)),e.explicit?v("v-if",!0):h((s(),n("span",{key:0,class:C(["form-add-icon form-add-icon-label",{disable:e.isLock}]),onClick:J},[L(m(O),{class:"add-icon",component:m(j)},null,8,["component"]),f(" 新增 ")],2)),[[g,m(D)]])])),_:1})),"form"==e.sourceType&&U.commonLabelList.length&&m(D)&&!e.explicit?(s(),b(m(x),{key:1,align:"center",class:"common-label"},{default:r((()=>[A,(s(!0),n(d,null,p(U.commonLabelList,((e,l)=>(s(),b(m(S),{checkable:"",checked:e.isSelect,"onUpdate:checked":l=>function(e,l){l.isSelect=e,q(e,l)}(l,e),key:l,style:u(m(P)(e)),size:"small"},{default:r((()=>[L(m(k),{placement:"top-start"},{trigger:r((()=>[c("span",null,y(e.labelName),1)])),default:r((()=>[c("span",null,y(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","onUpdate:checked","style"])))),128))])),_:1})):v("v-if",!0),e.explicit&&m(D)?(s(),n("div",E,[L(W,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,explicit:e.explicit,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:X,onExplicitOnChange:Y}),null,16,["explicit","labelSelectedList","isChangeWindow","labelOptions","deleteLabel","saveLabelItem"])])):v("v-if",!0)]),v(" 弹窗 "),L(m(N),{preset:"dialog",class:C(["label-form-modal-wrap modal-wrap standard-modal standard-modal-white",{"modal-screen":U.isChangeWindow}]),show:U.labelVisible,"onUpdate:show":t[0]||(t[0]=e=>U.labelVisible=e),onPositiveClick:G,onNegativeClick:R,onClose:R,"mask-closable":!1,"close-on-esc":!1,"show-icon":!1,"negative-text":"取消","positive-text":"确定",style:u({width:U.modalWidth})},{header:r((()=>[H,c("div",z,[c("i",{onClick:K,class:C(["iconfont-select-label",U.isChangeWindow?"icon-select-label-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-select-label-menzhenyishengzhanxitongtubiaozuidahua"])},null,2)])])),default:r((()=>[L(W,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,sourceType:e.sourceType,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:X}),null,16,["labelSelectedList","isChangeWindow","labelOptions","sourceType","deleteLabel","saveLabelItem"])])),_:1},8,["show","class","style"])],64))}});export{F as default};
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,watch as a,openBlock as s,createElementBlock as t,createCommentVNode as i,unref as d,Fragment as c,createElementVNode as n,renderList as o,createBlock as u,normalizeStyle as p,normalizeClass as f,withCtx as y,createVNode as m,toDisplayString as r,withDirectives as b,withModifiers as v,vShow as h,createTextVNode as k}from"vue";import{NTag as I,NTooltip as g,NIcon as C,NButton as L,NInput as _}from"naive-ui";import{Close as A,Add as B}from"@vicons/ionicons5";import F from"../../../../_virtual/plugin-vue_export-helper.js";const P={class:"edit-content"},w={key:0,class:"label-disable-wrap"},N=[n("p",{class:"label-disable-title"},"无可选标签",-1),n("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],T={class:"label-content"};var V=F(e({__name:"label-classify",props:{classifyItem:{default:()=>({})},handleLabelChange:{type:Function,default:()=>{}},handleLabelColor:{type:Function,default:()=>{}},handleDelLabel:{type:Function,default:()=>{}},handleAddLabel:{type:Function,default:()=>{}},hanldeBlur:{type:Function,default:()=>{}},clearaddVal:{type:Function,default:()=>{}},isEdit:{type:Boolean,default:!1},sourceType:null},setup(e){var F;const V=e;let x=l((null==(F=V.classifyItem)?void 0:F.itemList)||[]);return a((()=>V.classifyItem),(e=>{x.value=(null==e?void 0:e.itemList)||[]}),{immediate:!0,deep:!0}),(l,a)=>(s(),t("div",P,[i(" disable "),d(x)?(s(),t(c,{key:1},[i(" "),n("div",T,[(s(!0),t(c,null,o(d(x),(l=>(s(),u(d(I),{checkable:"",checked:l.isSelect,"onUpdate:checked":a=>((e,l,a)=>{l.isSelect=e,V.handleLabelChange(e,l,a)})(a,l,e.classifyItem),key:l.labelId,style:p(e.handleLabelColor(l)),class:f({"sys-label-tag":l.isPublic&&1==l.isPublic})},{default:y((()=>[m(d(g),{placement:"top-start"},{trigger:y((()=>[n("span",null,r(l.labelName),1)])),default:y((()=>[n("span",null,r(l.labelName),1)])),_:2},1024),"guage"!=e.sourceType?b((s(),u(d(C),{key:0,class:"label-close",component:d(A),onClick:v((a=>e.handleDelLabel(l,e.classifyItem)),["stop"])},null,8,["component","onClick"])),[[h,!(l.isPublic&&1==l.isPublic)]]):i("v-if",!0)])),_:2},1032,["checked","onUpdate:checked","style","class"])))),128)),1==e.classifyItem.allowCreateByPersonal?(s(),t(c,{key:0},[e.isEdit&&!e.classifyItem.isNoAdd&&"guage"!=e.sourceType?b((s(),u(d(L),{key:0,dashed:"",class:"label-add",onClick:a[0]||(a[0]=l=>e.handleAddLabel(l,e.classifyItem))},{default:y((()=>[m(d(C),{component:d(B)},null,8,["component"]),k(" 标签 ")])),_:1},512)),[[h,!e.classifyItem.showAdd]]):i("v-if",!0),i(" 是否允许新增个人标签 allowCreateByPersonal "),e.isEdit&&!e.classifyItem.isNoAdd&&"guage"!=e.sourceType?b((s(),u(d(_),{key:1,class:"label-add add-input",value:e.classifyItem.addVal,"onUpdate:value":a[2]||(a[2]=l=>e.classifyItem.addVal=l),valueModifiers:{trim:!0},onBlur:a[3]||(a[3]=l=>e.hanldeBlur(l,e.classifyItem))},{suffix:y((()=>[m(d(C),{component:d(A),onClick:a[1]||(a[1]=v((l=>e.clearaddVal(l,e.classifyItem)),["stop"]))},null,8,["component"])])),_:1},8,["value"])),[[h,e.classifyItem.showAdd]]):i("v-if",!0)],64)):i("v-if",!0)])],2112)):(s(),t("div",w,N))]))}}),[["__file","label-classify.vue"]]);export{V as default};
1
+ import{defineComponent as e,ref as l,watch as a,openBlock as s,createElementBlock as t,createCommentVNode as i,unref as d,Fragment as c,createElementVNode as n,renderList as o,createBlock as u,normalizeStyle as f,normalizeClass as p,withCtx as y,createVNode as m,toDisplayString as r,withDirectives as b,withModifiers as v,vShow as h,createTextVNode as k}from"vue";import{NTag as I,NTooltip as g,NIcon as C,NButton as L,NInput as _}from"naive-ui";import{Close as A,Add as B}from"@vicons/ionicons5";import F from"../../../../_virtual/plugin-vue_export-helper.js";const P={class:"edit-content"},V={key:0,class:"label-disable-wrap"},w=[n("p",{class:"label-disable-title"},"无可选标签",-1),n("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],N={class:"label-content"},T={key:0,class:"selfval"},x={key:1,class:"selfval"};var E=F(e({__name:"label-classify",props:{classifyItem:{default:()=>({})},handleLabelChange:{type:Function,default:()=>{}},handleLabelColor:{type:Function,default:()=>{}},handleDelLabel:{type:Function,default:()=>{}},handleAddLabel:{type:Function,default:()=>{}},hanldeBlur:{type:Function,default:()=>{}},clearaddVal:{type:Function,default:()=>{}},isEdit:{type:Boolean,default:!1},sourceType:null},setup(e){var F;const E=e;let U=l((null==(F=E.classifyItem)?void 0:F.itemList)||[]);return a((()=>E.classifyItem),(e=>{U.value=(null==e?void 0:e.itemList)||[]}),{immediate:!0,deep:!0}),(l,a)=>(s(),t("div",P,[i(" disable "),d(U)?(s(),t(c,{key:1},[i(" "),n("div",N,[(s(!0),t(c,null,o(d(U),(l=>(s(),u(d(I),{checkable:"",checked:l.isSelect,"onUpdate:checked":a=>((e,l,a)=>{l.isSelect=e,E.handleLabelChange(e,l,a)})(a,l,e.classifyItem),key:l.labelId,style:f(e.handleLabelColor(l)),class:p({"sys-label-tag":l.isPublic&&1==l.isPublic})},{default:y((()=>[m(d(g),{placement:"top-start"},{trigger:y((()=>[n("span",null,r(l.labelName),1)])),default:y((()=>[n("span",null,r(l.labelName),1)])),_:2},1024),"guage"!=e.sourceType?b((s(),u(d(C),{key:0,class:"label-close",component:d(A),onClick:v((a=>e.handleDelLabel(l,e.classifyItem)),["stop"])},null,8,["component","onClick"])),[[h,!(l.isPublic&&1==l.isPublic)]]):i("v-if",!0)])),_:2},1032,["checked","onUpdate:checked","style","class"])))),128)),1==e.classifyItem.allowCreateByPersonal?(s(),t(c,{key:0},[e.isEdit&&!e.classifyItem.isNoAdd&&"guage"!=e.sourceType?b((s(),u(d(L),{key:0,dashed:"",class:"label-add",onClick:a[0]||(a[0]=l=>e.handleAddLabel(l,e.classifyItem))},{default:y((()=>[e.classifyItem.addVal?(s(),t("span",T,r(e.classifyItem.addVal),1)):(s(),t("span",x,[m(d(C),{component:d(B)},null,8,["component"]),k("标签")]))])),_:1},512)),[[h,!e.classifyItem.showAdd]]):i("v-if",!0),i(" 是否允许新增个人标签 allowCreateByPersonal "),e.isEdit&&!e.classifyItem.isNoAdd&&"guage"!=e.sourceType?b((s(),u(d(_),{key:1,class:"label-add add-input",value:e.classifyItem.addVal,"onUpdate:value":a[2]||(a[2]=l=>e.classifyItem.addVal=l),valueModifiers:{trim:!0},onBlur:a[3]||(a[3]=l=>e.hanldeBlur(l,e.classifyItem))},{suffix:y((()=>[m(d(C),{component:d(A),onClick:a[1]||(a[1]=v((l=>e.clearaddVal(l,e.classifyItem)),["stop"]))},null,8,["component"])])),_:1},8,["value"])),[[h,e.classifyItem.showAdd]]):i("v-if",!0)],64)):i("v-if",!0)])],2112)):(s(),t("div",V,w))]))}}),[["__file","label-classify.vue"]]);export{E as default};
@@ -1 +1 @@
1
- .c-select-label .label-disable-wrap{align-items:center;display:flex;flex-direction:column;font-size:14px;line-height:20px;width:100%}.c-select-label .label-disable-wrap .label-disable-img{height:248px;width:320px}.c-select-label .common-label{border:1px solid rgba(0,0,0,.1);border-radius:4px;margin-top:8px!important;padding:4px 12px}.c-select-label .common-label>span{color:rgba(0,0,0,.9);margin-right:16px}.c-select-label .form-add-icon-label{align-items:center;color:#2d7aff;cursor:pointer;display:inline-flex;margin-bottom:4px}.c-select-label .anticon+.anticon{margin-left:16px}.c-select-label .label-disable-wrap{text-align:center}.c-select-label .n-tag{border:1px solid #e0e0e6;margin:0 8px 0 0;max-width:108px}.c-select-label .n-tag .n-base-icon{color:#fff}.c-select-label .n-tag .n-tag__content{align-items:center;display:inline-block;height:100%;line-height:20px;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-label-form-content{border-bottom:1px solid #e8e8e8;border-top:1px solid #e8e8e8;height:100%;width:100%}.c-label-form-content .label-wrap{display:flex;height:100%;width:100%}.c-label-form-content .label-wrap .left-label-wrap{border-right:1px solid #e8e8e8;height:404px;max-height:404px;width:140px}.c-label-form-content .label-wrap .left-label-wrap.total-left-label-wrap{height:calc(100vh - 109px);max-height:calc(100vh - 109px)}.c-label-form-content .label-wrap .left-label-wrap.explicit-label-wrap{height:auto;overflow:hidden;overflow-y:auto;width:100%}.c-label-form-content .label-wrap .left-label-wrap .n-anchor.n-anchor--block .n-anchor-link{font-size:14px;padding:10px 8px}.c-label-form-content .label-wrap .left-label-wrap .n-anchor.n-anchor--block .n-anchor-link.n-anchor-link--active{background-color:#f2f2f2}.c-label-form-content .label-wrap .right-label-wrap{flex:1;height:404px;max-height:404px;overflow-y:auto}.c-label-form-content .label-wrap .right-label-wrap.total-right-label-wrap{max-height:calc(100vh - 109px)}.c-label-form-content .label-wrap .right-label-wrap .label-add{display:inline-flex;height:30px;justify-content:center;line-height:30px;position:relative;text-align:center;top:2px;width:108px}.c-label-form-content .label-wrap .right-label-wrap .add-input{width:108px}.c-label-form-content .label-wrap .right-label-wrap .add-input .n-input__suffix{cursor:pointer}.c-label-form-content .label-wrap .explicit-continer{border:1px solid #d5d5d5;width:100%}.c-label-form-content .edit-label-type{font-size:12px;margin-left:4px}.c-label-form-content .edit-label-content{padding:0 14px}.c-label-form-content .edit-label-content .edit-content{margin-bottom:10px;margin-top:8px;width:100%}.c-label-form-content .edit-label-content .edit-content .n-tag{border:1px solid #e0e0e6;margin:0 8px 8px 0;max-width:108px;text-align:center}.c-label-form-content .edit-label-content .edit-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.c-label-form-content .edit-label-content .edit-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.n-dialog__title .svg-wrap{margin:0 0 0 auto}.n-dialog__title .svg-wrap .svg-icon{fill:currentcolor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.n-dialog__title .svg-wrap svg{cursor:pointer;font-size:14px}.n-dialog__title .svg-wrap svg+svg{margin-left:16px}
1
+ @font-face{font-family:iconfont;src:url(iconfont.ttf) format("truetype")}.iconfont-select-label{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:14px;font-style:normal}.icon-select-label-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-select-label-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.c-select-label .label-disable-wrap{align-items:center;display:flex;flex-direction:column;font-size:14px;line-height:20px;width:100%}.c-select-label .label-disable-wrap .label-disable-img{height:248px;width:320px}.c-select-label .common-label{border:1px solid rgba(0,0,0,.1);border-radius:4px;margin-top:8px!important;padding:4px 12px}.c-select-label .common-label>span{color:rgba(0,0,0,.9);margin-right:16px}.c-select-label .form-add-icon-label{align-items:center;color:#2d7aff;cursor:pointer;display:inline-flex;vertical-align:middle}.c-select-label .anticon+.anticon{margin-left:16px}.c-select-label .n-tag{border:1px solid #e0e0e6;margin:0 8px 0 0;max-width:108px}.c-select-label .n-tag .n-base-icon{color:#fff}.c-select-label .n-tag .n-tag__content{align-items:center;display:inline-block;line-height:20px;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-label-form-content{border-bottom:1px solid #e8e8e8;border-top:1px solid #e8e8e8;height:100%;width:100%}.c-label-form-content .label-wrap{display:flex;height:100%;width:100%}.c-label-form-content .label-wrap .left-label-wrap{border-right:1px solid #e8e8e8;max-height:404px;width:140px}.c-label-form-content .label-wrap .left-label-wrap.total-left-label-wrap{height:calc(100vh - 109px);max-height:calc(100vh - 109px)}.c-label-form-content .label-wrap .left-label-wrap.explicit-label-wrap{height:auto;overflow:hidden;overflow-y:auto;width:100%}.c-label-form-content .label-wrap .left-label-wrap .n-anchor.n-anchor--block .n-anchor-link{font-size:14px;padding:10px 8px}.c-label-form-content .label-wrap .left-label-wrap .n-anchor.n-anchor--block .n-anchor-link.n-anchor-link--active{background-color:#f2f2f2}.c-label-form-content .label-wrap .right-label-wrap{flex:1;max-height:404px;overflow-y:auto}.c-label-form-content .label-wrap .right-label-wrap.total-right-label-wrap{max-height:calc(100vh - 109px)}.c-label-form-content .label-wrap .right-label-wrap .label-add{display:inline-flex;height:30px;justify-content:center;line-height:30px;position:relative;text-align:center;top:2px;width:108px}.c-label-form-content .label-wrap .right-label-wrap .label-add .selfval{align-items:center;display:flex;justify-content:center}.c-label-form-content .label-wrap .right-label-wrap .add-input{width:108px}.c-label-form-content .label-wrap .right-label-wrap .add-input .n-input__suffix{cursor:pointer}.c-label-form-content .label-wrap .explicit-continer{border:1px solid #d5d5d5;width:100%}.c-label-form-content .edit-label-type{font-size:12px;margin-left:4px}.c-label-form-content .edit-label-content{margin-top:10px;padding:0 14px}.c-label-form-content .edit-label-content .edit-content{margin-top:8px;width:100%}.c-label-form-content .edit-label-content .edit-content .n-tag{border:1px solid #e0e0e6;margin:0 8px 8px 0;max-width:108px;text-align:center}.c-label-form-content .edit-label-content .edit-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.c-label-form-content .edit-label-content .edit-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.n-dialog__title .svg-wrap{margin:0 0 0 auto}.n-dialog__title .svg-wrap i{cursor:pointer;font-size:16px}
@@ -299,6 +299,7 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
299
299
  data: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
300
300
  [k: string]: unknown;
301
301
  } & import("../../../es/shared/types").AnyObject)[];
302
+ multiple: boolean;
302
303
  defaultList: ((string | number) | {
303
304
  key: string | number;
304
305
  name: string;
@@ -316,7 +317,6 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
316
317
  };
317
318
  showCount: boolean;
318
319
  showClear: boolean;
319
- multiple: boolean;
320
320
  queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<void>;
321
321
  queryTreeSearch: (keyWork: string) => Promise<import("../../../es/shared/types").AnyObject[]>;
322
322
  }>>;
@@ -267,6 +267,7 @@ declare const _default: import("vue").DefineComponent<{
267
267
  onCheck?: ((...args: any[]) => any) | undefined;
268
268
  }, {
269
269
  data: ITreeOption[];
270
+ multiple: boolean;
270
271
  defaultList: (IKey | ITag)[];
271
272
  searchPlaceholder: string;
272
273
  searchButtonText: string;
@@ -274,7 +275,6 @@ declare const _default: import("vue").DefineComponent<{
274
275
  wordbookChild: IWordBookChild<ITreeOption>;
275
276
  showCount: boolean;
276
277
  showClear: boolean;
277
- multiple: boolean;
278
278
  queryLoadChildData: (node: TreeOption) => Promise<void>;
279
279
  queryTreeSearch: (keyWork: string) => Promise<Array<AnyObject>>;
280
280
  }>;
@@ -38,7 +38,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
38
38
  fieldList: import("vue").Ref<{
39
39
  [x: string]: any;
40
40
  val_key: string;
41
- html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
41
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
42
42
  annotation?: boolean | undefined;
43
43
  val_key_unit?: string | undefined;
44
44
  is_edit?: import("..").FormCommonState | undefined;
@@ -2140,35 +2140,30 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2140
2140
  data: any;
2141
2141
  loading: boolean;
2142
2142
  required: boolean;
2143
+ hidden: boolean;
2144
+ visible: boolean;
2145
+ content: any;
2146
+ reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
2147
+ active: boolean;
2148
+ disabled: boolean;
2149
+ display: import("@formily/core").FieldDisplayTypes;
2143
2150
  value: string;
2144
2151
  readonly index: string | number;
2145
- disabled: boolean;
2146
2152
  onFocus: (...args: any[]) => Promise<void>;
2147
2153
  onBlur: (...args: any[]) => Promise<void>;
2148
2154
  onInput: (...args: any[]) => Promise<void>;
2149
- reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
2150
- visible: boolean;
2151
2155
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
2152
2156
  validator: import("@formily/core").FieldValidator;
2153
2157
  pattern: import("@formily/core").FieldPatternTypes;
2154
2158
  title: string;
2155
2159
  form: import("@formily/core").Form<any>;
2156
- content: any;
2157
- hidden: boolean;
2158
- active: boolean;
2159
- dataSource: import("@formily/core").FieldDataSource;
2160
- description: string;
2161
- display: import("@formily/core").FieldDisplayTypes;
2162
- mounted: boolean;
2163
- readonly destroyed: boolean;
2164
- unmounted: boolean;
2165
2160
  componentProps: Record<string, any>;
2166
2161
  decoratorProps: Record<string, any>;
2162
+ description: string;
2167
2163
  readOnly: boolean;
2168
2164
  editable: boolean;
2169
2165
  component: import("@formily/core").FieldComponent<any, any>;
2170
2166
  decorator: import("@formily/core").FieldDecorator<any, any>;
2171
- readPretty: boolean;
2172
2167
  validating: boolean;
2173
2168
  submitting: boolean;
2174
2169
  visited: boolean;
@@ -2176,6 +2171,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2176
2171
  modified: boolean;
2177
2172
  inputValue: string;
2178
2173
  inputValues: any[];
2174
+ dataSource: import("@formily/core").FieldDataSource;
2179
2175
  feedbacks: import("@formily/core").IFieldFeedback[];
2180
2176
  caches: import("@formily/core").IFieldCaches;
2181
2177
  selfErrors: import("@formily/core").FeedbackMessage;
@@ -2206,11 +2202,15 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2206
2202
  queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
2207
2203
  modify: () => void;
2208
2204
  initialized: boolean;
2205
+ mounted: boolean;
2206
+ unmounted: boolean;
2209
2207
  decoratorType: any;
2210
2208
  componentType: any;
2211
2209
  designable: boolean;
2212
2210
  locate: (address: import("@formily/path").Pattern) => void;
2213
2211
  readonly parent: import("@formily/core").GeneralField;
2212
+ readPretty: boolean;
2213
+ readonly destroyed: boolean;
2214
2214
  setTitle: (title?: string | undefined) => void;
2215
2215
  setDescription: (description?: string | undefined) => void;
2216
2216
  setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
@@ -2252,7 +2252,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2252
2252
  };
2253
2253
  readonly disabled: BooleanConstructor;
2254
2254
  readonly displayDirective: {
2255
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
2255
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
2256
2256
  readonly default: "if";
2257
2257
  };
2258
2258
  readonly closable: {
@@ -2277,7 +2277,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2277
2277
  };
2278
2278
  readonly disabled: BooleanConstructor;
2279
2279
  readonly displayDirective: {
2280
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
2280
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
2281
2281
  readonly default: "if";
2282
2282
  };
2283
2283
  readonly closable: {
@@ -2291,7 +2291,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2291
2291
  }>>, {
2292
2292
  readonly disabled: boolean;
2293
2293
  readonly closable: boolean | undefined;
2294
- readonly displayDirective: "if" | "show" | "show:lazy";
2294
+ readonly displayDirective: "show" | "if" | "show:lazy";
2295
2295
  }>;
2296
2296
  NTabs: any;
2297
2297
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  fieldList: import("vue").Ref<{
41
41
  [x: string]: any;
42
42
  val_key: string;
43
- html_type: "LINEBAR" | "DATE" | "SELECT" | ({} & string) | "COMBINATION" | "INPUT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
43
+ html_type: "LINEBAR" | ({} & string) | "INPUT" | "SELECT" | "LINE_BREAKS" | "INPUT_NUMBER" | "REMOTE_SEARCH" | "DATE" | "LEVEL_SEARCH_CASCADER" | "SEARCH_CASCADER" | "COMBINATION" | "RADIO" | "CHECKBOX" | "SWITCH" | "SLIDER" | "COMPLEX" | "SEARCH" | "PHONE_TYPE" | "IDCARD_TYPE" | "SEARCH_MORE" | "DIGITAL" | "CHECKBOX_BLOCK" | "RADIO_BLOCK" | "DATE-INPUT" | "DATETIME-INPUT" | "SWITCH_COMPONENT" | "SLIDER_COMPONENT" | "LEVEL_SEARCH_CASCADE" | "SEARCH_CASCADE";
44
44
  annotation?: boolean | undefined;
45
45
  val_key_unit?: string | undefined;
46
46
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -2142,35 +2142,30 @@ declare const _default: import("vue").DefineComponent<{
2142
2142
  data: any;
2143
2143
  loading: boolean;
2144
2144
  required: boolean;
2145
+ hidden: boolean;
2146
+ visible: boolean;
2147
+ content: any;
2148
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
2149
+ active: boolean;
2150
+ disabled: boolean;
2151
+ display: import("../../../../es/components/form-render").FieldDisplayTypes;
2145
2152
  value: string;
2146
2153
  readonly index: string | number;
2147
- disabled: boolean;
2148
2154
  onFocus: (...args: any[]) => Promise<void>;
2149
2155
  onBlur: (...args: any[]) => Promise<void>;
2150
2156
  onInput: (...args: any[]) => Promise<void>;
2151
- reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
2152
- visible: boolean;
2153
2157
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
2154
2158
  validator: import("../../../../es/components/form-render").FieldValidator;
2155
2159
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
2156
2160
  title: string;
2157
2161
  form: import("../../../../es/components/form-render").Form<any>;
2158
- content: any;
2159
- hidden: boolean;
2160
- active: boolean;
2161
- dataSource: import("../../../../es/components/form-render").FieldDataSource;
2162
- description: string;
2163
- display: import("../../../../es/components/form-render").FieldDisplayTypes;
2164
- mounted: boolean;
2165
- readonly destroyed: boolean;
2166
- unmounted: boolean;
2167
2162
  componentProps: Record<string, any>;
2168
2163
  decoratorProps: Record<string, any>;
2164
+ description: string;
2169
2165
  readOnly: boolean;
2170
2166
  editable: boolean;
2171
2167
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
2172
2168
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
2173
- readPretty: boolean;
2174
2169
  validating: boolean;
2175
2170
  submitting: boolean;
2176
2171
  visited: boolean;
@@ -2178,6 +2173,7 @@ declare const _default: import("vue").DefineComponent<{
2178
2173
  modified: boolean;
2179
2174
  inputValue: string;
2180
2175
  inputValues: any[];
2176
+ dataSource: import("../../../../es/components/form-render").FieldDataSource;
2181
2177
  feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
2182
2178
  caches: import("../../../../es/components/form-render").IFieldCaches;
2183
2179
  selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
@@ -2208,11 +2204,15 @@ declare const _default: import("vue").DefineComponent<{
2208
2204
  queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
2209
2205
  modify: () => void;
2210
2206
  initialized: boolean;
2207
+ mounted: boolean;
2208
+ unmounted: boolean;
2211
2209
  decoratorType: any;
2212
2210
  componentType: any;
2213
2211
  designable: boolean;
2214
2212
  locate: (address: import("@formily/path").Pattern) => void;
2215
2213
  readonly parent: import("../../../../es/components/form-render").GeneralField;
2214
+ readPretty: boolean;
2215
+ readonly destroyed: boolean;
2216
2216
  setTitle: (title?: string | undefined) => void;
2217
2217
  setDescription: (description?: string | undefined) => void;
2218
2218
  setDisplay: (type?: import("../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
@@ -2254,7 +2254,7 @@ declare const _default: import("vue").DefineComponent<{
2254
2254
  };
2255
2255
  readonly disabled: BooleanConstructor;
2256
2256
  readonly displayDirective: {
2257
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
2257
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
2258
2258
  readonly default: "if";
2259
2259
  };
2260
2260
  readonly closable: {
@@ -2279,7 +2279,7 @@ declare const _default: import("vue").DefineComponent<{
2279
2279
  };
2280
2280
  readonly disabled: BooleanConstructor;
2281
2281
  readonly displayDirective: {
2282
- readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
2282
+ readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
2283
2283
  readonly default: "if";
2284
2284
  };
2285
2285
  readonly closable: {
@@ -2293,7 +2293,7 @@ declare const _default: import("vue").DefineComponent<{
2293
2293
  }>>, {
2294
2294
  readonly disabled: boolean;
2295
2295
  readonly closable: boolean | undefined;
2296
- readonly displayDirective: "if" | "show" | "show:lazy";
2296
+ readonly displayDirective: "show" | "if" | "show:lazy";
2297
2297
  }>;
2298
2298
  NTabs: any;
2299
2299
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{