@qqt-product/ui 0.0.16 → 0.0.18
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 +81533 -81528
- package/dist/index.umd.js +149 -209
- package/dist/lib/components/audit-modal/index.d.ts +14 -3
- package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +4 -0
- package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +14 -3
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +10 -1
- package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +11 -2
- package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +1 -1
- package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +2 -2
- package/dist/lib/components/cascader/index.d.ts +2 -2
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +3 -2
- package/dist/lib/components/checkbox/index.d.ts +4 -4
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +73 -5
- package/dist/lib/components/code-editor-model/src/one-dark.d.ts +90 -0
- package/dist/lib/components/countdown/index.d.ts +4 -4
- package/dist/lib/components/countdown/src/countdown.d.ts +4 -4
- package/dist/lib/components/coutdown/index.d.ts +3 -3
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
- package/dist/lib/components/currency/index.d.ts +3 -3
- package/dist/lib/components/currency/src/currency-type.d.ts +1 -1
- package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
- package/dist/lib/components/detail-form/index.d.ts +11 -8
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +12 -9
- package/dist/lib/components/detail-grid/index.d.ts +24 -15
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +24 -15
- package/dist/lib/components/detail-page-layout/index.d.ts +34 -7
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +33 -6
- package/dist/lib/components/edit-form/index.d.ts +13 -13
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +1 -1
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +14 -14
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -6
- package/dist/lib/components/edit-grid/index.d.ts +25 -15
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +25 -15
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/index.d.ts +33 -6
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +58 -35
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +33 -6
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/empty/index.d.ts +103 -0
- package/dist/lib/components/field-select-modal/index.d.ts +5 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -0
- package/dist/lib/components/flow-view/index.d.ts +2 -2
- package/dist/lib/components/flow-view/src/flow-view.d.ts +2 -2
- package/dist/lib/components/import-modal/index.d.ts +1 -1
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
- package/dist/lib/components/index.d.ts +4 -1
- package/dist/lib/components/item-wrap/index.d.ts +6 -6
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +2 -2
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +6 -6
- package/dist/lib/components/ladder-price/index.d.ts +6 -2
- package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +7 -3
- package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +3 -1
- package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +9 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +2 -2
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +6 -2
- package/dist/lib/components/layout-buttons/index.d.ts +4 -2
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +4 -2
- package/dist/lib/components/layout-pattern/index.d.ts +2 -2
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +30 -25
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +9 -8
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/index.d.ts +10 -2
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +26 -26
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +15 -3
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +10 -2
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +9 -2
- package/dist/lib/components/menu/index.d.ts +84 -0
- package/dist/lib/components/menu/src/index.d.ts +80 -0
- package/dist/lib/components/menu/src/menu-types.d.ts +47 -0
- package/dist/lib/components/menu/src/use-menu.d.ts +2 -0
- package/dist/lib/components/page-layout/index.d.ts +4 -4
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +6 -6
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +1 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +2 -2
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +5 -3
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +3 -3
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +2 -2
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +4 -4
- package/dist/lib/components/page-layout/src/token.d.ts +4 -4
- package/dist/lib/components/radio/index.d.ts +4 -4
- package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +2 -2
- package/dist/lib/components/remote-select/index.d.ts +5 -5
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +6 -6
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
- package/dist/lib/components/rich-editor-model/index.d.ts +52 -0
- package/dist/lib/components/rich-editor-model/src/rich-editor-model-type.d.ts +14 -0
- package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +49 -0
- package/dist/lib/components/sale-template/index.d.ts +6 -6
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +6 -6
- package/dist/lib/components/select/index.d.ts +1 -1
- package/dist/lib/components/select/src/select.vue.d.ts +1 -1
- package/dist/lib/components/select-modal/index.d.ts +17 -8
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +6 -6
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +17 -8
- package/dist/lib/components/select-template/index.d.ts +1 -1
- package/dist/lib/components/select-template/src/select-template.vue.d.ts +1 -1
- package/dist/lib/components/switch/index.d.ts +5 -5
- package/dist/lib/components/switch/src/switch-types.d.ts +1 -1
- package/dist/lib/components/switch/src/switch.vue.d.ts +5 -5
- package/dist/lib/components/tree-select/index.d.ts +5 -5
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +2 -2
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
- package/dist/lib/components/upload-file/index.d.ts +6 -6
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +2 -32
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +2 -2
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +7 -6
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +6 -6
- package/dist/lib/components/upload-file-vxe/index.d.ts +8 -6
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +2 -2
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +8 -6
- package/dist/lib/components/upload-image/index.d.ts +11 -1
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +11 -1
- package/dist/lib/components/vxe-select/index.d.ts +4 -4
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +4 -4
- package/dist/lib/utils/event.d.ts +4 -3
- package/dist/lib/utils/use-create-link-hook.d.ts +24 -0
- package/dist/style.css +1 -1
- package/package.json +21 -18
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +0 -8
- package/dist/vite.svg +0 -1
|
@@ -2,7 +2,7 @@ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table'
|
|
|
2
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './src/component/field-select-modal-types';
|
|
3
3
|
import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
|
|
4
4
|
import type { RuleObject } from 'ant-design-vue/es/form';
|
|
5
|
-
import type {
|
|
5
|
+
import type { RecordString } from '../select-modal';
|
|
6
6
|
import type { ObjectMap } from '../list-page-layout';
|
|
7
7
|
import type { Request } from '@qqt-product/api/dist/utils/request';
|
|
8
8
|
import type { Form } from './src/audit-modal-type';
|
|
@@ -56,6 +56,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
56
56
|
type: StringConstructor;
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
|
+
customParams: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: {};
|
|
62
|
+
};
|
|
59
63
|
'onUpdate:visible': {
|
|
60
64
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
61
65
|
default: unknown;
|
|
@@ -73,6 +77,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
73
77
|
taskAction: Ref<string>;
|
|
74
78
|
needFlow: Ref<string>;
|
|
75
79
|
flowIframeUrl: Ref<string>;
|
|
80
|
+
customParams: Ref<Record<string, any>>;
|
|
76
81
|
handleCancel: () => void;
|
|
77
82
|
formRef: Ref<any>;
|
|
78
83
|
confirmLoading: Ref<boolean>;
|
|
@@ -80,7 +85,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
80
85
|
Request: Request;
|
|
81
86
|
formState: ObjectMap;
|
|
82
87
|
fieldSelectModal: Ref<any>;
|
|
83
|
-
tagSelectOk: Ref<(data:
|
|
88
|
+
tagSelectOk: Ref<(data: RecordString[]) => void>;
|
|
84
89
|
selectUsers: Ref<((btn: Form) => void) | null>;
|
|
85
90
|
delnextNodeUsers: (options: any[], index: number, userIndex: number) => void;
|
|
86
91
|
selectnextNodeUsers: (index: number) => void;
|
|
@@ -94,6 +99,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
94
99
|
};
|
|
95
100
|
accept: string;
|
|
96
101
|
};
|
|
102
|
+
initFormDefaultValue: () => void;
|
|
97
103
|
readonly UserOutlined: UserOutlinedIconType;
|
|
98
104
|
qFieldSelectModal: DefineComponent<{
|
|
99
105
|
modalTitle: {
|
|
@@ -299,6 +305,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
299
305
|
type: StringConstructor;
|
|
300
306
|
default: string;
|
|
301
307
|
};
|
|
308
|
+
customParams: {
|
|
309
|
+
type: ObjectConstructor;
|
|
310
|
+
default: {};
|
|
311
|
+
};
|
|
302
312
|
'onUpdate:visible': {
|
|
303
313
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
304
314
|
default: unknown;
|
|
@@ -309,16 +319,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
309
319
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
310
320
|
}, {
|
|
311
321
|
title: string;
|
|
322
|
+
form: Form[];
|
|
312
323
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
313
324
|
visible: boolean;
|
|
314
325
|
currentRow: any;
|
|
315
326
|
businessType: string;
|
|
316
327
|
token: string;
|
|
317
328
|
busAccount: string;
|
|
318
|
-
form: Form[];
|
|
319
329
|
width: string;
|
|
320
330
|
taskAction: string;
|
|
321
331
|
needFlow: string;
|
|
322
332
|
flowIframeUrl: string;
|
|
333
|
+
customParams: Record<string, any>;
|
|
323
334
|
}, {}>>;
|
|
324
335
|
export default _default;
|
|
@@ -45,6 +45,10 @@ export declare const auditModalProps: {
|
|
|
45
45
|
type: StringConstructor;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
|
+
customParams: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
default: {};
|
|
51
|
+
};
|
|
48
52
|
'onUpdate:visible': {
|
|
49
53
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
50
54
|
default: unknown;
|
|
@@ -2,7 +2,7 @@ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table'
|
|
|
2
2
|
import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './component/field-select-modal-types';
|
|
3
3
|
import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
|
|
4
4
|
import type { RuleObject } from 'ant-design-vue/es/form';
|
|
5
|
-
import type {
|
|
5
|
+
import type { RecordString } from '../../select-modal';
|
|
6
6
|
import type { Form } from './audit-modal-type';
|
|
7
7
|
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
8
8
|
import { ObjectMap } from '../../list-page-layout/src/list-page-layout-types';
|
|
@@ -52,6 +52,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
52
52
|
type: StringConstructor;
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
55
|
+
customParams: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
default: {};
|
|
58
|
+
};
|
|
55
59
|
'onUpdate:visible': {
|
|
56
60
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
57
61
|
default: unknown;
|
|
@@ -69,6 +73,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
69
73
|
taskAction: Ref<string>;
|
|
70
74
|
needFlow: Ref<string>;
|
|
71
75
|
flowIframeUrl: Ref<string>;
|
|
76
|
+
customParams: Ref<Record<string, any>>;
|
|
72
77
|
handleCancel: () => void;
|
|
73
78
|
formRef: Ref<any>;
|
|
74
79
|
confirmLoading: Ref<boolean>;
|
|
@@ -76,7 +81,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
76
81
|
Request: qqtApi.Request;
|
|
77
82
|
formState: ObjectMap;
|
|
78
83
|
fieldSelectModal: Ref<any>;
|
|
79
|
-
tagSelectOk: Ref<(data:
|
|
84
|
+
tagSelectOk: Ref<(data: RecordString[]) => void>;
|
|
80
85
|
selectUsers: Ref<((btn: Form) => void) | null>;
|
|
81
86
|
delnextNodeUsers: (options: any[], index: number, userIndex: number) => void;
|
|
82
87
|
selectnextNodeUsers: (index: number) => void;
|
|
@@ -90,6 +95,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
90
95
|
};
|
|
91
96
|
accept: string;
|
|
92
97
|
};
|
|
98
|
+
initFormDefaultValue: () => void;
|
|
93
99
|
readonly UserOutlined: UserOutlinedIconType;
|
|
94
100
|
qFieldSelectModal: DefineComponent<{
|
|
95
101
|
modalTitle: {
|
|
@@ -295,6 +301,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
295
301
|
type: StringConstructor;
|
|
296
302
|
default: string;
|
|
297
303
|
};
|
|
304
|
+
customParams: {
|
|
305
|
+
type: ObjectConstructor;
|
|
306
|
+
default: {};
|
|
307
|
+
};
|
|
298
308
|
'onUpdate:visible': {
|
|
299
309
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
300
310
|
default: unknown;
|
|
@@ -305,16 +315,17 @@ declare const _sfc_main: DefineComponent<{
|
|
|
305
315
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
306
316
|
}, {
|
|
307
317
|
title: string;
|
|
318
|
+
form: Form[];
|
|
308
319
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
309
320
|
visible: boolean;
|
|
310
321
|
currentRow: any;
|
|
311
322
|
businessType: string;
|
|
312
323
|
token: string;
|
|
313
324
|
busAccount: string;
|
|
314
|
-
form: Form[];
|
|
315
325
|
width: string;
|
|
316
326
|
taskAction: string;
|
|
317
327
|
needFlow: string;
|
|
318
328
|
flowIframeUrl: string;
|
|
329
|
+
customParams: Record<string, any>;
|
|
319
330
|
}, {}>;
|
|
320
331
|
export default _sfc_main;
|
|
@@ -48,6 +48,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
+
customParams: {
|
|
52
|
+
type: ObjectConstructor;
|
|
53
|
+
default: {};
|
|
54
|
+
};
|
|
51
55
|
'onUpdate:visible': {
|
|
52
56
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
53
57
|
default: unknown;
|
|
@@ -650,6 +654,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
650
654
|
type: StringConstructor;
|
|
651
655
|
default: string;
|
|
652
656
|
};
|
|
657
|
+
customParams: {
|
|
658
|
+
type: ObjectConstructor;
|
|
659
|
+
default: {};
|
|
660
|
+
};
|
|
653
661
|
'onUpdate:visible': {
|
|
654
662
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
655
663
|
default: unknown;
|
|
@@ -660,16 +668,17 @@ declare const _sfc_main: DefineComponent<{
|
|
|
660
668
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
661
669
|
}, {
|
|
662
670
|
title: string;
|
|
671
|
+
form: Form[];
|
|
663
672
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
664
673
|
visible: boolean;
|
|
665
674
|
currentRow: any;
|
|
666
675
|
businessType: string;
|
|
667
676
|
token: string;
|
|
668
677
|
busAccount: string;
|
|
669
|
-
form: Form[];
|
|
670
678
|
width: string;
|
|
671
679
|
taskAction: string;
|
|
672
680
|
needFlow: string;
|
|
673
681
|
flowIframeUrl: string;
|
|
682
|
+
customParams: Record<string, any>;
|
|
674
683
|
}, {}>;
|
|
675
684
|
export default _sfc_main;
|
|
@@ -48,6 +48,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
+
customParams: {
|
|
52
|
+
type: ObjectConstructor;
|
|
53
|
+
default: {};
|
|
54
|
+
};
|
|
51
55
|
'onUpdate:visible': {
|
|
52
56
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
53
57
|
default: unknown;
|
|
@@ -64,7 +68,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
64
68
|
useAttachmentSlots: () => {
|
|
65
69
|
default: ({ row }: {
|
|
66
70
|
row: ObjectMap;
|
|
67
|
-
}) =>
|
|
71
|
+
}) => JSX.Element[];
|
|
68
72
|
};
|
|
69
73
|
tableColumns: {
|
|
70
74
|
children?: any[] | undefined;
|
|
@@ -381,6 +385,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
381
385
|
type: StringConstructor;
|
|
382
386
|
default: string;
|
|
383
387
|
};
|
|
388
|
+
customParams: {
|
|
389
|
+
type: ObjectConstructor;
|
|
390
|
+
default: {};
|
|
391
|
+
};
|
|
384
392
|
'onUpdate:visible': {
|
|
385
393
|
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
386
394
|
default: unknown;
|
|
@@ -391,16 +399,17 @@ declare const _sfc_main: DefineComponent<{
|
|
|
391
399
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
392
400
|
}, {
|
|
393
401
|
title: string;
|
|
402
|
+
form: Form[];
|
|
394
403
|
'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
|
|
395
404
|
visible: boolean;
|
|
396
405
|
currentRow: any;
|
|
397
406
|
businessType: string;
|
|
398
407
|
token: string;
|
|
399
408
|
busAccount: string;
|
|
400
|
-
form: Form[];
|
|
401
409
|
width: string;
|
|
402
410
|
taskAction: string;
|
|
403
411
|
needFlow: string;
|
|
404
412
|
flowIframeUrl: string;
|
|
413
|
+
customParams: Record<string, any>;
|
|
405
414
|
}, {}>;
|
|
406
415
|
export default _sfc_main;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { RecordString } from '../../../edit-page-layout/src/edit-page-layout-types';
|
|
3
3
|
import { ObjectMap } from '../../../list-page-layout/src/list-page-layout-types';
|
|
4
4
|
import { Form } from '../audit-modal-type';
|
|
5
5
|
export default function useFieldSelectModal(formState: ObjectMap): {
|
|
6
6
|
fieldSelectModal: Ref<any>;
|
|
7
7
|
selectUsers: Ref<((btn: Form) => void) | null>;
|
|
8
|
-
tagSelectOk: Ref<(data:
|
|
8
|
+
tagSelectOk: Ref<(data: RecordString[]) => void>;
|
|
9
9
|
};
|
|
@@ -47,7 +47,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
47
47
|
value?: string | number | null | undefined;
|
|
48
48
|
disabled?: boolean | undefined;
|
|
49
49
|
}[] | undefined>;
|
|
50
|
-
onChange: (value: string) => void;
|
|
50
|
+
onChange: (value: string[], selectedOptions: CascaderOptionType[] | undefined) => void;
|
|
51
51
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
52
52
|
readonly value: {
|
|
53
53
|
readonly type: StringConstructor;
|
|
@@ -81,9 +81,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
81
81
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
|
+
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
84
85
|
readonly busAccount: string;
|
|
85
86
|
readonly placeholder: string;
|
|
86
|
-
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
87
87
|
readonly value: string;
|
|
88
88
|
readonly options: CascaderOptionType[] | undefined;
|
|
89
89
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { CascaderProps } from 'ant-design-vue';
|
|
3
4
|
declare const _sfc_main: DefineComponent<{
|
|
4
5
|
readonly value: {
|
|
5
6
|
readonly type: StringConstructor;
|
|
@@ -43,7 +44,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
43
44
|
value?: string | number | null | undefined;
|
|
44
45
|
disabled?: boolean | undefined;
|
|
45
46
|
}[] | undefined>;
|
|
46
|
-
onChange: (value: string) => void;
|
|
47
|
+
onChange: (value: string[], selectedOptions: CascaderProps['options']) => void;
|
|
47
48
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
48
49
|
readonly value: {
|
|
49
50
|
readonly type: StringConstructor;
|
|
@@ -77,9 +78,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
77
78
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
79
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
79
80
|
}, {
|
|
81
|
+
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
80
82
|
readonly busAccount: string;
|
|
81
83
|
readonly placeholder: string;
|
|
82
|
-
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
83
84
|
readonly value: string;
|
|
84
85
|
readonly options: CascaderOptionType[] | undefined;
|
|
85
86
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
@@ -6,7 +6,7 @@ export * from './src/checkbox-types';
|
|
|
6
6
|
export { QCheckBox };
|
|
7
7
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
8
|
readonly required: {
|
|
9
|
-
readonly type: PropType<"
|
|
9
|
+
readonly type: PropType<"1" | "0">;
|
|
10
10
|
readonly default: 1;
|
|
11
11
|
};
|
|
12
12
|
readonly options: {
|
|
@@ -56,7 +56,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
56
56
|
onChange: (checkedValues: []) => void;
|
|
57
57
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
58
58
|
readonly required: {
|
|
59
|
-
readonly type: PropType<"
|
|
59
|
+
readonly type: PropType<"1" | "0">;
|
|
60
60
|
readonly default: 1;
|
|
61
61
|
};
|
|
62
62
|
readonly options: {
|
|
@@ -99,12 +99,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
99
99
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
100
100
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
readonly busAccount: string;
|
|
103
102
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
103
|
+
readonly busAccount: string;
|
|
104
104
|
readonly value: string;
|
|
105
105
|
readonly options: Option[];
|
|
106
106
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
107
|
-
readonly required: "
|
|
107
|
+
readonly required: "1" | "0";
|
|
108
108
|
readonly dictCode: string;
|
|
109
109
|
readonly isLayout: boolean;
|
|
110
110
|
readonly colSpan: string;
|
|
@@ -11,7 +11,7 @@ export interface Option {
|
|
|
11
11
|
export type checkBoxOptions = Option;
|
|
12
12
|
export declare const checkBoxProps: {
|
|
13
13
|
readonly required: {
|
|
14
|
-
readonly type: PropType<"
|
|
14
|
+
readonly type: PropType<"1" | "0">;
|
|
15
15
|
readonly default: 1;
|
|
16
16
|
};
|
|
17
17
|
readonly options: {
|
|
@@ -2,7 +2,7 @@ import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin
|
|
|
2
2
|
import { Option } from './checkbox-types';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
readonly required: {
|
|
5
|
-
readonly type: PropType<"
|
|
5
|
+
readonly type: PropType<"1" | "0">;
|
|
6
6
|
readonly default: 1;
|
|
7
7
|
};
|
|
8
8
|
readonly options: {
|
|
@@ -52,7 +52,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
52
52
|
onChange: (checkedValues: []) => void;
|
|
53
53
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
54
|
readonly required: {
|
|
55
|
-
readonly type: PropType<"
|
|
55
|
+
readonly type: PropType<"1" | "0">;
|
|
56
56
|
readonly default: 1;
|
|
57
57
|
};
|
|
58
58
|
readonly options: {
|
|
@@ -95,12 +95,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
95
95
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
97
97
|
}, {
|
|
98
|
-
readonly busAccount: string;
|
|
99
98
|
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
99
|
+
readonly busAccount: string;
|
|
100
100
|
readonly value: string;
|
|
101
101
|
readonly options: Option[];
|
|
102
102
|
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
103
|
-
readonly required: "
|
|
103
|
+
readonly required: "1" | "0";
|
|
104
104
|
readonly dictCode: string;
|
|
105
105
|
readonly isLayout: boolean;
|
|
106
106
|
readonly colSpan: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Extension } from '@codemirror/state';
|
|
2
1
|
import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
2
|
import type { LanguageSupport } from '@codemirror/language';
|
|
4
3
|
interface mixButtonType extends Array<string> {
|
|
@@ -48,26 +47,95 @@ declare const _sfc_main: DefineComponent<{
|
|
|
48
47
|
code: Ref<string>;
|
|
49
48
|
visible: Ref<boolean>;
|
|
50
49
|
editorOption: {
|
|
50
|
+
theme: {
|
|
51
|
+
'&': {
|
|
52
|
+
color: string;
|
|
53
|
+
backgroundColor: string;
|
|
54
|
+
};
|
|
55
|
+
'.cm-content': {
|
|
56
|
+
caretColor: string;
|
|
57
|
+
};
|
|
58
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
59
|
+
borderLeftColor: string;
|
|
60
|
+
};
|
|
61
|
+
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
};
|
|
64
|
+
'.cm-panels': {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
color: string;
|
|
67
|
+
};
|
|
68
|
+
'.cm-panels.cm-panels-top': {
|
|
69
|
+
borderBottom: string;
|
|
70
|
+
};
|
|
71
|
+
'.cm-panels.cm-panels-bottom': {
|
|
72
|
+
borderTop: string;
|
|
73
|
+
};
|
|
74
|
+
'.cm-searchMatch': {
|
|
75
|
+
backgroundColor: string;
|
|
76
|
+
outline: string;
|
|
77
|
+
};
|
|
78
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
79
|
+
backgroundColor: string;
|
|
80
|
+
};
|
|
81
|
+
'.cm-activeLine': {
|
|
82
|
+
backgroundColor: string;
|
|
83
|
+
};
|
|
84
|
+
'.cm-selectionMatch': {
|
|
85
|
+
backgroundColor: string;
|
|
86
|
+
};
|
|
87
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
88
|
+
backgroundColor: string;
|
|
89
|
+
};
|
|
90
|
+
'.cm-gutters': {
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
color: string;
|
|
93
|
+
border: string;
|
|
94
|
+
};
|
|
95
|
+
'.cm-activeLineGutter': {
|
|
96
|
+
backgroundColor: string;
|
|
97
|
+
};
|
|
98
|
+
'.cm-foldPlaceholder': {
|
|
99
|
+
backgroundColor: string;
|
|
100
|
+
border: string;
|
|
101
|
+
color: string;
|
|
102
|
+
};
|
|
103
|
+
'.cm-tooltip': {
|
|
104
|
+
border: string;
|
|
105
|
+
backgroundColor: string;
|
|
106
|
+
};
|
|
107
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
108
|
+
borderTopColor: string;
|
|
109
|
+
borderBottomColor: string;
|
|
110
|
+
};
|
|
111
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
112
|
+
borderTopColor: string;
|
|
113
|
+
borderBottomColor: string;
|
|
114
|
+
};
|
|
115
|
+
'.cm-tooltip-autocomplete': {
|
|
116
|
+
'& > ul > li[aria-selected]': {
|
|
117
|
+
backgroundColor: string;
|
|
118
|
+
color: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
51
122
|
disabled: boolean;
|
|
52
123
|
indentWithTab: boolean;
|
|
53
124
|
tabSize: number;
|
|
54
125
|
autofocus: boolean;
|
|
55
126
|
placeholder: string;
|
|
56
|
-
basic: boolean;
|
|
57
127
|
phrases: {
|
|
58
128
|
Completions: string;
|
|
59
129
|
};
|
|
60
130
|
};
|
|
61
|
-
oneDark: Extension;
|
|
62
131
|
handleSureClick: () => void;
|
|
63
132
|
handleSureClose: () => void;
|
|
64
133
|
handleToOpenMode: () => void;
|
|
65
134
|
vattrs: Ref<{
|
|
66
135
|
[x: string]: unknown;
|
|
67
136
|
}>;
|
|
68
|
-
extensions: Extension[];
|
|
69
137
|
mixButton: ComputedRef<mixButtonType[]>;
|
|
70
|
-
|
|
138
|
+
lang: LanguageSupport;
|
|
71
139
|
handleToOpenValueMode: (val: string) => void;
|
|
72
140
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag")[], "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
73
141
|
editorModalFlag: {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const color: {
|
|
2
|
+
chalky: string;
|
|
3
|
+
coral: string;
|
|
4
|
+
cyan: string;
|
|
5
|
+
invalid: string;
|
|
6
|
+
ivory: string;
|
|
7
|
+
stone: string;
|
|
8
|
+
malibu: string;
|
|
9
|
+
sage: string;
|
|
10
|
+
whiskey: string;
|
|
11
|
+
violet: string;
|
|
12
|
+
darkBackground: string;
|
|
13
|
+
highlightBackground: string;
|
|
14
|
+
background: string;
|
|
15
|
+
tooltipBackground: string;
|
|
16
|
+
selection: string;
|
|
17
|
+
cursor: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const oneDarkTheme: {
|
|
20
|
+
'&': {
|
|
21
|
+
color: string;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
};
|
|
24
|
+
'.cm-content': {
|
|
25
|
+
caretColor: string;
|
|
26
|
+
};
|
|
27
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
28
|
+
borderLeftColor: string;
|
|
29
|
+
};
|
|
30
|
+
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
31
|
+
backgroundColor: string;
|
|
32
|
+
};
|
|
33
|
+
'.cm-panels': {
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
37
|
+
'.cm-panels.cm-panels-top': {
|
|
38
|
+
borderBottom: string;
|
|
39
|
+
};
|
|
40
|
+
'.cm-panels.cm-panels-bottom': {
|
|
41
|
+
borderTop: string;
|
|
42
|
+
};
|
|
43
|
+
'.cm-searchMatch': {
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
outline: string;
|
|
46
|
+
};
|
|
47
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
48
|
+
backgroundColor: string;
|
|
49
|
+
};
|
|
50
|
+
'.cm-activeLine': {
|
|
51
|
+
backgroundColor: string;
|
|
52
|
+
};
|
|
53
|
+
'.cm-selectionMatch': {
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
};
|
|
56
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
};
|
|
59
|
+
'.cm-gutters': {
|
|
60
|
+
backgroundColor: string;
|
|
61
|
+
color: string;
|
|
62
|
+
border: string;
|
|
63
|
+
};
|
|
64
|
+
'.cm-activeLineGutter': {
|
|
65
|
+
backgroundColor: string;
|
|
66
|
+
};
|
|
67
|
+
'.cm-foldPlaceholder': {
|
|
68
|
+
backgroundColor: string;
|
|
69
|
+
border: string;
|
|
70
|
+
color: string;
|
|
71
|
+
};
|
|
72
|
+
'.cm-tooltip': {
|
|
73
|
+
border: string;
|
|
74
|
+
backgroundColor: string;
|
|
75
|
+
};
|
|
76
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
77
|
+
borderTopColor: string;
|
|
78
|
+
borderBottomColor: string;
|
|
79
|
+
};
|
|
80
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
81
|
+
borderTopColor: string;
|
|
82
|
+
borderBottomColor: string;
|
|
83
|
+
};
|
|
84
|
+
'.cm-tooltip-autocomplete': {
|
|
85
|
+
'& > ul > li[aria-selected]': {
|
|
86
|
+
backgroundColor: string;
|
|
87
|
+
color: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -54,7 +54,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
54
54
|
};
|
|
55
55
|
}, () => VNode<RendererNode, RendererElement, {
|
|
56
56
|
[key: string]: any;
|
|
57
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
57
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "start" | "abort" | "end")[], "progress" | "start" | "abort" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
58
58
|
readonly autoStart: {
|
|
59
59
|
readonly type: BooleanConstructor;
|
|
60
60
|
readonly default: true;
|
|
@@ -107,16 +107,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
107
107
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
onEnd?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
readonly start: (() => void) | (() => void)[];
|
|
111
110
|
readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
|
|
111
|
+
readonly time: number;
|
|
112
|
+
readonly tag: string;
|
|
113
|
+
readonly start: (() => void) | (() => void)[];
|
|
112
114
|
readonly abort: (() => void) | (() => void)[];
|
|
113
115
|
readonly end: (() => void) | (() => void)[];
|
|
114
116
|
readonly autoStart: boolean;
|
|
115
117
|
readonly emitEvents: boolean;
|
|
116
118
|
readonly interval: number;
|
|
117
119
|
readonly now: () => Promise<Map>;
|
|
118
|
-
readonly tag: string;
|
|
119
|
-
readonly time: number;
|
|
120
120
|
readonly transform: <T>(props: T) => T;
|
|
121
121
|
}, {}>>;
|
|
122
122
|
export default _default;
|
|
@@ -50,7 +50,7 @@ declare const _default: DefineComponent<{
|
|
|
50
50
|
};
|
|
51
51
|
}, () => VNode<RendererNode, RendererElement, {
|
|
52
52
|
[key: string]: any;
|
|
53
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
53
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "start" | "abort" | "end")[], "progress" | "start" | "abort" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
54
|
readonly autoStart: {
|
|
55
55
|
readonly type: BooleanConstructor;
|
|
56
56
|
readonly default: true;
|
|
@@ -103,16 +103,16 @@ declare const _default: DefineComponent<{
|
|
|
103
103
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
104
104
|
onEnd?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
readonly start: (() => void) | (() => void)[];
|
|
107
106
|
readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
|
|
107
|
+
readonly time: number;
|
|
108
|
+
readonly tag: string;
|
|
109
|
+
readonly start: (() => void) | (() => void)[];
|
|
108
110
|
readonly abort: (() => void) | (() => void)[];
|
|
109
111
|
readonly end: (() => void) | (() => void)[];
|
|
110
112
|
readonly autoStart: boolean;
|
|
111
113
|
readonly emitEvents: boolean;
|
|
112
114
|
readonly interval: number;
|
|
113
115
|
readonly now: () => Promise<Map>;
|
|
114
|
-
readonly tag: string;
|
|
115
|
-
readonly time: number;
|
|
116
116
|
readonly transform: <T>(props: T) => T;
|
|
117
117
|
}, {}>;
|
|
118
118
|
export default _default;
|