@nuskin/product-components 3.18.2-gms-12518.4 → 3.18.2-mdigi-4997.1
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
|
@@ -32,8 +32,6 @@
|
|
|
32
32
|
v-model.number="quantityInput"
|
|
33
33
|
:class="[$style.customInput, { [$style.small]: size === 'small' }]"
|
|
34
34
|
type="number"
|
|
35
|
-
inputmode="numeric"
|
|
36
|
-
:readonly="this.isMobileDevice() && !isInputFocused"
|
|
37
35
|
min="0"
|
|
38
36
|
step="1"
|
|
39
37
|
@input="handleInput"
|
|
@@ -135,7 +133,6 @@ export default {
|
|
|
135
133
|
quantityInput: this.dropdownMax || 1,
|
|
136
134
|
selectedValue: this.selected || 1,
|
|
137
135
|
showCustomSelectedItem: false,
|
|
138
|
-
isInputFocused: false,
|
|
139
136
|
//
|
|
140
137
|
errorMessage: "",
|
|
141
138
|
maxNotUsed: true
|
|
@@ -209,7 +206,6 @@ export default {
|
|
|
209
206
|
} else {
|
|
210
207
|
this.select(value);
|
|
211
208
|
}
|
|
212
|
-
this.isInputFocused = false;
|
|
213
209
|
},
|
|
214
210
|
handleInput(event) {
|
|
215
211
|
const value = event.target.value;
|
|
@@ -241,18 +237,10 @@ export default {
|
|
|
241
237
|
this.dropdownMax,
|
|
242
238
|
this.dropdownMax - this.includeZero ? 0 : 1
|
|
243
239
|
);
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
this.$nextTick(() => {
|
|
249
|
-
if (!this.isMobileDevice()) {
|
|
250
|
-
this.$refs.input.focus();
|
|
251
|
-
this.$refs.input.select();
|
|
252
|
-
} else {
|
|
253
|
-
this.$refs.input.blur();
|
|
254
|
-
}
|
|
255
|
-
});
|
|
240
|
+
setTimeout(() => {
|
|
241
|
+
this.$refs.input.focus();
|
|
242
|
+
this.$refs.input.select();
|
|
243
|
+
}, 100);
|
|
256
244
|
} else {
|
|
257
245
|
this.errorMessage = "";
|
|
258
246
|
this.showCustomSelectedItem = false;
|
|
@@ -274,15 +262,7 @@ export default {
|
|
|
274
262
|
return (
|
|
275
263
|
itemQty >= this.dropdownMax && this.maxAvailable > this.dropdownMax
|
|
276
264
|
);
|
|
277
|
-
},
|
|
278
|
-
handleFocus() {
|
|
279
|
-
this.isInputFocused = true;
|
|
280
265
|
}
|
|
281
|
-
// isMobileDevice() {
|
|
282
|
-
// return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
283
|
-
// navigator.userAgent
|
|
284
|
-
// );
|
|
285
|
-
// }
|
|
286
266
|
}
|
|
287
267
|
};
|
|
288
268
|
</script>
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.18.2-
|
|
1
|
+
## [3.18.2-mdigi-4997.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.1...v3.18.2-mdigi-4997.1) (2025-06-19)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:e13cf412-7f02-4cb4-af5b-bf8495e7e98b",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2025-06-
|
|
7
|
+
"timestamp": "2025-06-19T11:58:46Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "GitLab",
|
|
11
11
|
"name": "Gemnasium",
|
|
12
|
-
"version": "5.9.
|
|
12
|
+
"version": "5.9.3"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"authors": [
|