hl-core 0.0.8-beta.30 → 0.0.8-beta.31

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 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.8-beta.30",
3
+ "version": "0.0.8-beta.31",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",