wlwy-package 2.3.9 → 3.1.49
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/README.md +2 -44
- package/dist/charts/index.es.js +4 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-fsnnGPQQ.js +73525 -0
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/packages/axios/index.d.ts +6 -0
- package/dist/types/packages/axios/service.d.ts +21 -0
- package/dist/types/packages/axios/types/index.d.ts +32 -0
- package/dist/types/packages/components/common/index.d.ts +36 -0
- package/dist/types/packages/components/common/src/Redirect.vue.d.ts +2 -0
- package/dist/types/packages/components/common/src/button.vue.d.ts +10 -0
- package/dist/types/packages/components/common/src/column.vue.d.ts +78 -0
- package/dist/types/packages/components/common/src/configProvider.vue.d.ts +13 -0
- package/dist/types/packages/components/common/src/cropper.vue.d.ts +29 -0
- package/dist/types/packages/components/common/src/datePicker.vue.d.ts +16 -0
- package/dist/types/packages/components/common/src/descriptions-item.vue.d.ts +6 -0
- package/dist/types/packages/components/common/src/descriptions.vue.d.ts +26 -0
- package/dist/types/packages/components/common/src/dropdown.vue.d.ts +23 -0
- package/dist/types/packages/components/common/src/editTitle.vue.d.ts +18 -0
- package/dist/types/packages/components/common/src/modal.vue.d.ts +26 -0
- package/dist/types/packages/components/common/src/noData.vue.d.ts +8 -0
- package/dist/types/packages/components/common/src/pageHead.vue.d.ts +26 -0
- package/dist/types/packages/components/common/src/pager.vue.d.ts +29 -0
- package/dist/types/packages/components/common/src/rangePicker.vue.d.ts +24 -0
- package/dist/types/packages/components/common/src/select.vue.d.ts +14 -0
- package/dist/types/packages/components/common/src/slashHeader.vue.d.ts +8 -0
- package/dist/types/packages/components/common/src/statistic.vue.d.ts +3 -0
- package/dist/types/packages/components/common/src/table.vue.d.ts +34 -0
- package/dist/types/packages/components/common/src/upload-modal.vue.d.ts +38 -0
- package/dist/types/packages/components/common/src/upload.vue.d.ts +34 -0
- package/dist/types/packages/components/common/type.d.ts +449 -0
- package/dist/types/packages/components/editor/index.d.ts +2 -0
- package/dist/types/packages/components/editor/src/editor.vue.d.ts +36 -0
- package/dist/types/packages/components/editor/type.d.ts +62 -0
- package/dist/types/packages/components/form/business/index.d.ts +8 -0
- package/dist/types/packages/components/form/business/src/channel.vue.d.ts +5 -0
- package/dist/types/packages/components/form/business/src/country.vue.d.ts +3 -0
- package/dist/types/packages/components/form/business/src/customer.vue.d.ts +6 -0
- package/dist/types/packages/components/form/business/src/sku.vue.d.ts +5 -0
- package/dist/types/packages/components/form/business/type.d.ts +36 -0
- package/dist/types/packages/components/form/default/index.d.ts +44 -0
- package/dist/types/packages/components/form/default/src/checkbox.vue.d.ts +14 -0
- package/dist/types/packages/components/form/default/src/custom.vue.d.ts +8 -0
- package/dist/types/packages/components/form/default/src/datePicker.vue.d.ts +6 -0
- package/dist/types/packages/components/form/default/src/dateRange.vue.d.ts +10 -0
- package/dist/types/packages/components/form/default/src/form.vue.d.ts +18 -0
- package/dist/types/packages/components/form/default/src/formCol.vue.d.ts +13 -0
- package/dist/types/packages/components/form/default/src/formItem.vue.d.ts +10 -0
- package/dist/types/packages/components/form/default/src/formItemRest.vue.d.ts +2 -0
- package/dist/types/packages/components/form/default/src/input.vue.d.ts +20 -0
- package/dist/types/packages/components/form/default/src/inputI18n.vue.d.ts +10 -0
- package/dist/types/packages/components/form/default/src/inputMatch.vue.d.ts +18 -0
- package/dist/types/packages/components/form/default/src/inputNumber.vue.d.ts +10 -0
- package/dist/types/packages/components/form/default/src/inputPassword.vue.d.ts +10 -0
- package/dist/types/packages/components/form/default/src/inputTags.vue.d.ts +15 -0
- package/dist/types/packages/components/form/default/src/modal.vue.d.ts +43 -0
- package/dist/types/packages/components/form/default/src/numberRange.vue.d.ts +9 -0
- package/dist/types/packages/components/form/default/src/page.vue.d.ts +42 -0
- package/dist/types/packages/components/form/default/src/radio.vue.d.ts +14 -0
- package/dist/types/packages/components/form/default/src/select.vue.d.ts +15 -0
- package/dist/types/packages/components/form/default/src/selectInput.vue.d.ts +13 -0
- package/dist/types/packages/components/form/default/src/textarea.vue.d.ts +10 -0
- package/dist/types/packages/components/form/default/src/timePicker.vue.d.ts +6 -0
- package/dist/types/packages/components/form/default/src/upload-image.vue.d.ts +18 -0
- package/dist/types/packages/components/form/default/src/upload.vue.d.ts +8 -0
- package/dist/types/packages/components/form/default/src/wrap.vue.d.ts +51 -0
- package/dist/types/packages/components/form/default/type.d.ts +653 -0
- package/dist/types/packages/components/form/index.d.ts +2 -0
- package/dist/types/packages/components/form/type.d.ts +2 -0
- package/dist/types/packages/components/icon/index.d.ts +4 -0
- package/dist/types/packages/components/icon/src/icon.vue.d.ts +12 -0
- package/dist/types/packages/components/icon/src/index.vue.d.ts +10 -0
- package/dist/types/packages/components/icon/src/switch.vue.d.ts +18 -0
- package/dist/types/packages/components/icon/type.d.ts +40 -0
- package/dist/types/packages/components/index.d.ts +5 -0
- package/dist/types/packages/components/layout/blank.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/index.d.ts +7 -0
- package/dist/types/packages/components/layout/index.vue.d.ts +9 -0
- package/dist/types/packages/components/layout/skeleton/list.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/skeleton/switch.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/footer.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/header/index.vue.d.ts +10 -0
- package/dist/types/packages/components/layout/src/header/modules/download.vue.d.ts +12 -0
- package/dist/types/packages/components/layout/src/header/modules/language.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/header/modules/password-modal.vue.d.ts +9 -0
- package/dist/types/packages/components/layout/src/header/modules/topMenu.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/header/modules/warehouse.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/logo.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/siderMenu.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/src/subMenuItem.vue.d.ts +7 -0
- package/dist/types/packages/components/layout/src/tabsNav.vue.d.ts +2 -0
- package/dist/types/packages/components/layout/type.d.ts +17 -0
- package/dist/types/packages/components/lazy/charts/index.d.ts +21 -0
- package/dist/types/packages/components/lazy/charts/index.vue.d.ts +7 -0
- package/dist/types/packages/components/list/index.d.ts +7 -0
- package/dist/types/packages/components/list/input.d.ts +378 -0
- package/dist/types/packages/components/list/src/header.vue.d.ts +41 -0
- package/dist/types/packages/components/list/src/index.vue.d.ts +59 -0
- package/dist/types/packages/components/list/src/pager.vue.d.ts +11 -0
- package/dist/types/packages/components/list/src/table.vue.d.ts +17 -0
- package/dist/types/packages/components/list/type.d.ts +345 -0
- package/dist/types/packages/config.d.ts +27 -0
- package/dist/types/packages/directive/auth.d.ts +4 -0
- package/dist/types/packages/directive/auths.d.ts +4 -0
- package/dist/types/packages/directive/index.d.ts +6 -0
- package/dist/types/packages/hooks/business/index.d.ts +4 -0
- package/dist/types/packages/hooks/business/src/index.d.ts +4 -0
- package/dist/types/packages/hooks/business/src/useCountryDict.d.ts +22 -0
- package/dist/types/packages/hooks/business/src/useCurrencyDict.d.ts +22 -0
- package/dist/types/packages/hooks/business/src/useCustomerDict.d.ts +22 -0
- package/dist/types/packages/hooks/business/src/useWarehouseZoneDict.d.ts +22 -0
- package/dist/types/packages/hooks/business/useBusinessDict.d.ts +2 -0
- package/dist/types/packages/hooks/business/useDict.d.ts +25 -0
- package/dist/types/packages/hooks/index.d.ts +2 -0
- package/dist/types/packages/hooks/private/index.d.ts +2 -0
- package/dist/types/packages/hooks/private/src/useKey.d.ts +1 -0
- package/dist/types/packages/hooks/private/src/useRenderCell.d.ts +55 -0
- package/dist/types/packages/hooks/web/index.d.ts +18 -0
- package/dist/types/packages/hooks/web/src/useAffix.d.ts +19 -0
- package/dist/types/packages/hooks/web/src/useCatchPreloadError.d.ts +6 -0
- package/dist/types/packages/hooks/web/src/useCookie.d.ts +11 -0
- package/dist/types/packages/hooks/web/src/useEmitBack.d.ts +3 -0
- package/dist/types/packages/hooks/web/src/useEnum.d.ts +24 -0
- package/dist/types/packages/hooks/web/src/useExport.d.ts +3 -0
- package/dist/types/packages/hooks/web/src/useExposeRef.d.ts +1 -0
- package/dist/types/packages/hooks/web/src/useFormItemProps.d.ts +22 -0
- package/dist/types/packages/hooks/web/src/useFormStorage.d.ts +18 -0
- package/dist/types/packages/hooks/web/src/useI18n.d.ts +24 -0
- package/dist/types/packages/hooks/web/src/useListConfig.d.ts +16 -0
- package/dist/types/packages/hooks/web/src/useLocale.d.ts +6 -0
- package/dist/types/packages/hooks/web/src/useNProgress.d.ts +5 -0
- package/dist/types/packages/hooks/web/src/usePageForm.d.ts +9 -0
- package/dist/types/packages/hooks/web/src/usePrefixTitle.d.ts +3 -0
- package/dist/types/packages/hooks/web/src/useTabsNav.d.ts +13 -0
- package/dist/types/packages/hooks/web/src/useUpload.d.ts +1 -0
- package/dist/types/packages/hooks/web/src/useWatchForm.d.ts +10 -0
- package/dist/types/packages/hooks/web/src/useWindowSize.d.ts +8 -0
- package/dist/types/packages/index.d.ts +19 -0
- package/dist/types/packages/keys/index.d.ts +3 -0
- package/dist/types/packages/keys/public.d.ts +0 -0
- package/dist/types/packages/plugins/index.d.ts +1 -0
- package/dist/types/packages/plugins/vueI18n/helper.d.ts +1 -0
- package/dist/types/packages/plugins/vueI18n/index.d.ts +14 -0
- package/dist/types/packages/setup/index.d.ts +1 -0
- package/dist/types/packages/setup/vxe.d.ts +6 -0
- package/dist/types/packages/store/index.d.ts +9 -0
- package/dist/types/packages/store/modules/common.d.ts +50 -0
- package/dist/types/packages/store/modules/dict.d.ts +436 -0
- package/dist/types/packages/store/modules/language.d.ts +182 -0
- package/dist/types/packages/store/modules/tagsNav.d.ts +156 -0
- package/dist/types/packages/store/modules/userPermission.d.ts +60 -0
- package/dist/types/packages/type.d.ts +44 -0
- package/dist/types/packages/utils/config.d.ts +1 -0
- package/dist/types/packages/utils/index.d.ts +45 -0
- package/dist/types/packages/utils/type.d.ts +6 -0
- package/dist/types/packages/utils/warehouse.d.ts +30 -0
- package/dist/wlwy-package.es.js +19642 -0
- package/package.json +70 -34
- package/.eslintrc.js +0 -43
- package/dist/css/index.d40fc157.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/index.html +0 -17
- package/dist/js/chunk-vendors.ce4c2dc8.js +0 -7
- package/dist/js/index.5a56098a.js +0 -1
- package/lib/demo.html +0 -10
- package/lib/index.common.js +0 -25873
- package/lib/index.css +0 -1
- package/lib/index.umd.js +0 -25883
- package/lib/index.umd.min.js +0 -30
- package/utils/config.ts +0 -104
- package/utils/console.ts +0 -16
- package/utils/index.ts +0 -73
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as Icons from '@ant-design/icons-vue';
|
|
2
|
+
type AntdIconType = keyof typeof Icons;
|
|
3
|
+
/**
|
|
4
|
+
* w-icon 组件属性
|
|
5
|
+
*/
|
|
6
|
+
export type WIconProp = {
|
|
7
|
+
/**
|
|
8
|
+
* 图标名,包含wlwy iconfont和antd图标
|
|
9
|
+
*/
|
|
10
|
+
type?: AntdIconType | string;
|
|
11
|
+
/**
|
|
12
|
+
* 图标标题
|
|
13
|
+
*/
|
|
14
|
+
title?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 权限码
|
|
17
|
+
*/
|
|
18
|
+
authCode?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 是否禁用
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* 是否清除主题色(蓝色)
|
|
25
|
+
*/
|
|
26
|
+
clearColor?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* 自定义图标样式
|
|
29
|
+
*/
|
|
30
|
+
iconClass?: string;
|
|
31
|
+
/**
|
|
32
|
+
* 图标大小,默认defualt。 default -> 16px, toolbaricon -> 16px, tablerighticon -> 22px
|
|
33
|
+
*/
|
|
34
|
+
size?: 'default' | 'toolbaricon' | 'tablerighticon';
|
|
35
|
+
/**
|
|
36
|
+
* loading
|
|
37
|
+
*/
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
};
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as WLayoutTabsNav } from './src//tabsNav.vue';
|
|
2
|
+
export { default as WLayoutSiderMenu } from './src/siderMenu.vue';
|
|
3
|
+
export { default as WLayoutFooter } from './src/footer.vue';
|
|
4
|
+
export type { LayoutHeaderProps } from './type';
|
|
5
|
+
export { default as WLayoutHeader } from './src/header/index.vue';
|
|
6
|
+
export { default as WLayout } from './index.vue';
|
|
7
|
+
export { default as WBlankLayout } from './blank.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LayoutHeaderProps } from '../../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<LayoutHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LayoutHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
config?: {
|
|
3
|
+
getFileUrl?: string | undefined;
|
|
4
|
+
pageUrl?: string | undefined;
|
|
5
|
+
} | undefined;
|
|
6
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
+
config?: {
|
|
8
|
+
getFileUrl?: string | undefined;
|
|
9
|
+
pageUrl?: string | undefined;
|
|
10
|
+
} | undefined;
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
'open'?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:open": (open: boolean) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IMenuItem } from '../../../store';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
item: IMenuItem;
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
|
+
item: IMenuItem;
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type UserOptionType = {
|
|
2
|
+
key: string;
|
|
3
|
+
icon: string;
|
|
4
|
+
label: string;
|
|
5
|
+
href?: string;
|
|
6
|
+
click?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export type LayoutHeaderProps = {
|
|
9
|
+
systemName?: string;
|
|
10
|
+
userOption?: Array<UserOptionType>;
|
|
11
|
+
showWarehouse?: boolean;
|
|
12
|
+
showDownload?: boolean;
|
|
13
|
+
downloadConfig?: {
|
|
14
|
+
getFileUrl?: string;
|
|
15
|
+
pageUrl?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as echarts from 'echarts';
|
|
2
|
+
export interface WChartsProps {
|
|
3
|
+
/**
|
|
4
|
+
* 图表配置
|
|
5
|
+
*/
|
|
6
|
+
option: echarts.EChartsOption;
|
|
7
|
+
}
|
|
8
|
+
export interface WChartsInstance {
|
|
9
|
+
/**
|
|
10
|
+
* 设置图表配置
|
|
11
|
+
* @param option {echarts.EChartsOption} 图表配置
|
|
12
|
+
*/
|
|
13
|
+
setOption: (option?: echarts.EChartsOption) => void;
|
|
14
|
+
/**
|
|
15
|
+
* 获取图表实例
|
|
16
|
+
* @return {*} {echarts.ECharts | undefined}
|
|
17
|
+
*/
|
|
18
|
+
getInstance: () => echarts.ECharts | undefined;
|
|
19
|
+
}
|
|
20
|
+
import Charts from './index.vue';
|
|
21
|
+
export default Charts;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as echarts from 'echarts';
|
|
2
|
+
import { WChartsProps } from '.';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<WChartsProps, {
|
|
4
|
+
setOption: (option?: echarts.EChartsOption | undefined) => void;
|
|
5
|
+
getInstance: () => echarts.ECharts | undefined;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WChartsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { WListProps, WListInstance } from './type';
|
|
2
|
+
export { default as WList } from './src/index.vue';
|
|
3
|
+
export type { WListHeaderProps, HeaderPropsType, WListHeaderInstance } from './type';
|
|
4
|
+
export { default as WListHeader } from './src/header.vue';
|
|
5
|
+
export type { WListTableProps, ToolbarButtonType, TablePropsType, WListTableInstance } from './type';
|
|
6
|
+
export { default as WListTable } from './src/table.vue';
|
|
7
|
+
export { default as WListPager } from './src/pager.vue';
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import * as Components from '../form';
|
|
2
|
+
import * as Types from '../form/type';
|
|
3
|
+
export declare const Inputs: {
|
|
4
|
+
input: {
|
|
5
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
6
|
+
value?: string | undefined;
|
|
7
|
+
} & Components.WFormInputProps> & Readonly<{
|
|
8
|
+
onChange?: ((value: string) => any) | undefined;
|
|
9
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
change: (value: string) => any;
|
|
12
|
+
"update:value": (value: string) => any;
|
|
13
|
+
}, import("vue").PublicProps, {
|
|
14
|
+
allowClear: boolean;
|
|
15
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<{
|
|
23
|
+
value?: string | undefined;
|
|
24
|
+
} & Components.WFormInputProps> & Readonly<{
|
|
25
|
+
onChange?: ((value: string) => any) | undefined;
|
|
26
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, {
|
|
28
|
+
allowClear: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
__isFragment?: undefined;
|
|
31
|
+
__isTeleport?: undefined;
|
|
32
|
+
__isSuspense?: undefined;
|
|
33
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
34
|
+
value?: string | undefined;
|
|
35
|
+
} & Components.WFormInputProps> & Readonly<{
|
|
36
|
+
onChange?: ((value: string) => any) | undefined;
|
|
37
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
change: (value: string) => any;
|
|
40
|
+
"update:value": (value: string) => any;
|
|
41
|
+
}, string, {
|
|
42
|
+
allowClear: boolean;
|
|
43
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
44
|
+
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
45
|
+
});
|
|
46
|
+
inputPassword: {
|
|
47
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
48
|
+
allowClear: boolean;
|
|
49
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
57
|
+
allowClear: boolean;
|
|
58
|
+
}>;
|
|
59
|
+
__isFragment?: undefined;
|
|
60
|
+
__isTeleport?: undefined;
|
|
61
|
+
__isSuspense?: undefined;
|
|
62
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
63
|
+
allowClear: boolean;
|
|
64
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
65
|
+
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
66
|
+
});
|
|
67
|
+
inputNumber: {
|
|
68
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormNumberProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
69
|
+
allowClear: boolean;
|
|
70
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
71
|
+
P: {};
|
|
72
|
+
B: {};
|
|
73
|
+
D: {};
|
|
74
|
+
C: {};
|
|
75
|
+
M: {};
|
|
76
|
+
Defaults: {};
|
|
77
|
+
}, Readonly<Components.WFormNumberProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
78
|
+
allowClear: boolean;
|
|
79
|
+
}>;
|
|
80
|
+
__isFragment?: undefined;
|
|
81
|
+
__isTeleport?: undefined;
|
|
82
|
+
__isSuspense?: undefined;
|
|
83
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.WFormNumberProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
84
|
+
allowClear: boolean;
|
|
85
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
86
|
+
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
87
|
+
});
|
|
88
|
+
inputTags: {
|
|
89
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormTagsProps> & Readonly<{
|
|
90
|
+
onChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
|
|
91
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
92
|
+
change: (value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any;
|
|
93
|
+
}, import("vue").PublicProps, {
|
|
94
|
+
allowClear: boolean;
|
|
95
|
+
tokenSeparators: string[];
|
|
96
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
97
|
+
P: {};
|
|
98
|
+
B: {};
|
|
99
|
+
D: {};
|
|
100
|
+
C: {};
|
|
101
|
+
M: {};
|
|
102
|
+
Defaults: {};
|
|
103
|
+
}, Readonly<Components.WFormTagsProps> & Readonly<{
|
|
104
|
+
onChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
|
|
105
|
+
}>, {}, {}, {}, {}, {
|
|
106
|
+
allowClear: boolean;
|
|
107
|
+
tokenSeparators: string[];
|
|
108
|
+
}>;
|
|
109
|
+
__isFragment?: undefined;
|
|
110
|
+
__isTeleport?: undefined;
|
|
111
|
+
__isSuspense?: undefined;
|
|
112
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.WFormTagsProps> & Readonly<{
|
|
113
|
+
onChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
|
|
114
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
115
|
+
change: (value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any;
|
|
116
|
+
}, string, {
|
|
117
|
+
allowClear: boolean;
|
|
118
|
+
tokenSeparators: string[];
|
|
119
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
120
|
+
$slots: Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
121
|
+
});
|
|
122
|
+
radio: {
|
|
123
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormRadioProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
124
|
+
params: any;
|
|
125
|
+
method: string;
|
|
126
|
+
option: import("../..").OptionType[];
|
|
127
|
+
allowClear: boolean;
|
|
128
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
129
|
+
P: {};
|
|
130
|
+
B: {};
|
|
131
|
+
D: {};
|
|
132
|
+
C: {};
|
|
133
|
+
M: {};
|
|
134
|
+
Defaults: {};
|
|
135
|
+
}, Readonly<Components.WFormRadioProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
136
|
+
params: any;
|
|
137
|
+
method: string;
|
|
138
|
+
option: import("../..").OptionType[];
|
|
139
|
+
allowClear: boolean;
|
|
140
|
+
}>;
|
|
141
|
+
__isFragment?: undefined;
|
|
142
|
+
__isTeleport?: undefined;
|
|
143
|
+
__isSuspense?: undefined;
|
|
144
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.WFormRadioProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
145
|
+
params: any;
|
|
146
|
+
method: string;
|
|
147
|
+
option: import("../..").OptionType[];
|
|
148
|
+
allowClear: boolean;
|
|
149
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
150
|
+
$slots: Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
151
|
+
});
|
|
152
|
+
checkbox: {
|
|
153
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
154
|
+
params: any;
|
|
155
|
+
method: string;
|
|
156
|
+
option: import("../..").OptionType[];
|
|
157
|
+
allowClear: boolean;
|
|
158
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
159
|
+
P: {};
|
|
160
|
+
B: {};
|
|
161
|
+
D: {};
|
|
162
|
+
C: {};
|
|
163
|
+
M: {};
|
|
164
|
+
Defaults: {};
|
|
165
|
+
}, Readonly<Components.WFormCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
166
|
+
params: any;
|
|
167
|
+
method: string;
|
|
168
|
+
option: import("../..").OptionType[];
|
|
169
|
+
allowClear: boolean;
|
|
170
|
+
}>;
|
|
171
|
+
__isFragment?: undefined;
|
|
172
|
+
__isTeleport?: undefined;
|
|
173
|
+
__isSuspense?: undefined;
|
|
174
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.WFormCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
175
|
+
params: any;
|
|
176
|
+
method: string;
|
|
177
|
+
option: import("../..").OptionType[];
|
|
178
|
+
allowClear: boolean;
|
|
179
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
180
|
+
$slots: Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
181
|
+
});
|
|
182
|
+
select: {
|
|
183
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormSelectProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
184
|
+
params: any;
|
|
185
|
+
method: string;
|
|
186
|
+
option: import("../..").OptionType[];
|
|
187
|
+
allowClear: boolean;
|
|
188
|
+
autoClearSearchValue: boolean;
|
|
189
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
190
|
+
P: {};
|
|
191
|
+
B: {};
|
|
192
|
+
D: {};
|
|
193
|
+
C: {};
|
|
194
|
+
M: {};
|
|
195
|
+
Defaults: {};
|
|
196
|
+
}, Readonly<Components.WFormSelectProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
197
|
+
params: any;
|
|
198
|
+
method: string;
|
|
199
|
+
option: import("../..").OptionType[];
|
|
200
|
+
allowClear: boolean;
|
|
201
|
+
autoClearSearchValue: boolean;
|
|
202
|
+
}>;
|
|
203
|
+
__isFragment?: undefined;
|
|
204
|
+
__isTeleport?: undefined;
|
|
205
|
+
__isSuspense?: undefined;
|
|
206
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.WFormSelectProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
207
|
+
params: any;
|
|
208
|
+
method: string;
|
|
209
|
+
option: import("../..").OptionType[];
|
|
210
|
+
allowClear: boolean;
|
|
211
|
+
autoClearSearchValue: boolean;
|
|
212
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
213
|
+
$slots: Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
214
|
+
});
|
|
215
|
+
selectInput: import("vue").DefineComponent<Components.WFormSelectInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
216
|
+
selectChange: (value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any;
|
|
217
|
+
}, string, import("vue").PublicProps, Readonly<Components.WFormSelectInputProps> & Readonly<{
|
|
218
|
+
onSelectChange?: ((value: import("ant-design-vue/es/select").SelectValue, option: import("ant-design-vue/es/select").DefaultOptionType | import("ant-design-vue/es/select").DefaultOptionType[]) => any) | undefined;
|
|
219
|
+
}>, {
|
|
220
|
+
option: import("..").WDropdownListItem[];
|
|
221
|
+
allowClear: boolean;
|
|
222
|
+
tokenSeparators: string[];
|
|
223
|
+
isNumber: boolean;
|
|
224
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
225
|
+
dateRange: import("vue").DefineComponent<Components.WFormDateRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormDateRangeProps> & Readonly<{}>, {
|
|
226
|
+
option: import("..").WDropdownListItem[];
|
|
227
|
+
format: FormatType;
|
|
228
|
+
allowClear: boolean;
|
|
229
|
+
futureTimeAllowed: boolean;
|
|
230
|
+
limit: number;
|
|
231
|
+
offsetDays: number;
|
|
232
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
233
|
+
numberRange: import("vue").DefineComponent<Components.WFormNumberRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormNumberRangeProps> & Readonly<{}>, {
|
|
234
|
+
min: number;
|
|
235
|
+
max: number;
|
|
236
|
+
option: import("..").WDropdownListItem[];
|
|
237
|
+
allowClear: boolean;
|
|
238
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
239
|
+
custom: {
|
|
240
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.WFormCustomProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
241
|
+
P: {};
|
|
242
|
+
B: {};
|
|
243
|
+
D: {};
|
|
244
|
+
C: {};
|
|
245
|
+
M: {};
|
|
246
|
+
Defaults: {};
|
|
247
|
+
}, Readonly<Components.WFormCustomProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
248
|
+
__isFragment?: undefined;
|
|
249
|
+
__isTeleport?: undefined;
|
|
250
|
+
__isSuspense?: undefined;
|
|
251
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.WFormCustomProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
252
|
+
$slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>>;
|
|
253
|
+
});
|
|
254
|
+
inputMatch: import("vue").DefineComponent<Types.WInputMatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
255
|
+
change: (value: any) => any;
|
|
256
|
+
}, string, import("vue").PublicProps, Readonly<Types.WInputMatchProps> & Readonly<{
|
|
257
|
+
onChange?: ((value: any) => any) | undefined;
|
|
258
|
+
}>, {
|
|
259
|
+
allowClear: boolean;
|
|
260
|
+
model: string;
|
|
261
|
+
tokenSeparators: string[];
|
|
262
|
+
labelModel: string;
|
|
263
|
+
afterModel: string;
|
|
264
|
+
labelOption: import("..").WDropdownListItem[];
|
|
265
|
+
afterOption: import("../..").OptionType[];
|
|
266
|
+
numberfs: string[];
|
|
267
|
+
inputfs: string[];
|
|
268
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
269
|
+
inputI18n: {
|
|
270
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
271
|
+
allowClear: boolean;
|
|
272
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
273
|
+
P: {};
|
|
274
|
+
B: {};
|
|
275
|
+
D: {};
|
|
276
|
+
C: {};
|
|
277
|
+
M: {};
|
|
278
|
+
Defaults: {};
|
|
279
|
+
}, Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
280
|
+
allowClear: boolean;
|
|
281
|
+
}>;
|
|
282
|
+
__isFragment?: undefined;
|
|
283
|
+
__isTeleport?: undefined;
|
|
284
|
+
__isSuspense?: undefined;
|
|
285
|
+
} & import("vue").ComponentOptionsBase<Readonly<Components.FormItemXxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
286
|
+
allowClear: boolean;
|
|
287
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
288
|
+
$slots: Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>;
|
|
289
|
+
});
|
|
290
|
+
channel: import("vue").DefineComponent<Components.WFormChannelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormChannelProps> & Readonly<{}>, {
|
|
291
|
+
keyword: string;
|
|
292
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
293
|
+
customer: import("vue").DefineComponent<Components.WFormCustomerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormCustomerProps> & Readonly<{}>, {
|
|
294
|
+
keyword: string;
|
|
295
|
+
urlType: Types.CustomeUrlType;
|
|
296
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
297
|
+
country: import("vue").DefineComponent<Components.WFormCountryProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormCountryProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
298
|
+
sku: import("vue").DefineComponent<Components.WFormSkuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Components.WFormSkuProps> & Readonly<{}>, {
|
|
299
|
+
keyword: string;
|
|
300
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
301
|
+
};
|
|
302
|
+
export type InputsKeyType = keyof typeof Inputs;
|
|
303
|
+
export type InputsType = ({
|
|
304
|
+
/**
|
|
305
|
+
* 输入框
|
|
306
|
+
*/
|
|
307
|
+
type: 'input';
|
|
308
|
+
} & Partial<Types.WFormInputProps>) | ({
|
|
309
|
+
/**
|
|
310
|
+
* 数字输入框
|
|
311
|
+
*/
|
|
312
|
+
type: 'inputNumber';
|
|
313
|
+
} & Partial<Types.WFormNumberProps>) | ({
|
|
314
|
+
/**
|
|
315
|
+
* Tags输入框
|
|
316
|
+
*/
|
|
317
|
+
type: 'inputTags';
|
|
318
|
+
} & Partial<Types.WFormTagsProps>) | ({
|
|
319
|
+
/**
|
|
320
|
+
* 单选框
|
|
321
|
+
*/
|
|
322
|
+
type: 'radio';
|
|
323
|
+
} & Partial<Types.WFormRadioProps>) | ({
|
|
324
|
+
/**
|
|
325
|
+
* 复选框
|
|
326
|
+
*/
|
|
327
|
+
type: 'checkbox';
|
|
328
|
+
} & Partial<Types.WFormCheckboxProps>) | ({
|
|
329
|
+
/**
|
|
330
|
+
* 下拉选择框
|
|
331
|
+
*/
|
|
332
|
+
type: 'select';
|
|
333
|
+
} & Partial<Types.WFormSelectProps>) | ({
|
|
334
|
+
/**
|
|
335
|
+
* 下拉选择框输入框
|
|
336
|
+
*/
|
|
337
|
+
type: 'selectInput';
|
|
338
|
+
} & Partial<Types.WFormSelectInputProps>) | ({
|
|
339
|
+
/**
|
|
340
|
+
* 时间范围选择框
|
|
341
|
+
*/
|
|
342
|
+
type: 'dateRange';
|
|
343
|
+
} & Partial<Types.WFormDateRangeProps>) | ({
|
|
344
|
+
/**
|
|
345
|
+
* 数字范围输入框
|
|
346
|
+
*/
|
|
347
|
+
type: 'numberRange';
|
|
348
|
+
} & Partial<Types.WFormNumberRangeProps>) | ({
|
|
349
|
+
/**
|
|
350
|
+
* 自定义组件
|
|
351
|
+
*/
|
|
352
|
+
type: 'custom';
|
|
353
|
+
} & Partial<Types.WFormCustomProps>) | ({
|
|
354
|
+
/**
|
|
355
|
+
* 可匹配输入框
|
|
356
|
+
*/
|
|
357
|
+
type: 'inputMatch';
|
|
358
|
+
} & Partial<Types.WInputMatchProps>) | ({
|
|
359
|
+
/**
|
|
360
|
+
* 客户下拉框
|
|
361
|
+
*/
|
|
362
|
+
type: 'channel';
|
|
363
|
+
} & Partial<Types.WFormChannelProps>) | ({
|
|
364
|
+
/**
|
|
365
|
+
* 客户下拉框
|
|
366
|
+
*/
|
|
367
|
+
type: 'customer';
|
|
368
|
+
} & Partial<Types.WFormCustomerProps>) | ({
|
|
369
|
+
/**
|
|
370
|
+
* 国家下拉框
|
|
371
|
+
*/
|
|
372
|
+
type: 'country';
|
|
373
|
+
} & Partial<Types.WFormCountryProps>) | ({
|
|
374
|
+
/**
|
|
375
|
+
* sku下拉框
|
|
376
|
+
*/
|
|
377
|
+
type: 'sku';
|
|
378
|
+
} & Partial<Types.WFormSkuProps>);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { WListHeaderProps, InputOption } from '../type';
|
|
2
|
+
declare let __VLS_typeProps: WListHeaderProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
'form'?: any;
|
|
5
|
+
} & typeof __VLS_typeProps;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
7
|
+
getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
|
|
8
|
+
setForm: (value: any, merge?: boolean) => void;
|
|
9
|
+
getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
10
|
+
getFormValue: () => Record<string, any>;
|
|
11
|
+
watchForm: (...args: [cb: import("vue").WatchCallback] | [cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>] | [field: string, cb: import("vue").WatchCallback] | [field: string, cb: import("vue").WatchCallback, options: import("vue").WatchOptions<boolean>]) => import("vue").WatchStopHandle;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
reset: (initForm: any) => any;
|
|
14
|
+
search: (data: any) => any;
|
|
15
|
+
"update:form": (form: any) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
onReset?: ((initForm: any) => any) | undefined;
|
|
18
|
+
onSearch?: ((data: any) => any) | undefined;
|
|
19
|
+
"onUpdate:form"?: ((form: any) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
loading: boolean;
|
|
22
|
+
option: InputOption[];
|
|
23
|
+
expand: boolean;
|
|
24
|
+
gutter: number;
|
|
25
|
+
column: number;
|
|
26
|
+
minRows: number;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
28
|
+
default?(_: {
|
|
29
|
+
form: any;
|
|
30
|
+
}): any;
|
|
31
|
+
buttons?(_: {
|
|
32
|
+
loading: boolean;
|
|
33
|
+
}): any;
|
|
34
|
+
buttonAfter?(_: {}): any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|