yahee-components 0.0.18 → 0.0.19
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/_virtual/dayjs.min.js +4 -0
- package/es/annex-upload/annex-upload.vue.js +158 -0
- package/es/annex-upload/annex-upload.vue2.js +4 -0
- package/es/annex-upload/index.js +7 -0
- package/es/annex-upload/mimeType.js +822 -0
- package/es/annex-upload/style/index.css +7 -0
- package/es/api/server.js +29 -0
- package/es/api/tool.js +68 -0
- package/es/comprehensive-search/comprehensive-search.vue.js +165 -122
- package/es/copy/copy.vue.js +1 -1
- 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 +216 -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 +177 -0
- package/es/image-upload/image-upload.vue2.js +4 -0
- package/es/image-upload/index.js +7 -0
- package/es/image-upload/style/index.css +33 -0
- package/es/index.js +26 -7
- package/es/installs.js +22 -4
- 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 +216 -0
- package/es/left-condition/left-condition.vue2.js +4 -0
- package/es/left-condition/style/index.css +10 -0
- package/es/left-condition-enum/index.js +7 -0
- package/es/left-condition-enum/left-condition-enum.vue.js +80 -0
- package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
- package/es/left-condition-enum/style/index.css +10 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js +38 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js +53 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js +141 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js +71 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js +46 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js +77 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js +133 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js +173 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js +58 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js +70 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js +14 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js +13 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js +89 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js +30 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js +31 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js +35 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js +33 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js +8 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js +15 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js +83 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js +63 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js +51 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js +9 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js +9 -0
- package/es/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js +233 -0
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +282 -0
- package/es/node_modules/{lodash → .pnpm/lodash@4.17.21/node_modules/lodash}/lodash.js +2 -2
- package/es/node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +120 -0
- package/es/operation-log/index.js +7 -0
- package/es/operation-log/operation-log-content.vue.js +100 -0
- package/es/operation-log/operation-log-content.vue2.js +4 -0
- package/es/operation-log/operation-log-dialog.vue.js +70 -0
- package/es/operation-log/operation-log-dialog.vue2.js +4 -0
- package/es/operation-log/operation-log-form.vue.js +181 -0
- package/es/operation-log/operation-log-form.vue2.js +4 -0
- package/es/operation-log/operation-log.vue.js +232 -0
- package/es/operation-log/operation-log.vue2.js +4 -0
- package/es/operation-log/style/index.css +220 -0
- package/es/packages/components/api/log/index.js +15 -0
- package/es/packages/components/api/log-server.js +50 -0
- package/es/packages/components/api/server.js +32 -0
- package/es/packages/components/api/tool.js +56 -0
- package/es/packages/components/api/upload-server.js +65 -0
- package/es/packages/components/assets/images/errorimg.png.js +4 -0
- package/es/packages/components/assets/images/excel.png.js +4 -0
- package/es/packages/components/assets/images/file-word.png.js +4 -0
- package/es/packages/components/assets/images/pdf.png.js +4 -0
- package/es/packages/components/assets/images/ppt.png.js +4 -0
- package/es/packages/components/assets/images/vue.svg.js +4 -0
- package/es/packages/components/hooks/useClipboard.js +30 -0
- package/es/packages/components/hooks/useImg.js +15 -0
- package/es/packages/components/hooks/useImgPath.js +14 -0
- package/es/packages/components/hooks/useImport.js +33 -0
- package/es/packages/components/hooks/useUpload.js +24 -0
- package/es/static/CommonObject.js +4 -0
- package/es/style.css +946 -0
- package/es/styles/custom.css +83 -0
- package/es/styles/globals.css +697 -0
- package/es/styles/index.css +787 -0
- package/es/styles/variables.css +32 -0
- package/es/utils/config.js +19 -0
- package/es/utils/const.js +19 -0
- package/es/utils/storage.js +52 -0
- package/es/utils/style.js +28 -0
- package/es/utils/translate.js +57 -0
- package/lib/annex-upload/style/index.css +7 -0
- package/lib/country-platform-shop-condition/style/index.css +48 -0
- package/lib/drop-down-condition/style/index.css +45 -0
- package/lib/image-upload/style/index.css +33 -0
- package/lib/left-condition/style/index.css +10 -0
- package/lib/left-condition-enum/style/index.css +10 -0
- package/lib/operation-log/style/index.css +220 -0
- package/lib/style.css +946 -0
- package/lib/styles/custom.css +83 -0
- package/lib/styles/globals.css +697 -0
- package/lib/styles/index.css +787 -0
- package/lib/styles/variables.css +32 -0
- package/package.json +10 -4
- 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 -204
- 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 +52 -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 +40 -0
- package/types/src/drop-down-condition/index.d.ts +42 -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/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 +162 -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 +160 -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/hooks/useClipboard.js +0 -28
- package/lib/_virtual/_commonjsHelpers.js +0 -1
- package/lib/_virtual/lodash.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/hooks/useClipboard.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/element-plus/es/locale/lang/zh-cn.js +0 -1
- package/lib/node_modules/lodash/lodash.js +0 -27
- package/lib/utils/install.js +0 -1
- /package/es/node_modules/{element-plus → .pnpm/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,32 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--el-color-primary: #3366cc;
|
|
3
|
+
--el-text-color-regular: #000;
|
|
4
|
+
--primary-color: #3d7eff;
|
|
5
|
+
--success-color: #28c445;
|
|
6
|
+
--error-color: #ff1e1e;
|
|
7
|
+
--warning-color: #ff8746;
|
|
8
|
+
--white-color: #fff;
|
|
9
|
+
--black-color: #000;
|
|
10
|
+
--text-color-primary: #252628;
|
|
11
|
+
--text-color-regular: #1c1c1c;
|
|
12
|
+
--text-color-secondary: #555;
|
|
13
|
+
--text-color-list: #323233;
|
|
14
|
+
--text-color-a4: #a4a4a4;
|
|
15
|
+
--text-color-tag: #737373;
|
|
16
|
+
--text-color-disabled: #eeeef5;
|
|
17
|
+
--border-color-base: #e8ecf2;
|
|
18
|
+
--border-color-light: #e4e7ed;
|
|
19
|
+
--border-color-lighter: #ebeef5;
|
|
20
|
+
--border-color-extra-light: #f2f6fc;
|
|
21
|
+
--bg-color: #f0f3f9;
|
|
22
|
+
--font-size-large: 18px;
|
|
23
|
+
--font-size-medium: 16px;
|
|
24
|
+
--font-size-base: 14px;
|
|
25
|
+
--font-size-small: 12px;
|
|
26
|
+
--font-size-extra-small: 10px;
|
|
27
|
+
--font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
|
|
28
|
+
--integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
|
|
29
|
+
--box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
30
|
+
--el-menu-item-height: 40px;
|
|
31
|
+
--el-card-padding: 10px;
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yahee-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.19",
|
|
5
5
|
"description": "深圳前海亚讯前端组件库",
|
|
6
6
|
"main": "lib",
|
|
7
7
|
"module": "es",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"global.d.ts"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "gulp -f build/gulpfile.js"
|
|
17
|
+
"build": "gulp -f build/gulpfile.js",
|
|
18
|
+
"build:dev": "gulp -f build/gulpfile.js --dev"
|
|
18
19
|
},
|
|
19
20
|
"keywords": [],
|
|
20
21
|
"author": "",
|
|
@@ -29,10 +30,15 @@
|
|
|
29
30
|
"unplugin-element-plus": "^0.8.0"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
33
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
34
|
+
"@vueuse/core": "^11.1.0",
|
|
35
|
+
"dayjs": "^1.11.13",
|
|
32
36
|
"element-plus": "^2.8.3",
|
|
33
|
-
"
|
|
37
|
+
"v3-infinite-loading": "^1.3.2"
|
|
34
38
|
},
|
|
35
39
|
"dependencies": {
|
|
36
|
-
"dotenv": "^16.4.5"
|
|
40
|
+
"dotenv": "^16.4.5",
|
|
41
|
+
"install": "^0.13.0",
|
|
42
|
+
"lodash": "^4.17.21"
|
|
37
43
|
}
|
|
38
44
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const useIsImg: (file: File) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* 上传文件
|
|
4
|
+
* @param fileType
|
|
5
|
+
* @param file
|
|
6
|
+
* @param callback
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare const useUpload: (fileType: string, file: File, progressCallback?: any) => Promise<{
|
|
10
|
+
id: string;
|
|
11
|
+
url: string;
|
|
12
|
+
}>;
|
package/types/index.d.ts
CHANGED
|
@@ -1,204 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
8
|
-
import { DefineComponent } from 'vue';
|
|
9
|
-
import { GlobalComponents } from 'vue';
|
|
10
|
-
import { GlobalDirectives } from 'vue';
|
|
11
|
-
import { Plugin as Plugin_2 } from 'vue';
|
|
12
|
-
import { PublicProps } from 'vue';
|
|
13
|
-
import { VNodeProps } from 'vue';
|
|
14
|
-
|
|
15
|
-
declare const __VLS_component: DefineComponent<CopyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CopyProps> & Readonly<{}>, {
|
|
16
|
-
message: string;
|
|
17
|
-
content: string;
|
|
18
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
|
|
20
|
-
declare function __VLS_template(): {
|
|
21
|
-
slots: {
|
|
22
|
-
default?(_: {}): any;
|
|
23
|
-
};
|
|
24
|
-
refs: {};
|
|
25
|
-
attrs: Partial<{}>;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
-
|
|
30
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* 定义instance类型
|
|
38
|
-
*/
|
|
39
|
-
export declare type ComprehensiveSearchInstance = InstanceType<typeof _default_3>;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* 定义instance类型
|
|
43
|
-
*/
|
|
44
|
-
export declare type CopyInstance = InstanceType<typeof _default_4>;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* 定义props类型
|
|
48
|
-
*/
|
|
49
|
-
export declare interface CopyProps {
|
|
50
|
-
content: string;
|
|
51
|
-
message?: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
declare const _default: {
|
|
55
|
-
install: (app: App) => void;
|
|
56
|
-
};
|
|
57
|
-
export default _default;
|
|
58
|
-
|
|
59
|
-
declare const _default_2: DefineComponent<InputProps, {
|
|
60
|
-
focus: typeof focus_2;
|
|
61
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
62
|
-
"update:modelValue": (value: string) => any;
|
|
63
|
-
}, string, PublicProps, Readonly<InputProps> & Readonly<{
|
|
64
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
65
|
-
}>, {
|
|
66
|
-
modelValue: string;
|
|
67
|
-
disabled: boolean;
|
|
68
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
69
|
-
|
|
70
|
-
declare const _default_3: DefineComponent<{
|
|
71
|
-
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
72
|
-
confirmSearch?: () => void;
|
|
73
|
-
pasteFormat?: () => void;
|
|
74
|
-
isInSearchChange?: () => void;
|
|
75
|
-
defaultSearch?: string;
|
|
76
|
-
options?: SearchOptions[];
|
|
77
|
-
placeholderText?: string;
|
|
78
|
-
showPatchSearch?: boolean;
|
|
79
|
-
showPatchCheckbox?: boolean;
|
|
80
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
81
|
-
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
82
|
-
confirmSearch?: () => void;
|
|
83
|
-
pasteFormat?: () => void;
|
|
84
|
-
isInSearchChange?: () => void;
|
|
85
|
-
defaultSearch?: string;
|
|
86
|
-
options?: SearchOptions[];
|
|
87
|
-
placeholderText?: string;
|
|
88
|
-
showPatchSearch?: boolean;
|
|
89
|
-
showPatchCheckbox?: boolean;
|
|
90
|
-
}> & Readonly<{}>, {
|
|
91
|
-
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
92
|
-
pasteFormat: () => void;
|
|
93
|
-
confirmSearch: () => void;
|
|
94
|
-
isInSearchChange: () => void;
|
|
95
|
-
defaultSearch: string;
|
|
96
|
-
options: SearchOptions[];
|
|
97
|
-
placeholderText: string;
|
|
98
|
-
showPatchSearch: boolean;
|
|
99
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
100
|
-
|
|
101
|
-
declare const _default_4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
102
|
-
|
|
103
|
-
declare function focus_2(): void;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* 定义emit类型
|
|
107
|
-
*/
|
|
108
|
-
export declare type InputEmits = {
|
|
109
|
-
'update:modelValue': [value: string];
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* 定义instance类型
|
|
114
|
-
*/
|
|
115
|
-
export declare type InputInstance = InstanceType<typeof _default_2>;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* 定义props类型
|
|
119
|
-
*/
|
|
120
|
-
export declare interface InputProps {
|
|
121
|
-
modelValue: string;
|
|
122
|
-
disabled?: boolean;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* 综合搜索下拉选项
|
|
127
|
-
*/
|
|
128
|
-
export declare type SearchOptions = {
|
|
129
|
-
value: string;
|
|
130
|
-
label: string;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
declare type SFCWithInstall<T> = T & Plugin_2;
|
|
134
|
-
|
|
135
|
-
export declare const YaheeComprehensiveSearch: SFCWithInstall<DefineComponent<{
|
|
136
|
-
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
137
|
-
confirmSearch?: () => void;
|
|
138
|
-
pasteFormat?: () => void;
|
|
139
|
-
isInSearchChange?: () => void;
|
|
140
|
-
defaultSearch?: string;
|
|
141
|
-
options?: SearchOptions[];
|
|
142
|
-
placeholderText?: string;
|
|
143
|
-
showPatchSearch?: boolean;
|
|
144
|
-
showPatchCheckbox?: boolean;
|
|
145
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
146
|
-
dealSearch?: (selectedSearchType: string, searchQuery: string) => void;
|
|
147
|
-
confirmSearch?: () => void;
|
|
148
|
-
pasteFormat?: () => void;
|
|
149
|
-
isInSearchChange?: () => void;
|
|
150
|
-
defaultSearch?: string;
|
|
151
|
-
options?: SearchOptions[];
|
|
152
|
-
placeholderText?: string;
|
|
153
|
-
showPatchSearch?: boolean;
|
|
154
|
-
showPatchCheckbox?: boolean;
|
|
155
|
-
}> & Readonly<{}>, {
|
|
156
|
-
dealSearch: (selectedSearchType: string, searchQuery: string) => void;
|
|
157
|
-
pasteFormat: () => void;
|
|
158
|
-
confirmSearch: () => void;
|
|
159
|
-
isInSearchChange: () => void;
|
|
160
|
-
defaultSearch: string;
|
|
161
|
-
options: SearchOptions[];
|
|
162
|
-
placeholderText: string;
|
|
163
|
-
showPatchSearch: boolean;
|
|
164
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
165
|
-
|
|
166
|
-
export declare const YaheeCopy: SFCWithInstall<{
|
|
167
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< CopyProps> & Readonly<{}>, {
|
|
168
|
-
message: string;
|
|
169
|
-
content: string;
|
|
170
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
171
|
-
P: {};
|
|
172
|
-
B: {};
|
|
173
|
-
D: {};
|
|
174
|
-
C: {};
|
|
175
|
-
M: {};
|
|
176
|
-
Defaults: {};
|
|
177
|
-
}, Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
178
|
-
message: string;
|
|
179
|
-
content: string;
|
|
180
|
-
}>;
|
|
181
|
-
__isFragment?: never;
|
|
182
|
-
__isTeleport?: never;
|
|
183
|
-
__isSuspense?: never;
|
|
184
|
-
} & ComponentOptionsBase<Readonly< CopyProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
185
|
-
message: string;
|
|
186
|
-
content: string;
|
|
187
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
188
|
-
$slots: {
|
|
189
|
-
default?(_: {}): any;
|
|
190
|
-
};
|
|
191
|
-
})> & Record<string, any>;
|
|
192
|
-
|
|
193
|
-
export declare const YaheeInput: SFCWithInstall<DefineComponent<InputProps, {
|
|
194
|
-
focus: () => void;
|
|
195
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
196
|
-
"update:modelValue": (value: string) => any;
|
|
197
|
-
}, string, PublicProps, Readonly< InputProps> & Readonly<{
|
|
198
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
199
|
-
}>, {
|
|
200
|
-
modelValue: string;
|
|
201
|
-
disabled: boolean;
|
|
202
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
203
|
-
|
|
204
|
-
export { }
|
|
1
|
+
export * from './src/index'
|
|
2
|
+
export {}
|
|
3
|
+
import YAHEE_COMPONENTS from './src/index'
|
|
4
|
+
export default YAHEE_COMPONENTS
|
|
5
|
+
export * from './src/index'
|
|
6
|
+
export {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { default as AnnexUpload } from './annex-upload.vue';
|
|
2
|
+
/**
|
|
3
|
+
* 定义props类型
|
|
4
|
+
*/
|
|
5
|
+
export interface AnnexUploadProps {
|
|
6
|
+
modelValue: {
|
|
7
|
+
index: number;
|
|
8
|
+
fileId: string;
|
|
9
|
+
fileName: string;
|
|
10
|
+
}[];
|
|
11
|
+
fileList?: {
|
|
12
|
+
name: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}[];
|
|
15
|
+
showList?: boolean;
|
|
16
|
+
fileType?: string;
|
|
17
|
+
accept?: string;
|
|
18
|
+
checkRealType?: boolean;
|
|
19
|
+
limit?: number;
|
|
20
|
+
limitFileSize?: boolean;
|
|
21
|
+
fileSize?: number;
|
|
22
|
+
fileSizeUnit?: 'kb' | 'KB' | 'mb' | 'MB';
|
|
23
|
+
uploadType?: 'upload' | 'import';
|
|
24
|
+
validateEvent?: boolean;
|
|
25
|
+
showTips?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 定义instance类型
|
|
29
|
+
*/
|
|
30
|
+
export type AnnexUploadInstance = InstanceType<typeof AnnexUpload>;
|