giime 0.0.8 → 0.0.9
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/components/src/base/backtop/Backtop.vue.d.ts +1 -1
- package/es/components/src/base/backtop/index.d.ts +3 -3
- package/es/components/src/base/breadcrumbItem/BreadcrumbItem.vue.d.ts +1 -1
- package/es/components/src/base/breadcrumbItem/index.d.ts +3 -3
- package/es/components/src/base/pagination/Pagination.vue.d.ts +1 -1
- package/es/components/src/base/pagination/index.d.ts +3 -3
- package/es/components/src/business/tableBody/TableBody.vue.d.ts +1 -1
- package/es/components/src/business/tableBody/index.d.ts +3 -3
- package/es/giime/index.mjs +1 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/utils/index.mjs +1 -0
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/src/http/devProxy.mjs +31 -0
- package/es/utils/src/http/devProxy.mjs.map +1 -0
- package/es/utils/src/http/index.d.ts +1 -0
- package/es/utils/src/http/index.mjs +1 -0
- package/es/utils/src/http/index.mjs.map +1 -1
- package/lib/components/src/base/backtop/Backtop.vue.d.ts +1 -1
- package/lib/components/src/base/backtop/index.d.ts +3 -3
- package/lib/components/src/base/breadcrumbItem/BreadcrumbItem.vue.d.ts +1 -1
- package/lib/components/src/base/breadcrumbItem/index.d.ts +3 -3
- package/lib/components/src/base/pagination/Pagination.vue.d.ts +1 -1
- package/lib/components/src/base/pagination/index.d.ts +3 -3
- package/lib/components/src/business/tableBody/TableBody.vue.d.ts +1 -1
- package/lib/components/src/business/tableBody/index.d.ts +3 -3
- package/lib/giime/index.js +2 -0
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/utils/index.js +2 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/http/devProxy.js +33 -0
- package/lib/utils/src/http/devProxy.js.map +1 -0
- package/lib/utils/src/http/index.d.ts +1 -0
- package/lib/utils/src/http/index.js +2 -0
- package/lib/utils/src/http/index.js.map +1 -1
- package/package.json +1 -1
- /package/es/utils/src/http/{devProxy.d.cts → devProxy.d.ts} +0 -0
- /package/lib/utils/src/http/{devProxy.d.cts → devProxy.d.ts} +0 -0
|
@@ -337,8 +337,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
337
337
|
}>> & {
|
|
338
338
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
339
339
|
}, {
|
|
340
|
-
bottom: number;
|
|
341
340
|
target: string;
|
|
341
|
+
bottom: number;
|
|
342
342
|
right: number;
|
|
343
343
|
visibilityHeight: number;
|
|
344
344
|
}, {}>, {
|
|
@@ -341,8 +341,8 @@ export declare const GmBacktop: import("../../../../utils").SFCWithInstall<{
|
|
|
341
341
|
}>> & {
|
|
342
342
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
343
343
|
}, {
|
|
344
|
-
bottom: number;
|
|
345
344
|
target: string;
|
|
345
|
+
bottom: number;
|
|
346
346
|
right: number;
|
|
347
347
|
visibilityHeight: number;
|
|
348
348
|
}, true, {}, {}, {
|
|
@@ -672,8 +672,8 @@ export declare const GmBacktop: import("../../../../utils").SFCWithInstall<{
|
|
|
672
672
|
readonly visibilityHeight: number;
|
|
673
673
|
}> | undefined>;
|
|
674
674
|
}, {}, {}, {}, {
|
|
675
|
-
bottom: number;
|
|
676
675
|
target: string;
|
|
676
|
+
bottom: number;
|
|
677
677
|
right: number;
|
|
678
678
|
visibilityHeight: number;
|
|
679
679
|
}>;
|
|
@@ -1002,8 +1002,8 @@ export declare const GmBacktop: import("../../../../utils").SFCWithInstall<{
|
|
|
1002
1002
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1003
1003
|
click: (evt: MouseEvent) => void;
|
|
1004
1004
|
}, string, {
|
|
1005
|
-
bottom: number;
|
|
1006
1005
|
target: string;
|
|
1006
|
+
bottom: number;
|
|
1007
1007
|
right: number;
|
|
1008
1008
|
visibilityHeight: number;
|
|
1009
1009
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -215,8 +215,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
215
215
|
to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
|
|
216
216
|
replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
217
217
|
}>>, {
|
|
218
|
-
to: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
219
218
|
replace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
219
|
+
to: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
220
220
|
}, {}>, {
|
|
221
221
|
default?(_: any): any;
|
|
222
222
|
}>;
|
|
@@ -217,8 +217,8 @@ export declare const GmBreadcrumbItem: import("../../../../utils").SFCWithInstal
|
|
|
217
217
|
to: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
|
|
218
218
|
replace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
219
219
|
}>>, {
|
|
220
|
-
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
221
220
|
replace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
221
|
+
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
222
222
|
}, true, {}, {}, {
|
|
223
223
|
P: {};
|
|
224
224
|
B: {};
|
|
@@ -440,8 +440,8 @@ export declare const GmBreadcrumbItem: import("../../../../utils").SFCWithInstal
|
|
|
440
440
|
readonly to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
441
441
|
}> | undefined>;
|
|
442
442
|
}, {}, {}, {}, {
|
|
443
|
-
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
444
443
|
replace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
444
|
+
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
445
445
|
}>;
|
|
446
446
|
__isFragment?: undefined;
|
|
447
447
|
__isTeleport?: undefined;
|
|
@@ -660,8 +660,8 @@ export declare const GmBreadcrumbItem: import("../../../../utils").SFCWithInstal
|
|
|
660
660
|
readonly to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
661
661
|
}> | undefined>;
|
|
662
662
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
663
|
-
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
664
663
|
replace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
664
|
+
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
665
665
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
666
666
|
$slots: {
|
|
667
667
|
default?(_: any): any;
|
|
@@ -55,10 +55,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
55
55
|
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
56
56
|
"onNext-click"?: ((val: number) => any) | undefined;
|
|
57
57
|
}, {
|
|
58
|
+
small: boolean;
|
|
58
59
|
popperClass: string;
|
|
59
60
|
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
60
61
|
disabled: boolean;
|
|
61
|
-
small: boolean;
|
|
62
62
|
pagerCount: number;
|
|
63
63
|
layout: string;
|
|
64
64
|
pageSizes: number[];
|
|
@@ -65,10 +65,10 @@ export declare const GmPagination: import("../../../../utils").SFCWithInstall<{
|
|
|
65
65
|
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
66
66
|
"onNext-click"?: ((val: number) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
|
+
small: boolean;
|
|
68
69
|
popperClass: string;
|
|
69
70
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
70
71
|
disabled: boolean;
|
|
71
|
-
small: boolean;
|
|
72
72
|
pagerCount: number;
|
|
73
73
|
layout: string;
|
|
74
74
|
pageSizes: number[];
|
|
@@ -114,10 +114,10 @@ export declare const GmPagination: import("../../../../utils").SFCWithInstall<{
|
|
|
114
114
|
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
115
115
|
"onNext-click"?: ((val: number) => any) | undefined;
|
|
116
116
|
}, {}, {}, {}, {}, {
|
|
117
|
+
small: boolean;
|
|
117
118
|
popperClass: string;
|
|
118
119
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
119
120
|
disabled: boolean;
|
|
120
|
-
small: boolean;
|
|
121
121
|
pagerCount: number;
|
|
122
122
|
layout: string;
|
|
123
123
|
pageSizes: number[];
|
|
@@ -168,10 +168,10 @@ export declare const GmPagination: import("../../../../utils").SFCWithInstall<{
|
|
|
168
168
|
"prev-click": (val: number) => void;
|
|
169
169
|
"next-click": (val: number) => void;
|
|
170
170
|
}, string, {
|
|
171
|
+
small: boolean;
|
|
171
172
|
popperClass: string;
|
|
172
173
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
173
174
|
disabled: boolean;
|
|
174
|
-
small: boolean;
|
|
175
175
|
pagerCount: number;
|
|
176
176
|
layout: string;
|
|
177
177
|
pageSizes: number[];
|
|
@@ -363,12 +363,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
363
363
|
onCurrentChange?: ((value: number) => any) | undefined;
|
|
364
364
|
}, {
|
|
365
365
|
data: unknown[];
|
|
366
|
+
small: boolean;
|
|
366
367
|
headerList: HeaderListItem[];
|
|
367
368
|
operateList: OperateListItem[];
|
|
368
369
|
popperClass: string;
|
|
369
370
|
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
370
371
|
disabled: boolean;
|
|
371
|
-
small: boolean;
|
|
372
372
|
fit: boolean;
|
|
373
373
|
border: boolean;
|
|
374
374
|
style: import("vue").CSSProperties;
|
|
@@ -368,12 +368,12 @@ export declare const GmTableBody: import("../../../../utils").SFCWithInstall<{
|
|
|
368
368
|
onCurrentChange?: ((value: number) => any) | undefined;
|
|
369
369
|
}, {
|
|
370
370
|
data: unknown[];
|
|
371
|
+
small: boolean;
|
|
371
372
|
headerList: import("../tableHeader/tableHeader.js").HeaderListItem[];
|
|
372
373
|
operateList: import("../customOperations/customOperations.js").OperateListItem[];
|
|
373
374
|
popperClass: string;
|
|
374
375
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
375
376
|
disabled: boolean;
|
|
376
|
-
small: boolean;
|
|
377
377
|
fit: boolean;
|
|
378
378
|
border: boolean;
|
|
379
379
|
style: import("vue").CSSProperties;
|
|
@@ -603,12 +603,12 @@ export declare const GmTableBody: import("../../../../utils").SFCWithInstall<{
|
|
|
603
603
|
onCurrentChange?: ((value: number) => any) | undefined;
|
|
604
604
|
}, {}, {}, {}, {}, {
|
|
605
605
|
data: unknown[];
|
|
606
|
+
small: boolean;
|
|
606
607
|
headerList: import("../tableHeader/tableHeader.js").HeaderListItem[];
|
|
607
608
|
operateList: import("../customOperations/customOperations.js").OperateListItem[];
|
|
608
609
|
popperClass: string;
|
|
609
610
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
610
611
|
disabled: boolean;
|
|
611
|
-
small: boolean;
|
|
612
612
|
fit: boolean;
|
|
613
613
|
border: boolean;
|
|
614
614
|
style: import("vue").CSSProperties;
|
|
@@ -841,12 +841,12 @@ export declare const GmTableBody: import("../../../../utils").SFCWithInstall<{
|
|
|
841
841
|
currentChange: (value: number) => void;
|
|
842
842
|
}, string, {
|
|
843
843
|
data: unknown[];
|
|
844
|
+
small: boolean;
|
|
844
845
|
headerList: import("../tableHeader/tableHeader.js").HeaderListItem[];
|
|
845
846
|
operateList: import("../customOperations/customOperations.js").OperateListItem[];
|
|
846
847
|
popperClass: string;
|
|
847
848
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
848
849
|
disabled: boolean;
|
|
849
|
-
small: boolean;
|
|
850
850
|
fit: boolean;
|
|
851
851
|
border: boolean;
|
|
852
852
|
style: import("vue").CSSProperties;
|
package/es/giime/index.mjs
CHANGED
|
@@ -11,6 +11,7 @@ export { getGmExports } from '../utils/src/elementPlus/exports.mjs';
|
|
|
11
11
|
export { createAxios } from '../utils/src/http/createAxios.mjs';
|
|
12
12
|
export { errorMessage, responseErrorMessage } from '../utils/src/http/errorMessage.mjs';
|
|
13
13
|
export { req401Interceptors, res401Interceptors } from '../utils/src/http/interceptors.mjs';
|
|
14
|
+
export { giimeDevProxy } from '../utils/src/http/devProxy.mjs';
|
|
14
15
|
export { keysOf } from '../utils/src/objects.mjs';
|
|
15
16
|
export { affixEmits, affixProps } from '../components/src/base/affix/affix.mjs';
|
|
16
17
|
export { GmAffix } from '../components/src/base/affix/index.mjs';
|
package/es/giime/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,MAAM,UAAU,SAAU,CAAA,QAAA;AAC1B,MAAM,UAAU,SAAU,CAAA;;;;"}
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.9";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.0.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.0.8';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/es/utils/index.mjs
CHANGED
|
@@ -11,4 +11,5 @@ export { getGmExports } from './src/elementPlus/exports.mjs';
|
|
|
11
11
|
export { createAxios } from './src/http/createAxios.mjs';
|
|
12
12
|
export { errorMessage, responseErrorMessage } from './src/http/errorMessage.mjs';
|
|
13
13
|
export { req401Interceptors, res401Interceptors } from './src/http/interceptors.mjs';
|
|
14
|
+
export { giimeDevProxy } from './src/http/devProxy.mjs';
|
|
14
15
|
//# sourceMappingURL=index.mjs.map
|
package/es/utils/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const giimeDevProxy = {
|
|
2
|
+
// https://cn.vitejs.dev/config/#server-proxy
|
|
3
|
+
"/gstore-api": {
|
|
4
|
+
target: "http://192.168.4.125:10086/gstore/",
|
|
5
|
+
changeOrigin: true,
|
|
6
|
+
rewrite: (p) => p.replace(/^\/gstore-api/, "")
|
|
7
|
+
},
|
|
8
|
+
"/material-api": {
|
|
9
|
+
target: "http://192.168.4.130:8002",
|
|
10
|
+
changeOrigin: true,
|
|
11
|
+
rewrite: (p) => p.replace(/^\/material-api/, "")
|
|
12
|
+
},
|
|
13
|
+
"/shop-admin-api": {
|
|
14
|
+
target: "http://192.168.4.130:8001",
|
|
15
|
+
changeOrigin: true,
|
|
16
|
+
rewrite: (p) => p.replace(/^\/shop-admin-api/, "")
|
|
17
|
+
},
|
|
18
|
+
"/gateway-api": {
|
|
19
|
+
target: "http://192.168.1.115:8082/",
|
|
20
|
+
changeOrigin: true,
|
|
21
|
+
rewrite: (p) => p.replace(/^\/gateway-api/, "")
|
|
22
|
+
},
|
|
23
|
+
"/third-api": {
|
|
24
|
+
target: "https://third-gw.giimall.net/",
|
|
25
|
+
changeOrigin: true,
|
|
26
|
+
rewrite: (p) => p.replace(/^\/third-api/, "")
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { giimeDevProxy };
|
|
31
|
+
//# sourceMappingURL=devProxy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devProxy.mjs","sources":["../../../../../../packages/utils/src/http/devProxy.ts"],"sourcesContent":["import type { ProxyOptions } from 'vite';\r\n\r\nexport const giimeDevProxy: Record<string, string | ProxyOptions> = {\r\n // https://cn.vitejs.dev/config/#server-proxy\r\n '/gstore-api': {\r\n target: 'http://192.168.4.125:10086/gstore/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/gstore-api/, ''),\r\n },\r\n '/material-api': {\r\n target: 'http://192.168.4.130:8002',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/material-api/, ''),\r\n },\r\n '/shop-admin-api': {\r\n target: 'http://192.168.4.130:8001',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/shop-admin-api/, ''),\r\n },\r\n '/gateway-api': {\r\n target: 'http://192.168.1.115:8082/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/gateway-api/, ''),\r\n },\r\n '/third-api': {\r\n target: 'https://third-gw.giimall.net/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/third-api/, ''),\r\n },\r\n};\r\n"],"names":[],"mappings":"AAEO,MAAM,aAAuD,GAAA;AAAA;AAAA,EAElE,aAAe,EAAA;AAAA,IACb,MAAQ,EAAA,oCAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,iBAAiB,EAAE,CAAA;AAAA,GAC7C;AAAA,EACA,eAAiB,EAAA;AAAA,IACf,MAAQ,EAAA,2BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,mBAAmB,EAAE,CAAA;AAAA,GAC/C;AAAA,EACA,iBAAmB,EAAA;AAAA,IACjB,MAAQ,EAAA,2BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,qBAAqB,EAAE,CAAA;AAAA,GACjD;AAAA,EACA,cAAgB,EAAA;AAAA,IACd,MAAQ,EAAA,4BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,kBAAkB,EAAE,CAAA;AAAA,GAC9C;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA,+BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,gBAAgB,EAAE,CAAA;AAAA,GAC5C;AACF;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { createAxios } from './createAxios.mjs';
|
|
2
2
|
export { errorMessage, responseErrorMessage } from './errorMessage.mjs';
|
|
3
3
|
export { req401Interceptors, res401Interceptors } from './interceptors.mjs';
|
|
4
|
+
export { giimeDevProxy } from './devProxy.mjs';
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -337,8 +337,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
337
337
|
}>> & {
|
|
338
338
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
339
339
|
}, {
|
|
340
|
-
bottom: number;
|
|
341
340
|
target: string;
|
|
341
|
+
bottom: number;
|
|
342
342
|
right: number;
|
|
343
343
|
visibilityHeight: number;
|
|
344
344
|
}, {}>, {
|
|
@@ -341,8 +341,8 @@ export declare const GmBacktop: import("../../../../utils").SFCWithInstall<{
|
|
|
341
341
|
}>> & {
|
|
342
342
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
343
343
|
}, {
|
|
344
|
-
bottom: number;
|
|
345
344
|
target: string;
|
|
345
|
+
bottom: number;
|
|
346
346
|
right: number;
|
|
347
347
|
visibilityHeight: number;
|
|
348
348
|
}, true, {}, {}, {
|
|
@@ -672,8 +672,8 @@ export declare const GmBacktop: import("../../../../utils").SFCWithInstall<{
|
|
|
672
672
|
readonly visibilityHeight: number;
|
|
673
673
|
}> | undefined>;
|
|
674
674
|
}, {}, {}, {}, {
|
|
675
|
-
bottom: number;
|
|
676
675
|
target: string;
|
|
676
|
+
bottom: number;
|
|
677
677
|
right: number;
|
|
678
678
|
visibilityHeight: number;
|
|
679
679
|
}>;
|
|
@@ -1002,8 +1002,8 @@ export declare const GmBacktop: import("../../../../utils").SFCWithInstall<{
|
|
|
1002
1002
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1003
1003
|
click: (evt: MouseEvent) => void;
|
|
1004
1004
|
}, string, {
|
|
1005
|
-
bottom: number;
|
|
1006
1005
|
target: string;
|
|
1006
|
+
bottom: number;
|
|
1007
1007
|
right: number;
|
|
1008
1008
|
visibilityHeight: number;
|
|
1009
1009
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -215,8 +215,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
215
215
|
to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
|
|
216
216
|
replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
217
217
|
}>>, {
|
|
218
|
-
to: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
219
218
|
replace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
219
|
+
to: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
220
220
|
}, {}>, {
|
|
221
221
|
default?(_: any): any;
|
|
222
222
|
}>;
|
|
@@ -217,8 +217,8 @@ export declare const GmBreadcrumbItem: import("../../../../utils").SFCWithInstal
|
|
|
217
217
|
to: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
|
|
218
218
|
replace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
219
219
|
}>>, {
|
|
220
|
-
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
221
220
|
replace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
221
|
+
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
222
222
|
}, true, {}, {}, {
|
|
223
223
|
P: {};
|
|
224
224
|
B: {};
|
|
@@ -440,8 +440,8 @@ export declare const GmBreadcrumbItem: import("../../../../utils").SFCWithInstal
|
|
|
440
440
|
readonly to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
441
441
|
}> | undefined>;
|
|
442
442
|
}, {}, {}, {}, {
|
|
443
|
-
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
444
443
|
replace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
444
|
+
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
445
445
|
}>;
|
|
446
446
|
__isFragment?: undefined;
|
|
447
447
|
__isTeleport?: undefined;
|
|
@@ -660,8 +660,8 @@ export declare const GmBreadcrumbItem: import("../../../../utils").SFCWithInstal
|
|
|
660
660
|
readonly to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
661
661
|
}> | undefined>;
|
|
662
662
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
663
|
-
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
664
663
|
replace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
664
|
+
to: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => string | import("vue-router").RouteLocationPathRaw | import("vue-router").RouteLocationNamedRaw) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
|
|
665
665
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
666
666
|
$slots: {
|
|
667
667
|
default?(_: any): any;
|
|
@@ -55,10 +55,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
55
55
|
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
56
56
|
"onNext-click"?: ((val: number) => any) | undefined;
|
|
57
57
|
}, {
|
|
58
|
+
small: boolean;
|
|
58
59
|
popperClass: string;
|
|
59
60
|
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
60
61
|
disabled: boolean;
|
|
61
|
-
small: boolean;
|
|
62
62
|
pagerCount: number;
|
|
63
63
|
layout: string;
|
|
64
64
|
pageSizes: number[];
|
|
@@ -65,10 +65,10 @@ export declare const GmPagination: import("../../../../utils").SFCWithInstall<{
|
|
|
65
65
|
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
66
66
|
"onNext-click"?: ((val: number) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
|
+
small: boolean;
|
|
68
69
|
popperClass: string;
|
|
69
70
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
70
71
|
disabled: boolean;
|
|
71
|
-
small: boolean;
|
|
72
72
|
pagerCount: number;
|
|
73
73
|
layout: string;
|
|
74
74
|
pageSizes: number[];
|
|
@@ -114,10 +114,10 @@ export declare const GmPagination: import("../../../../utils").SFCWithInstall<{
|
|
|
114
114
|
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
115
115
|
"onNext-click"?: ((val: number) => any) | undefined;
|
|
116
116
|
}, {}, {}, {}, {}, {
|
|
117
|
+
small: boolean;
|
|
117
118
|
popperClass: string;
|
|
118
119
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
119
120
|
disabled: boolean;
|
|
120
|
-
small: boolean;
|
|
121
121
|
pagerCount: number;
|
|
122
122
|
layout: string;
|
|
123
123
|
pageSizes: number[];
|
|
@@ -168,10 +168,10 @@ export declare const GmPagination: import("../../../../utils").SFCWithInstall<{
|
|
|
168
168
|
"prev-click": (val: number) => void;
|
|
169
169
|
"next-click": (val: number) => void;
|
|
170
170
|
}, string, {
|
|
171
|
+
small: boolean;
|
|
171
172
|
popperClass: string;
|
|
172
173
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
173
174
|
disabled: boolean;
|
|
174
|
-
small: boolean;
|
|
175
175
|
pagerCount: number;
|
|
176
176
|
layout: string;
|
|
177
177
|
pageSizes: number[];
|
|
@@ -363,12 +363,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
363
363
|
onCurrentChange?: ((value: number) => any) | undefined;
|
|
364
364
|
}, {
|
|
365
365
|
data: unknown[];
|
|
366
|
+
small: boolean;
|
|
366
367
|
headerList: HeaderListItem[];
|
|
367
368
|
operateList: OperateListItem[];
|
|
368
369
|
popperClass: string;
|
|
369
370
|
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
370
371
|
disabled: boolean;
|
|
371
|
-
small: boolean;
|
|
372
372
|
fit: boolean;
|
|
373
373
|
border: boolean;
|
|
374
374
|
style: import("vue").CSSProperties;
|
|
@@ -368,12 +368,12 @@ export declare const GmTableBody: import("../../../../utils").SFCWithInstall<{
|
|
|
368
368
|
onCurrentChange?: ((value: number) => any) | undefined;
|
|
369
369
|
}, {
|
|
370
370
|
data: unknown[];
|
|
371
|
+
small: boolean;
|
|
371
372
|
headerList: import("../tableHeader/tableHeader.js").HeaderListItem[];
|
|
372
373
|
operateList: import("../customOperations/customOperations.js").OperateListItem[];
|
|
373
374
|
popperClass: string;
|
|
374
375
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
375
376
|
disabled: boolean;
|
|
376
|
-
small: boolean;
|
|
377
377
|
fit: boolean;
|
|
378
378
|
border: boolean;
|
|
379
379
|
style: import("vue").CSSProperties;
|
|
@@ -603,12 +603,12 @@ export declare const GmTableBody: import("../../../../utils").SFCWithInstall<{
|
|
|
603
603
|
onCurrentChange?: ((value: number) => any) | undefined;
|
|
604
604
|
}, {}, {}, {}, {}, {
|
|
605
605
|
data: unknown[];
|
|
606
|
+
small: boolean;
|
|
606
607
|
headerList: import("../tableHeader/tableHeader.js").HeaderListItem[];
|
|
607
608
|
operateList: import("../customOperations/customOperations.js").OperateListItem[];
|
|
608
609
|
popperClass: string;
|
|
609
610
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
610
611
|
disabled: boolean;
|
|
611
|
-
small: boolean;
|
|
612
612
|
fit: boolean;
|
|
613
613
|
border: boolean;
|
|
614
614
|
style: import("vue").CSSProperties;
|
|
@@ -841,12 +841,12 @@ export declare const GmTableBody: import("../../../../utils").SFCWithInstall<{
|
|
|
841
841
|
currentChange: (value: number) => void;
|
|
842
842
|
}, string, {
|
|
843
843
|
data: unknown[];
|
|
844
|
+
small: boolean;
|
|
844
845
|
headerList: import("../tableHeader/tableHeader.js").HeaderListItem[];
|
|
845
846
|
operateList: import("../customOperations/customOperations.js").OperateListItem[];
|
|
846
847
|
popperClass: string;
|
|
847
848
|
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
848
849
|
disabled: boolean;
|
|
849
|
-
small: boolean;
|
|
850
850
|
fit: boolean;
|
|
851
851
|
border: boolean;
|
|
852
852
|
style: import("vue").CSSProperties;
|
package/lib/giime/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var exports$1 = require('../utils/src/elementPlus/exports.js');
|
|
|
15
15
|
var createAxios = require('../utils/src/http/createAxios.js');
|
|
16
16
|
var errorMessage = require('../utils/src/http/errorMessage.js');
|
|
17
17
|
var interceptors = require('../utils/src/http/interceptors.js');
|
|
18
|
+
var devProxy = require('../utils/src/http/devProxy.js');
|
|
18
19
|
var objects = require('../utils/src/objects.js');
|
|
19
20
|
var affix = require('../components/src/base/affix/affix.js');
|
|
20
21
|
var index = require('../components/src/base/affix/index.js');
|
|
@@ -283,6 +284,7 @@ exports.errorMessage = errorMessage.errorMessage;
|
|
|
283
284
|
exports.responseErrorMessage = errorMessage.responseErrorMessage;
|
|
284
285
|
exports.req401Interceptors = interceptors.req401Interceptors;
|
|
285
286
|
exports.res401Interceptors = interceptors.res401Interceptors;
|
|
287
|
+
exports.giimeDevProxy = devProxy.giimeDevProxy;
|
|
286
288
|
exports.keysOf = objects.keysOf;
|
|
287
289
|
exports.affixEmits = affix.affixEmits;
|
|
288
290
|
exports.affixProps = affix.affixProps;
|
package/lib/giime/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":["installer"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":["installer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,MAAM,UAAUA,gBAAU,CAAA,QAAA;AAC1B,MAAM,UAAUA,gBAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.9";
|
package/lib/giime/version.js
CHANGED
package/lib/giime/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.0.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.0.8';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/lib/utils/index.js
CHANGED
|
@@ -13,6 +13,7 @@ var exports$1 = require('./src/elementPlus/exports.js');
|
|
|
13
13
|
var createAxios = require('./src/http/createAxios.js');
|
|
14
14
|
var errorMessage = require('./src/http/errorMessage.js');
|
|
15
15
|
var interceptors = require('./src/http/interceptors.js');
|
|
16
|
+
var devProxy = require('./src/http/devProxy.js');
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
|
|
@@ -48,4 +49,5 @@ exports.errorMessage = errorMessage.errorMessage;
|
|
|
48
49
|
exports.responseErrorMessage = errorMessage.responseErrorMessage;
|
|
49
50
|
exports.req401Interceptors = interceptors.req401Interceptors;
|
|
50
51
|
exports.res401Interceptors = interceptors.res401Interceptors;
|
|
52
|
+
exports.giimeDevProxy = devProxy.giimeDevProxy;
|
|
51
53
|
//# sourceMappingURL=index.js.map
|
package/lib/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const giimeDevProxy = {
|
|
4
|
+
// https://cn.vitejs.dev/config/#server-proxy
|
|
5
|
+
"/gstore-api": {
|
|
6
|
+
target: "http://192.168.4.125:10086/gstore/",
|
|
7
|
+
changeOrigin: true,
|
|
8
|
+
rewrite: (p) => p.replace(/^\/gstore-api/, "")
|
|
9
|
+
},
|
|
10
|
+
"/material-api": {
|
|
11
|
+
target: "http://192.168.4.130:8002",
|
|
12
|
+
changeOrigin: true,
|
|
13
|
+
rewrite: (p) => p.replace(/^\/material-api/, "")
|
|
14
|
+
},
|
|
15
|
+
"/shop-admin-api": {
|
|
16
|
+
target: "http://192.168.4.130:8001",
|
|
17
|
+
changeOrigin: true,
|
|
18
|
+
rewrite: (p) => p.replace(/^\/shop-admin-api/, "")
|
|
19
|
+
},
|
|
20
|
+
"/gateway-api": {
|
|
21
|
+
target: "http://192.168.1.115:8082/",
|
|
22
|
+
changeOrigin: true,
|
|
23
|
+
rewrite: (p) => p.replace(/^\/gateway-api/, "")
|
|
24
|
+
},
|
|
25
|
+
"/third-api": {
|
|
26
|
+
target: "https://third-gw.giimall.net/",
|
|
27
|
+
changeOrigin: true,
|
|
28
|
+
rewrite: (p) => p.replace(/^\/third-api/, "")
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
exports.giimeDevProxy = giimeDevProxy;
|
|
33
|
+
//# sourceMappingURL=devProxy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devProxy.js","sources":["../../../../../../packages/utils/src/http/devProxy.ts"],"sourcesContent":["import type { ProxyOptions } from 'vite';\r\n\r\nexport const giimeDevProxy: Record<string, string | ProxyOptions> = {\r\n // https://cn.vitejs.dev/config/#server-proxy\r\n '/gstore-api': {\r\n target: 'http://192.168.4.125:10086/gstore/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/gstore-api/, ''),\r\n },\r\n '/material-api': {\r\n target: 'http://192.168.4.130:8002',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/material-api/, ''),\r\n },\r\n '/shop-admin-api': {\r\n target: 'http://192.168.4.130:8001',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/shop-admin-api/, ''),\r\n },\r\n '/gateway-api': {\r\n target: 'http://192.168.1.115:8082/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/gateway-api/, ''),\r\n },\r\n '/third-api': {\r\n target: 'https://third-gw.giimall.net/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/third-api/, ''),\r\n },\r\n};\r\n"],"names":[],"mappings":";;AAEO,MAAM,aAAuD,GAAA;AAAA;AAAA,EAElE,aAAe,EAAA;AAAA,IACb,MAAQ,EAAA,oCAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,iBAAiB,EAAE,CAAA;AAAA,GAC7C;AAAA,EACA,eAAiB,EAAA;AAAA,IACf,MAAQ,EAAA,2BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,mBAAmB,EAAE,CAAA;AAAA,GAC/C;AAAA,EACA,iBAAmB,EAAA;AAAA,IACjB,MAAQ,EAAA,2BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,qBAAqB,EAAE,CAAA;AAAA,GACjD;AAAA,EACA,cAAgB,EAAA;AAAA,IACd,MAAQ,EAAA,4BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,kBAAkB,EAAE,CAAA;AAAA,GAC9C;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA,+BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,gBAAgB,EAAE,CAAA;AAAA,GAC5C;AACF;;;;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var createAxios = require('./createAxios.js');
|
|
4
4
|
var errorMessage = require('./errorMessage.js');
|
|
5
5
|
var interceptors = require('./interceptors.js');
|
|
6
|
+
var devProxy = require('./devProxy.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
@@ -11,4 +12,5 @@ exports.errorMessage = errorMessage.errorMessage;
|
|
|
11
12
|
exports.responseErrorMessage = errorMessage.responseErrorMessage;
|
|
12
13
|
exports.req401Interceptors = interceptors.req401Interceptors;
|
|
13
14
|
exports.res401Interceptors = interceptors.res401Interceptors;
|
|
15
|
+
exports.giimeDevProxy = devProxy.giimeDevProxy;
|
|
14
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|