@awes-io/ui 2.48.0 → 2.49.0
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/CHANGELOG.md +11 -0
- package/assets/css/components/button-fixed.css +3 -3
- package/components/1_atoms/AwDropdown.vue +1 -1
- package/components/2_molecules/AwButton.vue +1 -1
- package/components/2_molecules/AwIsland/AwIslandBuilder.vue +1 -1
- package/components/2_molecules/AwSelect.vue +2 -2
- package/components/2_molecules/AwSelectObject.vue +2 -2
- package/components/3_organisms/AwAddressBlock.vue +21 -21
- package/components/3_organisms/AwBirthdayPicker.vue +2 -2
- package/components/3_organisms/AwBottomBar.vue +1 -1
- package/components/3_organisms/AwCalendar/AwCalendar.vue +1 -1
- package/components/3_organisms/AwCalendar/AwCalendarView.vue +1 -1
- package/components/3_organisms/AwCalendar/_AwCalendarNav.vue +3 -3
- package/components/3_organisms/AwCalendar/_AwCalendarWeekdays.vue +1 -2
- package/components/3_organisms/AwCodeSnippet.vue +1 -1
- package/components/3_organisms/AwCropper.vue +2 -2
- package/components/3_organisms/AwDate.vue +1 -1
- package/components/3_organisms/AwDisplayDate.vue +1 -1
- package/components/3_organisms/AwDownloadLink.vue +2 -2
- package/components/3_organisms/AwFetchData.vue +1 -1
- package/components/3_organisms/AwIslandAvatar.vue +4 -4
- package/components/3_organisms/AwModal.vue +2 -2
- package/components/3_organisms/AwModelEdit.vue +6 -6
- package/components/3_organisms/AwMultiBlockBuilder.vue +3 -3
- package/components/3_organisms/AwPagination.vue +2 -2
- package/components/3_organisms/AwSearch.vue +2 -2
- package/components/3_organisms/AwTable/AwTableBuilder.vue +3 -3
- package/components/3_organisms/AwUploader.vue +4 -4
- package/components/3_organisms/AwUploaderFiles.vue +2 -2
- package/components/4_pages/AwPage.vue +3 -3
- package/components/4_pages/AwPageModal.vue +2 -2
- package/components/4_pages/_AwButtonFixed.vue +3 -3
- package/components/5_layouts/AwLayoutCenter.vue +1 -1
- package/components/5_layouts/AwLayoutError.vue +2 -2
- package/components/5_layouts/_AwLayoutLogo.vue +1 -1
- package/components/5_layouts/_AwMobileMenu.vue +8 -8
- package/components/5_layouts/_AwOfflineNotify.vue +2 -2
- package/components/5_layouts/_AwUserMenu.vue +3 -3
- package/components/_config.js +16 -1
- package/nuxt/awes.config.js +2 -0
- package/nuxt/index.js +0 -22
- package/nuxt/templates/lang.plugin.js +90 -7
- package/package.json +2 -3
- package/lang/de.js +0 -199
- package/lang/en.js +0 -223
- package/lang/ru.js +0 -204
- package/lang/uk.js +0 -200
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.49.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.48.0...@awes-io/ui@2.49.0) (2022-05-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* translation system updated ([2827c0e](https://github.com/awes-io/client/commit/2827c0e6108523aa26e3f5af10478be23cace54f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.48.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.47.3...@awes-io/ui@2.48.0) (2022-05-16)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
&__text {
|
|
21
21
|
flex-shrink: 1;
|
|
22
22
|
max-width: 1px;
|
|
23
|
-
margin-
|
|
23
|
+
margin-left: -1px;
|
|
24
24
|
|
|
25
25
|
opacity: 0.1;
|
|
26
26
|
transition-property: max-width, margin, opacity;
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
|
|
29
29
|
&--expanded {
|
|
30
30
|
max-width: 16rem;
|
|
31
|
-
margin-
|
|
31
|
+
margin-left: 0.75em;
|
|
32
32
|
opacity: 1;
|
|
33
33
|
transition-timing-function: ease-out;
|
|
34
|
-
transition-duration:
|
|
34
|
+
transition-duration: 210ms;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
data-arrow-focus
|
|
236
236
|
>
|
|
237
237
|
<slot name="not-found" :searchPhrase="searchPhrase">
|
|
238
|
-
{{ $t('
|
|
238
|
+
{{ $t('aw.select.not_found') }}
|
|
239
239
|
</slot>
|
|
240
240
|
</AwDropdownButton>
|
|
241
241
|
</slot>
|
|
@@ -344,7 +344,7 @@ export default {
|
|
|
344
344
|
createConfirmText: {
|
|
345
345
|
type: String,
|
|
346
346
|
default() {
|
|
347
|
-
return this.$t('
|
|
347
|
+
return this.$t('aw.select.new_one')
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
<!-- not found -->
|
|
164
164
|
<div v-if="_showNotFound" class="aw-select__notify">
|
|
165
165
|
<slot name="not-found" :searchPhrase="searchPhrase">
|
|
166
|
-
{{ $t('
|
|
166
|
+
{{ $t('aw.select.empty') }}
|
|
167
167
|
</slot>
|
|
168
168
|
</div>
|
|
169
169
|
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
class="aw-select__notify aw-select__notify--loading"
|
|
174
174
|
>
|
|
175
175
|
<slot name="loading">
|
|
176
|
-
{{ $t('
|
|
176
|
+
{{ $t('aw.select.loading') }}
|
|
177
177
|
</slot>
|
|
178
178
|
</div>
|
|
179
179
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<AwAddress
|
|
5
5
|
ref="address"
|
|
6
6
|
:gm-language="$i18n.locale || 'en'"
|
|
7
|
-
:label="$t('
|
|
7
|
+
:label="$t('aw.address_block.address')"
|
|
8
8
|
:error="addressError"
|
|
9
9
|
:gm-key="gmKey"
|
|
10
10
|
:timezone="timezone"
|
|
@@ -24,62 +24,62 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
26
|
<AwGrid :col="{ md: 2 }">
|
|
27
|
-
<AwInfo :label="$t('
|
|
27
|
+
<AwInfo :label="$t('aw.address_block.street')">
|
|
28
28
|
<span v-if="model.address.address_1">
|
|
29
29
|
{{ model.address.address_1 }}
|
|
30
30
|
</span>
|
|
31
31
|
<AwLink
|
|
32
32
|
v-else
|
|
33
|
-
:text="$t('
|
|
33
|
+
:text="$t('aw.address_block.add')"
|
|
34
34
|
@click="openModal('address_1')"
|
|
35
35
|
/>
|
|
36
36
|
</AwInfo>
|
|
37
37
|
|
|
38
|
-
<AwInfo :label="$t('
|
|
38
|
+
<AwInfo :label="$t('aw.address_block.apt')">
|
|
39
39
|
<span v-if="model.address.apt">
|
|
40
40
|
{{ model.address.apt }}
|
|
41
41
|
</span>
|
|
42
42
|
<AwLink
|
|
43
43
|
v-else
|
|
44
|
-
:text="$t('
|
|
44
|
+
:text="$t('aw.address_block.add')"
|
|
45
45
|
@click="openModal('apt')"
|
|
46
46
|
/>
|
|
47
47
|
</AwInfo>
|
|
48
48
|
|
|
49
|
-
<AwInfo :label="$t('
|
|
49
|
+
<AwInfo :label="$t('aw.address_block.city')">
|
|
50
50
|
<span v-if="model.address.city">
|
|
51
51
|
{{ model.address.city }}
|
|
52
52
|
</span>
|
|
53
53
|
<AwLink
|
|
54
54
|
v-else
|
|
55
|
-
:text="$t('
|
|
55
|
+
:text="$t('aw.address_block.add')"
|
|
56
56
|
@click="openModal('city')"
|
|
57
57
|
/>
|
|
58
58
|
</AwInfo>
|
|
59
59
|
|
|
60
|
-
<AwInfo :label="$t('
|
|
60
|
+
<AwInfo :label="$t('aw.address_block.region')">
|
|
61
61
|
<span v-if="model.address.region">
|
|
62
62
|
{{ model.address.region }}
|
|
63
63
|
</span>
|
|
64
64
|
<AwLink
|
|
65
65
|
v-else
|
|
66
|
-
:text="$t('
|
|
66
|
+
:text="$t('aw.address_block.add')"
|
|
67
67
|
@click="openModal('region')"
|
|
68
68
|
/>
|
|
69
69
|
</AwInfo>
|
|
70
70
|
|
|
71
|
-
<AwInfo :label="$t('
|
|
71
|
+
<AwInfo :label="$t('aw.address_block.postal_code')">
|
|
72
72
|
<span v-if="model.address.postal_code">
|
|
73
73
|
{{ model.address.postal_code }}
|
|
74
74
|
</span>
|
|
75
75
|
<AwLink
|
|
76
76
|
v-else
|
|
77
|
-
:text="$t('
|
|
77
|
+
:text="$t('aw.address_block.add')"
|
|
78
78
|
@click="openModal('postal_code')"
|
|
79
79
|
/>
|
|
80
80
|
</AwInfo>
|
|
81
81
|
|
|
82
|
-
<AwInfo :label="$t('
|
|
82
|
+
<AwInfo :label="$t('aw.address_block.country')">
|
|
83
83
|
<span>
|
|
84
84
|
{{ model.address.meta.google_country_name }}
|
|
85
85
|
</span>
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
:key="_uid"
|
|
119
119
|
:param="false"
|
|
120
120
|
:name="modalName"
|
|
121
|
-
:title="$t('
|
|
121
|
+
:title="$t('aw.address_block.modal.title')"
|
|
122
122
|
@opened="onModalOpen"
|
|
123
123
|
@closed="onModalClose"
|
|
124
124
|
>
|
|
@@ -126,42 +126,42 @@
|
|
|
126
126
|
<AwInput
|
|
127
127
|
ref="address_1"
|
|
128
128
|
v-model="address.address_1"
|
|
129
|
-
:label="$t('
|
|
129
|
+
:label="$t('aw.address_block.street')"
|
|
130
130
|
:error="model.errors['address.address_1']"
|
|
131
131
|
/>
|
|
132
132
|
|
|
133
133
|
<AwInput
|
|
134
134
|
ref="apt"
|
|
135
135
|
v-model="address.apt"
|
|
136
|
-
:label="$t('
|
|
136
|
+
:label="$t('aw.address_block.apt')"
|
|
137
137
|
:error="model.errors['address.apt']"
|
|
138
138
|
/>
|
|
139
139
|
|
|
140
140
|
<AwInput
|
|
141
141
|
ref="city"
|
|
142
142
|
v-model="address.city"
|
|
143
|
-
:label="$t('
|
|
143
|
+
:label="$t('aw.address_block.city')"
|
|
144
144
|
:error="model.errors['address.city']"
|
|
145
145
|
/>
|
|
146
146
|
|
|
147
147
|
<AwInput
|
|
148
148
|
ref="region"
|
|
149
149
|
v-model="address.region"
|
|
150
|
-
:label="$t('
|
|
150
|
+
:label="$t('aw.address_block.region')"
|
|
151
151
|
:error="model.errors['address.region']"
|
|
152
152
|
/>
|
|
153
153
|
|
|
154
154
|
<AwInput
|
|
155
155
|
ref="postal_code"
|
|
156
156
|
v-model="address.postal_code"
|
|
157
|
-
:label="$t('
|
|
157
|
+
:label="$t('aw.address_block.postal_code')"
|
|
158
158
|
:error="model.errors['address.postal_code']"
|
|
159
159
|
/>
|
|
160
160
|
|
|
161
161
|
<AwInput
|
|
162
162
|
ref="country"
|
|
163
163
|
:value="model.address.meta.google_country_name"
|
|
164
|
-
:label="$t('
|
|
164
|
+
:label="$t('aw.address_block.country')"
|
|
165
165
|
:error="model.errors['address.meta.google_country_name']"
|
|
166
166
|
disabled
|
|
167
167
|
/>
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
<template #buttons>
|
|
171
171
|
<div class="flex items-center border-t w-full p-4">
|
|
172
172
|
<AwButton
|
|
173
|
-
:text="$t('
|
|
173
|
+
:text="$t('aw.address_block.modal.save')"
|
|
174
174
|
style="margin-right: 1rem"
|
|
175
175
|
@click="saveAddress"
|
|
176
176
|
/>
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
@click="resetAddress"
|
|
182
182
|
>
|
|
183
183
|
<span class="text-dark-blue">
|
|
184
|
-
{{ $t('
|
|
184
|
+
{{ $t('aw.address_block.modal.cancel') }}
|
|
185
185
|
</span>
|
|
186
186
|
</AwButton>
|
|
187
187
|
</div>
|
|
@@ -98,7 +98,7 @@ export default {
|
|
|
98
98
|
label: {
|
|
99
99
|
type: String,
|
|
100
100
|
default() {
|
|
101
|
-
return this.$t('
|
|
101
|
+
return this.$t('aw.birthday_picker.birthday')
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
|
|
@@ -166,7 +166,7 @@ export default {
|
|
|
166
166
|
key,
|
|
167
167
|
[KEY_ATTR]: key,
|
|
168
168
|
name: this._inputNames[i].name,
|
|
169
|
-
placeholder: this.$t('
|
|
169
|
+
placeholder: this.$t('aw.birthday_picker.' + key),
|
|
170
170
|
pattern: MASK_MAP[key],
|
|
171
171
|
maxlength: PLACEHOLDER_MAP[key].length,
|
|
172
172
|
inputmode: 'numeric'
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
</template>
|
|
36
36
|
|
|
37
37
|
<script>
|
|
38
|
-
import { AwCalendar as
|
|
38
|
+
import { AwCalendar as _config } from '@AwConfig'
|
|
39
39
|
|
|
40
40
|
export default {
|
|
41
41
|
name: 'AwCalendarNav',
|
|
@@ -52,7 +52,7 @@ export default {
|
|
|
52
52
|
months: {
|
|
53
53
|
type: Array,
|
|
54
54
|
default() {
|
|
55
|
-
return this.$t('
|
|
55
|
+
return this.$t('aw.calendar.months')
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
|
|
@@ -63,7 +63,7 @@ export default {
|
|
|
63
63
|
|
|
64
64
|
computed: {
|
|
65
65
|
_months() {
|
|
66
|
-
return Array.isArray(this.months) ? this.months :
|
|
66
|
+
return Array.isArray(this.months) ? this.months : _config.months
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import { pathOr } from 'rambdax'
|
|
3
|
-
import { AwCalendar as lang } from '../../../lang/en'
|
|
4
3
|
import { AwCalendar as _config } from '@AwConfig'
|
|
5
4
|
import { CONFIG_VAR } from '@AwUtils/component'
|
|
6
5
|
|
|
@@ -34,7 +33,7 @@ export default {
|
|
|
34
33
|
|
|
35
34
|
const namesArray = Array.isArray(weekdayNames)
|
|
36
35
|
? weekdayNames
|
|
37
|
-
:
|
|
36
|
+
: _config.weekdaysShort
|
|
38
37
|
|
|
39
38
|
const sortedNames = namesArray
|
|
40
39
|
.slice(firstDay)
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
class="aw-cropper__rotate"
|
|
13
13
|
content-class="px-2"
|
|
14
14
|
theme="icon"
|
|
15
|
-
:text="$t('
|
|
15
|
+
:text="$t('aw.cropper.rotate')"
|
|
16
16
|
color="default"
|
|
17
17
|
@click="rotate"
|
|
18
18
|
>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
<slot name="buttons" :rotate="rotate" :save="save">
|
|
34
34
|
<!-- save -->
|
|
35
|
-
<AwButton :text="$t('
|
|
35
|
+
<AwButton :text="$t('aw.cropper.save')" @click="save" />
|
|
36
36
|
</slot>
|
|
37
37
|
</div>
|
|
38
38
|
</template>
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
type: String,
|
|
110
110
|
/* Translatable word "Download" */
|
|
111
111
|
default() {
|
|
112
|
-
return this.$t('
|
|
112
|
+
return this.$t('aw.download_link.download')
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
/**
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
type: String,
|
|
120
120
|
/* Translatable word "Download" */
|
|
121
121
|
default() {
|
|
122
|
-
return this.$t('
|
|
122
|
+
return this.$t('aw.download_link.download')
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
/**
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
<AwDropdownButton
|
|
60
60
|
v-if="zoomable && src"
|
|
61
|
-
:text="$t('
|
|
61
|
+
:text="$t('aw.page_user.zoom')"
|
|
62
62
|
@click="openZoomModal"
|
|
63
63
|
/>
|
|
64
64
|
<label
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
class="aw-dropdown-button aw-dropdown-button_default"
|
|
67
67
|
>
|
|
68
68
|
<span tabindex="-1">
|
|
69
|
-
{{ $t('
|
|
69
|
+
{{ $t('aw.page_user.upload') }}
|
|
70
70
|
</span>
|
|
71
71
|
<input
|
|
72
72
|
class="sr-only"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
</label>
|
|
78
78
|
<AwDropdownButton
|
|
79
79
|
v-if="editable && src"
|
|
80
|
-
:text="$t('
|
|
80
|
+
:text="$t('aw.page_user.remove')"
|
|
81
81
|
color="error"
|
|
82
82
|
@click="removeAvatar"
|
|
83
83
|
/>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
v-if="editable"
|
|
145
145
|
ref="cropModal"
|
|
146
146
|
:param="null"
|
|
147
|
-
:title="$t('
|
|
147
|
+
:title="$t('aw.page_user.modal_title')"
|
|
148
148
|
theme="fullscreen"
|
|
149
149
|
>
|
|
150
150
|
<AwCropper :src="uploadedAvatar" @save="saveAvatar" />
|
|
@@ -73,7 +73,7 @@ export default {
|
|
|
73
73
|
saveText: {
|
|
74
74
|
type: String,
|
|
75
75
|
default() {
|
|
76
|
-
return this.$t('
|
|
76
|
+
return this.$t('aw.model_edit.save')
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
|
|
@@ -82,7 +82,7 @@ export default {
|
|
|
82
82
|
cancelText: {
|
|
83
83
|
type: String,
|
|
84
84
|
default() {
|
|
85
|
-
return this.$t('
|
|
85
|
+
return this.$t('aw.model_edit.cancel')
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
|
|
@@ -179,7 +179,7 @@ export default {
|
|
|
179
179
|
|
|
180
180
|
this.notify(
|
|
181
181
|
'success',
|
|
182
|
-
this.notifyText || this.$t('
|
|
182
|
+
this.notifyText || this.$t('aw.model_edit.success')
|
|
183
183
|
)
|
|
184
184
|
|
|
185
185
|
if (this.isRedirect) {
|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
189
189
|
console.log(e)
|
|
190
190
|
|
|
191
191
|
const msg = pathOr(
|
|
192
|
-
this.$t('
|
|
192
|
+
this.$t('aw.model_edit.error'),
|
|
193
193
|
this.saveErrorPath,
|
|
194
194
|
e
|
|
195
195
|
)
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
245
245
|
|
|
246
246
|
ask() {
|
|
247
247
|
if (this.model.changed()) {
|
|
248
|
-
return this.$confirm(this.$t('
|
|
248
|
+
return this.$confirm(this.$t('aw.model_edit.cancel_all_changes'))
|
|
249
249
|
} else {
|
|
250
250
|
return Promise.resolve()
|
|
251
251
|
}
|
|
@@ -287,7 +287,7 @@ export default {
|
|
|
287
287
|
_onPageLeave($event) {
|
|
288
288
|
$event.preventDefault()
|
|
289
289
|
|
|
290
|
-
$event.returnValue = this.$t('
|
|
290
|
+
$event.returnValue = this.$t('aw.model_edit.cancel_all_changes')
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<AwButton
|
|
31
31
|
icon="close"
|
|
32
32
|
theme="icon"
|
|
33
|
-
:text="$t('
|
|
33
|
+
:text="$t('aw.multi_block_builder.remove')"
|
|
34
34
|
@click="remove(model)"
|
|
35
35
|
/>
|
|
36
36
|
</h5>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<slot name="add" v-bind="{ collection, title, add }">
|
|
51
51
|
<!-- `<button>+ Add {title}</button>` -->
|
|
52
52
|
<AwLink class="text-sm font-bold uppercase" @click="add">
|
|
53
|
-
{{ $t('
|
|
53
|
+
{{ $t('aw.multi_block_builder.add', { title }) }}
|
|
54
54
|
</AwLink>
|
|
55
55
|
</slot>
|
|
56
56
|
</div>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<!-- `<button>Save</button>` -->
|
|
61
61
|
<div class="mt-8">
|
|
62
62
|
<AwButton :disabled="buttonDisabled" @click="collection.save()">
|
|
63
|
-
{{ $t('
|
|
63
|
+
{{ $t('aw.multi_block_builder.save') }}
|
|
64
64
|
</AwButton>
|
|
65
65
|
</div>
|
|
66
66
|
</slot>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</AwButton>
|
|
34
34
|
|
|
35
35
|
<span class="lg:hidden">
|
|
36
|
-
{{ $t('
|
|
36
|
+
{{ $t('aw.pagination.page', { page, pagesTotal }) }}
|
|
37
37
|
</span>
|
|
38
38
|
<div
|
|
39
39
|
class="hidden lg:inline-flex aw-button-nav aw-button-nav__wrapper"
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
</AwDropdown>
|
|
110
110
|
</template>
|
|
111
111
|
<span v-else class="text-sm opacity-50">
|
|
112
|
-
{{ $t('
|
|
112
|
+
{{ $t('aw.pagination.limit', { limit }) }}
|
|
113
113
|
</span>
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
|
@@ -85,11 +85,11 @@ export default {
|
|
|
85
85
|
|
|
86
86
|
computed: {
|
|
87
87
|
placeholder() {
|
|
88
|
-
const basicPlaceholder = this.$t('
|
|
88
|
+
const basicPlaceholder = this.$t('aw.search.text')
|
|
89
89
|
|
|
90
90
|
return this.globalKeyBind
|
|
91
91
|
? basicPlaceholder +
|
|
92
|
-
this.$t('
|
|
92
|
+
this.$t('aw.search.key_bind', { key: this.globalKeyBind })
|
|
93
93
|
: basicPlaceholder
|
|
94
94
|
}
|
|
95
95
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<slot name="empty-title">
|
|
23
23
|
<!-- Text: "There are no data to show" -->
|
|
24
24
|
<div class="text-mono-400 mb-4">
|
|
25
|
-
{{ $t('
|
|
25
|
+
{{ $t('aw.table_builder.empty') }}
|
|
26
26
|
</div>
|
|
27
27
|
</slot>
|
|
28
28
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<slot name="empty-filter-title">
|
|
56
56
|
<!-- Text: "There are no data to show" -->
|
|
57
57
|
<div class="text-mono-400 mb-4">
|
|
58
|
-
{{ $t('
|
|
58
|
+
{{ $t('aw.table_builder.empty_filter') }}
|
|
59
59
|
</div>
|
|
60
60
|
</slot>
|
|
61
61
|
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
slot="left"
|
|
172
172
|
class="h-5 w-5"
|
|
173
173
|
/>
|
|
174
|
-
{{ $t('
|
|
174
|
+
{{ $t('aw.table_builder.loading') }}
|
|
175
175
|
</AwChip>
|
|
176
176
|
</slot>
|
|
177
177
|
</div>
|