cnhis-design-vue 3.1.55-release.0 → 3.1.55-release.1

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 (193) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +2 -0
  3. package/es/components/audio-sdk/index.js +1 -0
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +28 -0
  5. package/es/components/audio-sdk/src/audioSDK.js +1 -0
  6. package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +27 -0
  7. package/es/components/audio-sdk/src/components/recordingDialog.vue.js +1 -0
  8. package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -0
  9. package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +8 -0
  10. package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -0
  11. package/es/components/audio-sdk/style/index.css +1 -0
  12. package/es/components/base-search/src/index.vue2.js +1 -1
  13. package/es/components/{multi-chat → biunique-chat}/index.d.ts +2 -2
  14. package/es/components/biunique-chat/index.js +1 -0
  15. package/es/components/biunique-chat/src/BiuniqueChat.vue.js +1 -0
  16. package/es/components/biunique-chat/src/BiuniqueChat.vue2.js +1 -0
  17. package/es/components/body-select/src/hooks/renderCanvas.js +1 -1
  18. package/es/components/body-select/src/index.vue2.js +1 -1
  19. package/es/components/button-print/index.d.ts +13 -0
  20. package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -0
  21. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  22. package/es/components/callback/src/components/render/popupMaps.d.ts +26 -6
  23. package/es/components/classification/index.d.ts +486 -1
  24. package/es/components/classification/src/components/search-filter/index.vue.d.ts +473 -1
  25. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  26. package/es/components/classification/src/components/set-classification/index.vue.d.ts +473 -1
  27. package/es/components/classification/src/index.vue.d.ts +486 -1
  28. package/es/components/classification/src/index.vue2.js +1 -1
  29. package/es/components/classification/style/index.css +1 -1
  30. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  31. package/es/components/fabric-chart/index.d.ts +1 -0
  32. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -0
  33. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  34. package/es/components/fabric-chart/src/constants/index.d.ts +4 -0
  35. package/es/components/fabric-chart/src/constants/index.js +1 -1
  36. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
  38. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  39. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +6 -0
  40. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  41. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  42. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -1
  43. package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +1 -1
  44. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  45. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +3 -3
  46. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  47. package/es/components/form-config/index.d.ts +104 -57
  48. package/es/components/form-config/src/FormConfig.vue.d.ts +104 -57
  49. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +26 -6
  50. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +44 -21
  51. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -5
  52. package/es/components/form-render/index.d.ts +26 -6
  53. package/es/components/form-render/index.js +1 -1
  54. package/es/components/form-render/src/FormRender.vue.d.ts +26 -6
  55. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  56. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +26 -6
  57. package/es/components/form-render/src/components/renderer/complex.js +1 -1
  58. package/es/components/form-render/src/components/renderer/date.js +1 -1
  59. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  60. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  61. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  62. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
  63. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  64. package/es/components/form-render/src/components/renderer/select.js +1 -1
  65. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  66. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  67. package/es/components/form-render/src/constants/index.d.ts +0 -1
  68. package/es/components/form-render/src/constants/index.js +1 -1
  69. package/es/components/form-render/src/hooks/index.d.ts +20 -9
  70. package/es/components/form-render/src/hooks/index.js +1 -1
  71. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  72. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
  73. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  74. package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -1
  75. package/es/components/form-render/src/hooks/useFormEvent.d.ts +14 -3
  76. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  77. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +4 -4
  78. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  79. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +11 -10
  80. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  81. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  82. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +3 -2
  83. package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
  84. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  85. package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +13 -4
  86. package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -1
  87. package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
  88. package/es/components/form-render/src/types/index.d.ts +10 -5
  89. package/es/components/form-render/src/utils/index.d.ts +3 -16
  90. package/es/components/form-render/src/utils/index.js +1 -1
  91. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +1 -1
  92. package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -0
  93. package/es/components/iho-table/src/plugins/colorAndIconPlugin.js +1 -0
  94. package/es/components/iho-table/src/plugins/index.js +1 -1
  95. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
  96. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  97. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  98. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  99. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  100. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +7 -3
  101. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  102. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
  103. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.js +1 -1
  104. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
  105. package/es/components/iho-table/src/types/index.d.ts +2 -0
  106. package/es/components/iho-table/src/utils/index.d.ts +1 -1
  107. package/es/components/iho-table/src/utils/index.js +1 -1
  108. package/es/components/iho-table/style/index.css +1 -1
  109. package/es/components/index.css +1 -1
  110. package/es/components/index.d.ts +3 -2
  111. package/es/components/index.js +1 -1
  112. package/es/components/info-header/index.d.ts +52 -12
  113. package/es/components/info-header/src/InfoHeader.vue.d.ts +52 -12
  114. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +26 -6
  115. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +26 -6
  116. package/es/components/quick-search/style/index.css +1 -1
  117. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  118. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  119. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  120. package/es/components/shortcut-setter/index.d.ts +32 -11
  121. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +32 -11
  122. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
  123. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +320 -0
  124. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
  125. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
  126. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
  127. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
  128. package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
  129. package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
  130. package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
  131. package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
  132. package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
  133. package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
  134. package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
  135. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
  136. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
  137. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
  138. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
  139. package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
  140. package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
  141. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
  142. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
  143. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
  144. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +474 -0
  145. package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
  146. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
  147. package/es/components/table-filter/src/constants/index.d.ts +1 -0
  148. package/es/components/table-filter/src/constants/index.js +1 -1
  149. package/es/env.d.ts +25 -25
  150. package/es/shared/assets/img/failure.png.js +1 -1
  151. package/es/shared/assets/img/no-permission.png.js +1 -1
  152. package/es/shared/assets/img/nodata.png.js +1 -1
  153. package/es/shared/assets/img/notfound.png.js +1 -1
  154. package/es/shared/assets/img/qr.png.js +1 -1
  155. package/es/shared/assets/img/success.png.js +1 -1
  156. package/es/shared/assets/img/video.png.js +1 -1
  157. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  158. package/es/shared/assets/img/xb_big.png.js +1 -1
  159. package/es/shared/assets/img/xb_small.png.js +1 -1
  160. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  161. package/es/shared/package.json.js +1 -1
  162. package/es/shared/utils/business.d.ts +1 -0
  163. package/es/shared/utils/business.js +1 -1
  164. package/es/shared/utils/index.js +1 -1
  165. package/package.json +3 -2
  166. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  167. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  168. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  169. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  170. package/es/components/multi-chat/index.js +0 -1
  171. package/es/components/multi-chat/src/MultiChat.vue.js +0 -1
  172. package/es/components/multi-chat/src/MultiChat.vue2.js +0 -1
  173. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  174. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  175. package/es/shared/utils/tapable/index.d.ts +0 -139
  176. /package/es/components/{multi-chat/src/MultiChat.vue.d.ts → biunique-chat/src/BiuniqueChat.vue.d.ts} +0 -0
  177. /package/es/components/{multi-chat → biunique-chat}/src/api/index.d.ts +0 -0
  178. /package/es/components/{multi-chat → biunique-chat}/src/api/index.js +0 -0
  179. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue.d.ts +0 -0
  180. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue.js +0 -0
  181. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatFooter.vue2.js +0 -0
  182. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue.d.ts +0 -0
  183. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue.js +0 -0
  184. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatHeader.vue2.js +0 -0
  185. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue.d.ts +0 -0
  186. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue.js +0 -0
  187. /package/es/components/{multi-chat → biunique-chat}/src/components/ChatMain.vue2.js +0 -0
  188. /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue.d.ts +0 -0
  189. /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue.js +0 -0
  190. /package/es/components/{multi-chat → biunique-chat}/src/components/SiderList.vue2.js +0 -0
  191. /package/es/components/{multi-chat → biunique-chat}/src/utils/chatSock.d.ts +0 -0
  192. /package/es/components/{multi-chat → biunique-chat}/src/utils/chatSock.js +0 -0
  193. /package/es/components/{multi-chat → biunique-chat}/style/index.css +0 -0
@@ -0,0 +1,127 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ componentCfg: {
3
+ type: ObjectConstructor;
4
+ };
5
+ paramCfg: {
6
+ type: ObjectConstructor;
7
+ default: null;
8
+ };
9
+ modelValue: {
10
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
11
+ default: null;
12
+ };
13
+ }, {
14
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
15
+ componentCfg: {
16
+ type: ObjectConstructor;
17
+ };
18
+ paramCfg: {
19
+ type: ObjectConstructor;
20
+ default: null;
21
+ };
22
+ modelValue: {
23
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
24
+ default: null;
25
+ };
26
+ }>> & {
27
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
28
+ }>>;
29
+ emit: (event: "update:modelValue", ...args: any[]) => void;
30
+ valueCp: import("vue").WritableComputedRef<any>;
31
+ dateType: any;
32
+ valueFormat: import("vue").ComputedRef<string>;
33
+ compType: import("vue").ComputedRef<any>;
34
+ CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
35
+ updateUnchangedValue: {
36
+ type: BooleanConstructor;
37
+ };
38
+ onConfirm: {
39
+ type: FunctionConstructor;
40
+ };
41
+ formattedValue: {
42
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
43
+ };
44
+ placeholder: {
45
+ type: StringConstructor;
46
+ };
47
+ allowedInvalidValue: {
48
+ type: StringConstructor;
49
+ };
50
+ }, {
51
+ attrs: {
52
+ [x: string]: unknown;
53
+ };
54
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
55
+ updateUnchangedValue: {
56
+ type: BooleanConstructor;
57
+ };
58
+ onConfirm: {
59
+ type: FunctionConstructor;
60
+ };
61
+ formattedValue: {
62
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
63
+ };
64
+ placeholder: {
65
+ type: StringConstructor;
66
+ };
67
+ allowedInvalidValue: {
68
+ type: StringConstructor;
69
+ };
70
+ }>> & {
71
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
72
+ }>>;
73
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
74
+ datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
75
+ panelInstRef: import("vue").Ref<null>;
76
+ placeholderRef: import("vue").Ref<any>;
77
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
78
+ isDateTime: import("vue").ComputedRef<boolean>;
79
+ formatRef: import("vue").ComputedRef<string>;
80
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
81
+ focus: () => any;
82
+ blur: () => any;
83
+ handleConfirm: (target: HTMLInputElement) => void;
84
+ onUpdateShow: (show: boolean) => void;
85
+ onConfirm: (...args: any[]) => Promise<void>;
86
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
87
+ NDatePicker: any;
88
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
+ updateUnchangedValue: {
90
+ type: BooleanConstructor;
91
+ };
92
+ onConfirm: {
93
+ type: FunctionConstructor;
94
+ };
95
+ formattedValue: {
96
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
97
+ };
98
+ placeholder: {
99
+ type: StringConstructor;
100
+ };
101
+ allowedInvalidValue: {
102
+ type: StringConstructor;
103
+ };
104
+ }>> & {
105
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
106
+ }, {
107
+ updateUnchangedValue: boolean;
108
+ }>>;
109
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
110
+ componentCfg: {
111
+ type: ObjectConstructor;
112
+ };
113
+ paramCfg: {
114
+ type: ObjectConstructor;
115
+ default: null;
116
+ };
117
+ modelValue: {
118
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
119
+ default: null;
120
+ };
121
+ }>> & {
122
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
123
+ }, {
124
+ modelValue: string | number | unknown[];
125
+ paramCfg: Record<string, any>;
126
+ }>;
127
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./Date.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","Date.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as t,openBlock as a,createBlock as l,unref as r,isRef as o}from"vue";import m from"../../../../../date-picker/index.js";import{WidgetTypeEnums as u}from"../../../types/enums.js";var p=e({__name:"Date",props:{componentCfg:{type:Object},paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:p}){const d=e,s=t({set(e){p("update:modelValue",e)},get:()=>d.modelValue}),y=t((()=>f.value.toLowerCase()||u.DATE.toLowerCase())),n=t((()=>{let e="";switch(f.value){case u.DATE:e="yyyy-MM-dd";break;case u.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),f=t((()=>d.paramCfg._rawData.type));return(e,t)=>(a(),l(r(m),{class:"form-item",type:r(y),clearable:"",to:"body",valueFormat:r(n),"formatted-value":r(s),"onUpdate:formatted-value":t[0]||(t[0]=e=>o(s)?s.value=e:null)},null,8,["type","valueFormat","formatted-value"]))}});export{p as default};
@@ -0,0 +1,41 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ paramCfg: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
+ default: null;
9
+ };
10
+ }, {
11
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
+ paramCfg: {
13
+ type: ObjectConstructor;
14
+ default: null;
15
+ };
16
+ modelValue: {
17
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
18
+ default: null;
19
+ };
20
+ }>> & {
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ }>>;
23
+ emit: (event: "update:modelValue", ...args: any[]) => void;
24
+ valueCp: import("vue").WritableComputedRef<any>;
25
+ NInput: any;
26
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ paramCfg: {
28
+ type: ObjectConstructor;
29
+ default: null;
30
+ };
31
+ modelValue: {
32
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
33
+ default: null;
34
+ };
35
+ }>> & {
36
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
37
+ }, {
38
+ modelValue: string | number | unknown[];
39
+ paramCfg: Record<string, any>;
40
+ }>;
41
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./InputFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","InputFilter.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as l,openBlock as t,createBlock as a,unref as u,isRef as r}from"vue";import{NInput as m}from"naive-ui";var p=e({__name:"InputFilter",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:p}){const n=e,o=l({set(e){p("update:modelValue",e)},get:()=>n.modelValue});return(e,l)=>(t(),a(u(m),{style:{width:"160px"},value:u(o),"onUpdate:value":l[0]||(l[0]=e=>r(o)?o.value=e:null),maxlength:"255",clearable:""},null,8,["value"]))}});export{p as default};
@@ -0,0 +1,28 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
4
+ default: null;
5
+ };
6
+ }, {
7
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ modelValue: {
9
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
10
+ default: null;
11
+ };
12
+ }>> & {
13
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
+ }>>;
15
+ emit: (event: "update:modelValue", ...args: any[]) => void;
16
+ valueCp: import("vue").WritableComputedRef<any>;
17
+ NInputNumber: any;
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ modelValue: {
20
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
21
+ default: null;
22
+ };
23
+ }>> & {
24
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
+ }, {
26
+ modelValue: string | number | unknown[];
27
+ }>;
28
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./InputNumber.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var u=r(e,[["__file","InputNumber.vue"]]);export{u as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as l,openBlock as u,createBlock as a,unref as t,isRef as m}from"vue";import{NInputNumber as r}from"naive-ui";var o=e({__name:"InputNumber",props:{modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:o}){const d=e,p=l({set(e){o("update:modelValue",e)},get:()=>d.modelValue?Number(d.modelValue):d.modelValue});return(e,l)=>(u(),a(t(r),{class:"form-item",value:t(p),"onUpdate:value":l[0]||(l[0]=e=>m(p)?p.value=e:null)},null,8,["value"]))}});export{o as default};
@@ -0,0 +1,51 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ paramCfg: {
3
+ type: ObjectConstructor;
4
+ default: null;
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
8
+ default: null;
9
+ };
10
+ }, {
11
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
+ paramCfg: {
13
+ type: ObjectConstructor;
14
+ default: null;
15
+ };
16
+ modelValue: {
17
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
18
+ default: null;
19
+ };
20
+ }>> & {
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ }>>;
23
+ emit: (event: "update:modelValue", ...args: any[]) => void;
24
+ valueCp: import("vue").WritableComputedRef<any>;
25
+ optionSetting: import("vue").ComputedRef<any>;
26
+ widgetOptions: import("vue").ComputedRef<any>;
27
+ NSelect: any;
28
+ WidgetOptionEnums: {
29
+ RADIO: string;
30
+ MULTIPLE: string;
31
+ ALL: string;
32
+ SELECT_TIME: string;
33
+ PAST_TIME: string;
34
+ FUTURE_TIME: string;
35
+ };
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ paramCfg: {
38
+ type: ObjectConstructor;
39
+ default: null;
40
+ };
41
+ modelValue: {
42
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
43
+ default: null;
44
+ };
45
+ }>> & {
46
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
47
+ }, {
48
+ modelValue: string | number | unknown[];
49
+ paramCfg: Record<string, any>;
50
+ }>;
51
+ export default _default;
@@ -0,0 +1 @@
1
+ import e from"./SelectFilter.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","SelectFilter.vue"]]);export{t as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,computed as t,openBlock as l,createBlock as a,unref as u,isRef as o}from"vue";import{NSelect as p}from"naive-ui";import{WidgetOptionEnums as r}from"../../../types/enums.js";var m=e({__name:"SelectFilter",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const n=e,i=t({set(e){m("update:modelValue",e)},get:()=>n.modelValue}),d=t((()=>{var e;return null==(e=n.paramCfg)?void 0:e.optionSetting})),s=t((()=>{var e;const t=null==(e=n.paramCfg)?void 0:e.mappingConfig;return t&&(null==t?void 0:t.mapping)?t.mapping:[]}));return(e,t)=>(l(),a(u(p),{style:{width:"200px"},class:"form-item",value:u(i),"onUpdate:value":t[0]||(t[0]=e=>o(i)?i.value=e:null),to:"body",filterable:"",options:u(s),multiple:u(d)===u(r).MULTIPLE,maxTagCount:1},null,8,["value","options","multiple"]))}});export{m as default};
@@ -0,0 +1,244 @@
1
+ declare const Date: import("vue").DefineComponent<{
2
+ componentCfg: {
3
+ type: ObjectConstructor;
4
+ };
5
+ paramCfg: {
6
+ type: ObjectConstructor;
7
+ default: null;
8
+ };
9
+ modelValue: {
10
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
11
+ default: null;
12
+ };
13
+ }, {
14
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
15
+ componentCfg: {
16
+ type: ObjectConstructor;
17
+ };
18
+ paramCfg: {
19
+ type: ObjectConstructor;
20
+ default: null;
21
+ };
22
+ modelValue: {
23
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
24
+ default: null;
25
+ };
26
+ }>> & {
27
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
28
+ }>>;
29
+ emit: (event: "update:modelValue", ...args: any[]) => void;
30
+ valueCp: import("vue").WritableComputedRef<any>;
31
+ dateType: any;
32
+ valueFormat: import("vue").ComputedRef<string>;
33
+ compType: import("vue").ComputedRef<any>;
34
+ CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
35
+ updateUnchangedValue: {
36
+ type: BooleanConstructor;
37
+ };
38
+ onConfirm: {
39
+ type: FunctionConstructor;
40
+ };
41
+ formattedValue: {
42
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
43
+ };
44
+ placeholder: {
45
+ type: StringConstructor;
46
+ };
47
+ allowedInvalidValue: {
48
+ type: StringConstructor;
49
+ };
50
+ }, {
51
+ attrs: {
52
+ [x: string]: unknown;
53
+ };
54
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
55
+ updateUnchangedValue: {
56
+ type: BooleanConstructor;
57
+ };
58
+ onConfirm: {
59
+ type: FunctionConstructor;
60
+ };
61
+ formattedValue: {
62
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
63
+ };
64
+ placeholder: {
65
+ type: StringConstructor;
66
+ };
67
+ allowedInvalidValue: {
68
+ type: StringConstructor;
69
+ };
70
+ }>> & {
71
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
72
+ }>>;
73
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
74
+ datePickerRef: import("vue").Ref<import("../../../../..").AnyObject | null>;
75
+ panelInstRef: import("vue").Ref<null>;
76
+ placeholderRef: import("vue").Ref<any>;
77
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
78
+ isDateTime: import("vue").ComputedRef<boolean>;
79
+ formatRef: import("vue").ComputedRef<string>;
80
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
81
+ focus: () => any;
82
+ blur: () => any;
83
+ handleConfirm: (target: HTMLInputElement) => void;
84
+ onUpdateShow: (show: boolean) => void;
85
+ onConfirm: (...args: any[]) => Promise<void>;
86
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
87
+ NDatePicker: any;
88
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
+ updateUnchangedValue: {
90
+ type: BooleanConstructor;
91
+ };
92
+ onConfirm: {
93
+ type: FunctionConstructor;
94
+ };
95
+ formattedValue: {
96
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
97
+ };
98
+ placeholder: {
99
+ type: StringConstructor;
100
+ };
101
+ allowedInvalidValue: {
102
+ type: StringConstructor;
103
+ };
104
+ }>> & {
105
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
106
+ }, {
107
+ updateUnchangedValue: boolean;
108
+ }>>;
109
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
110
+ componentCfg: {
111
+ type: ObjectConstructor;
112
+ };
113
+ paramCfg: {
114
+ type: ObjectConstructor;
115
+ default: null;
116
+ };
117
+ modelValue: {
118
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
119
+ default: null;
120
+ };
121
+ }>> & {
122
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
123
+ }, {
124
+ modelValue: string | number | unknown[];
125
+ paramCfg: Record<string, any>;
126
+ }>;
127
+ declare const InputFilter: import("vue").DefineComponent<{
128
+ paramCfg: {
129
+ type: ObjectConstructor;
130
+ default: null;
131
+ };
132
+ modelValue: {
133
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
134
+ default: null;
135
+ };
136
+ }, {
137
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
138
+ paramCfg: {
139
+ type: ObjectConstructor;
140
+ default: null;
141
+ };
142
+ modelValue: {
143
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
144
+ default: null;
145
+ };
146
+ }>> & {
147
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
148
+ }>>;
149
+ emit: (event: "update:modelValue", ...args: any[]) => void;
150
+ valueCp: import("vue").WritableComputedRef<any>;
151
+ NInput: any;
152
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
153
+ paramCfg: {
154
+ type: ObjectConstructor;
155
+ default: null;
156
+ };
157
+ modelValue: {
158
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
159
+ default: null;
160
+ };
161
+ }>> & {
162
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
163
+ }, {
164
+ modelValue: string | number | unknown[];
165
+ paramCfg: Record<string, any>;
166
+ }>;
167
+ declare const InputNumber: import("vue").DefineComponent<{
168
+ modelValue: {
169
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
170
+ default: null;
171
+ };
172
+ }, {
173
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
174
+ modelValue: {
175
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
176
+ default: null;
177
+ };
178
+ }>> & {
179
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
180
+ }>>;
181
+ emit: (event: "update:modelValue", ...args: any[]) => void;
182
+ valueCp: import("vue").WritableComputedRef<any>;
183
+ NInputNumber: any;
184
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
185
+ modelValue: {
186
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
187
+ default: null;
188
+ };
189
+ }>> & {
190
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
191
+ }, {
192
+ modelValue: string | number | unknown[];
193
+ }>;
194
+ declare const SelectFilter: import("vue").DefineComponent<{
195
+ paramCfg: {
196
+ type: ObjectConstructor;
197
+ default: null;
198
+ };
199
+ modelValue: {
200
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
201
+ default: null;
202
+ };
203
+ }, {
204
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
205
+ paramCfg: {
206
+ type: ObjectConstructor;
207
+ default: null;
208
+ };
209
+ modelValue: {
210
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
211
+ default: null;
212
+ };
213
+ }>> & {
214
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
215
+ }>>;
216
+ emit: (event: "update:modelValue", ...args: any[]) => void;
217
+ valueCp: import("vue").WritableComputedRef<any>;
218
+ optionSetting: import("vue").ComputedRef<any>;
219
+ widgetOptions: import("vue").ComputedRef<any>;
220
+ NSelect: any;
221
+ WidgetOptionEnums: {
222
+ RADIO: string;
223
+ MULTIPLE: string;
224
+ ALL: string;
225
+ SELECT_TIME: string;
226
+ PAST_TIME: string;
227
+ FUTURE_TIME: string;
228
+ };
229
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
230
+ paramCfg: {
231
+ type: ObjectConstructor;
232
+ default: null;
233
+ };
234
+ modelValue: {
235
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
236
+ default: null;
237
+ };
238
+ }>> & {
239
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
240
+ }, {
241
+ modelValue: string | number | unknown[];
242
+ paramCfg: Record<string, any>;
243
+ }>;
244
+ export { Date, InputFilter, InputNumber, SelectFilter };
@@ -0,0 +1 @@
1
+ import{defineAsyncComponent as t}from"vue";const e=t((()=>import("./Date.vue.js"))),r=t((()=>import("./InputFilter.vue.js"))),o=t((()=>import("./InputNumber.vue.js"))),p=t((()=>import("./SelectFilter.vue.js")));export{e as Date,r as InputFilter,o as InputNumber,p as SelectFilter};
@@ -0,0 +1,14 @@
1
+ export declare const filterConditionTypeOptions: {
2
+ type: string;
3
+ options: {
4
+ label: string;
5
+ value: string;
6
+ }[];
7
+ }[];
8
+ export declare const typeMappingOptions: {
9
+ TEXT: string;
10
+ SELECT: string;
11
+ NUMBER: string;
12
+ DATE: string;
13
+ DATETIME: string;
14
+ };
@@ -0,0 +1 @@
1
+ import{WidgetTypeEnums as l}from"../../../types/enums.js";const e=[{label:"为空",value:"NULL"},{label:"不为空",value:"NOT_NULL"},{label:"等于",value:"IN"},{label:"今天",value:"TODAY"},{label:"明天",value:"TOMORROW"},{label:"昨天",value:"YESTERDAY"},{label:"本周",value:"THIS_WEEK"},{label:"下周",value:"NEXT_WEEK"},{label:"上周",value:"UP_WEEK"},{label:"本月",value:"THIS_MONTH"},{label:"下月",value:"NEXT_MONTH"},{label:"上月",value:"UP_MONTH"},{label:"本季度",value:"THIS_SEASON"},{label:"下季度",value:"NEXT_SEASON"},{label:"上季度",value:"UP_SEASON"},{label:"本年",value:"THIS_YEAR"},{label:"下年",value:"NEXT_YEAR"},{label:"上年",value:"UP_YEAR"},{label:"大于",value:"BIG"},{label:"小于",value:"LESS"},{label:"大于等于",value:"BIGEQ"},{label:"小于等于",value:"LESSEQ"}],a=[{type:"DATE",options:e},{type:"DATETIME",options:e},{type:"TEXT",options:[{label:"为空",value:"NULL"},{label:"不为空",value:"NOT_NULL"},{label:"包含",value:"CL"},{label:"不包含",value:"NC"},{label:"等于",value:"EQ"},{label:"不等于",value:"NEQ"}]},{type:"NUMBER",options:[{label:"为空",value:"NULL"},{label:"不为空",value:"NOT_NULL"},{label:"等于",value:"EQ"},{label:"大于",value:"BIG"},{label:"小于",value:"LESS"}]}],E={TEXT:l.INPUT,SELECT:l.INPUT,NUMBER:l.INPUT_NUMBER,DATE:l.DATE,DATETIME:l.DATE_TIME};export{a as filterConditionTypeOptions,E as typeMappingOptions};
@@ -0,0 +1,13 @@
1
+ import { Ref } from 'vue';
2
+ import { ISearchConfigType } from '../../../../../../../es/components/table-filter/src/types';
3
+ export declare const useBiConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
4
+ State: any;
5
+ paramOptions: import("vue").ComputedRef<any>;
6
+ addFilterCondition: () => void;
7
+ delFilterCondition: (index: number) => void;
8
+ updateKey: (index: number, val: any) => void;
9
+ updateCondition: (index: number, val: any) => void;
10
+ getParamCfg: (key: string) => any;
11
+ initFilterConditions: (tableId: string, rawConditions: ISearchConfigType[]) => Promise<void>;
12
+ getRawFilterConditions: () => any;
13
+ };
@@ -0,0 +1 @@
1
+ import{reactive as e,computed as t}from"vue";import{WidgetTypeEnums as n,ConditionEnums as i,WidgetOptionEnums as a}from"../../../types/enums.js";import{transformDataToFront as o}from"../../../tool/transformData.js";import{typeMappingOptions as l,filterConditionTypeOptions as r}from"../helpers/options.js";import{DatePresetValEnums as s}from"../../render-widget/enums.js";import{presetValToTimestamp as p}from"../../render-widget/helpers/presetValToTimestamp.js";const u=(u,d,f)=>{const m=e({params:[]}),c=t((()=>m.params.map((({p_name:e,title:t})=>({label:t||e,value:e}))))),y=e=>m.params.find((t=>t.p_name===e)),T=e=>{e.con=e.value="";[n.DATE,n.DATE_TIME].includes(e.fieldType)&&(e.value=null)};return{State:m,paramOptions:c,addFilterCondition:()=>{u.value.push({fieldId:"",fieldType:"",con:"",value:"",values:[],biTypeOptions:[]})},delFilterCondition:e=>{u.value.splice(e,1)},updateKey:(e,t)=>{const n=u.value[e];n&&(T(n),n.fieldId=t,(e=>{const t=y(e.fieldId)._rawData.type,n=l[t];if(!n)return!1;e.fieldType=n;const i=r.find((e=>e.type===n));i&&(e.biTypeOptions=i.options)})(n))},updateCondition:(e,t)=>{const n=u.value[e];n&&(T(n),n.con=t)},getParamCfg:y,initFilterConditions:async(e,t)=>{const c=await(async e=>{try{return o(f,d)}catch(e){return[]}})();m.params=c,u.value=(e=>{const t=e=>{const t=r.find((t=>t.type===e));return t?t.options:[]};return e.map((e=>{if(e.field_key){const o=y(e.field_key),r=o._rawData.type;if(!l[r])return null;const u=l[r];e.unit&&e.unit!==s.CUSTOM&&(u===n.DATE&&(e.value=p(e.unit,"YYYY-MM-DD")),u===n.DATE_TIME&&(e.value=p(e.unit,"YYYY-MM-DD HH:mm:ss")));const d=[n.DATE,n.DATE_TIME];e.con=e.con===i.EQUAL&&d.includes(u)?"IN":e.con;let f=Array.isArray(e.value)?e.value.join(","):e.value,m=[];return r===n.SELECT&&o.optionSetting===a.MULTIPLE&&(f="",m=e.value),{fieldId:e.field_key,fieldType:u,biTypeOptions:t(u),con:e.con,value:f,values:m}}return{...e,biTypeOptions:t(e.fieldType)}})).filter((e=>null!=e))})(t)},getRawFilterConditions:()=>u.value.map((e=>({fieldId:e.fieldId,fieldType:e.fieldType,con:e.con,value:e.value,values:e.values})))}};export{u as useBiConditions};