cnhis-design-vue 3.1.42-release.4 → 3.1.42-release.6

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 (151) hide show
  1. package/README.md +87 -87
  2. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  3. package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +1 -1
  4. package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
  5. package/es/components/big-table/src/hooks/useEvent.js +1 -1
  6. package/es/components/big-table/src/hooks/useFormat.js +1 -1
  7. package/es/components/big-table/src/hooks/useNestTable.js +1 -1
  8. package/es/components/big-table/src/hooks/useTableParse.js +1 -1
  9. package/es/components/big-table/src/utils.d.ts +11 -1
  10. package/es/components/big-table/src/utils.js +1 -1
  11. package/es/components/button-print/index.d.ts +28 -3
  12. package/es/components/button-print/src/ButtonPrint.vue.d.ts +28 -4
  13. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  14. package/es/components/button-print/src/utils/print.js +1 -1
  15. package/es/components/form-config/index.d.ts +48 -7
  16. package/es/components/form-config/src/FormConfig.vue.d.ts +48 -7
  17. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -1
  18. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +26 -4
  19. package/es/components/form-config/src/constants/index.d.ts +8 -1
  20. package/es/components/form-config/src/constants/index.js +1 -1
  21. package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
  22. package/es/components/form-render/index.d.ts +14 -1
  23. package/es/components/form-render/src/FormRender.vue.d.ts +14 -1
  24. package/es/components/form-render/src/FormRender.vue.js +1 -1
  25. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +14 -1
  26. package/es/components/form-render/src/components/renderer/date.d.ts +4 -0
  27. package/es/components/form-render/src/components/renderer/date.js +1 -1
  28. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +18 -0
  29. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  30. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -0
  31. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  32. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  33. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  34. package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
  35. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  36. package/es/components/form-render/src/types/fieldItem.d.ts +8 -1
  37. package/es/components/form-render/src/types/index.d.ts +2 -2
  38. package/es/components/form-render/style/index.css +1 -1
  39. package/es/components/iho-table/index.d.ts +17 -3
  40. package/es/components/iho-table/src/IhoTable.vue.d.ts +17 -3
  41. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  42. package/es/components/iho-table/src/constants/index.d.ts +3 -2
  43. package/es/components/iho-table/src/constants/index.js +1 -1
  44. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +2 -2
  45. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +19 -19
  46. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -237
  47. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -4
  48. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +4 -16
  49. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +2 -2
  50. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  51. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
  52. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +1 -1
  53. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  54. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +48 -0
  55. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.js +1 -0
  56. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -0
  57. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.js +1 -0
  58. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  59. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +1 -1
  60. package/es/components/iho-table/src/plugins/index.js +1 -1
  61. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  62. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +25 -3
  63. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  64. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  65. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -1
  66. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -0
  67. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  68. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +1 -1
  69. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -0
  70. package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +1 -0
  71. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  72. package/es/components/iho-table/src/types/index.d.ts +21 -2
  73. package/es/components/iho-table/src/types/pluginType.d.ts +13 -26
  74. package/es/components/iho-table/src/utils/index.d.ts +5 -3
  75. package/es/components/iho-table/src/utils/index.js +1 -1
  76. package/es/components/iho-table/style/index.css +1 -1
  77. package/es/components/index.css +1 -1
  78. package/es/components/index.d.ts +1 -0
  79. package/es/components/info-header/index.d.ts +29 -2
  80. package/es/components/info-header/src/InfoHeader.vue.d.ts +29 -2
  81. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  82. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -1
  83. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +14 -1
  84. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +15 -1
  85. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  86. package/es/components/info-header/style/index.css +1 -1
  87. package/es/components/scale-view/index.d.ts +9 -130
  88. package/es/components/scale-view/index.js +1 -1
  89. package/es/components/scale-view/src/ScaleView.vue.d.ts +8 -130
  90. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  91. package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +1 -43
  92. package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -1
  93. package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +0 -42
  94. package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
  95. package/es/components/scale-view/src/components/formitem/r-address.js +1 -1
  96. package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
  97. package/es/components/scale-view/src/components/formitem/r-datetime.js +1 -1
  98. package/es/components/scale-view/src/components/formitem/r-map.js +1 -1
  99. package/es/components/scale-view/src/components/formitem/r-sign.js +1 -1
  100. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +4 -4
  101. package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -1
  102. package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
  103. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  104. package/es/components/scale-view/src/hooks/scaleview-init.js +1 -1
  105. package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +5 -1
  106. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  107. package/es/components/scale-view/src/hooks/scaleview-validate.js +1 -1
  108. package/es/components/scale-view/src/hooks/use-evaluate.js +1 -1
  109. package/es/components/scale-view/src/hooks/use-event.js +1 -1
  110. package/es/components/scale-view/src/types/index.d.ts +7 -0
  111. package/es/components/scale-view/src/types/index.js +1 -0
  112. package/es/components/scale-view/style/index.css +1 -1
  113. package/es/components/scale-view/style/scale-view-iconfont.ttf +0 -0
  114. package/es/components/search-cascader/index.d.ts +12 -1
  115. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +12 -1
  116. package/es/components/search-cascader/src/SearchCascader.vue.js +1 -1
  117. package/es/components/search-cascader/src/components/SearchMenu.d.ts +8 -1
  118. package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
  119. package/es/components/search-cascader/src/constants/index.d.ts +1 -0
  120. package/es/components/search-cascader/src/constants/index.js +1 -1
  121. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  122. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  123. package/es/components/select-person/index.d.ts +57 -9
  124. package/es/components/select-person/src/SearchMultiple.vue.d.ts +125 -0
  125. package/es/components/select-person/src/SelectPerson.vue.d.ts +43 -7
  126. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  127. package/es/components/select-person/src/utils/index.js +1 -1
  128. package/es/components/select-person/style/index.css +1 -1
  129. package/es/components/shortcut-setter/index.d.ts +18 -2
  130. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -2
  131. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
  132. package/es/env.d.ts +25 -24
  133. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
  134. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
  135. package/es/shared/package.json.js +1 -0
  136. package/es/shared/utils/anime.d.ts +1 -1
  137. package/es/shared/utils/anime.js +1 -1
  138. package/es/shared/utils/index.d.ts +3 -14
  139. package/es/shared/utils/index.js +1 -1
  140. package/es/shared/utils/vexutils.d.ts +2 -2
  141. package/es/shared/utils/vexutils.js +1 -1
  142. package/es/shared/utils/vexutilsExpand.d.ts +254 -0
  143. package/es/shared/utils/vexutilsExpand.js +1 -0
  144. package/package.json +2 -2
  145. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  146. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  147. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  148. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  149. package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
  150. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  151. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -2587,6 +2587,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
2587
2587
  linebarAutoHidden: {
2588
2588
  type: BooleanConstructor;
2589
2589
  };
2590
+ bordered: {
2591
+ type: BooleanConstructor;
2592
+ default: boolean;
2593
+ };
2590
2594
  }, {
2591
2595
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2592
2596
  fieldList: {
@@ -2715,6 +2719,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
2715
2719
  linebarAutoHidden: {
2716
2720
  type: BooleanConstructor;
2717
2721
  };
2722
+ bordered: {
2723
+ type: BooleanConstructor;
2724
+ default: boolean;
2725
+ };
2718
2726
  }>> & {
2719
2727
  onFormChange?: ((...args: any[]) => any) | undefined;
2720
2728
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -2870,7 +2878,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
2870
2878
  exposeEvent: {
2871
2879
  validate(path?: string): Promise<void>;
2872
2880
  getFormValues(needCombineExtendKey?: boolean): any;
2873
- setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean): void;
2881
+ setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2874
2882
  setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
2875
2883
  match: (pattern: import("@formily/path").Pattern) => boolean;
2876
2884
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
@@ -3158,6 +3166,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3158
3166
  linebarAutoHidden: {
3159
3167
  type: BooleanConstructor;
3160
3168
  };
3169
+ bordered: {
3170
+ type: BooleanConstructor;
3171
+ default: boolean;
3172
+ };
3161
3173
  }>> & {
3162
3174
  onFormChange?: ((...args: any[]) => any) | undefined;
3163
3175
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -3173,6 +3185,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3173
3185
  consumer: boolean;
3174
3186
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
3175
3187
  linebarAutoHidden: boolean;
3188
+ bordered: boolean;
3176
3189
  }>;
3177
3190
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
3178
3191
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -3278,6 +3291,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3278
3291
  color: string;
3279
3292
  textColor: string;
3280
3293
  };
3294
+ createSlotRenderer: (value: unknown) => any;
3281
3295
  show: import("vue").Ref<boolean>;
3282
3296
  fieldList: import("vue").ComputedRef<import("..").FieldItem[]>;
3283
3297
  formRenderRef: import("vue").Ref<import("..").FormRenderExpose | undefined>;
@@ -3422,6 +3436,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3422
3436
  linebarAutoHidden: {
3423
3437
  type: BooleanConstructor;
3424
3438
  };
3439
+ bordered: {
3440
+ type: BooleanConstructor;
3441
+ default: boolean;
3442
+ };
3425
3443
  }, {
3426
3444
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
3427
3445
  fieldList: {
@@ -3550,6 +3568,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3550
3568
  linebarAutoHidden: {
3551
3569
  type: BooleanConstructor;
3552
3570
  };
3571
+ bordered: {
3572
+ type: BooleanConstructor;
3573
+ default: boolean;
3574
+ };
3553
3575
  }>> & {
3554
3576
  onFormChange?: ((...args: any[]) => any) | undefined;
3555
3577
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -3705,7 +3727,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3705
3727
  exposeEvent: {
3706
3728
  validate(path?: string): Promise<void>;
3707
3729
  getFormValues(needCombineExtendKey?: boolean): any;
3708
- setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean): void;
3730
+ setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
3709
3731
  setFieldState(path: string, handler: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
3710
3732
  match: (pattern: import("@formily/path").Pattern) => boolean;
3711
3733
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
@@ -3993,6 +4015,10 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3993
4015
  linebarAutoHidden: {
3994
4016
  type: BooleanConstructor;
3995
4017
  };
4018
+ bordered: {
4019
+ type: BooleanConstructor;
4020
+ default: boolean;
4021
+ };
3996
4022
  }>> & {
3997
4023
  onFormChange?: ((...args: any[]) => any) | undefined;
3998
4024
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -4008,6 +4034,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
4008
4034
  consumer: boolean;
4009
4035
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
4010
4036
  linebarAutoHidden: boolean;
4037
+ bordered: boolean;
4011
4038
  }>;
4012
4039
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
4013
4040
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -2581,6 +2581,10 @@ declare const _default: import("vue").DefineComponent<{
2581
2581
  linebarAutoHidden: {
2582
2582
  type: BooleanConstructor;
2583
2583
  };
2584
+ bordered: {
2585
+ type: BooleanConstructor;
2586
+ default: boolean;
2587
+ };
2584
2588
  }, {
2585
2589
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2586
2590
  fieldList: {
@@ -2709,6 +2713,10 @@ declare const _default: import("vue").DefineComponent<{
2709
2713
  linebarAutoHidden: {
2710
2714
  type: BooleanConstructor;
2711
2715
  };
2716
+ bordered: {
2717
+ type: BooleanConstructor;
2718
+ default: boolean;
2719
+ };
2712
2720
  }>> & {
2713
2721
  onFormChange?: ((...args: any[]) => any) | undefined;
2714
2722
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -2864,7 +2872,7 @@ declare const _default: import("vue").DefineComponent<{
2864
2872
  exposeEvent: {
2865
2873
  validate(path?: string): Promise<void>;
2866
2874
  getFormValues(needCombineExtendKey?: boolean): any;
2867
- setFormValues(values: AnyObject, needSplitExtendKey?: boolean): void;
2875
+ setFormValues(values: AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2868
2876
  setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
2869
2877
  match: (pattern: import("@formily/path").Pattern) => boolean;
2870
2878
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
@@ -3152,6 +3160,10 @@ declare const _default: import("vue").DefineComponent<{
3152
3160
  linebarAutoHidden: {
3153
3161
  type: BooleanConstructor;
3154
3162
  };
3163
+ bordered: {
3164
+ type: BooleanConstructor;
3165
+ default: boolean;
3166
+ };
3155
3167
  }>> & {
3156
3168
  onFormChange?: ((...args: any[]) => any) | undefined;
3157
3169
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -3167,6 +3179,7 @@ declare const _default: import("vue").DefineComponent<{
3167
3179
  consumer: boolean;
3168
3180
  enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
3169
3181
  linebarAutoHidden: boolean;
3182
+ bordered: boolean;
3170
3183
  }>;
3171
3184
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
3172
3185
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -3272,6 +3285,7 @@ declare const _default: import("vue").DefineComponent<{
3272
3285
  color: string;
3273
3286
  textColor: string;
3274
3287
  };
3288
+ createSlotRenderer: (value: unknown) => any;
3275
3289
  show: import("vue").Ref<boolean>;
3276
3290
  fieldList: import("vue").ComputedRef<import("../../../../es/components/form-render").FieldItem[]>;
3277
3291
  formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
@@ -3416,6 +3430,10 @@ declare const _default: import("vue").DefineComponent<{
3416
3430
  linebarAutoHidden: {
3417
3431
  type: BooleanConstructor;
3418
3432
  };
3433
+ bordered: {
3434
+ type: BooleanConstructor;
3435
+ default: boolean;
3436
+ };
3419
3437
  }, {
3420
3438
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
3421
3439
  fieldList: {
@@ -3544,6 +3562,10 @@ declare const _default: import("vue").DefineComponent<{
3544
3562
  linebarAutoHidden: {
3545
3563
  type: BooleanConstructor;
3546
3564
  };
3565
+ bordered: {
3566
+ type: BooleanConstructor;
3567
+ default: boolean;
3568
+ };
3547
3569
  }>> & {
3548
3570
  onFormChange?: ((...args: any[]) => any) | undefined;
3549
3571
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -3699,7 +3721,7 @@ declare const _default: import("vue").DefineComponent<{
3699
3721
  exposeEvent: {
3700
3722
  validate(path?: string): Promise<void>;
3701
3723
  getFormValues(needCombineExtendKey?: boolean): any;
3702
- setFormValues(values: AnyObject, needSplitExtendKey?: boolean): void;
3724
+ setFormValues(values: AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
3703
3725
  setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
3704
3726
  match: (pattern: import("@formily/path").Pattern) => boolean;
3705
3727
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
@@ -3987,6 +4009,10 @@ declare const _default: import("vue").DefineComponent<{
3987
4009
  linebarAutoHidden: {
3988
4010
  type: BooleanConstructor;
3989
4011
  };
4012
+ bordered: {
4013
+ type: BooleanConstructor;
4014
+ default: boolean;
4015
+ };
3990
4016
  }>> & {
3991
4017
  onFormChange?: ((...args: any[]) => any) | undefined;
3992
4018
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -4002,6 +4028,7 @@ declare const _default: import("vue").DefineComponent<{
4002
4028
  consumer: boolean;
4003
4029
  enterToNextWidget: boolean | ((fieldItem: import("../../../../es/components/form-render").FieldItem) => boolean | void);
4004
4030
  linebarAutoHidden: boolean;
4031
+ bordered: boolean;
4005
4032
  }>;
4006
4033
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
4007
4034
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- import{defineComponent as e,provide as t,ref as n,computed as o,openBlock as i,createElementBlock as a,normalizeClass as r,normalizeStyle as s,unref as p,createElementVNode as c,createCommentVNode as l,renderSlot as f,createVNode as d,withCtx as u,mergeProps as m,Fragment as h,renderList as v,createBlock as g,resolveDynamicComponent as y,h as _,nextTick as b}from"vue";import{isString as I}from"lodash-es";import $ from"./components/infoDescription/index.vue.js";import x from"./components/patientInfo/index.vue.js";import{InjectionInfoHeaderEmit as S,InjectionInfoHeaderFormRef as j}from"./constants/index.js";import z from"../../../_virtual/plugin-vue_export-helper.js";const w={class:"c-info-header__operation"},k={key:0,class:"c-info-header__divider"},C={class:"c-info-header__setting"},H=["onClick"];var P=z(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},patientInfo:{type:Object,default:()=>({})},patientEditable:{type:Boolean},separator:{type:String,default:":"},infoList:{type:Array,default:()=>[]},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:38},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]},formProps:{type:Object}},emits:["openPatientInfo","fieldSet","update:compact","formChange"],setup(e,{expose:z,emit:P}){const A=e;t(S,P);const B=n();function D(){var e;return null==(e=B.value)?void 0:e.updateColumn()}const E=o((()=>({"--row-height":A.rowHeight,"--row-num":A.compact?1:2,"--padding-tb":A.compact?9:4}))),F={patientInfo:{event:function(){P("openPatientInfo")},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){P("fieldSet")},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){P("update:compact",!A.compact),await b(),await D()},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},N=o((()=>A.settingIcons.map((e=>(I(e)?F[e]:e)||{})))),O=n();return t(j,O),z({update:D,$formRender:O}),(t,n)=>(i(),a("div",{class:r(["c-info-header",{"is-compact":e.compact}]),style:s(p(E))},[c("section",w,[l(" 操作区插槽 "),f(t.$slots,"operation")]),t.$slots.operation?(i(),a("div",k)):l("v-if",!0),l(" 患者信息区插槽,需要自己实现整个患者信息区时使用 "),f(t.$slots,"patientModule",{},(()=>[d(p(x),{"patient-info":e.patientInfo,"patient-editable":e.patientEditable},{avatarInfo:u((()=>[l(" 头像区补充内容插槽 (会插入头像下方) "),f(t.$slots,"avatarInfo")])),avatar:u((()=>[l(" 头像插槽 "),f(t.$slots,"avatar")])),tags:u((()=>[l(" 标签插槽 "),f(t.$slots,"tags")])),_:3},8,["patient-info","patient-editable"])])),d(p($),m({ref_key:"infoDescriptionRef",ref:B,"root-slot":t.$slots},t.$props),{info:u((()=>[l(" 信息描述区插槽 "),f(t.$slots,"info")])),_:3},16,["root-slot"]),c("section",C,[l(" 设置区插槽 "),f(t.$slots,"setting",{},(()=>[(i(!0),a(h,null,v(p(N),(e=>(i(),a("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(i(),g(y(e.render)))],8,H)))),128))]))])],6))}}),[["__file","InfoHeader.vue"]]);export{P as default};
1
+ import{defineComponent as e,provide as t,ref as n,computed as o,openBlock as i,createElementBlock as a,normalizeClass as r,normalizeStyle as s,unref as p,createElementVNode as f,createCommentVNode as c,renderSlot as l,createVNode as d,withCtx as u,mergeProps as m,Fragment as h,renderList as v,createBlock as g,resolveDynamicComponent as y,h as _,nextTick as b}from"vue";import{isString as I}from"lodash-es";import $ from"./components/infoDescription/index.vue.js";import x from"./components/patientInfo/index.vue.js";import{InjectionInfoHeaderEmit as S,InjectionInfoHeaderFormRef as j}from"./constants/index.js";import z from"../../../_virtual/plugin-vue_export-helper.js";const w={class:"c-info-header__operation"},k={key:0,class:"c-info-header__divider"},C={class:"c-info-header__setting"},H=["onClick"];var P=z(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},patientInfo:{type:Object,default:()=>({})},patientEditable:{type:Boolean},separator:{type:String,default:":"},infoList:{type:Array,default:()=>[]},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:38},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]},formProps:{type:Object}},emits:["openPatientInfo","fieldSet","update:compact","formChange"],setup(e,{expose:z,emit:P}){const A=e;t(S,P);const B=n();function D(){var e;return null==(e=B.value)?void 0:e.updateColumn()}const E=o((()=>({"--row-height":A.rowHeight,"--row-num":A.compact?1:2,"--padding-tb":A.compact?9:4}))),F={patientInfo:{event:function(){P("openPatientInfo")},render:()=>[_("i",{class:"info-header--iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){P("fieldSet")},render:()=>[_("i",{class:"info-header--iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){P("update:compact",!A.compact),await b(),await D()},render:()=>[_("i",{class:"info-header--iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},N=o((()=>A.settingIcons.map((e=>(I(e)?F[e]:e)||{})))),O=n();return t(j,O),z({update:D,$formRender:O}),(t,n)=>(i(),a("div",{class:r(["c-info-header",{"is-compact":e.compact}]),style:s(p(E))},[f("section",w,[c(" 操作区插槽 "),l(t.$slots,"operation")]),t.$slots.operation?(i(),a("div",k)):c("v-if",!0),c(" 患者信息区插槽,需要自己实现整个患者信息区时使用 "),l(t.$slots,"patientModule",{},(()=>[d(p(x),{"patient-info":e.patientInfo,"patient-editable":e.patientEditable},{avatarInfo:u((()=>[c(" 头像区补充内容插槽 (会插入头像下方) "),l(t.$slots,"avatarInfo")])),avatar:u((()=>[c(" 头像插槽 "),l(t.$slots,"avatar")])),tags:u((()=>[c(" 标签插槽 "),l(t.$slots,"tags")])),_:3},8,["patient-info","patient-editable"])])),d(p($),m({ref_key:"infoDescriptionRef",ref:B,"root-slot":t.$slots},t.$props),{info:u((()=>[c(" 信息描述区插槽 "),l(t.$slots,"info")])),_:3},16,["root-slot"]),f("section",C,[c(" 设置区插槽 "),l(t.$slots,"setting",{},(()=>[(i(!0),a(h,null,v(p(N),(e=>(i(),a("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(i(),g(y(e.render)))],8,H)))),128))]))])],6))}}),[["__file","InfoHeader.vue"]]);export{P as default};
@@ -1 +1 @@
1
- import{defineComponent as t,ref as n,computed as e,openBlock as i,createElementBlock as o,normalizeStyle as r,unref as l,createElementVNode as u,createVNode as a,normalizeClass as c}from"vue";import s from"./InfoEllipsis.vue.js";import d from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"c-info-header__hidden--content"};var p=d(t({__name:"HiddenContent",props:{content:{type:String,default:""},tip:String,width:{type:Number},contentStyle:{type:Object,default:()=>({})}},setup(t){const d=t,p=n(!0);function h(){p.value=!p.value}const v=e((()=>{const t=d.width+"px";return{maxWidth:t,width:t}})),_=e((()=>{if(!d.width)return{};const t=d.width-40+"px";return Object.assign({},d.contentStyle,{maxWidth:t})})),g=e((()=>{let{content:t}=d;if(!p.value)return t;if(null==t)return"-";t+="";const n=t.length;if(!n||1===n)return t;const e=Math.floor(n/2),i=Math.floor((n-e)/2);return`${t.substring(0,i)}${"*".repeat(e)}${null==t?void 0:t.substring(i+e)}`}));return(n,e)=>(i(),o("div",{class:"c-info-header__hidden",style:r(l(v))},[u("div",f,[a(s,{"content-style":l(_),content:l(g),tip:t.tip},null,8,["content-style","content","tip"])]),u("i",{onClick:h,class:c(["c-info-header__hidden--icon","iconfont","info-header--icon-"+(p.value?"guanbi-yanjing":"faxian-yanjing")])},null,2)],4))}}),[["__file","HiddenContent.vue"]]);export{p as default};
1
+ import{defineComponent as t,ref as n,computed as e,openBlock as i,createElementBlock as o,normalizeStyle as r,unref as l,createElementVNode as u,createVNode as a,normalizeClass as c}from"vue";import s from"./InfoEllipsis.vue.js";import d from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"c-info-header__hidden--content"};var p=d(t({__name:"HiddenContent",props:{content:{type:String,default:""},tip:String,width:{type:Number},contentStyle:{type:Object,default:()=>({})}},setup(t){const d=t,p=n(!0);function h(){p.value=!p.value}const v=e((()=>{const t=d.width+"px";return{maxWidth:t,width:t}})),_=e((()=>{if(!d.width)return{};const t=d.width-40+"px";return Object.assign({},d.contentStyle,{maxWidth:t})})),g=e((()=>{let{content:t}=d;if(!p.value)return t;if(null==t)return"-";t+="";const n=t.length;if(!n||1===n)return t;const e=Math.floor(n/2),i=Math.floor((n-e)/2);return`${t.substring(0,i)}${"*".repeat(e)}${null==t?void 0:t.substring(i+e)}`}));return(n,e)=>(i(),o("div",{class:"c-info-header__hidden",style:r(l(v))},[u("div",f,[a(s,{"content-style":l(_),content:l(g),tip:t.tip},null,8,["content-style","content","tip"])]),u("i",{onClick:h,class:c(["c-info-header__hidden--icon","info-header--iconfont","info-header--icon-"+(p.value?"guanbi-yanjing":"faxian-yanjing")])},null,2)],4))}}),[["__file","HiddenContent.vue"]]);export{p as default};
@@ -2169,6 +2169,10 @@ declare const _default: import("vue").DefineComponent<{
2169
2169
  linebarAutoHidden: {
2170
2170
  type: BooleanConstructor;
2171
2171
  };
2172
+ bordered: {
2173
+ type: BooleanConstructor;
2174
+ default: boolean;
2175
+ };
2172
2176
  }, {
2173
2177
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2174
2178
  fieldList: {
@@ -2297,6 +2301,10 @@ declare const _default: import("vue").DefineComponent<{
2297
2301
  linebarAutoHidden: {
2298
2302
  type: BooleanConstructor;
2299
2303
  };
2304
+ bordered: {
2305
+ type: BooleanConstructor;
2306
+ default: boolean;
2307
+ };
2300
2308
  }>> & {
2301
2309
  onFormChange?: ((...args: any[]) => any) | undefined;
2302
2310
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -2452,7 +2460,7 @@ declare const _default: import("vue").DefineComponent<{
2452
2460
  exposeEvent: {
2453
2461
  validate(path?: string): Promise<void>;
2454
2462
  getFormValues(needCombineExtendKey?: boolean): any;
2455
- setFormValues(values: import("../../../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean): void;
2463
+ setFormValues(values: import("../../../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
2456
2464
  setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
2457
2465
  match: (pattern: import("@formily/path").Pattern) => boolean;
2458
2466
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
@@ -2740,6 +2748,10 @@ declare const _default: import("vue").DefineComponent<{
2740
2748
  linebarAutoHidden: {
2741
2749
  type: BooleanConstructor;
2742
2750
  };
2751
+ bordered: {
2752
+ type: BooleanConstructor;
2753
+ default: boolean;
2754
+ };
2743
2755
  }>> & {
2744
2756
  onFormChange?: ((...args: any[]) => any) | undefined;
2745
2757
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -2755,6 +2767,7 @@ declare const _default: import("vue").DefineComponent<{
2755
2767
  consumer: boolean;
2756
2768
  enterToNextWidget: boolean | ((fieldItem: import("../../../../../../es/components/form-render").FieldItem) => boolean | void);
2757
2769
  linebarAutoHidden: boolean;
2770
+ bordered: boolean;
2758
2771
  }>;
2759
2772
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
2760
2773
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  color: string;
37
37
  textColor: string;
38
38
  };
39
+ createSlotRenderer: (value: unknown) => any;
39
40
  show: import("vue").Ref<boolean>;
40
41
  fieldList: import("vue").ComputedRef<FieldItem[]>;
41
42
  formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
@@ -180,6 +181,10 @@ declare const _default: import("vue").DefineComponent<{
180
181
  linebarAutoHidden: {
181
182
  type: BooleanConstructor;
182
183
  };
184
+ bordered: {
185
+ type: BooleanConstructor;
186
+ default: boolean;
187
+ };
183
188
  }, {
184
189
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
185
190
  fieldList: {
@@ -308,6 +313,10 @@ declare const _default: import("vue").DefineComponent<{
308
313
  linebarAutoHidden: {
309
314
  type: BooleanConstructor;
310
315
  };
316
+ bordered: {
317
+ type: BooleanConstructor;
318
+ default: boolean;
319
+ };
311
320
  }>> & {
312
321
  onFormChange?: ((...args: any[]) => any) | undefined;
313
322
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -463,7 +472,7 @@ declare const _default: import("vue").DefineComponent<{
463
472
  exposeEvent: {
464
473
  validate(path?: string): Promise<void>;
465
474
  getFormValues(needCombineExtendKey?: boolean): any;
466
- setFormValues(values: import("../../../../../shared/types").AnyObject, needSplitExtendKey?: boolean): void;
475
+ setFormValues(values: import("../../../../../shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
467
476
  setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
468
477
  match: (pattern: import("@formily/path").Pattern) => boolean;
469
478
  validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
@@ -751,6 +760,10 @@ declare const _default: import("vue").DefineComponent<{
751
760
  linebarAutoHidden: {
752
761
  type: BooleanConstructor;
753
762
  };
763
+ bordered: {
764
+ type: BooleanConstructor;
765
+ default: boolean;
766
+ };
754
767
  }>> & {
755
768
  onFormChange?: ((...args: any[]) => any) | undefined;
756
769
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -766,6 +779,7 @@ declare const _default: import("vue").DefineComponent<{
766
779
  consumer: boolean;
767
780
  enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
768
781
  linebarAutoHidden: boolean;
782
+ bordered: boolean;
769
783
  }>;
770
784
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
771
785
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- import{defineComponent as e,computed as t,ref as a,watch as n,nextTick as i,openBlock as l,createElementBlock as o,renderSlot as r,createVNode as s,unref as p,withCtx as f,mergeProps as d,createElementVNode as u,normalizeClass as c,toDisplayString as v,createCommentVNode as _,createTextVNode as m,Fragment as g,renderList as x,createBlock as y,resolveDynamicComponent as I}from"vue";import{isArray as h,isString as w,pick as b}from"lodash-es";import{NPopover as k,NImage as P,NDivider as E,NSpace as U,NButton as C,NTag as L,NEllipsis as H}from"naive-ui";import j from"../../../../form-render/index.js";import z from"../../../../../_virtual/plugin-vue_export-helper.js";const T={class:"c-info-header__patient"},F={class:"c-info-header__patientHeader"},N={key:0,class:"c-info-header__patientHeader--name"},R={key:1,class:"c-info-header__patientHeader--sex"},$={key:2,class:"c-info-header__patientHeader--age"};var B=z(e({__name:"index",props:{patientInfo:{default:()=>({})},patientEditable:{type:Boolean}},setup(e){const z=e,B=t((()=>z.patientInfo&&h(z.patientInfo.tagList)?z.patientInfo.tagList.filter((e=>e.render||w(e.content)&&e.content)):[])),S={warning:"#fcc200",info:"rgba(45, 122, 255, 0.1)"},V={warning:"#fff",info:"#2563F4"};function D({type:e="warning"}){return{color:S[e],textColor:V[e]}}const M=a(!1),O=t((()=>z.patientEditable?[{val_key:"name",is_null:"0",is_empty:"0",alias:"姓名",html_type:"INPUT",...z.patientInfo.nameProps},{val_key:"sex",alias:"性别",html_type:"SELECT",is_null:"0",option:[{text:"未知",value:"未知"},{text:"男",value:"男"},{text:"女",value:"女"}],...z.patientInfo.sexProps},{val_key:"age",alias:"年龄",html_type:"INPUT_NUMBER",is_null:"0",is_empty:"0",decoratorProps:{style:{flex:2}},...z.patientInfo.ageProps,suffixConfig:{alias:"年龄单位",is_null:"0",val_key:"ageUnit",html_type:"SELECT",decoratorProps:{style:{flex:1}},option:[{value:"天",text:"天"},{value:"月",text:"月"},{value:"岁",text:"岁"},{value:"小时",text:"小时"},{value:"分",text:"分"},{value:"周",text:"周"}],...z.patientInfo.ageUnitProps}}]:[])),W=a();async function q(){W.value&&(await W.value.validate(),Object.assign(z.patientInfo,b(W.value.getFormValues(),["name","sex","age","ageUnit"])),M.value=!1)}return n(M,(async e=>{await i(),e&&W.value&&W.value.setFormValues(z.patientInfo||{})})),(t,a)=>(l(),o("section",T,[r(t.$slots,"avatar",{},(()=>[s(p(k),null,{trigger:f((()=>[s(p(P),d({style:{"border-radius":"50%"},width:40,height:40,"preview-disabled":"",src:e.patientInfo.avatar},e.patientInfo.avatarProps),null,16,["src"])])),default:f((()=>[s(p(P),d({width:200,"preview-disabled":"",src:e.patientInfo.avatarPreview||e.patientInfo.avatar},e.patientInfo.avatarPreviewProps),null,16,["src"])])),_:1})])),u("section",null,[u("header",F,[s(p(k),{disabled:!e.patientEditable,trigger:"manual",placement:"bottom",show:M.value},{trigger:f((()=>[u("section",{class:c(["c-info-header__patientHeaderWrapper",{"in-edit":M.value}]),onDblclick:a[0]||(a[0]=t=>e.patientEditable&&(M.value=!0))},[e.patientInfo.name?(l(),o("div",N,v(e.patientInfo.name),1)):_("v-if",!0),e.patientInfo.sex?(l(),o("div",R,"/ "+v(e.patientInfo.sex),1)):_("v-if",!0),null!=e.patientInfo.age?(l(),o("div",$," / "+v(e.patientInfo.age)+v(e.patientInfo.ageUnit||"岁"),1)):_("v-if",!0)],34)])),default:f((()=>[s(p(j),{column:"6",size:"small","label-placement":"left",style:{width:"200px",margin:"4px 0 -8px 0"},"field-list":p(O),ref_key:"formRenderRef",ref:W},null,8,["field-list"]),s(p(E),{style:{margin:"8px -14px",width:"calc(100% + 28px)"}}),s(p(U),{justify:"end"},{default:f((()=>[s(p(C),{size:"small",onClick:a[1]||(a[1]=e=>M.value=!1)},{default:f((()=>[m("取消")])),_:1}),s(p(C),{size:"small",type:"info",onClick:q},{default:f((()=>[m("确认")])),_:1})])),_:1})])),_:1},8,["disabled","show"]),r(t.$slots,"tags",{tagList:p(B)},(()=>[(l(!0),o(g,null,x(e.patientInfo.tagList||[],(e=>(l(),y(p(L),d({key:e.content,size:"medium",bordered:!1,color:D(e)},e),{default:f((()=>[e.render?(l(),y(I(e.render),{key:0})):(l(),y(p(H),{key:1,style:{"max-width":"96px"}},{default:f((()=>[m(v(e.content),1)])),_:2},1024))])),_:2},1040,["color"])))),128))]))]),r(t.$slots,"avatarInfo")])]))}}),[["__file","index.vue"]]);export{B as default};
1
+ import{defineComponent as e,computed as t,ref as a,watch as n,nextTick as i,openBlock as l,createElementBlock as o,renderSlot as r,createVNode as s,unref as p,withCtx as f,mergeProps as u,createElementVNode as d,normalizeClass as c,createBlock as v,resolveDynamicComponent as _,createCommentVNode as m,createTextVNode as g,Fragment as x,renderList as y,toDisplayString as I,h}from"vue";import{isArray as w,isString as b,isNumber as k,isFunction as P,isObject as E,pick as U}from"lodash-es";import{NPopover as C,NImage as L,NDivider as H,NSpace as j,NButton as z,NTag as T,NEllipsis as F}from"naive-ui";import N from"../../../../form-render/index.js";import R from"../../../../../_virtual/plugin-vue_export-helper.js";const $={class:"c-info-header__patient"},B={class:"c-info-header__patientHeader"},S={key:0,class:"c-info-header__patientHeader--name"},V={key:1,class:"c-info-header__patientHeader--sex"},D={key:2,class:"c-info-header__patientHeader--age"};var M=R(e({__name:"index",props:{patientInfo:{default:()=>({})},patientEditable:{type:Boolean}},setup(e){const R=e,M=t((()=>R.patientInfo&&w(R.patientInfo.tagList)?R.patientInfo.tagList.filter((e=>e.render||b(e.content)&&e.content)):[])),O={warning:"#fcc200",info:"rgba(45, 122, 255, 0.1)"},W={warning:"#fff",info:"#2563F4"};function q({type:e="warning"}){return{color:O[e],textColor:W[e]}}function A(e){return()=>b(e)||k(e)?e:P(e)?e():E(e)?h(e):null}const G=a(!1),J=t((()=>R.patientEditable?[{val_key:"name",is_null:"0",is_empty:"0",alias:"姓名",html_type:"INPUT",...R.patientInfo.nameProps},{val_key:"sex",alias:"性别",html_type:"SELECT",is_null:"0",option:[{text:"未知",value:"未知"},{text:"男",value:"男"},{text:"女",value:"女"}],...R.patientInfo.sexProps},{val_key:"age",alias:"年龄",html_type:"INPUT_NUMBER",is_null:"0",is_empty:"0",decoratorProps:{style:{flex:2}},...R.patientInfo.ageProps,suffixConfig:{alias:"年龄单位",is_null:"0",val_key:"ageUnit",html_type:"SELECT",decoratorProps:{style:{flex:1}},option:[{value:"天",text:"天"},{value:"月",text:"月"},{value:"岁",text:"岁"},{value:"小时",text:"小时"},{value:"分",text:"分"},{value:"周",text:"周"}],...R.patientInfo.ageUnitProps}}]:[])),K=a();async function Q(){K.value&&(await K.value.validate(),Object.assign(R.patientInfo,U(K.value.getFormValues(),["name","sex","age","ageUnit"])),G.value=!1)}return n(G,(async e=>{await i(),e&&K.value&&K.value.setFormValues(R.patientInfo||{})})),(t,a)=>(l(),o("section",$,[r(t.$slots,"avatar",{},(()=>[s(p(C),null,{trigger:f((()=>[s(p(L),u({style:{"border-radius":"50%"},width:40,height:40,"preview-disabled":"",src:e.patientInfo.avatar},e.patientInfo.avatarProps),null,16,["src"])])),default:f((()=>[s(p(L),u({width:200,"preview-disabled":"",src:e.patientInfo.avatarPreview||e.patientInfo.avatar},e.patientInfo.avatarPreviewProps),null,16,["src"])])),_:1})])),d("section",null,[d("header",B,[s(p(C),{disabled:!e.patientEditable,trigger:"manual",placement:"bottom",show:G.value},{trigger:f((()=>{var t;return[d("section",{class:c(["c-info-header__patientHeaderWrapper",{"in-edit":G.value}]),onDblclick:a[0]||(a[0]=t=>e.patientEditable&&(G.value=!0))},[e.patientInfo.name?(l(),o("div",S,[(l(),v(_(A(e.patientInfo.name))))])):m("v-if",!0),e.patientInfo.sex?(l(),o("div",V,[g(" / "),(l(),v(_(A(e.patientInfo.sex))))])):m("v-if",!0),null!=e.patientInfo.age?(l(),o("div",D,[g(" / "),(l(),v(_(A(e.patientInfo.age)))),(l(),v(_(A(null!=(t=e.patientInfo.ageUnit)?t:"岁"))))])):m("v-if",!0)],34)]})),default:f((()=>[s(p(N),{column:"6",size:"small","label-placement":"left",style:{width:"200px",margin:"4px 0 -8px 0"},"field-list":p(J),ref_key:"formRenderRef",ref:K},null,8,["field-list"]),s(p(H),{style:{margin:"8px -14px",width:"calc(100% + 28px)"}}),s(p(j),{justify:"end"},{default:f((()=>[s(p(z),{size:"small",onClick:a[1]||(a[1]=e=>G.value=!1)},{default:f((()=>[g("取消")])),_:1}),s(p(z),{size:"small",type:"info",onClick:Q},{default:f((()=>[g("确认")])),_:1})])),_:1})])),_:1},8,["disabled","show"]),r(t.$slots,"tags",{tagList:p(M)},(()=>[(l(!0),o(x,null,y(e.patientInfo.tagList||[],(e=>(l(),v(p(T),u({key:e.content,size:"medium",bordered:!1,color:q(e)},e),{default:f((()=>[e.render?(l(),v(_(e.render),{key:0})):(l(),v(p(F),{key:1,style:{"max-width":"96px"}},{default:f((()=>[g(I(e.content),1)])),_:2},1024))])),_:2},1040,["color"])))),128))]))]),r(t.$slots,"avatarInfo")])]))}}),[["__file","index.vue"]]);export{M as default};
@@ -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;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}
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,padding .2s linear}@font-face{font-family:info-header-iconfont;src:url(info-header-font.ttf) format("truetype")}.c-info-header .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,max-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 .info-header--iconfont{color:#000;display:inline-block;font-size:20px;transition:all .2s linear}.c-info-header [compact-hidden]{max-height:160px;transition:max-height .2s ease-in-out,opacity .2s linear}.c-info-header.is-compact [compact-hidden]{max-height:0!important;opacity:0!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,4 +1,5 @@
1
1
  import { SFCWithInstall } from '../../../es/shared/types';
2
+ export * from './src/types';
2
3
  declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
3
4
  guageData: {
4
5
  type: ObjectConstructor;
@@ -275,7 +276,11 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
275
276
  skipCover: import("vue").ComputedRef<any>;
276
277
  scaleEdit: import("vue").ComputedRef<boolean>;
277
278
  initForm: (data: any) => void;
278
- submitMethod: () => void;
279
+ submitMethod: () => {
280
+ params: any;
281
+ hasCallbackItem: any;
282
+ isCallback: boolean;
283
+ };
279
284
  nextLogicEvent: (choiceValue: any, formItem: any, formArray?: any[], isInit?: boolean | undefined) => void;
280
285
  handleDynamicDataRelation: (list: any[], formItem: any, formArray: any[]) => void;
281
286
  handleQuery: () => void;
@@ -291,9 +296,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
291
296
  labelStr: string;
292
297
  labels: any[];
293
298
  };
294
- onSubmit: () => void;
299
+ onSubmitData: () => void;
295
300
  confirmSubmit: (message: any) => void;
296
- onSubmitForm: () => void;
301
+ onSubmitForm: () => Promise<unknown>;
297
302
  cancel: () => void;
298
303
  getScaleData: () => any;
299
304
  isCollection: (e: string) => boolean;
@@ -345,48 +350,6 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
345
350
  noDataImg: string;
346
351
  showImg: boolean;
347
352
  }>;
348
- SvgIcon: import("vue").DefineComponent<{
349
- iconClass: {
350
- type: StringConstructor;
351
- required: true;
352
- default: string;
353
- };
354
- title: {
355
- type: StringConstructor;
356
- required: false;
357
- default: string;
358
- };
359
- className: {
360
- type: StringConstructor;
361
- required: false;
362
- };
363
- }, {
364
- props: {
365
- iconClass: string;
366
- title: string;
367
- className?: string | undefined;
368
- };
369
- iconName: import("vue").ComputedRef<string>;
370
- svgClass: import("vue").ComputedRef<string>;
371
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
372
- iconClass: {
373
- type: StringConstructor;
374
- required: true;
375
- default: string;
376
- };
377
- title: {
378
- type: StringConstructor;
379
- required: false;
380
- default: string;
381
- };
382
- className: {
383
- type: StringConstructor;
384
- required: false;
385
- };
386
- }>>, {
387
- title: string;
388
- iconClass: string;
389
- }>;
390
353
  EvaluateCountdown: import("vue").DefineComponent<{
391
354
  formArray: {
392
355
  type: ArrayConstructor;
@@ -464,48 +427,6 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
464
427
  setAnswered: number;
465
428
  totalLen: number;
466
429
  };
467
- SvgIcon: import("vue").DefineComponent<{
468
- iconClass: {
469
- type: StringConstructor;
470
- required: true;
471
- default: string;
472
- };
473
- title: {
474
- type: StringConstructor;
475
- required: false;
476
- default: string;
477
- };
478
- className: {
479
- type: StringConstructor;
480
- required: false;
481
- };
482
- }, {
483
- props: {
484
- iconClass: string;
485
- title: string;
486
- className?: string | undefined;
487
- };
488
- iconName: import("vue").ComputedRef<string>;
489
- svgClass: import("vue").ComputedRef<string>;
490
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
491
- iconClass: {
492
- type: StringConstructor;
493
- required: true;
494
- default: string;
495
- };
496
- title: {
497
- type: StringConstructor;
498
- required: false;
499
- default: string;
500
- };
501
- className: {
502
- type: StringConstructor;
503
- required: false;
504
- };
505
- }>>, {
506
- title: string;
507
- iconClass: string;
508
- }>;
509
430
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closeEvaluateCountdown"[], "closeEvaluateCountdown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
510
431
  formArray: {
511
432
  type: ArrayConstructor;
@@ -663,53 +584,11 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
663
584
  }>> & {}>>;
664
585
  questionScore: import("vue").ComputedRef<any>;
665
586
  answerSuccess: import("vue").ComputedRef<boolean>;
666
- answerIcon: import("vue").ComputedRef<"xitongtubiaodui" | "xitongtubiaocuo">;
587
+ answerIcon: import("vue").ComputedRef<"icon-scale-view-dui" | "icon-scale-view-cuo">;
667
588
  answerResText: import("vue").ComputedRef<"部分正确" | "回答正确" | "回答错误">;
668
589
  scoreText: import("vue").ComputedRef<"部分" | "本题">;
669
590
  correctAnswer: import("vue").ComputedRef<any>;
670
591
  answerKeyText: import("vue").ComputedRef<any>;
671
- SvgIcon: import("vue").DefineComponent<{
672
- iconClass: {
673
- type: StringConstructor;
674
- required: true;
675
- default: string;
676
- };
677
- title: {
678
- type: StringConstructor;
679
- required: false;
680
- default: string;
681
- };
682
- className: {
683
- type: StringConstructor;
684
- required: false;
685
- };
686
- }, {
687
- props: {
688
- iconClass: string;
689
- title: string;
690
- className?: string | undefined;
691
- };
692
- iconName: import("vue").ComputedRef<string>;
693
- svgClass: import("vue").ComputedRef<string>;
694
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
695
- iconClass: {
696
- type: StringConstructor;
697
- required: true;
698
- default: string;
699
- };
700
- title: {
701
- type: StringConstructor;
702
- required: false;
703
- default: string;
704
- };
705
- className: {
706
- type: StringConstructor;
707
- required: false;
708
- };
709
- }>>, {
710
- title: string;
711
- iconClass: string;
712
- }>;
713
592
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
714
593
  item: {
715
594
  type: ObjectConstructor;
@@ -1 +1 @@
1
- import{COMPONENT_NAMESPACE as o}from"../../shared/global/variable.js";import{safeComponentRegister as t}from"../../shared/utils/index.js";import{loadViewer as r}from"../../shared/utils/loadViewer.js";import"../../shared/utils/utilExpand.js";import i from"./src/ScaleView.vue.js";import e from"./src/components/formitem/r-radio.js";import s from"./src/components/formitem/r-checkbox.js";import m from"./src/components/formitem/r-select.js";import n from"./src/components/formitem/r-datetime.js";const c=i,l=e,a=s,f=m,p=n;c.install=function(i){r(i),t(i,c,o+"ScaleView")},l.install=function(i){r(i),t(i,l,o+"Radio")},a.install=function(i){r(i),t(i,a,o+"Checkbox")},f.install=function(r){t(r,f,o+"Select")},p.install=function(r){t(r,p,o+"Datetime")};export{a as CCheckbox,p as CDatetime,l as CRadio,c as CScaleView,f as CSelect};
1
+ import{COMPONENT_NAMESPACE as o}from"../../shared/global/variable.js";import{safeComponentRegister as r}from"../../shared/utils/index.js";import{loadViewer as t}from"../../shared/utils/loadViewer.js";import i from"./src/ScaleView.vue.js";import e from"./src/components/formitem/r-radio.js";import m from"./src/components/formitem/r-checkbox.js";import s from"./src/components/formitem/r-select.js";import n from"./src/components/formitem/r-datetime.js";const c=i,l=e,a=m,f=s,p=n;c.install=function(i){t(i),r(i,c,o+"ScaleView")},l.install=function(i){t(i),r(i,l,o+"Radio")},a.install=function(i){t(i),r(i,a,o+"Checkbox")},f.install=function(t){r(t,f,o+"Select")},p.install=function(t){r(t,p,o+"Datetime")};export{a as CCheckbox,p as CDatetime,l as CRadio,c as CScaleView,f as CSelect};