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

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 (219) hide show
  1. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  2. package/es/components/annotation-edit/style/index.css +1 -1
  3. package/es/components/big-table/index.d.ts +3 -4
  4. package/es/components/big-table/src/BigTable.vue.d.ts +3 -4
  5. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  6. package/es/components/big-table/style/index.css +1 -1
  7. package/es/components/button-print/index.d.ts +6 -7
  8. package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -7
  9. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  10. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  11. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  12. package/es/components/button-print/src/utils/print.js +1 -1
  13. package/es/components/fabric-chart/index.d.ts +2 -2
  14. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  15. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  18. package/es/components/field-set/index.d.ts +2 -2
  19. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  20. package/es/components/form-config/index.d.ts +37 -46
  21. package/es/components/form-config/src/FormConfig.vue.d.ts +37 -46
  22. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  23. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -16
  24. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -19
  25. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -9
  26. package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
  27. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -33
  28. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  29. package/es/components/form-config/style/index.css +1 -1
  30. package/es/components/form-render/index.d.ts +16 -16
  31. package/es/components/form-render/src/FormRender.vue.d.ts +16 -16
  32. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -16
  33. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  34. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  35. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  36. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  37. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  38. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  39. package/es/components/form-render/src/components/renderer/select.js +1 -1
  40. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  41. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  42. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -4
  43. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  44. package/es/components/form-render/style/index.css +1 -1
  45. package/es/components/iho-table/index.d.ts +0 -3
  46. package/es/components/iho-table/src/IhoTable.vue.d.ts +0 -3
  47. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  48. package/es/components/iho-table/src/constants/index.d.ts +4 -4
  49. package/es/components/iho-table/src/constants/index.js +1 -1
  50. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  51. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +7 -20
  52. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  53. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -18
  54. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  55. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.d.ts +2 -0
  56. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/timeUtils.js +1 -0
  57. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  58. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  59. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  60. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
  61. package/es/components/iho-table/src/types/index.d.ts +0 -1
  62. package/es/components/iho-table/src/utils/index.d.ts +0 -1
  63. package/es/components/iho-table/src/utils/index.js +1 -1
  64. package/es/components/iho-table/style/index.css +1 -1
  65. package/es/components/index.css +1 -1
  66. package/es/components/index.d.ts +2 -8
  67. package/es/components/index.js +1 -1
  68. package/es/components/info-header/index.d.ts +156 -3799
  69. package/es/components/info-header/src/InfoHeader.vue.d.ts +156 -3800
  70. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  71. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  72. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  73. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  74. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +139 -2669
  75. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  76. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -745
  77. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  78. package/es/components/info-header/src/types/index.d.ts +3 -17
  79. package/es/components/info-header/style/index.css +1 -1
  80. package/es/components/keyboard/index.d.ts +2 -4
  81. package/es/components/keyboard/src/Keyboard.vue.d.ts +2 -4
  82. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  83. package/es/components/keyboard/style/index.css +1 -1
  84. package/es/components/recommend-search/index.d.ts +2 -2
  85. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  86. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  87. package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
  88. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  89. package/es/components/scale-view/src/hooks/use-component.d.ts +116 -69
  90. package/es/components/search-cascader/index.d.ts +2 -2
  91. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  92. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  93. package/es/components/select-label/index.d.ts +169 -70
  94. package/es/components/select-label/src/LabelFormContent.vue.d.ts +53 -1
  95. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  96. package/es/components/select-label/src/SelectLabel.vue.d.ts +116 -70
  97. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  98. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  99. package/es/components/select-label/style/index.css +1 -1
  100. package/es/components/select-person/index.d.ts +1 -1
  101. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  102. package/es/components/shortcut-setter/index.d.ts +17 -17
  103. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -17
  104. package/es/components/steps-wheel/index.d.ts +0 -1
  105. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +0 -1
  106. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  107. package/es/components/steps-wheel/style/index.css +1 -1
  108. package/es/components/table-filter/index.d.ts +2385 -0
  109. package/es/components/table-filter/index.js +1 -1
  110. package/es/components/{base-search/src/index.vue.d.ts → table-filter/src/base-search-com/BaseSearch.vue.d.ts} +91 -26
  111. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -0
  112. package/es/components/{classification/src/index.vue.d.ts → table-filter/src/classification/Classification-com.vue.d.ts} +291 -57
  113. package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -0
  114. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +0 -1
  115. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  116. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +42 -1
  117. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  118. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  119. package/es/components/table-filter/src/components/render-widget/enums.d.ts +8 -0
  120. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  121. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +1 -2
  122. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  123. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  124. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  125. package/es/components/{classification → table-filter}/src/components/search-filter/index.vue.d.ts +93 -10
  126. package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
  127. package/es/components/{classification → table-filter}/src/components/set-classification/index.vue.d.ts +130 -5
  128. package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
  129. package/es/components/{classification → table-filter}/src/components/table-modal/index.vue.d.ts +42 -0
  130. package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
  131. package/es/components/table-filter/src/const/index.d.ts +5 -0
  132. package/es/components/table-filter/src/const/index.js +1 -0
  133. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -4
  134. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  135. package/es/components/table-filter/src/hooks/useMixins.d.ts +54 -1
  136. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  137. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  138. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
  139. package/es/components/table-filter/src/hooks/useTableSearchCon.js +1 -0
  140. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
  141. package/es/components/table-filter/src/hooks/useWordBookutils.js +1 -0
  142. package/es/components/{quick-search/src/index.vue.d.ts → table-filter/src/quick-search/QuickSearch.vue.d.ts} +120 -31
  143. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -0
  144. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  145. package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
  146. package/es/components/table-filter/src/tool/time-domain.js +1 -0
  147. package/es/components/table-filter/src/tool/transformData.d.ts +37 -1
  148. package/es/components/table-filter/src/tool/transformData.js +1 -1
  149. package/es/components/table-filter/src/tool/utils.d.ts +4 -0
  150. package/es/components/table-filter/src/tool/utils.js +1 -0
  151. package/es/components/table-filter/src/types/enums.d.ts +0 -1
  152. package/es/components/table-filter/src/types/enums.js +1 -1
  153. package/es/components/table-filter/src/types/index.d.ts +169 -13
  154. package/es/components/table-filter/style/index.css +1 -0
  155. package/es/shared/utils/index.d.ts +0 -1
  156. package/es/shared/utils/index.js +1 -1
  157. package/package.json +2 -2
  158. package/es/components/base-search/index.d.ts +0 -293
  159. package/es/components/base-search/index.js +0 -1
  160. package/es/components/base-search/src/index.vue.js +0 -1
  161. package/es/components/base-search/style/iconfont.ttf +0 -0
  162. package/es/components/base-search/style/index.css +0 -1
  163. package/es/components/button-print/src/api.d.ts +0 -3
  164. package/es/components/button-print/src/api.js +0 -1
  165. package/es/components/classification/index.d.ts +0 -995
  166. package/es/components/classification/index.js +0 -1
  167. package/es/components/classification/src/components/search-filter/index.vue.js +0 -1
  168. package/es/components/classification/src/components/set-classification/index.vue.js +0 -1
  169. package/es/components/classification/src/components/table-modal/index.vue.js +0 -1
  170. package/es/components/classification/src/const/index.d.ts +0 -2
  171. package/es/components/classification/src/const/index.js +0 -1
  172. package/es/components/classification/src/index.vue.js +0 -1
  173. package/es/components/classification/style/iconfont.ttf +0 -0
  174. package/es/components/classification/style/index.css +0 -1
  175. package/es/components/config-provider/index.d.ts +0 -14
  176. package/es/components/config-provider/index.js +0 -1
  177. package/es/components/config-provider/src/ConfigProvider.d.ts +0 -14
  178. package/es/components/config-provider/src/ConfigProvider.js +0 -1
  179. package/es/components/config-provider/src/interface.d.ts +0 -19
  180. package/es/components/config-provider/src/interface.js +0 -1
  181. package/es/components/config-provider/src/utils/index.d.ts +0 -2
  182. package/es/components/config-provider/src/utils/index.js +0 -1
  183. package/es/components/date-picker/index.d.ts +0 -20
  184. package/es/components/date-picker/index.js +0 -1
  185. package/es/components/date-picker/src/DatePicker.vue.d.ts +0 -20
  186. package/es/components/date-picker/src/DatePicker.vue.js +0 -1
  187. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +0 -1842
  188. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +0 -1
  189. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +0 -1972
  190. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +0 -1
  191. package/es/components/info-header/src/constants/index.d.ts +0 -4
  192. package/es/components/info-header/src/constants/index.js +0 -1
  193. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +0 -4
  194. package/es/components/info-header/src/hooks/useThemeOverrides.js +0 -1
  195. package/es/components/keyboard/src/constants/index.d.ts +0 -2
  196. package/es/components/keyboard/src/constants/index.js +0 -1
  197. package/es/components/quick-search/index.d.ts +0 -713
  198. package/es/components/quick-search/index.js +0 -1
  199. package/es/components/quick-search/src/index.vue.js +0 -1
  200. package/es/components/quick-search/style/index.css +0 -1
  201. package/es/components/select-label/style/iconfont.ttf +0 -0
  202. package/es/components/steps-wheel/src/constants/index.d.ts +0 -2
  203. package/es/components/steps-wheel/src/constants/index.js +0 -1
  204. package/es/components/time-picker/index.d.ts +0 -18
  205. package/es/components/time-picker/index.js +0 -1
  206. package/es/components/time-picker/src/TimePicker.vue.d.ts +0 -18
  207. package/es/components/time-picker/src/TimePicker.vue.js +0 -1
  208. package/es/shared/mixins/index.d.ts +0 -1
  209. package/es/shared/mixins/index.js +0 -1
  210. package/es/shared/mixins/useTheme.d.ts +0 -3
  211. package/es/shared/mixins/useTheme.js +0 -1
  212. /package/es/components/{classification → table-filter}/src/directive/flexibleResize.d.ts +0 -0
  213. /package/es/components/{classification → table-filter}/src/directive/flexibleResize.js +0 -0
  214. /package/es/components/{base-search → table-filter}/src/directive/resize.d.ts +0 -0
  215. /package/es/components/{base-search → table-filter}/src/directive/resize.js +0 -0
  216. /package/es/components/table-filter/src/tool/{baseOptions.d.ts → options.d.ts} +0 -0
  217. /package/es/components/table-filter/src/tool/{baseOptions.js → options.js} +0 -0
  218. /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.d.ts +0 -0
  219. /package/es/components/{base-search → table-filter}/src/tool/resizeSensor.js +0 -0
@@ -1,108 +1,83 @@
1
- import { PropType } from 'vue';
2
1
  import { handleLabelColor } from '../../../../es/shared/utils/vexutils';
3
2
  declare const _default: import("vue").DefineComponent<{
4
3
  selectedList: {
5
- type: PropType<any[]>;
4
+ type: ArrayConstructor;
5
+ required: false;
6
6
  default: () => never[];
7
7
  };
8
8
  item: {
9
- type: PropType<any>;
9
+ type: null;
10
+ required: false;
10
11
  default: () => {};
11
12
  };
12
13
  isDetail: {
13
14
  type: BooleanConstructor;
15
+ required: false;
14
16
  default: boolean;
15
17
  };
16
18
  isLock: {
17
19
  type: BooleanConstructor;
20
+ required: false;
18
21
  default: boolean;
19
22
  };
20
23
  sourceType: {
21
24
  type: StringConstructor;
25
+ required: false;
22
26
  default: string;
23
27
  };
24
- explicit: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
28
  getLabelList: {
29
29
  type: FunctionConstructor;
30
+ required: false;
30
31
  default: () => Promise<{
31
32
  rows: never[];
32
33
  }>;
33
34
  };
35
+ explicit: {
36
+ type: BooleanConstructor;
37
+ required: false;
38
+ default: boolean;
39
+ };
40
+ explicitHeiht: {
41
+ type: StringConstructor;
42
+ required: false;
43
+ default: string;
44
+ };
34
45
  queryCommonlabels: {
35
46
  type: FunctionConstructor;
47
+ required: false;
36
48
  default: () => Promise<{
37
49
  data: {};
38
50
  }>;
39
51
  };
40
52
  deleteLabel: {
41
53
  type: FunctionConstructor;
54
+ required: false;
42
55
  default: () => Promise<{
43
56
  status: boolean;
44
57
  }>;
45
58
  };
46
59
  saveLabelItem: {
47
60
  type: FunctionConstructor;
61
+ required: false;
48
62
  default: () => Promise<{
49
63
  status: boolean;
50
64
  }>;
51
65
  };
52
66
  }, {
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;
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;
106
81
  labelFormContentRef: any;
107
82
  state: {
108
83
  labelVisible: boolean;
@@ -119,6 +94,7 @@ declare const _default: import("vue").DefineComponent<{
119
94
  };
120
95
  updateCommonChecked: (value: boolean, item: any) => void;
121
96
  item_is_edit: import("vue").ComputedRef<any>;
97
+ titleRender: () => JSX.Element;
122
98
  hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
123
99
  getCommonlabelsList: (type: any) => Promise<void>;
124
100
  closeTag: (d: {
@@ -255,6 +231,58 @@ declare const _default: import("vue").DefineComponent<{
255
231
  anchorGetContainer: () => any;
256
232
  handleResetOptions: () => void;
257
233
  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
+ }>;
258
286
  NAnchor: any;
259
287
  NAnchorLink: import("vue").DefineComponent<{
260
288
  readonly title: StringConstructor;
@@ -453,71 +481,89 @@ declare const _default: import("vue").DefineComponent<{
453
481
  item: any;
454
482
  isLock: boolean;
455
483
  sourceType: string;
456
- explicit: boolean;
457
484
  getLabelList: Function;
485
+ explicit: boolean;
458
486
  deleteLabel: Function;
459
487
  saveLabelItem: Function;
460
488
  }>;
461
489
  handleLabelColor: typeof handleLabelColor;
462
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
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<{
463
491
  selectedList: {
464
- type: PropType<any[]>;
492
+ type: ArrayConstructor;
493
+ required: false;
465
494
  default: () => never[];
466
495
  };
467
496
  item: {
468
- type: PropType<any>;
497
+ type: null;
498
+ required: false;
469
499
  default: () => {};
470
500
  };
471
501
  isDetail: {
472
502
  type: BooleanConstructor;
503
+ required: false;
473
504
  default: boolean;
474
505
  };
475
506
  isLock: {
476
507
  type: BooleanConstructor;
508
+ required: false;
477
509
  default: boolean;
478
510
  };
479
511
  sourceType: {
480
512
  type: StringConstructor;
513
+ required: false;
481
514
  default: string;
482
515
  };
483
- explicit: {
484
- type: BooleanConstructor;
485
- default: boolean;
486
- };
487
516
  getLabelList: {
488
517
  type: FunctionConstructor;
518
+ required: false;
489
519
  default: () => Promise<{
490
520
  rows: never[];
491
521
  }>;
492
522
  };
523
+ explicit: {
524
+ type: BooleanConstructor;
525
+ required: false;
526
+ default: boolean;
527
+ };
528
+ explicitHeiht: {
529
+ type: StringConstructor;
530
+ required: false;
531
+ default: string;
532
+ };
493
533
  queryCommonlabels: {
494
534
  type: FunctionConstructor;
535
+ required: false;
495
536
  default: () => Promise<{
496
537
  data: {};
497
538
  }>;
498
539
  };
499
540
  deleteLabel: {
500
541
  type: FunctionConstructor;
542
+ required: false;
501
543
  default: () => Promise<{
502
544
  status: boolean;
503
545
  }>;
504
546
  };
505
547
  saveLabelItem: {
506
548
  type: FunctionConstructor;
549
+ required: false;
507
550
  default: () => Promise<{
508
551
  status: boolean;
509
552
  }>;
510
553
  };
511
554
  }>> & {
512
555
  onOnChange?: ((...args: any[]) => any) | undefined;
556
+ onScaleChange?: ((...args: any[]) => any) | undefined;
557
+ onVodFileList?: ((...args: any[]) => any) | undefined;
513
558
  }, {
514
- selectedList: any[];
559
+ selectedList: unknown[];
515
560
  item: any;
516
561
  isDetail: boolean;
517
562
  isLock: boolean;
518
563
  sourceType: string;
519
- explicit: boolean;
520
564
  getLabelList: Function;
565
+ explicit: boolean;
566
+ explicitHeiht: string;
521
567
  queryCommonlabels: Function;
522
568
  deleteLabel: Function;
523
569
  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 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
+ 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 +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 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
+ 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 +1 @@
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}
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}
@@ -299,7 +299,6 @@ 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;
303
302
  defaultList: ((string | number) | {
304
303
  key: string | number;
305
304
  name: string;
@@ -317,6 +316,7 @@ declare const SelectPerson: SFCWithInstall<import("vue").DefineComponent<{
317
316
  };
318
317
  showCount: boolean;
319
318
  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,7 +267,6 @@ declare const _default: import("vue").DefineComponent<{
267
267
  onCheck?: ((...args: any[]) => any) | undefined;
268
268
  }, {
269
269
  data: ITreeOption[];
270
- multiple: boolean;
271
270
  defaultList: (IKey | ITag)[];
272
271
  searchPlaceholder: string;
273
272
  searchButtonText: string;
@@ -275,6 +274,7 @@ declare const _default: import("vue").DefineComponent<{
275
274
  wordbookChild: IWordBookChild<ITreeOption>;
276
275
  showCount: boolean;
277
276
  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" | ({} & 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";
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";
42
42
  annotation?: boolean | undefined;
43
43
  val_key_unit?: string | undefined;
44
44
  is_edit?: import("..").FormCommonState | undefined;
@@ -2140,30 +2140,35 @@ 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;
2150
2143
  value: string;
2151
2144
  readonly index: string | number;
2145
+ disabled: boolean;
2152
2146
  onFocus: (...args: any[]) => Promise<void>;
2153
2147
  onBlur: (...args: any[]) => Promise<void>;
2154
2148
  onInput: (...args: any[]) => Promise<void>;
2149
+ reset: (options?: import("@formily/core").IFieldResetOptions | undefined) => Promise<void>;
2150
+ visible: boolean;
2155
2151
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
2156
2152
  validator: import("@formily/core").FieldValidator;
2157
2153
  pattern: import("@formily/core").FieldPatternTypes;
2158
2154
  title: string;
2159
2155
  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;
2160
2165
  componentProps: Record<string, any>;
2161
2166
  decoratorProps: Record<string, any>;
2162
- description: string;
2163
2167
  readOnly: boolean;
2164
2168
  editable: boolean;
2165
2169
  component: import("@formily/core").FieldComponent<any, any>;
2166
2170
  decorator: import("@formily/core").FieldDecorator<any, any>;
2171
+ readPretty: boolean;
2167
2172
  validating: boolean;
2168
2173
  submitting: boolean;
2169
2174
  visited: boolean;
@@ -2171,7 +2176,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2171
2176
  modified: boolean;
2172
2177
  inputValue: string;
2173
2178
  inputValues: any[];
2174
- dataSource: import("@formily/core").FieldDataSource;
2175
2179
  feedbacks: import("@formily/core").IFieldFeedback[];
2176
2180
  caches: import("@formily/core").IFieldCaches;
2177
2181
  selfErrors: import("@formily/core").FeedbackMessage;
@@ -2202,15 +2206,11 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2202
2206
  queryFeedbacks: (search?: import("@formily/core").ISearchFeedback | undefined) => import("@formily/core").IFieldFeedback[];
2203
2207
  modify: () => void;
2204
2208
  initialized: boolean;
2205
- mounted: boolean;
2206
- unmounted: boolean;
2207
2209
  decoratorType: any;
2208
2210
  componentType: any;
2209
2211
  designable: boolean;
2210
2212
  locate: (address: import("@formily/path").Pattern) => void;
2211
2213
  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<"show" | "if" | "show:lazy">;
2255
+ readonly type: import("vue").PropType<"if" | "show" | "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<"show" | "if" | "show:lazy">;
2280
+ readonly type: import("vue").PropType<"if" | "show" | "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: "show" | "if" | "show:lazy";
2294
+ readonly displayDirective: "if" | "show" | "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" | ({} & 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";
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";
44
44
  annotation?: boolean | undefined;
45
45
  val_key_unit?: string | undefined;
46
46
  is_edit?: import("../../../../es/components/form-render").FormCommonState | undefined;
@@ -2142,30 +2142,35 @@ 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;
2152
2145
  value: string;
2153
2146
  readonly index: string | number;
2147
+ disabled: boolean;
2154
2148
  onFocus: (...args: any[]) => Promise<void>;
2155
2149
  onBlur: (...args: any[]) => Promise<void>;
2156
2150
  onInput: (...args: any[]) => Promise<void>;
2151
+ reset: (options?: import("../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
2152
+ visible: boolean;
2157
2153
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
2158
2154
  validator: import("../../../../es/components/form-render").FieldValidator;
2159
2155
  pattern: import("../../../../es/components/form-render").FieldPatternTypes;
2160
2156
  title: string;
2161
2157
  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;
2162
2167
  componentProps: Record<string, any>;
2163
2168
  decoratorProps: Record<string, any>;
2164
- description: string;
2165
2169
  readOnly: boolean;
2166
2170
  editable: boolean;
2167
2171
  component: import("../../../../es/components/form-render").FieldComponent<any, any>;
2168
2172
  decorator: import("../../../../es/components/form-render").FieldDecorator<any, any>;
2173
+ readPretty: boolean;
2169
2174
  validating: boolean;
2170
2175
  submitting: boolean;
2171
2176
  visited: boolean;
@@ -2173,7 +2178,6 @@ declare const _default: import("vue").DefineComponent<{
2173
2178
  modified: boolean;
2174
2179
  inputValue: string;
2175
2180
  inputValues: any[];
2176
- dataSource: import("../../../../es/components/form-render").FieldDataSource;
2177
2181
  feedbacks: import("../../../../es/components/form-render").IFieldFeedback[];
2178
2182
  caches: import("../../../../es/components/form-render").IFieldCaches;
2179
2183
  selfErrors: import("../../../../es/components/form-render").FeedbackMessage;
@@ -2204,15 +2208,11 @@ declare const _default: import("vue").DefineComponent<{
2204
2208
  queryFeedbacks: (search?: import("../../../../es/components/form-render").ISearchFeedback | undefined) => import("../../../../es/components/form-render").IFieldFeedback[];
2205
2209
  modify: () => void;
2206
2210
  initialized: boolean;
2207
- mounted: boolean;
2208
- unmounted: boolean;
2209
2211
  decoratorType: any;
2210
2212
  componentType: any;
2211
2213
  designable: boolean;
2212
2214
  locate: (address: import("@formily/path").Pattern) => void;
2213
2215
  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<"show" | "if" | "show:lazy">;
2257
+ readonly type: import("vue").PropType<"if" | "show" | "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<"show" | "if" | "show:lazy">;
2282
+ readonly type: import("vue").PropType<"if" | "show" | "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: "show" | "if" | "show:lazy";
2296
+ readonly displayDirective: "if" | "show" | "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<{