cnhis-design-vue 3.4.0-release.3 → 3.4.0-release.7
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.
- package/es/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/audio-sdk/index.d.ts +4 -4
- package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
- package/es/components/base-search/index.d.ts +34 -0
- package/es/components/base-search/src/index.vue.d.ts +34 -0
- package/es/components/base-search/src/index.vue2.js +9 -1
- package/es/components/button-print/index.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +73 -48
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +4 -2
- package/es/components/callback/src/components/render/popupMaps.d.ts +38 -24
- package/es/components/classification/index.d.ts +84 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +84 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +84 -0
- package/es/components/classification/src/index.vue.d.ts +84 -0
- package/es/components/classification/src/index.vue2.js +7 -0
- package/es/components/date-picker/index.d.ts +28 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +28 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +26 -1
- package/es/components/expand-field/index.d.ts +31 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
- package/es/components/expand-field/src/index.vue.d.ts +31 -0
- package/es/components/fabric-chart/index.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
- package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
- package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
- package/es/components/fabric-chart/src/constants/index.js +26 -11
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +15 -11
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +39 -27
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -122
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +6 -7
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +5 -2
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/interface.d.ts +14 -1
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -10
- package/es/components/fabric-chart/style/index.css +1 -1
- package/es/components/field-editor/index.d.ts +1 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +57 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +3 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +28 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +56 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +28 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +24 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
- package/es/components/form-config/src/constants/index.d.ts +2 -0
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
- package/es/components/form-render/index.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -2
- package/es/components/iho-chat/index.d.ts +2757 -300
- package/es/components/iho-chat/src/Index.vue.d.ts +2757 -300
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +783 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +204 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +121 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +31 -10
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +37 -24
- package/es/components/iho-table/src/IhoTable.vue.d.ts +37 -24
- package/es/components/iho-table/src/IhoTable.vue2.js +7 -2
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -3
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +30 -4
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +28 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +46 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/components/scale-view/src/hooks/use-event.js +56 -22
- package/es/components/select-person/index.d.ts +31 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +36 -8
- package/es/components/select-person/src/index.vue.d.ts +31 -0
- package/es/components/select-person/src/index.vue2.js +4 -0
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +2 -2
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +28 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +56 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +56 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +56 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +30 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +28 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +30 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +4 -1
- package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
- package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
- package/es/shared/components/Ellipsis/index.d.ts +2 -0
- package/es/shared/components/Ellipsis/index.js +2 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +3 -2
- package/es/shared/utils/business.js +16 -0
- package/package.json +3 -3
|
@@ -15,16 +15,21 @@ function highLightSetPlugin() {
|
|
|
15
15
|
name: pluginName,
|
|
16
16
|
apply(hooks) {
|
|
17
17
|
hooks.dataHooks.data.tapPromise(pluginName, async (row, config) => {
|
|
18
|
-
var _a, _b;
|
|
18
|
+
var _a, _b, _c, _d;
|
|
19
19
|
if (!config.uuid || getItemFromUUID(config.uuid))
|
|
20
20
|
return;
|
|
21
21
|
let hasColor = false;
|
|
22
|
+
const isLazyTree = isFunction((_a = config.treeConfig) == null ? void 0 : _a.loadMethod) && ((_b = config.treeConfig) == null ? void 0 : _b.lazy);
|
|
23
|
+
if (isLazyTree) {
|
|
24
|
+
setItemFromUUID(config.uuid, true);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
22
27
|
traverse(row, (item, stop) => {
|
|
23
28
|
if (!item.rowColor && !item.fontColor)
|
|
24
29
|
return;
|
|
25
30
|
hasColor = true;
|
|
26
31
|
stop();
|
|
27
|
-
}, ["childrenList", (
|
|
32
|
+
}, ["childrenList", (_d = (_c = config.treeConfig) == null ? void 0 : _c.children) != null ? _d : "children"]);
|
|
28
33
|
hasColor && setItemFromUUID(config.uuid, true);
|
|
29
34
|
});
|
|
30
35
|
hooks.dataHooks.dataEnd.tap(pluginName, (_, config) => {
|
|
@@ -75,7 +75,7 @@ function filterAdaptor(props) {
|
|
|
75
75
|
Reflect.deleteProperty(props, "filterSetting");
|
|
76
76
|
Reflect.deleteProperty(props, "fieldSetting");
|
|
77
77
|
}
|
|
78
|
-
if ((_a = props.filterSetting) == null ? void 0 : _a.daterange) {
|
|
78
|
+
if (((_a = props.filterSetting) == null ? void 0 : _a.daterange) === true) {
|
|
79
79
|
Reflect.deleteProperty(props.filterSetting, "daterange");
|
|
80
80
|
props.filterSetting.type = "daterange";
|
|
81
81
|
}
|
|
@@ -147,6 +147,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
147
|
isDateDisabled: {
|
|
148
148
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
149
149
|
};
|
|
150
|
+
propKey: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
};
|
|
153
|
+
shortcutListenerConfig: {
|
|
154
|
+
type: PropType<{
|
|
155
|
+
enable: boolean;
|
|
156
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
157
|
+
}>;
|
|
158
|
+
};
|
|
150
159
|
}>, {
|
|
151
160
|
attrs: {
|
|
152
161
|
[x: string]: unknown;
|
|
@@ -186,6 +195,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
186
195
|
isDateDisabled: {
|
|
187
196
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
188
197
|
};
|
|
198
|
+
propKey: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
};
|
|
201
|
+
shortcutListenerConfig: {
|
|
202
|
+
type: PropType<{
|
|
203
|
+
enable: boolean;
|
|
204
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
205
|
+
}>;
|
|
206
|
+
};
|
|
189
207
|
}>> & Readonly<{
|
|
190
208
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
191
209
|
}> & {}>;
|
|
@@ -202,6 +220,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
220
|
focus: () => any;
|
|
203
221
|
blur: () => any;
|
|
204
222
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
223
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
205
224
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
206
225
|
watchers: AnyFn[];
|
|
207
226
|
stopWatcher: () => void;
|
|
@@ -245,6 +264,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
245
264
|
isDateDisabled: {
|
|
246
265
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
247
266
|
};
|
|
267
|
+
propKey: {
|
|
268
|
+
type: StringConstructor;
|
|
269
|
+
};
|
|
270
|
+
shortcutListenerConfig: {
|
|
271
|
+
type: PropType<{
|
|
272
|
+
enable: boolean;
|
|
273
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
274
|
+
}>;
|
|
275
|
+
};
|
|
248
276
|
}>> & Readonly<{
|
|
249
277
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
250
278
|
}>, {
|
|
@@ -134,8 +134,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
134
134
|
required: true;
|
|
135
135
|
};
|
|
136
136
|
}>> & Readonly<{
|
|
137
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
138
137
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
139
139
|
}> & {}>;
|
|
140
140
|
emit: (event: "click" | "update:value", ...args: any[]) => void;
|
|
141
141
|
asyncQueue: import("../../../../../../../shared/hooks").FormRequestDefine.FormAsyncQueue;
|
|
@@ -556,8 +556,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
556
556
|
required: true;
|
|
557
557
|
};
|
|
558
558
|
}>> & Readonly<{
|
|
559
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
560
559
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
560
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
561
561
|
}>, {
|
|
562
562
|
options: AnyObject[];
|
|
563
563
|
labelField: string;
|
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
required: true;
|
|
48
48
|
};
|
|
49
49
|
}>> & Readonly<{
|
|
50
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
51
50
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}> & {}>;
|
|
53
53
|
emit: (event: "click" | "update:value", ...args: any[]) => void;
|
|
54
54
|
tableHandler: import("../../../../types").IhoTableHandler;
|
|
@@ -93,8 +93,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
93
|
required: true;
|
|
94
94
|
};
|
|
95
95
|
}>> & Readonly<{
|
|
96
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
97
96
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
}>, {
|
|
99
99
|
height: number;
|
|
100
100
|
displayContent: string;
|
|
@@ -28,7 +28,7 @@ export declare function getOriginBasePayload(row: AnyObject, column: VxeTableDef
|
|
|
28
28
|
$rowIndex: number;
|
|
29
29
|
column: VxeTableDefines.ColumnInfo;
|
|
30
30
|
fixed: import("vxe-table").VxeColumnPropTypes.Fixed;
|
|
31
|
-
type: "
|
|
31
|
+
type: "html" | "seq" | "radio" | "checkbox" | "expand";
|
|
32
32
|
};
|
|
33
33
|
export declare function findFixedLeftFields(fieldList: IhoTableFieldItem[]): IhoTableFieldItem[];
|
|
34
34
|
export declare function createVerticalStateHandler(verticalState: IhoTableVerticalState): {
|
|
@@ -35,9 +35,12 @@ function bindHeaderInfoAndFlatten(fieldList, depth) {
|
|
|
35
35
|
Object.entries(fieldItem).forEach(([key, value]) => {
|
|
36
36
|
if (!key.match(/^header_(\d+)$/))
|
|
37
37
|
return;
|
|
38
|
+
if (key === `header_${depth}`)
|
|
39
|
+
return;
|
|
38
40
|
if (value !== prevItem[key] || !value)
|
|
39
41
|
return;
|
|
40
|
-
|
|
42
|
+
const fieldKey = key + "_key";
|
|
43
|
+
if (fieldItem[fieldKey] && prevItem[fieldKey] && fieldItem[fieldKey] !== prevItem[fieldKey])
|
|
41
44
|
return;
|
|
42
45
|
fieldItem[`${key}_colspan`] = 0;
|
|
43
46
|
fieldItem[`${key}_rowspan`] = 0;
|
|
@@ -47,6 +50,7 @@ function bindHeaderInfoAndFlatten(fieldList, depth) {
|
|
|
47
50
|
function setHeaderInfo(field, depth2) {
|
|
48
51
|
if (!field.parent) {
|
|
49
52
|
field[`header_${depth2}`] = field.title;
|
|
53
|
+
field[`header_${depth2}_key`] = field.val_key;
|
|
50
54
|
range(depth2 + 1).forEach((idx) => {
|
|
51
55
|
field[`header_${idx}_colspan`] = idx === depth2 ? depth2 + 1 : 0;
|
|
52
56
|
field[`header_${idx}_rowspan`] = idx === depth2 ? 1 : 0;
|
|
@@ -61,15 +65,17 @@ function bindHeaderInfoAndFlatten(fieldList, depth) {
|
|
|
61
65
|
fieldLine.unshift(currentField);
|
|
62
66
|
}
|
|
63
67
|
range(depth2 + 1).forEach((index) => {
|
|
64
|
-
var _a, _b;
|
|
68
|
+
var _a, _b, _c, _d;
|
|
65
69
|
const item = fieldLine[index];
|
|
66
70
|
if (!item) {
|
|
67
71
|
field[`header_${index}`] = "";
|
|
72
|
+
field[`header_${index}_key`] = "";
|
|
68
73
|
field[`header_${index}_colspan`] = 0;
|
|
69
74
|
field[`header_${index}_rowspan`] = 0;
|
|
70
75
|
return;
|
|
71
76
|
}
|
|
72
77
|
field[`header_${index}`] = (_b = (_a = fieldLine[index]) == null ? void 0 : _a.title) != null ? _b : "";
|
|
78
|
+
field[`header_${index}_key`] = (_d = (_c = fieldLine[index]) == null ? void 0 : _c.val_key) != null ? _d : "";
|
|
73
79
|
field[`header_${index}_colspan`] = index < fieldDepth ? 1 : depth2 - fieldDepth + 1;
|
|
74
80
|
field[`header_${index}_rowspan`] = getChildrenNum(item);
|
|
75
81
|
});
|
|
@@ -156,7 +156,9 @@ export declare namespace IhoTableLowCodeField {
|
|
|
156
156
|
}>;
|
|
157
157
|
}>;
|
|
158
158
|
type FilterSetting = Partial<{
|
|
159
|
-
daterange:
|
|
159
|
+
daterange: Partial<{
|
|
160
|
+
datePickerProps: AnyObject;
|
|
161
|
+
}>;
|
|
160
162
|
type: 'daterange' | 'text' | 'remote';
|
|
161
163
|
pagination: boolean;
|
|
162
164
|
text: Partial<{
|