giime 0.0.2 → 0.0.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.
- package/dist/index.css +118 -118
- package/es/components/src/base/carousel/Carousel.vue.d.ts +5 -4
- package/es/components/src/base/carousel/index.d.ts +13 -12
- package/es/components/src/base/table/Table.vue.d.ts +3 -2
- package/es/components/src/base/table/index.d.ts +7 -6
- package/es/giime/version.d.ts +1 -1
- package/es/hooks/store/index.d.ts +1 -0
- package/es/hooks/store/useCurrencyList/index.d.ts +4 -4
- package/es/hooks/store/useLangList/index.d.ts +4 -4
- package/es/hooks/store/useLineList/index.d.ts +4 -4
- package/es/hooks/store/useOrgUserList/index.d.ts +119 -0
- package/es/hooks/store/usePlatformLineList/index.d.ts +4 -4
- package/es/index.css +118 -118
- package/es/packages/components/src/business/loginDialog/LoginDialog.vue2.mjs +22 -20
- package/es/packages/components/src/business/loginDialog/LoginDialog.vue2.mjs.map +1 -1
- package/es/packages/giime/index.mjs +1 -0
- package/es/packages/giime/index.mjs.map +1 -1
- package/es/packages/giime/version.mjs +1 -1
- package/es/packages/giime/version.mjs.map +1 -1
- package/es/packages/hooks/index.mjs +1 -0
- package/es/packages/hooks/index.mjs.map +1 -1
- package/es/packages/hooks/store/index.mjs +1 -0
- package/es/packages/hooks/store/index.mjs.map +1 -1
- package/es/packages/hooks/store/useCurrencyList/index.mjs +7 -7
- package/es/packages/hooks/store/useCurrencyList/index.mjs.map +1 -1
- package/es/packages/hooks/store/useLangList/index.mjs +7 -7
- package/es/packages/hooks/store/useLangList/index.mjs.map +1 -1
- package/es/packages/hooks/store/useLineList/index.mjs +7 -7
- package/es/packages/hooks/store/useLineList/index.mjs.map +1 -1
- package/es/packages/hooks/store/useOrgUserList/index.mjs +38 -0
- package/es/packages/hooks/store/useOrgUserList/index.mjs.map +1 -0
- package/es/packages/hooks/store/usePlatformLineList/index.mjs +7 -7
- package/es/packages/hooks/store/usePlatformLineList/index.mjs.map +1 -1
- package/es/packages/utils/src/http/createAxios.mjs +3 -2
- package/es/packages/utils/src/http/createAxios.mjs.map +1 -1
- package/lib/components/src/base/carousel/Carousel.vue.d.ts +5 -4
- package/lib/components/src/base/carousel/index.d.ts +13 -12
- package/lib/components/src/base/table/Table.vue.d.ts +3 -2
- package/lib/components/src/base/table/index.d.ts +7 -6
- package/lib/giime/version.d.ts +1 -1
- package/lib/hooks/store/index.d.ts +1 -0
- package/lib/hooks/store/useCurrencyList/index.d.ts +4 -4
- package/lib/hooks/store/useLangList/index.d.ts +4 -4
- package/lib/hooks/store/useLineList/index.d.ts +4 -4
- package/lib/hooks/store/useOrgUserList/index.d.ts +119 -0
- package/lib/hooks/store/usePlatformLineList/index.d.ts +4 -4
- package/lib/index.css +118 -118
- package/lib/packages/components/src/business/loginDialog/LoginDialog.vue2.js +22 -20
- package/lib/packages/components/src/business/loginDialog/LoginDialog.vue2.js.map +1 -1
- package/lib/packages/giime/index.js +2 -0
- package/lib/packages/giime/index.js.map +1 -1
- package/lib/packages/giime/version.js +1 -1
- package/lib/packages/giime/version.js.map +1 -1
- package/lib/packages/hooks/index.js +2 -0
- package/lib/packages/hooks/index.js.map +1 -1
- package/lib/packages/hooks/store/index.js +2 -0
- package/lib/packages/hooks/store/index.js.map +1 -1
- package/lib/packages/hooks/store/useCurrencyList/index.js +7 -7
- package/lib/packages/hooks/store/useCurrencyList/index.js.map +1 -1
- package/lib/packages/hooks/store/useLangList/index.js +7 -7
- package/lib/packages/hooks/store/useLangList/index.js.map +1 -1
- package/lib/packages/hooks/store/useLineList/index.js +7 -7
- package/lib/packages/hooks/store/useLineList/index.js.map +1 -1
- package/lib/packages/hooks/store/useOrgUserList/index.js +40 -0
- package/lib/packages/hooks/store/useOrgUserList/index.js.map +1 -0
- package/lib/packages/hooks/store/usePlatformLineList/index.js +7 -7
- package/lib/packages/hooks/store/usePlatformLineList/index.js.map +1 -1
- package/lib/packages/utils/src/http/createAxios.js +3 -2
- package/lib/packages/utils/src/http/createAxios.js.map +1 -1
- package/package.json +6 -2
|
@@ -6,19 +6,19 @@ import { getPlatformLineApi } from '../../../api/shopAdmin/store/getPlatformLine
|
|
|
6
6
|
const usePlatformLineListStore = defineStore("gmPlatformLineList", () => {
|
|
7
7
|
const platformLineList = ref([]);
|
|
8
8
|
const cascaderList = ref([]);
|
|
9
|
-
const
|
|
9
|
+
const isLoading = ref(false);
|
|
10
10
|
const getPlatformLineList = async (options) => {
|
|
11
11
|
if (!options?.isReload && platformLineList.value.length !== 0) {
|
|
12
|
-
|
|
12
|
+
isLoading.value = false;
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
|
-
if (
|
|
15
|
+
if (isLoading.value) {
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
18
|
try {
|
|
19
|
-
|
|
19
|
+
isLoading.value = true;
|
|
20
20
|
const { data } = await getPlatformLineApi();
|
|
21
|
-
|
|
21
|
+
isLoading.value = false;
|
|
22
22
|
if (data.code !== 0) {
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
@@ -37,7 +37,7 @@ const usePlatformLineListStore = defineStore("gmPlatformLineList", () => {
|
|
|
37
37
|
});
|
|
38
38
|
} catch (e) {
|
|
39
39
|
console.error(e);
|
|
40
|
-
|
|
40
|
+
isLoading.value = false;
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
onMounted(() => {
|
|
@@ -49,7 +49,7 @@ const usePlatformLineListStore = defineStore("gmPlatformLineList", () => {
|
|
|
49
49
|
* 获取平台线路级联列表
|
|
50
50
|
*/
|
|
51
51
|
cascaderList,
|
|
52
|
-
|
|
52
|
+
isLoading,
|
|
53
53
|
getPlatformLineList
|
|
54
54
|
};
|
|
55
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/usePlatformLineList/index.ts"],"sourcesContent":["import { onMounted, ref } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { getPlatformLineApi } from '@giime/api/shopAdmin';\r\nimport type { GetPlatformLineResponseDatum } from '@giime/api/shopAdmin';\r\nexport interface UsePlatformLineListStoreCascaderListItem {\r\n id: number;\r\n name: string;\r\n lineList: {\r\n id: string;\r\n name: string;\r\n }[];\r\n}\r\n/**三方平台线路列表 */\r\nexport const usePlatformLineListStore = defineStore('gmPlatformLineList', () => {\r\n const platformLineList = ref<GetPlatformLineResponseDatum[]>([]);\r\n /**\r\n * 获取平台线路级联列表\r\n */\r\n const cascaderList = ref<UsePlatformLineListStoreCascaderListItem[]>([]);\r\n const
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/usePlatformLineList/index.ts"],"sourcesContent":["import { onMounted, ref } from 'vue';\r\nimport { defineStore } from 'pinia';\r\nimport { getPlatformLineApi } from '@giime/api/shopAdmin';\r\nimport type { GetPlatformLineResponseDatum } from '@giime/api/shopAdmin';\r\nexport interface UsePlatformLineListStoreCascaderListItem {\r\n id: number;\r\n name: string;\r\n lineList: {\r\n id: string;\r\n name: string;\r\n }[];\r\n}\r\n/**三方平台线路列表 */\r\nexport const usePlatformLineListStore = defineStore('gmPlatformLineList', () => {\r\n const platformLineList = ref<GetPlatformLineResponseDatum[]>([]);\r\n /**\r\n * 获取平台线路级联列表\r\n */\r\n const cascaderList = ref<UsePlatformLineListStoreCascaderListItem[]>([]);\r\n const isLoading = ref(false);\r\n const getPlatformLineList = async (options?: { isReload: boolean }) => {\r\n if (!options?.isReload && platformLineList.value.length !== 0) {\r\n isLoading.value = false;\r\n return;\r\n }\r\n if (isLoading.value) {\r\n return;\r\n }\r\n try {\r\n isLoading.value = true;\r\n const { data } = await getPlatformLineApi();\r\n isLoading.value = false;\r\n if (data.code !== 0) {\r\n return;\r\n }\r\n platformLineList.value = data.data;\r\n cascaderList.value = data.data.map(item => {\r\n return {\r\n id: item.plat_id,\r\n name: item.platform,\r\n lineList: item.line_list.map(it => {\r\n return {\r\n id: it.line_code,\r\n name: it.line_name,\r\n };\r\n }),\r\n };\r\n });\r\n } catch (e) {\r\n console.error(e);\r\n isLoading.value = false;\r\n }\r\n };\r\n onMounted(() => {\r\n getPlatformLineList();\r\n });\r\n return {\r\n platformLineList,\r\n /**\r\n * 获取平台线路级联列表\r\n */\r\n cascaderList,\r\n isLoading,\r\n getPlatformLineList,\r\n };\r\n});\r\n"],"names":[],"mappings":";;;;;AAaa,MAAA,wBAAA,GAA2B,WAAY,CAAA,oBAAA,EAAsB,MAAM;AAC9E,EAAM,MAAA,gBAAA,GAAmB,GAAoC,CAAA,EAAE,CAAA,CAAA;AAI/D,EAAM,MAAA,YAAA,GAAe,GAAgD,CAAA,EAAE,CAAA,CAAA;AACvE,EAAM,MAAA,SAAA,GAAY,IAAI,KAAK,CAAA,CAAA;AAC3B,EAAM,MAAA,mBAAA,GAAsB,OAAO,OAAoC,KAAA;AACrE,IAAA,IAAI,CAAC,OAAS,EAAA,QAAA,IAAY,gBAAiB,CAAA,KAAA,CAAM,WAAW,CAAG,EAAA;AAC7D,MAAA,SAAA,CAAU,KAAQ,GAAA,KAAA,CAAA;AAClB,MAAA,OAAA;AAAA,KACF;AACA,IAAA,IAAI,UAAU,KAAO,EAAA;AACnB,MAAA,OAAA;AAAA,KACF;AACA,IAAI,IAAA;AACF,MAAA,SAAA,CAAU,KAAQ,GAAA,IAAA,CAAA;AAClB,MAAA,MAAM,EAAE,IAAA,EAAS,GAAA,MAAM,kBAAmB,EAAA,CAAA;AAC1C,MAAA,SAAA,CAAU,KAAQ,GAAA,KAAA,CAAA;AAClB,MAAI,IAAA,IAAA,CAAK,SAAS,CAAG,EAAA;AACnB,QAAA,OAAA;AAAA,OACF;AACA,MAAA,gBAAA,CAAiB,QAAQ,IAAK,CAAA,IAAA,CAAA;AAC9B,MAAA,YAAA,CAAa,KAAQ,GAAA,IAAA,CAAK,IAAK,CAAA,GAAA,CAAI,CAAQ,IAAA,KAAA;AACzC,QAAO,OAAA;AAAA,UACL,IAAI,IAAK,CAAA,OAAA;AAAA,UACT,MAAM,IAAK,CAAA,QAAA;AAAA,UACX,QAAU,EAAA,IAAA,CAAK,SAAU,CAAA,GAAA,CAAI,CAAM,EAAA,KAAA;AACjC,YAAO,OAAA;AAAA,cACL,IAAI,EAAG,CAAA,SAAA;AAAA,cACP,MAAM,EAAG,CAAA,SAAA;AAAA,aACX,CAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACD,CAAA,CAAA;AAAA,aACM,CAAG,EAAA;AACV,MAAA,OAAA,CAAQ,MAAM,CAAC,CAAA,CAAA;AACf,MAAA,SAAA,CAAU,KAAQ,GAAA,KAAA,CAAA;AAAA,KACpB;AAAA,GACF,CAAA;AACA,EAAA,SAAA,CAAU,MAAM;AACd,IAAoB,mBAAA,EAAA,CAAA;AAAA,GACrB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,gBAAA;AAAA;AAAA;AAAA;AAAA,IAIA,YAAA;AAAA,IACA,SAAA;AAAA,IACA,mBAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
|
|
@@ -11,7 +11,8 @@ const createAxios = (config) => {
|
|
|
11
11
|
// send cookies when cross-domain requests
|
|
12
12
|
timeout: 12e4,
|
|
13
13
|
headers: {
|
|
14
|
-
"content-type": "application/json"
|
|
14
|
+
"content-type": "application/json",
|
|
15
|
+
Accept: "*/*"
|
|
15
16
|
},
|
|
16
17
|
...config
|
|
17
18
|
});
|
|
@@ -44,7 +45,7 @@ const createAxios = (config) => {
|
|
|
44
45
|
if (res.code === 401) {
|
|
45
46
|
res401Interceptors();
|
|
46
47
|
return response;
|
|
47
|
-
} else if (res.code !== successCode
|
|
48
|
+
} else if (res.code !== successCode && res.errCode !== successCode) {
|
|
48
49
|
ElMessage({
|
|
49
50
|
message: res.comment ?? res.message ?? res.errMsg,
|
|
50
51
|
type: "error",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAxios.mjs","sources":["../../../../../../../packages/utils/src/http/createAxios.ts"],"sourcesContent":["import axios from 'axios';\r\nimport { ElMessage } from 'element-plus';\r\nimport Cookies from 'js-cookie';\r\nimport { res401Interceptors } from './interceptors';\r\nimport { responseErrorMessage } from './errorMessage';\r\nimport type { AxiosError, CreateAxiosDefaults } from 'axios';\r\nexport interface CreateAxiosConfig extends CreateAxiosDefaults {\r\n baseURL: string;\r\n /**服务器调用成功的code 一般是 0 或 200 */\r\n successCode: number;\r\n}\r\n\r\nexport const createAxios = (config: CreateAxiosConfig) => {\r\n const successCode = config.successCode ?? 0;\r\n const service = axios.create({\r\n withCredentials: true, // send cookies when cross-domain requests\r\n timeout: 120_000,\r\n headers: {\r\n 'content-type': 'application/json',\r\n },\r\n ...config,\r\n });\r\n\r\n // 请求拦截器\r\n service.interceptors.request.use(\r\n config => {\r\n const _token = Cookies.get('token');\r\n const _user = Cookies.get('sso_user_id');\r\n if (!config.params) {\r\n config.params = {};\r\n }\r\n config.params = {\r\n ...config.params,\r\n _token,\r\n _user,\r\n };\r\n config.headers.Authorization = `Bearer ${_token}`;\r\n return config;\r\n },\r\n error => {\r\n console.error('请求错误', error); // for debug\r\n return Promise.reject(error);\r\n },\r\n );\r\n // 添加响应拦截器\r\n service.interceptors.response.use(\r\n response => {\r\n // 对响应数据做点什么\r\n const res = response.data;\r\n if (!res?.code) {\r\n return response;\r\n }\r\n if (res.code === 401) {\r\n res401Interceptors();\r\n return response;\r\n } else if (res.code !== successCode
|
|
1
|
+
{"version":3,"file":"createAxios.mjs","sources":["../../../../../../../packages/utils/src/http/createAxios.ts"],"sourcesContent":["import axios from 'axios';\r\nimport { ElMessage } from 'element-plus';\r\nimport Cookies from 'js-cookie';\r\nimport { res401Interceptors } from './interceptors';\r\nimport { responseErrorMessage } from './errorMessage';\r\nimport type { AxiosError, CreateAxiosDefaults } from 'axios';\r\nexport interface CreateAxiosConfig extends CreateAxiosDefaults {\r\n baseURL: string;\r\n /**服务器调用成功的code 一般是 0 或 200 */\r\n successCode: number;\r\n}\r\n\r\nexport const createAxios = (config: CreateAxiosConfig) => {\r\n const successCode = config.successCode ?? 0;\r\n const service = axios.create({\r\n withCredentials: true, // send cookies when cross-domain requests\r\n timeout: 120_000,\r\n headers: {\r\n 'content-type': 'application/json',\r\n Accept: '*/*',\r\n },\r\n ...config,\r\n });\r\n\r\n // 请求拦截器\r\n service.interceptors.request.use(\r\n config => {\r\n const _token = Cookies.get('token');\r\n const _user = Cookies.get('sso_user_id');\r\n if (!config.params) {\r\n config.params = {};\r\n }\r\n config.params = {\r\n ...config.params,\r\n _token,\r\n _user,\r\n };\r\n config.headers.Authorization = `Bearer ${_token}`;\r\n return config;\r\n },\r\n error => {\r\n console.error('请求错误', error); // for debug\r\n return Promise.reject(error);\r\n },\r\n );\r\n // 添加响应拦截器\r\n service.interceptors.response.use(\r\n response => {\r\n // 对响应数据做点什么\r\n const res = response.data;\r\n if (!res?.code) {\r\n return response;\r\n }\r\n if (res.code === 401) {\r\n res401Interceptors();\r\n return response;\r\n } else if (res.code !== successCode && res.errCode !== successCode) {\r\n ElMessage({\r\n message: res.comment ?? res.message ?? res.errMsg,\r\n type: 'error',\r\n grouping: true,\r\n duration: 5 * 1000,\r\n });\r\n }\r\n return response;\r\n },\r\n (err: AxiosError) => {\r\n console.error(err);\r\n if (err?.response?.status === 401 && !err.message.includes('timeout')) {\r\n res401Interceptors();\r\n } else {\r\n // 对响应错误做点什么\r\n responseErrorMessage(err);\r\n return Promise.reject(err);\r\n }\r\n },\r\n );\r\n\r\n return {\r\n service,\r\n };\r\n};\r\n"],"names":["config"],"mappings":";;;;;;AAYa,MAAA,WAAA,GAAc,CAAC,MAA8B,KAAA;AACxD,EAAM,MAAA,WAAA,GAAc,OAAO,WAAe,IAAA,CAAA,CAAA;AAC1C,EAAM,MAAA,OAAA,GAAU,MAAM,MAAO,CAAA;AAAA,IAC3B,eAAiB,EAAA,IAAA;AAAA;AAAA,IACjB,OAAS,EAAA,IAAA;AAAA,IACT,OAAS,EAAA;AAAA,MACP,cAAgB,EAAA,kBAAA;AAAA,MAChB,MAAQ,EAAA,KAAA;AAAA,KACV;AAAA,IACA,GAAG,MAAA;AAAA,GACJ,CAAA,CAAA;AAGD,EAAA,OAAA,CAAQ,aAAa,OAAQ,CAAA,GAAA;AAAA,IAC3B,CAAAA,OAAU,KAAA;AACR,MAAM,MAAA,MAAA,GAAS,OAAQ,CAAA,GAAA,CAAI,OAAO,CAAA,CAAA;AAClC,MAAM,MAAA,KAAA,GAAQ,OAAQ,CAAA,GAAA,CAAI,aAAa,CAAA,CAAA;AACvC,MAAI,IAAA,CAACA,QAAO,MAAQ,EAAA;AAClB,QAAAA,OAAAA,CAAO,SAAS,EAAC,CAAA;AAAA,OACnB;AACA,MAAAA,QAAO,MAAS,GAAA;AAAA,QACd,GAAGA,OAAO,CAAA,MAAA;AAAA,QACV,MAAA;AAAA,QACA,KAAA;AAAA,OACF,CAAA;AACA,MAAAA,OAAO,CAAA,OAAA,CAAQ,aAAgB,GAAA,CAAA,OAAA,EAAU,MAAM,CAAA,CAAA,CAAA;AAC/C,MAAOA,OAAAA,OAAAA,CAAAA;AAAA,KACT;AAAA,IACA,CAAS,KAAA,KAAA;AACP,MAAQ,OAAA,CAAA,KAAA,CAAM,4BAAQ,KAAK,CAAA,CAAA;AAC3B,MAAO,OAAA,OAAA,CAAQ,OAAO,KAAK,CAAA,CAAA;AAAA,KAC7B;AAAA,GACF,CAAA;AAEA,EAAA,OAAA,CAAQ,aAAa,QAAS,CAAA,GAAA;AAAA,IAC5B,CAAY,QAAA,KAAA;AAEV,MAAA,MAAM,MAAM,QAAS,CAAA,IAAA,CAAA;AACrB,MAAI,IAAA,CAAC,KAAK,IAAM,EAAA;AACd,QAAO,OAAA,QAAA,CAAA;AAAA,OACT;AACA,MAAI,IAAA,GAAA,CAAI,SAAS,GAAK,EAAA;AACpB,QAAmB,kBAAA,EAAA,CAAA;AACnB,QAAO,OAAA,QAAA,CAAA;AAAA,iBACE,GAAI,CAAA,IAAA,KAAS,WAAe,IAAA,GAAA,CAAI,YAAY,WAAa,EAAA;AAClE,QAAU,SAAA,CAAA;AAAA,UACR,OAAS,EAAA,GAAA,CAAI,OAAW,IAAA,GAAA,CAAI,WAAW,GAAI,CAAA,MAAA;AAAA,UAC3C,IAAM,EAAA,OAAA;AAAA,UACN,QAAU,EAAA,IAAA;AAAA,UACV,UAAU,CAAI,GAAA,GAAA;AAAA,SACf,CAAA,CAAA;AAAA,OACH;AACA,MAAO,OAAA,QAAA,CAAA;AAAA,KACT;AAAA,IACA,CAAC,GAAoB,KAAA;AACnB,MAAA,OAAA,CAAQ,MAAM,GAAG,CAAA,CAAA;AACjB,MAAI,IAAA,GAAA,EAAK,UAAU,MAAW,KAAA,GAAA,IAAO,CAAC,GAAI,CAAA,OAAA,CAAQ,QAAS,CAAA,SAAS,CAAG,EAAA;AACrE,QAAmB,kBAAA,EAAA,CAAA;AAAA,OACd,MAAA;AAEL,QAAA,oBAAA,CAAqB,GAAG,CAAA,CAAA;AACxB,QAAO,OAAA,OAAA,CAAQ,OAAO,GAAG,CAAA,CAAA;AAAA,OAC3B;AAAA,KACF;AAAA,GACF,CAAA;AAEA,EAAO,OAAA;AAAA,IACL,OAAA;AAAA,GACF,CAAA;AACF;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
3
|
initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
3
4
|
height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -79,8 +80,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
79
80
|
$stable?: boolean | undefined;
|
|
80
81
|
} | import("element-plus/es/utils").VNodeChildAtom)[] | null;
|
|
81
82
|
isTwoLengthShow: (index: number) => boolean;
|
|
82
|
-
throttledArrowClick: import("lodash
|
|
83
|
-
throttledIndicatorHover: import("lodash
|
|
83
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
84
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
84
85
|
ns: {
|
|
85
86
|
namespace: import("vue").ComputedRef<string>;
|
|
86
87
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -269,8 +270,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
269
270
|
$stable?: boolean | undefined;
|
|
270
271
|
} | import("element-plus/es/utils").VNodeChildAtom)[] | null;
|
|
271
272
|
isTwoLengthShow: (index: number) => boolean;
|
|
272
|
-
throttledArrowClick: import("lodash
|
|
273
|
-
throttledIndicatorHover: import("lodash
|
|
273
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
274
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
274
275
|
ns: {
|
|
275
276
|
namespace: import("vue").ComputedRef<string>;
|
|
276
277
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
import Carousel from './Carousel.vue';
|
|
2
3
|
export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
3
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -83,8 +84,8 @@ export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
|
83
84
|
$stable?: boolean | undefined;
|
|
84
85
|
} | import("element-plus/es/utils/index.js").VNodeChildAtom)[] | null;
|
|
85
86
|
isTwoLengthShow: (index: number) => boolean;
|
|
86
|
-
throttledArrowClick: import("lodash
|
|
87
|
-
throttledIndicatorHover: import("lodash
|
|
87
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
88
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
88
89
|
ns: {
|
|
89
90
|
namespace: import("vue").ComputedRef<string>;
|
|
90
91
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -273,8 +274,8 @@ export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
|
273
274
|
$stable?: boolean | undefined;
|
|
274
275
|
} | import("element-plus/es/utils/index.js").VNodeChildAtom)[] | null;
|
|
275
276
|
isTwoLengthShow: (index: number) => boolean;
|
|
276
|
-
throttledArrowClick: import("lodash
|
|
277
|
-
throttledIndicatorHover: import("lodash
|
|
277
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
278
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
278
279
|
ns: {
|
|
279
280
|
namespace: import("vue").ComputedRef<string>;
|
|
280
281
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -496,8 +497,8 @@ export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
|
496
497
|
$stable?: boolean | undefined;
|
|
497
498
|
} | import("element-plus/es/utils/index.js").VNodeChildAtom)[] | null;
|
|
498
499
|
isTwoLengthShow: (index: number) => boolean;
|
|
499
|
-
throttledArrowClick: import("lodash
|
|
500
|
-
throttledIndicatorHover: import("lodash
|
|
500
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
501
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
501
502
|
ns: {
|
|
502
503
|
namespace: import("vue").ComputedRef<string>;
|
|
503
504
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -686,8 +687,8 @@ export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
|
686
687
|
$stable?: boolean | undefined;
|
|
687
688
|
} | import("element-plus/es/utils/index.js").VNodeChildAtom)[] | null;
|
|
688
689
|
isTwoLengthShow: (index: number) => boolean;
|
|
689
|
-
throttledArrowClick: import("lodash
|
|
690
|
-
throttledIndicatorHover: import("lodash
|
|
690
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
691
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
691
692
|
ns: {
|
|
692
693
|
namespace: import("vue").ComputedRef<string>;
|
|
693
694
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -889,8 +890,8 @@ export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
|
889
890
|
$stable?: boolean | undefined;
|
|
890
891
|
} | import("element-plus/es/utils/index.js").VNodeChildAtom)[] | null;
|
|
891
892
|
isTwoLengthShow: (index: number) => boolean;
|
|
892
|
-
throttledArrowClick: import("lodash
|
|
893
|
-
throttledIndicatorHover: import("lodash
|
|
893
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
894
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
894
895
|
ns: {
|
|
895
896
|
namespace: import("vue").ComputedRef<string>;
|
|
896
897
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1079,8 +1080,8 @@ export declare const GmCarousel: import("../../../../utils").SFCWithInstall<{
|
|
|
1079
1080
|
$stable?: boolean | undefined;
|
|
1080
1081
|
} | import("element-plus/es/utils/index.js").VNodeChildAtom)[] | null;
|
|
1081
1082
|
isTwoLengthShow: (index: number) => boolean;
|
|
1082
|
-
throttledArrowClick: import("lodash
|
|
1083
|
-
throttledIndicatorHover: import("lodash
|
|
1083
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
1084
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
1084
1085
|
ns: {
|
|
1085
1086
|
namespace: import("vue").ComputedRef<string>;
|
|
1086
1087
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
3
|
data: {
|
|
3
4
|
type: import("vue").PropType<any[]>;
|
|
@@ -251,7 +252,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
251
252
|
width: string;
|
|
252
253
|
height: string;
|
|
253
254
|
} | null>;
|
|
254
|
-
debouncedUpdateLayout: import("lodash
|
|
255
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
255
256
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
256
257
|
setCurrentRow: (row: any) => void;
|
|
257
258
|
getSelectionRows: () => any;
|
|
@@ -582,7 +583,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
582
583
|
width: string;
|
|
583
584
|
height: string;
|
|
584
585
|
} | null>;
|
|
585
|
-
debouncedUpdateLayout: import("lodash
|
|
586
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
586
587
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
587
588
|
setCurrentRow: (row: any) => void;
|
|
588
589
|
getSelectionRows: () => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
import Table from './Table.vue';
|
|
2
3
|
import type { TableColumnCtx } from 'element-plus/es/components/table/src/table-column/defaults';
|
|
3
4
|
export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
@@ -273,7 +274,7 @@ export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
|
273
274
|
width: string;
|
|
274
275
|
height: string;
|
|
275
276
|
} | null>;
|
|
276
|
-
debouncedUpdateLayout: import("lodash
|
|
277
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
277
278
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
278
279
|
setCurrentRow: (row: any) => void;
|
|
279
280
|
getSelectionRows: () => any;
|
|
@@ -604,7 +605,7 @@ export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
|
604
605
|
width: string;
|
|
605
606
|
height: string;
|
|
606
607
|
} | null>;
|
|
607
|
-
debouncedUpdateLayout: import("lodash
|
|
608
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
608
609
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
609
610
|
setCurrentRow: (row: any) => void;
|
|
610
611
|
getSelectionRows: () => any;
|
|
@@ -1098,7 +1099,7 @@ export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
|
1098
1099
|
width: string;
|
|
1099
1100
|
height: string;
|
|
1100
1101
|
} | null>;
|
|
1101
|
-
debouncedUpdateLayout: import("lodash
|
|
1102
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
1102
1103
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
1103
1104
|
setCurrentRow: (row: any) => void;
|
|
1104
1105
|
getSelectionRows: () => any;
|
|
@@ -1429,7 +1430,7 @@ export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
|
1429
1430
|
width: string;
|
|
1430
1431
|
height: string;
|
|
1431
1432
|
} | null>;
|
|
1432
|
-
debouncedUpdateLayout: import("lodash
|
|
1433
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
1433
1434
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
1434
1435
|
setCurrentRow: (row: any) => void;
|
|
1435
1436
|
getSelectionRows: () => any;
|
|
@@ -1794,7 +1795,7 @@ export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
|
1794
1795
|
width: string;
|
|
1795
1796
|
height: string;
|
|
1796
1797
|
} | null>;
|
|
1797
|
-
debouncedUpdateLayout: import("lodash
|
|
1798
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
1798
1799
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
1799
1800
|
setCurrentRow: (row: any) => void;
|
|
1800
1801
|
getSelectionRows: () => any;
|
|
@@ -2125,7 +2126,7 @@ export declare const GmTable: import("../../../../utils").SFCWithInstall<{
|
|
|
2125
2126
|
width: string;
|
|
2126
2127
|
height: string;
|
|
2127
2128
|
} | null>;
|
|
2128
|
-
debouncedUpdateLayout: import("lodash
|
|
2129
|
+
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
2129
2130
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
2130
2131
|
setCurrentRow: (row: any) => void;
|
|
2131
2132
|
getSelectionRows: () => any;
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.4";
|
|
@@ -3,14 +3,14 @@ import type { PostShopAdminStoreFilterResponseDataCurrency } from '../../../api/
|
|
|
3
3
|
/**币种列表 */
|
|
4
4
|
export declare const useCurrencyListStore: import("pinia").StoreDefinition<"gmCurrencyList", import("pinia")._UnwrapAll<Pick<{
|
|
5
5
|
currencyList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataCurrency[]>;
|
|
6
|
-
|
|
6
|
+
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
getCurrencyList: () => Promise<void>;
|
|
8
|
-
}, "
|
|
8
|
+
}, "isLoading" | "currencyList">>, Pick<{
|
|
9
9
|
currencyList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataCurrency[]>;
|
|
10
|
-
|
|
10
|
+
isLoading: import("vue").Ref<boolean>;
|
|
11
11
|
getCurrencyList: () => Promise<void>;
|
|
12
12
|
}, never>, Pick<{
|
|
13
13
|
currencyList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataCurrency[]>;
|
|
14
|
-
|
|
14
|
+
isLoading: import("vue").Ref<boolean>;
|
|
15
15
|
getCurrencyList: () => Promise<void>;
|
|
16
16
|
}, "getCurrencyList">>;
|
|
@@ -3,14 +3,14 @@ import type { GetV1BasicGetLangListResultData } from '../../../api';
|
|
|
3
3
|
/**语种列表 */
|
|
4
4
|
export declare const useLangListStore: import("pinia").StoreDefinition<"gmLangList", import("pinia")._UnwrapAll<Pick<{
|
|
5
5
|
langList: import("@vueuse/shared").RemovableRef<GetV1BasicGetLangListResultData[]>;
|
|
6
|
-
|
|
6
|
+
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
getLangList: () => Promise<void>;
|
|
8
|
-
}, "
|
|
8
|
+
}, "isLoading" | "langList">>, Pick<{
|
|
9
9
|
langList: import("@vueuse/shared").RemovableRef<GetV1BasicGetLangListResultData[]>;
|
|
10
|
-
|
|
10
|
+
isLoading: import("vue").Ref<boolean>;
|
|
11
11
|
getLangList: () => Promise<void>;
|
|
12
12
|
}, never>, Pick<{
|
|
13
13
|
langList: import("@vueuse/shared").RemovableRef<GetV1BasicGetLangListResultData[]>;
|
|
14
|
-
|
|
14
|
+
isLoading: import("vue").Ref<boolean>;
|
|
15
15
|
getLangList: () => Promise<void>;
|
|
16
16
|
}, "getLangList">>;
|
|
@@ -3,14 +3,14 @@ import type { PostShopAdminStoreFilterResponseDataLine } from '../../../api/shop
|
|
|
3
3
|
/**国家线路列表 */
|
|
4
4
|
export declare const useLineListStore: import("pinia").StoreDefinition<"gmLineList", import("pinia")._UnwrapAll<Pick<{
|
|
5
5
|
lineList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataLine[]>;
|
|
6
|
-
|
|
6
|
+
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
getLineList: () => Promise<void>;
|
|
8
|
-
}, "
|
|
8
|
+
}, "isLoading" | "lineList">>, Pick<{
|
|
9
9
|
lineList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataLine[]>;
|
|
10
|
-
|
|
10
|
+
isLoading: import("vue").Ref<boolean>;
|
|
11
11
|
getLineList: () => Promise<void>;
|
|
12
12
|
}, never>, Pick<{
|
|
13
13
|
lineList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataLine[]>;
|
|
14
|
-
|
|
14
|
+
isLoading: import("vue").Ref<boolean>;
|
|
15
15
|
getLineList: () => Promise<void>;
|
|
16
16
|
}, "getLineList">>;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**用户-家族列表 */
|
|
2
|
+
export declare const useOrgUserListStore: import("pinia").StoreDefinition<"gmOrgUserList", import("pinia")._UnwrapAll<Pick<{
|
|
3
|
+
userList: import("vue").ComputedRef<{
|
|
4
|
+
user_id: number;
|
|
5
|
+
user_name: string;
|
|
6
|
+
family_code: string;
|
|
7
|
+
family_name: string;
|
|
8
|
+
}[]>;
|
|
9
|
+
isLoading: import("vue").Ref<boolean>;
|
|
10
|
+
orgUserList: import("vue").ComputedRef<{
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
children: {
|
|
14
|
+
label: string;
|
|
15
|
+
value: number;
|
|
16
|
+
}[];
|
|
17
|
+
}[]>;
|
|
18
|
+
getOrgUserList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<{
|
|
19
|
+
data: {
|
|
20
|
+
user_id: number;
|
|
21
|
+
user_name: string;
|
|
22
|
+
family_code: string;
|
|
23
|
+
family_name: string;
|
|
24
|
+
}[];
|
|
25
|
+
errCode: number;
|
|
26
|
+
requestId: string;
|
|
27
|
+
errMsg: string;
|
|
28
|
+
apiLog: null;
|
|
29
|
+
}, import("axios").AxiosResponse<{
|
|
30
|
+
data: {
|
|
31
|
+
user_id: number;
|
|
32
|
+
user_name: string;
|
|
33
|
+
family_code: string;
|
|
34
|
+
family_name: string;
|
|
35
|
+
}[];
|
|
36
|
+
errCode: number;
|
|
37
|
+
requestId: string;
|
|
38
|
+
errMsg: string;
|
|
39
|
+
apiLog: null;
|
|
40
|
+
}, any>, any> | undefined>;
|
|
41
|
+
}, "isLoading">>, Pick<{
|
|
42
|
+
userList: import("vue").ComputedRef<{
|
|
43
|
+
user_id: number;
|
|
44
|
+
user_name: string;
|
|
45
|
+
family_code: string;
|
|
46
|
+
family_name: string;
|
|
47
|
+
}[]>;
|
|
48
|
+
isLoading: import("vue").Ref<boolean>;
|
|
49
|
+
orgUserList: import("vue").ComputedRef<{
|
|
50
|
+
label: string;
|
|
51
|
+
value: string;
|
|
52
|
+
children: {
|
|
53
|
+
label: string;
|
|
54
|
+
value: number;
|
|
55
|
+
}[];
|
|
56
|
+
}[]>;
|
|
57
|
+
getOrgUserList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<{
|
|
58
|
+
data: {
|
|
59
|
+
user_id: number;
|
|
60
|
+
user_name: string;
|
|
61
|
+
family_code: string;
|
|
62
|
+
family_name: string;
|
|
63
|
+
}[];
|
|
64
|
+
errCode: number;
|
|
65
|
+
requestId: string;
|
|
66
|
+
errMsg: string;
|
|
67
|
+
apiLog: null;
|
|
68
|
+
}, import("axios").AxiosResponse<{
|
|
69
|
+
data: {
|
|
70
|
+
user_id: number;
|
|
71
|
+
user_name: string;
|
|
72
|
+
family_code: string;
|
|
73
|
+
family_name: string;
|
|
74
|
+
}[];
|
|
75
|
+
errCode: number;
|
|
76
|
+
requestId: string;
|
|
77
|
+
errMsg: string;
|
|
78
|
+
apiLog: null;
|
|
79
|
+
}, any>, any> | undefined>;
|
|
80
|
+
}, "userList" | "orgUserList">, Pick<{
|
|
81
|
+
userList: import("vue").ComputedRef<{
|
|
82
|
+
user_id: number;
|
|
83
|
+
user_name: string;
|
|
84
|
+
family_code: string;
|
|
85
|
+
family_name: string;
|
|
86
|
+
}[]>;
|
|
87
|
+
isLoading: import("vue").Ref<boolean>;
|
|
88
|
+
orgUserList: import("vue").ComputedRef<{
|
|
89
|
+
label: string;
|
|
90
|
+
value: string;
|
|
91
|
+
children: {
|
|
92
|
+
label: string;
|
|
93
|
+
value: number;
|
|
94
|
+
}[];
|
|
95
|
+
}[]>;
|
|
96
|
+
getOrgUserList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<{
|
|
97
|
+
data: {
|
|
98
|
+
user_id: number;
|
|
99
|
+
user_name: string;
|
|
100
|
+
family_code: string;
|
|
101
|
+
family_name: string;
|
|
102
|
+
}[];
|
|
103
|
+
errCode: number;
|
|
104
|
+
requestId: string;
|
|
105
|
+
errMsg: string;
|
|
106
|
+
apiLog: null;
|
|
107
|
+
}, import("axios").AxiosResponse<{
|
|
108
|
+
data: {
|
|
109
|
+
user_id: number;
|
|
110
|
+
user_name: string;
|
|
111
|
+
family_code: string;
|
|
112
|
+
family_name: string;
|
|
113
|
+
}[];
|
|
114
|
+
errCode: number;
|
|
115
|
+
requestId: string;
|
|
116
|
+
errMsg: string;
|
|
117
|
+
apiLog: null;
|
|
118
|
+
}, any>, any> | undefined>;
|
|
119
|
+
}, "getOrgUserList">>;
|
|
@@ -35,11 +35,11 @@ export declare const usePlatformLineListStore: import("pinia").StoreDefinition<"
|
|
|
35
35
|
name: string;
|
|
36
36
|
}[];
|
|
37
37
|
}[]>;
|
|
38
|
-
|
|
38
|
+
isLoading: import("vue").Ref<boolean>;
|
|
39
39
|
getPlatformLineList: (options?: {
|
|
40
40
|
isReload: boolean;
|
|
41
41
|
}) => Promise<void>;
|
|
42
|
-
}, "
|
|
42
|
+
}, "isLoading" | "platformLineList" | "cascaderList">>, Pick<{
|
|
43
43
|
platformLineList: import("vue").Ref<{
|
|
44
44
|
line_list: {
|
|
45
45
|
line_code: string;
|
|
@@ -67,7 +67,7 @@ export declare const usePlatformLineListStore: import("pinia").StoreDefinition<"
|
|
|
67
67
|
name: string;
|
|
68
68
|
}[];
|
|
69
69
|
}[]>;
|
|
70
|
-
|
|
70
|
+
isLoading: import("vue").Ref<boolean>;
|
|
71
71
|
getPlatformLineList: (options?: {
|
|
72
72
|
isReload: boolean;
|
|
73
73
|
}) => Promise<void>;
|
|
@@ -99,7 +99,7 @@ export declare const usePlatformLineListStore: import("pinia").StoreDefinition<"
|
|
|
99
99
|
name: string;
|
|
100
100
|
}[];
|
|
101
101
|
}[]>;
|
|
102
|
-
|
|
102
|
+
isLoading: import("vue").Ref<boolean>;
|
|
103
103
|
getPlatformLineList: (options?: {
|
|
104
104
|
isReload: boolean;
|
|
105
105
|
}) => Promise<void>;
|