yahee-components 0.0.9 → 0.0.12
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/es/annex-upload/annex-upload.vue.js +6 -6
- package/es/api/server.js +29 -0
- package/es/api/tool.js +69 -0
- package/es/comprehensive-search/comprehensive-search.vue.js +10 -10
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
- package/es/country-platform-shop-condition/index.js +7 -0
- package/es/country-platform-shop-condition/style/index.css +48 -0
- package/es/drop-down-condition/drop-down-condition.vue.js +215 -0
- package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
- package/es/drop-down-condition/index.js +7 -0
- package/es/drop-down-condition/style/index.css +45 -0
- package/es/image-upload/image-upload.vue.js +125 -124
- package/es/index.js +28 -15
- package/es/installs.js +18 -10
- package/es/left-condition/index.js +7 -0
- package/es/left-condition/left-condition-sub.vue.js +95 -0
- package/es/left-condition/left-condition-sub.vue2.js +4 -0
- package/es/left-condition/left-condition.vue.js +214 -0
- package/es/left-condition/left-condition.vue2.js +4 -0
- package/es/left-condition/style/index.css +11 -0
- package/es/left-condition-enum/index.js +7 -0
- package/es/left-condition-enum/left-condition-enum.vue.js +76 -0
- package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
- package/es/left-condition-enum/style/index.css +0 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
- package/es/operation-log/operation-log-content.vue.js +6 -6
- package/es/operation-log/operation-log-form.vue.js +2 -2
- package/es/operation-log/operation-log-form.vue2.js +17 -17
- package/es/operation-log/operation-log.vue.js +50 -49
- package/es/packages/components/api/log/index.js +15 -0
- package/es/packages/components/api/log-server.js +17 -21
- package/es/packages/components/api/server.js +19 -0
- package/es/packages/components/api/tool.js +57 -0
- package/es/packages/components/api/{requestTools.js → upload-server.js} +13 -10
- package/es/packages/components/hooks/useClipboard.js +16 -14
- package/es/packages/components/hooks/useImport.js +14 -12
- package/es/packages/components/hooks/useUpload.js +9 -9
- package/es/static/CommonObject.js +4 -0
- package/es/style.css +81 -196
- package/es/utils/config.js +19 -0
- package/es/utils/const.js +19 -0
- package/es/utils/style.js +28 -0
- package/es/utils/translate.js +50 -31
- package/lib/country-platform-shop-condition/style/index.css +48 -0
- package/lib/drop-down-condition/style/index.css +45 -0
- package/lib/left-condition/style/index.css +11 -0
- package/lib/left-condition-enum/style/index.css +0 -0
- package/lib/style.css +81 -196
- package/package.json +1 -1
- package/types/hooks/useClipboard.d.ts +7 -0
- package/types/hooks/useImg.d.ts +10 -0
- package/types/hooks/useImgPath.d.ts +5 -0
- package/types/hooks/useImport.d.ts +11 -0
- package/types/hooks/useUpload.d.ts +12 -0
- package/types/index.d.ts +6 -1204
- package/types/src/annex-upload/annex-upload.d.ts +30 -0
- package/types/src/annex-upload/annex-upload.vue.d.ts +443 -0
- package/types/src/annex-upload/index.d.ts +123 -0
- package/types/src/annex-upload/mimeType.d.ts +2 -0
- package/types/src/api/server.d.ts +6 -0
- package/types/src/api/tool.d.ts +6 -0
- package/types/src/api/types.d.ts +17 -0
- package/types/src/components.d.ts +10 -0
- package/types/src/comprehensive-search/comprehensive-search.d.ts +12 -0
- package/types/src/comprehensive-search/comprehensive-search.vue.d.ts +33 -0
- package/types/src/comprehensive-search/index.d.ts +36 -0
- package/types/src/copy/copy.d.ts +12 -0
- package/types/src/copy/copy.vue.d.ts +21 -0
- package/types/src/copy/index.d.ts +32 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
- package/types/src/country-platform-shop-condition/index.d.ts +16 -0
- package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +38 -0
- package/types/src/drop-down-condition/index.d.ts +40 -0
- package/types/src/image-upload/image-upload.d.ts +26 -0
- package/types/src/image-upload/image-upload.vue.d.ts +43 -0
- package/types/src/image-upload/index.d.ts +94 -0
- package/types/src/index.d.ts +7 -0
- package/types/src/input/index.d.ts +16 -0
- package/types/src/input/input.d.ts +18 -0
- package/types/src/input/input.vue.d.ts +14 -0
- package/types/src/installs.d.ts +535 -0
- package/types/src/left-condition/index.d.ts +69 -0
- package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
- package/types/src/left-condition/left-condition.d.ts +5 -0
- package/types/src/left-condition/left-condition.vue.d.ts +68 -0
- package/types/src/left-condition-enum/index.d.ts +153 -0
- package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +151 -0
- package/types/src/operation-log/index.d.ts +9 -0
- package/types/src/operation-log/operation-log-content.vue.d.ts +24 -0
- package/types/src/operation-log/operation-log-dialog.vue.d.ts +39 -0
- package/types/src/operation-log/operation-log-form.vue.d.ts +19 -0
- package/types/src/operation-log/operation-log.d.ts +11 -0
- package/types/src/operation-log/operation-log.vue.d.ts +6 -0
- package/types/src/static/CommonObject.d.ts +18 -0
- package/types/src/static/CommonVariables.d.ts +4 -0
- package/types/src/utils/config.d.ts +8 -0
- package/types/src/utils/const.d.ts +19 -0
- package/types/src/utils/functions.d.ts +1 -0
- package/types/src/utils/install.d.ts +8 -0
- package/types/src/utils/storage.d.ts +18 -0
- package/types/src/utils/style.d.ts +19 -0
- package/types/src/utils/to-kebab-case.d.ts +1 -0
- package/types/src/utils/translate.d.ts +5 -0
- package/types/src/utils/typescript.d.ts +5 -0
- package/es/packages/components/api/remarkApi.js +0 -15
- package/es/packages/components/api/requestRemark.js +0 -47
- package/lib/_virtual/_commonjsHelpers.js +0 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
- package/lib/_virtual/dayjs.min.js +0 -1
- package/lib/_virtual/lodash.js +0 -1
- package/lib/annex-upload/annex-upload.vue.js +0 -1
- package/lib/annex-upload/annex-upload.vue2.js +0 -1
- package/lib/annex-upload/index.js +0 -1
- package/lib/annex-upload/mimeType.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue.js +0 -1
- package/lib/comprehensive-search/comprehensive-search.vue2.js +0 -1
- package/lib/comprehensive-search/index.js +0 -1
- package/lib/copy/copy.vue.js +0 -1
- package/lib/copy/copy.vue2.js +0 -1
- package/lib/copy/index.js +0 -1
- package/lib/image-upload/image-upload.vue.js +0 -1
- package/lib/image-upload/image-upload.vue2.js +0 -1
- package/lib/image-upload/index.js +0 -1
- package/lib/index.js +0 -1
- package/lib/input/index.js +0 -1
- package/lib/input/input.vue.js +0 -1
- package/lib/input/input.vue2.js +0 -1
- package/lib/installs.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +0 -3
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +0 -2
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +0 -1
- package/lib/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +0 -1
- package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -1
- package/lib/node_modules/.pnpm/element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -1
- package/lib/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +0 -27
- package/lib/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +0 -1
- package/lib/operation-log/index.js +0 -1
- package/lib/operation-log/operation-log-content.vue.js +0 -1
- package/lib/operation-log/operation-log-content.vue2.js +0 -1
- package/lib/operation-log/operation-log-dialog.vue.js +0 -1
- package/lib/operation-log/operation-log-dialog.vue2.js +0 -1
- package/lib/operation-log/operation-log-form.vue.js +0 -1
- package/lib/operation-log/operation-log-form.vue2.js +0 -1
- package/lib/operation-log/operation-log.vue.js +0 -1
- package/lib/operation-log/operation-log.vue2.js +0 -1
- package/lib/packages/components/api/log-server.js +0 -1
- package/lib/packages/components/api/remarkApi.js +0 -1
- package/lib/packages/components/api/requestRemark.js +0 -1
- package/lib/packages/components/api/requestTools.js +0 -1
- package/lib/packages/components/assets/images/errorimg.png.js +0 -1
- package/lib/packages/components/assets/images/excel.png.js +0 -1
- package/lib/packages/components/assets/images/file-word.png.js +0 -1
- package/lib/packages/components/assets/images/pdf.png.js +0 -1
- package/lib/packages/components/assets/images/ppt.png.js +0 -1
- package/lib/packages/components/assets/images/vue.svg.js +0 -1
- package/lib/packages/components/hooks/useClipboard.js +0 -1
- package/lib/packages/components/hooks/useImg.js +0 -1
- package/lib/packages/components/hooks/useImgPath.js +0 -1
- package/lib/packages/components/hooks/useImport.js +0 -1
- package/lib/packages/components/hooks/useUpload.js +0 -1
- package/lib/utils/install.js +0 -1
- package/lib/utils/storage.js +0 -1
- package/lib/utils/translate.js +0 -1
- /package/es/node_modules/.pnpm/{element-plus@2.8.3_vue@3.5.4_typescript@5.6.2_ → element-plus@2.8.3_vue@3.5.12_typescript@5.6.2_}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './input';
|
|
2
|
+
export * from './comprehensive-search';
|
|
3
|
+
export * from './copy';
|
|
4
|
+
export * from './image-upload';
|
|
5
|
+
export * from './annex-upload';
|
|
6
|
+
export * from './operation-log';
|
|
7
|
+
export * from './country-platform-shop-condition';
|
|
8
|
+
export * from './left-condition';
|
|
9
|
+
export * from './left-condition-enum';
|
|
10
|
+
export * from './drop-down-condition';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as ComprehensiveSearch } from './comprehensive-search.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义instance类型
|
|
4
|
+
*/
|
|
5
|
+
export type ComprehensiveSearchInstance = InstanceType<typeof ComprehensiveSearch>;
|
|
6
|
+
/**
|
|
7
|
+
* 综合搜索下拉选项
|
|
8
|
+
*/
|
|
9
|
+
export type SearchOptions = {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SearchOptions } from './comprehensive-search';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
5
|
+
confirmSearch?: () => void;
|
|
6
|
+
pasteFormat?: () => void;
|
|
7
|
+
isInSearchChange?: () => void;
|
|
8
|
+
defaultSearch?: string;
|
|
9
|
+
options?: SearchOptions[];
|
|
10
|
+
placeholderText?: string;
|
|
11
|
+
showPatchSearch?: boolean;
|
|
12
|
+
showPatchCheckbox?: boolean;
|
|
13
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
14
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
15
|
+
confirmSearch?: () => void;
|
|
16
|
+
pasteFormat?: () => void;
|
|
17
|
+
isInSearchChange?: () => void;
|
|
18
|
+
defaultSearch?: string;
|
|
19
|
+
options?: SearchOptions[];
|
|
20
|
+
placeholderText?: string;
|
|
21
|
+
showPatchSearch?: boolean;
|
|
22
|
+
showPatchCheckbox?: boolean;
|
|
23
|
+
}> & Readonly<{}>, {
|
|
24
|
+
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
25
|
+
pasteFormat: () => void;
|
|
26
|
+
confirmSearch: () => void;
|
|
27
|
+
isInSearchChange: () => void;
|
|
28
|
+
defaultSearch: string;
|
|
29
|
+
options: SearchOptions[];
|
|
30
|
+
placeholderText: string;
|
|
31
|
+
showPatchSearch: boolean;
|
|
32
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { SearchOptions } from './comprehensive-search';
|
|
4
|
+
export declare const YaheeComprehensiveSearch: SFCWithInstall<DefineComponent<{
|
|
5
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
6
|
+
confirmSearch?: () => void;
|
|
7
|
+
pasteFormat?: () => void;
|
|
8
|
+
isInSearchChange?: () => void;
|
|
9
|
+
defaultSearch?: string;
|
|
10
|
+
options?: SearchOptions[];
|
|
11
|
+
placeholderText?: string;
|
|
12
|
+
showPatchSearch?: boolean;
|
|
13
|
+
showPatchCheckbox?: boolean;
|
|
14
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
15
|
+
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
16
|
+
confirmSearch?: () => void;
|
|
17
|
+
pasteFormat?: () => void;
|
|
18
|
+
isInSearchChange?: () => void;
|
|
19
|
+
defaultSearch?: string;
|
|
20
|
+
options?: SearchOptions[];
|
|
21
|
+
placeholderText?: string;
|
|
22
|
+
showPatchSearch?: boolean;
|
|
23
|
+
showPatchCheckbox?: boolean;
|
|
24
|
+
}> & Readonly<{}>, {
|
|
25
|
+
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
26
|
+
pasteFormat: () => void;
|
|
27
|
+
confirmSearch: () => void;
|
|
28
|
+
isInSearchChange: () => void;
|
|
29
|
+
defaultSearch: string;
|
|
30
|
+
options: SearchOptions[];
|
|
31
|
+
placeholderText: string;
|
|
32
|
+
showPatchSearch: boolean;
|
|
33
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
34
|
+
export default YaheeComprehensiveSearch;
|
|
35
|
+
export * from './comprehensive-search.vue';
|
|
36
|
+
export * from './comprehensive-search';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CopyProps } from './copy';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
|
|
12
|
+
message: string;
|
|
13
|
+
content: string;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
|
|
3
|
+
import { CopyProps } from './copy';
|
|
4
|
+
export declare const YaheeCopy: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
|
|
6
|
+
message: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
16
|
+
message: string;
|
|
17
|
+
content: string;
|
|
18
|
+
}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
23
|
+
message: string;
|
|
24
|
+
content: string;
|
|
25
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
26
|
+
$slots: {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
};
|
|
29
|
+
})> & Record<string, any>;
|
|
30
|
+
export default YaheeCopy;
|
|
31
|
+
export * from './copy.vue';
|
|
32
|
+
export * from './copy';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface data {
|
|
2
|
+
xGroup: Array<{
|
|
3
|
+
xGroupValue: string;
|
|
4
|
+
xGroupText: string;
|
|
5
|
+
}>;
|
|
6
|
+
yGroup: Array<{
|
|
7
|
+
yGroupValue: string;
|
|
8
|
+
yGroupText: string;
|
|
9
|
+
}>;
|
|
10
|
+
items: Array<{
|
|
11
|
+
title: string;
|
|
12
|
+
xGroupValue: string;
|
|
13
|
+
yGroupValue: string;
|
|
14
|
+
text: string;
|
|
15
|
+
value: number | string;
|
|
16
|
+
}>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { data } from './country-platform-shop-condition';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
xyFilters?: data;
|
|
5
|
+
filterKey: string;
|
|
6
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
filterChange: (...args: any[]) => void;
|
|
8
|
+
}, string, PublicProps, Readonly<{
|
|
9
|
+
xyFilters?: data;
|
|
10
|
+
filterKey: string;
|
|
11
|
+
}> & Readonly<{
|
|
12
|
+
onFilterChange?: (...args: any[]) => any;
|
|
13
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { data } from './country-platform-shop-condition';
|
|
4
|
+
export declare const YaheeCountryPlatformShopCondition: SFCWithInstall<DefineComponent<{
|
|
5
|
+
xyFilters?: data;
|
|
6
|
+
filterKey: string;
|
|
7
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
filterChange: (...args: any[]) => void;
|
|
9
|
+
}, string, PublicProps, Readonly<{
|
|
10
|
+
xyFilters?: data;
|
|
11
|
+
filterKey: string;
|
|
12
|
+
}> & Readonly<{
|
|
13
|
+
onFilterChange?: (...args: any[]) => any;
|
|
14
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
15
|
+
export default YaheeCountryPlatformShopCondition;
|
|
16
|
+
export * from './country-platform-shop-condition.vue';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DropdownEntity } from './drop-down-condition';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
filterList?: Array<DropdownEntity>;
|
|
5
|
+
totalCount?: number;
|
|
6
|
+
level1Count?: Array<{
|
|
7
|
+
value: string;
|
|
8
|
+
count: number;
|
|
9
|
+
}>;
|
|
10
|
+
level2Count?: Array<{
|
|
11
|
+
value: string;
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
filterKey: string;
|
|
15
|
+
enumEntity: string;
|
|
16
|
+
noNeedRefreshNumFilterName?: string;
|
|
17
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
+
filterChange: (...args: any[]) => void;
|
|
19
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
20
|
+
}, string, PublicProps, Readonly<{
|
|
21
|
+
filterList?: Array<DropdownEntity>;
|
|
22
|
+
totalCount?: number;
|
|
23
|
+
level1Count?: Array<{
|
|
24
|
+
value: string;
|
|
25
|
+
count: number;
|
|
26
|
+
}>;
|
|
27
|
+
level2Count?: Array<{
|
|
28
|
+
value: string;
|
|
29
|
+
count: number;
|
|
30
|
+
}>;
|
|
31
|
+
filterKey: string;
|
|
32
|
+
enumEntity: string;
|
|
33
|
+
noNeedRefreshNumFilterName?: string;
|
|
34
|
+
}> & Readonly<{
|
|
35
|
+
onFilterChange?: (...args: any[]) => any;
|
|
36
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
37
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { DropdownEntity } from './drop-down-condition';
|
|
4
|
+
export declare const YaheeDropDownCondition: SFCWithInstall<DefineComponent<{
|
|
5
|
+
filterList?: Array< DropdownEntity>;
|
|
6
|
+
totalCount?: number;
|
|
7
|
+
level1Count?: Array<{
|
|
8
|
+
value: string;
|
|
9
|
+
count: number;
|
|
10
|
+
}>;
|
|
11
|
+
level2Count?: Array<{
|
|
12
|
+
value: string;
|
|
13
|
+
count: number;
|
|
14
|
+
}>;
|
|
15
|
+
filterKey: string;
|
|
16
|
+
enumEntity: string;
|
|
17
|
+
noNeedRefreshNumFilterName?: string;
|
|
18
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
+
filterChange: (...args: any[]) => void;
|
|
20
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
21
|
+
}, string, PublicProps, Readonly<{
|
|
22
|
+
filterList?: Array< DropdownEntity>;
|
|
23
|
+
totalCount?: number;
|
|
24
|
+
level1Count?: Array<{
|
|
25
|
+
value: string;
|
|
26
|
+
count: number;
|
|
27
|
+
}>;
|
|
28
|
+
level2Count?: Array<{
|
|
29
|
+
value: string;
|
|
30
|
+
count: number;
|
|
31
|
+
}>;
|
|
32
|
+
filterKey: string;
|
|
33
|
+
enumEntity: string;
|
|
34
|
+
noNeedRefreshNumFilterName?: string;
|
|
35
|
+
}> & Readonly<{
|
|
36
|
+
onFilterChange?: (...args: any[]) => any;
|
|
37
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
38
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
39
|
+
export default YaheeDropDownCondition;
|
|
40
|
+
export * from './drop-down-condition.vue';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as ImageUpload } from './image-upload.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义props类型
|
|
4
|
+
*/
|
|
5
|
+
export interface ImageUploadProps {
|
|
6
|
+
modelValue: {
|
|
7
|
+
index: number;
|
|
8
|
+
fileId: string;
|
|
9
|
+
fileName: string;
|
|
10
|
+
};
|
|
11
|
+
showDelete?: boolean;
|
|
12
|
+
zoom?: number;
|
|
13
|
+
imgSize?: {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
};
|
|
17
|
+
limitImgSize?: boolean;
|
|
18
|
+
limitFileSize?: boolean;
|
|
19
|
+
fileSize?: number;
|
|
20
|
+
fileSizeUnit?: 'kb' | 'KB' | 'mb' | 'MB';
|
|
21
|
+
fileType?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 定义instance类型
|
|
25
|
+
*/
|
|
26
|
+
export type ImageUploadInstance = InstanceType<typeof ImageUpload>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ImageUploadProps } from './image-upload';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
value: string;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: DefineComponent<ImageUploadProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, PublicProps, Readonly<ImageUploadProps> & Readonly<{
|
|
17
|
+
onChange?: (...args: any[]) => any;
|
|
18
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
19
|
+
}>, {
|
|
20
|
+
modelValue: {
|
|
21
|
+
index: number;
|
|
22
|
+
fileId: string;
|
|
23
|
+
fileName: string;
|
|
24
|
+
};
|
|
25
|
+
fileType: string;
|
|
26
|
+
showDelete: boolean;
|
|
27
|
+
zoom: number;
|
|
28
|
+
imgSize: {
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
};
|
|
32
|
+
limitImgSize: boolean;
|
|
33
|
+
limitFileSize: boolean;
|
|
34
|
+
fileSize: number;
|
|
35
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
36
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase } from 'vue';
|
|
3
|
+
import { ImageUploadProps } from './image-upload';
|
|
4
|
+
export declare const YaheeImageUpload: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ImageUploadProps> & Readonly<{
|
|
6
|
+
onChange?: (...args: any[]) => any;
|
|
7
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
8
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
+
change: (...args: any[]) => void;
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ImageUploadProps> & Readonly<{
|
|
12
|
+
onChange?: (...args: any[]) => any;
|
|
13
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
14
|
+
}>, {
|
|
15
|
+
modelValue: {
|
|
16
|
+
index: number;
|
|
17
|
+
fileId: string;
|
|
18
|
+
fileName: string;
|
|
19
|
+
};
|
|
20
|
+
fileType: string;
|
|
21
|
+
showDelete: boolean;
|
|
22
|
+
zoom: number;
|
|
23
|
+
imgSize: {
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
};
|
|
27
|
+
limitImgSize: boolean;
|
|
28
|
+
limitFileSize: boolean;
|
|
29
|
+
fileSize: number;
|
|
30
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
31
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly< ImageUploadProps> & Readonly<{
|
|
39
|
+
onChange?: (...args: any[]) => any;
|
|
40
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
41
|
+
}>, {}, {}, {}, {}, {
|
|
42
|
+
modelValue: {
|
|
43
|
+
index: number;
|
|
44
|
+
fileId: string;
|
|
45
|
+
fileName: string;
|
|
46
|
+
};
|
|
47
|
+
fileType: string;
|
|
48
|
+
showDelete: boolean;
|
|
49
|
+
zoom: number;
|
|
50
|
+
imgSize: {
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
};
|
|
54
|
+
limitImgSize: boolean;
|
|
55
|
+
limitFileSize: boolean;
|
|
56
|
+
fileSize: number;
|
|
57
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
58
|
+
}>;
|
|
59
|
+
__isFragment?: never;
|
|
60
|
+
__isTeleport?: never;
|
|
61
|
+
__isSuspense?: never;
|
|
62
|
+
} & ComponentOptionsBase<Readonly< ImageUploadProps> & Readonly<{
|
|
63
|
+
onChange?: (...args: any[]) => any;
|
|
64
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
65
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
66
|
+
change: (...args: any[]) => void;
|
|
67
|
+
"update:modelValue": (...args: any[]) => void;
|
|
68
|
+
}, string, {
|
|
69
|
+
modelValue: {
|
|
70
|
+
index: number;
|
|
71
|
+
fileId: string;
|
|
72
|
+
fileName: string;
|
|
73
|
+
};
|
|
74
|
+
fileType: string;
|
|
75
|
+
showDelete: boolean;
|
|
76
|
+
zoom: number;
|
|
77
|
+
imgSize: {
|
|
78
|
+
width: number;
|
|
79
|
+
height: number;
|
|
80
|
+
};
|
|
81
|
+
limitImgSize: boolean;
|
|
82
|
+
limitFileSize: boolean;
|
|
83
|
+
fileSize: number;
|
|
84
|
+
fileSizeUnit: "kb" | "KB" | "mb" | "MB";
|
|
85
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
86
|
+
$slots: {
|
|
87
|
+
default?(_: {
|
|
88
|
+
value: string;
|
|
89
|
+
}): any;
|
|
90
|
+
};
|
|
91
|
+
})> & Record<string, any>;
|
|
92
|
+
export default YaheeImageUpload;
|
|
93
|
+
export * from './image-upload.vue';
|
|
94
|
+
export * from './image-upload';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { InputProps } from './input';
|
|
4
|
+
export declare const YaheeInput: SFCWithInstall<DefineComponent<InputProps, {
|
|
5
|
+
focus: () => void;
|
|
6
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, PublicProps, Readonly< InputProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
10
|
+
}>, {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
14
|
+
export default YaheeInput;
|
|
15
|
+
export * from './input.vue';
|
|
16
|
+
export * from './input';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as Input } from './input.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义props类型
|
|
4
|
+
*/
|
|
5
|
+
export interface InputProps {
|
|
6
|
+
modelValue: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 定义emit类型
|
|
11
|
+
*/
|
|
12
|
+
export type InputEmits = {
|
|
13
|
+
'update:modelValue': [value: string];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 定义instance类型
|
|
17
|
+
*/
|
|
18
|
+
export type InputInstance = InstanceType<typeof Input>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InputProps } from './input';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function focus(): void;
|
|
4
|
+
declare const _default: DefineComponent<InputProps, {
|
|
5
|
+
focus: typeof focus;
|
|
6
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, PublicProps, Readonly<InputProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
10
|
+
}>, {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|