@qqt-product/ui 0.0.12 → 0.0.14
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 +56339 -59301
- package/dist/index.umd.js +15222 -56
- package/dist/lib/components/breadcrumb/index.d.ts +10 -0
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -0
- package/dist/lib/components/card-list-layout/index.d.ts +147 -0
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +70 -0
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +79 -0
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +144 -0
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +30 -0
- package/dist/lib/components/card-list-layout/src/types.d.ts +41 -0
- package/dist/lib/components/cascader/index.d.ts +43 -55
- package/dist/lib/components/cascader/src/cascader-types.d.ts +17 -23
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +43 -55
- package/dist/lib/components/cascader/src/use-cascader.d.ts +2 -2
- package/dist/lib/components/checkbox/index.d.ts +113 -0
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +62 -0
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +109 -0
- package/dist/lib/components/checkbox/src/use-checkbox.d.ts +2 -0
- package/dist/lib/components/codeEditorModel/index.d.ts +93 -0
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +90 -0
- package/dist/lib/components/collapse-transition/index.d.ts +16 -0
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +15 -0
- package/dist/lib/components/coutdown/index.d.ts +84 -0
- package/dist/lib/components/coutdown/src/coutdown.d.ts +48 -0
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +81 -0
- package/dist/lib/components/currency/index.d.ts +109 -0
- package/dist/lib/components/currency/src/currency-type.d.ts +47 -0
- package/dist/lib/components/currency/src/currency.vue.d.ts +105 -0
- package/dist/lib/components/currency/src/use-currency.d.ts +2 -0
- package/dist/lib/components/currency/src/use-methods.d.ts +14 -0
- package/dist/lib/components/detail-form/index.d.ts +102 -0
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +99 -0
- package/dist/lib/components/detail-form/src/use-detail-form.d.ts +2 -0
- package/dist/lib/components/detail-grid/index.d.ts +2678 -0
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +2675 -0
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/detail-grid/src/use-detail-grid.d.ts +2 -0
- package/dist/lib/components/detail-page-layout/index.d.ts +186 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +183 -0
- package/dist/lib/components/detail-page-layout/src/use-detail-page-layout.d.ts +2 -0
- package/dist/lib/components/edit-form/index.d.ts +104 -63
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +28 -24
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +105 -63
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +11 -0
- package/dist/lib/components/edit-form/src/hook/use-form-config-hook.d.ts +8 -0
- package/dist/lib/components/edit-form/src/use-edit-form.d.ts +1 -1
- package/dist/lib/components/edit-grid/index.d.ts +414 -343
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +8 -0
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +33 -24
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +414 -343
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/use-edit-grid.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/index.d.ts +67 -11
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +212 -40
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +67 -11
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/editor/index.d.ts +31 -0
- package/dist/lib/components/editor/src/index.vue.d.ts +28 -0
- package/dist/lib/components/field-select-modal/index.d.ts +150 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +85 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +146 -0
- package/dist/lib/components/field-select-modal/src/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/index.d.ts +23 -3
- package/dist/lib/components/item-wrap/index.d.ts +57 -0
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +27 -0
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +53 -0
- package/dist/lib/components/item-wrap/src/use-item-wrap.d.ts +2 -0
- package/dist/lib/components/layout/index.d.ts +94 -13
- package/dist/lib/components/layout/src/header/index.vue.d.ts +117 -84
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +10 -19
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +16 -3
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +105 -67
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +27 -7
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +26 -43
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +34 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +94 -27
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +5 -2
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +57 -73
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +5 -23
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +4 -22
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +24 -25
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -10
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +78 -3
- package/dist/lib/components/layout/src/types.d.ts +68 -0
- package/dist/lib/components/{layout-auchor → layout-anchor}/index.d.ts +10 -7
- package/dist/lib/components/{layout-auchor/src/layout-auchor-types.d.ts → layout-anchor/src/layout-anchor-types.d.ts} +3 -3
- package/dist/lib/components/{layout-auchor → layout-anchor}/src/layout-auchor.vue.d.ts +7 -4
- package/dist/lib/components/layout-anchor/src/use-layout-anchor.d.ts +2 -0
- package/dist/lib/components/layout-buttons/index.d.ts +39 -2
- package/dist/lib/components/layout-buttons/src/layout-buttons-types.d.ts +16 -0
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +39 -2
- package/dist/lib/components/layout-buttons/src/use-layout-buttons.d.ts +1 -1
- package/dist/lib/components/layout-pattern/index.d.ts +8 -14
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +72 -4
- package/dist/lib/components/layout-pattern/src/layout-pattern-types.d.ts +3 -5
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +8 -14
- package/dist/lib/components/list-page-layout/index.d.ts +244 -0
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +21 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +293 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +22 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +16 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/types.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +40 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +5178 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +95 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +33 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +27 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +15 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +103 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +56 -0
- package/dist/lib/components/list-page-layout/src/hooks/export-xls-hook.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-data-hook.d.ts +5 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-head-data-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +238 -0
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +358 -0
- package/dist/lib/components/list-page-layout/src/symbol.d.ts +11 -0
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +12 -0
- package/dist/lib/components/list-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +174 -0
- package/dist/lib/components/page-layout/index.d.ts +12 -2
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +10 -0
- package/dist/lib/components/page-layout/src/constant/index.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/items.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +15 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +26 -0
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +7 -0
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +5 -2
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +7 -2
- package/dist/lib/components/page-layout/src/token.d.ts +7 -1
- package/dist/lib/components/page-layout/src/util.d.ts +10 -35
- package/dist/lib/components/radio/index.d.ts +104 -0
- package/dist/lib/components/radio/src/radio-types.d.ts +56 -0
- package/dist/lib/components/radio/src/radio.vue.d.ts +100 -0
- package/dist/lib/components/radio/src/use-radio.d.ts +2 -0
- package/dist/lib/components/remote-select/index.d.ts +122 -0
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +50 -0
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +118 -0
- package/dist/lib/components/remote-select/src/use-remote-select.d.ts +6 -0
- package/dist/lib/components/select/index.d.ts +8 -39
- package/dist/lib/components/select/src/select-types.d.ts +4 -15
- package/dist/lib/components/select/src/select.vue.d.ts +8 -39
- package/dist/lib/components/select/src/use-select.d.ts +2 -2
- package/dist/lib/components/select-modal/index.d.ts +333 -0
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +51 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +329 -0
- package/dist/lib/components/select-modal/src/use-select-modal.d.ts +6 -0
- package/dist/lib/components/shared/hooks/use-namespace-last.d.ts +23 -0
- package/dist/lib/components/shared/hooks/use-namespace.d.ts +3 -3
- package/dist/lib/components/switch/index.d.ts +2 -4
- package/dist/lib/components/switch/src/switch-types.d.ts +0 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -4
- package/dist/lib/components/tree-select/index.d.ts +114 -0
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +60 -0
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +110 -0
- package/dist/lib/components/tree-select/src/use-tree-select.d.ts +2 -0
- package/dist/lib/components/upload-file/index.d.ts +274 -0
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +34 -0
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +11 -0
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +141 -0
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +267 -0
- package/dist/lib/components/upload-image/index.d.ts +191 -0
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +53 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +187 -0
- package/dist/lib/components/vxe-select/index.d.ts +116 -0
- package/dist/lib/components/vxe-select/src/use-vxe-select.d.ts +2 -0
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +58 -0
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +112 -0
- package/dist/lib/index.d.ts +15 -2
- package/dist/lib/setting/vxe-table/config.d.ts +3 -0
- package/dist/lib/utils/event.d.ts +37 -0
- package/dist/style.css +6 -8
- package/dist/vite-env.d.ts +15 -0
- package/package.json +35 -22
- package/dist/lib/components/layout/src/menu/icon.d.ts +0 -6
- package/dist/lib/components/layout-auchor/src/use-layout-auchor.d.ts +0 -2
- package/dist/lib/components/layout-header/index.d.ts +0 -17
- package/dist/lib/components/layout-header/src/layout-header-types.d.ts +0 -8
- package/dist/lib/components/layout-header/src/layout-header.vue.d.ts +0 -13
- package/dist/lib/components/layout-header/src/use-layout-header.d.ts +0 -2
- package/dist/lib/constant/constant.d.ts +0 -1
- package/dist/lib/types/ComponentCustomProperties .d.ts +0 -6
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import type { LayoutConfig } from '../../edit-page-layout';
|
|
2
1
|
import type { DefineComponent, ComponentPropsOptions, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
|
|
2
|
+
import type { LayoutConfig, RecordStringNumber } from '../../edit-page-layout';
|
|
3
3
|
declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
|
|
4
4
|
[x: string]: unknown;
|
|
5
5
|
}>>, {
|
|
6
6
|
classes: ComputedRef<{
|
|
7
7
|
[key: string]: string | boolean;
|
|
8
8
|
}>;
|
|
9
|
+
defaultValues: Ref<RecordStringNumber>;
|
|
9
10
|
layoutConfig: Ref<LayoutConfig>;
|
|
11
|
+
pageData: Ref<RecordStringNumber>;
|
|
12
|
+
loading: Ref<boolean>;
|
|
13
|
+
layoutLoading: Ref<boolean>;
|
|
14
|
+
customLoading: Ref<boolean>;
|
|
10
15
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
|
|
11
16
|
[x: string]: unknown;
|
|
12
17
|
}>>>>, {
|
|
13
18
|
[x: number]: string;
|
|
14
|
-
} | {}>;
|
|
19
|
+
} | {}, {}>;
|
|
15
20
|
export default _sfc_main;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
-
import type { LayoutConfig } from '../../edit-page-layout';
|
|
2
|
+
import type { LayoutConfig, RecordStringNumber } from '../../edit-page-layout';
|
|
3
3
|
export declare const LAYOUT_CONFIG_TOKEN: InjectionKey<Ref<LayoutConfig>>;
|
|
4
4
|
export declare const LAYOUT_CONFIG_TOKEN_DEFAULT_VALUE: Ref<LayoutConfig>;
|
|
5
|
+
export declare const DEFAULT_VALUE_TOKEN: InjectionKey<Ref<RecordStringNumber>>;
|
|
6
|
+
export declare const DEFAULT_VALUE_TOKEN_DEFAULT_VALUE: Ref<RecordStringNumber>;
|
|
7
|
+
export declare const LAYOUT_PAGE_DATA_TOKEN: InjectionKey<Ref<RecordStringNumber>>;
|
|
8
|
+
export declare const LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE: Ref<{
|
|
9
|
+
id: null;
|
|
10
|
+
}>;
|
|
@@ -1,48 +1,23 @@
|
|
|
1
|
-
import type { UserInfo, CurrentRow, Role, Obj } from '../../edit-page-layout';
|
|
2
1
|
import type { InjectionKey } from 'vue';
|
|
3
|
-
|
|
2
|
+
import type { UserInfo, CurrentRow, Role } from '../../edit-page-layout';
|
|
3
|
+
type Row = {
|
|
4
4
|
currentRow: CurrentRow;
|
|
5
5
|
userInfo: UserInfo;
|
|
6
6
|
businessType: string;
|
|
7
7
|
role?: Role;
|
|
8
8
|
};
|
|
9
|
-
export interface CreatePromise {
|
|
10
|
-
(resolve: (value?: unknown) => void, reject?: (reason?: unknown) => void): void;
|
|
11
|
-
}
|
|
12
9
|
export declare function getRemoteJsFilePath({ currentRow, userInfo, businessType, role }: Row, isLocal?: boolean): string;
|
|
13
10
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
export declare function createPromise(fn: CreatePromise): Promise<unknown>;
|
|
19
|
-
/**
|
|
20
|
-
* @description: 动态加载JS文件
|
|
21
|
-
* @param {string} file JS文件地址
|
|
22
|
-
* @return {*}
|
|
11
|
+
* description: 动态加载JS文件
|
|
12
|
+
* param {string} file JS文件地址
|
|
13
|
+
* return {*}
|
|
23
14
|
*/
|
|
24
15
|
export declare function loadJS(file: string): Promise<unknown>;
|
|
25
|
-
export type Fn = (obj: Obj) => Promise<Obj>;
|
|
26
|
-
/**
|
|
27
|
-
* Compose 函数组合
|
|
28
|
-
*
|
|
29
|
-
* @export
|
|
30
|
-
* @param {*} fns
|
|
31
|
-
* @returns
|
|
32
|
-
*/
|
|
33
|
-
export declare function compose(...fns: ((arg: unknown) => void)[]): (result: unknown) => unknown;
|
|
34
|
-
/**
|
|
35
|
-
* Compose 异步函数组合 倒序调用
|
|
36
|
-
* @export
|
|
37
|
-
* @param {*} fns
|
|
38
|
-
* @returns
|
|
39
|
-
*/
|
|
40
|
-
export declare function composePromise(fns: Fn[]): (args: Obj) => Promise<Obj>;
|
|
41
16
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
17
|
+
* description: 工具函数 配套 InjectionKey 使用
|
|
18
|
+
* param {InjectionKey} key
|
|
19
|
+
* param {T} defaultValue
|
|
20
|
+
* return {*}
|
|
45
21
|
*/
|
|
46
|
-
export declare const isDef: (v: unknown) => boolean;
|
|
47
|
-
export declare const returnPromiseTypeResult: <T, F extends (v: T) => T | Promise<T>>(args: T, fn: F) => Promise<T>;
|
|
48
22
|
export declare function requireInjection<T>(key: InjectionKey<T>, defaultValue?: T): NonNullable<T>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { Option } from './src/radio-types';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
|
+
import QRadio from './src/radio.vue';
|
|
5
|
+
export * from './src/radio-types';
|
|
6
|
+
export { QRadio };
|
|
7
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
|
+
readonly required: {
|
|
9
|
+
readonly type: PropType<"0" | "1">;
|
|
10
|
+
readonly default: 1;
|
|
11
|
+
};
|
|
12
|
+
readonly options: {
|
|
13
|
+
readonly type: PropType<Option[]>;
|
|
14
|
+
readonly default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
readonly busAccount: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "";
|
|
19
|
+
};
|
|
20
|
+
readonly value: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "";
|
|
23
|
+
};
|
|
24
|
+
readonly dictCode: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly default: "";
|
|
27
|
+
};
|
|
28
|
+
readonly isLayout: {
|
|
29
|
+
readonly type: BooleanConstructor;
|
|
30
|
+
readonly default: false;
|
|
31
|
+
};
|
|
32
|
+
readonly colSpan: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "6";
|
|
35
|
+
};
|
|
36
|
+
readonly 'onUpdate:value': {
|
|
37
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
38
|
+
default: unknown;
|
|
39
|
+
};
|
|
40
|
+
readonly onChange: {
|
|
41
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
42
|
+
default: unknown;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
classes: ComputedRef<{
|
|
46
|
+
[key: string]: string | boolean;
|
|
47
|
+
}>;
|
|
48
|
+
realValue: Ref<string>;
|
|
49
|
+
radioOptions: Ref<Option[]>;
|
|
50
|
+
isLayout: Ref<boolean>;
|
|
51
|
+
colSpan: Ref<string | number>;
|
|
52
|
+
onChange: (e: Event) => void;
|
|
53
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
54
|
+
readonly required: {
|
|
55
|
+
readonly type: PropType<"0" | "1">;
|
|
56
|
+
readonly default: 1;
|
|
57
|
+
};
|
|
58
|
+
readonly options: {
|
|
59
|
+
readonly type: PropType<Option[]>;
|
|
60
|
+
readonly default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
readonly busAccount: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: "";
|
|
65
|
+
};
|
|
66
|
+
readonly value: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: "";
|
|
69
|
+
};
|
|
70
|
+
readonly dictCode: {
|
|
71
|
+
readonly type: StringConstructor;
|
|
72
|
+
readonly default: "";
|
|
73
|
+
};
|
|
74
|
+
readonly isLayout: {
|
|
75
|
+
readonly type: BooleanConstructor;
|
|
76
|
+
readonly default: false;
|
|
77
|
+
};
|
|
78
|
+
readonly colSpan: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: "6";
|
|
81
|
+
};
|
|
82
|
+
readonly 'onUpdate:value': {
|
|
83
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
84
|
+
default: unknown;
|
|
85
|
+
};
|
|
86
|
+
readonly onChange: {
|
|
87
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
88
|
+
default: unknown;
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
91
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
95
|
+
readonly value: string;
|
|
96
|
+
readonly options: Option[];
|
|
97
|
+
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
98
|
+
readonly required: "0" | "1";
|
|
99
|
+
readonly busAccount: string;
|
|
100
|
+
readonly dictCode: string;
|
|
101
|
+
readonly isLayout: boolean;
|
|
102
|
+
readonly colSpan: string;
|
|
103
|
+
}, {}>>;
|
|
104
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ComputedRef, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
+
export interface Option {
|
|
3
|
+
title: string;
|
|
4
|
+
value: string;
|
|
5
|
+
id: string;
|
|
6
|
+
textI18nKey: string;
|
|
7
|
+
[K: string]: string;
|
|
8
|
+
}
|
|
9
|
+
export type realOptions = Option;
|
|
10
|
+
export declare const rabioProps: {
|
|
11
|
+
readonly required: {
|
|
12
|
+
readonly type: PropType<"0" | "1">;
|
|
13
|
+
readonly default: 1;
|
|
14
|
+
};
|
|
15
|
+
readonly options: {
|
|
16
|
+
readonly type: PropType<Option[]>;
|
|
17
|
+
readonly default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
readonly busAccount: {
|
|
20
|
+
readonly type: StringConstructor;
|
|
21
|
+
readonly default: "";
|
|
22
|
+
};
|
|
23
|
+
readonly value: {
|
|
24
|
+
readonly type: StringConstructor;
|
|
25
|
+
readonly default: "";
|
|
26
|
+
};
|
|
27
|
+
readonly dictCode: {
|
|
28
|
+
readonly type: StringConstructor;
|
|
29
|
+
readonly default: "";
|
|
30
|
+
};
|
|
31
|
+
readonly isLayout: {
|
|
32
|
+
readonly type: BooleanConstructor;
|
|
33
|
+
readonly default: false;
|
|
34
|
+
};
|
|
35
|
+
readonly colSpan: {
|
|
36
|
+
readonly type: StringConstructor;
|
|
37
|
+
readonly default: "6";
|
|
38
|
+
};
|
|
39
|
+
readonly 'onUpdate:value': {
|
|
40
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
41
|
+
default: unknown;
|
|
42
|
+
};
|
|
43
|
+
readonly onChange: {
|
|
44
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
45
|
+
default: unknown;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export type RabioProps = ExtractPropTypes<typeof rabioProps>;
|
|
49
|
+
export interface UseRadioReturnType {
|
|
50
|
+
classes: ComputedRef<{
|
|
51
|
+
[key: string]: string | boolean;
|
|
52
|
+
}>;
|
|
53
|
+
isLayout: Ref<boolean>;
|
|
54
|
+
colSpan: Ref<string | number>;
|
|
55
|
+
options: Ref<realOptions[]>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { Option } from './radio-types';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
readonly required: {
|
|
5
|
+
readonly type: PropType<"0" | "1">;
|
|
6
|
+
readonly default: 1;
|
|
7
|
+
};
|
|
8
|
+
readonly options: {
|
|
9
|
+
readonly type: PropType<Option[]>;
|
|
10
|
+
readonly default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
readonly busAccount: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly default: "";
|
|
15
|
+
};
|
|
16
|
+
readonly value: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "";
|
|
19
|
+
};
|
|
20
|
+
readonly dictCode: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "";
|
|
23
|
+
};
|
|
24
|
+
readonly isLayout: {
|
|
25
|
+
readonly type: BooleanConstructor;
|
|
26
|
+
readonly default: false;
|
|
27
|
+
};
|
|
28
|
+
readonly colSpan: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "6";
|
|
31
|
+
};
|
|
32
|
+
readonly 'onUpdate:value': {
|
|
33
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
34
|
+
default: unknown;
|
|
35
|
+
};
|
|
36
|
+
readonly onChange: {
|
|
37
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
38
|
+
default: unknown;
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
classes: ComputedRef<{
|
|
42
|
+
[key: string]: string | boolean;
|
|
43
|
+
}>;
|
|
44
|
+
realValue: Ref<string>;
|
|
45
|
+
radioOptions: Ref<Option[]>;
|
|
46
|
+
isLayout: Ref<boolean>;
|
|
47
|
+
colSpan: Ref<string | number>;
|
|
48
|
+
onChange: (e: Event) => void;
|
|
49
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
50
|
+
readonly required: {
|
|
51
|
+
readonly type: PropType<"0" | "1">;
|
|
52
|
+
readonly default: 1;
|
|
53
|
+
};
|
|
54
|
+
readonly options: {
|
|
55
|
+
readonly type: PropType<Option[]>;
|
|
56
|
+
readonly default: () => never[];
|
|
57
|
+
};
|
|
58
|
+
readonly busAccount: {
|
|
59
|
+
readonly type: StringConstructor;
|
|
60
|
+
readonly default: "";
|
|
61
|
+
};
|
|
62
|
+
readonly value: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: "";
|
|
65
|
+
};
|
|
66
|
+
readonly dictCode: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: "";
|
|
69
|
+
};
|
|
70
|
+
readonly isLayout: {
|
|
71
|
+
readonly type: BooleanConstructor;
|
|
72
|
+
readonly default: false;
|
|
73
|
+
};
|
|
74
|
+
readonly colSpan: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: "6";
|
|
77
|
+
};
|
|
78
|
+
readonly 'onUpdate:value': {
|
|
79
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
80
|
+
default: unknown;
|
|
81
|
+
};
|
|
82
|
+
readonly onChange: {
|
|
83
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
84
|
+
default: unknown;
|
|
85
|
+
};
|
|
86
|
+
}>> & {
|
|
87
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
91
|
+
readonly value: string;
|
|
92
|
+
readonly options: Option[];
|
|
93
|
+
readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
94
|
+
readonly required: "0" | "1";
|
|
95
|
+
readonly busAccount: string;
|
|
96
|
+
readonly dictCode: string;
|
|
97
|
+
readonly isLayout: boolean;
|
|
98
|
+
readonly colSpan: string;
|
|
99
|
+
}, {}>;
|
|
100
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { RequestMethod } from './src/remote-select-types';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
|
+
import QRemoteSelect from './src/remote-select.vue';
|
|
5
|
+
export * from './src/remote-select-types';
|
|
6
|
+
export { QRemoteSelect };
|
|
7
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
|
+
value: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
config: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default(): {
|
|
15
|
+
bindFunction: () => void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
placeholder: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
apiUrls: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
requestMethod: {
|
|
31
|
+
type: PropType<RequestMethod>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
'onUpdate:value': {
|
|
35
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
36
|
+
default: unknown;
|
|
37
|
+
};
|
|
38
|
+
onChange: {
|
|
39
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
40
|
+
default: unknown;
|
|
41
|
+
};
|
|
42
|
+
clear: {
|
|
43
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
44
|
+
default: unknown;
|
|
45
|
+
};
|
|
46
|
+
}, {
|
|
47
|
+
classes: ComputedRef<{
|
|
48
|
+
[x: string]: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
value: Ref<string>;
|
|
51
|
+
config: Ref<Record<string, any>>;
|
|
52
|
+
data: {
|
|
53
|
+
modalLoading: boolean;
|
|
54
|
+
url: string;
|
|
55
|
+
params: {
|
|
56
|
+
pageNo: number;
|
|
57
|
+
pageSize: number;
|
|
58
|
+
keyWord: string;
|
|
59
|
+
};
|
|
60
|
+
dataSource: {
|
|
61
|
+
id: string;
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
placeholder: Ref<string>;
|
|
65
|
+
disabled: Ref<boolean>;
|
|
66
|
+
requestMethod: Ref<RequestMethod>;
|
|
67
|
+
formatTitle: (item: Record<string, unknown>) => any;
|
|
68
|
+
handleSearch: (val?: string) => void;
|
|
69
|
+
handleFocus: () => void;
|
|
70
|
+
handleChange: (changeValue: string) => void;
|
|
71
|
+
clearInputValue: () => void;
|
|
72
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
73
|
+
value: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
config: {
|
|
78
|
+
type: ObjectConstructor;
|
|
79
|
+
default(): {
|
|
80
|
+
bindFunction: () => void;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
placeholder: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
apiUrls: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
requestMethod: {
|
|
96
|
+
type: PropType<RequestMethod>;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
'onUpdate:value': {
|
|
100
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
101
|
+
default: unknown;
|
|
102
|
+
};
|
|
103
|
+
onChange: {
|
|
104
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
105
|
+
default: unknown;
|
|
106
|
+
};
|
|
107
|
+
clear: {
|
|
108
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
109
|
+
default: unknown;
|
|
110
|
+
};
|
|
111
|
+
}>>, {
|
|
112
|
+
apiUrls: string;
|
|
113
|
+
onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
114
|
+
value: string;
|
|
115
|
+
'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
placeholder: string;
|
|
118
|
+
requestMethod: RequestMethod;
|
|
119
|
+
config: Record<string, any>;
|
|
120
|
+
clear: ((value: string) => void) | ((value: string) => void)[];
|
|
121
|
+
}, {}>>;
|
|
122
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { VxeTableProps } from 'vxe-table';
|
|
3
|
+
export type TableConfig = VxeTableProps;
|
|
4
|
+
export type RequestMethod = 'get' | 'post';
|
|
5
|
+
export declare const remoteSelectProps: {
|
|
6
|
+
value: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
config: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default(): {
|
|
13
|
+
bindFunction: () => void;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
placeholder: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
apiUrls: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
requestMethod: {
|
|
29
|
+
type: PropType<RequestMethod>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
'onUpdate:value': {
|
|
33
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
34
|
+
default: unknown;
|
|
35
|
+
};
|
|
36
|
+
onChange: {
|
|
37
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
38
|
+
default: unknown;
|
|
39
|
+
};
|
|
40
|
+
clear: {
|
|
41
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
42
|
+
default: unknown;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export type RemoteSelectProps = ExtractPropTypes<typeof remoteSelectProps>;
|
|
46
|
+
export interface UseSelectModalType {
|
|
47
|
+
classes: ComputedRef<{
|
|
48
|
+
[key: string]: string | boolean;
|
|
49
|
+
}>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { RequestMethod } from './remote-select-types';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
config: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default(): {
|
|
11
|
+
bindFunction: () => void;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
apiUrls: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
requestMethod: {
|
|
27
|
+
type: PropType<RequestMethod>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
'onUpdate:value': {
|
|
31
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
32
|
+
default: unknown;
|
|
33
|
+
};
|
|
34
|
+
onChange: {
|
|
35
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
36
|
+
default: unknown;
|
|
37
|
+
};
|
|
38
|
+
clear: {
|
|
39
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
40
|
+
default: unknown;
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
classes: ComputedRef<{
|
|
44
|
+
[x: string]: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
value: Ref<string>;
|
|
47
|
+
config: Ref<Record<string, any>>;
|
|
48
|
+
data: {
|
|
49
|
+
modalLoading: boolean;
|
|
50
|
+
url: string;
|
|
51
|
+
params: {
|
|
52
|
+
pageNo: number;
|
|
53
|
+
pageSize: number;
|
|
54
|
+
keyWord: string;
|
|
55
|
+
};
|
|
56
|
+
dataSource: {
|
|
57
|
+
id: string;
|
|
58
|
+
}[];
|
|
59
|
+
};
|
|
60
|
+
placeholder: Ref<string>;
|
|
61
|
+
disabled: Ref<boolean>;
|
|
62
|
+
requestMethod: Ref<RequestMethod>;
|
|
63
|
+
formatTitle: (item: Record<string, unknown>) => any;
|
|
64
|
+
handleSearch: (val?: string) => void;
|
|
65
|
+
handleFocus: () => void;
|
|
66
|
+
handleChange: (changeValue: string) => void;
|
|
67
|
+
clearInputValue: () => void;
|
|
68
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
69
|
+
value: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
config: {
|
|
74
|
+
type: ObjectConstructor;
|
|
75
|
+
default(): {
|
|
76
|
+
bindFunction: () => void;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
placeholder: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
apiUrls: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
requestMethod: {
|
|
92
|
+
type: PropType<RequestMethod>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
'onUpdate:value': {
|
|
96
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
97
|
+
default: unknown;
|
|
98
|
+
};
|
|
99
|
+
onChange: {
|
|
100
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
101
|
+
default: unknown;
|
|
102
|
+
};
|
|
103
|
+
clear: {
|
|
104
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
105
|
+
default: unknown;
|
|
106
|
+
};
|
|
107
|
+
}>>, {
|
|
108
|
+
apiUrls: string;
|
|
109
|
+
onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
110
|
+
value: string;
|
|
111
|
+
'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
placeholder: string;
|
|
114
|
+
requestMethod: RequestMethod;
|
|
115
|
+
config: Record<string, any>;
|
|
116
|
+
clear: ((value: string) => void) | ((value: string) => void)[];
|
|
117
|
+
}, {}>;
|
|
118
|
+
export default _sfc_main;
|