cnhis-design-vue 3.2.7-beta.3 → 3.2.7-beta.30
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +87 -87
- package/es/components/base-search/index.d.ts +2 -0
- package/es/components/base-search/src/index.vue.d.ts +2 -0
- package/es/components/button-print/index.d.ts +27 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +27 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +27 -0
- package/es/components/classification/index.d.ts +60 -5
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
- package/es/components/classification/src/index.vue.d.ts +60 -5
- package/es/components/date-picker/index.d.ts +13 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +3 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +8 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +9 -6
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +8 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +8 -3
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +11 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
- package/es/components/form-config/index.d.ts +40 -3
- package/es/components/form-config/src/FormConfig.vue.d.ts +40 -3
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +23 -3
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-render/index.d.ts +14 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +14 -0
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +14 -0
- package/es/components/form-render/src/components/renderer/formItem.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- 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/tooltipMessage.vue2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -1
- package/es/components/form-render/src/types/index.d.ts +2 -1
- package/es/components/form-render/src/utils/business.js +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +1 -1
- package/es/components/form-render/src/utils/schema.js +1 -1
- package/es/components/iho-chat/index.d.ts +300 -75
- package/es/components/iho-chat/src/Index.vue.d.ts +300 -75
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +35 -13
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +41 -14
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +50 -14
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +24 -4
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +60 -11
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.d.ts +15 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +62 -24
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -0
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +14 -2
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/useScrollLoading.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useScrollLoading.js +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
- package/es/components/iho-chat/src/hooks/useSession.js +1 -1
- package/es/components/iho-chat/src/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +11 -0
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +0 -1
- package/es/components/iho-chat/src/utils/index.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +13 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -0
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/headerPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/headerPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.js +1 -0
- package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue2.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -0
- package/es/components/iho-table/src/utils/index.d.ts +0 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +34 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +34 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +16 -0
- 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 +14 -0
- package/es/components/quick-search/src/index.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +16 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +47 -5
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +3 -0
- package/es/components/time-line/index.d.ts +4 -4
- package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
- package/es/components/time-line/src/TimeLine.vue2.js +1 -1
- package/es/components/time-picker/index.d.ts +20 -2
- package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
- package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/iho-table/src/plugins/headerPlugin.d.ts +0 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
@@ -84,6 +84,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
84
84
|
allowedInvalidValue: {
|
85
85
|
type: StringConstructor;
|
86
86
|
};
|
87
|
+
to: {
|
88
|
+
type: PropType<string | false | HTMLElement>;
|
89
|
+
default: string;
|
90
|
+
};
|
87
91
|
}, {
|
88
92
|
attrs: {
|
89
93
|
[x: string]: unknown;
|
@@ -104,6 +108,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
104
108
|
allowedInvalidValue: {
|
105
109
|
type: StringConstructor;
|
106
110
|
};
|
111
|
+
to: {
|
112
|
+
type: PropType<string | false | HTMLElement>;
|
113
|
+
default: string;
|
114
|
+
};
|
107
115
|
}>> & {
|
108
116
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
109
117
|
}>>;
|
@@ -140,10 +148,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
140
148
|
allowedInvalidValue: {
|
141
149
|
type: StringConstructor;
|
142
150
|
};
|
151
|
+
to: {
|
152
|
+
type: PropType<string | false | HTMLElement>;
|
153
|
+
default: string;
|
154
|
+
};
|
143
155
|
}>> & {
|
144
156
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
145
157
|
}, {
|
146
158
|
updateUnchangedValue: boolean;
|
159
|
+
to: string | false | HTMLElement;
|
147
160
|
}>>;
|
148
161
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
149
162
|
type: {
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { AnyObject } from '../../../../../../shared/types';
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
2
4
|
value: {
|
3
|
-
type:
|
5
|
+
type: PropType<AnyObject[]>;
|
4
6
|
};
|
5
7
|
componentCfg: {
|
6
8
|
type: ObjectConstructor;
|
@@ -13,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
13
15
|
};
|
14
16
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
15
17
|
value: {
|
16
|
-
type:
|
18
|
+
type: PropType<AnyObject[]>;
|
17
19
|
};
|
18
20
|
componentCfg: {
|
19
21
|
type: ObjectConstructor;
|
@@ -28,8 +30,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
30
|
emit: (event: "update:value", ...args: any[]) => void;
|
29
31
|
selectDynamicRef: any;
|
30
32
|
isLoading: import("vue").Ref<boolean>;
|
31
|
-
filterApiConfig:
|
32
|
-
searchFilterList: import("vue").Ref<
|
33
|
+
filterApiConfig: AnyObject;
|
34
|
+
searchFilterList: import("vue").Ref<AnyObject[]>;
|
33
35
|
curPage: import("vue").Ref<number>;
|
34
36
|
fieldTitleList: import("vue").Ref<any>;
|
35
37
|
selectOptions: import("vue").Ref<any[]>;
|
@@ -43,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
43
45
|
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
44
46
|
isShowWhole: import("vue").ComputedRef<any>;
|
45
47
|
isLastPage: import("vue").ComputedRef<boolean>;
|
46
|
-
valueCp: import("vue").ComputedRef<string |
|
48
|
+
valueCp: import("vue").ComputedRef<string | any[] | {
|
47
49
|
label: any;
|
48
50
|
value: any;
|
49
51
|
} | null>;
|
@@ -64,16 +66,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
64
66
|
init: () => void;
|
65
67
|
NSelect: any;
|
66
68
|
SelectDynamicOption: import("vue").DefineComponent<{
|
69
|
+
oldValue: {
|
70
|
+
type: PropType<AnyObject[]>;
|
71
|
+
default: () => never[];
|
72
|
+
};
|
67
73
|
dynamicOptionInfo: {
|
68
|
-
type:
|
74
|
+
type: PropType<AnyObject>;
|
69
75
|
default: () => {};
|
70
76
|
};
|
71
77
|
fieldTitleList: {
|
72
|
-
type:
|
78
|
+
type: PropType<AnyObject[]>;
|
73
79
|
default: () => never[];
|
74
80
|
};
|
75
81
|
optionList: {
|
76
|
-
type:
|
82
|
+
type: PropType<AnyObject[]>;
|
77
83
|
default: () => never[];
|
78
84
|
};
|
79
85
|
isMultiple: {
|
@@ -99,16 +105,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
105
|
}, {
|
100
106
|
selectMinWidth: number;
|
101
107
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
108
|
+
oldValue: {
|
109
|
+
type: PropType<AnyObject[]>;
|
110
|
+
default: () => never[];
|
111
|
+
};
|
102
112
|
dynamicOptionInfo: {
|
103
|
-
type:
|
113
|
+
type: PropType<AnyObject>;
|
104
114
|
default: () => {};
|
105
115
|
};
|
106
116
|
fieldTitleList: {
|
107
|
-
type:
|
117
|
+
type: PropType<AnyObject[]>;
|
108
118
|
default: () => never[];
|
109
119
|
};
|
110
120
|
optionList: {
|
111
|
-
type:
|
121
|
+
type: PropType<AnyObject[]>;
|
112
122
|
default: () => never[];
|
113
123
|
};
|
114
124
|
isMultiple: {
|
@@ -187,16 +197,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
187
197
|
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
188
198
|
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
189
199
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
200
|
+
oldValue: {
|
201
|
+
type: PropType<AnyObject[]>;
|
202
|
+
default: () => never[];
|
203
|
+
};
|
190
204
|
dynamicOptionInfo: {
|
191
|
-
type:
|
205
|
+
type: PropType<AnyObject>;
|
192
206
|
default: () => {};
|
193
207
|
};
|
194
208
|
fieldTitleList: {
|
195
|
-
type:
|
209
|
+
type: PropType<AnyObject[]>;
|
196
210
|
default: () => never[];
|
197
211
|
};
|
198
212
|
optionList: {
|
199
|
-
type:
|
213
|
+
type: PropType<AnyObject[]>;
|
200
214
|
default: () => never[];
|
201
215
|
};
|
202
216
|
isMultiple: {
|
@@ -225,16 +239,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
225
239
|
}, {
|
226
240
|
isMultiple: boolean;
|
227
241
|
loading: boolean;
|
228
|
-
|
229
|
-
|
230
|
-
|
242
|
+
oldValue: AnyObject[];
|
243
|
+
dynamicOptionInfo: AnyObject;
|
244
|
+
fieldTitleList: AnyObject[];
|
245
|
+
optionList: AnyObject[];
|
231
246
|
curPage: number;
|
232
247
|
isLastPage: boolean;
|
233
248
|
isShowWhole: boolean;
|
234
249
|
}>;
|
235
250
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
236
251
|
value: {
|
237
|
-
type:
|
252
|
+
type: PropType<AnyObject[]>;
|
238
253
|
};
|
239
254
|
componentCfg: {
|
240
255
|
type: ObjectConstructor;
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as u,nextTick as n,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as v,withCtx as c,createVNode as
|
1
|
+
import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as u,nextTick as n,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as v,withCtx as c,createVNode as p,h as f}from"vue";import{useMessage as d,NSelect as m,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as O}from"../helpers/selectExtraMap.js";import{WidgetValEnums as S}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import k from"./SelectDynamicOption/index.vue.js";import{isEqual as C,cloneDeep as A}from"lodash-es";var L=e({__name:"SelectDynamic",props:{value:{type:Array},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:L}){const N=e,P=d(),D="SQL",J="API",{getDynamicSelectData:x}=h(),I=a(),E=l(null),K=l(!1),T=t(b),$=t(j),U=l(1),W=l(),_=l([JSON.parse(JSON.stringify(O))]),M=l([]),V=l(),F=l(0),H={class:"select-dynamic-popover"},Q=u((()=>I.multiple)),R=u((()=>{const{widgetCfg:e}=N.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=u((()=>{const{widgetCfg:e}=N.componentCfg,{showWholeOption:a=!1}=e;return a&&1===U.value})),z=u((()=>F.value>0&&U.value>=F.value)),B=u((()=>{var e;if(Array.isArray(N.value)&&N.value.length>0){const e=N.value;if(X(e),e.includes(O.value)){const e=_.value.find((e=>e.value===O.value)),a=e||O;return Q.value?[a]:JSON.stringify(a)}if(!Q.value&&1==e.length){const a=_.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]}}const a=_.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return X([]),null!=(e=N.value)?e:null})),G=u((()=>{if(Object.keys(R.value).length>0){const{defaultParams:e=[]}=R.value;return w(e)&&!N.value}return!1}));function X(e){_.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function Y(e){const{widgetCfg:a}=N.componentCfg,{linkageFieldKeys:l=[]}=a;C(N.value,e)||(l.forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),L("update:value",e))}async function Z(e){var a;U.value=e,null==(a=null==E?void 0:E.value)||a.focus(),await ee(V.value,U.value)}async function ee(e,a){try{if(K.value=!0,Object.keys(R.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:u,filterKeys:n,defaultParams:o=[],showKeys:i,valueKey:s,tableDataType:r}=R.value;let v={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};switch(r){case D:v.keyword=e;break;case J:n.length>0&&(v[n[0]]=e)}if(w(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&a.value!==S.WHOLE&&(v[e]=a.value)}))}let c=await x(v,T);if(c){const{fieldList:e=[],rows:a=[],total:l=0}=c.map,t=a.map((e=>({...e,label:e[i[0]],value:`${e[i[0]]}&${e[s]}`}))),u=A(t);q.value&&t.unshift(JSON.parse(JSON.stringify(O))),W.value=null!=e?e:[],_.value=null!=t?t:[],M.value=u,F.value=l}}}catch(e){P.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{K.value=!1}}const ae=g((async e=>{await async function(e){V.value=e.trim(),U.value=1,await ee(V.value,U.value)}(e)}),300);async function le(){Object.keys(R.value).length>0&&T&&await ee("",U.value)}async function te(){L("update:value",null),await le()}function ue(e){V.value="",e&&(U.value=1,le())}function ne({option:e,handleClose:a}){if(Q.value){const l=e.value;return f(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(N.value)&&N.value.length>0){const e=N.value,a=e.indexOf(l.value);a>-1&&(e.splice(a,1),L("update:value",e.length>0?e:null))}}},{default:()=>f("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return f("div",l.label)}return n((()=>{G.value||le()})),(e,a)=>(o(),i(s(m),r({ref_key:"selectDynamicRef",ref:E},s(I),{value:s(B),"onUpdate:value":a[0]||(a[0]=e=>v(B)?B.value=e:null),remote:"",loading:K.value,"render-tag":ne,"menu-props":H,onSearch:s(ae),onClear:te,"onUpdate:show":ue}),{empty:c((()=>[p(k,r(s(I),{oldValue:N.value,loading:K.value,dynamicOptionInfo:s(R),fieldTitleList:W.value,optionList:_.value,isMultiple:s(Q),curPage:U.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:Y,onUpdatePage:Z}),null,16,["oldValue","loading","dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{L as default};
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
2
|
import { AnyObject } from '../../../../../../../shared/types';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
|
+
oldValue: {
|
5
|
+
type: PropType<AnyObject[]>;
|
6
|
+
default: () => never[];
|
7
|
+
};
|
4
8
|
dynamicOptionInfo: {
|
5
9
|
type: PropType<AnyObject>;
|
6
10
|
default: () => {};
|
@@ -36,6 +40,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
36
40
|
}, {
|
37
41
|
selectMinWidth: number;
|
38
42
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
43
|
+
oldValue: {
|
44
|
+
type: PropType<AnyObject[]>;
|
45
|
+
default: () => never[];
|
46
|
+
};
|
39
47
|
dynamicOptionInfo: {
|
40
48
|
type: PropType<AnyObject>;
|
41
49
|
default: () => {};
|
@@ -124,6 +132,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
124
132
|
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
125
133
|
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
126
134
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
135
|
+
oldValue: {
|
136
|
+
type: PropType<AnyObject[]>;
|
137
|
+
default: () => never[];
|
138
|
+
};
|
127
139
|
dynamicOptionInfo: {
|
128
140
|
type: PropType<AnyObject>;
|
129
141
|
default: () => {};
|
@@ -162,6 +174,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
162
174
|
}, {
|
163
175
|
isMultiple: boolean;
|
164
176
|
loading: boolean;
|
177
|
+
oldValue: AnyObject[];
|
165
178
|
dynamicOptionInfo: AnyObject;
|
166
179
|
fieldTitleList: AnyObject[];
|
167
180
|
optionList: AnyObject[];
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as t,computed as
|
1
|
+
import{defineComponent as e,ref as t,computed as l,withDirectives as a,openBlock as i,createElementBlock as n,normalizeStyle as o,createBlock as s,unref as c,Fragment as d,renderList as u,toDisplayString as r,createCommentVNode as p,createElementVNode as v,normalizeClass as f,withCtx as m,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as k,NButtonGroup as L,NButton as b,NIcon as E}from"naive-ui";import{vFlexibleResize as S}from"../../../../../../../shared/directive/flexibleResize.js";import{WidgetValEnums as P}from"../../../../types/enums.js";import{ArrowBack as x,ArrowForward as M}from"@vicons/ionicons5";import{WholeSelectObj as O}from"../../helpers/selectExtraMap.js";const W={key:0,class:"dynamic-header"},_={class:"dynamic-content"},w=["onClick"],V={key:0,class:"content"},j={class:"content"},B={class:"dynamic-pagination"};var C=e({__name:"index",props:{oldValue:{type:Array,default:()=>[]},dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1},isShowWhole:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:C}){const z=e,A=t(200),H=l((()=>{var e,t;return null!=(t=null==(e=z.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),I=l((()=>H.value&&H.value.length>0?H.value.map((e=>{let t="";return z.fieldTitleList.forEach((l=>{l.columnName===e&&(t=l.title)})),t})):[])),N=l((()=>!z.optionList.filter((e=>e.label!=O.label)).length));function R(e){const t=z.curPage+e;C("updatePage",t)}function T({distance:e}){const t=A.value+e;A.value=Math.min(Math.max(t,200),1e3)}function K(){}return(t,l)=>a((i(),n("div",{class:"select-dynamic-options",style:o({minWidth:A.value+"px",position:"relative"})},[e.loading?(i(),s(c(g),{key:0,"show-icon":!1,description:"加载中..."})):(i(),n(d,{key:1},[c(N)?(i(),s(c(g),{key:0,description:"无数据"})):(i(),n(d,{key:1},[c(I)&&c(I).length>1?(i(),n("div",W,[(i(!0),n(d,null,u(c(I),(e=>(i(),n("span",{key:e,class:"name"},r(e),1)))),128))])):p("v-if",!0),v("ul",_,[(i(!0),n(d,null,u(e.optionList,(t=>(i(),n("li",{class:f(t.actived?"actived":""),key:t.value,onClick:e=>function(e){var t,l,a,i;if(!z.isMultiple||e.value===P.WHOLE)return null==(t=z.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void C("updateSelect",[e.value]);null==(l=z.optionList)||l.forEach((e=>{e.value===P.WHOLE&&(e.actived=!1)})),e.actived?e.actived=!1:e.actived=!0;const n=null==(a=z.optionList)?void 0:a.filter((e=>e.actived)).map((e=>e.value));if(z.oldValue&&(null==(i=z.oldValue)?void 0:i.length)>0){const t=[...new Set([...z.oldValue,...n])];return e.actived?C("updateSelect",t):C("updateSelect",t.filter((t=>t!=e.value)))}C("updateSelect",n)}(t)},[e.isShowWhole&&t.value===c(P).WHOLE?(i(),n("span",V,r(t.label),1)):(i(!0),n(d,{key:1},u(c(H),(e=>(i(),s(c(k),{key:e,trigger:"hover",duration:0},{trigger:m((()=>[v("span",j,r(t[e]),1)])),default:m((()=>[y(" "+r(t[e]),1)])),_:2},1024)))),128))],10,w)))),128))]),v("div",B,[h(c(L),null,{default:m((()=>[h(c(b),{onClick:l[0]||(l[0]=e=>R(-1)),disabled:e.curPage<=1},{icon:m((()=>[h(c(E),{component:c(x),size:"16"},null,8,["component"])])),default:m((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),h(c(b),{"icon-placement":"right",onClick:l[1]||(l[1]=e=>R(1)),disabled:e.isLastPage},{icon:m((()=>[h(c(E),{component:c(M),size:"16"},null,8,["component"])])),default:m((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],64))],4)),[[c(S),{mode:"VR",onMove:T,onEnd:K}]])}});export{C as default};
|
@@ -204,6 +204,10 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
204
204
|
allowedInvalidValue: {
|
205
205
|
type: StringConstructor;
|
206
206
|
};
|
207
|
+
to: {
|
208
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
209
|
+
default: string;
|
210
|
+
};
|
207
211
|
}, {
|
208
212
|
attrs: {
|
209
213
|
[x: string]: unknown;
|
@@ -224,6 +228,10 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
224
228
|
allowedInvalidValue: {
|
225
229
|
type: StringConstructor;
|
226
230
|
};
|
231
|
+
to: {
|
232
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
233
|
+
default: string;
|
234
|
+
};
|
227
235
|
}>> & {
|
228
236
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
229
237
|
}>>;
|
@@ -260,10 +268,15 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
260
268
|
allowedInvalidValue: {
|
261
269
|
type: StringConstructor;
|
262
270
|
};
|
271
|
+
to: {
|
272
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
273
|
+
default: string;
|
274
|
+
};
|
263
275
|
}>> & {
|
264
276
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
265
277
|
}, {
|
266
278
|
updateUnchangedValue: boolean;
|
279
|
+
to: string | false | HTMLElement;
|
267
280
|
}>>;
|
268
281
|
DateQuickBtn: import("vue").DefineComponent<{
|
269
282
|
componentCfg: {
|
@@ -452,6 +465,10 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
452
465
|
allowedInvalidValue: {
|
453
466
|
type: StringConstructor;
|
454
467
|
};
|
468
|
+
to: {
|
469
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
470
|
+
default: string;
|
471
|
+
};
|
455
472
|
}, {
|
456
473
|
attrs: {
|
457
474
|
[x: string]: unknown;
|
@@ -472,6 +489,10 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
472
489
|
allowedInvalidValue: {
|
473
490
|
type: StringConstructor;
|
474
491
|
};
|
492
|
+
to: {
|
493
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
494
|
+
default: string;
|
495
|
+
};
|
475
496
|
}>> & {
|
476
497
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
477
498
|
}>>;
|
@@ -508,10 +529,15 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
508
529
|
allowedInvalidValue: {
|
509
530
|
type: StringConstructor;
|
510
531
|
};
|
532
|
+
to: {
|
533
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
534
|
+
default: string;
|
535
|
+
};
|
511
536
|
}>> & {
|
512
537
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
513
538
|
}, {
|
514
539
|
updateUnchangedValue: boolean;
|
540
|
+
to: string | false | HTMLElement;
|
515
541
|
}>>;
|
516
542
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
517
543
|
componentCfg: {
|
@@ -662,6 +688,10 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
662
688
|
allowedInvalidValue: {
|
663
689
|
type: StringConstructor;
|
664
690
|
};
|
691
|
+
to: {
|
692
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
693
|
+
default: string;
|
694
|
+
};
|
665
695
|
}, {
|
666
696
|
attrs: {
|
667
697
|
[x: string]: unknown;
|
@@ -682,6 +712,10 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
682
712
|
allowedInvalidValue: {
|
683
713
|
type: StringConstructor;
|
684
714
|
};
|
715
|
+
to: {
|
716
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
717
|
+
default: string;
|
718
|
+
};
|
685
719
|
}>> & {
|
686
720
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
687
721
|
}>>;
|
@@ -718,10 +752,15 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
718
752
|
allowedInvalidValue: {
|
719
753
|
type: StringConstructor;
|
720
754
|
};
|
755
|
+
to: {
|
756
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
757
|
+
default: string;
|
758
|
+
};
|
721
759
|
}>> & {
|
722
760
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
723
761
|
}, {
|
724
762
|
updateUnchangedValue: boolean;
|
763
|
+
to: string | false | HTMLElement;
|
725
764
|
}>>;
|
726
765
|
DateQuickBtn: import("vue").DefineComponent<{
|
727
766
|
componentCfg: {
|
@@ -917,6 +956,10 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
917
956
|
allowedInvalidValue: {
|
918
957
|
type: StringConstructor;
|
919
958
|
};
|
959
|
+
to: {
|
960
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
961
|
+
default: string;
|
962
|
+
};
|
920
963
|
}, {
|
921
964
|
attrs: {
|
922
965
|
[x: string]: unknown;
|
@@ -937,6 +980,10 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
937
980
|
allowedInvalidValue: {
|
938
981
|
type: StringConstructor;
|
939
982
|
};
|
983
|
+
to: {
|
984
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
985
|
+
default: string;
|
986
|
+
};
|
940
987
|
}>> & {
|
941
988
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
942
989
|
}>>;
|
@@ -973,10 +1020,15 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
973
1020
|
allowedInvalidValue: {
|
974
1021
|
type: StringConstructor;
|
975
1022
|
};
|
1023
|
+
to: {
|
1024
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
1025
|
+
default: string;
|
1026
|
+
};
|
976
1027
|
}>> & {
|
977
1028
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
978
1029
|
}, {
|
979
1030
|
updateUnchangedValue: boolean;
|
1031
|
+
to: string | false | HTMLElement;
|
980
1032
|
}>>;
|
981
1033
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
982
1034
|
type: {
|
@@ -1158,7 +1210,7 @@ declare const Select: import("vue").DefineComponent<{
|
|
1158
1210
|
}, {}>;
|
1159
1211
|
declare const SelectDynamic: import("vue").DefineComponent<{
|
1160
1212
|
value: {
|
1161
|
-
type: (
|
1213
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
1162
1214
|
};
|
1163
1215
|
componentCfg: {
|
1164
1216
|
type: ObjectConstructor;
|
@@ -1171,7 +1223,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1171
1223
|
};
|
1172
1224
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1173
1225
|
value: {
|
1174
|
-
type: (
|
1226
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
1175
1227
|
};
|
1176
1228
|
componentCfg: {
|
1177
1229
|
type: ObjectConstructor;
|
@@ -1201,7 +1253,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1201
1253
|
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
1202
1254
|
isShowWhole: import("vue").ComputedRef<any>;
|
1203
1255
|
isLastPage: import("vue").ComputedRef<boolean>;
|
1204
|
-
valueCp: import("vue").ComputedRef<string |
|
1256
|
+
valueCp: import("vue").ComputedRef<string | any[] | {
|
1205
1257
|
label: any;
|
1206
1258
|
value: any;
|
1207
1259
|
} | null>;
|
@@ -1222,6 +1274,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1222
1274
|
init: () => void;
|
1223
1275
|
NSelect: any;
|
1224
1276
|
SelectDynamicOption: import("vue").DefineComponent<{
|
1277
|
+
oldValue: {
|
1278
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
1279
|
+
default: () => never[];
|
1280
|
+
};
|
1225
1281
|
dynamicOptionInfo: {
|
1226
1282
|
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
|
1227
1283
|
default: () => {};
|
@@ -1257,6 +1313,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1257
1313
|
}, {
|
1258
1314
|
selectMinWidth: number;
|
1259
1315
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1316
|
+
oldValue: {
|
1317
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
1318
|
+
default: () => never[];
|
1319
|
+
};
|
1260
1320
|
dynamicOptionInfo: {
|
1261
1321
|
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
|
1262
1322
|
default: () => {};
|
@@ -1345,6 +1405,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1345
1405
|
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1346
1406
|
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1347
1407
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1408
|
+
oldValue: {
|
1409
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
1410
|
+
default: () => never[];
|
1411
|
+
};
|
1348
1412
|
dynamicOptionInfo: {
|
1349
1413
|
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
|
1350
1414
|
default: () => {};
|
@@ -1383,6 +1447,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1383
1447
|
}, {
|
1384
1448
|
isMultiple: boolean;
|
1385
1449
|
loading: boolean;
|
1450
|
+
oldValue: import("../../../../../../shared/types").AnyObject[];
|
1386
1451
|
dynamicOptionInfo: import("../../../../../../shared/types").AnyObject;
|
1387
1452
|
fieldTitleList: import("../../../../../../shared/types").AnyObject[];
|
1388
1453
|
optionList: import("../../../../../../shared/types").AnyObject[];
|
@@ -1392,7 +1457,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
|
|
1392
1457
|
}>;
|
1393
1458
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1394
1459
|
value: {
|
1395
|
-
type: (
|
1460
|
+
type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
|
1396
1461
|
};
|
1397
1462
|
componentCfg: {
|
1398
1463
|
type: ObjectConstructor;
|