@qqt-product/ui 0.0.21 → 0.0.23
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 +22166 -21219
- package/dist/index.umd.js +95 -95
- package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +2 -1
- package/dist/lib/components/card-list-layout/index.d.ts +2 -1
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +2 -1
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +2 -1
- package/dist/lib/components/checkbox/index.d.ts +3 -3
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
- package/dist/lib/components/checkbox/src/checkbox.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 +3 -3
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +3 -3
- package/dist/lib/components/detail-grid/index.d.ts +3 -1
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +3 -1
- package/dist/lib/components/detail-page-layout/index.d.ts +9 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +9 -0
- package/dist/lib/components/edit-form/index.d.ts +3 -3
- 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 +3 -3
- package/dist/lib/components/edit-grid/index.d.ts +3 -1
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +3 -1
- package/dist/lib/components/edit-page-layout/index.d.ts +9 -0
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +7 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +9 -0
- package/dist/lib/components/editor/index.d.ts +2 -1
- package/dist/lib/components/editor/src/index.vue.d.ts +2 -1
- package/dist/lib/components/import-modal/index.d.ts +2 -0
- package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +2 -0
- package/dist/lib/components/item-wrap/index.d.ts +4 -4
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +1 -1
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +4 -4
- package/dist/lib/components/ladder-price/index.d.ts +11 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +4 -0
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +11 -0
- package/dist/lib/components/layout/src/header/index.vue.d.ts +6 -5
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -1
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +2 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +5 -4
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +3 -2
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -1
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +2 -1
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +2 -1
- package/dist/lib/components/layout-buttons/index.d.ts +2 -1
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +2 -1
- package/dist/lib/components/layout-pattern/index.d.ts +169 -2
- package/dist/lib/components/layout-pattern/src/components/master.vue.d.ts +31 -0
- package/dist/lib/components/layout-pattern/src/components/masterDetail.vue.d.ts +31 -0
- package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +26 -0
- package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +26 -0
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +1 -163
- package/dist/lib/components/layout-pattern/src/components/verticalDetail.vue.d.ts +30 -0
- package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +3 -3
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +168 -2
- package/dist/lib/components/layout-pattern/src/use-layout-pattern.d.ts +3 -3
- package/dist/lib/components/list-page-layout/index.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -44
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +2 -1
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +2 -0
- package/dist/lib/components/radio/index.d.ts +3 -3
- package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
- package/dist/lib/components/radio/src/radio.vue.d.ts +3 -3
- package/dist/lib/components/rich-editor-model/index.d.ts +2 -1
- package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +2 -1
- package/dist/lib/components/sale-template/index.d.ts +2 -1
- package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +2 -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/upload-file/index.d.ts +21 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +8 -0
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +21 -1
- package/dist/lib/components/upload-file-vxe/index.d.ts +2 -0
- package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +2 -0
- package/dist/lib/components/upload-image/index.d.ts +3 -1
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/utils/token.d.ts +8 -0
- package/dist/lib/utils/type.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ObjectMap } from '../../../list-page-layout';
|
|
2
|
+
import type { SrmI18n } from '../../../../utils/type';
|
|
2
3
|
import type { Form } from '../audit-modal-type';
|
|
3
4
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
4
5
|
import qqtApi from '@qqt-product/api';
|
|
@@ -65,7 +66,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
65
66
|
handleCancel: () => void;
|
|
66
67
|
submit: () => void;
|
|
67
68
|
customLoading: Ref<boolean>;
|
|
68
|
-
srmI18n:
|
|
69
|
+
srmI18n: SrmI18n;
|
|
69
70
|
tableData: Ref<{
|
|
70
71
|
children?: any[] | undefined;
|
|
71
72
|
slots?: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../utils/type';
|
|
1
2
|
import type { VxeGridPropTypes, SizeType, VxePagerPropTypes, VxePagerEvents } from 'vxe-table';
|
|
2
3
|
import type { TabListItem, ListPageLayoutProps, GridColumn, ObjectMap, OptColumnListItem } from '../list-page-layout';
|
|
3
4
|
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
@@ -42,7 +43,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
42
43
|
default: boolean;
|
|
43
44
|
};
|
|
44
45
|
}, {
|
|
45
|
-
srmI18n:
|
|
46
|
+
srmI18n: SrmI18n;
|
|
46
47
|
tablePage: {
|
|
47
48
|
enabled?: boolean | undefined;
|
|
48
49
|
slots?: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../../utils/type';
|
|
1
2
|
import type { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
import type { SizeType, VxePagerPropTypes, VxeGridPropTypes, VxePagerEvents } from 'vxe-table';
|
|
3
4
|
import { ListPageLayoutProps, GridColumn, ObjectMap, OptColumnListItem, TabListItem } from '../../list-page-layout';
|
|
@@ -39,7 +40,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
39
40
|
default: boolean;
|
|
40
41
|
};
|
|
41
42
|
}, {
|
|
42
|
-
srmI18n:
|
|
43
|
+
srmI18n: SrmI18n;
|
|
43
44
|
tablePage: {
|
|
44
45
|
enabled?: boolean | undefined;
|
|
45
46
|
slots?: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../../utils/type';
|
|
1
2
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
import { TabListItem } from '../../list-page-layout/src/list-page-layout-types';
|
|
3
4
|
declare const _sfc_main: DefineComponent<{
|
|
@@ -10,7 +11,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
10
11
|
default(): {};
|
|
11
12
|
};
|
|
12
13
|
}, {
|
|
13
|
-
srmI18n:
|
|
14
|
+
srmI18n: SrmI18n;
|
|
14
15
|
current: Ref<any>;
|
|
15
16
|
i18nTxt: Ref<any>;
|
|
16
17
|
handleClick: (currentRow: TabListItem) => 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<"0" | "1">;
|
|
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<"0" | "1">;
|
|
60
60
|
readonly default: 1;
|
|
61
61
|
};
|
|
62
62
|
readonly options: {
|
|
@@ -104,7 +104,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
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: "0" | "1";
|
|
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<"0" | "1">;
|
|
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<"0" | "1">;
|
|
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<"0" | "1">;
|
|
56
56
|
readonly default: 1;
|
|
57
57
|
};
|
|
58
58
|
readonly options: {
|
|
@@ -100,7 +100,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
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: "0" | "1";
|
|
104
104
|
readonly dictCode: string;
|
|
105
105
|
readonly isLayout: boolean;
|
|
106
106
|
readonly colSpan: string;
|
|
@@ -6,7 +6,7 @@ export * from './src/currency-type';
|
|
|
6
6
|
export { QInputCurrency };
|
|
7
7
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
8
|
readonly required: {
|
|
9
|
-
readonly type: PropType<"
|
|
9
|
+
readonly type: PropType<"0" | "1">;
|
|
10
10
|
readonly default: "";
|
|
11
11
|
readonly validator: typeof requiredValidator;
|
|
12
12
|
};
|
|
@@ -61,7 +61,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
61
61
|
formatFloat: (value: any, dataFormat: string, setLength?: number | undefined) => string;
|
|
62
62
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
63
63
|
readonly required: {
|
|
64
|
-
readonly type: PropType<"
|
|
64
|
+
readonly type: PropType<"0" | "1">;
|
|
65
65
|
readonly default: "";
|
|
66
66
|
readonly validator: typeof requiredValidator;
|
|
67
67
|
};
|
|
@@ -100,7 +100,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
100
100
|
readonly disabled: boolean;
|
|
101
101
|
readonly placeholder: string;
|
|
102
102
|
readonly value: number;
|
|
103
|
-
readonly required: "
|
|
103
|
+
readonly required: "0" | "1";
|
|
104
104
|
readonly configData: Record<string, any>;
|
|
105
105
|
readonly inputType: string;
|
|
106
106
|
readonly showInputNumber: boolean;
|
|
@@ -2,7 +2,7 @@ import { ExtractPropTypes, PropType, ComputedRef, Ref } from 'vue';
|
|
|
2
2
|
export declare function requiredValidator(val: string): boolean;
|
|
3
3
|
export declare const inputCurrencyProps: {
|
|
4
4
|
readonly required: {
|
|
5
|
-
readonly type: PropType<"
|
|
5
|
+
readonly type: PropType<"0" | "1">;
|
|
6
6
|
readonly default: "";
|
|
7
7
|
readonly validator: typeof requiredValidator;
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import type { requiredValidator } from './currency-type';
|
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
|
|
3
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
4
|
readonly required: {
|
|
5
|
-
readonly type: PropType<"
|
|
5
|
+
readonly type: PropType<"0" | "1">;
|
|
6
6
|
readonly default: "";
|
|
7
7
|
readonly validator: typeof requiredValidator;
|
|
8
8
|
};
|
|
@@ -57,7 +57,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
57
57
|
formatFloat: (value: any, dataFormat: string, setLength?: number | undefined) => string;
|
|
58
58
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
59
59
|
readonly required: {
|
|
60
|
-
readonly type: PropType<"
|
|
60
|
+
readonly type: PropType<"0" | "1">;
|
|
61
61
|
readonly default: "";
|
|
62
62
|
readonly validator: typeof requiredValidator;
|
|
63
63
|
};
|
|
@@ -96,7 +96,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
96
96
|
readonly disabled: boolean;
|
|
97
97
|
readonly placeholder: string;
|
|
98
98
|
readonly value: number;
|
|
99
|
-
readonly required: "
|
|
99
|
+
readonly required: "0" | "1";
|
|
100
100
|
readonly configData: Record<string, any>;
|
|
101
101
|
readonly inputType: string;
|
|
102
102
|
readonly showInputNumber: boolean;
|
|
@@ -42,7 +42,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
42
42
|
readonly default: true;
|
|
43
43
|
};
|
|
44
44
|
readonly enableTile: {
|
|
45
|
-
readonly type: PropType<"
|
|
45
|
+
readonly type: PropType<"0" | "1">;
|
|
46
46
|
readonly default: "1";
|
|
47
47
|
};
|
|
48
48
|
}, {
|
|
@@ -108,7 +108,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
108
108
|
readonly default: true;
|
|
109
109
|
};
|
|
110
110
|
readonly enableTile: {
|
|
111
|
-
readonly type: PropType<"
|
|
111
|
+
readonly type: PropType<"0" | "1">;
|
|
112
112
|
readonly default: "1";
|
|
113
113
|
};
|
|
114
114
|
}>>, {
|
|
@@ -121,6 +121,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
121
121
|
readonly sortOrder: string;
|
|
122
122
|
readonly formFields: FormFieldsItem[];
|
|
123
123
|
readonly shake: boolean;
|
|
124
|
-
readonly enableTile: "
|
|
124
|
+
readonly enableTile: "0" | "1";
|
|
125
125
|
}, {}>>;
|
|
126
126
|
export default _default;
|
|
@@ -38,7 +38,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
38
38
|
readonly default: true;
|
|
39
39
|
};
|
|
40
40
|
readonly enableTile: {
|
|
41
|
-
readonly type: PropType<"
|
|
41
|
+
readonly type: PropType<"0" | "1">;
|
|
42
42
|
readonly default: "1";
|
|
43
43
|
};
|
|
44
44
|
}, {
|
|
@@ -104,7 +104,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
104
104
|
readonly default: true;
|
|
105
105
|
};
|
|
106
106
|
readonly enableTile: {
|
|
107
|
-
readonly type: PropType<"
|
|
107
|
+
readonly type: PropType<"0" | "1">;
|
|
108
108
|
readonly default: "1";
|
|
109
109
|
};
|
|
110
110
|
}>>, {
|
|
@@ -117,6 +117,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
117
117
|
readonly sortOrder: string;
|
|
118
118
|
readonly formFields: FormFieldsItem[];
|
|
119
119
|
readonly shake: boolean;
|
|
120
|
-
readonly enableTile: "
|
|
120
|
+
readonly enableTile: "0" | "1";
|
|
121
121
|
}, {}>;
|
|
122
122
|
export default _sfc_main;
|
|
@@ -2,7 +2,7 @@ import type { ruleItem } from './src/hook/use-grid-config-hook';
|
|
|
2
2
|
import type { RecordString } from '../select-modal';
|
|
3
3
|
import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
4
4
|
import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams } from '../edit-page-layout';
|
|
5
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, CSSProperties, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
6
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
7
|
import QDetailForm from './src/detail-grid.vue';
|
|
8
8
|
export { QDetailForm };
|
|
@@ -59,6 +59,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
59
59
|
groupName: Ref<string>;
|
|
60
60
|
groupCode: Ref<string>;
|
|
61
61
|
wrapBoxHeight: ComputedRef<number>;
|
|
62
|
+
isVertical: ComputedRef<boolean>;
|
|
63
|
+
style: ComputedRef<CSSProperties>;
|
|
62
64
|
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
63
65
|
gridOptions: {
|
|
64
66
|
size?: SizeType | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ruleItem } from './hook/use-grid-config-hook';
|
|
2
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
|
|
3
3
|
import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordString, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
|
|
4
4
|
import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
@@ -55,6 +55,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
55
55
|
groupName: Ref<string>;
|
|
56
56
|
groupCode: Ref<string>;
|
|
57
57
|
wrapBoxHeight: ComputedRef<number>;
|
|
58
|
+
isVertical: ComputedRef<boolean>;
|
|
59
|
+
style: ComputedRef<CSSProperties>;
|
|
58
60
|
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
59
61
|
gridOptions: {
|
|
60
62
|
size?: SizeType | undefined;
|
|
@@ -43,6 +43,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
43
43
|
type: StringConstructor;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
|
+
isUseLocalPattern: {
|
|
47
|
+
type: PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
46
50
|
pattern: {
|
|
47
51
|
type: PropType<Pattern>;
|
|
48
52
|
default: string;
|
|
@@ -149,6 +153,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
149
153
|
type: StringConstructor;
|
|
150
154
|
default: string;
|
|
151
155
|
};
|
|
156
|
+
isUseLocalPattern: {
|
|
157
|
+
type: PropType<boolean>;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
152
160
|
pattern: {
|
|
153
161
|
type: PropType<Pattern>;
|
|
154
162
|
default: string;
|
|
@@ -214,6 +222,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
214
222
|
role: Role;
|
|
215
223
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
216
224
|
userInfo: UserInfo;
|
|
225
|
+
isUseLocalPattern: boolean;
|
|
217
226
|
localConfig: Partial<RemoteConfig>;
|
|
218
227
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
219
228
|
detailApi: string | DetailApiFunctionType;
|
|
@@ -39,6 +39,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
isUseLocalPattern: {
|
|
43
|
+
type: PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
pattern: {
|
|
43
47
|
type: PropType<Pattern>;
|
|
44
48
|
default: string;
|
|
@@ -145,6 +149,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
145
149
|
type: StringConstructor;
|
|
146
150
|
default: string;
|
|
147
151
|
};
|
|
152
|
+
isUseLocalPattern: {
|
|
153
|
+
type: PropType<boolean>;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
148
156
|
pattern: {
|
|
149
157
|
type: PropType<Pattern>;
|
|
150
158
|
default: string;
|
|
@@ -210,6 +218,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
210
218
|
role: Role;
|
|
211
219
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
212
220
|
userInfo: UserInfo;
|
|
221
|
+
isUseLocalPattern: boolean;
|
|
213
222
|
localConfig: Partial<RemoteConfig>;
|
|
214
223
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
215
224
|
detailApi: string | DetailApiFunctionType;
|
|
@@ -50,7 +50,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
50
50
|
readonly default: true;
|
|
51
51
|
};
|
|
52
52
|
readonly enableTile: {
|
|
53
|
-
readonly type: PropType<"
|
|
53
|
+
readonly type: PropType<"0" | "1">;
|
|
54
54
|
readonly default: "1";
|
|
55
55
|
};
|
|
56
56
|
}, {
|
|
@@ -139,7 +139,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
139
139
|
readonly default: true;
|
|
140
140
|
};
|
|
141
141
|
readonly enableTile: {
|
|
142
|
-
readonly type: PropType<"
|
|
142
|
+
readonly type: PropType<"0" | "1">;
|
|
143
143
|
readonly default: "1";
|
|
144
144
|
};
|
|
145
145
|
}>>, {
|
|
@@ -152,6 +152,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
152
152
|
readonly sortOrder: string;
|
|
153
153
|
readonly formFields: FormFieldsItem[];
|
|
154
154
|
readonly shake: boolean;
|
|
155
|
-
readonly enableTile: "
|
|
155
|
+
readonly enableTile: "0" | "1";
|
|
156
156
|
}, {}>>;
|
|
157
157
|
export default _default;
|
|
@@ -46,7 +46,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
46
46
|
readonly default: true;
|
|
47
47
|
};
|
|
48
48
|
readonly enableTile: {
|
|
49
|
-
readonly type: PropType<"
|
|
49
|
+
readonly type: PropType<"0" | "1">;
|
|
50
50
|
readonly default: "1";
|
|
51
51
|
};
|
|
52
52
|
}, {
|
|
@@ -135,7 +135,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
135
135
|
readonly default: true;
|
|
136
136
|
};
|
|
137
137
|
readonly enableTile: {
|
|
138
|
-
readonly type: PropType<"
|
|
138
|
+
readonly type: PropType<"0" | "1">;
|
|
139
139
|
readonly default: "1";
|
|
140
140
|
};
|
|
141
141
|
}>>, {
|
|
@@ -148,6 +148,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
148
148
|
readonly sortOrder: string;
|
|
149
149
|
readonly formFields: FormFieldsItem[];
|
|
150
150
|
readonly shake: boolean;
|
|
151
|
-
readonly enableTile: "
|
|
151
|
+
readonly enableTile: "0" | "1";
|
|
152
152
|
}, {}>;
|
|
153
153
|
export default _sfc_main;
|
|
@@ -2,7 +2,7 @@ import type { ruleItem } from './src/hook/use-grid-config-hook';
|
|
|
2
2
|
import type { RecordString } from '../select-modal';
|
|
3
3
|
import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
4
4
|
import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow, GridCheckboxChangeParams, GridCheckboxAllParams } from '../edit-page-layout';
|
|
5
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, CSSProperties, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
6
6
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
7
7
|
import QEditForm from './src/edit-grid.vue';
|
|
8
8
|
export * from './src/edit-grid-types';
|
|
@@ -61,6 +61,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
61
61
|
total: Ref<Record<string, any>>;
|
|
62
62
|
groupCode: Ref<string>;
|
|
63
63
|
wrapBoxHeight: ComputedRef<number>;
|
|
64
|
+
isVertical: ComputedRef<boolean>;
|
|
65
|
+
style: ComputedRef<CSSProperties>;
|
|
64
66
|
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
65
67
|
gridOptions: {
|
|
66
68
|
size?: SizeType | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ruleItem } from './hook/use-grid-config-hook';
|
|
2
|
-
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
|
|
3
3
|
import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordString, PageDownLoadButton, PageButtonDeleteFileRow, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
|
|
4
4
|
import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
@@ -56,6 +56,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
56
56
|
total: Ref<Record<string, any>>;
|
|
57
57
|
groupCode: Ref<string>;
|
|
58
58
|
wrapBoxHeight: ComputedRef<number>;
|
|
59
|
+
isVertical: ComputedRef<boolean>;
|
|
60
|
+
style: ComputedRef<CSSProperties>;
|
|
59
61
|
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
60
62
|
gridOptions: {
|
|
61
63
|
size?: SizeType | undefined;
|
|
@@ -44,6 +44,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
44
44
|
type: StringConstructor;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
|
+
isUseLocalPattern: {
|
|
48
|
+
type: PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
47
51
|
pattern: {
|
|
48
52
|
type: PropType<Pattern>;
|
|
49
53
|
default: string;
|
|
@@ -150,6 +154,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
150
154
|
type: StringConstructor;
|
|
151
155
|
default: string;
|
|
152
156
|
};
|
|
157
|
+
isUseLocalPattern: {
|
|
158
|
+
type: PropType<boolean>;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
153
161
|
pattern: {
|
|
154
162
|
type: PropType<Pattern>;
|
|
155
163
|
default: string;
|
|
@@ -215,6 +223,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
215
223
|
role: Role;
|
|
216
224
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
217
225
|
userInfo: UserInfo;
|
|
226
|
+
isUseLocalPattern: boolean;
|
|
218
227
|
localConfig: Partial<RemoteConfig>;
|
|
219
228
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
220
229
|
detailApi: string | DetailApiFunctionType;
|
|
@@ -35,7 +35,7 @@ export interface DictCodeItem {
|
|
|
35
35
|
export type Role = 'purchase' | 'sale';
|
|
36
36
|
export declare function roleValidator(pattern: string): boolean;
|
|
37
37
|
export type GroupType = 'head' | 'item';
|
|
38
|
-
export type Pattern = 'vertical' | 'tab' | '
|
|
38
|
+
export type Pattern = 'vertical' | 'tab' | 'master';
|
|
39
39
|
export declare function patternValidator(pattern: string): boolean;
|
|
40
40
|
export interface Icon {
|
|
41
41
|
type: string;
|
|
@@ -56,6 +56,7 @@ export interface PageButtonArgsFunctionType {
|
|
|
56
56
|
}
|
|
57
57
|
export interface PageButton {
|
|
58
58
|
title: string;
|
|
59
|
+
i18nKey?: string;
|
|
59
60
|
key: string | symbol;
|
|
60
61
|
args: PageButtonArgs | PageButtonArgsFunctionType;
|
|
61
62
|
authorityCode?: string;
|
|
@@ -201,6 +202,7 @@ export interface Group {
|
|
|
201
202
|
show?: boolean;
|
|
202
203
|
shake?: boolean;
|
|
203
204
|
slot?: boolean;
|
|
205
|
+
master?: boolean;
|
|
204
206
|
enableTile?: '0' | '1';
|
|
205
207
|
columns?: ColumnItem[];
|
|
206
208
|
formFields?: FormFieldsItem[];
|
|
@@ -401,6 +403,10 @@ export declare const editPageLayoutProps: {
|
|
|
401
403
|
type: StringConstructor;
|
|
402
404
|
default: string;
|
|
403
405
|
};
|
|
406
|
+
isUseLocalPattern: {
|
|
407
|
+
type: PropType<boolean>;
|
|
408
|
+
default: boolean;
|
|
409
|
+
};
|
|
404
410
|
pattern: {
|
|
405
411
|
type: PropType<Pattern>;
|
|
406
412
|
default: string;
|
|
@@ -39,6 +39,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
isUseLocalPattern: {
|
|
43
|
+
type: PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
pattern: {
|
|
43
47
|
type: PropType<Pattern>;
|
|
44
48
|
default: string;
|
|
@@ -145,6 +149,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
145
149
|
type: StringConstructor;
|
|
146
150
|
default: string;
|
|
147
151
|
};
|
|
152
|
+
isUseLocalPattern: {
|
|
153
|
+
type: PropType<boolean>;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
148
156
|
pattern: {
|
|
149
157
|
type: PropType<Pattern>;
|
|
150
158
|
default: string;
|
|
@@ -210,6 +218,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
210
218
|
role: Role;
|
|
211
219
|
refreshMethods: (row?: CurrentRow | undefined) => void;
|
|
212
220
|
userInfo: UserInfo;
|
|
221
|
+
isUseLocalPattern: boolean;
|
|
213
222
|
localConfig: Partial<RemoteConfig>;
|
|
214
223
|
handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
|
|
215
224
|
detailApi: string | DetailApiFunctionType;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../utils/type';
|
|
1
2
|
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
3
4
|
import QEditor from './src/index.vue';
|
|
@@ -21,7 +22,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
21
22
|
selectSizePrint: () => void;
|
|
22
23
|
editorContent: Ref<any>;
|
|
23
24
|
printContent: () => void;
|
|
24
|
-
srmI18n:
|
|
25
|
+
srmI18n: SrmI18n;
|
|
25
26
|
handleFileChange: (event: Event) => void;
|
|
26
27
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
27
28
|
content: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../../utils/type';
|
|
1
2
|
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
declare const _sfc_main: DefineComponent<{
|
|
3
4
|
content: {
|
|
@@ -19,7 +20,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
19
20
|
selectSizePrint: () => void;
|
|
20
21
|
editorContent: Ref<any>;
|
|
21
22
|
printContent: () => void;
|
|
22
|
-
srmI18n:
|
|
23
|
+
srmI18n: SrmI18n;
|
|
23
24
|
handleFileChange: (event: Event) => void;
|
|
24
25
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
25
26
|
content: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../utils/type';
|
|
1
2
|
import type { UploadChangeParam, UploadFile } from 'ant-design-vue';
|
|
2
3
|
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
3
4
|
import type { ButtonItem } from './src/import-modal-types';
|
|
@@ -38,6 +39,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
38
39
|
uploadData: Ref<{}>;
|
|
39
40
|
button: Ref<ButtonItem>;
|
|
40
41
|
fileList: Ref<never[]>;
|
|
42
|
+
srmI18n: SrmI18n;
|
|
41
43
|
handleBefore: Ref<any>;
|
|
42
44
|
current: Ref<number>;
|
|
43
45
|
isPreview: Ref<number>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SrmI18n } from '../../../utils/type';
|
|
1
2
|
import type { MessageType } from 'ant-design-vue/lib/message';
|
|
2
3
|
import type { ButtonItem } from './import-modal-types';
|
|
3
4
|
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
@@ -34,6 +35,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
34
35
|
uploadData: Ref<{}>;
|
|
35
36
|
button: Ref<ButtonItem>;
|
|
36
37
|
fileList: Ref<never[]>;
|
|
38
|
+
srmI18n: SrmI18n;
|
|
37
39
|
handleBefore: Ref<any>;
|
|
38
40
|
current: Ref<number>;
|
|
39
41
|
isPreview: Ref<number>;
|
|
@@ -6,7 +6,7 @@ export * from './src/item-wrap-types';
|
|
|
6
6
|
export { QItemWrap };
|
|
7
7
|
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
8
|
readonly required: {
|
|
9
|
-
readonly type: PropType<"
|
|
9
|
+
readonly type: PropType<"0" | "1">;
|
|
10
10
|
readonly default: "0";
|
|
11
11
|
readonly validator: typeof requiredValidator;
|
|
12
12
|
};
|
|
@@ -28,11 +28,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
28
28
|
}>;
|
|
29
29
|
label: Ref<string>;
|
|
30
30
|
helpText: Ref<string>;
|
|
31
|
-
required: Ref<"
|
|
31
|
+
required: Ref<"0" | "1">;
|
|
32
32
|
disabled: Ref<boolean>;
|
|
33
33
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
34
34
|
readonly required: {
|
|
35
|
-
readonly type: PropType<"
|
|
35
|
+
readonly type: PropType<"0" | "1">;
|
|
36
36
|
readonly default: "0";
|
|
37
37
|
readonly validator: typeof requiredValidator;
|
|
38
38
|
};
|
|
@@ -51,7 +51,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
51
51
|
}>>, {
|
|
52
52
|
readonly disabled: boolean;
|
|
53
53
|
readonly label: string;
|
|
54
|
-
readonly required: "
|
|
54
|
+
readonly required: "0" | "1";
|
|
55
55
|
readonly helpText: string;
|
|
56
56
|
}, {}>>;
|
|
57
57
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
|
|
|
2
2
|
export declare function requiredValidator(val: string): boolean;
|
|
3
3
|
export declare const itemWrapProps: {
|
|
4
4
|
readonly required: {
|
|
5
|
-
readonly type: PropType<"
|
|
5
|
+
readonly type: PropType<"0" | "1">;
|
|
6
6
|
readonly default: "0";
|
|
7
7
|
readonly validator: typeof requiredValidator;
|
|
8
8
|
};
|