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
|
@@ -45,6 +45,15 @@ function decode(value, standard = "standard") {
|
|
|
45
45
|
}
|
|
46
46
|
return result;
|
|
47
47
|
}
|
|
48
|
+
function next(value, increment = 1, standard = "standard") {
|
|
49
|
+
const table = tables[standard];
|
|
50
|
+
const rest = value.length > 1 ? value.substring(0, value.length - 1) : increment > 0 ? "" : table[63];
|
|
51
|
+
const number = (value.length == 0 ? 0 : table.indexOf(value[value.length - 1])) + increment;
|
|
52
|
+
return ((number > 63 || number < 0 ? next(rest, Math.floor(number / 63), standard) : rest) + table[remainder(number, 64)]);
|
|
53
|
+
}
|
|
54
|
+
function remainder(left, right) {
|
|
55
|
+
return left >= 0 ? left % right : remainder(left + right, right);
|
|
56
|
+
}
|
|
48
57
|
|
|
49
58
|
const crypto = typeof window != "undefined"
|
|
50
59
|
? window.crypto || window.msCrypto
|
|
@@ -151,6 +160,23 @@ var Identifier;
|
|
|
151
160
|
return result.join("");
|
|
152
161
|
}
|
|
153
162
|
Identifier.toHexadecimal = toHexadecimal;
|
|
163
|
+
function min(length) {
|
|
164
|
+
return "".padStart(length, "A");
|
|
165
|
+
}
|
|
166
|
+
Identifier.min = min;
|
|
167
|
+
function max(length) {
|
|
168
|
+
return "".padStart(length, "_");
|
|
169
|
+
}
|
|
170
|
+
Identifier.max = max;
|
|
171
|
+
function next$1(identifier, increment = 1) {
|
|
172
|
+
const result = next(identifier, increment, "url");
|
|
173
|
+
return result.length == identifier.length ? result : result.substring(result.length - identifier.length);
|
|
174
|
+
}
|
|
175
|
+
Identifier.next = next$1;
|
|
176
|
+
function previous(identifier, decrement = 1) {
|
|
177
|
+
return next$1(identifier, -decrement);
|
|
178
|
+
}
|
|
179
|
+
Identifier.previous = previous;
|
|
154
180
|
Identifier.length = [
|
|
155
181
|
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,
|
|
156
182
|
116, 120, 124, 128,
|
|
@@ -436,7 +462,13 @@ if (!Uint8Array.__proto__.from) {
|
|
|
436
462
|
var Converter;
|
|
437
463
|
(function (Converter) {
|
|
438
464
|
function is(value) {
|
|
439
|
-
return typeof value == "object" &&
|
|
465
|
+
return (typeof value == "object" &&
|
|
466
|
+
Object.values(value).every(v => v &&
|
|
467
|
+
typeof v == "object" &&
|
|
468
|
+
"forward" in v &&
|
|
469
|
+
typeof v.forward == "function" &&
|
|
470
|
+
"backward" in v &&
|
|
471
|
+
typeof v.backward == "function"));
|
|
440
472
|
}
|
|
441
473
|
Converter.is = is;
|
|
442
474
|
})(Converter || (Converter = {}));
|