cnhis-design-vue 3.1.46-beta.9 → 3.1.46-release.0

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 (133) hide show
  1. package/es/components/base-search/index.d.ts +8 -17
  2. package/es/components/base-search/src/index.vue.d.ts +8 -17
  3. package/es/components/base-search/src/index.vue2.js +1 -1
  4. package/es/components/base-search/style/index.css +1 -1
  5. package/es/components/button-print/src/utils/print.js +1 -1
  6. package/es/components/classification/index.d.ts +18 -219
  7. package/es/components/classification/src/components/search-filter/index.vue.d.ts +18 -219
  8. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  9. package/es/components/classification/src/components/set-classification/index.vue.d.ts +18 -219
  10. package/es/components/classification/src/index.vue.d.ts +18 -219
  11. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  13. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  19. package/es/components/fabric-chart/src/utils/index.d.ts +0 -1
  20. package/es/components/fabric-chart/src/utils/index.js +1 -1
  21. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  22. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  23. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  24. package/es/components/index.css +1 -1
  25. package/es/components/index.d.ts +1 -2
  26. package/es/components/index.js +1 -1
  27. package/es/components/quick-search/index.d.ts +7 -21
  28. package/es/components/quick-search/src/index.vue.d.ts +7 -21
  29. package/es/components/quick-search/src/index.vue2.js +1 -1
  30. package/es/components/quick-search/style/index.css +1 -1
  31. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +17 -219
  32. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  33. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -17
  34. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  35. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -19
  36. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  37. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +11 -178
  38. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  39. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +5 -1
  40. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +1 -1
  41. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -2
  42. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  43. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +17 -217
  44. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  45. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +17 -219
  46. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
  47. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
  48. package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
  49. package/es/components/table-filter/src/components/render-widget/components/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
  50. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
  51. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +1 -0
  52. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +8 -117
  53. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  54. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +9 -13
  55. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  56. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +6 -8
  57. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  58. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +6 -7
  59. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  60. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +25 -19
  61. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  62. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +36 -611
  63. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  64. package/es/components/table-filter/src/components/render-widget/enums.d.ts +3 -10
  65. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  66. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +6 -2
  67. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  68. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +3 -4
  69. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  70. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +35 -639
  71. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  72. package/es/components/table-filter/src/constants/index.d.ts +1 -3
  73. package/es/components/table-filter/src/constants/index.js +1 -1
  74. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +4 -9
  75. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  76. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +3 -3
  77. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  78. package/es/components/table-filter/src/tool/baseOptions.d.ts +8 -0
  79. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  80. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +7 -0
  81. package/es/components/table-filter/src/tool/generateDefOptions.js +1 -0
  82. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  83. package/es/components/table-filter/src/tool/transformData.js +1 -1
  84. package/es/components/table-filter/src/types/enums.d.ts +0 -3
  85. package/es/components/table-filter/src/types/enums.js +1 -1
  86. package/es/components/table-filter/src/types/index.d.ts +0 -7
  87. package/es/shared/package.json.js +1 -1
  88. package/es/shared/utils/fabricjs/index.js +1 -1
  89. package/package.json +2 -2
  90. package/es/components/table-export-field/index.d.ts +0 -967
  91. package/es/components/table-export-field/index.js +0 -1
  92. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -192
  93. package/es/components/table-export-field/src/components/ExportModal.vue.js +0 -1
  94. package/es/components/table-export-field/src/components/ExportModal.vue2.js +0 -1
  95. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +0 -687
  96. package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +0 -1
  97. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +0 -1
  98. package/es/components/table-export-field/src/constants/index.d.ts +0 -3
  99. package/es/components/table-export-field/src/constants/index.js +0 -1
  100. package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +0 -6
  101. package/es/components/table-export-field/src/hooks/useAsyncData.js +0 -1
  102. package/es/components/table-export-field/src/index.vue.d.ts +0 -968
  103. package/es/components/table-export-field/src/index.vue.js +0 -1
  104. package/es/components/table-export-field/src/index.vue2.js +0 -1
  105. package/es/components/table-export-field/src/types/index.d.ts +0 -6
  106. package/es/components/table-export-field/src/types/index.js +0 -1
  107. package/es/components/table-export-field/style/index.css +0 -1
  108. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -231
  109. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
  110. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
  111. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
  112. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
  113. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
  114. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
  115. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
  116. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -223
  117. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
  118. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
  119. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -158
  120. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
  121. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
  122. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
  123. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
  124. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
  125. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
  126. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
  127. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +0 -1
  128. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.d.ts +0 -4
  129. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +0 -1
  130. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +0 -4
  131. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +0 -1
  132. package/es/components/table-filter/src/hooks/useAsyncData.d.ts +0 -4
  133. package/es/components/table-filter/src/hooks/useAsyncData.js +0 -1
@@ -1 +0,0 @@
1
- import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as o}from"../../shared/utils/index.js";import e from"./src/index.vue.js";const i=e;i.install=function(e){o(e,i,r+"TableExportField")};export{i as default};
@@ -1,192 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../../es/components/table-export-field/src/types';
3
- declare const _default: import("vue").DefineComponent<{
4
- visible: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- tableListId: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- fieldOriginList: {
13
- type: PropType<any[]>;
14
- default: () => never[];
15
- };
16
- curProgram: {
17
- type: PropType<IExportSchemeType>;
18
- default: () => {};
19
- };
20
- programOptions: {
21
- type: PropType<IExportSchemeType[]>;
22
- default: () => never[];
23
- };
24
- downLoadFieldList: {
25
- type: PropType<any[]>;
26
- default: () => never[];
27
- };
28
- }, {
29
- defaultKey: string;
30
- baseSetting: {
31
- width: string;
32
- height: string;
33
- };
34
- menuProps: {
35
- class: string;
36
- };
37
- message: import("naive-ui").MessageApi;
38
- deleteTableListExportScheme: (params: any, filterApiConfig: any) => Promise<any>;
39
- exportTableListScheme: (params: any, filterApiConfig: any) => Promise<any>;
40
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
41
- visible: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- tableListId: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- fieldOriginList: {
50
- type: PropType<any[]>;
51
- default: () => never[];
52
- };
53
- curProgram: {
54
- type: PropType<IExportSchemeType>;
55
- default: () => {};
56
- };
57
- programOptions: {
58
- type: PropType<IExportSchemeType[]>;
59
- default: () => never[];
60
- };
61
- downLoadFieldList: {
62
- type: PropType<any[]>;
63
- default: () => never[];
64
- };
65
- }>> & {
66
- onCancelModal?: ((...args: any[]) => any) | undefined;
67
- onUpdateCurProgram?: ((...args: any[]) => any) | undefined;
68
- onUpdateFieldCheckList?: ((...args: any[]) => any) | undefined;
69
- }>>;
70
- emits: (event: "cancelModal" | "updateCurProgram" | "updateFieldCheckList", ...args: any[]) => void;
71
- isChangeWindow: import("vue").Ref<boolean>;
72
- modalWidth: import("vue").Ref<string>;
73
- bodyStyle: import("vue").Ref<{
74
- maxHeight: string;
75
- height: string;
76
- }>;
77
- isSelectAll: import("vue").Ref<boolean>;
78
- isIndeterminate: import("vue").Ref<boolean>;
79
- fieldCheckList: import("vue").Ref<any[]>;
80
- exportApiConfig: import("../../..").AnyObject;
81
- curSchemeId: import("vue").ComputedRef<string>;
82
- deleteExportSchemeItem: (schemeId: string) => Promise<import("naive-ui").MessageReactive | undefined>;
83
- doExportScheme: () => Promise<import("naive-ui").MessageReactive | undefined>;
84
- renderTag: ({ option }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
85
- [key: string]: any;
86
- }>;
87
- renderLabel: (option: IExportSchemeType) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
88
- [key: string]: any;
89
- }>;
90
- handleClick: (e: MouseEvent) => void;
91
- handleDelete: (option: IExportSchemeType) => import("naive-ui").MessageReactive | undefined;
92
- handleUpdateSelect: (value: string | number | null) => void;
93
- _setFieldCheckListValue: (optionKey: string | number | null) => void;
94
- exportData: () => void;
95
- handleCheckboxAll: (checked: boolean) => void;
96
- cancelModal: () => void;
97
- resetWindow: () => void;
98
- changeWindow: () => void;
99
- NModal: any;
100
- NCard: any;
101
- NButton: any;
102
- NSelect: any;
103
- NCheckboxGroup: import("vue").DefineComponent<{
104
- readonly min: NumberConstructor;
105
- readonly max: NumberConstructor;
106
- readonly size: PropType<"small" | "medium" | "large">;
107
- readonly value: PropType<(string | number)[] | null>;
108
- readonly defaultValue: {
109
- readonly type: PropType<(string | number)[] | null>;
110
- readonly default: null;
111
- };
112
- readonly disabled: {
113
- readonly type: PropType<boolean | undefined>;
114
- readonly default: undefined;
115
- };
116
- readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
117
- actionType: "check" | "uncheck";
118
- value: string | number;
119
- }) => void>>;
120
- readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
121
- actionType: "check" | "uncheck";
122
- value: string | number;
123
- }) => void>>;
124
- readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
125
- }, {
126
- mergedClsPrefix: import("vue").ComputedRef<string>;
127
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
128
- readonly min: NumberConstructor;
129
- readonly max: NumberConstructor;
130
- readonly size: PropType<"small" | "medium" | "large">;
131
- readonly value: PropType<(string | number)[] | null>;
132
- readonly defaultValue: {
133
- readonly type: PropType<(string | number)[] | null>;
134
- readonly default: null;
135
- };
136
- readonly disabled: {
137
- readonly type: PropType<boolean | undefined>;
138
- readonly default: undefined;
139
- };
140
- readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
141
- actionType: "check" | "uncheck";
142
- value: string | number;
143
- }) => void>>;
144
- readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
145
- actionType: "check" | "uncheck";
146
- value: string | number;
147
- }) => void>>;
148
- readonly onChange: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[]) => void> | undefined>;
149
- }>>, {
150
- readonly disabled: boolean | undefined;
151
- readonly defaultValue: (string | number)[] | null;
152
- }>;
153
- NCheckbox: any;
154
- NPopover: any;
155
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelModal" | "updateCurProgram" | "updateFieldCheckList")[], "cancelModal" | "updateCurProgram" | "updateFieldCheckList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
156
- visible: {
157
- type: BooleanConstructor;
158
- default: boolean;
159
- };
160
- tableListId: {
161
- type: StringConstructor;
162
- default: string;
163
- };
164
- fieldOriginList: {
165
- type: PropType<any[]>;
166
- default: () => never[];
167
- };
168
- curProgram: {
169
- type: PropType<IExportSchemeType>;
170
- default: () => {};
171
- };
172
- programOptions: {
173
- type: PropType<IExportSchemeType[]>;
174
- default: () => never[];
175
- };
176
- downLoadFieldList: {
177
- type: PropType<any[]>;
178
- default: () => never[];
179
- };
180
- }>> & {
181
- onCancelModal?: ((...args: any[]) => any) | undefined;
182
- onUpdateCurProgram?: ((...args: any[]) => any) | undefined;
183
- onUpdateFieldCheckList?: ((...args: any[]) => any) | undefined;
184
- }, {
185
- visible: boolean;
186
- tableListId: string;
187
- fieldOriginList: any[];
188
- curProgram: IExportSchemeType;
189
- programOptions: IExportSchemeType[];
190
- downLoadFieldList: any[];
191
- }>;
192
- export default _default;
@@ -1 +0,0 @@
1
- import r from"./ExportModal.vue2.js";import o from"../../../../_virtual/_plugin-vue_export-helper.js";var e=o(r,[["__file","ExportModal.vue"]]);export{e as default};
@@ -1 +0,0 @@
1
- import{defineComponent as e,ref as t,inject as a,computed as l,watch as i,openBlock as n,createBlock as o,unref as s,normalizeClass as r,isRef as d,withCtx as u,createVNode as c,normalizeStyle as m,createElementVNode as h,createTextVNode as v,renderSlot as f,createElementBlock as p,Fragment as g,renderList as b,toDisplayString as y,h as x}from"vue";import{useMessage as w,NModal as L,NCard as I,NButton as k,NCheckbox as C,NSelect as N,NCheckboxGroup as _,NPopover as P,NPopconfirm as z,NIcon as F}from"naive-ui";import{Trash as O}from"@vicons/ionicons5";import{InjectionExportApiConfig as S}from"../constants/index.js";import H from"../hooks/useAsyncData.js";const U={class:"svg-wrap"},$={class:"flex_right"},A={class:"export-field-con"},T={class:"flex_between"},j={class:"select-fields"};var M=e({__name:"ExportModal",props:{visible:{type:Boolean,default:!1},tableListId:{type:String,default:""},fieldOriginList:{type:Array,default:()=>[]},curProgram:{type:Object,default:()=>({})},programOptions:{type:Array,default:()=>[]},downLoadFieldList:{type:Array,default:()=>[]}},emits:["cancelModal","updateCurProgram","updateFieldCheckList"],setup(e,{emit:M}){const E=e,K="860px",B="496px",D={class:"select-export-popover"},q=w(),{deleteTableListExportScheme:G,exportTableListScheme:J}=H(),Q=t(!1),R=t(K),V=t({maxHeight:B,height:B}),W=t(!1),X=t(!0),Y=t([]),Z=a(S),ee=l((()=>E.curProgram.schemeId));function te({option:e}){return x("span",e.schemeName)}function ae(e){const t=[x(P,{trigger:"hover",duration:0},{default:()=>e.schemeName,trigger:()=>x("span",{class:"content"},e.schemeName)})],a=[x(z,{placement:"top-start",positiveText:"确认",negativeText:"取消",onPositiveClick:()=>function(e){const{schemeId:t}=E.curProgram;if(t===e.schemeId)return q.warning("当前正在使用该方案,请先切换其他方案再删除");!async function(e){if(!E.tableListId)return q.warning("请传入列表id");try{await G({id:E.tableListId,schemeId:e},Z)&&q.success("删除成功")}catch(e){q.error(`获取导出方案数据请求失败:${e}`)}}(e.schemeId)}(e)},{trigger:()=>x(F,{onclick:le},{default:()=>x(O)}),default:()=>"确定删除该导出方案吗?"})],l="default"===e.schemeId?[t]:[t,a];return x("div",{class:"flex-between"},l)}function le(e){e.stopPropagation()}function ie(e){ne(e),M("updateCurProgram",e)}function ne(e){const t=E.programOptions.find((t=>t.schemeId===e));t&&(Y.value=t.fieldKeys)}function oe(){!async function(){if(!E.tableListId)return q.warning("请传入列表id");if(Y.value.length<1)return q.warning("请至少勾选一个字段");try{const{schemeId:e}=E.curProgram,t=E.programOptions.find((t=>t.schemeId===e)),a={fieldKeys:Y.value,lastUsedSchemeName:t?t.schemeName:"",schemeId:t?t.schemeId:"",schemeName:t?t.schemeName:"",tableListId:E.tableListId};await J(a,Z)&&(q.success("导出成功"),re())}catch(e){q.error(`获取导出方案数据请求失败:${e}`)}}()}function se(e){var t;X.value=!1,Y.value=e&&(null==(t=E.downLoadFieldList)?void 0:t.map((e=>e.columnName)))||[]}function re(){M("cancelModal"),R.value=K,V.value={height:B,maxHeight:B},Q.value=!1}function de(){Q.value=!Q.value;let e=document.body.clientHeight;R.value===K?(R.value="100%",V.value.maxHeight=`${e}px`,V.value.height=`${e}px`):(R.value=K,V.value.maxHeight=B,V.value.height=B)}return i((()=>Y.value),(e=>{X.value=!!e.length&&e.length<E.downLoadFieldList.length,W.value=e.length===E.downLoadFieldList.length,M("updateFieldCheckList",e)}),{immediate:!0}),i((()=>E.curProgram),(e=>{e&&ne(e.schemeId)}),{immediate:!0,deep:!0}),(t,a)=>(n(),o(s(L),{class:r(["table-export-field-modal",{"modal-screen":Q.value}]),show:e.visible,"onUpdate:show":a[3]||(a[3]=e=>d(visible)?visible.value=e:null),maskClosable:!1,width:R.value,bodyStyle:V.value,closable:!1,centered:"",onPositiveClick:oe,onNegativeClick:re},{default:u((()=>[c(s(I),{style:m({width:R.value,...V.value}),title:"选择导出字段",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":u((()=>[h("div",U,[h("i",{onClick:de,class:r(["iconfont-table-filter",Q.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),h("i",{onClick:re,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:u((()=>[h("div",$,[c(s(k),{onClick:re},{default:u((()=>[v("取消")])),_:1}),f(t.$slots,"add"),c(s(k),{type:"info",onClick:oe},{default:u((()=>[v("导出")])),_:1})])])),default:u((()=>[h("div",A,[h("header",T,[c(s(C),{checked:W.value,"onUpdate:checked":[a[0]||(a[0]=e=>W.value=e),se],indeterminate:X.value},{default:u((()=>[v(" 全选 ")])),_:1},8,["checked","indeterminate"]),c(s(N),{style:{width:"200px"},value:s(ee),"onUpdate:value":[a[1]||(a[1]=e=>d(ee)?ee.value=e:null),ie],filterable:"","label-field":"schemeName","value-field":"schemeId","show-checkmark":!1,"render-label":ae,"render-tag":te,"menu-props":D,options:e.programOptions},null,8,["value","options"])]),h("div",j,[c(s(_),{value:Y.value,"onUpdate:value":a[2]||(a[2]=e=>Y.value=e)},{default:u((()=>[(n(!0),p(g,null,b(e.downLoadFieldList,(e=>(n(),o(s(C),{key:e.columnName,value:e.columnName,label:e.title},{default:u((()=>[c(s(P),{trigger:"hover",duration:0},{trigger:u((()=>[v(y(e.title),1)])),default:u((()=>[v(" "+y(e.title),1)])),_:2},1024)])),_:2},1032,["value","label"])))),128))])),_:1},8,["value"])])])])),_:3},8,["style"])])),_:3},8,["class","show","width","bodyStyle"]))}});export{M as default};