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

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 (110) hide show
  1. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  2. package/es/components/base-search/style/index.css +1 -1
  3. package/es/components/button-print/index.d.ts +4 -4
  4. package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -4
  5. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  6. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -4
  7. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -4
  8. package/es/components/classification/index.d.ts +1 -1
  9. package/es/components/classification/src/index.vue.d.ts +2 -2
  10. package/es/components/classification/style/index.css +1 -1
  11. package/es/components/date-picker/src/DatePicker.vue.js +1 -1
  12. package/es/components/fabric-chart/index.d.ts +2 -2
  13. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
  14. package/es/components/fabric-chart/src/hooks/useCenter.js +1 -1
  15. package/es/components/field-set/index.d.ts +26 -81
  16. package/es/components/field-set/src/FieldSet.vue.d.ts +28 -32
  17. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  18. package/es/components/field-set/style/index.css +1 -1
  19. package/es/components/form-config/index.d.ts +9 -14
  20. package/es/components/form-config/src/FormConfig.vue.d.ts +9 -14
  21. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  22. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
  23. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +5 -8
  24. package/es/components/form-render/index.d.ts +2 -2
  25. package/es/components/form-render/src/FormRender.vue.d.ts +2 -2
  26. package/es/components/form-render/src/FormRender.vue.js +1 -1
  27. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +2 -2
  28. package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +18 -0
  29. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  30. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +36 -0
  31. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  32. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +18 -0
  33. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  34. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +18 -0
  35. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  36. package/es/components/form-render/src/components/renderer/select.d.ts +32 -5
  37. package/es/components/form-render/src/components/renderer/select.js +1 -1
  38. package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
  39. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +13 -8
  40. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  41. package/es/components/form-render/src/types/fieldItem.d.ts +3 -4
  42. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  43. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  44. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
  45. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  46. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +1 -1
  47. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  48. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  49. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  50. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  51. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
  52. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  53. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  54. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  55. package/es/components/iho-table/src/types/index.d.ts +5 -3
  56. package/es/components/iho-table/src/utils/index.d.ts +1 -0
  57. package/es/components/iho-table/src/utils/index.js +1 -1
  58. package/es/components/iho-table/style/iconfont.ttf +0 -0
  59. package/es/components/iho-table/style/index.css +1 -1
  60. package/es/components/index.css +1 -1
  61. package/es/components/info-header/index.d.ts +4 -4
  62. package/es/components/info-header/src/InfoHeader.vue.d.ts +4 -4
  63. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
  64. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +2 -2
  65. package/es/components/info-header/style/index.css +1 -1
  66. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  67. package/es/components/map/index.d.ts +2 -14
  68. package/es/components/map/src/Map.vue.d.ts +1 -14
  69. package/es/components/map/src/types/index.d.ts +19 -0
  70. package/es/components/map/src/types/index.js +1 -0
  71. package/es/components/recommend-search/index.d.ts +13 -128
  72. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +15 -130
  73. package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -1
  74. package/es/components/recommend-search/src/components/BaseSearch.d.ts +84 -0
  75. package/es/components/recommend-search/src/components/BaseSearch.js +1 -0
  76. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -63
  77. package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -1
  78. package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +1 -3
  79. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -1
  80. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -62
  81. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -1
  82. package/es/components/recommend-search/src/constant/index.d.ts +3 -0
  83. package/es/components/recommend-search/src/constant/index.js +1 -1
  84. package/es/components/scale-view/index.d.ts +4 -28
  85. package/es/components/scale-view/src/ScaleView.vue.d.ts +4 -28
  86. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  87. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +3 -3
  88. package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -1
  89. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  90. package/es/components/scale-view/src/hooks/use-component.d.ts +73 -3
  91. package/es/components/select-label/style/index.css +1 -1
  92. package/es/components/shortcut-setter/index.d.ts +3 -4
  93. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -4
  94. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  95. package/es/components/table-filter/src/types/index.d.ts +9 -0
  96. package/es/components/time-picker/src/TimePicker.vue.js +1 -1
  97. package/es/components/vod-chunk-upload/index.d.ts +73 -3
  98. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +73 -3
  99. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
  100. package/es/shared/hooks/useDateTime.d.ts +1 -1
  101. package/es/shared/hooks/useDateTime.js +1 -1
  102. package/es/shared/utils/index.d.ts +3 -3
  103. package/es/shared/utils/index.js +1 -1
  104. package/package.json +2 -2
  105. package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +0 -143
  106. package/es/components/recommend-search/src/components/BaseSearch.vue.js +0 -1
  107. /package/es/components/base-search/style/{iconfont.ttf → base-search-iconfont.ttf} +0 -0
  108. /package/es/components/classification/style/{iconfont.ttf → classification-iconfont.ttf} +0 -0
  109. /package/es/components/info-header/style/{iconfont.ttf → info-header-font.ttf} +0 -0
  110. /package/es/components/select-label/style/{iconfont.ttf → select-label-iconfont.ttf} +0 -0
@@ -1,143 +0,0 @@
1
- import { Func } from '../../../../../es/shared/types';
2
- import { PropType } from 'vue';
3
- declare const _default: import("vue").DefineComponent<{
4
- displayValue: {
5
- type: StringConstructor;
6
- };
7
- valueFormatter: {
8
- type: PropType<(value: undefined | number | string | Array<any>) => string>;
9
- };
10
- show: {
11
- type: BooleanConstructor;
12
- };
13
- loading: {
14
- type: BooleanConstructor;
15
- };
16
- placeholder: {
17
- type: StringConstructor;
18
- default: string;
19
- };
20
- clearable: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- inputProps: {
25
- type: ObjectConstructor;
26
- default: () => {};
27
- };
28
- popProps: {
29
- type: ObjectConstructor;
30
- default: () => {};
31
- };
32
- clearPatternOnOpenMenu: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- }, {
37
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
38
- displayValue: {
39
- type: StringConstructor;
40
- };
41
- valueFormatter: {
42
- type: PropType<(value: undefined | number | string | Array<any>) => string>;
43
- };
44
- show: {
45
- type: BooleanConstructor;
46
- };
47
- loading: {
48
- type: BooleanConstructor;
49
- };
50
- placeholder: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- clearable: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- inputProps: {
59
- type: ObjectConstructor;
60
- default: () => {};
61
- };
62
- popProps: {
63
- type: ObjectConstructor;
64
- default: () => {};
65
- };
66
- clearPatternOnOpenMenu: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- }>> & {
71
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
72
- onClear?: ((...args: any[]) => any) | undefined;
73
- onSearch?: ((...args: any[]) => any) | undefined;
74
- onOpenMenu?: ((...args: any[]) => any) | undefined;
75
- onCloseMenu?: ((...args: any[]) => any) | undefined;
76
- }>>;
77
- uuid: string;
78
- emits: (event: "clear" | "update:show" | "search" | "openMenu" | "closeMenu", ...args: any[]) => void;
79
- search: (content?: any) => void;
80
- popoverRef: import("vue").Ref<{
81
- syncPosition: Func;
82
- } | undefined>;
83
- _show: import("vue").Ref<boolean>;
84
- show: import("vue").WritableComputedRef<boolean>;
85
- inputRef: import("vue").Ref<HTMLElement | undefined>;
86
- patternContent: import("vue").Ref<string>;
87
- displayValueRef: import("vue").WritableComputedRef<string | undefined>;
88
- openMenuAtInput: (evt: PointerEvent) => void;
89
- openMenu: () => void;
90
- closeMenu: () => void;
91
- onClear: () => void;
92
- NInput: any;
93
- NPopover: any;
94
- NSpin: any;
95
- }, 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<{
96
- displayValue: {
97
- type: StringConstructor;
98
- };
99
- valueFormatter: {
100
- type: PropType<(value: undefined | number | string | Array<any>) => string>;
101
- };
102
- show: {
103
- type: BooleanConstructor;
104
- };
105
- loading: {
106
- type: BooleanConstructor;
107
- };
108
- placeholder: {
109
- type: StringConstructor;
110
- default: string;
111
- };
112
- clearable: {
113
- type: BooleanConstructor;
114
- default: boolean;
115
- };
116
- inputProps: {
117
- type: ObjectConstructor;
118
- default: () => {};
119
- };
120
- popProps: {
121
- type: ObjectConstructor;
122
- default: () => {};
123
- };
124
- clearPatternOnOpenMenu: {
125
- type: BooleanConstructor;
126
- default: boolean;
127
- };
128
- }>> & {
129
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
130
- onClear?: ((...args: any[]) => any) | undefined;
131
- onSearch?: ((...args: any[]) => any) | undefined;
132
- onOpenMenu?: ((...args: any[]) => any) | undefined;
133
- onCloseMenu?: ((...args: any[]) => any) | undefined;
134
- }, {
135
- loading: boolean;
136
- show: boolean;
137
- placeholder: string;
138
- clearable: boolean;
139
- inputProps: Record<string, any>;
140
- popProps: Record<string, any>;
141
- clearPatternOnOpenMenu: boolean;
142
- }>;
143
- export default _default;
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as a,computed as t,openBlock as l,createBlock as o,unref as r,mergeProps as n,isRef as u,withCtx as s,createVNode as p,createElementVNode as i,renderSlot as c}from"vue";import{uuidGenerator as v}from"../../../../shared/utils/index.js";import{useDebounceFn as d,onClickOutside as f}from"@vueuse/core";import{NPopover as h,NInput as m,NSpin as g}from"naive-ui";import y from"../../../../_virtual/plugin-vue_export-helper.js";const w=["id"];var _=y(e({__name:"BaseSearch",props:{displayValue:{type:String},valueFormatter:{type:Function},show:{type:Boolean},loading:{type:Boolean},placeholder:{type:String,default:"请输入"},clearable:{type:Boolean,default:!0},inputProps:{type:Object,default:()=>({})},popProps:{type:Object,default:()=>({})},clearPatternOnOpenMenu:{type:Boolean,default:!0}},emits:["update:show","clear","search","openMenu","closeMenu"],setup(e,{expose:y,emit:_}){const b=e,M=v(),P=d(((e="")=>{_("search",e)}),300),B=a(),O=a(b.show),k=t({get:()=>O.value||b.show,set(e){_("update:show",e),O.value=e}}),x=a(),j=a(""),S=t({get:()=>k.value?j.value:b.displayValue,set(e){j.value=e||"",P(e)}});function F(e){var a;"INPUT"===(null==(a=e.target)?void 0:a.tagName)&&U()}function U(){k.value||(k.value=!0,_("openMenu"),b.clearPatternOnOpenMenu&&(j.value=""))}function C(){var e;k.value=!1,null==(e=x.value)||e.blur(),_("closeMenu")}function N(){_("clear")}return f(x,(e=>{var a;if(!k.value)return;const t=e;if(!t.target)return C();!function(e){let a=!1,t=e;for(;t;){if(t.id===M){a=!0;break}t=t.parentElement}return a}(t.target)?C():null==(a=x.value)||a.focus()})),y({setPattern(e){j.value=e},closeMenu:C,openMenu:U}),(a,t)=>(l(),o(r(h),n({trigger:"manual",class:"recommend-search",placement:"bottom-start",show:r(k),"onUpdate:show":t[2]||(t[2]=e=>u(k)?k.value=e:null),"show-arrow":!1,ref_key:"popoverRef",ref:B,width:"trigger"},e.popProps),{trigger:s((()=>[p(r(m),n(e.inputProps,{placeholder:e.placeholder,clearable:e.clearable,onClear:N,onFocus:F,onClick:F,onKeydown:t[0]||(t[0]=e=>a.$emit("keydown",e)),ref_key:"inputRef",ref:x,value:r(S),"onUpdate:value":t[1]||(t[1]=e=>u(S)?S.value=e:null)}),null,16,["placeholder","clearable","value"])])),default:s((()=>[p(r(g),{show:e.loading},{default:s((()=>[i("section",{id:r(M),class:"base-search__menu",style:{"min-height":"100px"}},[c(a.$slots,"menu")],8,w)])),_:3},8,["show"])])),_:3},16,["show"]))}}),[["__file","BaseSearch.vue"]]);export{_ as default};