@qqt-product/ui 13.0.1 → 14.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +8815 -8733
- package/dist/index.umd.js +64 -64
- package/dist/lib/components/field-select-modal/index.d.ts +5 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +3 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -2
- package/dist/lib/components/layout/index.d.ts +15 -0
- package/dist/lib/components/layout/src/header/index.vue.d.ts +15 -0
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +10 -0
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +5 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +15 -0
- package/dist/lib/components/layout/src/types.d.ts +5 -0
- package/dist/lib/components/select-modal/index.d.ts +9 -3
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +2 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +9 -3
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../utils/type';
|
|
2
2
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
3
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './src/field-select-modal-types';
|
|
4
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
6
6
|
import QFieldSelectModal from './src/field-select-modal.vue';
|
|
7
7
|
export * from './src/field-select-modal-types';
|
|
@@ -100,7 +100,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
100
100
|
getPagerConfig: ComputedRef<any>;
|
|
101
101
|
modalTitle: Ref<string>;
|
|
102
102
|
placeholder: Ref<string>;
|
|
103
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
103
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
104
104
|
close: () => void;
|
|
105
105
|
onSearch: () => void;
|
|
106
106
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -113,6 +113,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
113
113
|
type: string;
|
|
114
114
|
}) => Promise<never> | undefined;
|
|
115
115
|
restParams: () => void;
|
|
116
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
117
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
118
|
+
onCheckboxChange: () => void;
|
|
116
119
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
117
120
|
modalTitle: {
|
|
118
121
|
type: StringConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../../utils/type';
|
|
2
|
-
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
2
|
+
import type { DefineComponent, PropType, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
|
|
3
3
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './field-select-modal-types';
|
|
4
4
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
@@ -96,7 +96,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
96
96
|
getPagerConfig: ComputedRef<any>;
|
|
97
97
|
modalTitle: Ref<string>;
|
|
98
98
|
placeholder: Ref<string>;
|
|
99
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
99
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
100
100
|
close: () => void;
|
|
101
101
|
onSearch: () => void;
|
|
102
102
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -109,6 +109,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
109
109
|
type: string;
|
|
110
110
|
}) => Promise<never> | undefined;
|
|
111
111
|
restParams: () => void;
|
|
112
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
113
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
114
|
+
onCheckboxChange: () => void;
|
|
112
115
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
113
116
|
modalTitle: {
|
|
114
117
|
type: StringConstructor;
|
|
@@ -761,6 +761,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
761
761
|
showWebProcurement: boolean;
|
|
762
762
|
showI18n: boolean;
|
|
763
763
|
showChatBi: boolean;
|
|
764
|
+
showThemeColorSwitch: boolean;
|
|
765
|
+
showSmartAssistant: boolean;
|
|
766
|
+
showChat: boolean;
|
|
767
|
+
showMessage: boolean;
|
|
768
|
+
showOnlinePerson: boolean;
|
|
764
769
|
};
|
|
765
770
|
btns: Ref<{
|
|
766
771
|
title: string;
|
|
@@ -810,6 +815,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
810
815
|
showWebProcurement: boolean;
|
|
811
816
|
showI18n: boolean;
|
|
812
817
|
showChatBi: boolean;
|
|
818
|
+
showThemeColorSwitch: boolean;
|
|
819
|
+
showSmartAssistant: boolean;
|
|
820
|
+
showChat: boolean;
|
|
821
|
+
showMessage: boolean;
|
|
822
|
+
showOnlinePerson: boolean;
|
|
813
823
|
};
|
|
814
824
|
showDrawer: Ref<boolean>;
|
|
815
825
|
showGlobalStyleDrawer: () => void;
|
|
@@ -823,6 +833,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
823
833
|
showWebProcurement: boolean;
|
|
824
834
|
showI18n: boolean;
|
|
825
835
|
showChatBi: boolean;
|
|
836
|
+
showThemeColorSwitch: boolean;
|
|
837
|
+
showSmartAssistant: boolean;
|
|
838
|
+
showChat: boolean;
|
|
839
|
+
showMessage: boolean;
|
|
840
|
+
showOnlinePerson: boolean;
|
|
826
841
|
};
|
|
827
842
|
Q_APPLICATION_CONFIG: {
|
|
828
843
|
updateTheme: () => void;
|
|
@@ -18,6 +18,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
18
18
|
showWebProcurement: boolean;
|
|
19
19
|
showI18n: boolean;
|
|
20
20
|
showChatBi: boolean;
|
|
21
|
+
showThemeColorSwitch: boolean;
|
|
22
|
+
showSmartAssistant: boolean;
|
|
23
|
+
showChat: boolean;
|
|
24
|
+
showMessage: boolean;
|
|
25
|
+
showOnlinePerson: boolean;
|
|
21
26
|
};
|
|
22
27
|
btns: Ref<{
|
|
23
28
|
title: string;
|
|
@@ -67,6 +72,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
67
72
|
showWebProcurement: boolean;
|
|
68
73
|
showI18n: boolean;
|
|
69
74
|
showChatBi: boolean;
|
|
75
|
+
showThemeColorSwitch: boolean;
|
|
76
|
+
showSmartAssistant: boolean;
|
|
77
|
+
showChat: boolean;
|
|
78
|
+
showMessage: boolean;
|
|
79
|
+
showOnlinePerson: boolean;
|
|
70
80
|
};
|
|
71
81
|
showDrawer: Ref<boolean>;
|
|
72
82
|
showGlobalStyleDrawer: () => void;
|
|
@@ -80,6 +90,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
80
90
|
showWebProcurement: boolean;
|
|
81
91
|
showI18n: boolean;
|
|
82
92
|
showChatBi: boolean;
|
|
93
|
+
showThemeColorSwitch: boolean;
|
|
94
|
+
showSmartAssistant: boolean;
|
|
95
|
+
showChat: boolean;
|
|
96
|
+
showMessage: boolean;
|
|
97
|
+
showOnlinePerson: boolean;
|
|
83
98
|
};
|
|
84
99
|
Q_APPLICATION_CONFIG: {
|
|
85
100
|
updateTheme: () => void;
|
|
@@ -13,6 +13,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
13
13
|
showWebProcurement: boolean;
|
|
14
14
|
showI18n: boolean;
|
|
15
15
|
showChatBi: boolean;
|
|
16
|
+
showThemeColorSwitch: boolean;
|
|
17
|
+
showSmartAssistant: boolean;
|
|
18
|
+
showChat: boolean;
|
|
19
|
+
showMessage: boolean;
|
|
20
|
+
showOnlinePerson: boolean;
|
|
16
21
|
};
|
|
17
22
|
showDrawer: Ref<boolean>;
|
|
18
23
|
showGlobalStyleDrawer: () => void;
|
|
@@ -26,6 +31,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
26
31
|
showWebProcurement: boolean;
|
|
27
32
|
showI18n: boolean;
|
|
28
33
|
showChatBi: boolean;
|
|
34
|
+
showThemeColorSwitch: boolean;
|
|
35
|
+
showSmartAssistant: boolean;
|
|
36
|
+
showChat: boolean;
|
|
37
|
+
showMessage: boolean;
|
|
38
|
+
showOnlinePerson: boolean;
|
|
29
39
|
};
|
|
30
40
|
Q_APPLICATION_CONFIG: {
|
|
31
41
|
updateTheme: () => void;
|
|
@@ -10,6 +10,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
10
10
|
showWebProcurement: boolean;
|
|
11
11
|
showI18n: boolean;
|
|
12
12
|
showChatBi: boolean;
|
|
13
|
+
showThemeColorSwitch: boolean;
|
|
14
|
+
showSmartAssistant: boolean;
|
|
15
|
+
showChat: boolean;
|
|
16
|
+
showMessage: boolean;
|
|
17
|
+
showOnlinePerson: boolean;
|
|
13
18
|
};
|
|
14
19
|
Q_APPLICATION_CONFIG: {
|
|
15
20
|
updateTheme: () => void;
|
|
@@ -758,6 +758,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
758
758
|
showWebProcurement: boolean;
|
|
759
759
|
showI18n: boolean;
|
|
760
760
|
showChatBi: boolean;
|
|
761
|
+
showThemeColorSwitch: boolean;
|
|
762
|
+
showSmartAssistant: boolean;
|
|
763
|
+
showChat: boolean;
|
|
764
|
+
showMessage: boolean;
|
|
765
|
+
showOnlinePerson: boolean;
|
|
761
766
|
};
|
|
762
767
|
btns: Ref<{
|
|
763
768
|
title: string;
|
|
@@ -807,6 +812,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
807
812
|
showWebProcurement: boolean;
|
|
808
813
|
showI18n: boolean;
|
|
809
814
|
showChatBi: boolean;
|
|
815
|
+
showThemeColorSwitch: boolean;
|
|
816
|
+
showSmartAssistant: boolean;
|
|
817
|
+
showChat: boolean;
|
|
818
|
+
showMessage: boolean;
|
|
819
|
+
showOnlinePerson: boolean;
|
|
810
820
|
};
|
|
811
821
|
showDrawer: Ref<boolean>;
|
|
812
822
|
showGlobalStyleDrawer: () => void;
|
|
@@ -820,6 +830,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
820
830
|
showWebProcurement: boolean;
|
|
821
831
|
showI18n: boolean;
|
|
822
832
|
showChatBi: boolean;
|
|
833
|
+
showThemeColorSwitch: boolean;
|
|
834
|
+
showSmartAssistant: boolean;
|
|
835
|
+
showChat: boolean;
|
|
836
|
+
showMessage: boolean;
|
|
837
|
+
showOnlinePerson: boolean;
|
|
823
838
|
};
|
|
824
839
|
Q_APPLICATION_CONFIG: {
|
|
825
840
|
updateTheme: () => void;
|
|
@@ -69,6 +69,11 @@ export interface ColorListType {
|
|
|
69
69
|
color: string;
|
|
70
70
|
}
|
|
71
71
|
export interface LayoutConfigType {
|
|
72
|
+
showThemeColorSwitch?: boolean;
|
|
73
|
+
showSmartAssistant?: boolean;
|
|
74
|
+
showChat?: boolean;
|
|
75
|
+
showMessage?: boolean;
|
|
76
|
+
showOnlinePerson?: boolean;
|
|
72
77
|
showTanentPageHome?: boolean;
|
|
73
78
|
showShoppingMall?: boolean;
|
|
74
79
|
showWebProcurement?: boolean;
|
|
@@ -2,7 +2,7 @@ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table'
|
|
|
2
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from '../field-select-modal';
|
|
3
3
|
import type { SrmI18n } from '../../utils/type';
|
|
4
4
|
import type { Config, RecordString, Extend } from './src/select-modal-types';
|
|
5
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
5
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ShallowRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
6
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
7
|
import QSelectModal from './src/select-modal.vue';
|
|
8
8
|
export * from './src/select-modal-types';
|
|
@@ -200,7 +200,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
200
200
|
getPagerConfig: ComputedRef<any>;
|
|
201
201
|
modalTitle: Ref<string>;
|
|
202
202
|
placeholder: Ref<string>;
|
|
203
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
203
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
204
204
|
close: () => void;
|
|
205
205
|
onSearch: () => void;
|
|
206
206
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -213,6 +213,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
213
213
|
type: string;
|
|
214
214
|
}) => Promise<never> | undefined;
|
|
215
215
|
restParams: () => void;
|
|
216
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
217
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
218
|
+
onCheckboxChange: () => void;
|
|
216
219
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
217
220
|
modalTitle: string;
|
|
218
221
|
apiUrls: string;
|
|
@@ -336,7 +339,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
336
339
|
getPagerConfig: ComputedRef<any>;
|
|
337
340
|
modalTitle: Ref<string>;
|
|
338
341
|
placeholder: Ref<string>;
|
|
339
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
342
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
340
343
|
close: () => void;
|
|
341
344
|
onSearch: () => void;
|
|
342
345
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -349,6 +352,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
349
352
|
type: string;
|
|
350
353
|
}) => Promise<never> | undefined;
|
|
351
354
|
restParams: () => void;
|
|
355
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
356
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
357
|
+
onCheckboxChange: () => void;
|
|
352
358
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
353
359
|
openSelectModal: () => void;
|
|
354
360
|
onChange: (checkedValues: RecordString[]) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
|
|
2
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './../../field-select-modal';
|
|
3
3
|
import type { SrmI18n } from '../../../utils/type';
|
|
4
|
-
import type { DefineComponent, PropType, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef } from 'vue';
|
|
4
|
+
import type { DefineComponent, PropType, Ref, ComponentInternalInstance, VNodeRef, VNode, RendererNode, RendererElement, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ShallowRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef } from 'vue';
|
|
5
5
|
import type { Config, RecordString, Extend } from './select-modal-types';
|
|
6
6
|
declare const _sfc_main: DefineComponent<{
|
|
7
7
|
value: {
|
|
@@ -196,7 +196,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
196
196
|
getPagerConfig: ComputedRef<any>;
|
|
197
197
|
modalTitle: Ref<string>;
|
|
198
198
|
placeholder: Ref<string>;
|
|
199
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
199
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
200
200
|
close: () => void;
|
|
201
201
|
onSearch: () => void;
|
|
202
202
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -209,6 +209,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
209
209
|
type: string;
|
|
210
210
|
}) => Promise<never> | undefined;
|
|
211
211
|
restParams: () => void;
|
|
212
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
213
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
214
|
+
onCheckboxChange: () => void;
|
|
212
215
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
213
216
|
modalTitle: string;
|
|
214
217
|
apiUrls: string;
|
|
@@ -332,7 +335,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
332
335
|
getPagerConfig: ComputedRef<any>;
|
|
333
336
|
modalTitle: Ref<string>;
|
|
334
337
|
placeholder: Ref<string>;
|
|
335
|
-
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
|
|
338
|
+
open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm, showCheckItem, checkItemParams }: OpenFuncType) => void;
|
|
336
339
|
close: () => void;
|
|
337
340
|
onSearch: () => void;
|
|
338
341
|
handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
|
|
@@ -345,6 +348,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
345
348
|
type: string;
|
|
346
349
|
}) => Promise<never> | undefined;
|
|
347
350
|
restParams: () => void;
|
|
351
|
+
isShowCheckItem: ShallowRef<boolean>;
|
|
352
|
+
checktableData: Ref<Record<string, unknown>[]>;
|
|
353
|
+
onCheckboxChange: () => void;
|
|
348
354
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
349
355
|
openSelectModal: () => void;
|
|
350
356
|
onChange: (checkedValues: RecordString[]) => void;
|