cnhis-design-vue 3.1.42-beta.4 → 3.1.42-beta.40

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 (222) hide show
  1. package/README.md +87 -87
  2. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  3. package/es/components/base-search/index.d.ts +2 -2
  4. package/es/components/base-search/src/index.vue.d.ts +2 -2
  5. package/es/components/base-search/src/index.vue.js +1 -1
  6. package/es/components/base-search/style/index.css +1 -1
  7. package/es/components/big-table/index.d.ts +3 -4
  8. package/es/components/big-table/src/BigTable.vue.d.ts +3 -4
  9. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  10. package/es/components/big-table/style/index.css +1 -1
  11. package/es/components/bpmn-workflow/index.d.ts +12 -0
  12. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +12 -0
  13. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -1
  14. package/es/components/button-print/index.d.ts +4 -4
  15. package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -4
  16. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  17. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  18. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  19. package/es/components/button-print/src/utils/print.js +1 -1
  20. package/es/components/classification/index.d.ts +1 -1
  21. package/es/components/classification/src/index.vue.d.ts +2 -2
  22. package/es/components/classification/style/index.css +1 -1
  23. package/es/components/config-provider/src/ConfigProvider.js +1 -1
  24. package/es/components/config-provider/src/interface.d.ts +4 -4
  25. package/es/components/date-picker/index.d.ts +4 -0
  26. package/es/components/date-picker/src/DatePicker.vue.d.ts +4 -0
  27. package/es/components/date-picker/src/DatePicker.vue.js +1 -1
  28. package/es/components/fabric-chart/index.d.ts +2 -2
  29. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  30. package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -0
  31. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
  32. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/useCenter.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +16 -0
  36. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -0
  37. package/es/components/field-set/index.d.ts +26 -81
  38. package/es/components/field-set/src/FieldSet.vue.d.ts +28 -32
  39. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  40. package/es/components/field-set/style/index.css +1 -1
  41. package/es/components/form-config/index.d.ts +39 -39
  42. package/es/components/form-config/src/FormConfig.vue.d.ts +39 -39
  43. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  44. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +15 -14
  45. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +20 -21
  46. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  47. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  48. package/es/components/form-config/src/constants/index.d.ts +12 -1
  49. package/es/components/form-config/src/constants/index.js +1 -1
  50. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  51. package/es/components/form-config/src/types/index.d.ts +1 -0
  52. package/es/components/form-render/index.d.ts +15 -14
  53. package/es/components/form-render/index.js +1 -1
  54. package/es/components/form-render/src/FormRender.vue.d.ts +15 -14
  55. package/es/components/form-render/src/FormRender.vue.js +1 -1
  56. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -14
  57. package/es/components/form-render/src/components/renderer/combination.js +1 -1
  58. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  59. package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
  60. package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +18 -0
  61. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  62. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  63. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  64. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +38 -2
  65. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  66. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +18 -0
  67. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  68. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +18 -0
  69. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  70. package/es/components/form-render/src/components/renderer/select.d.ts +32 -5
  71. package/es/components/form-render/src/components/renderer/select.js +1 -1
  72. package/es/components/form-render/src/hooks/index.d.ts +1 -1
  73. package/es/components/form-render/src/hooks/index.js +1 -1
  74. package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +16 -0
  75. package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -0
  76. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  77. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +13 -8
  78. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  79. package/es/components/form-render/src/types/fieldItem.d.ts +3 -4
  80. package/es/components/form-render/src/types/index.d.ts +2 -1
  81. package/es/components/iho-table/index.d.ts +14 -5
  82. package/es/components/iho-table/src/IhoTable.vue.d.ts +14 -5
  83. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  84. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  85. package/es/components/iho-table/src/constants/index.js +1 -1
  86. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +4 -4
  87. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  88. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +22 -21
  89. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +1 -1
  90. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  91. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  92. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  93. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
  94. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  95. package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -0
  96. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +1 -0
  97. package/es/components/iho-table/src/plugins/index.js +1 -1
  98. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
  99. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  100. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -0
  101. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.js +1 -0
  102. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +4 -0
  103. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  104. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  105. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -1
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  110. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  111. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -0
  112. package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +1 -0
  113. package/es/components/iho-table/src/plugins/{rendererPlugins/widgets/variableHeightRendererPlugin.d.ts → varialbleHeightPlugin/index.d.ts} +1 -1
  114. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -0
  115. package/es/components/iho-table/src/types/index.d.ts +10 -5
  116. package/es/components/iho-table/src/types/pluginType.d.ts +6 -3
  117. package/es/components/iho-table/src/utils/index.d.ts +3 -0
  118. package/es/components/iho-table/src/utils/index.js +1 -1
  119. package/es/components/iho-table/style/iconfont.ttf +0 -0
  120. package/es/components/iho-table/style/index.css +1 -1
  121. package/es/components/index.css +1 -1
  122. package/es/components/index.js +1 -1
  123. package/es/components/info-header/index.d.ts +34 -32
  124. package/es/components/info-header/src/InfoHeader.vue.d.ts +34 -32
  125. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +3 -3
  126. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +3 -3
  127. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  128. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -1
  129. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  130. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +18 -17
  131. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +15 -14
  132. package/es/components/info-header/style/index.css +1 -1
  133. package/es/components/keyboard/index.d.ts +1 -1
  134. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  135. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  136. package/es/components/keyboard/src/constants/index.js +1 -1
  137. package/es/components/keyboard/style/index.css +1 -1
  138. package/es/components/map/index.d.ts +2 -14
  139. package/es/components/map/src/Map.vue.d.ts +1 -14
  140. package/es/components/map/src/types/index.d.ts +19 -0
  141. package/es/components/map/src/types/index.js +1 -0
  142. package/es/components/recommend-search/index.d.ts +13 -128
  143. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +15 -130
  144. package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -1
  145. package/es/components/recommend-search/src/components/BaseSearch.d.ts +84 -0
  146. package/es/components/recommend-search/src/components/BaseSearch.js +1 -0
  147. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -63
  148. package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -1
  149. package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +1 -3
  150. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -1
  151. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -62
  152. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -1
  153. package/es/components/recommend-search/src/constant/index.d.ts +3 -0
  154. package/es/components/recommend-search/src/constant/index.js +1 -1
  155. package/es/components/scale-view/index.d.ts +29 -94
  156. package/es/components/scale-view/src/ScaleView.vue.d.ts +29 -94
  157. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  158. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +4 -4
  159. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -1
  160. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  161. package/es/components/scale-view/src/hooks/use-component.d.ts +73 -3
  162. package/es/components/scale-view/style/index.css +1 -1
  163. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  164. package/es/components/select-label/style/index.css +1 -1
  165. package/es/components/select-person/index.d.ts +1 -1
  166. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  167. package/es/components/shortcut-setter/index.d.ts +16 -16
  168. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -16
  169. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  170. package/es/components/steps-wheel/src/constants/index.js +1 -1
  171. package/es/components/steps-wheel/style/index.css +1 -1
  172. package/es/components/table-filter/index.d.ts +0 -1
  173. package/es/components/table-filter/index.js +1 -1
  174. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  175. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +1 -1
  176. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  177. package/es/components/table-filter/src/hooks/useMixins.js +1 -1
  178. package/es/components/table-filter/src/tool/baseOptions.d.ts +0 -10
  179. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  180. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
  181. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
  182. package/es/components/table-filter/src/types/index.d.ts +11 -76
  183. package/es/components/time-picker/src/TimePicker.vue.js +1 -1
  184. package/es/components/vod-chunk-upload/index.d.ts +73 -3
  185. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +73 -3
  186. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
  187. package/es/env.d.ts +24 -24
  188. package/es/shared/{mixins → hooks}/index.d.ts +1 -0
  189. package/es/shared/{mixins → hooks}/index.js +1 -1
  190. package/es/{components/form-render/src → shared}/hooks/useAsyncQueue.d.ts +0 -14
  191. package/es/shared/hooks/useAsyncQueue.js +1 -0
  192. package/es/shared/{mixins → hooks}/useDateTime.d.ts +2 -2
  193. package/es/shared/hooks/useDateTime.js +1 -0
  194. package/es/shared/utils/index.d.ts +3 -3
  195. package/es/shared/utils/index.js +1 -1
  196. package/package.json +2 -2
  197. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  198. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  199. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  200. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  201. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  202. package/es/components/form-render/src/hooks/useAsyncQueue.js +0 -1
  203. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/variableHeightRendererPlugin.js +0 -1
  204. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +0 -143
  205. package/es/components/recommend-search/src/components/BaseSearch.vue.js +0 -1
  206. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +0 -115
  207. package/es/components/scale-view/src/hooks/scaleview-props.js +0 -1
  208. package/es/components/table-filter/src/hooks/export.d.ts +0 -1
  209. package/es/components/table-filter/src/hooks/export.js +0 -1
  210. package/es/components/table-filter/src/tool/getWidgetType.d.ts +0 -1
  211. package/es/components/table-filter/src/tool/getWidgetType.js +0 -1
  212. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  213. package/es/shared/mixins/useDateTime.js +0 -1
  214. package/es/shared/utils/colorLog.d.ts +0 -31
  215. package/es/shared/utils/colorLog.js +0 -1
  216. package/es/shared/utils/tapable/index.d.ts +0 -139
  217. /package/es/components/base-search/style/{iconfont.ttf → base-search-iconfont.ttf} +0 -0
  218. /package/es/components/classification/style/{iconfont.ttf → classification-iconfont.ttf} +0 -0
  219. /package/es/components/info-header/style/{iconfont.ttf → info-header-font.ttf} +0 -0
  220. /package/es/components/select-label/style/{iconfont.ttf → select-label-iconfont.ttf} +0 -0
  221. /package/es/shared/{mixins → hooks}/useTheme.d.ts +0 -0
  222. /package/es/shared/{mixins → hooks}/useTheme.js +0 -0
@@ -313,7 +313,8 @@ declare const _default: import("vue").DefineComponent<{
313
313
  onScroll?: ((...args: any[]) => any) | undefined;
314
314
  onAnnotationChange?: ((...args: any[]) => any) | undefined;
315
315
  }>>;
316
- emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
316
+ emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
317
+ cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
317
318
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
318
319
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
319
320
  formHeight: import("vue").ComputedRef<string>;
@@ -469,32 +470,32 @@ declare const _default: import("vue").DefineComponent<{
469
470
  data: any;
470
471
  loading: boolean;
471
472
  required: boolean;
472
- hidden: boolean;
473
- visible: boolean;
474
- content: any;
475
- reset: (options?: import("../../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
476
- active: boolean;
477
- disabled: boolean;
478
- display: import("../../../../../../es/components/form-render").FieldDisplayTypes;
479
473
  value: string;
480
474
  readonly index: string | number;
475
+ disabled: boolean;
481
476
  onFocus: (...args: any[]) => Promise<void>;
482
477
  onBlur: (...args: any[]) => Promise<void>;
483
478
  onInput: (...args: any[]) => Promise<void>;
479
+ reset: (options?: import("../../../../../../es/components/form-render").IFieldResetOptions | undefined) => Promise<void>;
480
+ title: string;
481
+ editable: boolean;
482
+ visible: boolean;
484
483
  submit: <T>(onSubmit?: ((values: any) => void | Promise<T>) | undefined) => Promise<T>;
485
484
  validator: import("../../../../../../es/components/form-render").FieldValidator;
486
485
  pattern: import("../../../../../../es/components/form-render").FieldPatternTypes;
487
- title: string;
488
486
  form: import("../../../../../../es/components/form-render").Form<any>;
487
+ content: any;
489
488
  componentProps: Record<string, any>;
490
489
  decoratorProps: Record<string, any>;
490
+ display: import("../../../../../../es/components/form-render").FieldDisplayTypes;
491
491
  description: string;
492
492
  readOnly: boolean;
493
- editable: boolean;
493
+ hidden: boolean;
494
494
  component: import("../../../../../../es/components/form-render").FieldComponent<any, any>;
495
495
  decorator: import("../../../../../../es/components/form-render").FieldDecorator<any, any>;
496
496
  validating: boolean;
497
497
  submitting: boolean;
498
+ active: boolean;
498
499
  visited: boolean;
499
500
  selfModified: boolean;
500
501
  modified: boolean;
@@ -581,7 +582,7 @@ declare const _default: import("vue").DefineComponent<{
581
582
  };
582
583
  readonly disabled: BooleanConstructor;
583
584
  readonly displayDirective: {
584
- readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
585
+ readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
585
586
  readonly default: "if";
586
587
  };
587
588
  readonly closable: {
@@ -606,7 +607,7 @@ declare const _default: import("vue").DefineComponent<{
606
607
  };
607
608
  readonly disabled: BooleanConstructor;
608
609
  readonly displayDirective: {
609
- readonly type: import("vue").PropType<"show" | "if" | "show:lazy">;
610
+ readonly type: import("vue").PropType<"if" | "show" | "show:lazy">;
610
611
  readonly default: "if";
611
612
  };
612
613
  readonly closable: {
@@ -620,10 +621,10 @@ declare const _default: import("vue").DefineComponent<{
620
621
  }>>, {
621
622
  readonly disabled: boolean;
622
623
  readonly closable: boolean | undefined;
623
- readonly displayDirective: "show" | "if" | "show:lazy";
624
+ readonly displayDirective: "if" | "show" | "show:lazy";
624
625
  }>;
625
626
  NTabs: any;
626
- }, 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<{
627
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
627
628
  fieldList: {
628
629
  type: import("vue").PropType<FieldItem[]>;
629
630
  };
@@ -1 +1 @@
1
- .c-info-header{align-items:center;background:#fff;box-shadow:0 2px 4px 0 hsla(0,0%,69%,.46);display:flex;gap:18px;height:calc((var(--row-height)*var(--row-num) + var(--padding-tb)*2)*1px);justify-content:space-between;padding:calc(var(--padding-tb)*1px) 16px}@font-face{font-family:iconfont;src:url(iconfont.ttf) format("truetype")}.c-info-header .iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:16px;font-style:normal}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia:before{content:"\c1003"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantoushang:before{content:"\c1004"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi:before{content:"\c1005"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaobianji:before{content:"\c1006"}.c-info-header .info-header--icon-guanbi-yanjing:before{content:"\c1001"}.c-info-header .info-header--icon-faxian-yanjing:before{content:"\c1002"}.c-info-header__divider{align-self:stretch;background:#d5d5d566;width:1px}.c-info-header__patient{align-items:center;display:flex;flex-wrap:nowrap;gap:12px;margin-right:34px}.c-info-header__patientHeader,.c-info-header__patientHeaderWrapper{align-items:center;display:flex;gap:6px}.c-info-header__patientHeaderWrapper{border-bottom:1px solid transparent}.c-info-header__patientHeaderWrapper.in-edit{border-bottom:1px solid rgba(0,0,0,.6)}.c-info-header__patientHeader--name{font-size:20px;font-weight:700;margin-right:6px}.c-info-header__patientHeader .n-tag{border-radius:2px;height:20px}.c-info-header__patientHeader .n-tag .n-tag__content{font-size:12px}.c-info-header__info{display:flex;flex:1;flex-wrap:wrap;font-size:14px;justify-content:flex-start;width:100%}.c-info-header__infoWrapper{box-sizing:border-box;height:calc((var(--row-height)*var(--row-num))*1px);max-height:calc((var(--row-height)*var(--row-num))*1px)}.c-info-header__info td{text-align:left}.c-info-header__info .n-descriptions-table-content{height:calc(var(--row-height)*1px);max-width:calc(var(--column-width)*1px);overflow-y:hidden;padding:0!important;vertical-align:middle!important}.c-info-header__info .n-descriptions-table-content__label{color:rgba(0,0,0,.6);display:inline-block}.c-info-header__setting{align-self:flex-start;display:flex;gap:8px}.c-info-header__settingIcon{align-items:center;cursor:pointer;display:inline-flex}.c-info-header__setting .iconfont{color:#000;display:inline-block;font-size:20px;transition:all .2s ease-in-out}.c-info-header.is-compact [compact-hidden]{display:none!important}.c-info-header.is-compact .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia{transform:rotate(0deg)}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia{transform:rotate(180deg)}.c-info-header__hidden{align-items:center;display:inline-flex;font-size:14px;gap:8px;vertical-align:middle}.c-info-header__hidden--icon{color:inherit!important;cursor:pointer;font-size:14px;text-decoration:none!important}.c-info-header__formRender .n-form-item-blank>.n-input .n-input-wrapper{border-bottom:1px solid var(--n-text-color)}.c-info-header__formRender .n-base-selection,.c-info-header__formRender .n-base-selection-label,.c-info-header__formRender .n-date-picker,.c-info-header__formRender .n-input,.c-info-header__formRender .n-input-wrapper{max-height:18px;min-height:18px;vertical-align:top}.c-info-header__formRender .n-base-selection input,.c-info-header__formRender .n-base-selection-label input,.c-info-header__formRender .n-date-picker input,.c-info-header__formRender .n-input input,.c-info-header__formRender .n-input-wrapper input{max-height:18px;min-height:18px}.c-info-header__formRender .n-select{line-height:1}
1
+ .c-info-header{align-items:center;background:#fff;box-shadow:0 2px 4px 0 hsla(0,0%,69%,.46);display:flex;gap:18px;height:calc((var(--row-height)*var(--row-num) + var(--padding-tb)*2)*1px);justify-content:space-between;padding:calc(var(--padding-tb)*1px) 16px;transition:height .2s linear}@font-face{font-family:info-header-iconfont;src:url(info-header-font.ttf) format("truetype")}.c-info-header .iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:info-header-iconfont!important;font-size:16px;font-style:normal}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia:before{content:"\c1003"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantoushang:before{content:"\c1004"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi:before{content:"\c1005"}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaobianji:before{content:"\c1006"}.c-info-header .info-header--icon-guanbi-yanjing:before{content:"\c1001"}.c-info-header .info-header--icon-faxian-yanjing:before{content:"\c1002"}.c-info-header__divider{align-self:stretch;background:#d5d5d566;width:1px}.c-info-header__patient{align-items:center;display:flex;flex-wrap:nowrap;gap:12px;margin-right:34px}.c-info-header__patientHeader,.c-info-header__patientHeaderWrapper{align-items:center;display:flex;gap:6px}.c-info-header__patientHeaderWrapper{border-bottom:1px solid transparent}.c-info-header__patientHeaderWrapper.in-edit{border-bottom:1px solid rgba(0,0,0,.6)}.c-info-header__patientHeader--name{font-size:20px;font-weight:700;margin-right:6px}.c-info-header__patientHeader .n-tag{border-radius:2px;height:20px}.c-info-header__patientHeader .n-tag .n-tag__content{font-size:12px}.c-info-header__info{display:flex;flex:1;flex-wrap:wrap;font-size:14px;justify-content:flex-start;width:100%}.c-info-header__infoWrapper{box-sizing:border-box;height:calc((var(--row-height)*var(--row-num))*1px);max-height:calc((var(--row-height)*var(--row-num))*1px);transition:height .2s linear}.c-info-header__info td{text-align:left}.c-info-header__info .n-descriptions-table-content{height:calc(var(--row-height)*1px);max-width:calc(var(--column-width)*1px);overflow-y:hidden;padding:0!important;vertical-align:middle!important}.c-info-header__info .n-descriptions-table-content__label{color:rgba(0,0,0,.6);display:inline-block}.c-info-header__setting{align-self:flex-start;display:flex;gap:8px}.c-info-header__settingIcon{align-items:center;cursor:pointer;display:inline-flex}.c-info-header__setting .iconfont{color:#000;display:inline-block;font-size:20px;transition:all .2s ease-in-out}.c-info-header.is-compact [compact-hidden]{display:none!important}.c-info-header.is-compact .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia{transform:rotate(0deg)}.c-info-header .info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia{transform:rotate(180deg)}.c-info-header__hidden{align-items:center;display:inline-flex;font-size:14px;gap:8px;vertical-align:middle}.c-info-header__hidden--icon{color:inherit!important;cursor:pointer;font-size:14px;text-decoration:none!important}.c-info-header__formRender .n-form-item-blank>.n-input .n-input-wrapper{border-bottom:1px solid var(--n-text-color)}.c-info-header__formRender .n-base-selection,.c-info-header__formRender .n-base-selection-label,.c-info-header__formRender .n-date-picker,.c-info-header__formRender .n-input,.c-info-header__formRender .n-input-wrapper{max-height:18px;min-height:18px;vertical-align:top}.c-info-header__formRender .n-base-selection input,.c-info-header__formRender .n-base-selection-label input,.c-info-header__formRender .n-date-picker input,.c-info-header__formRender .n-input input,.c-info-header__formRender .n-input-wrapper input{max-height:18px;min-height:18px}.c-info-header__formRender .n-select{line-height:1}
@@ -332,8 +332,8 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
332
332
  onChange?: ((...args: any[]) => any) | undefined;
333
333
  onKeydown?: ((...args: any[]) => any) | undefined;
334
334
  }, {
335
- drag: boolean;
336
335
  mode: "number" | "day" | "dose" | "english";
336
+ drag: boolean;
337
337
  positionInitialValue: import("@vueuse/core").Position;
338
338
  panel: boolean;
339
339
  moveOffset: import("@vueuse/core").Position;
@@ -333,8 +333,8 @@ declare const _default: import("vue").DefineComponent<{
333
333
  onChange?: ((...args: any[]) => any) | undefined;
334
334
  onKeydown?: ((...args: any[]) => any) | undefined;
335
335
  }, {
336
- drag: boolean;
337
336
  mode: "number" | "day" | "dose" | "english";
337
+ drag: boolean;
338
338
  positionInitialValue: Position;
339
339
  panel: boolean;
340
340
  moveOffset: Position;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,provide as t,computed as o,unref as n,openBlock as a,createBlock as u,normalizeStyle as i,withCtx as r,createVNode as s,mergeProps as d,createElementBlock as f,normalizeClass as c,createElementVNode as p,Fragment as m,renderList as v,createCommentVNode as y,createTextVNode as g,toDisplayString as h}from"vue";import{NPopover as k,NInputNumber as b,NSpace as w,NIcon as V}from"naive-ui";import{Close as x,GitCompareOutline as _,ArrowUndoSharp as O}from"@vicons/ionicons5";import S from"./components/NumberPanel.vue.js";import{useDraggable as j}from"@vueuse/core";import{useTheme as C}from"../../../shared/mixins/useTheme.js";import{defaultCssVars as I}from"./constants/index.js";import D from"../../../_virtual/plugin-vue_export-helper.js";const K=p("span",null,"键盘",-1),N={class:"keys"},R=["onClick"];var U=D(e({__name:"Keyboard",props:{mode:{type:String,default:"english"},drag:{type:Boolean,default:!1},positionInitialValue:{type:Object,default:()=>({x:0,y:0})},defaultValue:{type:Number},value:{type:Number},panel:{type:Boolean,default:!0},moveOffset:{type:Object,default:()=>({x:0,y:0})}},emits:["change","keydown"],setup(e,{expose:D,emit:U}){const B=e,E="QWERTYUIOPASDFGHJKLZXCVBNM.",F=["Switch"," ","Undo","Enter"],J=E.split("").concat(F),M=E.split(".")[0].split("").sort().concat(["."],F),P=C(I,"Keyboard");let Q=l(Date.now());t("toSelectInputContent",Q);const T=o((()=>"english"===B.mode)),$=o((()=>({mode:B.mode,defaultValue:B.defaultValue,value:B.value,positionInitialValue:B.positionInitialValue,moveOffset:B.moveOffset,drag:B.drag,onChange:q}))),A=o((()=>`${JSON.stringify(P.value).replace(/\{|\}|\"/g,"").replace(/,/g,";")};${(null==Y?void 0:Y.value)||""}`)),G=l(J.slice()),H=l(null),L=l(null),W=l(null),X=l(),Y=function(){B.defaultValue&&(X.value=B.defaultValue);if(T.value&&B.drag){const{x:e,y:l,style:t}=j(L,{initialValue:B.positionInitialValue,preventDefault:!0,handle:W,onMove:(e,l)=>{var t,o,n,a;e.x+=null!=(o=null==(t=B.moveOffset)?void 0:t.x)?o:0,e.y+=null!=(a=null==(n=B.moveOffset)?void 0:n.y)?a:0}});return t}}();function Z(e){"Switch"!==e?U("keydown",e):G.value="Q"===G.value[0]?M.slice():J.slice()}function q(e){var l,t;null==(t=null==(l=H.value)?void 0:l.setShow)||t.call(l,!1),X.value=e,U("change",e)}return D({select:function(){Q.value=Date.now()}}),(l,t)=>n(T)||e.panel?!n(T)&&e.panel?(a(),u(S,d({key:1},n($),{style:n(P)}),null,16,["style"])):(a(),f("div",{key:2,class:c(["c-keyboard-english",{isFixed:e.drag}]),ref_key:"englishKeyboardRef",ref:L,style:i(n(A))},[s(n(w),{"wrap-item":!1,align:"center",justify:"space-between",ref_key:"keyboardDragRef",ref:W,style:i({cursor:e.drag?"move":"default"})},{default:r((()=>[K,s(n(V),{onClick:t[1]||(t[1]=e=>Z("close")),component:n(x)},null,8,["component"])])),_:1},8,["style"]),p("div",N,[(a(!0),f(m,null,v(G.value,((e,l)=>(a(),f("span",{key:e,class:c(["key"+l]),onClick:l=>Z(e)},["Switch"===e?(a(),u(n(V),{key:0,component:n(_)},null,8,["component"])):y("v-if",!0),"Undo"===e?(a(),u(n(V),{key:1,component:n(O)},null,8,["component"])):y("v-if",!0),g(" "+h(F.includes(e)&&"Enter"!==e?""===e?"空格":"":e),1)],10,R)))),128))])],6)):(a(),u(n(k),{key:0,ref_key:"popoverRef",ref:H,trigger:"click","show-arrow":!1,placement:"bottom-start",style:i([{padding:"0"},n(P)]),"display-directive":"show"},{trigger:r((()=>[s(n(b),{value:X.value,"onUpdate:value":t[0]||(t[0]=e=>X.value=e),"show-button":!1},null,8,["value"])])),default:r((()=>[s(S,{mode:e.mode,defaultValue:e.defaultValue,onChange:q},null,8,["mode","defaultValue"])])),_:1},8,["style"]))}}),[["__file","Keyboard.vue"]]);export{U as default};
1
+ import{defineComponent as e,ref as l,provide as t,computed as o,unref as n,openBlock as a,createBlock as u,normalizeStyle as i,withCtx as s,createVNode as r,mergeProps as d,createElementBlock as f,normalizeClass as p,createElementVNode as c,Fragment as m,renderList as v,createCommentVNode as y,createTextVNode as g,toDisplayString as h}from"vue";import{NPopover as k,NInputNumber as b,NSpace as w,NIcon as V}from"naive-ui";import{Close as _,GitCompareOutline as x,ArrowUndoSharp as O}from"@vicons/ionicons5";import S from"./components/NumberPanel.vue.js";import{useDraggable as j}from"@vueuse/core";import{useTheme as C}from"../../../shared/hooks/useTheme.js";import"date-fns";import"lodash-es";import{defaultCssVars as I}from"./constants/index.js";import D from"../../../_virtual/plugin-vue_export-helper.js";const K=c("span",null,"键盘",-1),N={class:"keys"},R=["onClick"];var U=D(e({__name:"Keyboard",props:{mode:{type:String,default:"english"},drag:{type:Boolean,default:!1},positionInitialValue:{type:Object,default:()=>({x:0,y:0})},defaultValue:{type:Number},value:{type:Number},panel:{type:Boolean,default:!0},moveOffset:{type:Object,default:()=>({x:0,y:0})}},emits:["change","keydown"],setup(e,{expose:D,emit:U}){const B=e,E="QWERTYUIOPASDFGHJKLZXCVBNM.",F=["Switch"," ","Undo","Enter"],J=E.split("").concat(F),M=E.split(".")[0].split("").sort().concat(["."],F),P=C(I,"Keyboard");let Q=l(Date.now());t("toSelectInputContent",Q);const T=o((()=>"english"===B.mode)),$=o((()=>({mode:B.mode,defaultValue:B.defaultValue,value:B.value,positionInitialValue:B.positionInitialValue,moveOffset:B.moveOffset,drag:B.drag,onChange:q}))),A=o((()=>`${JSON.stringify(P.value).replace(/\{|\}|\"/g,"").replace(/,/g,";")};${(null==Y?void 0:Y.value)||""}`)),G=l(J.slice()),H=l(null),L=l(null),W=l(null),X=l(),Y=function(){B.defaultValue&&(X.value=B.defaultValue);if(T.value&&B.drag){const{x:e,y:l,style:t}=j(L,{initialValue:B.positionInitialValue,preventDefault:!0,handle:W,onMove:(e,l)=>{var t,o,n,a;e.x+=null!=(o=null==(t=B.moveOffset)?void 0:t.x)?o:0,e.y+=null!=(a=null==(n=B.moveOffset)?void 0:n.y)?a:0}});return t}}();function Z(e){"Switch"!==e?U("keydown",e):G.value="Q"===G.value[0]?M.slice():J.slice()}function q(e){var l,t;null==(t=null==(l=H.value)?void 0:l.setShow)||t.call(l,!1),X.value=e,U("change",e)}return D({select:function(){Q.value=Date.now()}}),(l,t)=>n(T)||e.panel?!n(T)&&e.panel?(a(),u(S,d({key:1},n($),{style:n(P)}),null,16,["style"])):(a(),f("div",{key:2,class:p(["c-keyboard-english",{isFixed:e.drag}]),ref_key:"englishKeyboardRef",ref:L,style:i(n(A))},[r(n(w),{"wrap-item":!1,align:"center",justify:"space-between",ref_key:"keyboardDragRef",ref:W,style:i({cursor:e.drag?"move":"default"})},{default:s((()=>[K,r(n(V),{onClick:t[1]||(t[1]=e=>Z("close")),component:n(_)},null,8,["component"])])),_:1},8,["style"]),c("div",N,[(a(!0),f(m,null,v(G.value,((e,l)=>(a(),f("span",{key:e,class:p(["key"+l]),onClick:l=>Z(e)},["Switch"===e?(a(),u(n(V),{key:0,component:n(x)},null,8,["component"])):y("v-if",!0),"Undo"===e?(a(),u(n(V),{key:1,component:n(O)},null,8,["component"])):y("v-if",!0),g(" "+h(F.includes(e)&&"Enter"!==e?""===e?"空格":"":e),1)],10,R)))),128))])],6)):(a(),u(n(k),{key:0,ref_key:"popoverRef",ref:H,trigger:"click","show-arrow":!1,placement:"bottom-start",style:i([{padding:"0"},n(P)]),"display-directive":"show"},{trigger:s((()=>[r(n(b),{value:X.value,"onUpdate:value":t[0]||(t[0]=e=>X.value=e),"show-button":!1},null,8,["value"])])),default:s((()=>[r(S,{mode:e.mode,defaultValue:e.defaultValue,onChange:q},null,8,["mode","defaultValue"])])),_:1},8,["style"]))}}),[["__file","Keyboard.vue"]]);export{U as default};
@@ -1 +1 @@
1
- const o={"--c-color-hover":"#2474ff33","--c-color-pressed":"#2474ff"};export{o as defaultCssVars};
1
+ const r={"--c-primary-color-hover":"#2474ff33","--c-primary-color-pressed":"#2474ff"};export{r as defaultCssVars};
@@ -1 +1 @@
1
- .c-keyboard span,.c-keyboard-english .keys span{cursor:pointer}.c-keyboard{background:#fff;display:flex;height:160px}.c-keyboard.isFixed{position:fixed;z-index:1}.c-keyboard .btn{align-items:center;background:linear-gradient(180deg,#fff,#f2f2f2);border-radius:2px;box-shadow:0 2px 2px #00000036;box-sizing:border-box;display:inline-flex;font-size:14px;justify-content:center;text-align:center}.c-keyboard .btn:hover{background:var(--c-color-hover);border:1px solid var(--c-color-pressed)}.c-keyboard .btn:active{background:var(--c-color-pressed);color:#fff}.c-keyboard .btn:hover{box-shadow:none}.c-keyboard .n-space{gap:unset!important}.c-keyboard .margin-offset{margin:-4px 0 0 -4px}.c-keyboard .left{box-sizing:border-box;padding:6px;width:128px}.c-keyboard .left.isDose{width:158px}.c-keyboard .left .n-input{height:28px;width:100%}.c-keyboard .left .n-input .n-input__input-el{height:28px}.c-keyboard .left .keys{display:flex;margin-top:5px}.c-keyboard .left .keys span{align-items:center;background-color:#e8e8e8;border-radius:2px;box-sizing:border-box;display:inline-flex;font-size:14px;height:26px;justify-content:center;margin:4px 0 0 4px;text-align:center;width:26px}.c-keyboard .left .keys span:hover{background:var(--c-color-hover);border:1px solid var(--c-color-pressed)}.c-keyboard .left .keys span:active{background:var(--c-color-pressed);color:#fff}.c-keyboard .left .keys span.opt{height:56px}.c-keyboard .left .keys span.is-0{width:56px}.c-keyboard .right-days,.c-keyboard .right-dose{border-left:1px solid #d5d5d5}.c-keyboard .right-days{padding:0 12px}.c-keyboard .right-days .btn{height:26px;margin-top:8px;width:56px}.c-keyboard .right-days .btn:first-child{margin-top:0}.c-keyboard .right-dose{padding:5px 12px 5px 5px}.c-keyboard .right-dose .btn{height:32px;width:100px}.c-keyboard .right-dose .btns{display:flex;flex-flow:column nowrap;height:100%;margin-right:8px;overflow-y:scroll;padding-right:6px}.c-keyboard .right-dose .btns .btn{height:20px;margin-top:4px;width:40px}.c-keyboard .right-dose .btns::-webkit-scrollbar{height:1px;width:2px}.c-keyboard .right-dose .btns::-webkit-scrollbar-track{background:#d8d8d8;border-radius:2px;box-shadow:inset 0 0 5px #fff}.c-keyboard .right-dose .btns::-webkit-scrollbar-thumb{background:#535353;border-radius:2px;box-shadow:inset 0 0 5px #fff}.c-keyboard .right-dose .inputs{align-items:center;display:flex;margin-bottom:8px}.c-keyboard .right-dose .inputs .n-input{height:32px;width:46px}.c-keyboard .right-dose .inputs .n-input .n-input__input-el{height:32px}.c-keyboard .right-dose .inputs .inputs-right{margin-left:8px}.c-keyboard .n-input .n-input-wrapper{padding-right:5px}.c-keyboard .n-input .n-input-wrapper .n-input__suffix{line-height:0}.c-keyboard .n-input .n-input-wrapper .n-input__suffix .n-space .n-icon{cursor:pointer}.c-keyboard-english{background:#fff;box-sizing:border-box;padding:10px 6px;width:308px}.c-keyboard-english.isFixed{position:fixed;z-index:1}.c-keyboard-english .n-space span{font-size:12px}.c-keyboard-english .n-space .n-icon{cursor:pointer}.c-keyboard-english .keys{display:flex;flex-flow:row wrap;margin:1px 0 0 -4px}.c-keyboard-english .keys span{align-items:center;background-color:#e8e8e8;border-radius:2px;box-sizing:border-box;display:inline-flex;font-size:14px;height:26px;justify-content:center;margin:4px 0 0 4px;text-align:center;width:26px}.c-keyboard-english .keys span:hover{background:var(--c-color-hover);border:1px solid var(--c-color-pressed)}.c-keyboard-english .keys span:active{background:var(--c-color-pressed);color:#fff}.c-keyboard-english .keys span.key10,.c-keyboard-english .keys span.key27{margin-left:16px}.c-keyboard-english .keys span.key26{margin-right:25px}.c-keyboard-english .keys span.key19{margin-left:31px}.c-keyboard-english .keys span.key28{width:146px}.c-keyboard-english .keys span.key30{width:56px}
1
+ .c-keyboard span,.c-keyboard-english .keys span{cursor:pointer}.c-keyboard{background:#fff;display:flex;height:160px}.c-keyboard.isFixed{position:fixed;z-index:1}.c-keyboard .btn{align-items:center;background:linear-gradient(180deg,#fff,#f2f2f2);border-radius:2px;box-shadow:0 2px 2px #00000036;box-sizing:border-box;display:inline-flex;font-size:14px;justify-content:center;text-align:center}.c-keyboard .btn:hover{background:var(--c-primary-color-hover);border:1px solid var(--c-primary-color-pressed)}.c-keyboard .btn:active{background:var(--c-primary-color-pressed);color:#fff}.c-keyboard .btn:hover{box-shadow:none}.c-keyboard .n-space{gap:unset!important}.c-keyboard .margin-offset{margin:-4px 0 0 -4px}.c-keyboard .left{box-sizing:border-box;padding:6px;width:128px}.c-keyboard .left.isDose{width:158px}.c-keyboard .left .n-input{height:28px;width:100%}.c-keyboard .left .n-input .n-input__input-el{height:28px}.c-keyboard .left .keys{display:flex;margin-top:5px}.c-keyboard .left .keys span{align-items:center;background-color:#e8e8e8;border-radius:2px;box-sizing:border-box;display:inline-flex;font-size:14px;height:26px;justify-content:center;margin:4px 0 0 4px;text-align:center;width:26px}.c-keyboard .left .keys span:hover{background:var(--c-primary-color-hover);border:1px solid var(--c-primary-color-pressed)}.c-keyboard .left .keys span:active{background:var(--c-primary-color-pressed);color:#fff}.c-keyboard .left .keys span.opt{height:56px}.c-keyboard .left .keys span.is-0{width:56px}.c-keyboard .right-days,.c-keyboard .right-dose{border-left:1px solid #d5d5d5}.c-keyboard .right-days{padding:0 12px}.c-keyboard .right-days .btn{height:26px;margin-top:8px;width:56px}.c-keyboard .right-days .btn:first-child{margin-top:0}.c-keyboard .right-dose{padding:5px 12px 5px 5px}.c-keyboard .right-dose .btn{height:32px;width:100px}.c-keyboard .right-dose .btns{display:flex;flex-flow:column nowrap;height:100%;margin-right:8px;overflow-y:scroll;padding-right:6px}.c-keyboard .right-dose .btns .btn{height:20px;margin-top:4px;width:40px}.c-keyboard .right-dose .btns::-webkit-scrollbar{height:1px;width:2px}.c-keyboard .right-dose .btns::-webkit-scrollbar-track{background:#d8d8d8;border-radius:2px;box-shadow:inset 0 0 5px #fff}.c-keyboard .right-dose .btns::-webkit-scrollbar-thumb{background:#535353;border-radius:2px;box-shadow:inset 0 0 5px #fff}.c-keyboard .right-dose .inputs{align-items:center;display:flex;margin-bottom:8px}.c-keyboard .right-dose .inputs .n-input{height:32px;width:46px}.c-keyboard .right-dose .inputs .n-input .n-input__input-el{height:32px}.c-keyboard .right-dose .inputs .inputs-right{margin-left:8px}.c-keyboard .n-input .n-input-wrapper{padding-right:5px}.c-keyboard .n-input .n-input-wrapper .n-input__suffix{line-height:0}.c-keyboard .n-input .n-input-wrapper .n-input__suffix .n-space .n-icon{cursor:pointer}.c-keyboard-english{background:#fff;box-sizing:border-box;padding:10px 6px;width:308px}.c-keyboard-english.isFixed{position:fixed;z-index:1}.c-keyboard-english .n-space span{font-size:12px}.c-keyboard-english .n-space .n-icon{cursor:pointer}.c-keyboard-english .keys{display:flex;flex-flow:row wrap;margin:1px 0 0 -4px}.c-keyboard-english .keys span{align-items:center;background-color:#e8e8e8;border-radius:2px;box-sizing:border-box;display:inline-flex;font-size:14px;height:26px;justify-content:center;margin:4px 0 0 4px;text-align:center;width:26px}.c-keyboard-english .keys span:hover{background:var(--c-primary-color-hover);border:1px solid var(--c-primary-color-pressed)}.c-keyboard-english .keys span:active{background:var(--c-primary-color-pressed);color:#fff}.c-keyboard-english .keys span.key10,.c-keyboard-english .keys span.key27{margin-left:16px}.c-keyboard-english .keys span.key26{margin-right:25px}.c-keyboard-english .keys span.key19{margin-left:31px}.c-keyboard-english .keys span.key28{width:146px}.c-keyboard-english .keys span.key30{width:56px}
@@ -1,4 +1,5 @@
1
1
  import { SFCWithInstall } from '../../../es/shared/types';
2
+ export * from './src/types';
2
3
  declare const Map: SFCWithInstall<import("vue").DefineComponent<{
3
4
  locationProp: {
4
5
  type: StringConstructor;
@@ -21,20 +22,7 @@ declare const Map: SFCWithInstall<import("vue").DefineComponent<{
21
22
  }>> & {
22
23
  onSelectLocation?: ((...args: any[]) => any) | undefined;
23
24
  }>>;
24
- state: {
25
- qq: any;
26
- searchKey: any;
27
- centrePoint: any;
28
- location: any;
29
- localObj: any;
30
- map: any;
31
- ac: any;
32
- addressList: any[];
33
- markers: any[];
34
- timeout: any;
35
- searchService: any;
36
- geocoder: any;
37
- };
25
+ state: import("./src/types").IState;
38
26
  defAdress: import("vue").ComputedRef<any>;
39
27
  emit: (event: "selectLocation", ...args: any[]) => void;
40
28
  calculateLocationProp: import("vue").ComputedRef<any>;
@@ -1,17 +1,4 @@
1
- declare type IState = {
2
- qq: any;
3
- searchKey: any;
4
- centrePoint: any;
5
- location: any;
6
- localObj: any;
7
- map: any;
8
- ac: any;
9
- addressList: any[];
10
- markers: any[];
11
- timeout: any;
12
- searchService: any;
13
- geocoder: any;
14
- };
1
+ import { IState } from '../../../../es/components/map/src/types';
15
2
  declare const _default: import("vue").DefineComponent<{
16
3
  locationProp: {
17
4
  type: StringConstructor;
@@ -0,0 +1,19 @@
1
+ export declare type IState = {
2
+ qq: any;
3
+ searchKey: any;
4
+ centrePoint: any;
5
+ location: any;
6
+ localObj: any;
7
+ map: any;
8
+ ac: any;
9
+ addressList: any[];
10
+ markers: any[];
11
+ timeout: any;
12
+ searchService: any;
13
+ geocoder: any;
14
+ };
15
+ export declare type IMapLocation = Partial<{
16
+ isInit: boolean;
17
+ locationProp: string;
18
+ [key: string]: any;
19
+ }>;
@@ -1,7 +1,7 @@
1
1
  import { SFCWithInstall } from '../../../es/shared/types';
2
2
  declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
3
3
  mode: {
4
- type: import("vue").PropType<"input" | "select">;
4
+ type: import("vue").PropType<"select" | "input">;
5
5
  default: string;
6
6
  };
7
7
  value: {
@@ -51,7 +51,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
51
51
  }, {
52
52
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
53
53
  mode: {
54
- type: import("vue").PropType<"input" | "select">;
54
+ type: import("vue").PropType<"select" | "input">;
55
55
  default: string;
56
56
  };
57
57
  value: {
@@ -227,9 +227,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
227
227
  clickTag: (type: import("./src/constant").RecommendType, value: import("./src/types").RecommendItem) => void;
228
228
  clickCommonTag: (value: import("./src/types").RecommendItem) => void;
229
229
  clickRecentTag: (value: import("./src/types").RecommendItem) => void;
230
- deleteTag: (type: import("./src/constant").RecommendType) => void;
231
- deleteCommonTag: () => void;
232
- deleteRecentTag: () => void;
230
+ deleteTag: () => void;
233
231
  TrashOutline: 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<{}>>, {}>;
234
232
  NTag: any;
235
233
  NIcon: any;
@@ -295,66 +293,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
295
293
  type: BooleanConstructor;
296
294
  default: boolean;
297
295
  };
298
- }, {
299
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
300
- displayValue: {
301
- type: StringConstructor;
302
- };
303
- valueFormatter: {
304
- type: import("vue").PropType<(value: string | number | any[] | undefined) => string>;
305
- };
306
- show: {
307
- type: BooleanConstructor;
308
- };
309
- loading: {
310
- type: BooleanConstructor;
311
- };
312
- placeholder: {
313
- type: StringConstructor;
314
- default: string;
315
- };
316
- clearable: {
317
- type: BooleanConstructor;
318
- default: boolean;
319
- };
320
- inputProps: {
321
- type: ObjectConstructor;
322
- default: () => {};
323
- };
324
- popProps: {
325
- type: ObjectConstructor;
326
- default: () => {};
327
- };
328
- clearPatternOnOpenMenu: {
329
- type: BooleanConstructor;
330
- default: boolean;
331
- };
332
- }>> & {
333
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
334
- onClear?: ((...args: any[]) => any) | undefined;
335
- onSearch?: ((...args: any[]) => any) | undefined;
336
- onOpenMenu?: ((...args: any[]) => any) | undefined;
337
- onCloseMenu?: ((...args: any[]) => any) | undefined;
338
- }>>;
339
- uuid: string;
340
- emits: (event: "clear" | "update:show" | "search" | "openMenu" | "closeMenu", ...args: any[]) => void;
341
- search: (content?: any) => void;
342
- popoverRef: import("vue").Ref<{
343
- syncPosition: import("../../../es/shared/types").Func<any[], any>;
344
- } | undefined>;
345
- _show: import("vue").Ref<boolean>;
346
- show: import("vue").WritableComputedRef<boolean>;
347
- inputRef: import("vue").Ref<HTMLElement | undefined>;
348
- patternContent: import("vue").Ref<string>;
349
- displayValueRef: import("vue").WritableComputedRef<string | undefined>;
350
- openMenuAtInput: (evt: PointerEvent) => void;
351
- openMenu: () => void;
352
- closeMenu: () => void;
353
- onClear: () => void;
354
- NInput: any;
355
- NPopover: any;
356
- NSpin: any;
357
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:show" | "search" | "openMenu" | "closeMenu")[], "search" | "closeMenu" | "clear" | "update:show" | "openMenu", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
296
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:show" | "keydown" | "search" | "openMenu" | "closeMenu")[], "search" | "closeMenu" | "clear" | "update:show" | "keydown" | "openMenu", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
358
297
  displayValue: {
359
298
  type: StringConstructor;
360
299
  };
@@ -388,6 +327,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
388
327
  default: boolean;
389
328
  };
390
329
  }>> & {
330
+ onKeydown?: ((...args: any[]) => any) | undefined;
391
331
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
392
332
  onClear?: ((...args: any[]) => any) | undefined;
393
333
  onSearch?: ((...args: any[]) => any) | undefined;
@@ -528,7 +468,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
528
468
  commonOptions: import("vue").ComputedRef<any[]>;
529
469
  recentOptions: import("vue").ComputedRef<any[]>;
530
470
  optionWithoutRecommend: import("vue").ComputedRef<import("../../../es/shared/types").AnyObject[]>;
531
- getDisplayValue: (item: string | number) => string;
471
+ getDisplayValue: (item: import("../../../es/shared/types").Nullable<string | number>) => string;
532
472
  baseSearchRef: import("vue").Ref<import("./src/types").BaseSearchExpose | undefined>;
533
473
  valueRef: import("vue").Ref<string | number | null | undefined> | import("vue").WritableComputedRef<string | number | null | undefined>;
534
474
  parsedOptions: import("vue").ComputedRef<any[]>;
@@ -585,66 +525,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
585
525
  type: BooleanConstructor;
586
526
  default: boolean;
587
527
  };
588
- }, {
589
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
590
- displayValue: {
591
- type: StringConstructor;
592
- };
593
- valueFormatter: {
594
- type: import("vue").PropType<(value: string | number | any[] | undefined) => string>;
595
- };
596
- show: {
597
- type: BooleanConstructor;
598
- };
599
- loading: {
600
- type: BooleanConstructor;
601
- };
602
- placeholder: {
603
- type: StringConstructor;
604
- default: string;
605
- };
606
- clearable: {
607
- type: BooleanConstructor;
608
- default: boolean;
609
- };
610
- inputProps: {
611
- type: ObjectConstructor;
612
- default: () => {};
613
- };
614
- popProps: {
615
- type: ObjectConstructor;
616
- default: () => {};
617
- };
618
- clearPatternOnOpenMenu: {
619
- type: BooleanConstructor;
620
- default: boolean;
621
- };
622
- }>> & {
623
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
624
- onClear?: ((...args: any[]) => any) | undefined;
625
- onSearch?: ((...args: any[]) => any) | undefined;
626
- onOpenMenu?: ((...args: any[]) => any) | undefined;
627
- onCloseMenu?: ((...args: any[]) => any) | undefined;
628
- }>>;
629
- uuid: string;
630
- emits: (event: "clear" | "update:show" | "search" | "openMenu" | "closeMenu", ...args: any[]) => void;
631
- search: (content?: any) => void;
632
- popoverRef: import("vue").Ref<{
633
- syncPosition: import("../../../es/shared/types").Func<any[], any>;
634
- } | undefined>;
635
- _show: import("vue").Ref<boolean>;
636
- show: import("vue").WritableComputedRef<boolean>;
637
- inputRef: import("vue").Ref<HTMLElement | undefined>;
638
- patternContent: import("vue").Ref<string>;
639
- displayValueRef: import("vue").WritableComputedRef<string | undefined>;
640
- openMenuAtInput: (evt: PointerEvent) => void;
641
- openMenu: () => void;
642
- closeMenu: () => void;
643
- onClear: () => void;
644
- NInput: any;
645
- NPopover: any;
646
- NSpin: any;
647
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:show" | "search" | "openMenu" | "closeMenu")[], "search" | "closeMenu" | "clear" | "update:show" | "openMenu", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
528
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:show" | "keydown" | "search" | "openMenu" | "closeMenu")[], "search" | "closeMenu" | "clear" | "update:show" | "keydown" | "openMenu", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
648
529
  displayValue: {
649
530
  type: StringConstructor;
650
531
  };
@@ -678,6 +559,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
678
559
  default: boolean;
679
560
  };
680
561
  }>> & {
562
+ onKeydown?: ((...args: any[]) => any) | undefined;
681
563
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
682
564
  onClear?: ((...args: any[]) => any) | undefined;
683
565
  onSearch?: ((...args: any[]) => any) | undefined;
@@ -744,9 +626,12 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
744
626
  }>;
745
627
  };
746
628
  currentComponent: import("vue").ComputedRef<any>;
629
+ inputRef: import("vue").Ref<any>;
630
+ exposeMethods: Record<any, any>;
631
+ instance: import("vue").ComponentInternalInstance | null;
747
632
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "clear" | "update:value" | "search" | "choose" | "openMenu" | "closeMenu")[], "search" | "closeMenu" | "delete" | "clear" | "update:value" | "choose" | "openMenu", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
748
633
  mode: {
749
- type: import("vue").PropType<"input" | "select">;
634
+ type: import("vue").PropType<"select" | "input">;
750
635
  default: string;
751
636
  };
752
637
  value: {
@@ -803,7 +688,7 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
803
688
  onCloseMenu?: ((...args: any[]) => any) | undefined;
804
689
  }, {
805
690
  options: import("../../../es/shared/types").AnyObject[];
806
- mode: "input" | "select";
691
+ mode: "select" | "input";
807
692
  valueKey: string;
808
693
  clearable: boolean;
809
694
  editPlaceholder: string;