@quidgest/ui 0.18.0 → 0.20.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 +89 -0
- package/dist/json/api.json +1328 -215
- package/dist/manifest/components.json +3 -1
- package/dist/ui.css +1448 -185
- package/dist/ui.esm.js +1448 -825
- package/dist/ui.js +1411 -788
- package/dist/ui.min.css +2 -1
- package/dist/ui.min.js +1411 -788
- package/dist/ui.scss +597 -157
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +1 -1
- package/esm/components/QGrid/QCol.vue.js +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +147 -3
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +32 -23
- package/esm/components/QInputGroup/index.d.ts +81 -4
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +3 -1
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +24 -28
- package/esm/components/QList/types.d.ts +1 -1
- package/esm/components/QOverlay/types.d.ts +3 -1
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +2263 -0
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -0
- package/esm/components/QPhoneField/QPhoneField.vue.js +478 -0
- package/esm/components/QPhoneField/QPhoneField2.vue.js +5 -0
- package/esm/components/QPhoneField/constants.d.ts +11 -0
- package/esm/components/QPhoneField/constants.d.ts.map +1 -0
- package/esm/components/QPhoneField/constants.js +14 -0
- package/esm/components/QPhoneField/index.d.ts +1253 -0
- package/esm/components/QPhoneField/index.d.ts.map +1 -0
- package/esm/components/QPhoneField/index.js +6 -0
- package/esm/components/QPhoneField/types.d.ts +108 -0
- package/esm/components/QPhoneField/types.d.ts.map +1 -0
- package/esm/components/{QGroupBox/QGroupBox.d.ts → QSection/QSection.d.ts} +4 -4
- package/esm/components/QSection/QSection.d.ts.map +1 -0
- package/esm/components/{QGroupBox/QGroupBox.vue.js → QSection/QSection.vue.js} +8 -8
- package/esm/components/QSection/QSection2.vue.js +5 -0
- package/esm/components/{QGroupBox → QSection}/index.d.ts +8 -8
- package/esm/components/QSection/index.d.ts.map +1 -0
- package/esm/components/QSection/index.js +6 -0
- package/esm/components/QSection/types.d.ts +32 -0
- package/esm/components/QSection/types.d.ts.map +1 -0
- package/esm/components/QSelect/QSelect.d.ts +16 -1
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +158 -129
- package/esm/components/QSelect/index.d.ts +31 -3
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +13 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +53 -6
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +76 -106
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +24 -210
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +47 -59
- package/esm/components/QSidebar/QSidebarItem.d.ts +213 -0
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebarItem.vue.js +130 -0
- package/esm/components/QSidebar/QSidebarItem2.vue.js +5 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts +1 -7
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +4 -10
- package/esm/components/QSidebar/context.d.ts +108 -0
- package/esm/components/QSidebar/context.d.ts.map +1 -0
- package/esm/components/QSidebar/context.js +4 -0
- package/esm/components/QSidebar/index.d.ts +166 -8
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSidebar/index.js +3 -2
- package/esm/components/QSidebar/types.d.ts +77 -42
- package/esm/components/QSidebar/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +1 -0
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +2 -1
- package/esm/components/QTabs/QTabs.d.ts +2 -0
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +125 -46
- package/esm/components/QTabs/context.d.ts +10 -3
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +2 -0
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QTabs/types.d.ts +3 -1
- package/esm/components/QTabs/types.d.ts.map +1 -1
- package/esm/components/index.d.ts +2 -1
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +48 -45
- package/esm/composables/useDialog/index.d.ts +2 -88
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.js +6 -6
- package/esm/composables/useDialog/types.d.ts +14 -4
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/vendors/country-flag-icons/modules/countries.json.js +4 -0
- package/esm/vendors/country-flag-icons/modules/hasFlag.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouType.js +312 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +142 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js +145 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +45 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeFormatter.js +258 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeFormatter.util.js +57 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeParser.js +242 -0
- package/esm/vendors/libphonenumber-js/es6/AsYouTypeState.js +115 -0
- package/esm/vendors/libphonenumber-js/es6/ParseError.js +116 -0
- package/esm/vendors/libphonenumber-js/es6/PhoneNumber.js +164 -0
- package/esm/vendors/libphonenumber-js/es6/constants.js +4 -0
- package/esm/vendors/libphonenumber-js/es6/format.js +77 -0
- package/esm/vendors/libphonenumber-js/es6/formatIncompletePhoneNumber.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/getCountries.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/getExampleNumber.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/RFC3966.js +9 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/checkNumberLength.js +21 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extension/extractExtension.js +16 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +36 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +21 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +18 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extractNationalNumber.js +27 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +27 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/extractPhoneContext.js +15 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +11 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js +13 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +12 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +43 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/getIddPrefix.js +10 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/getNumberType.js +61 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/isCallingCode.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/isCountryCode.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/isObject.js +7 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +12 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/mergeArrays.js +39 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/parseDigits.js +82 -0
- package/esm/vendors/libphonenumber-js/es6/helpers/stripIddPrefix.js +18 -0
- package/esm/vendors/libphonenumber-js/es6/isPossible.js +32 -0
- package/esm/vendors/libphonenumber-js/es6/isValid.js +11 -0
- package/esm/vendors/libphonenumber-js/es6/metadata.js +474 -0
- package/esm/vendors/libphonenumber-js/es6/normalizeArguments.js +110 -0
- package/esm/vendors/libphonenumber-js/es6/parse.js +103 -0
- package/esm/vendors/libphonenumber-js/es6/parseIncompletePhoneNumber.js +48 -0
- package/esm/vendors/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
- package/esm/vendors/libphonenumber-js/es6/parsePhoneNumberWithError_.js +58 -0
- package/esm/vendors/libphonenumber-js/es6/parsePhoneNumber_.js +66 -0
- package/esm/vendors/libphonenumber-js/es6/tools/semver-compare.js +14 -0
- package/esm/vendors/libphonenumber-js/examples.mobile.json.js +250 -0
- package/esm/vendors/libphonenumber-js/max/exports/AsYouType.js +9 -0
- package/esm/vendors/libphonenumber-js/max/exports/formatIncompletePhoneNumber.js +8 -0
- package/esm/vendors/libphonenumber-js/max/exports/getCountries.js +8 -0
- package/esm/vendors/libphonenumber-js/max/exports/getCountryCallingCode.js +8 -0
- package/esm/vendors/libphonenumber-js/max/exports/getExampleNumber.js +8 -0
- package/esm/vendors/libphonenumber-js/max/exports/isSupportedCountry.js +8 -0
- package/esm/vendors/libphonenumber-js/max/exports/parsePhoneNumber.js +8 -0
- package/esm/vendors/libphonenumber-js/max/exports/withMetadataArgument.js +8 -0
- package/esm/vendors/libphonenumber-js/metadata.max.json.js +10489 -0
- package/package.json +9 -6
- package/esm/components/QGroupBox/QGroupBox.d.ts.map +0 -1
- package/esm/components/QGroupBox/QGroupBox2.vue.js +0 -5
- package/esm/components/QGroupBox/index.d.ts.map +0 -1
- package/esm/components/QGroupBox/index.js +0 -6
- package/esm/components/QGroupBox/types.d.ts +0 -32
- package/esm/components/QGroupBox/types.d.ts.map +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { parseDigit as e } from "./helpers/parseDigits.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js
|
|
3
|
+
function t(e, t) {
|
|
4
|
+
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
5
|
+
if (r) return (r = r.call(e)).next.bind(r);
|
|
6
|
+
if (Array.isArray(e) || (r = n(e)) || t && e && typeof e.length == "number") {
|
|
7
|
+
r && (e = r);
|
|
8
|
+
var i = 0;
|
|
9
|
+
return function() {
|
|
10
|
+
return i >= e.length ? { done: !0 } : {
|
|
11
|
+
done: !1,
|
|
12
|
+
value: e[i++]
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17
|
+
}
|
|
18
|
+
function n(e, t) {
|
|
19
|
+
if (e) {
|
|
20
|
+
if (typeof e == "string") return r(e, t);
|
|
21
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
22
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? r(e, t) : void 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function r(e, t) {
|
|
26
|
+
(t == null || t > e.length) && (t = e.length);
|
|
27
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
28
|
+
return r;
|
|
29
|
+
}
|
|
30
|
+
function i(e) {
|
|
31
|
+
for (var n = "", r = t(e.split("")), i; !(i = r()).done;) {
|
|
32
|
+
var o = i.value;
|
|
33
|
+
n += a(o, n) || "";
|
|
34
|
+
}
|
|
35
|
+
return n;
|
|
36
|
+
}
|
|
37
|
+
function a(t, n, r) {
|
|
38
|
+
if (t === "+") {
|
|
39
|
+
if (n) {
|
|
40
|
+
typeof r == "function" && r("end");
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
return "+";
|
|
44
|
+
}
|
|
45
|
+
return e(t);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { i as default, a as parsePhoneNumberCharacter };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./normalizeArguments.js";
|
|
2
|
+
import t from "./parsePhoneNumber_.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/es6/parsePhoneNumber.js
|
|
4
|
+
function n() {
|
|
5
|
+
var n = e(arguments), r = n.text, i = n.options, a = n.metadata;
|
|
6
|
+
return t(r, i, a);
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as default };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import e from "./parse.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js
|
|
3
|
+
function t(e) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
return t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
6
|
+
return typeof e;
|
|
7
|
+
} : function(e) {
|
|
8
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
9
|
+
}, t(e);
|
|
10
|
+
}
|
|
11
|
+
function n(e, t) {
|
|
12
|
+
var n = Object.keys(e);
|
|
13
|
+
if (Object.getOwnPropertySymbols) {
|
|
14
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
15
|
+
t && (r = r.filter(function(t) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
17
|
+
})), n.push.apply(n, r);
|
|
18
|
+
}
|
|
19
|
+
return n;
|
|
20
|
+
}
|
|
21
|
+
function r(e) {
|
|
22
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
23
|
+
var r = arguments[t] == null ? {} : arguments[t];
|
|
24
|
+
t % 2 ? n(Object(r), !0).forEach(function(t) {
|
|
25
|
+
i(e, t, r[t]);
|
|
26
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach(function(t) {
|
|
27
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return e;
|
|
31
|
+
}
|
|
32
|
+
function i(e, t, n) {
|
|
33
|
+
return (t = a(t)) in e ? Object.defineProperty(e, t, {
|
|
34
|
+
value: n,
|
|
35
|
+
enumerable: !0,
|
|
36
|
+
configurable: !0,
|
|
37
|
+
writable: !0
|
|
38
|
+
}) : e[t] = n, e;
|
|
39
|
+
}
|
|
40
|
+
function a(e) {
|
|
41
|
+
var n = o(e, "string");
|
|
42
|
+
return t(n) == "symbol" ? n : n + "";
|
|
43
|
+
}
|
|
44
|
+
function o(e, n) {
|
|
45
|
+
if (t(e) != "object" || !e) return e;
|
|
46
|
+
var r = e[Symbol.toPrimitive];
|
|
47
|
+
if (r !== void 0) {
|
|
48
|
+
var i = r.call(e, n || "default");
|
|
49
|
+
if (t(i) != "object") return i;
|
|
50
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
51
|
+
}
|
|
52
|
+
return (n === "string" ? String : Number)(e);
|
|
53
|
+
}
|
|
54
|
+
function s(t, n, i) {
|
|
55
|
+
return e(t, r(r({}, n), {}, { v2: !0 }), i);
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
export { s as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import e from "./ParseError.js";
|
|
2
|
+
import { isSupportedCountry as t } from "./metadata.js";
|
|
3
|
+
import n from "./parsePhoneNumberWithError_.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js
|
|
5
|
+
function r(e) {
|
|
6
|
+
"@babel/helpers - typeof";
|
|
7
|
+
return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
8
|
+
return typeof e;
|
|
9
|
+
} : function(e) {
|
|
10
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
11
|
+
}, r(e);
|
|
12
|
+
}
|
|
13
|
+
function i(e, t) {
|
|
14
|
+
var n = Object.keys(e);
|
|
15
|
+
if (Object.getOwnPropertySymbols) {
|
|
16
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
17
|
+
t && (r = r.filter(function(t) {
|
|
18
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
19
|
+
})), n.push.apply(n, r);
|
|
20
|
+
}
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
function a(e) {
|
|
24
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
25
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
26
|
+
t % 2 ? i(Object(n), !0).forEach(function(t) {
|
|
27
|
+
o(e, t, n[t]);
|
|
28
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach(function(t) {
|
|
29
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
function o(e, t, n) {
|
|
35
|
+
return (t = s(t)) in e ? Object.defineProperty(e, t, {
|
|
36
|
+
value: n,
|
|
37
|
+
enumerable: !0,
|
|
38
|
+
configurable: !0,
|
|
39
|
+
writable: !0
|
|
40
|
+
}) : e[t] = n, e;
|
|
41
|
+
}
|
|
42
|
+
function s(e) {
|
|
43
|
+
var t = c(e, "string");
|
|
44
|
+
return r(t) == "symbol" ? t : t + "";
|
|
45
|
+
}
|
|
46
|
+
function c(e, t) {
|
|
47
|
+
if (r(e) != "object" || !e) return e;
|
|
48
|
+
var n = e[Symbol.toPrimitive];
|
|
49
|
+
if (n !== void 0) {
|
|
50
|
+
var i = n.call(e, t || "default");
|
|
51
|
+
if (r(i) != "object") return i;
|
|
52
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
53
|
+
}
|
|
54
|
+
return (t === "string" ? String : Number)(e);
|
|
55
|
+
}
|
|
56
|
+
function l(r, i, o) {
|
|
57
|
+
i && i.defaultCountry && !t(i.defaultCountry, o) && (i = a(a({}, i), {}, { defaultCountry: void 0 }));
|
|
58
|
+
try {
|
|
59
|
+
return n(r, i, o);
|
|
60
|
+
} catch (t) {
|
|
61
|
+
/* istanbul ignore else */
|
|
62
|
+
if (!(t instanceof e)) throw t;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { l as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/es6/tools/semver-compare.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
e = e.split("-"), t = t.split("-");
|
|
4
|
+
for (var n = e[0].split("."), r = t[0].split("."), i = 0; i < 3; i++) {
|
|
5
|
+
var a = Number(n[i]), o = Number(r[i]);
|
|
6
|
+
if (a > o) return 1;
|
|
7
|
+
if (o > a) return -1;
|
|
8
|
+
if (!isNaN(a) && isNaN(o)) return 1;
|
|
9
|
+
if (isNaN(a) && !isNaN(o)) return -1;
|
|
10
|
+
}
|
|
11
|
+
return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { e as default };
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/examples.mobile.json.js
|
|
2
|
+
var e = {
|
|
3
|
+
AC: "40123",
|
|
4
|
+
AD: "312345",
|
|
5
|
+
AE: "501234567",
|
|
6
|
+
AF: "701234567",
|
|
7
|
+
AG: "2684641234",
|
|
8
|
+
AI: "2642351234",
|
|
9
|
+
AL: "672123456",
|
|
10
|
+
AM: "77123456",
|
|
11
|
+
AO: "923123456",
|
|
12
|
+
AR: "91123456789",
|
|
13
|
+
AS: "6847331234",
|
|
14
|
+
AT: "664123456",
|
|
15
|
+
AU: "412345678",
|
|
16
|
+
AW: "5601234",
|
|
17
|
+
AX: "412345678",
|
|
18
|
+
AZ: "401234567",
|
|
19
|
+
BA: "61123456",
|
|
20
|
+
BB: "2462501234",
|
|
21
|
+
BD: "1812345678",
|
|
22
|
+
BE: "450001234",
|
|
23
|
+
BF: "70123456",
|
|
24
|
+
BG: "43012345",
|
|
25
|
+
BH: "36001234",
|
|
26
|
+
BI: "79561234",
|
|
27
|
+
BJ: "0195123456",
|
|
28
|
+
BL: "690001234",
|
|
29
|
+
BM: "4413701234",
|
|
30
|
+
BN: "7123456",
|
|
31
|
+
BO: "71234567",
|
|
32
|
+
BQ: "3181234",
|
|
33
|
+
BR: "11961234567",
|
|
34
|
+
BS: "2423591234",
|
|
35
|
+
BT: "17123456",
|
|
36
|
+
BW: "71123456",
|
|
37
|
+
BY: "294911911",
|
|
38
|
+
BZ: "6221234",
|
|
39
|
+
CA: "5062345678",
|
|
40
|
+
CC: "412345678",
|
|
41
|
+
CD: "991234567",
|
|
42
|
+
CF: "70012345",
|
|
43
|
+
CG: "061234567",
|
|
44
|
+
CH: "781234567",
|
|
45
|
+
CI: "0123456789",
|
|
46
|
+
CK: "71234",
|
|
47
|
+
CL: "221234567",
|
|
48
|
+
CM: "671234567",
|
|
49
|
+
CN: "13123456789",
|
|
50
|
+
CO: "3211234567",
|
|
51
|
+
CR: "83123456",
|
|
52
|
+
CU: "51234567",
|
|
53
|
+
CV: "9911234",
|
|
54
|
+
CW: "95181234",
|
|
55
|
+
CX: "412345678",
|
|
56
|
+
CY: "96123456",
|
|
57
|
+
CZ: "601123456",
|
|
58
|
+
DE: "15123456789",
|
|
59
|
+
DJ: "77831001",
|
|
60
|
+
DK: "34412345",
|
|
61
|
+
DM: "7672251234",
|
|
62
|
+
DO: "8092345678",
|
|
63
|
+
DZ: "551234567",
|
|
64
|
+
EC: "991234567",
|
|
65
|
+
EE: "51234567",
|
|
66
|
+
EG: "1001234567",
|
|
67
|
+
EH: "650123456",
|
|
68
|
+
ER: "7123456",
|
|
69
|
+
ES: "612345678",
|
|
70
|
+
ET: "911234567",
|
|
71
|
+
FI: "412345678",
|
|
72
|
+
FJ: "7012345",
|
|
73
|
+
FK: "51234",
|
|
74
|
+
FM: "3501234",
|
|
75
|
+
FO: "211234",
|
|
76
|
+
FR: "612345678",
|
|
77
|
+
GA: "06031234",
|
|
78
|
+
GB: "7400123456",
|
|
79
|
+
GD: "4734031234",
|
|
80
|
+
GE: "555123456",
|
|
81
|
+
GF: "694201234",
|
|
82
|
+
GG: "7781123456",
|
|
83
|
+
GH: "231234567",
|
|
84
|
+
GI: "57123456",
|
|
85
|
+
GL: "221234",
|
|
86
|
+
GM: "3012345",
|
|
87
|
+
GN: "601123456",
|
|
88
|
+
GP: "690001234",
|
|
89
|
+
GQ: "222123456",
|
|
90
|
+
GR: "6912345678",
|
|
91
|
+
GT: "51234567",
|
|
92
|
+
GU: "6713001234",
|
|
93
|
+
GW: "955012345",
|
|
94
|
+
GY: "6091234",
|
|
95
|
+
HK: "51234567",
|
|
96
|
+
HN: "91234567",
|
|
97
|
+
HR: "921234567",
|
|
98
|
+
HT: "34101234",
|
|
99
|
+
HU: "201234567",
|
|
100
|
+
ID: "812345678",
|
|
101
|
+
IE: "850123456",
|
|
102
|
+
IL: "502345678",
|
|
103
|
+
IM: "7924123456",
|
|
104
|
+
IN: "8123456789",
|
|
105
|
+
IO: "3801234",
|
|
106
|
+
IQ: "7912345678",
|
|
107
|
+
IR: "9123456789",
|
|
108
|
+
IS: "6111234",
|
|
109
|
+
IT: "3123456789",
|
|
110
|
+
JE: "7797712345",
|
|
111
|
+
JM: "8762101234",
|
|
112
|
+
JO: "790123456",
|
|
113
|
+
JP: "9012345678",
|
|
114
|
+
KE: "712123456",
|
|
115
|
+
KG: "700123456",
|
|
116
|
+
KH: "91234567",
|
|
117
|
+
KI: "72001234",
|
|
118
|
+
KM: "3212345",
|
|
119
|
+
KN: "8697652917",
|
|
120
|
+
KP: "1921234567",
|
|
121
|
+
KR: "1020000000",
|
|
122
|
+
KW: "50012345",
|
|
123
|
+
KY: "3453231234",
|
|
124
|
+
KZ: "7710009998",
|
|
125
|
+
LA: "2023123456",
|
|
126
|
+
LB: "71123456",
|
|
127
|
+
LC: "7582845678",
|
|
128
|
+
LI: "660234567",
|
|
129
|
+
LK: "712345678",
|
|
130
|
+
LR: "770123456",
|
|
131
|
+
LS: "50123456",
|
|
132
|
+
LT: "61234567",
|
|
133
|
+
LU: "628123456",
|
|
134
|
+
LV: "21234567",
|
|
135
|
+
LY: "912345678",
|
|
136
|
+
MA: "650123456",
|
|
137
|
+
MC: "612345678",
|
|
138
|
+
MD: "62112345",
|
|
139
|
+
ME: "60123456",
|
|
140
|
+
MF: "690001234",
|
|
141
|
+
MG: "321234567",
|
|
142
|
+
MH: "2351234",
|
|
143
|
+
MK: "72345678",
|
|
144
|
+
ML: "65012345",
|
|
145
|
+
MM: "92123456",
|
|
146
|
+
MN: "88123456",
|
|
147
|
+
MO: "66123456",
|
|
148
|
+
MP: "6702345678",
|
|
149
|
+
MQ: "696201234",
|
|
150
|
+
MR: "22123456",
|
|
151
|
+
MS: "6644923456",
|
|
152
|
+
MT: "96961234",
|
|
153
|
+
MU: "52512345",
|
|
154
|
+
MV: "7712345",
|
|
155
|
+
MW: "991234567",
|
|
156
|
+
MX: "2221234567",
|
|
157
|
+
MY: "123456789",
|
|
158
|
+
MZ: "821234567",
|
|
159
|
+
NA: "811234567",
|
|
160
|
+
NC: "751234",
|
|
161
|
+
NE: "93123456",
|
|
162
|
+
NF: "381234",
|
|
163
|
+
NG: "8021234567",
|
|
164
|
+
NI: "81234567",
|
|
165
|
+
NL: "612345678",
|
|
166
|
+
NO: "40612345",
|
|
167
|
+
NP: "9841234567",
|
|
168
|
+
NR: "5551234",
|
|
169
|
+
NU: "8884012",
|
|
170
|
+
NZ: "211234567",
|
|
171
|
+
OM: "92123456",
|
|
172
|
+
PA: "61234567",
|
|
173
|
+
PE: "912345678",
|
|
174
|
+
PF: "87123456",
|
|
175
|
+
PG: "70123456",
|
|
176
|
+
PH: "9051234567",
|
|
177
|
+
PK: "3012345678",
|
|
178
|
+
PL: "512345678",
|
|
179
|
+
PM: "551234",
|
|
180
|
+
PR: "7872345678",
|
|
181
|
+
PS: "599123456",
|
|
182
|
+
PT: "912345678",
|
|
183
|
+
PW: "6201234",
|
|
184
|
+
PY: "961456789",
|
|
185
|
+
QA: "33123456",
|
|
186
|
+
RE: "692123456",
|
|
187
|
+
RO: "712034567",
|
|
188
|
+
RS: "601234567",
|
|
189
|
+
RU: "9123456789",
|
|
190
|
+
RW: "720123456",
|
|
191
|
+
SA: "512345678",
|
|
192
|
+
SB: "7421234",
|
|
193
|
+
SC: "2510123",
|
|
194
|
+
SD: "911231234",
|
|
195
|
+
SE: "701234567",
|
|
196
|
+
SG: "81234567",
|
|
197
|
+
SH: "51234",
|
|
198
|
+
SI: "31234567",
|
|
199
|
+
SJ: "41234567",
|
|
200
|
+
SK: "912123456",
|
|
201
|
+
SL: "25123456",
|
|
202
|
+
SM: "66661212",
|
|
203
|
+
SN: "701234567",
|
|
204
|
+
SO: "71123456",
|
|
205
|
+
SR: "7412345",
|
|
206
|
+
SS: "977123456",
|
|
207
|
+
ST: "9812345",
|
|
208
|
+
SV: "70123456",
|
|
209
|
+
SX: "7215205678",
|
|
210
|
+
SY: "944567890",
|
|
211
|
+
SZ: "76123456",
|
|
212
|
+
TA: "8999",
|
|
213
|
+
TC: "6492311234",
|
|
214
|
+
TD: "63012345",
|
|
215
|
+
TG: "90112345",
|
|
216
|
+
TH: "812345678",
|
|
217
|
+
TJ: "917123456",
|
|
218
|
+
TK: "7290",
|
|
219
|
+
TL: "77212345",
|
|
220
|
+
TM: "66123456",
|
|
221
|
+
TN: "20123456",
|
|
222
|
+
TO: "7715123",
|
|
223
|
+
TR: "5012345678",
|
|
224
|
+
TT: "8682911234",
|
|
225
|
+
TV: "901234",
|
|
226
|
+
TW: "912345678",
|
|
227
|
+
TZ: "621234567",
|
|
228
|
+
UA: "501234567",
|
|
229
|
+
UG: "712345678",
|
|
230
|
+
US: "2015550123",
|
|
231
|
+
UY: "94231234",
|
|
232
|
+
UZ: "912345678",
|
|
233
|
+
VA: "3123456789",
|
|
234
|
+
VC: "7844301234",
|
|
235
|
+
VE: "4121234567",
|
|
236
|
+
VG: "2843001234",
|
|
237
|
+
VI: "3406421234",
|
|
238
|
+
VN: "912345678",
|
|
239
|
+
VU: "5912345",
|
|
240
|
+
WF: "821234",
|
|
241
|
+
WS: "7212345",
|
|
242
|
+
XK: "43201234",
|
|
243
|
+
YE: "712345678",
|
|
244
|
+
YT: "639012345",
|
|
245
|
+
ZA: "711234567",
|
|
246
|
+
ZM: "955123456",
|
|
247
|
+
ZW: "712345678"
|
|
248
|
+
};
|
|
249
|
+
//#endregion
|
|
250
|
+
export { e as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "../../metadata.max.json.js";
|
|
2
|
+
import t from "../../es6/AsYouType.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/AsYouType.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
return t.call(this, n, e);
|
|
6
|
+
}
|
|
7
|
+
n.prototype = Object.create(t.prototype, {}), n.prototype.constructor = n;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as AsYouType };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./withMetadataArgument.js";
|
|
2
|
+
import t from "../../es6/formatIncompletePhoneNumber.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/formatIncompletePhoneNumber.js
|
|
4
|
+
function n() {
|
|
5
|
+
return e(t, arguments);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as formatIncompletePhoneNumber };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./withMetadataArgument.js";
|
|
2
|
+
import t from "../../es6/getCountries.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/getCountries.js
|
|
4
|
+
function n() {
|
|
5
|
+
return e(t, arguments);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as getCountries };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./withMetadataArgument.js";
|
|
2
|
+
import { getCountryCallingCode as t } from "../../es6/metadata.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/getCountryCallingCode.js
|
|
4
|
+
function n() {
|
|
5
|
+
return e(t, arguments);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as getCountryCallingCode };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./withMetadataArgument.js";
|
|
2
|
+
import t from "../../es6/getExampleNumber.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/getExampleNumber.js
|
|
4
|
+
function n() {
|
|
5
|
+
return e(t, arguments);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as getExampleNumber };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./withMetadataArgument.js";
|
|
2
|
+
import { isSupportedCountry as t } from "../../es6/metadata.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/isSupportedCountry.js
|
|
4
|
+
function n() {
|
|
5
|
+
return e(t, arguments);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as isSupportedCountry };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./withMetadataArgument.js";
|
|
2
|
+
import t from "../../es6/parsePhoneNumber.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/parsePhoneNumber.js
|
|
4
|
+
function n() {
|
|
5
|
+
return e(t, arguments);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as parsePhoneNumber };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "../../metadata.max.json.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/libphonenumber-js@1.13.7/node_modules/libphonenumber-js/max/exports/withMetadataArgument.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
var r = Array.prototype.slice.call(n);
|
|
5
|
+
return r.push(e), t.apply(this, r);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as default };
|