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,6 @@
|
|
|
1
|
+
import type { WFormDatePickerProps } from '../type';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<WFormDatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormDatePickerProps> & Readonly<{}>, {
|
|
3
|
+
format: string;
|
|
4
|
+
allowClear: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WFormDateRangeProps } from '../type';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<WFormDateRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormDateRangeProps> & Readonly<{}>, {
|
|
3
|
+
option: import("../../../common").WDropdownListItem[];
|
|
4
|
+
format: FormatType;
|
|
5
|
+
allowClear: boolean;
|
|
6
|
+
futureTimeAllowed: boolean;
|
|
7
|
+
limit: number;
|
|
8
|
+
offsetDays: number;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type FormInstance } from 'ant-design-vue';
|
|
2
|
+
import type { WFormProps } from '../type';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormProps, {
|
|
4
|
+
getFormInstance: () => FormInstance | undefined;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormProps> & Readonly<{}>, {
|
|
6
|
+
name: string;
|
|
7
|
+
labelAlign: import("ant-design-vue/es/form/interface").FormLabelAlign;
|
|
8
|
+
scrollToFirstError: boolean | import("scroll-into-view-if-needed").Options<any>;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { WFormColProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormColProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormColProps> & Readonly<{}>, {
|
|
3
|
+
span: number | "full";
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WFormItemProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
|
|
3
|
+
default?(_: any): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => any, {}, {}, {}, 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,20 @@
|
|
|
1
|
+
import type { WFormInputProps } from '../type';
|
|
2
|
+
declare let __VLS_typeProps: WFormInputProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
'value'?: string;
|
|
5
|
+
} & typeof __VLS_typeProps;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
change: (value: string) => any;
|
|
8
|
+
"update:value": (value: string) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
onChange?: ((value: string) => any) | undefined;
|
|
11
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
allowClear: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FormItemXxProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<FormItemXxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormItemXxProps> & Readonly<{}>, {
|
|
3
|
+
allowClear: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WInputMatchProps } from '../type';
|
|
2
|
+
import { type WDropdownListItem } from '../../../common';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<WInputMatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
change: (value: any) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<WInputMatchProps> & Readonly<{
|
|
6
|
+
onChange?: ((value: any) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
allowClear: boolean;
|
|
9
|
+
model: string;
|
|
10
|
+
tokenSeparators: string[];
|
|
11
|
+
labelModel: string;
|
|
12
|
+
afterModel: string;
|
|
13
|
+
labelOption: WDropdownListItem[];
|
|
14
|
+
afterOption: import("../../../../type.ts").OptionType[];
|
|
15
|
+
numberfs: string[];
|
|
16
|
+
inputfs: string[];
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WFormNumberProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormNumberProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormNumberProps> & Readonly<{}>, {
|
|
3
|
+
allowClear: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FormItemXxProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<FormItemXxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FormItemXxProps> & Readonly<{}>, {
|
|
3
|
+
allowClear: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { WFormTagsProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormTagsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: import("ant-design-vue/es/select/index").SelectValue, option: import("ant-design-vue/es/vc-select/Select").DefaultOptionType | import("ant-design-vue/es/vc-select/Select").DefaultOptionType[]) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<WFormTagsProps> & Readonly<{
|
|
5
|
+
onChange?: ((value: import("ant-design-vue/es/select/index").SelectValue, option: import("ant-design-vue/es/vc-select/Select").DefaultOptionType | import("ant-design-vue/es/vc-select/Select").DefaultOptionType[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
allowClear: boolean;
|
|
8
|
+
tokenSeparators: string[];
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { FormInitializedCallback, WFormModalOkHandleType, WFormModalProps } from '../type';
|
|
2
|
+
import type { FooterButtonType } from '../../../common/type';
|
|
3
|
+
declare let __VLS_typeProps: WFormModalProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'open'?: boolean;
|
|
6
|
+
'form'?: any;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
9
|
+
getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
|
|
10
|
+
onFormInitialized: (cb: FormInitializedCallback, one?: boolean | undefined) => void;
|
|
11
|
+
setForm: (value: any, merge?: boolean) => void;
|
|
12
|
+
getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
13
|
+
getFormValue: () => Record<string, any>;
|
|
14
|
+
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;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
cancel: (event: MouseEvent) => any;
|
|
17
|
+
ok: (event: MouseEvent, handler: WFormModalOkHandleType) => any;
|
|
18
|
+
"update:open": (open: boolean) => any;
|
|
19
|
+
openAtfer: (form: any) => any;
|
|
20
|
+
"update:form": (form: any) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
onCancel?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
+
onOk?: ((event: MouseEvent, handler: WFormModalOkHandleType) => any) | undefined;
|
|
24
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
25
|
+
onOpenAtfer?: ((form: any) => any) | undefined;
|
|
26
|
+
"onUpdate:form"?: ((form: any) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
loading: boolean;
|
|
29
|
+
title: string;
|
|
30
|
+
hideFooter: boolean | FooterButtonType[];
|
|
31
|
+
detailsApiMethod: "GET" | "POST";
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
33
|
+
title?(_: {}): any;
|
|
34
|
+
default?(_: {
|
|
35
|
+
form: any;
|
|
36
|
+
}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { WFormNumberRangeProps } from '../type';
|
|
2
|
+
import { type WDropdownListItem } from '../../../common';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<WFormNumberRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormNumberRangeProps> & Readonly<{}>, {
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
option: WDropdownListItem[];
|
|
7
|
+
allowClear: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { WFormPageOkHandleType, WFormPageProps } from '../type';
|
|
2
|
+
import type { FooterButtonType } from '../../../common/type';
|
|
3
|
+
declare let __VLS_typeProps: WFormPageProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'form'?: any;
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
|
|
9
|
+
setForm: (value: any, merge?: boolean) => void;
|
|
10
|
+
getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
11
|
+
getFormValue: () => Record<string, any>;
|
|
12
|
+
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;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
cancel: (event: Event) => any;
|
|
15
|
+
ok: (event: Event, handle: WFormPageOkHandleType) => any;
|
|
16
|
+
"update:form": (form: any) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
onCancel?: ((event: Event) => any) | undefined;
|
|
19
|
+
onOk?: ((event: Event, handle: WFormPageOkHandleType) => any) | undefined;
|
|
20
|
+
"onUpdate:form"?: ((form: any) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
loading: boolean;
|
|
23
|
+
title: string;
|
|
24
|
+
okText: string;
|
|
25
|
+
cancelText: string;
|
|
26
|
+
hideFooter: boolean | FooterButtonType[];
|
|
27
|
+
detailsApiMethod: "GET" | "POST";
|
|
28
|
+
questionIcon: string;
|
|
29
|
+
refreshText: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
31
|
+
title?(_: {}): any;
|
|
32
|
+
button?(_: {}): any;
|
|
33
|
+
default?(_: {
|
|
34
|
+
form: any;
|
|
35
|
+
}): any;
|
|
36
|
+
}>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { WFormRadioProps } from '../type';
|
|
2
|
+
import type { OptionType } from '../../../../type';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormRadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormRadioProps> & Readonly<{}>, {
|
|
4
|
+
params: any;
|
|
5
|
+
method: string;
|
|
6
|
+
option: OptionType[];
|
|
7
|
+
allowClear: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { WFormSelectProps } from '../type';
|
|
2
|
+
import type { OptionType } from '../../../../type';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormSelectProps> & Readonly<{}>, {
|
|
4
|
+
params: any;
|
|
5
|
+
method: string;
|
|
6
|
+
option: OptionType[];
|
|
7
|
+
allowClear: boolean;
|
|
8
|
+
autoClearSearchValue: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<number, (_: any) => any>> & Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { WFormSelectInputProps } from '../type';
|
|
2
|
+
import { type WDropdownListItem } from '../../../common';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<WFormSelectInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
selectChange: (value: import("ant-design-vue/es/select/index").SelectValue, option: import("ant-design-vue/es/vc-select/Select").DefaultOptionType | import("ant-design-vue/es/vc-select/Select").DefaultOptionType[]) => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<WFormSelectInputProps> & Readonly<{
|
|
6
|
+
onSelectChange?: ((value: import("ant-design-vue/es/select/index").SelectValue, option: import("ant-design-vue/es/vc-select/Select").DefaultOptionType | import("ant-design-vue/es/vc-select/Select").DefaultOptionType[]) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
option: WDropdownListItem[];
|
|
9
|
+
allowClear: boolean;
|
|
10
|
+
tokenSeparators: string[];
|
|
11
|
+
isNumber: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WFormTextareaProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormTextareaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormTextareaProps> & Readonly<{}>, {
|
|
3
|
+
allowClear: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { WFormTimePickerProps } from '../type';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<WFormTimePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormTimePickerProps> & Readonly<{}>, {
|
|
3
|
+
format: string;
|
|
4
|
+
allowClear: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WFormUploadImageProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormUploadImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormUploadImageProps> & Readonly<{}>, {
|
|
3
|
+
height: number;
|
|
4
|
+
width: number;
|
|
5
|
+
fieldName: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
uploadIcon: string;
|
|
8
|
+
uploadText: string;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>> & {
|
|
10
|
+
uploadIcon?(_: {}): any;
|
|
11
|
+
uploadText?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { WFormUploadProps } from '../type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<WFormUploadProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WFormUploadProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<"label" | "extra" | "help">, (_: any) => any>>>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
5
|
+
new (): {
|
|
6
|
+
$slots: S;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { WFormWrapOkHandleType, WFormWrapProps } from '../type';
|
|
2
|
+
import type { FooterButtonType } from '../../../common/type';
|
|
3
|
+
declare let __VLS_typeProps: WFormWrapProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'form'?: any;
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
getFormInstance: () => import("ant-design-vue").FormInstance | undefined;
|
|
9
|
+
setForm: (value: any, merge?: boolean) => void;
|
|
10
|
+
getForm: () => import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
11
|
+
getFormValue: () => Record<string, any>;
|
|
12
|
+
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;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
cancel: (event: Event) => any;
|
|
15
|
+
refresh: (event: Event) => any;
|
|
16
|
+
ok: (event: Event, handle: WFormWrapOkHandleType) => any;
|
|
17
|
+
"update:form": (form: any) => any;
|
|
18
|
+
initDone: () => any;
|
|
19
|
+
afterDetails: (form: any) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
+
onCancel?: ((event: Event) => any) | undefined;
|
|
22
|
+
onRefresh?: ((event: Event) => any) | undefined;
|
|
23
|
+
onOk?: ((event: Event, handle: WFormWrapOkHandleType) => any) | undefined;
|
|
24
|
+
"onUpdate:form"?: ((form: any) => any) | undefined;
|
|
25
|
+
onInitDone?: (() => any) | undefined;
|
|
26
|
+
onAfterDetails?: ((form: any) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
loading: boolean;
|
|
29
|
+
title: string;
|
|
30
|
+
okText: string;
|
|
31
|
+
cancelText: string;
|
|
32
|
+
hideFooter: boolean | FooterButtonType[];
|
|
33
|
+
detailsApiMethod: "GET" | "POST";
|
|
34
|
+
questionIcon: string;
|
|
35
|
+
refreshText: string;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
37
|
+
title?(_: {}): any;
|
|
38
|
+
button?(_: {}): any;
|
|
39
|
+
default?(_: {
|
|
40
|
+
form: any;
|
|
41
|
+
}): any;
|
|
42
|
+
default?(_: {
|
|
43
|
+
form: any;
|
|
44
|
+
}): any;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|