hl-core 0.0.8-beta.30 → 0.0.8-beta.32
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/api/index.ts +0 -7
- package/components/Pages/Auth.vue +0 -4
- package/composables/constants.ts +0 -1
- package/package.json +13 -1
package/api/index.ts
CHANGED
|
@@ -12,13 +12,6 @@ export class ApiClass {
|
|
|
12
12
|
private readonly productUrl: string = import.meta.env.VITE_PRODUCT_URL as string;
|
|
13
13
|
|
|
14
14
|
private async axiosCall<T>(config: AxiosRequestConfig): Promise<T> {
|
|
15
|
-
const dataStore = useDataStore();
|
|
16
|
-
if (dataStore.isBridge && !this.baseURL) {
|
|
17
|
-
console.error('No Axios baseURL');
|
|
18
|
-
}
|
|
19
|
-
if (!dataStore.isBridge && !dataStore.isCalculator && (!this.baseURL || !this.productUrl)) {
|
|
20
|
-
console.error('No Axios baseURL or productURL');
|
|
21
|
-
}
|
|
22
15
|
const { data } = await useAxios(this.baseURL).request<T>(config);
|
|
23
16
|
return data;
|
|
24
17
|
}
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
:loading="authLoading"
|
|
32
32
|
:placeholder="$t('buttons.userLogin')"
|
|
33
33
|
type="text"
|
|
34
|
-
@submitted="submitAuthForm"
|
|
35
34
|
></base-rounded-input>
|
|
36
35
|
<base-rounded-input
|
|
37
36
|
class="mb-1"
|
|
@@ -42,7 +41,6 @@
|
|
|
42
41
|
:append-inner-icon="showPassword ? 'mdi-eye-outline' : 'mdi-eye-off-outline'"
|
|
43
42
|
@append="showPassword = !showPassword"
|
|
44
43
|
:type="showPassword ? ('' as InputTypes) : 'password'"
|
|
45
|
-
@submitted="submitAuthForm"
|
|
46
44
|
></base-rounded-input>
|
|
47
45
|
<span v-if="$dataStore.isLKA" class="inline-block w-full text-end mb-4" :class="[$libStyles.textSimple, $libStyles.greyTextDark]" @click="isLogin = false">{{
|
|
48
46
|
$t('labels.resetPassword')
|
|
@@ -70,7 +68,6 @@
|
|
|
70
68
|
:loading="authLoading"
|
|
71
69
|
:placeholder="$t('form.phoneNumber')"
|
|
72
70
|
type="text"
|
|
73
|
-
@submitted="submitAuthForm"
|
|
74
71
|
></base-rounded-input>
|
|
75
72
|
<base-rounded-input
|
|
76
73
|
v-if="resetPasswordType === 'email'"
|
|
@@ -79,7 +76,6 @@
|
|
|
79
76
|
:loading="authLoading"
|
|
80
77
|
:placeholder="$t('form.email')"
|
|
81
78
|
type="text"
|
|
82
|
-
@submitted="submitAuthForm"
|
|
83
79
|
></base-rounded-input>
|
|
84
80
|
<span class="inline-block w-full text-end mb-4" :class="[$libStyles.textSimple, $libStyles.greyTextDark]" @click="isLogin = true">{{ $t('buttons.login') }}</span>
|
|
85
81
|
<base-btn :text="$t('buttons.reset')" :disabled="authLoading" :btn="$libStyles.greenBtn" @click="submitAuthForm"></base-btn>
|
package/composables/constants.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hl-core",
|
|
3
|
-
"version": "0.0.8-beta.
|
|
3
|
+
"version": "0.0.8-beta.32",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "nuxt.config.ts",
|
|
@@ -24,6 +24,18 @@
|
|
|
24
24
|
"dev": "nuxt clean && nuxt dev",
|
|
25
25
|
"generate": "nuxt generate",
|
|
26
26
|
"preview": "nuxt preview",
|
|
27
|
+
"update:core": "git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main",
|
|
28
|
+
"update:aml": "cd .. && cd aml && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
29
|
+
"update:baiterek": "cd .. && cd baiterek && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
30
|
+
"update:bolashak": "cd .. && cd bolashak && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
31
|
+
"update:calculator": "cd .. && cd calculator && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
32
|
+
"update:efo": "cd .. && cd efo && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
33
|
+
"update:gons": "cd .. && cd gons && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
34
|
+
"update:kazyna": "cd .. && cd kazyna && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
35
|
+
"update:liferenta": "cd .. && cd liferenta && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
36
|
+
"update:lka": "cd .. && cd lka && yarn && git checkout -b %npm_package_version% && git add . && git commit -m \"%npm_package_version%\" && git push && git checkout main && cd .. && cd core",
|
|
37
|
+
"update:all": "yarn update:aml && yarn update:baiterek && yarn update:bolashak && yarn update:calculator && yarn update:efo && yarn update:gons && yarn update:kazyna && yarn update:liferenta && yarn update:lka",
|
|
38
|
+
"pull:all": "cd .. && cd aml && git pull && cd .. && cd baiterek && git pull && cd .. && cd bolashak && git pull && cd .. && cd calculator && git pull && cd .. && cd efo && git pull && cd .. && cd gons && git pull && cd .. && cd kazyna && git pull && cd .. && cd liferenta && git pull && cd .. && cd lka && git pull && cd ..",
|
|
27
39
|
"typecheck": "nuxt typecheck"
|
|
28
40
|
},
|
|
29
41
|
"devDependencies": {
|