bfg-common 1.3.367 → 1.3.369

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.
@@ -1,35 +1,38 @@
1
- <template>
2
- <div id="loading-container" :hidden="!props.show">
3
- <div class="spinner spinner-inverse">{{ localization.loading }}...</div>
4
- </div>
5
- </template>
6
-
7
- <script setup lang="ts">
8
- import { UI_I_Localization } from '~/lib/models/interfaces'
9
-
10
- const props = defineProps<{
11
- show: boolean
12
- }>()
13
-
14
- const localization = computed<UI_I_Localization>(() => useLocal())
15
- </script>
16
-
17
- <style scoped lang="scss">
18
- #loading-container {
19
- position: fixed;
20
- top: 0;
21
- left: 0;
22
- right: 0;
23
- bottom: 0;
24
- display: flex;
25
- align-items: center;
26
- justify-content: center;
27
- background-color: #fff;
28
- z-index: 99999;
29
-
30
- .spinner {
31
- opacity: 0.5;
32
- white-space: nowrap;
33
- }
34
- }
35
- </style>
1
+ <template>
2
+ <div id="loading-container" :hidden="!props.show">
3
+ <div :data-id="props.dataId" class="spinner spinner-inverse">
4
+ {{ localization.loading }}...
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+ import { UI_I_Localization } from '~/lib/models/interfaces'
11
+
12
+ const props = defineProps<{
13
+ show: boolean
14
+ testId: string
15
+ }>()
16
+
17
+ const localization = computed<UI_I_Localization>(() => useLocal())
18
+ </script>
19
+
20
+ <style scoped lang="scss">
21
+ #loading-container {
22
+ position: fixed;
23
+ top: 0;
24
+ left: 0;
25
+ right: 0;
26
+ bottom: 0;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ background-color: #fff;
31
+ z-index: 99999;
32
+
33
+ .spinner {
34
+ opacity: 0.5;
35
+ white-space: nowrap;
36
+ }
37
+ }
38
+ </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.367",
4
+ "version": "1.3.369",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",