cnhis-design-vue 3.1.40-beta.1 → 3.1.40-beta.10

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 (189) hide show
  1. package/README.md +12 -48
  2. package/es/components/form-config/index.d.ts +66 -148
  3. package/es/components/form-config/src/FormConfig.vue.d.ts +66 -148
  4. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +33 -74
  5. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +33 -74
  6. package/es/components/form-render/index.d.ts +33 -74
  7. package/es/components/form-render/src/FormRender.vue.d.ts +33 -74
  8. package/es/components/form-render/src/FormRender.vue.js +36 -20
  9. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +33 -74
  10. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -0
  11. package/es/components/form-render/src/components/renderer/select.js +1 -0
  12. package/es/components/form-render/src/hooks/useAnchor.d.ts +6 -3
  13. package/es/components/form-render/src/hooks/useAnchor.js +26 -26
  14. package/es/components/form-render/src/hooks/useAutoHidden.d.ts +4 -0
  15. package/es/components/form-render/src/hooks/useAutoHidden.js +43 -0
  16. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +7 -10
  17. package/es/components/form-render/src/hooks/useBusinessBinding.js +38 -36
  18. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +2 -6
  19. package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -2
  20. package/es/components/form-render/src/hooks/useFormContext.js +2 -2
  21. package/es/components/form-render/src/types/fieldItem.d.ts +1 -1
  22. package/es/components/form-render/test/basic-config.spec.d.ts +1 -0
  23. package/es/components/form-render/test/renderer.spec.d.ts +1 -0
  24. package/es/components/iho-table/index.d.ts +121 -121
  25. package/es/components/iho-table/src/IhoTable.vue.d.ts +121 -121
  26. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  27. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +59 -59
  28. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  29. package/es/components/index.css +1 -1
  30. package/es/components/index.d.ts +3 -1
  31. package/es/components/index.js +6 -0
  32. package/es/components/info-header/index.d.ts +18 -3
  33. package/es/components/info-header/src/HiddenContent.vue.d.ts +2 -2
  34. package/es/components/info-header/src/InfoEllipsis.vue.d.ts +1 -1
  35. package/es/components/info-header/src/InfoHeader.vue.d.ts +18 -3
  36. package/es/components/info-header/src/InfoHeader.vue.js +33 -19
  37. package/es/components/keyboard/index.d.ts +20 -2
  38. package/es/components/keyboard/src/Keyboard.vue.d.ts +20 -2
  39. package/es/components/keyboard/src/components/InputNumber.vue.d.ts +19 -2
  40. package/es/components/keyboard/src/components/InputNumber.vue.js +15 -5
  41. package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +20 -2
  42. package/es/components/keyboard/src/components/NumberPanel.vue.js +14 -10
  43. package/es/components/recommend-search/index.d.ts +14 -14
  44. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +14 -14
  45. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
  46. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
  47. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
  48. package/es/components/scale-view/index.d.ts +4 -2
  49. package/es/components/scale-view/src/ScaleView.vue.d.ts +7 -2
  50. package/es/components/scale-view/src/ScaleView.vue.js +2 -1
  51. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  52. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
  53. package/es/components/shortcut-provider/index.d.ts +15 -1
  54. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +15 -1
  55. package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +7 -2
  56. package/es/components/shortcut-setter/index.d.ts +33 -74
  57. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +33 -74
  58. package/es/components/steps-wheel/index.d.ts +1 -1
  59. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  60. package/es/components/table-filter/index.d.ts +8933 -0
  61. package/es/components/table-filter/index.js +21 -0
  62. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +3841 -0
  63. package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +2272 -0
  64. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +3198 -0
  65. package/es/components/table-filter/src/classification/Classification-com.vue.js +1315 -0
  66. package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +71 -0
  67. package/es/components/table-filter/src/classification/search-class-name.vue.js +195 -0
  68. package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +1119 -0
  69. package/es/components/table-filter/src/classification/search-professional-model.vue.js +594 -0
  70. package/es/components/table-filter/src/components/age-com/index.vue.d.ts +119 -0
  71. package/es/components/table-filter/src/components/age-com/index.vue.js +185 -0
  72. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +199 -0
  73. package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +86 -0
  74. package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +2 -0
  75. package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +30 -0
  76. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +90 -0
  77. package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +253 -0
  78. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +112 -0
  79. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +114 -0
  80. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +4 -0
  81. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +14 -0
  82. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +20 -0
  83. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +87 -0
  84. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +59 -0
  85. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +147 -0
  86. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +278 -0
  87. package/es/components/table-filter/src/components/classify-filter/index.vue.js +304 -0
  88. package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +113 -0
  89. package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +153 -0
  90. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +266 -0
  91. package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +310 -0
  92. package/es/components/table-filter/src/components/range-age/index.vue.d.ts +248 -0
  93. package/es/components/table-filter/src/components/range-age/index.vue.js +137 -0
  94. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +104 -0
  95. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +64 -0
  96. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +34 -0
  97. package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +45 -0
  98. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -0
  99. package/es/components/table-filter/src/components/render-widget/components/index.js +2 -0
  100. package/es/components/table-filter/src/components/render-widget/enums.d.ts +25 -0
  101. package/es/components/table-filter/src/components/render-widget/enums.js +27 -0
  102. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
  103. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +70 -0
  104. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +32 -0
  105. package/es/components/table-filter/src/components/render-widget/index.vue.js +107 -0
  106. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +199 -0
  107. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +152 -0
  108. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +789 -0
  109. package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +1520 -0
  110. package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +18 -0
  111. package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +171 -0
  112. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +1217 -0
  113. package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +199 -0
  114. package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +1624 -0
  115. package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +241 -0
  116. package/es/components/table-filter/src/components/table-modal/TableModal.vue.d.ts +292 -0
  117. package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +526 -0
  118. package/es/components/table-filter/src/const/dataOptions.d.ts +36 -0
  119. package/es/components/table-filter/src/const/dataOptions.js +107 -0
  120. package/es/components/table-filter/src/const/index.d.ts +5 -0
  121. package/es/components/table-filter/src/const/index.js +5 -0
  122. package/es/components/table-filter/src/directive/flexibleResize.d.ts +28 -0
  123. package/es/components/table-filter/src/directive/flexibleResize.js +157 -0
  124. package/es/components/table-filter/src/directive/preventReClick.d.ts +4 -0
  125. package/es/components/table-filter/src/directive/preventReClick.js +14 -0
  126. package/es/components/table-filter/src/directive/resize.d.ts +4 -0
  127. package/es/components/table-filter/src/directive/resize.js +12 -0
  128. package/es/components/table-filter/src/hooks/export.d.ts +1 -0
  129. package/es/components/table-filter/src/hooks/export.js +1 -0
  130. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +28 -0
  131. package/es/components/table-filter/src/hooks/useAdvanced.js +64 -0
  132. package/es/components/table-filter/src/hooks/useMixins.d.ts +60 -0
  133. package/es/components/table-filter/src/hooks/useMixins.js +532 -0
  134. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +15 -0
  135. package/es/components/table-filter/src/hooks/useRenderWidget.js +94 -0
  136. package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
  137. package/es/components/table-filter/src/hooks/useTableSearchCon.js +131 -0
  138. package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
  139. package/es/components/table-filter/src/hooks/useWordBookutils.js +91 -0
  140. package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +1942 -0
  141. package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +2038 -0
  142. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +14 -0
  143. package/es/components/table-filter/src/tool/generateDefOptions.js +65 -0
  144. package/es/components/table-filter/src/tool/getWidgetType.d.ts +1 -0
  145. package/es/components/table-filter/src/tool/getWidgetType.js +27 -0
  146. package/es/components/table-filter/src/tool/options.d.ts +18 -0
  147. package/es/components/table-filter/src/tool/options.js +200 -0
  148. package/es/components/table-filter/src/tool/resizeSensor.d.ts +16 -0
  149. package/es/components/table-filter/src/tool/resizeSensor.js +123 -0
  150. package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
  151. package/es/components/table-filter/src/tool/time-domain.js +100 -0
  152. package/es/components/table-filter/src/tool/transformData.d.ts +92 -0
  153. package/es/components/table-filter/src/tool/transformData.js +169 -0
  154. package/es/components/table-filter/src/tool/utils.d.ts +4 -0
  155. package/es/components/table-filter/src/tool/utils.js +29 -0
  156. package/es/components/table-filter/src/types/enums.d.ts +65 -0
  157. package/es/components/table-filter/src/types/enums.js +67 -0
  158. package/es/components/table-filter/src/types/index.d.ts +483 -0
  159. package/es/components/table-filter/src/types/index.js +1 -0
  160. package/es/components/table-filter/src/types/tool.d.ts +7 -0
  161. package/es/components/table-filter/src/types/tool.js +1 -0
  162. package/es/components/table-filter/style/index.css +1 -0
  163. package/es/shared/assets/img/failure.js +1 -1
  164. package/es/shared/assets/img/failure.png.js +1 -1
  165. package/es/shared/assets/img/icon-asc.js +1 -1
  166. package/es/shared/assets/img/icon-desc.js +1 -1
  167. package/es/shared/assets/img/no-permission.js +1 -1
  168. package/es/shared/assets/img/no-permission.png.js +1 -1
  169. package/es/shared/assets/img/nodata.js +1 -1
  170. package/es/shared/assets/img/nodata.png.js +1 -1
  171. package/es/shared/assets/img/notfound.js +1 -1
  172. package/es/shared/assets/img/notfound.png.js +1 -1
  173. package/es/shared/assets/img/qr.js +1 -1
  174. package/es/shared/assets/img/qr.png.js +1 -1
  175. package/es/shared/assets/img/success.js +1 -1
  176. package/es/shared/assets/img/success.png.js +1 -1
  177. package/es/shared/assets/img/video.js +1 -1
  178. package/es/shared/assets/img/video.png.js +1 -1
  179. package/es/shared/assets/img/video_default_cover.js +1 -1
  180. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  181. package/es/shared/assets/img/video_hover.js +1 -1
  182. package/es/shared/assets/img/video_play_hover.js +1 -1
  183. package/es/shared/assets/img/xb_big.js +1 -1
  184. package/es/shared/assets/img/xb_big.png.js +1 -1
  185. package/es/shared/assets/img/xb_small.js +1 -1
  186. package/es/shared/assets/img/xb_small.png.js +1 -1
  187. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
  188. package/es/shared/utils/utilExpand.js +66 -0
  189. package/package.json +3 -3
@@ -21,6 +21,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
21
21
  tagList?: Partial<{
22
22
  type?: "warning" | "info" | undefined;
23
23
  content: string;
24
+ render?: any;
24
25
  color?: {
25
26
  color?: string | undefined;
26
27
  textColor?: string | undefined;
@@ -81,6 +82,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
81
82
  tagList?: Partial<{
82
83
  type?: "warning" | "info" | undefined;
83
84
  content: string;
85
+ render?: any;
84
86
  color?: {
85
87
  color?: string | undefined;
86
88
  textColor?: string | undefined;
@@ -142,6 +144,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
142
144
  getTagColor: ({ type }: Partial<{
143
145
  type?: "warning" | "info" | undefined;
144
146
  content: string;
147
+ render?: any;
145
148
  color?: {
146
149
  color?: string | undefined;
147
150
  textColor?: string | undefined;
@@ -150,6 +153,15 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
150
153
  color: string;
151
154
  textColor: string;
152
155
  };
156
+ tagListExcludeEmpty: import("vue").ComputedRef<Partial<{
157
+ type?: "warning" | "info" | undefined;
158
+ content: string;
159
+ render?: any;
160
+ color?: {
161
+ color?: string | undefined;
162
+ textColor?: string | undefined;
163
+ } | undefined;
164
+ }>[]>;
153
165
  getDescriptionItemStyle: ({ bold, contentStyle }?: import("../../../es/shared/types").AnyObject) => import("vue").CSSProperties;
154
166
  getEllipsisStyle: (index: number, { bold, contentStyle }?: import("../../../es/shared/types").AnyObject) => import("vue").CSSProperties;
155
167
  needHidden: (item: import("../../../es/shared/types").AnyObject) => boolean;
@@ -195,6 +207,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
195
207
  NScrollbar: any;
196
208
  NImage: any;
197
209
  NPopover: any;
210
+ NEllipsis: any;
198
211
  SlotRender: import("vue").DefineComponent<{
199
212
  renderer: {
200
213
  type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("../../../es/shared/types").Func<any[], any>>;
@@ -240,8 +253,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
240
253
  default: () => {};
241
254
  };
242
255
  }>>, {
243
- contentStyle: import("vue").CSSProperties;
244
256
  content: string;
257
+ contentStyle: import("vue").CSSProperties;
245
258
  }>;
246
259
  HiddenContent: import("vue").DefineComponent<{
247
260
  content: {
@@ -307,8 +320,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
307
320
  default: () => {};
308
321
  };
309
322
  }>>, {
310
- contentStyle: import("vue").CSSProperties;
311
323
  content: string;
324
+ contentStyle: import("vue").CSSProperties;
312
325
  }>;
313
326
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
314
327
  content: {
@@ -324,8 +337,8 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
324
337
  default: () => {};
325
338
  };
326
339
  }>>, {
327
- contentStyle: import("vue").CSSProperties;
328
340
  content: string;
341
+ contentStyle: import("vue").CSSProperties;
329
342
  }>;
330
343
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("openPatientInfo" | "fieldSet" | "update:compact")[], "openPatientInfo" | "fieldSet" | "update:compact", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
331
344
  compact: {
@@ -349,6 +362,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
349
362
  tagList?: Partial<{
350
363
  type?: "warning" | "info" | undefined;
351
364
  content: string;
365
+ render?: any;
352
366
  color?: {
353
367
  color?: string | undefined;
354
368
  textColor?: string | undefined;
@@ -404,6 +418,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
404
418
  tagList?: Partial<{
405
419
  type?: "warning" | "info" | undefined;
406
420
  content: string;
421
+ render?: any;
407
422
  color?: {
408
423
  color?: string | undefined;
409
424
  textColor?: string | undefined;
@@ -63,8 +63,8 @@ declare const _default: import("vue").DefineComponent<{
63
63
  default: () => {};
64
64
  };
65
65
  }>>, {
66
- contentStyle: CSSProperties;
67
66
  content: string;
67
+ contentStyle: CSSProperties;
68
68
  }>;
69
69
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
70
70
  content: {
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
80
80
  default: () => {};
81
81
  };
82
82
  }>>, {
83
- contentStyle: CSSProperties;
84
83
  content: string;
84
+ contentStyle: CSSProperties;
85
85
  }>;
86
86
  export default _default;
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  default: () => {};
28
28
  };
29
29
  }>>, {
30
- contentStyle: CSSProperties;
31
30
  content: string;
31
+ contentStyle: CSSProperties;
32
32
  }>;
33
33
  export default _default;
@@ -3,6 +3,7 @@ import { CSSProperties, PropType, VNode } from 'vue';
3
3
  declare type PatientTag = Partial<{
4
4
  type?: 'warning' | 'info';
5
5
  content: string;
6
+ render?: any;
6
7
  color?: {
7
8
  color?: string;
8
9
  textColor?: string;
@@ -30,6 +31,7 @@ declare const _default: import("vue").DefineComponent<{
30
31
  tagList?: Partial<{
31
32
  type?: "warning" | "info" | undefined;
32
33
  content: string;
34
+ render?: any;
33
35
  color?: {
34
36
  color?: string | undefined;
35
37
  textColor?: string | undefined;
@@ -88,6 +90,7 @@ declare const _default: import("vue").DefineComponent<{
88
90
  tagList?: Partial<{
89
91
  type?: "warning" | "info" | undefined;
90
92
  content: string;
93
+ render?: any;
91
94
  color?: {
92
95
  color?: string | undefined;
93
96
  textColor?: string | undefined;
@@ -144,6 +147,15 @@ declare const _default: import("vue").DefineComponent<{
144
147
  color: string;
145
148
  textColor: string;
146
149
  };
150
+ tagListExcludeEmpty: import("vue").ComputedRef<Partial<{
151
+ type?: "warning" | "info" | undefined;
152
+ content: string;
153
+ render?: any;
154
+ color?: {
155
+ color?: string | undefined;
156
+ textColor?: string | undefined;
157
+ } | undefined;
158
+ }>[]>;
147
159
  getDescriptionItemStyle: ({ bold, contentStyle }?: AnyObject) => CSSProperties;
148
160
  getEllipsisStyle: (index: number, { bold, contentStyle }?: AnyObject) => CSSProperties;
149
161
  needHidden: (item: AnyObject) => boolean;
@@ -189,6 +201,7 @@ declare const _default: import("vue").DefineComponent<{
189
201
  NScrollbar: any;
190
202
  NImage: any;
191
203
  NPopover: any;
204
+ NEllipsis: any;
192
205
  SlotRender: import("vue").DefineComponent<{
193
206
  renderer: {
194
207
  type: PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | Func<any[], any>>;
@@ -234,8 +247,8 @@ declare const _default: import("vue").DefineComponent<{
234
247
  default: () => {};
235
248
  };
236
249
  }>>, {
237
- contentStyle: CSSProperties;
238
250
  content: string;
251
+ contentStyle: CSSProperties;
239
252
  }>;
240
253
  HiddenContent: import("vue").DefineComponent<{
241
254
  content: {
@@ -301,8 +314,8 @@ declare const _default: import("vue").DefineComponent<{
301
314
  default: () => {};
302
315
  };
303
316
  }>>, {
304
- contentStyle: CSSProperties;
305
317
  content: string;
318
+ contentStyle: CSSProperties;
306
319
  }>;
307
320
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
308
321
  content: {
@@ -318,8 +331,8 @@ declare const _default: import("vue").DefineComponent<{
318
331
  default: () => {};
319
332
  };
320
333
  }>>, {
321
- contentStyle: CSSProperties;
322
334
  content: string;
335
+ contentStyle: CSSProperties;
323
336
  }>;
324
337
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("openPatientInfo" | "fieldSet" | "update:compact")[], "openPatientInfo" | "fieldSet" | "update:compact", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
325
338
  compact: {
@@ -343,6 +356,7 @@ declare const _default: import("vue").DefineComponent<{
343
356
  tagList?: Partial<{
344
357
  type?: "warning" | "info" | undefined;
345
358
  content: string;
359
+ render?: any;
346
360
  color?: {
347
361
  color?: string | undefined;
348
362
  textColor?: string | undefined;
@@ -396,6 +410,7 @@ declare const _default: import("vue").DefineComponent<{
396
410
  tagList?: Partial<{
397
411
  type?: "warning" | "info" | undefined;
398
412
  content: string;
413
+ render?: any;
399
414
  color?: {
400
415
  color?: string | undefined;
401
416
  textColor?: string | undefined;
@@ -1,6 +1,6 @@
1
- import { defineComponent, computed, ref, nextTick, onMounted, watch, onBeforeUnmount, onDeactivated, onActivated, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createCommentVNode, renderSlot, Fragment, createVNode, unref, withCtx, mergeProps, toDisplayString, renderList, withDirectives, createBlock, createTextVNode, vShow, resolveDynamicComponent, h } from 'vue';
2
- import { isString } from 'lodash-es';
3
- import { NPopover, NImage, NTag, NScrollbar, NDescriptions, NDescriptionsItem } from 'naive-ui';
1
+ import { defineComponent, computed, ref, nextTick, onMounted, watch, onBeforeUnmount, onDeactivated, onActivated, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createCommentVNode, renderSlot, Fragment, createVNode, unref, withCtx, mergeProps, toDisplayString, renderList, createBlock, resolveDynamicComponent, createTextVNode, h } from 'vue';
2
+ import { isString, isArray } from 'lodash-es';
3
+ import { NPopover, NImage, NTag, NEllipsis, NScrollbar, NDescriptions, NDescriptionsItem } from 'naive-ui';
4
4
  import { useThrottleFn, useEventListener } from '@vueuse/core';
5
5
  import script$1 from '../../../shared/components/SlotRender/SlotRender.js';
6
6
  import InfoEllipsis from './InfoEllipsis.vue.js';
@@ -94,6 +94,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
94
94
  const textColorMap = { warning: "#fff", info: "#2563F4" };
95
95
  return { color: colorMap[type], textColor: textColorMap[type] };
96
96
  }
97
+ const tagListExcludeEmpty = computed(() => {
98
+ if (!props.patientInfo || !isArray(props.patientInfo.tagList))
99
+ return [];
100
+ return props.patientInfo.tagList.filter((tag) => tag.render || isString(tag.content) && tag.content);
101
+ });
97
102
  function getDescriptionItemStyle({ bold = true, contentStyle = {} } = {}) {
98
103
  return { fontWeight: bold ? 700 : 500, ...contentStyle };
99
104
  }
@@ -125,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
125
130
  if (!labels)
126
131
  return;
127
132
  descriptionWidthList.value = Array.from(labels).map((label) => {
128
- return maxColumnWidth.value - label.clientWidth - 20;
133
+ return maxColumnWidth.value - label.clientWidth - 8;
129
134
  });
130
135
  },
131
136
  200,
@@ -196,21 +201,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
196
201
  __props.patientInfo.name ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(__props.patientInfo.name), 1)) : createCommentVNode("v-if", true),
197
202
  __props.patientInfo.sex ? (openBlock(), createElementBlock("div", _hoisted_6, "/ " + toDisplayString(__props.patientInfo.sex), 1)) : createCommentVNode("v-if", true),
198
203
  __props.patientInfo.age ? (openBlock(), createElementBlock("div", _hoisted_7, " / " + toDisplayString(__props.patientInfo.age) + toDisplayString(__props.patientInfo.ageUnit || "\u5C81"), 1)) : createCommentVNode("v-if", true),
199
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.patientInfo.tagList || [], (tag) => {
200
- return withDirectives((openBlock(), createBlock(unref(NTag), mergeProps({
201
- key: tag.content,
202
- size: "medium",
203
- bordered: false,
204
- color: getTagColor(tag)
205
- }, tag), {
206
- default: withCtx(() => [
207
- createTextVNode(toDisplayString(tag.content), 1)
208
- ]),
209
- _: 2
210
- }, 1040, ["color"])), [
211
- [vShow, tag.content]
212
- ]);
213
- }), 128))
204
+ createCommentVNode(" tag\u533A\u63D2\u69FD "),
205
+ renderSlot(_ctx.$slots, "tags", { tagList: unref(tagListExcludeEmpty) }, () => [
206
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.patientInfo.tagList || [], (tag) => {
207
+ return openBlock(), createBlock(unref(NTag), mergeProps({
208
+ key: tag.content,
209
+ size: "medium",
210
+ bordered: false,
211
+ color: getTagColor(tag)
212
+ }, tag), {
213
+ default: withCtx(() => [
214
+ tag.render ? (openBlock(), createBlock(resolveDynamicComponent(tag.render), { key: 0 })) : (openBlock(), createBlock(unref(NEllipsis), {
215
+ key: 1,
216
+ style: { "max-width": "96px" }
217
+ }, {
218
+ default: withCtx(() => [
219
+ createTextVNode(toDisplayString(tag.content), 1)
220
+ ]),
221
+ _: 2
222
+ }, 1024))
223
+ ]),
224
+ _: 2
225
+ }, 1040, ["color"]);
226
+ }), 128))
227
+ ])
214
228
  ]),
215
229
  createCommentVNode(" \u5934\u50CF\u4FE1\u606F\u533A\u63D2\u69FD "),
216
230
  renderSlot(_ctx.$slots, "avatarInfo")
@@ -181,6 +181,7 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
181
181
  inputValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
182
182
  numeratorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
183
183
  denominatorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
184
+ inputSelect: import("vue").Ref<boolean>;
184
185
  keyboardRef: import("vue").Ref<HTMLElement | null>;
185
186
  style: import("vue").ComputedRef<string> | undefined;
186
187
  init: () => import("vue").ComputedRef<string> | undefined;
@@ -207,6 +208,10 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
207
208
  type: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
208
209
  default: string;
209
210
  };
211
+ select: {
212
+ type: BooleanConstructor;
213
+ default: boolean;
214
+ };
210
215
  }, {
211
216
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
212
217
  modelValue: {
@@ -221,22 +226,29 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
221
226
  type: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
222
227
  default: string;
223
228
  };
229
+ select: {
230
+ type: BooleanConstructor;
231
+ default: boolean;
232
+ };
224
233
  }>> & {
225
234
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
226
235
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
236
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
227
237
  }>>;
228
- emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
238
+ emit: (event: "update:modelValue" | "update:status" | "update:select", ...args: any[]) => void;
229
239
  inputRef: any;
230
240
  toSelectInputContent: import("vue").Ref<number>;
231
241
  update: (value: string | [string, string]) => void;
232
242
  validator: (value: string) => boolean;
233
243
  calculate: (type: string) => void;
244
+ unSelect: () => void;
245
+ onSelect: () => void;
234
246
  NInput: any;
235
247
  NIcon: any;
236
248
  NSpace: any;
237
249
  CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
238
250
  CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
239
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
251
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status" | "update:select")[], "update:modelValue" | "update:status" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
240
252
  modelValue: {
241
253
  type: StringConstructor;
242
254
  default: string;
@@ -249,13 +261,19 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
249
261
  type: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
250
262
  default: string;
251
263
  };
264
+ select: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
252
268
  }>> & {
253
269
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
254
270
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
271
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
255
272
  }, {
256
273
  modelValue: string;
257
274
  status: import("naive-ui/es/form/src/interface").FormValidationStatus;
258
275
  integer: boolean;
276
+ select: boolean;
259
277
  }>;
260
278
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
261
279
  defaultValue: {
@@ -182,6 +182,7 @@ declare const _default: import("vue").DefineComponent<{
182
182
  inputValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
183
183
  numeratorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
184
184
  denominatorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
185
+ inputSelect: import("vue").Ref<boolean>;
185
186
  keyboardRef: import("vue").Ref<HTMLElement | null>;
186
187
  style: import("vue").ComputedRef<string> | undefined;
187
188
  init: () => import("vue").ComputedRef<string> | undefined;
@@ -208,6 +209,10 @@ declare const _default: import("vue").DefineComponent<{
208
209
  type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
209
210
  default: string;
210
211
  };
212
+ select: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
211
216
  }, {
212
217
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
213
218
  modelValue: {
@@ -222,22 +227,29 @@ declare const _default: import("vue").DefineComponent<{
222
227
  type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
223
228
  default: string;
224
229
  };
230
+ select: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
225
234
  }>> & {
226
235
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
227
236
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
237
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
228
238
  }>>;
229
- emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
239
+ emit: (event: "update:modelValue" | "update:status" | "update:select", ...args: any[]) => void;
230
240
  inputRef: any;
231
241
  toSelectInputContent: import("vue").Ref<number>;
232
242
  update: (value: string | [string, string]) => void;
233
243
  validator: (value: string) => boolean;
234
244
  calculate: (type: string) => void;
245
+ unSelect: () => void;
246
+ onSelect: () => void;
235
247
  NInput: any;
236
248
  NIcon: any;
237
249
  NSpace: any;
238
250
  CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
239
251
  CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
240
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
252
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status" | "update:select")[], "update:modelValue" | "update:status" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
241
253
  modelValue: {
242
254
  type: StringConstructor;
243
255
  default: string;
@@ -250,13 +262,19 @@ declare const _default: import("vue").DefineComponent<{
250
262
  type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
251
263
  default: string;
252
264
  };
265
+ select: {
266
+ type: BooleanConstructor;
267
+ default: boolean;
268
+ };
253
269
  }>> & {
254
270
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
255
271
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
272
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
256
273
  }, {
257
274
  modelValue: string;
258
275
  status: import("naive-ui/es/form/src/interface").FormValidationStatus;
259
276
  integer: boolean;
277
+ select: boolean;
260
278
  }>;
261
279
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
262
280
  defaultValue: {
@@ -13,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: PropType<FormValidationStatus>;
14
14
  default: string;
15
15
  };
16
+ select: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
16
20
  }, {
17
21
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
18
22
  modelValue: {
@@ -27,22 +31,29 @@ declare const _default: import("vue").DefineComponent<{
27
31
  type: PropType<FormValidationStatus>;
28
32
  default: string;
29
33
  };
34
+ select: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
30
38
  }>> & {
31
39
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
32
40
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
41
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
33
42
  }>>;
34
- emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
43
+ emit: (event: "update:modelValue" | "update:status" | "update:select", ...args: any[]) => void;
35
44
  inputRef: any;
36
45
  toSelectInputContent: Ref<number>;
37
46
  update: (value: string | [string, string]) => void;
38
47
  validator: (value: string) => boolean;
39
48
  calculate: (type: string) => void;
49
+ unSelect: () => void;
50
+ onSelect: () => void;
40
51
  NInput: any;
41
52
  NIcon: any;
42
53
  NSpace: any;
43
54
  CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
44
55
  CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
45
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status" | "update:select")[], "update:modelValue" | "update:status" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
57
  modelValue: {
47
58
  type: StringConstructor;
48
59
  default: string;
@@ -55,12 +66,18 @@ declare const _default: import("vue").DefineComponent<{
55
66
  type: PropType<FormValidationStatus>;
56
67
  default: string;
57
68
  };
69
+ select: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
58
73
  }>> & {
59
74
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
60
75
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
76
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
61
77
  }, {
62
78
  modelValue: string;
63
79
  status: FormValidationStatus;
64
80
  integer: boolean;
81
+ select: boolean;
65
82
  }>;
66
83
  export default _default;
@@ -9,9 +9,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  props: {
10
10
  modelValue: { type: String, default: "" },
11
11
  integer: { type: Boolean, default: false },
12
- status: { type: String, default: "success" }
12
+ status: { type: String, default: "success" },
13
+ select: { type: Boolean, default: false }
13
14
  },
14
- emits: ["update:modelValue", "update:status"],
15
+ emits: ["update:modelValue", "update:status", "update:select"],
15
16
  setup(__props, { emit }) {
16
17
  const props = __props;
17
18
  const inputRef = ref(null);
@@ -35,16 +36,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
36
  emit("update:modelValue", newValue.toString());
36
37
  emit("update:status", "success");
37
38
  }
39
+ function unSelect() {
40
+ setTimeout(() => {
41
+ emit("update:select", false);
42
+ }, 1e3);
43
+ }
44
+ function onSelect() {
45
+ emit("update:select", true);
46
+ }
38
47
  watch(
39
48
  () => toSelectInputContent.value,
40
49
  (value) => {
41
50
  var _a, _b;
42
- (_b = (_a = inputRef.value) == null ? void 0 : _a.select) == null ? void 0 : _b.call(_a);
51
+ !props.integer && ((_b = (_a = inputRef.value) == null ? void 0 : _a.select) == null ? void 0 : _b.call(_a));
43
52
  }
44
53
  );
45
54
  return (_ctx, _cache) => {
46
55
  return openBlock(), createBlock(unref(NInput), {
47
- autofocus: "",
48
56
  ref_key: "inputRef",
49
57
  ref: inputRef,
50
58
  value: __props.modelValue,
@@ -52,7 +60,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
60
  "allow-input": validator,
53
61
  placeholder: "",
54
62
  status: __props.status,
55
- clearable: !__props.integer
63
+ clearable: !__props.integer,
64
+ onBlur: unSelect,
65
+ onSelect
56
66
  }, {
57
67
  suffix: withCtx(() => [
58
68
  createVNode(unref(NSpace), {
@@ -79,6 +79,7 @@ declare const _default: import("vue").DefineComponent<{
79
79
  inputValueStatus: Ref<FormValidationStatus>;
80
80
  numeratorValueStatus: Ref<FormValidationStatus>;
81
81
  denominatorValueStatus: Ref<FormValidationStatus>;
82
+ inputSelect: Ref<boolean>;
82
83
  keyboardRef: Ref<HTMLElement | null>;
83
84
  style: import("vue").ComputedRef<string> | undefined;
84
85
  init: () => import("vue").ComputedRef<string> | undefined;
@@ -105,6 +106,10 @@ declare const _default: import("vue").DefineComponent<{
105
106
  type: PropType<FormValidationStatus>;
106
107
  default: string;
107
108
  };
109
+ select: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
108
113
  }, {
109
114
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
110
115
  modelValue: {
@@ -119,22 +124,29 @@ declare const _default: import("vue").DefineComponent<{
119
124
  type: PropType<FormValidationStatus>;
120
125
  default: string;
121
126
  };
127
+ select: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
122
131
  }>> & {
123
132
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
124
133
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
134
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
125
135
  }>>;
126
- emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
136
+ emit: (event: "update:modelValue" | "update:status" | "update:select", ...args: any[]) => void;
127
137
  inputRef: any;
128
138
  toSelectInputContent: Ref<number>;
129
139
  update: (value: string | [string, string]) => void;
130
140
  validator: (value: string) => boolean;
131
141
  calculate: (type: string) => void;
142
+ unSelect: () => void;
143
+ onSelect: () => void;
132
144
  NInput: any;
133
145
  NIcon: any;
134
146
  NSpace: any;
135
147
  CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
136
148
  CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
137
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
149
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status" | "update:select")[], "update:modelValue" | "update:status" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
138
150
  modelValue: {
139
151
  type: StringConstructor;
140
152
  default: string;
@@ -147,13 +159,19 @@ declare const _default: import("vue").DefineComponent<{
147
159
  type: PropType<FormValidationStatus>;
148
160
  default: string;
149
161
  };
162
+ select: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
150
166
  }>> & {
151
167
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
152
168
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
169
+ "onUpdate:select"?: ((...args: any[]) => any) | undefined;
153
170
  }, {
154
171
  modelValue: string;
155
172
  status: FormValidationStatus;
156
173
  integer: boolean;
174
+ select: boolean;
157
175
  }>;
158
176
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
159
177
  defaultValue: {