smoothly 0.3.47 → 0.3.49
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/dist/cjs/{Listenable-f6012fc2.js → Listenable-0b92b362.js} +33 -1
- package/dist/cjs/{getLanguage-430ecf04.js → getLanguage-7e53766b.js} +1013 -915
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/smoothly-accordion_53.cjs.entry.js +15 -4
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/display/index.js +2 -2
- package/dist/collection/components/display-amount/index.js +1 -1
- package/dist/collection/components/input/index.js +8 -3
- package/dist/custom-elements/index.js +880 -739
- package/dist/esm/{Listenable-34b047d8.js → Listenable-79ce5567.js} +33 -1
- package/dist/esm/{getLanguage-cccb8418.js → getLanguage-9c833eef.js} +1013 -915
- package/dist/esm/index.js +2 -2
- package/dist/esm/smoothly-accordion_53.entry.js +15 -4
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-1b714a63.js +1 -0
- package/dist/smoothly/{p-41bd21da.entry.js → p-68919b0f.entry.js} +1 -1
- package/dist/smoothly/p-8f1d86ff.js +1 -0
- package/dist/smoothly/{p-6630d923.entry.js → p-bb508923.entry.js} +1 -1
- package/dist/smoothly/{p-e7b088e6.entry.js → p-f446ca1a.entry.js} +1 -1
- package/dist/smoothly/p-fcaa551d.entry.js +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/input/index.d.ts +1 -0
- package/package.json +5 -5
- package/dist/smoothly/p-5b6351f6.js +0 -1
- package/dist/smoothly/p-9fa64d2b.entry.js +0 -1
- package/dist/smoothly/p-e6cb38de.js +0 -1
|
@@ -47,6 +47,15 @@ function decode(value, standard = "standard") {
|
|
|
47
47
|
}
|
|
48
48
|
return result;
|
|
49
49
|
}
|
|
50
|
+
function next(value, increment = 1, standard = "standard") {
|
|
51
|
+
const table = tables[standard];
|
|
52
|
+
const rest = value.length > 1 ? value.substring(0, value.length - 1) : increment > 0 ? "" : table[63];
|
|
53
|
+
const number = (value.length == 0 ? 0 : table.indexOf(value[value.length - 1])) + increment;
|
|
54
|
+
return ((number > 63 || number < 0 ? next(rest, Math.floor(number / 63), standard) : rest) + table[remainder(number, 64)]);
|
|
55
|
+
}
|
|
56
|
+
function remainder(left, right) {
|
|
57
|
+
return left >= 0 ? left % right : remainder(left + right, right);
|
|
58
|
+
}
|
|
50
59
|
|
|
51
60
|
const crypto = typeof window != "undefined"
|
|
52
61
|
? window.crypto || window.msCrypto
|
|
@@ -153,6 +162,23 @@ exports.Identifier = void 0;
|
|
|
153
162
|
return result.join("");
|
|
154
163
|
}
|
|
155
164
|
Identifier.toHexadecimal = toHexadecimal;
|
|
165
|
+
function min(length) {
|
|
166
|
+
return "".padStart(length, "A");
|
|
167
|
+
}
|
|
168
|
+
Identifier.min = min;
|
|
169
|
+
function max(length) {
|
|
170
|
+
return "".padStart(length, "_");
|
|
171
|
+
}
|
|
172
|
+
Identifier.max = max;
|
|
173
|
+
function next$1(identifier, increment = 1) {
|
|
174
|
+
const result = next(identifier, increment, "url");
|
|
175
|
+
return result.length == identifier.length ? result : result.substring(result.length - identifier.length);
|
|
176
|
+
}
|
|
177
|
+
Identifier.next = next$1;
|
|
178
|
+
function previous(identifier, decrement = 1) {
|
|
179
|
+
return next$1(identifier, -decrement);
|
|
180
|
+
}
|
|
181
|
+
Identifier.previous = previous;
|
|
156
182
|
Identifier.length = [
|
|
157
183
|
4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112,
|
|
158
184
|
116, 120, 124, 128,
|
|
@@ -438,7 +464,13 @@ if (!Uint8Array.__proto__.from) {
|
|
|
438
464
|
var Converter;
|
|
439
465
|
(function (Converter) {
|
|
440
466
|
function is(value) {
|
|
441
|
-
return typeof value == "object" &&
|
|
467
|
+
return (typeof value == "object" &&
|
|
468
|
+
Object.values(value).every(v => v &&
|
|
469
|
+
typeof v == "object" &&
|
|
470
|
+
"forward" in v &&
|
|
471
|
+
typeof v.forward == "function" &&
|
|
472
|
+
"backward" in v &&
|
|
473
|
+
typeof v.backward == "function"));
|
|
442
474
|
}
|
|
443
475
|
Converter.is = is;
|
|
444
476
|
})(Converter || (Converter = {}));
|