@nuskin/product-components 3.18.2-gms-12720.1 → 3.18.2-gms-12518.2
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/.releaserc
CHANGED
|
@@ -48,8 +48,11 @@
|
|
|
48
48
|
<div :class="$style.offerMessaging">
|
|
49
49
|
<h2 :class="$style.offerTitle">{{ localTranslations.welcome }}</h2>
|
|
50
50
|
<p :class="$style.offerMessage">
|
|
51
|
-
|
|
52
|
-
<span v-if="!offer.isGroupOffer && offer.countryCode
|
|
51
|
+
<span v-if="!offer.isGroupOffer">{{ offer.name }}</span>
|
|
52
|
+
<span v-if="!offer.isGroupOffer && offer.countryCode === 'JP'">
|
|
53
|
+
さん,
|
|
54
|
+
</span>
|
|
55
|
+
<span v-else-if="!offer.isGroupOffer && offer.countryCode !== 'JP'"
|
|
53
56
|
>,
|
|
54
57
|
</span>
|
|
55
58
|
<span>{{ offer.greeting }}</span>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<template #custom>
|
|
30
30
|
<input
|
|
31
|
-
ref="
|
|
31
|
+
ref="autoFocusInput"
|
|
32
32
|
v-model.number="quantityInput"
|
|
33
33
|
:class="[$style.customInput, { [$style.small]: size === 'small' }]"
|
|
34
34
|
type="number"
|
|
@@ -171,6 +171,17 @@ export default {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
|
+
mounted() {
|
|
175
|
+
this.$nextTick(() => {
|
|
176
|
+
const input = this.$refs.autoFocusInput;
|
|
177
|
+
if (input && input.focus) {
|
|
178
|
+
input.focus();
|
|
179
|
+
} else {
|
|
180
|
+
const fallbackInput = this.$el.querySelector("input");
|
|
181
|
+
if (fallbackInput) fallbackInput.focus();
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
},
|
|
174
185
|
methods: {
|
|
175
186
|
/**
|
|
176
187
|
* Disables input
|
|
@@ -237,10 +248,18 @@ export default {
|
|
|
237
248
|
this.dropdownMax,
|
|
238
249
|
this.dropdownMax - this.includeZero ? 0 : 1
|
|
239
250
|
);
|
|
240
|
-
setTimeout(() => {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}, 100);
|
|
251
|
+
// setTimeout(() => {
|
|
252
|
+
// this.$refs.input.focus();
|
|
253
|
+
// this.$refs.input.select();
|
|
254
|
+
// }, 100);
|
|
255
|
+
this.$nextTick(() => {
|
|
256
|
+
if (!this.isMobile()) {
|
|
257
|
+
this.$refs.input.focus();
|
|
258
|
+
this.$refs.input.select();
|
|
259
|
+
} else {
|
|
260
|
+
this.$refs.input.blur();
|
|
261
|
+
}
|
|
262
|
+
});
|
|
244
263
|
} else {
|
|
245
264
|
this.errorMessage = "";
|
|
246
265
|
this.showCustomSelectedItem = false;
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.18.2-gms-
|
|
1
|
+
## [3.18.2-gms-12518.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.2-gms-12518.1...v3.18.2-gms-12518.2) (2025-06-26)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:0b0c03da-d444-4848-8255-be769ddb6499",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2025-06-
|
|
7
|
+
"timestamp": "2025-06-26T11:13:59Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "GitLab",
|
|
11
11
|
"name": "Gemnasium",
|
|
12
|
-
"version": "5.9.
|
|
12
|
+
"version": "5.9.4"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"authors": [
|