giime 0.4.2 → 0.4.4

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.
Files changed (54) hide show
  1. package/dist/index.css +29 -30
  2. package/es/api/productCenter/categoryManage/getCompanyCategoryTree.d.ts +18 -0
  3. package/es/api/productCenter/categoryManage/getCompanyCategoryTree.mjs +8 -0
  4. package/es/api/productCenter/categoryManage/getCompanyCategoryTree.mjs.map +1 -0
  5. package/es/api/productCenter/categoryManage/index.d.ts +2 -0
  6. package/es/api/productCenter/categoryManage/index.mjs +3 -0
  7. package/es/api/productCenter/categoryManage/index.mjs.map +1 -0
  8. package/es/api/productCenter/categoryManage/useGetCompanyCategoryTree.d.ts +24 -0
  9. package/es/api/productCenter/categoryManage/useGetCompanyCategoryTree.mjs +18 -0
  10. package/es/api/productCenter/categoryManage/useGetCompanyCategoryTree.mjs.map +1 -0
  11. package/es/api/productCenter/index.d.ts +1 -0
  12. package/es/api/productCenter/index.mjs +4 -0
  13. package/es/api/productCenter/index.mjs.map +1 -0
  14. package/es/api/productCenter/request.d.ts +2 -0
  15. package/es/api/productCenter/request.mjs +20 -0
  16. package/es/api/productCenter/request.mjs.map +1 -0
  17. package/es/giime/version.d.ts +1 -1
  18. package/es/giime/version.mjs +1 -1
  19. package/es/giime/version.mjs.map +1 -1
  20. package/es/hooks/store/useCompanyCategoryList/index.d.ts +6 -6
  21. package/es/hooks/store/useCompanyCategoryList/index.mjs +2 -2
  22. package/es/hooks/store/useCompanyCategoryList/index.mjs.map +1 -1
  23. package/es/hooks/store/useLangList/index.mjs +0 -1
  24. package/es/hooks/store/useLangList/index.mjs.map +1 -1
  25. package/es/index.css +29 -30
  26. package/es/utils/src/http/devProxy.mjs +5 -0
  27. package/es/utils/src/http/devProxy.mjs.map +1 -1
  28. package/lib/api/productCenter/categoryManage/getCompanyCategoryTree.d.ts +18 -0
  29. package/lib/api/productCenter/categoryManage/getCompanyCategoryTree.js +10 -0
  30. package/lib/api/productCenter/categoryManage/getCompanyCategoryTree.js.map +1 -0
  31. package/lib/api/productCenter/categoryManage/index.d.ts +2 -0
  32. package/lib/api/productCenter/categoryManage/index.js +10 -0
  33. package/lib/api/productCenter/categoryManage/index.js.map +1 -0
  34. package/lib/api/productCenter/categoryManage/useGetCompanyCategoryTree.d.ts +24 -0
  35. package/lib/api/productCenter/categoryManage/useGetCompanyCategoryTree.js +20 -0
  36. package/lib/api/productCenter/categoryManage/useGetCompanyCategoryTree.js.map +1 -0
  37. package/lib/api/productCenter/index.d.ts +1 -0
  38. package/lib/api/productCenter/index.js +11 -0
  39. package/lib/api/productCenter/index.js.map +1 -0
  40. package/lib/api/productCenter/request.d.ts +2 -0
  41. package/lib/api/productCenter/request.js +24 -0
  42. package/lib/api/productCenter/request.js.map +1 -0
  43. package/lib/giime/version.d.ts +1 -1
  44. package/lib/giime/version.js +1 -1
  45. package/lib/giime/version.js.map +1 -1
  46. package/lib/hooks/store/useCompanyCategoryList/index.d.ts +6 -6
  47. package/lib/hooks/store/useCompanyCategoryList/index.js +2 -2
  48. package/lib/hooks/store/useCompanyCategoryList/index.js.map +1 -1
  49. package/lib/hooks/store/useLangList/index.js +0 -1
  50. package/lib/hooks/store/useLangList/index.js.map +1 -1
  51. package/lib/index.css +29 -30
  52. package/lib/utils/src/http/devProxy.js +5 -0
  53. package/lib/utils/src/http/devProxy.js.map +1 -1
  54. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -773,12 +773,32 @@ video {
773
773
  .gm-group:hover .group-hover\:gm-block {
774
774
  display: block;
775
775
  }
776
- .gm-flex-center[data-v-2a79bac9] {
777
- align-items: center;
776
+
777
+ .gm-range-number .el-form-item[data-v-11c39847] {
778
+ margin: 0;
779
+ }
780
+
781
+ [data-v-ec3af0bb] .gmSearchForm .el-form-item {
782
+ margin-right: 0;
783
+ margin-bottom: 4px;
784
+ }
785
+ .gm-number-interval-single[data-v-47a13fd0] {
786
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
787
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
788
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
789
+ }
790
+ .gm-number-interval-single[data-v-47a13fd0] [data-v-47a13fd0] .el-input__wrapper {
791
+ box-shadow: none;
792
+ background: none;
778
793
  }
779
794
 
780
- .gm-flex-justify-between[data-v-2a79bac9] {
781
- justify-content: space-between;
795
+ .gm-number-interval-close[data-v-47a13fd0] {
796
+ display: none;
797
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
798
+ }
799
+
800
+ .gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
801
+ display: flex;
782
802
  }
783
803
  .circular[data-v-b391445c] {
784
804
  animation: loading-rotate-b391445c 2s linear infinite;
@@ -811,14 +831,12 @@ video {
811
831
  stroke-dashoffset: -120px;
812
832
  }
813
833
  }
834
+ .gm-flex-center[data-v-2a79bac9] {
835
+ align-items: center;
836
+ }
814
837
 
815
- .gm-range-number .el-form-item[data-v-11c39847] {
816
- margin: 0;
817
- }
818
-
819
- [data-v-ec3af0bb] .gmSearchForm .el-form-item {
820
- margin-right: 0;
821
- margin-bottom: 4px;
838
+ .gm-flex-justify-between[data-v-2a79bac9] {
839
+ justify-content: space-between;
822
840
  }
823
841
  [data-v-a0a106bd] .gmTableNoBorder .el-table__body .el-table__cell {
824
842
  border-right: none;
@@ -851,22 +869,3 @@ video {
851
869
  .pagination-container.hidden[data-v-19230954] {
852
870
  display: none;
853
871
  }
854
-
855
- .gm-number-interval-single[data-v-47a13fd0] {
856
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
857
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
858
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
859
- }
860
- .gm-number-interval-single[data-v-47a13fd0] [data-v-47a13fd0] .el-input__wrapper {
861
- box-shadow: none;
862
- background: none;
863
- }
864
-
865
- .gm-number-interval-close[data-v-47a13fd0] {
866
- display: none;
867
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
868
- }
869
-
870
- .gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
871
- display: flex;
872
- }
@@ -0,0 +1,18 @@
1
+ import { type AxiosRequestConfig } from 'axios';
2
+ export interface GetCompanyCategoryTreeResponse {
3
+ code: number;
4
+ data: GetCompanyCategoryTreeResponseDatum[];
5
+ message: string;
6
+ }
7
+ export interface GetCompanyCategoryTreeResponseDatum extends Record<string, unknown> {
8
+ _child: GetCompanyCategoryTreeResponseDatum[];
9
+ chinese_cate_tree: string;
10
+ id: number;
11
+ name: string;
12
+ parent_id: string;
13
+ }
14
+ /**
15
+ * 获取公司分类列表树
16
+ * /basic/v1/category/getTreeList
17
+ */
18
+ export declare function getCompanyCategoryTree(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>>;
@@ -0,0 +1,8 @@
1
+ import service from '../request.mjs';
2
+
3
+ function getCompanyCategoryTree(config) {
4
+ return service.get(`/basic/v1/category/getTreeList`, config);
5
+ }
6
+
7
+ export { getCompanyCategoryTree };
8
+ //# sourceMappingURL=getCompanyCategoryTree.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCompanyCategoryTree.mjs","sources":["../../../../../../packages/api/productCenter/categoryManage/getCompanyCategoryTree.ts"],"sourcesContent":["import request from '@giime/api/productCenter/request';\r\nimport { type AxiosRequestConfig } from 'axios';\r\n\r\nexport interface GetCompanyCategoryTreeResponse {\r\n code: number;\r\n data: GetCompanyCategoryTreeResponseDatum[];\r\n message: string;\r\n}\r\n\r\nexport interface GetCompanyCategoryTreeResponseDatum extends Record<string, unknown> {\r\n _child: GetCompanyCategoryTreeResponseDatum[];\r\n chinese_cate_tree: string;\r\n id: number;\r\n name: string;\r\n parent_id: string;\r\n}\r\n\r\n/**\r\n * 获取公司分类列表树\r\n * /basic/v1/category/getTreeList\r\n */\r\nexport function getCompanyCategoryTree(config?: AxiosRequestConfig) {\r\n return request.get<GetCompanyCategoryTreeResponse>(`/basic/v1/category/getTreeList`, config);\r\n}\r\n"],"names":["request"],"mappings":";;AAqBO,SAAS,uBAAuB,MAA6B,EAAA;AAClE,EAAO,OAAAA,OAAA,CAAQ,GAAoC,CAAA,CAAA,8BAAA,CAAA,EAAkC,MAAM,CAAA,CAAA;AAC7F;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from './getCompanyCategoryTree';
2
+ export * from './useGetCompanyCategoryTree';
@@ -0,0 +1,3 @@
1
+ export { getCompanyCategoryTree } from './getCompanyCategoryTree.mjs';
2
+ export { useGetCompanyCategoryTree } from './useGetCompanyCategoryTree.mjs';
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,24 @@
1
+ import { type UseAxiosOptions } from '@vueuse/integrations/useAxios';
2
+ import { type AxiosRequestConfig } from 'axios';
3
+ import type { GetCompanyCategoryTreeResponse } from './getCompanyCategoryTree';
4
+ /**
5
+ * 获取公司分类列表树
6
+ * /basic/v1/category/getTreeList
7
+ */
8
+ export declare function useGetCompanyCategoryTree(config?: AxiosRequestConfig, options?: UseAxiosOptions<GetCompanyCategoryTreeResponse>): {
9
+ exec: (axiosConfig?: AxiosRequestConfig) => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>>;
10
+ execute: (url?: string | AxiosRequestConfig<any> | undefined, config?: AxiosRequestConfig<any> | undefined) => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>>;
11
+ response: import("vue").ShallowRef<import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any> | undefined>;
12
+ data: import("vue").Ref<GetCompanyCategoryTreeResponse | undefined>;
13
+ isFinished: import("vue").Ref<boolean>;
14
+ isLoading: import("vue").Ref<boolean>;
15
+ isAborted: import("vue").Ref<boolean>;
16
+ error: import("vue").ShallowRef<unknown>;
17
+ abort: (message?: string | undefined) => void;
18
+ cancel: (message?: string | undefined) => void;
19
+ isCanceled: import("vue").Ref<boolean>;
20
+ then<TResult1 = import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>, TResult2 = never>(onfulfilled?: ((value: import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
21
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any> | TResult>;
22
+ finally(onfinally?: (() => void) | null | undefined): Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>>;
23
+ [Symbol.toStringTag]: string;
24
+ };
@@ -0,0 +1,18 @@
1
+ import { useAxios } from '@vueuse/integrations/useAxios';
2
+ import service from '../request.mjs';
3
+
4
+ function useGetCompanyCategoryTree(config, options) {
5
+ const useAxiosReturn = useAxios(
6
+ "/basic/v1/category/getTreeList",
7
+ { method: "get", ...config },
8
+ service,
9
+ { immediate: false, ...options }
10
+ );
11
+ function exec(axiosConfig) {
12
+ return useAxiosReturn.execute(axiosConfig);
13
+ }
14
+ return { ...useAxiosReturn, exec };
15
+ }
16
+
17
+ export { useGetCompanyCategoryTree };
18
+ //# sourceMappingURL=useGetCompanyCategoryTree.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetCompanyCategoryTree.mjs","sources":["../../../../../../packages/api/productCenter/categoryManage/useGetCompanyCategoryTree.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from '@vueuse/integrations/useAxios';\r\nimport { type AxiosRequestConfig } from 'axios';\r\nimport request from '@giime/api/productCenter/request';\r\nimport type { GetCompanyCategoryTreeResponse } from './getCompanyCategoryTree';\r\n\r\n/**\r\n * 获取公司分类列表树\r\n * /basic/v1/category/getTreeList\r\n */\r\nexport function useGetCompanyCategoryTree(config?: AxiosRequestConfig, options?: UseAxiosOptions<GetCompanyCategoryTreeResponse>) {\r\n const useAxiosReturn = useAxios<GetCompanyCategoryTreeResponse>(\r\n '/basic/v1/category/getTreeList',\r\n { method: 'get', ...config },\r\n request,\r\n { immediate: false, ...options },\r\n );\r\n\r\n function exec(axiosConfig?: AxiosRequestConfig) {\r\n return useAxiosReturn.execute(axiosConfig);\r\n }\r\n return { ...useAxiosReturn, exec };\r\n}\r\n"],"names":["request"],"mappings":";;;AASgB,SAAA,yBAAA,CAA0B,QAA6B,OAA2D,EAAA;AAChI,EAAA,MAAM,cAAiB,GAAA,QAAA;AAAA,IACrB,gCAAA;AAAA,IACA,EAAE,MAAA,EAAQ,KAAO,EAAA,GAAG,MAAO,EAAA;AAAA,IAC3BA,OAAA;AAAA,IACA,EAAE,SAAA,EAAW,KAAO,EAAA,GAAG,OAAQ,EAAA;AAAA,GACjC,CAAA;AAEA,EAAA,SAAS,KAAK,WAAkC,EAAA;AAC9C,IAAO,OAAA,cAAA,CAAe,QAAQ,WAAW,CAAA,CAAA;AAAA,GAC3C;AACA,EAAO,OAAA,EAAE,GAAG,cAAA,EAAgB,IAAK,EAAA,CAAA;AACnC;;;;"}
@@ -0,0 +1 @@
1
+ export * from './categoryManage';
@@ -0,0 +1,4 @@
1
+ import './categoryManage/index.mjs';
2
+ export { getCompanyCategoryTree } from './categoryManage/getCompanyCategoryTree.mjs';
3
+ export { useGetCompanyCategoryTree } from './categoryManage/useGetCompanyCategoryTree.mjs';
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,2 @@
1
+ declare const service: import("axios").AxiosInstance;
2
+ export default service;
@@ -0,0 +1,20 @@
1
+ import '../../utils/index.mjs';
2
+ import '../utils/index.mjs';
3
+ import { createAxios } from '../../utils/src/http/createAxios.mjs';
4
+ import { resetBaseURLInterceptorsRequest } from '../utils/resetAxiosBaseUrl.mjs';
5
+
6
+ const viteModes = [
7
+ { mode: "development", url: "/product-center-api" },
8
+ { mode: "production", url: "https://manage.giikin.com/product-center" },
9
+ { mode: "test", url: "http://192.168.4.125:10086/product-center" }
10
+ ];
11
+ const baseUrlEnvKey = "VITE_BASE_PRODUCT_CENTER_API";
12
+ const { service } = createAxios({
13
+ baseURL: "",
14
+ successCode: 200,
15
+ withCredentials: false
16
+ });
17
+ resetBaseURLInterceptorsRequest(service, { baseUrlEnvKey, viteModes });
18
+
19
+ export { service as default };
20
+ //# sourceMappingURL=request.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.mjs","sources":["../../../../../packages/api/productCenter/request.ts"],"sourcesContent":["import { createAxios } from '@giime/utils';\r\nimport { resetBaseURLInterceptorsRequest } from '../utils';\r\n\r\nconst viteModes = [\r\n { mode: 'development', url: '/product-center-api' },\r\n { mode: 'production', url: 'https://manage.giikin.com/product-center' },\r\n { mode: 'test', url: 'http://192.168.4.125:10086/product-center' },\r\n];\r\nconst baseUrlEnvKey = 'VITE_BASE_PRODUCT_CENTER_API';\r\n\r\nconst { service } = createAxios({\r\n baseURL: '',\r\n successCode: 200,\r\n withCredentials: false,\r\n});\r\n// 添加重置请求的baseURL 请求拦截器\r\nresetBaseURLInterceptorsRequest(service, { baseUrlEnvKey, viteModes });\r\nexport default service;\r\n"],"names":[],"mappings":";;;;;AAGA,MAAM,SAAY,GAAA;AAAA,EAChB,EAAE,IAAA,EAAM,aAAe,EAAA,GAAA,EAAK,qBAAsB,EAAA;AAAA,EAClD,EAAE,IAAA,EAAM,YAAc,EAAA,GAAA,EAAK,0CAA2C,EAAA;AAAA,EACtE,EAAE,IAAA,EAAM,MAAQ,EAAA,GAAA,EAAK,2CAA4C,EAAA;AACnE,CAAA,CAAA;AACA,MAAM,aAAgB,GAAA,8BAAA,CAAA;AAEhB,MAAA,EAAE,OAAQ,EAAA,GAAI,WAAY,CAAA;AAAA,EAC9B,OAAS,EAAA,EAAA;AAAA,EACT,WAAa,EAAA,GAAA;AAAA,EACb,eAAiB,EAAA,KAAA;AACnB,CAAC,EAAA;AAED,+BAAA,CAAgC,OAAS,EAAA,EAAE,aAAe,EAAA,SAAA,EAAW,CAAA;;;;"}
@@ -1 +1 @@
1
- export declare const version = "0.4.2";
1
+ export declare const version = "0.4.4";
@@ -1,4 +1,4 @@
1
- const version = "0.4.1";
1
+ const version = "0.4.4";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.4.1';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.4.4';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
@@ -1,14 +1,14 @@
1
1
  /**公司分类列表 */
2
2
  export declare const useCompanyCategoryListStore: import("pinia").StoreDefinition<"gmCompanyCategoryList", import("pinia")._UnwrapAll<Pick<{
3
- companyCategoryList: import("vue").ComputedRef<import("../../../api/thirdApi").GetCompanyCategoryTreeResponseDatum[]>;
3
+ companyCategoryList: import("vue").ComputedRef<import("../../../api/productCenter").GetCompanyCategoryTreeResponseDatum[]>;
4
4
  isLoading: import("vue").Ref<boolean>;
5
- getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
5
+ getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
6
6
  }, "isLoading">>, Pick<{
7
- companyCategoryList: import("vue").ComputedRef<import("../../../api/thirdApi").GetCompanyCategoryTreeResponseDatum[]>;
7
+ companyCategoryList: import("vue").ComputedRef<import("../../../api/productCenter").GetCompanyCategoryTreeResponseDatum[]>;
8
8
  isLoading: import("vue").Ref<boolean>;
9
- getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
9
+ getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
10
10
  }, "companyCategoryList">, Pick<{
11
- companyCategoryList: import("vue").ComputedRef<import("../../../api/thirdApi").GetCompanyCategoryTreeResponseDatum[]>;
11
+ companyCategoryList: import("vue").ComputedRef<import("../../../api/productCenter").GetCompanyCategoryTreeResponseDatum[]>;
12
12
  isLoading: import("vue").Ref<boolean>;
13
- getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
13
+ getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
14
14
  }, "getCompanyCategoryList">>;
@@ -1,7 +1,7 @@
1
1
  import { computed, onMounted } from 'vue';
2
2
  import { defineStore } from 'pinia';
3
- import '../../../api/thirdApi/index.mjs';
4
- import { useGetCompanyCategoryTree } from '../../../api/thirdApi/categoryManage/useGetCompanyCategoryTree.mjs';
3
+ import '../../../api/productCenter/index.mjs';
4
+ import { useGetCompanyCategoryTree } from '../../../api/productCenter/categoryManage/useGetCompanyCategoryTree.mjs';
5
5
 
6
6
  const useCompanyCategoryListStore = defineStore("gmCompanyCategoryList", () => {
7
7
  const { isLoading, exec, data: companyCategoryListData } = useGetCompanyCategoryTree();
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/store/useCompanyCategoryList/index.ts"],"sourcesContent":["import { computed, onMounted } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { useGetCompanyCategoryTree } from '@giime/api/thirdApi';\r\n\r\n/**公司分类列表 */\r\nexport const useCompanyCategoryListStore = defineStore('gmCompanyCategoryList', () => {\r\n const { isLoading, exec, data: companyCategoryListData } = useGetCompanyCategoryTree();\r\n const companyCategoryList = computed(() => companyCategoryListData.value?.data ?? []);\r\n\r\n const getCompanyCategoryList = async () => {\r\n if (companyCategoryList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n return exec();\r\n };\r\n onMounted(() => {\r\n getCompanyCategoryList();\r\n });\r\n return {\r\n companyCategoryList,\r\n isLoading,\r\n getCompanyCategoryList,\r\n };\r\n});\r\n"],"names":[],"mappings":";;;;;AAKa,MAAA,2BAAA,GAA8B,WAAY,CAAA,uBAAA,EAAyB,MAAM;AACpF,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,IAAM,EAAA,uBAAA,KAA4B,yBAA0B,EAAA,CAAA;AACrF,EAAA,MAAM,sBAAsB,QAAS,CAAA,MAAM,wBAAwB,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA,CAAA;AAEpF,EAAA,MAAM,yBAAyB,YAAY;AACzC,IAAA,IAAI,mBAAoB,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAC7D,MAAA,OAAA;AAAA,KACF;AACA,IAAA,OAAO,IAAK,EAAA,CAAA;AAAA,GACd,CAAA;AACA,EAAA,SAAA,CAAU,MAAM;AACd,IAAuB,sBAAA,EAAA,CAAA;AAAA,GACxB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,mBAAA;AAAA,IACA,SAAA;AAAA,IACA,sBAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/store/useCompanyCategoryList/index.ts"],"sourcesContent":["import { computed, onMounted } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { useGetCompanyCategoryTree } from '@giime/api/productCenter';\r\n\r\n/**公司分类列表 */\r\nexport const useCompanyCategoryListStore = defineStore('gmCompanyCategoryList', () => {\r\n const { isLoading, exec, data: companyCategoryListData } = useGetCompanyCategoryTree();\r\n const companyCategoryList = computed(() => companyCategoryListData.value?.data ?? []);\r\n\r\n const getCompanyCategoryList = async () => {\r\n if (companyCategoryList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n return exec();\r\n };\r\n onMounted(() => {\r\n getCompanyCategoryList();\r\n });\r\n return {\r\n companyCategoryList,\r\n isLoading,\r\n getCompanyCategoryList,\r\n };\r\n});\r\n"],"names":[],"mappings":";;;;;AAKa,MAAA,2BAAA,GAA8B,WAAY,CAAA,uBAAA,EAAyB,MAAM;AACpF,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,IAAM,EAAA,uBAAA,KAA4B,yBAA0B,EAAA,CAAA;AACrF,EAAA,MAAM,sBAAsB,QAAS,CAAA,MAAM,wBAAwB,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA,CAAA;AAEpF,EAAA,MAAM,yBAAyB,YAAY;AACzC,IAAA,IAAI,mBAAoB,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAC7D,MAAA,OAAA;AAAA,KACF;AACA,IAAA,OAAO,IAAK,EAAA,CAAA;AAAA,GACd,CAAA;AACA,EAAA,SAAA,CAAU,MAAM;AACd,IAAuB,sBAAA,EAAA,CAAA;AAAA,GACxB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,mBAAA;AAAA,IACA,SAAA;AAAA,IACA,sBAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
@@ -2,7 +2,6 @@ import { ref, onMounted } from 'vue';
2
2
  import { defineStore } from 'pinia';
3
3
  import '../../../api/index.mjs';
4
4
  import { useSessionStorage } from '@vueuse/core';
5
- import '../../index.mjs';
6
5
  import { useLoading } from '../../base/useLoading/index.mjs';
7
6
  import { getV1BasicGetLangList } from '../../../api/gstore/controller/JiChuXinXi/getV1BasicGetLangList.mjs';
8
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/store/useLangList/index.ts"],"sourcesContent":["import { onMounted, ref } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { getV1BasicGetLangList } from '@giime/api';\r\nimport { useSessionStorage } from '@vueuse/core';\r\nimport { useLoading } from '@giime/hooks';\r\nimport type { GetV1BasicGetLangListResultData } from '@giime/api';\r\n\r\n/**语种列表 */\r\nexport const useLangListStore = defineStore('gmLangList', () => {\r\n // const langList = ref<GetV1BasicGetLangListResultData[]>([]);\r\n const langList = useSessionStorage<GetV1BasicGetLangListResultData[]>('gmLangList', [], { listenToStorageChanges: false });\r\n\r\n const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(getV1BasicGetLangList);\r\n const isFinished = ref(false);\r\n\r\n const getLangList = async () => {\r\n if (langList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n const { data } = await getLangListExec();\r\n if (data.code !== 200) {\r\n return;\r\n }\r\n langList.value = data.data;\r\n };\r\n onMounted(() => {\r\n getLangList();\r\n });\r\n return {\r\n langList,\r\n isLoading,\r\n isFinished,\r\n getLangList,\r\n getDataFinally,\r\n };\r\n});\r\n"],"names":[],"mappings":";;;;;;;;AAQa,MAAA,gBAAA,GAAmB,WAAY,CAAA,YAAA,EAAc,MAAM;AAE9D,EAAM,MAAA,QAAA,GAAW,kBAAqD,YAAc,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAEzH,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,iBAAiB,cAAe,EAAA,GAAI,WAAW,qBAAqB,CAAA,CAAA;AAC7F,EAAM,MAAA,UAAA,GAAa,IAAI,KAAK,CAAA,CAAA;AAE5B,EAAA,MAAM,cAAc,YAAY;AAC9B,IAAA,IAAI,QAAS,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAClD,MAAA,OAAA;AAAA,KACF;AACA,IAAA,MAAM,EAAE,IAAA,EAAS,GAAA,MAAM,eAAgB,EAAA,CAAA;AACvC,IAAI,IAAA,IAAA,CAAK,SAAS,GAAK,EAAA;AACrB,MAAA,OAAA;AAAA,KACF;AACA,IAAA,QAAA,CAAS,QAAQ,IAAK,CAAA,IAAA,CAAA;AAAA,GACxB,CAAA;AACA,EAAA,SAAA,CAAU,MAAM;AACd,IAAY,WAAA,EAAA,CAAA;AAAA,GACb,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,QAAA;AAAA,IACA,SAAA;AAAA,IACA,UAAA;AAAA,IACA,WAAA;AAAA,IACA,cAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/store/useLangList/index.ts"],"sourcesContent":["import { onMounted, ref } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { getV1BasicGetLangList } from '@giime/api';\r\nimport { useSessionStorage } from '@vueuse/core';\r\nimport { useLoading } from '@giime/hooks/base/useLoading/index';\r\nimport type { GetV1BasicGetLangListResultData } from '@giime/api';\r\n\r\n/**语种列表 */\r\nexport const useLangListStore = defineStore('gmLangList', () => {\r\n // const langList = ref<GetV1BasicGetLangListResultData[]>([]);\r\n const langList = useSessionStorage<GetV1BasicGetLangListResultData[]>('gmLangList', [], { listenToStorageChanges: false });\r\n\r\n const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(getV1BasicGetLangList);\r\n const isFinished = ref(false);\r\n\r\n const getLangList = async () => {\r\n if (langList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n const { data } = await getLangListExec();\r\n if (data.code !== 200) {\r\n return;\r\n }\r\n langList.value = data.data;\r\n };\r\n onMounted(() => {\r\n getLangList();\r\n });\r\n return {\r\n langList,\r\n isLoading,\r\n isFinished,\r\n getLangList,\r\n getDataFinally,\r\n };\r\n});\r\n"],"names":[],"mappings":";;;;;;;AAQa,MAAA,gBAAA,GAAmB,WAAY,CAAA,YAAA,EAAc,MAAM;AAE9D,EAAM,MAAA,QAAA,GAAW,kBAAqD,YAAc,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAEzH,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,iBAAiB,cAAe,EAAA,GAAI,WAAW,qBAAqB,CAAA,CAAA;AAC7F,EAAM,MAAA,UAAA,GAAa,IAAI,KAAK,CAAA,CAAA;AAE5B,EAAA,MAAM,cAAc,YAAY;AAC9B,IAAA,IAAI,QAAS,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAClD,MAAA,OAAA;AAAA,KACF;AACA,IAAA,MAAM,EAAE,IAAA,EAAS,GAAA,MAAM,eAAgB,EAAA,CAAA;AACvC,IAAI,IAAA,IAAA,CAAK,SAAS,GAAK,EAAA;AACrB,MAAA,OAAA;AAAA,KACF;AACA,IAAA,QAAA,CAAS,QAAQ,IAAK,CAAA,IAAA,CAAA;AAAA,GACxB,CAAA;AACA,EAAA,SAAA,CAAU,MAAM;AACd,IAAY,WAAA,EAAA,CAAA;AAAA,GACb,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,QAAA;AAAA,IACA,SAAA;AAAA,IACA,UAAA;AAAA,IACA,WAAA;AAAA,IACA,cAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
package/es/index.css CHANGED
@@ -773,12 +773,32 @@ video {
773
773
  .gm-group:hover .group-hover\:gm-block {
774
774
  display: block;
775
775
  }
776
- .gm-flex-center[data-v-2a79bac9] {
777
- align-items: center;
776
+
777
+ .gm-range-number .el-form-item[data-v-11c39847] {
778
+ margin: 0;
779
+ }
780
+
781
+ [data-v-ec3af0bb] .gmSearchForm .el-form-item {
782
+ margin-right: 0;
783
+ margin-bottom: 4px;
784
+ }
785
+ .gm-number-interval-single[data-v-47a13fd0] {
786
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
787
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
788
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
789
+ }
790
+ .gm-number-interval-single[data-v-47a13fd0] [data-v-47a13fd0] .el-input__wrapper {
791
+ box-shadow: none;
792
+ background: none;
778
793
  }
779
794
 
780
- .gm-flex-justify-between[data-v-2a79bac9] {
781
- justify-content: space-between;
795
+ .gm-number-interval-close[data-v-47a13fd0] {
796
+ display: none;
797
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
798
+ }
799
+
800
+ .gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
801
+ display: flex;
782
802
  }
783
803
  .circular[data-v-b391445c] {
784
804
  animation: loading-rotate-b391445c 2s linear infinite;
@@ -811,14 +831,12 @@ video {
811
831
  stroke-dashoffset: -120px;
812
832
  }
813
833
  }
834
+ .gm-flex-center[data-v-2a79bac9] {
835
+ align-items: center;
836
+ }
814
837
 
815
- .gm-range-number .el-form-item[data-v-11c39847] {
816
- margin: 0;
817
- }
818
-
819
- [data-v-ec3af0bb] .gmSearchForm .el-form-item {
820
- margin-right: 0;
821
- margin-bottom: 4px;
838
+ .gm-flex-justify-between[data-v-2a79bac9] {
839
+ justify-content: space-between;
822
840
  }
823
841
  [data-v-a0a106bd] .gmTableNoBorder .el-table__body .el-table__cell {
824
842
  border-right: none;
@@ -851,22 +869,3 @@ video {
851
869
  .pagination-container.hidden[data-v-19230954] {
852
870
  display: none;
853
871
  }
854
-
855
- .gm-number-interval-single[data-v-47a13fd0] {
856
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
857
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
858
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
859
- }
860
- .gm-number-interval-single[data-v-47a13fd0] [data-v-47a13fd0] .el-input__wrapper {
861
- box-shadow: none;
862
- background: none;
863
- }
864
-
865
- .gm-number-interval-close[data-v-47a13fd0] {
866
- display: none;
867
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
868
- }
869
-
870
- .gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
871
- display: flex;
872
- }
@@ -34,6 +34,11 @@ const giimeDevProxy = {
34
34
  target: "http://192.168.4.125:10086/amazon-agent",
35
35
  changeOrigin: true,
36
36
  rewrite: (p) => p.replace(/^\/amazon-agent-api/, "")
37
+ },
38
+ "/product-center-api": {
39
+ target: "http://192.168.4.125:10086/product-center/",
40
+ changeOrigin: true,
41
+ rewrite: (p) => p.replace(/^\/product-center-api/, "")
37
42
  }
38
43
  };
39
44
 
@@ -1 +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 '/basic-api': {\r\n target: 'http://192.168.4.171:9501/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/basic-api/, ''),\r\n },\r\n '/amazon-agent-api': {\r\n target: 'http://192.168.4.125:10086/amazon-agent',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/amazon-agent-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;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA,4BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,gBAAgB,EAAE,CAAA;AAAA,GAC5C;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,MAAQ,EAAA,yCAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,uBAAuB,EAAE,CAAA;AAAA,GACnD;AACF;;;;"}
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 '/basic-api': {\r\n target: 'http://192.168.4.171:9501/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/basic-api/, ''),\r\n },\r\n '/amazon-agent-api': {\r\n target: 'http://192.168.4.125:10086/amazon-agent',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/amazon-agent-api/, ''),\r\n },\r\n '/product-center-api': {\r\n target: 'http://192.168.4.125:10086/product-center/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/product-center-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;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA,4BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,gBAAgB,EAAE,CAAA;AAAA,GAC5C;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,MAAQ,EAAA,yCAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,uBAAuB,EAAE,CAAA;AAAA,GACnD;AAAA,EACA,qBAAuB,EAAA;AAAA,IACrB,MAAQ,EAAA,4CAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,yBAAyB,EAAE,CAAA;AAAA,GACrD;AACF;;;;"}
@@ -0,0 +1,18 @@
1
+ import { type AxiosRequestConfig } from 'axios';
2
+ export interface GetCompanyCategoryTreeResponse {
3
+ code: number;
4
+ data: GetCompanyCategoryTreeResponseDatum[];
5
+ message: string;
6
+ }
7
+ export interface GetCompanyCategoryTreeResponseDatum extends Record<string, unknown> {
8
+ _child: GetCompanyCategoryTreeResponseDatum[];
9
+ chinese_cate_tree: string;
10
+ id: number;
11
+ name: string;
12
+ parent_id: string;
13
+ }
14
+ /**
15
+ * 获取公司分类列表树
16
+ * /basic/v1/category/getTreeList
17
+ */
18
+ export declare function getCompanyCategoryTree(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>>;
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var request = require('../request.js');
4
+
5
+ function getCompanyCategoryTree(config) {
6
+ return request.default.get(`/basic/v1/category/getTreeList`, config);
7
+ }
8
+
9
+ exports.getCompanyCategoryTree = getCompanyCategoryTree;
10
+ //# sourceMappingURL=getCompanyCategoryTree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCompanyCategoryTree.js","sources":["../../../../../../packages/api/productCenter/categoryManage/getCompanyCategoryTree.ts"],"sourcesContent":["import request from '@giime/api/productCenter/request';\r\nimport { type AxiosRequestConfig } from 'axios';\r\n\r\nexport interface GetCompanyCategoryTreeResponse {\r\n code: number;\r\n data: GetCompanyCategoryTreeResponseDatum[];\r\n message: string;\r\n}\r\n\r\nexport interface GetCompanyCategoryTreeResponseDatum extends Record<string, unknown> {\r\n _child: GetCompanyCategoryTreeResponseDatum[];\r\n chinese_cate_tree: string;\r\n id: number;\r\n name: string;\r\n parent_id: string;\r\n}\r\n\r\n/**\r\n * 获取公司分类列表树\r\n * /basic/v1/category/getTreeList\r\n */\r\nexport function getCompanyCategoryTree(config?: AxiosRequestConfig) {\r\n return request.get<GetCompanyCategoryTreeResponse>(`/basic/v1/category/getTreeList`, config);\r\n}\r\n"],"names":["request"],"mappings":";;;;AAqBO,SAAS,uBAAuB,MAA6B,EAAA;AAClE,EAAO,OAAAA,eAAA,CAAQ,GAAoC,CAAA,CAAA,8BAAA,CAAA,EAAkC,MAAM,CAAA,CAAA;AAC7F;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from './getCompanyCategoryTree';
2
+ export * from './useGetCompanyCategoryTree';
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var getCompanyCategoryTree = require('./getCompanyCategoryTree.js');
4
+ var useGetCompanyCategoryTree = require('./useGetCompanyCategoryTree.js');
5
+
6
+
7
+
8
+ exports.getCompanyCategoryTree = getCompanyCategoryTree.getCompanyCategoryTree;
9
+ exports.useGetCompanyCategoryTree = useGetCompanyCategoryTree.useGetCompanyCategoryTree;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,24 @@
1
+ import { type UseAxiosOptions } from '@vueuse/integrations/useAxios';
2
+ import { type AxiosRequestConfig } from 'axios';
3
+ import type { GetCompanyCategoryTreeResponse } from './getCompanyCategoryTree';
4
+ /**
5
+ * 获取公司分类列表树
6
+ * /basic/v1/category/getTreeList
7
+ */
8
+ export declare function useGetCompanyCategoryTree(config?: AxiosRequestConfig, options?: UseAxiosOptions<GetCompanyCategoryTreeResponse>): {
9
+ exec: (axiosConfig?: AxiosRequestConfig) => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>>;
10
+ execute: (url?: string | AxiosRequestConfig<any> | undefined, config?: AxiosRequestConfig<any> | undefined) => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>>;
11
+ response: import("vue").ShallowRef<import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any> | undefined>;
12
+ data: import("vue").Ref<GetCompanyCategoryTreeResponse | undefined>;
13
+ isFinished: import("vue").Ref<boolean>;
14
+ isLoading: import("vue").Ref<boolean>;
15
+ isAborted: import("vue").Ref<boolean>;
16
+ error: import("vue").ShallowRef<unknown>;
17
+ abort: (message?: string | undefined) => void;
18
+ cancel: (message?: string | undefined) => void;
19
+ isCanceled: import("vue").Ref<boolean>;
20
+ then<TResult1 = import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>, TResult2 = never>(onfulfilled?: ((value: import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
21
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any> | TResult>;
22
+ finally(onfinally?: (() => void) | null | undefined): Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<GetCompanyCategoryTreeResponse, any>, any>>;
23
+ [Symbol.toStringTag]: string;
24
+ };
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var useAxios = require('@vueuse/integrations/useAxios');
4
+ var request = require('../request.js');
5
+
6
+ function useGetCompanyCategoryTree(config, options) {
7
+ const useAxiosReturn = useAxios.useAxios(
8
+ "/basic/v1/category/getTreeList",
9
+ { method: "get", ...config },
10
+ request.default,
11
+ { immediate: false, ...options }
12
+ );
13
+ function exec(axiosConfig) {
14
+ return useAxiosReturn.execute(axiosConfig);
15
+ }
16
+ return { ...useAxiosReturn, exec };
17
+ }
18
+
19
+ exports.useGetCompanyCategoryTree = useGetCompanyCategoryTree;
20
+ //# sourceMappingURL=useGetCompanyCategoryTree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetCompanyCategoryTree.js","sources":["../../../../../../packages/api/productCenter/categoryManage/useGetCompanyCategoryTree.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from '@vueuse/integrations/useAxios';\r\nimport { type AxiosRequestConfig } from 'axios';\r\nimport request from '@giime/api/productCenter/request';\r\nimport type { GetCompanyCategoryTreeResponse } from './getCompanyCategoryTree';\r\n\r\n/**\r\n * 获取公司分类列表树\r\n * /basic/v1/category/getTreeList\r\n */\r\nexport function useGetCompanyCategoryTree(config?: AxiosRequestConfig, options?: UseAxiosOptions<GetCompanyCategoryTreeResponse>) {\r\n const useAxiosReturn = useAxios<GetCompanyCategoryTreeResponse>(\r\n '/basic/v1/category/getTreeList',\r\n { method: 'get', ...config },\r\n request,\r\n { immediate: false, ...options },\r\n );\r\n\r\n function exec(axiosConfig?: AxiosRequestConfig) {\r\n return useAxiosReturn.execute(axiosConfig);\r\n }\r\n return { ...useAxiosReturn, exec };\r\n}\r\n"],"names":["useAxios","request"],"mappings":";;;;;AASgB,SAAA,yBAAA,CAA0B,QAA6B,OAA2D,EAAA;AAChI,EAAA,MAAM,cAAiB,GAAAA,iBAAA;AAAA,IACrB,gCAAA;AAAA,IACA,EAAE,MAAA,EAAQ,KAAO,EAAA,GAAG,MAAO,EAAA;AAAA,IAC3BC,eAAA;AAAA,IACA,EAAE,SAAA,EAAW,KAAO,EAAA,GAAG,OAAQ,EAAA;AAAA,GACjC,CAAA;AAEA,EAAA,SAAS,KAAK,WAAkC,EAAA;AAC9C,IAAO,OAAA,cAAA,CAAe,QAAQ,WAAW,CAAA,CAAA;AAAA,GAC3C;AACA,EAAO,OAAA,EAAE,GAAG,cAAA,EAAgB,IAAK,EAAA,CAAA;AACnC;;;;"}
@@ -0,0 +1 @@
1
+ export * from './categoryManage';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ require('./categoryManage/index.js');
4
+ var getCompanyCategoryTree = require('./categoryManage/getCompanyCategoryTree.js');
5
+ var useGetCompanyCategoryTree = require('./categoryManage/useGetCompanyCategoryTree.js');
6
+
7
+
8
+
9
+ exports.getCompanyCategoryTree = getCompanyCategoryTree.getCompanyCategoryTree;
10
+ exports.useGetCompanyCategoryTree = useGetCompanyCategoryTree.useGetCompanyCategoryTree;
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ declare const service: import("axios").AxiosInstance;
2
+ export default service;
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('../../utils/index.js');
6
+ require('../utils/index.js');
7
+ var createAxios = require('../../utils/src/http/createAxios.js');
8
+ var resetAxiosBaseUrl = require('../utils/resetAxiosBaseUrl.js');
9
+
10
+ const viteModes = [
11
+ { mode: "development", url: "/product-center-api" },
12
+ { mode: "production", url: "https://manage.giikin.com/product-center" },
13
+ { mode: "test", url: "http://192.168.4.125:10086/product-center" }
14
+ ];
15
+ const baseUrlEnvKey = "VITE_BASE_PRODUCT_CENTER_API";
16
+ const { service } = createAxios.createAxios({
17
+ baseURL: "",
18
+ successCode: 200,
19
+ withCredentials: false
20
+ });
21
+ resetAxiosBaseUrl.resetBaseURLInterceptorsRequest(service, { baseUrlEnvKey, viteModes });
22
+
23
+ exports.default = service;
24
+ //# sourceMappingURL=request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.js","sources":["../../../../../packages/api/productCenter/request.ts"],"sourcesContent":["import { createAxios } from '@giime/utils';\r\nimport { resetBaseURLInterceptorsRequest } from '../utils';\r\n\r\nconst viteModes = [\r\n { mode: 'development', url: '/product-center-api' },\r\n { mode: 'production', url: 'https://manage.giikin.com/product-center' },\r\n { mode: 'test', url: 'http://192.168.4.125:10086/product-center' },\r\n];\r\nconst baseUrlEnvKey = 'VITE_BASE_PRODUCT_CENTER_API';\r\n\r\nconst { service } = createAxios({\r\n baseURL: '',\r\n successCode: 200,\r\n withCredentials: false,\r\n});\r\n// 添加重置请求的baseURL 请求拦截器\r\nresetBaseURLInterceptorsRequest(service, { baseUrlEnvKey, viteModes });\r\nexport default service;\r\n"],"names":["createAxios","resetBaseURLInterceptorsRequest"],"mappings":";;;;;;;;;AAGA,MAAM,SAAY,GAAA;AAAA,EAChB,EAAE,IAAA,EAAM,aAAe,EAAA,GAAA,EAAK,qBAAsB,EAAA;AAAA,EAClD,EAAE,IAAA,EAAM,YAAc,EAAA,GAAA,EAAK,0CAA2C,EAAA;AAAA,EACtE,EAAE,IAAA,EAAM,MAAQ,EAAA,GAAA,EAAK,2CAA4C,EAAA;AACnE,CAAA,CAAA;AACA,MAAM,aAAgB,GAAA,8BAAA,CAAA;AAEhB,MAAA,EAAE,OAAQ,EAAA,GAAIA,uBAAY,CAAA;AAAA,EAC9B,OAAS,EAAA,EAAA;AAAA,EACT,WAAa,EAAA,GAAA;AAAA,EACb,eAAiB,EAAA,KAAA;AACnB,CAAC,EAAA;AAEDC,iDAAA,CAAgC,OAAS,EAAA,EAAE,aAAe,EAAA,SAAA,EAAW,CAAA;;;;"}
@@ -1 +1 @@
1
- export declare const version = "0.4.2";
1
+ export declare const version = "0.4.4";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "0.4.1";
3
+ const version = "0.4.4";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.4.1';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
1
+ {"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.4.4';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
@@ -1,14 +1,14 @@
1
1
  /**公司分类列表 */
2
2
  export declare const useCompanyCategoryListStore: import("pinia").StoreDefinition<"gmCompanyCategoryList", import("pinia")._UnwrapAll<Pick<{
3
- companyCategoryList: import("vue").ComputedRef<import("../../../api/thirdApi").GetCompanyCategoryTreeResponseDatum[]>;
3
+ companyCategoryList: import("vue").ComputedRef<import("../../../api/productCenter").GetCompanyCategoryTreeResponseDatum[]>;
4
4
  isLoading: import("vue").Ref<boolean>;
5
- getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
5
+ getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
6
6
  }, "isLoading">>, Pick<{
7
- companyCategoryList: import("vue").ComputedRef<import("../../../api/thirdApi").GetCompanyCategoryTreeResponseDatum[]>;
7
+ companyCategoryList: import("vue").ComputedRef<import("../../../api/productCenter").GetCompanyCategoryTreeResponseDatum[]>;
8
8
  isLoading: import("vue").Ref<boolean>;
9
- getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
9
+ getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
10
10
  }, "companyCategoryList">, Pick<{
11
- companyCategoryList: import("vue").ComputedRef<import("../../../api/thirdApi").GetCompanyCategoryTreeResponseDatum[]>;
11
+ companyCategoryList: import("vue").ComputedRef<import("../../../api/productCenter").GetCompanyCategoryTreeResponseDatum[]>;
12
12
  isLoading: import("vue").Ref<boolean>;
13
- getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/thirdApi").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
13
+ getCompanyCategoryList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, import("axios").AxiosResponse<import("../../../api/productCenter").GetCompanyCategoryTreeResponse, any>, any> | undefined>;
14
14
  }, "getCompanyCategoryList">>;
@@ -2,8 +2,8 @@
2
2
 
3
3
  var vue = require('vue');
4
4
  var pinia = require('pinia');
5
- require('../../../api/thirdApi/index.js');
6
- var useGetCompanyCategoryTree = require('../../../api/thirdApi/categoryManage/useGetCompanyCategoryTree.js');
5
+ require('../../../api/productCenter/index.js');
6
+ var useGetCompanyCategoryTree = require('../../../api/productCenter/categoryManage/useGetCompanyCategoryTree.js');
7
7
 
8
8
  const useCompanyCategoryListStore = pinia.defineStore("gmCompanyCategoryList", () => {
9
9
  const { isLoading, exec, data: companyCategoryListData } = useGetCompanyCategoryTree.useGetCompanyCategoryTree();
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/store/useCompanyCategoryList/index.ts"],"sourcesContent":["import { computed, onMounted } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { useGetCompanyCategoryTree } from '@giime/api/thirdApi';\r\n\r\n/**公司分类列表 */\r\nexport const useCompanyCategoryListStore = defineStore('gmCompanyCategoryList', () => {\r\n const { isLoading, exec, data: companyCategoryListData } = useGetCompanyCategoryTree();\r\n const companyCategoryList = computed(() => companyCategoryListData.value?.data ?? []);\r\n\r\n const getCompanyCategoryList = async () => {\r\n if (companyCategoryList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n return exec();\r\n };\r\n onMounted(() => {\r\n getCompanyCategoryList();\r\n });\r\n return {\r\n companyCategoryList,\r\n isLoading,\r\n getCompanyCategoryList,\r\n };\r\n});\r\n"],"names":["defineStore","useGetCompanyCategoryTree","computed","onMounted"],"mappings":";;;;;;;AAKa,MAAA,2BAAA,GAA8BA,iBAAY,CAAA,uBAAA,EAAyB,MAAM;AACpF,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,IAAM,EAAA,uBAAA,KAA4BC,mDAA0B,EAAA,CAAA;AACrF,EAAA,MAAM,sBAAsBC,YAAS,CAAA,MAAM,wBAAwB,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA,CAAA;AAEpF,EAAA,MAAM,yBAAyB,YAAY;AACzC,IAAA,IAAI,mBAAoB,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAC7D,MAAA,OAAA;AAAA,KACF;AACA,IAAA,OAAO,IAAK,EAAA,CAAA;AAAA,GACd,CAAA;AACA,EAAAC,aAAA,CAAU,MAAM;AACd,IAAuB,sBAAA,EAAA,CAAA;AAAA,GACxB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,mBAAA;AAAA,IACA,SAAA;AAAA,IACA,sBAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/store/useCompanyCategoryList/index.ts"],"sourcesContent":["import { computed, onMounted } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { useGetCompanyCategoryTree } from '@giime/api/productCenter';\r\n\r\n/**公司分类列表 */\r\nexport const useCompanyCategoryListStore = defineStore('gmCompanyCategoryList', () => {\r\n const { isLoading, exec, data: companyCategoryListData } = useGetCompanyCategoryTree();\r\n const companyCategoryList = computed(() => companyCategoryListData.value?.data ?? []);\r\n\r\n const getCompanyCategoryList = async () => {\r\n if (companyCategoryList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n return exec();\r\n };\r\n onMounted(() => {\r\n getCompanyCategoryList();\r\n });\r\n return {\r\n companyCategoryList,\r\n isLoading,\r\n getCompanyCategoryList,\r\n };\r\n});\r\n"],"names":["defineStore","useGetCompanyCategoryTree","computed","onMounted"],"mappings":";;;;;;;AAKa,MAAA,2BAAA,GAA8BA,iBAAY,CAAA,uBAAA,EAAyB,MAAM;AACpF,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,IAAM,EAAA,uBAAA,KAA4BC,mDAA0B,EAAA,CAAA;AACrF,EAAA,MAAM,sBAAsBC,YAAS,CAAA,MAAM,wBAAwB,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA,CAAA;AAEpF,EAAA,MAAM,yBAAyB,YAAY;AACzC,IAAA,IAAI,mBAAoB,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAC7D,MAAA,OAAA;AAAA,KACF;AACA,IAAA,OAAO,IAAK,EAAA,CAAA;AAAA,GACd,CAAA;AACA,EAAAC,aAAA,CAAU,MAAM;AACd,IAAuB,sBAAA,EAAA,CAAA;AAAA,GACxB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,mBAAA;AAAA,IACA,SAAA;AAAA,IACA,sBAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
@@ -4,7 +4,6 @@ var vue = require('vue');
4
4
  var pinia = require('pinia');
5
5
  require('../../../api/index.js');
6
6
  var core = require('@vueuse/core');
7
- require('../../index.js');
8
7
  var index = require('../../base/useLoading/index.js');
9
8
  var getV1BasicGetLangList = require('../../../api/gstore/controller/JiChuXinXi/getV1BasicGetLangList.js');
10
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/store/useLangList/index.ts"],"sourcesContent":["import { onMounted, ref } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { getV1BasicGetLangList } from '@giime/api';\r\nimport { useSessionStorage } from '@vueuse/core';\r\nimport { useLoading } from '@giime/hooks';\r\nimport type { GetV1BasicGetLangListResultData } from '@giime/api';\r\n\r\n/**语种列表 */\r\nexport const useLangListStore = defineStore('gmLangList', () => {\r\n // const langList = ref<GetV1BasicGetLangListResultData[]>([]);\r\n const langList = useSessionStorage<GetV1BasicGetLangListResultData[]>('gmLangList', [], { listenToStorageChanges: false });\r\n\r\n const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(getV1BasicGetLangList);\r\n const isFinished = ref(false);\r\n\r\n const getLangList = async () => {\r\n if (langList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n const { data } = await getLangListExec();\r\n if (data.code !== 200) {\r\n return;\r\n }\r\n langList.value = data.data;\r\n };\r\n onMounted(() => {\r\n getLangList();\r\n });\r\n return {\r\n langList,\r\n isLoading,\r\n isFinished,\r\n getLangList,\r\n getDataFinally,\r\n };\r\n});\r\n"],"names":["defineStore","useSessionStorage","useLoading","getV1BasicGetLangList","ref","onMounted"],"mappings":";;;;;;;;;;AAQa,MAAA,gBAAA,GAAmBA,iBAAY,CAAA,YAAA,EAAc,MAAM;AAE9D,EAAM,MAAA,QAAA,GAAWC,uBAAqD,YAAc,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAEzH,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,iBAAiB,cAAe,EAAA,GAAIC,iBAAWC,2CAAqB,CAAA,CAAA;AAC7F,EAAM,MAAA,UAAA,GAAaC,QAAI,KAAK,CAAA,CAAA;AAE5B,EAAA,MAAM,cAAc,YAAY;AAC9B,IAAA,IAAI,QAAS,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAClD,MAAA,OAAA;AAAA,KACF;AACA,IAAA,MAAM,EAAE,IAAA,EAAS,GAAA,MAAM,eAAgB,EAAA,CAAA;AACvC,IAAI,IAAA,IAAA,CAAK,SAAS,GAAK,EAAA;AACrB,MAAA,OAAA;AAAA,KACF;AACA,IAAA,QAAA,CAAS,QAAQ,IAAK,CAAA,IAAA,CAAA;AAAA,GACxB,CAAA;AACA,EAAAC,aAAA,CAAU,MAAM;AACd,IAAY,WAAA,EAAA,CAAA;AAAA,GACb,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,QAAA;AAAA,IACA,SAAA;AAAA,IACA,UAAA;AAAA,IACA,WAAA;AAAA,IACA,cAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/store/useLangList/index.ts"],"sourcesContent":["import { onMounted, ref } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { getV1BasicGetLangList } from '@giime/api';\r\nimport { useSessionStorage } from '@vueuse/core';\r\nimport { useLoading } from '@giime/hooks/base/useLoading/index';\r\nimport type { GetV1BasicGetLangListResultData } from '@giime/api';\r\n\r\n/**语种列表 */\r\nexport const useLangListStore = defineStore('gmLangList', () => {\r\n // const langList = ref<GetV1BasicGetLangListResultData[]>([]);\r\n const langList = useSessionStorage<GetV1BasicGetLangListResultData[]>('gmLangList', [], { listenToStorageChanges: false });\r\n\r\n const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(getV1BasicGetLangList);\r\n const isFinished = ref(false);\r\n\r\n const getLangList = async () => {\r\n if (langList.value.length !== 0 || isLoading.value) {\r\n return;\r\n }\r\n const { data } = await getLangListExec();\r\n if (data.code !== 200) {\r\n return;\r\n }\r\n langList.value = data.data;\r\n };\r\n onMounted(() => {\r\n getLangList();\r\n });\r\n return {\r\n langList,\r\n isLoading,\r\n isFinished,\r\n getLangList,\r\n getDataFinally,\r\n };\r\n});\r\n"],"names":["defineStore","useSessionStorage","useLoading","getV1BasicGetLangList","ref","onMounted"],"mappings":";;;;;;;;;AAQa,MAAA,gBAAA,GAAmBA,iBAAY,CAAA,YAAA,EAAc,MAAM;AAE9D,EAAM,MAAA,QAAA,GAAWC,uBAAqD,YAAc,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAEzH,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,iBAAiB,cAAe,EAAA,GAAIC,iBAAWC,2CAAqB,CAAA,CAAA;AAC7F,EAAM,MAAA,UAAA,GAAaC,QAAI,KAAK,CAAA,CAAA;AAE5B,EAAA,MAAM,cAAc,YAAY;AAC9B,IAAA,IAAI,QAAS,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAClD,MAAA,OAAA;AAAA,KACF;AACA,IAAA,MAAM,EAAE,IAAA,EAAS,GAAA,MAAM,eAAgB,EAAA,CAAA;AACvC,IAAI,IAAA,IAAA,CAAK,SAAS,GAAK,EAAA;AACrB,MAAA,OAAA;AAAA,KACF;AACA,IAAA,QAAA,CAAS,QAAQ,IAAK,CAAA,IAAA,CAAA;AAAA,GACxB,CAAA;AACA,EAAAC,aAAA,CAAU,MAAM;AACd,IAAY,WAAA,EAAA,CAAA;AAAA,GACb,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,QAAA;AAAA,IACA,SAAA;AAAA,IACA,UAAA;AAAA,IACA,WAAA;AAAA,IACA,cAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
package/lib/index.css CHANGED
@@ -773,12 +773,32 @@ video {
773
773
  .gm-group:hover .group-hover\:gm-block {
774
774
  display: block;
775
775
  }
776
- .gm-flex-center[data-v-2a79bac9] {
777
- align-items: center;
776
+
777
+ .gm-range-number .el-form-item[data-v-11c39847] {
778
+ margin: 0;
779
+ }
780
+
781
+ [data-v-ec3af0bb] .gmSearchForm .el-form-item {
782
+ margin-right: 0;
783
+ margin-bottom: 4px;
784
+ }
785
+ .gm-number-interval-single[data-v-47a13fd0] {
786
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
787
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
788
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
789
+ }
790
+ .gm-number-interval-single[data-v-47a13fd0] [data-v-47a13fd0] .el-input__wrapper {
791
+ box-shadow: none;
792
+ background: none;
778
793
  }
779
794
 
780
- .gm-flex-justify-between[data-v-2a79bac9] {
781
- justify-content: space-between;
795
+ .gm-number-interval-close[data-v-47a13fd0] {
796
+ display: none;
797
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
798
+ }
799
+
800
+ .gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
801
+ display: flex;
782
802
  }
783
803
  .circular[data-v-b391445c] {
784
804
  animation: loading-rotate-b391445c 2s linear infinite;
@@ -811,14 +831,12 @@ video {
811
831
  stroke-dashoffset: -120px;
812
832
  }
813
833
  }
834
+ .gm-flex-center[data-v-2a79bac9] {
835
+ align-items: center;
836
+ }
814
837
 
815
- .gm-range-number .el-form-item[data-v-11c39847] {
816
- margin: 0;
817
- }
818
-
819
- [data-v-ec3af0bb] .gmSearchForm .el-form-item {
820
- margin-right: 0;
821
- margin-bottom: 4px;
838
+ .gm-flex-justify-between[data-v-2a79bac9] {
839
+ justify-content: space-between;
822
840
  }
823
841
  [data-v-a0a106bd] .gmTableNoBorder .el-table__body .el-table__cell {
824
842
  border-right: none;
@@ -851,22 +869,3 @@ video {
851
869
  .pagination-container.hidden[data-v-19230954] {
852
870
  display: none;
853
871
  }
854
-
855
- .gm-number-interval-single[data-v-47a13fd0] {
856
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
857
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
858
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
859
- }
860
- .gm-number-interval-single[data-v-47a13fd0] [data-v-47a13fd0] .el-input__wrapper {
861
- box-shadow: none;
862
- background: none;
863
- }
864
-
865
- .gm-number-interval-close[data-v-47a13fd0] {
866
- display: none;
867
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
868
- }
869
-
870
- .gm-number-interval-single[data-v-47a13fd0]:hover .gm-number-interval-close[data-v-47a13fd0] {
871
- display: flex;
872
- }
@@ -36,6 +36,11 @@ const giimeDevProxy = {
36
36
  target: "http://192.168.4.125:10086/amazon-agent",
37
37
  changeOrigin: true,
38
38
  rewrite: (p) => p.replace(/^\/amazon-agent-api/, "")
39
+ },
40
+ "/product-center-api": {
41
+ target: "http://192.168.4.125:10086/product-center/",
42
+ changeOrigin: true,
43
+ rewrite: (p) => p.replace(/^\/product-center-api/, "")
39
44
  }
40
45
  };
41
46
 
@@ -1 +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 '/basic-api': {\r\n target: 'http://192.168.4.171:9501/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/basic-api/, ''),\r\n },\r\n '/amazon-agent-api': {\r\n target: 'http://192.168.4.125:10086/amazon-agent',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/amazon-agent-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;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA,4BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,gBAAgB,EAAE,CAAA;AAAA,GAC5C;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,MAAQ,EAAA,yCAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,uBAAuB,EAAE,CAAA;AAAA,GACnD;AACF;;;;"}
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 '/basic-api': {\r\n target: 'http://192.168.4.171:9501/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/basic-api/, ''),\r\n },\r\n '/amazon-agent-api': {\r\n target: 'http://192.168.4.125:10086/amazon-agent',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/amazon-agent-api/, ''),\r\n },\r\n '/product-center-api': {\r\n target: 'http://192.168.4.125:10086/product-center/',\r\n changeOrigin: true,\r\n rewrite: p => p.replace(/^\\/product-center-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;AAAA,EACA,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA,4BAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,gBAAgB,EAAE,CAAA;AAAA,GAC5C;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,MAAQ,EAAA,yCAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,uBAAuB,EAAE,CAAA;AAAA,GACnD;AAAA,EACA,qBAAuB,EAAA;AAAA,IACrB,MAAQ,EAAA,4CAAA;AAAA,IACR,YAAc,EAAA,IAAA;AAAA,IACd,OAAS,EAAA,CAAA,CAAA,KAAK,CAAE,CAAA,OAAA,CAAQ,yBAAyB,EAAE,CAAA;AAAA,GACrD;AACF;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giime",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "A Component Library for Vue 3",
5
5
  "keywords": [
6
6
  "giime",