@mobileaction/action-kit 1.61.3 → 1.62.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/dist/action-kit.mjs +742 -643
- package/dist/components/device-preview/components/AppScreenshots.vue.d.ts +7 -0
- package/dist/components/device-preview/device-preview.test.d.ts +1 -0
- package/dist/components/device-preview/types.d.ts +7 -1
- package/dist/config/plugin.d.ts +12 -0
- package/dist/locales/types.d.ts +13 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/action-kit.mjs
CHANGED
|
@@ -6115,7 +6115,7 @@ var bt = /* @__PURE__ */ y({
|
|
|
6115
6115
|
function a() {
|
|
6116
6116
|
i.value = !1;
|
|
6117
6117
|
}
|
|
6118
|
-
return (e, o) => (I(), d(W(
|
|
6118
|
+
return (e, o) => (I(), d(W(Pm), D({
|
|
6119
6119
|
visible: i.value,
|
|
6120
6120
|
"onUpdate:visible": o[0] ||= (e) => i.value = e
|
|
6121
6121
|
}, n.value, {
|
|
@@ -9233,6 +9233,7 @@ var ko = { class: "ma-checkbox2-card__content" }, Ao = {
|
|
|
9233
9233
|
class: k(h.value)
|
|
9234
9234
|
}, [
|
|
9235
9235
|
he(m("div", is, [B(e.$slots, "buttonLeft", {}, () => [m("button", {
|
|
9236
|
+
type: "button",
|
|
9236
9237
|
class: "ma-scroller-button",
|
|
9237
9238
|
onClick: g
|
|
9238
9239
|
}, [_(X, { name: "chevron-left" })])])], 512), [[me, d.value]]),
|
|
@@ -9242,6 +9243,7 @@ var ko = { class: "ma-checkbox2-card__content" }, Ao = {
|
|
|
9242
9243
|
class: "ma-scroller-wrapper"
|
|
9243
9244
|
}, [B(e.$slots, "default")], 512),
|
|
9244
9245
|
he(m("div", as, [B(e.$slots, "buttonRight", {}, () => [m("button", {
|
|
9246
|
+
type: "button",
|
|
9245
9247
|
class: "ma-scroller-button",
|
|
9246
9248
|
onClick: v
|
|
9247
9249
|
}, [_(X, { name: "chevron-right" })])])], 512), [[me, f.value]])
|
|
@@ -10745,7 +10747,7 @@ var yc = { class: "ma-input__container" }, bc = {
|
|
|
10745
10747
|
return L("optionsRegistry", c), L("selectOption", G), L("selectedValues", M), L("multiple", r.multiple), t({ setSearchValue: Se }), K(u, async () => {
|
|
10746
10748
|
a("dropdownVisibleChange", u.value), u.value && o?.default && O(_e);
|
|
10747
10749
|
}), (t, n) => (I(), p("div", { class: k(ee.value) }, [
|
|
10748
|
-
_(W(
|
|
10750
|
+
_(W(Pm), D({ visible: u.value }, U.value, {
|
|
10749
10751
|
disabled: ie.value,
|
|
10750
10752
|
"no-auto-focus": !0,
|
|
10751
10753
|
"dispose-timeout": -1,
|
|
@@ -10788,7 +10790,7 @@ var yc = { class: "ma-input__container" }, bc = {
|
|
|
10788
10790
|
active: i,
|
|
10789
10791
|
"data-index": n
|
|
10790
10792
|
}, {
|
|
10791
|
-
default: J(() => [(I(), d(W(
|
|
10793
|
+
default: J(() => [(I(), d(W(Ih), {
|
|
10792
10794
|
key: n,
|
|
10793
10795
|
"checkbox-display": r.checkboxPosition,
|
|
10794
10796
|
"hide-check-icon": r.hideCheckIcon,
|
|
@@ -12367,28 +12369,84 @@ var wl = /*#__PURE__*/ Sl(xl, [["render", Cl]]), Tl = /* @__PURE__ */ y({
|
|
|
12367
12369
|
IPHONE: "https://iadcontent.apple.com/micro-booking/assets/adPreview/ad_preview_product_page_browsing_iphone.png",
|
|
12368
12370
|
IPAD: "https://iadcontent.apple.com/micro-booking/assets/adPreview/ad_preview_product_page_browsing_ipad.png"
|
|
12369
12371
|
} }
|
|
12370
|
-
}
|
|
12372
|
+
};
|
|
12373
|
+
//#endregion
|
|
12374
|
+
//#region src/utils/string.ts
|
|
12375
|
+
function Xl(e, t) {
|
|
12376
|
+
return e?.toLowerCase() === t?.toLowerCase();
|
|
12377
|
+
}
|
|
12378
|
+
function Zl(e, t = {}) {
|
|
12379
|
+
return e.replaceAll(/\{(\w+)\}/g, (e, n) => Object.hasOwn(t, n) ? String(t[n]) : e);
|
|
12380
|
+
}
|
|
12381
|
+
//#endregion
|
|
12382
|
+
//#region src/components/device-preview/components/AppScreenshots.vue?vue&type=script&setup=true&lang.ts
|
|
12383
|
+
var Ql = {
|
|
12384
|
+
key: 0,
|
|
12385
|
+
class: "app-screenshots app-screenshots__track",
|
|
12386
|
+
"aria-hidden": "true"
|
|
12387
|
+
}, $l = { class: "app-screenshots__track" }, eu = ["src", "alt"], tu = {
|
|
12388
|
+
key: 0,
|
|
12389
|
+
class: "app-screenshots__badge"
|
|
12390
|
+
}, nu = 3, ru = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12391
|
+
__name: "AppScreenshots",
|
|
12392
|
+
props: {
|
|
12393
|
+
screenshots: {},
|
|
12394
|
+
appName: {}
|
|
12395
|
+
},
|
|
12396
|
+
setup(e) {
|
|
12397
|
+
let t = e, n = ut(), r = l(() => {
|
|
12398
|
+
let e = 0;
|
|
12399
|
+
return (t.screenshots ?? []).map((r) => {
|
|
12400
|
+
let i = r.kind === "APP_PREVIEW", a = i ? Zl(n.config.localeMessages.devicePreview.appPreview, { 0: t.appName }) : Zl(n.config.localeMessages.devicePreview.appScreenshot, {
|
|
12401
|
+
0: t.appName,
|
|
12402
|
+
1: ++e
|
|
12403
|
+
});
|
|
12404
|
+
return {
|
|
12405
|
+
...r,
|
|
12406
|
+
isPreview: i,
|
|
12407
|
+
alt: a
|
|
12408
|
+
};
|
|
12409
|
+
});
|
|
12410
|
+
});
|
|
12411
|
+
return (e, t) => r.value.length ? (I(), d(os, {
|
|
12412
|
+
key: 1,
|
|
12413
|
+
class: "app-screenshots",
|
|
12414
|
+
type: "secondary",
|
|
12415
|
+
"always-show-buttons": !1
|
|
12416
|
+
}, {
|
|
12417
|
+
default: J(() => [m("ul", $l, [(I(!0), p(i, null, z(r.value, (e, t) => (I(), p("li", {
|
|
12418
|
+
key: `${t}-${e.assetUrl}`,
|
|
12419
|
+
class: "app-screenshots__item"
|
|
12420
|
+
}, [m("img", {
|
|
12421
|
+
class: k(["app-screenshots__image", { "app-screenshots__image--blurred": e.isPreview }]),
|
|
12422
|
+
src: e.assetUrl,
|
|
12423
|
+
alt: e.alt
|
|
12424
|
+
}, null, 10, eu), e.isPreview ? (I(), p("span", tu, [_(X, { name: "video-play-bold" }), g(" " + H(W(n).config.localeMessages.devicePreview.video), 1)])) : f("", !0)]))), 128))])]),
|
|
12425
|
+
_: 1
|
|
12426
|
+
})) : (I(), p("ul", Ql, [(I(), p(i, null, z(nu, (e) => m("li", {
|
|
12427
|
+
key: e,
|
|
12428
|
+
class: "app-screenshots__item app-screenshots__placeholder"
|
|
12429
|
+
}, [_(X, { name: "gallery" })])), 64))]));
|
|
12430
|
+
}
|
|
12431
|
+
}), [["__scopeId", "data-v-2c8bee4a"]]), iu = { class: "app-detail-preview-container__lockup" }, au = { class: "app-detail-preview-container__lockup-icon" }, ou = { class: "app-detail-preview-container__icon-wrapper" }, su = ["src", "alt"], cu = { class: "app-detail-preview-container__lockup-info" }, lu = { class: "app-detail-preview-container__app-name" }, uu = { class: "app-detail-preview-container__subtitle" }, du = { class: "app-detail-preview-container__badge-row" }, fu = { class: "app-detail-preview-container__ad-badge" }, pu = {
|
|
12371
12432
|
key: 0,
|
|
12372
12433
|
class: "app-detail-preview-container__rating-icon"
|
|
12373
|
-
},
|
|
12434
|
+
}, mu = {
|
|
12374
12435
|
key: 0,
|
|
12375
12436
|
class: "app-detail-preview-container__lockup-description"
|
|
12376
|
-
},
|
|
12437
|
+
}, hu = { class: "app-detail-preview-container__description-text" }, gu = { class: "app-detail-preview-container__lockup-cta" }, _u = { class: "app-detail-preview-container__cta-wrapper" }, vu = { class: "app-detail-preview-container__get-button" }, yu = { class: "app-detail-preview-container__iap-label" }, bu = {
|
|
12377
12438
|
key: 0,
|
|
12378
12439
|
class: "app-detail-preview-container__ribbon"
|
|
12379
|
-
},
|
|
12440
|
+
}, xu = { class: "app-detail-preview-container__ribbon-developer" }, Su = { class: "app-detail-preview-container__developer-name" }, Cu = { class: "app-detail-preview-container__ribbon-category" }, wu = { class: "app-detail-preview-container__category-name" }, Tu = {
|
|
12380
12441
|
key: 1,
|
|
12381
12442
|
class: "app-detail-preview-container__media"
|
|
12382
|
-
},
|
|
12383
|
-
key: 0,
|
|
12384
|
-
class: "app-detail-preview-container__screenshots"
|
|
12385
|
-
}, mu = {
|
|
12443
|
+
}, Eu = {
|
|
12386
12444
|
key: 1,
|
|
12387
12445
|
class: "app-detail-preview-container__media-description"
|
|
12388
|
-
},
|
|
12446
|
+
}, Du = { class: "app-detail-preview-container__description-text" }, Ou = {
|
|
12389
12447
|
key: 2,
|
|
12390
12448
|
class: "app-detail-preview-container__media app-detail-preview-container__media--empty"
|
|
12391
|
-
},
|
|
12449
|
+
}, ku = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12392
12450
|
__name: "AppDetailPreview",
|
|
12393
12451
|
props: {
|
|
12394
12452
|
app: {},
|
|
@@ -12396,8 +12454,8 @@ var wl = /*#__PURE__*/ Sl(xl, [["render", Cl]]), Tl = /* @__PURE__ */ y({
|
|
|
12396
12454
|
displayType: { default: "default" }
|
|
12397
12455
|
},
|
|
12398
12456
|
setup(e) {
|
|
12399
|
-
let t = e, n =
|
|
12400
|
-
return (t,
|
|
12457
|
+
let t = e, n = ut(), r = l(() => t.device === "ipad" ? Jl.IPAD : Jl.IPHONE);
|
|
12458
|
+
return (t, i) => (I(), p("div", {
|
|
12401
12459
|
class: k(["app-detail-preview-container", {
|
|
12402
12460
|
"device-iphone": e.device === "iphone",
|
|
12403
12461
|
"device-ipad": e.device === "ipad",
|
|
@@ -12407,49 +12465,50 @@ var wl = /*#__PURE__*/ Sl(xl, [["render", Cl]]), Tl = /* @__PURE__ */ y({
|
|
|
12407
12465
|
}]),
|
|
12408
12466
|
style: j({ "--scale": r.value })
|
|
12409
12467
|
}, [m("div", { class: k(["app-detail-preview-container__preview-card", [`card-${e.device}`, `card-${e.displayType}`]]) }, [
|
|
12410
|
-
m("div",
|
|
12411
|
-
m("div",
|
|
12468
|
+
m("div", iu, [
|
|
12469
|
+
m("div", au, [m("div", ou, [m("img", {
|
|
12412
12470
|
src: e.app.iconUrl,
|
|
12413
12471
|
alt: e.app.name,
|
|
12414
12472
|
class: "app-detail-preview-container__app-icon"
|
|
12415
|
-
}, null, 8,
|
|
12416
|
-
m("div",
|
|
12417
|
-
m("div",
|
|
12418
|
-
m("div",
|
|
12419
|
-
m("div",
|
|
12473
|
+
}, null, 8, su)])]),
|
|
12474
|
+
m("div", cu, [
|
|
12475
|
+
m("div", lu, H(e.app.name), 1),
|
|
12476
|
+
m("div", uu, H(e.app.subtitle), 1),
|
|
12477
|
+
m("div", du, [m("div", fu, H(W(n).config.localeMessages.devicePreview.ad), 1), e.device === "ipad" && e.displayType !== "default" ? (I(), p("div", pu)) : f("", !0)])
|
|
12420
12478
|
]),
|
|
12421
|
-
e.device === "ipad" && e.displayType === "text" ? (I(), p("div",
|
|
12422
|
-
|
|
12479
|
+
e.device === "ipad" && e.displayType === "text" ? (I(), p("div", mu, [m("div", hu, H(e.app.description), 1)])) : f("", !0),
|
|
12480
|
+
m("div", gu, [m("div", _u, [m("div", vu, H(W(n).config.localeMessages.devicePreview.get), 1), m("div", yu, H(W(n).config.localeMessages.devicePreview.inAppPurchases), 1)])])
|
|
12423
12481
|
]),
|
|
12424
|
-
e.device === "iphone" && e.displayType !== "default" ? (I(), p("div",
|
|
12425
|
-
|
|
12426
|
-
m("div",
|
|
12427
|
-
m("div",
|
|
12482
|
+
e.device === "iphone" && e.displayType !== "default" ? (I(), p("div", bu, [
|
|
12483
|
+
i[1] ||= m("div", { class: "app-detail-preview-container__ribbon-ratings" }, [m("div", { class: "app-detail-preview-container__rating-icon" })], -1),
|
|
12484
|
+
m("div", xu, [i[0] ||= m("div", { class: "app-detail-preview-container__developer-icon" }, null, -1), m("span", Su, H(e.app.developerName), 1)]),
|
|
12485
|
+
m("div", Cu, [m("span", wu, H(e.app.category), 1)])
|
|
12428
12486
|
])) : f("", !0),
|
|
12429
|
-
e.displayType === "default" ? (I(), p("div",
|
|
12430
|
-
key:
|
|
12431
|
-
class: "app-detail-preview-
|
|
12432
|
-
|
|
12433
|
-
|
|
12487
|
+
e.displayType === "default" ? (I(), p("div", Ou)) : (I(), p("div", Tu, [e.displayType === "images" ? (I(), d(ru, {
|
|
12488
|
+
key: 0,
|
|
12489
|
+
class: "app-detail-preview-container__screenshots",
|
|
12490
|
+
screenshots: e.app.screenshots,
|
|
12491
|
+
"app-name": e.app.name
|
|
12492
|
+
}, null, 8, ["screenshots", "app-name"])) : f("", !0), e.device === "iphone" && e.displayType === "text" ? (I(), p("div", Eu, [m("div", Du, H(e.app.description), 1)])) : f("", !0)]))
|
|
12434
12493
|
], 2)], 6));
|
|
12435
12494
|
}
|
|
12436
|
-
}), [["__scopeId", "data-v-
|
|
12495
|
+
}), [["__scopeId", "data-v-7eca858e"]]), Au = { class: "today-tab-preview-container__preview-card" }, ju = { class: "today-tab-preview-container__background" }, Mu = { class: "today-tab-preview-container__background-view" }, Nu = { class: "today-tab-preview-container__grid-mask" }, Pu = { class: "today-tab-preview-container__screenshot-grid" }, Fu = { class: "today-tab-preview-container__content" }, Iu = { class: "today-tab-preview-container__icon-section" }, Lu = { class: "today-tab-preview-container__icon-wrapper" }, Ru = ["src", "alt"], zu = { class: "today-tab-preview-container__bottom-section" }, Bu = { class: "today-tab-preview-container__app-info" }, Vu = { class: "today-tab-preview-container__app-name" }, Hu = { class: "today-tab-preview-container__badge-row" }, Uu = { class: "today-tab-preview-container__ad-badge" }, Wu = { class: "today-tab-preview-container__subtitle" }, Gu = { class: "today-tab-preview-container__action-section" }, Ku = { class: "today-tab-preview-container__action-button" }, qu = { class: "today-tab-preview-container__button" }, Ju = { class: "today-tab-preview-container__button-label" }, Yu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12437
12496
|
__name: "AppTodayTabPreview",
|
|
12438
12497
|
props: { app: {} },
|
|
12439
12498
|
setup(e) {
|
|
12440
|
-
let t = e, n = Jl.IPHONE,
|
|
12499
|
+
let t = e, n = ut(), r = Jl.IPHONE, a = l(() => {
|
|
12441
12500
|
if (!t.app?.screenshots?.length) return [];
|
|
12442
|
-
let e = t.app.screenshots.slice(0, 3);
|
|
12443
|
-
return Array.from({ length: 6 }, (t, n) => ({
|
|
12501
|
+
let e = t.app.screenshots.filter((e) => e.kind === "SCREENSHOT").slice(0, 3).map((e) => e.assetUrl);
|
|
12502
|
+
return e.length ? Array.from({ length: 6 }, (t, n) => ({
|
|
12444
12503
|
direction: n % 2 == 0 ? "up" : "down",
|
|
12445
12504
|
items: Array.from({ length: 6 }).fill(e).flat()
|
|
12446
|
-
}));
|
|
12505
|
+
})) : [];
|
|
12447
12506
|
});
|
|
12448
|
-
return (t,
|
|
12507
|
+
return (t, o) => (I(), p("div", {
|
|
12449
12508
|
class: "today-tab-preview-container",
|
|
12450
|
-
style: j({ "--scale": W(
|
|
12451
|
-
}, [m("div",
|
|
12452
|
-
m("div",
|
|
12509
|
+
style: j({ "--scale": W(r) })
|
|
12510
|
+
}, [m("div", Au, [m("div", ju, [m("div", Mu, [
|
|
12511
|
+
m("div", Nu, [m("div", Pu, [(I(!0), p(i, null, z(a.value, (e, t) => (I(), p("div", {
|
|
12453
12512
|
key: t,
|
|
12454
12513
|
class: k(["today-tab-preview-container__column", e.direction])
|
|
12455
12514
|
}, [(I(!0), p(i, null, z(e.items, (e, t) => (I(), p("div", {
|
|
@@ -12457,18 +12516,18 @@ var wl = /*#__PURE__*/ Sl(xl, [["render", Cl]]), Tl = /* @__PURE__ */ y({
|
|
|
12457
12516
|
class: "today-tab-preview-container__screenshot-card",
|
|
12458
12517
|
style: j({ backgroundImage: `url('${e}')` })
|
|
12459
12518
|
}, null, 4))), 128))], 2))), 128))])]),
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
])]), m("div",
|
|
12519
|
+
o[0] ||= m("div", { class: "today-tab-preview-container__overlay" }, null, -1),
|
|
12520
|
+
o[1] ||= m("div", { class: "today-tab-preview-container__overlay-gradient" }, null, -1)
|
|
12521
|
+
])]), m("div", Fu, [m("div", Iu, [m("div", Lu, [m("img", {
|
|
12463
12522
|
src: e.app.iconUrl,
|
|
12464
12523
|
alt: e.app.name,
|
|
12465
12524
|
class: "today-tab-preview-container__icon"
|
|
12466
|
-
}, null, 8,
|
|
12525
|
+
}, null, 8, Ru)])]), m("div", zu, [m("div", Bu, [m("div", Vu, H(e.app.name), 1), m("div", Hu, [m("div", Uu, H(W(n).config.localeMessages.devicePreview.ad), 1), m("div", Wu, H(e.app.subtitle), 1)])]), m("div", Gu, [m("div", Ku, [m("div", qu, H(W(n).config.localeMessages.devicePreview.get), 1), m("div", Ju, H(W(n).config.localeMessages.devicePreview.inAppPurchases), 1)])])])])])], 4));
|
|
12467
12526
|
}
|
|
12468
|
-
}), [["__scopeId", "data-v-
|
|
12527
|
+
}), [["__scopeId", "data-v-289feaf9"]]);
|
|
12469
12528
|
//#endregion
|
|
12470
12529
|
//#region src/components/device-preview/composables/useDevicePreviewScale.ts
|
|
12471
|
-
function
|
|
12530
|
+
function Xu(e) {
|
|
12472
12531
|
let t = R(null), n = R(0);
|
|
12473
12532
|
return Ce(t, (e) => {
|
|
12474
12533
|
let t = e[0];
|
|
@@ -12484,14 +12543,14 @@ function Nu(e) {
|
|
|
12484
12543
|
}
|
|
12485
12544
|
//#endregion
|
|
12486
12545
|
//#region src/components/device-preview/components/ProductPages.vue?vue&type=script&setup=true&lang.ts
|
|
12487
|
-
var
|
|
12546
|
+
var Zu = ["src"], Qu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12488
12547
|
__name: "ProductPages",
|
|
12489
12548
|
props: {
|
|
12490
12549
|
app: {},
|
|
12491
12550
|
device: { default: "iphone" }
|
|
12492
12551
|
},
|
|
12493
12552
|
setup(e) {
|
|
12494
|
-
let t = e, n = l(() => t.device === "ipad"), r = l(() => n.value ? Yl.PRODUCT_PAGES.PREVIEW.IPAD : Yl.PRODUCT_PAGES.PREVIEW.IPHONE), { containerRef: i, contentScale: a, defaultWidth: o } =
|
|
12553
|
+
let t = e, n = l(() => t.device === "ipad"), r = l(() => n.value ? Yl.PRODUCT_PAGES.PREVIEW.IPAD : Yl.PRODUCT_PAGES.PREVIEW.IPHONE), { containerRef: i, contentScale: a, defaultWidth: o } = Xu(l(() => n.value ? ql.ipad : ql.iphone));
|
|
12495
12554
|
return (t, n) => (I(), p("div", {
|
|
12496
12555
|
ref_key: "containerRef",
|
|
12497
12556
|
ref: i,
|
|
@@ -12500,16 +12559,16 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12500
12559
|
}, [m("img", {
|
|
12501
12560
|
src: r.value,
|
|
12502
12561
|
class: "product-pages__container"
|
|
12503
|
-
}, null, 8,
|
|
12562
|
+
}, null, 8, Zu), m("div", {
|
|
12504
12563
|
class: "product-pages__app-detail-wrapper",
|
|
12505
12564
|
style: j({ "--_content-scale": W(a) })
|
|
12506
|
-
}, [_(
|
|
12565
|
+
}, [_(ku, {
|
|
12507
12566
|
app: e.app,
|
|
12508
12567
|
device: e.device,
|
|
12509
12568
|
"display-type": "default"
|
|
12510
12569
|
}, null, 8, ["app", "device"])], 4)], 4));
|
|
12511
12570
|
}
|
|
12512
|
-
}), [["__scopeId", "data-v-093ef7bb"]]),
|
|
12571
|
+
}), [["__scopeId", "data-v-093ef7bb"]]), $u = ["src"], ed = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12513
12572
|
__name: "SearchResults",
|
|
12514
12573
|
props: {
|
|
12515
12574
|
app: {},
|
|
@@ -12520,7 +12579,7 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12520
12579
|
let t = e, n = l(() => t.device === "ipad"), r = l(() => t.displayType === "text"), i = l(() => {
|
|
12521
12580
|
let e = n.value ? Yl.SEARCH_RESULTS.PREVIEW.IPAD : Yl.SEARCH_RESULTS.PREVIEW.IPHONE;
|
|
12522
12581
|
return r.value ? e.TEXT : e.IMAGES;
|
|
12523
|
-
}), { containerRef: a, contentScale: o, defaultWidth: s } =
|
|
12582
|
+
}), { containerRef: a, contentScale: o, defaultWidth: s } = Xu(l(() => n.value ? ql.ipad : ql.iphone));
|
|
12524
12583
|
return (t, n) => (I(), p("div", {
|
|
12525
12584
|
ref_key: "containerRef",
|
|
12526
12585
|
ref: a,
|
|
@@ -12529,10 +12588,10 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12529
12588
|
}, [m("img", {
|
|
12530
12589
|
src: i.value,
|
|
12531
12590
|
class: "search-results__container"
|
|
12532
|
-
}, null, 8,
|
|
12591
|
+
}, null, 8, $u), m("div", {
|
|
12533
12592
|
class: "search-results__app-detail-wrapper",
|
|
12534
12593
|
style: j({ "--_content-scale": W(o) })
|
|
12535
|
-
}, [_(
|
|
12594
|
+
}, [_(ku, {
|
|
12536
12595
|
app: e.app,
|
|
12537
12596
|
device: e.device,
|
|
12538
12597
|
"display-type": e.displayType
|
|
@@ -12542,13 +12601,13 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12542
12601
|
"display-type"
|
|
12543
12602
|
])], 4)], 4));
|
|
12544
12603
|
}
|
|
12545
|
-
}), [["__scopeId", "data-v-bf987c6f"]]),
|
|
12604
|
+
}), [["__scopeId", "data-v-bf987c6f"]]), td = {
|
|
12546
12605
|
key: 0,
|
|
12547
12606
|
class: "search-tab__mock"
|
|
12548
|
-
},
|
|
12607
|
+
}, nd = ["src", "alt"], rd = ["src", "alt"], id = {
|
|
12549
12608
|
key: 1,
|
|
12550
12609
|
class: "search-tab__preview"
|
|
12551
|
-
},
|
|
12610
|
+
}, ad = ["src", "alt"], od = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12552
12611
|
__name: "SearchTab",
|
|
12553
12612
|
props: {
|
|
12554
12613
|
app: {},
|
|
@@ -12556,28 +12615,28 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12556
12615
|
device: { default: "iphone" }
|
|
12557
12616
|
},
|
|
12558
12617
|
setup(e) {
|
|
12559
|
-
let t = e, n = l(() => t.displayMode === "mock"),
|
|
12560
|
-
return (t,
|
|
12618
|
+
let t = e, n = ut(), r = l(() => t.displayMode === "mock"), i = l(() => t.device === "ipad"), a = l(() => r.value ? null : i.value ? Yl.SEARCH_TAB.PREVIEW.IPAD : Yl.SEARCH_TAB.PREVIEW.IPHONE), { containerRef: o, contentScale: s, defaultWidth: c } = Xu(l(() => r.value ? ql.iphone : i.value ? ql.ipad : ql.iphone));
|
|
12619
|
+
return (t, l) => (I(), p("div", {
|
|
12561
12620
|
ref_key: "containerRef",
|
|
12562
|
-
ref:
|
|
12621
|
+
ref: o,
|
|
12563
12622
|
class: "search-tab",
|
|
12564
|
-
style: j({ "--_default-width": W(
|
|
12565
|
-
}, [
|
|
12623
|
+
style: j({ "--_default-width": W(c) })
|
|
12624
|
+
}, [r.value ? (I(), p("div", td, [m("img", {
|
|
12566
12625
|
src: W(Yl).SEARCH_TAB.MOCK.IMAGE,
|
|
12567
|
-
alt:
|
|
12626
|
+
alt: W(n).config.localeMessages.devicePreview.searchTabMock,
|
|
12568
12627
|
class: "search-tab__mock-image"
|
|
12569
|
-
}, null, 8,
|
|
12628
|
+
}, null, 8, nd), m("img", {
|
|
12570
12629
|
src: W(Yl).DEVICE_FRAME.IPHONE,
|
|
12571
|
-
alt:
|
|
12630
|
+
alt: W(n).config.localeMessages.devicePreview.iphoneFrame,
|
|
12572
12631
|
class: "search-tab__frame"
|
|
12573
|
-
}, null, 8,
|
|
12574
|
-
src:
|
|
12575
|
-
alt:
|
|
12632
|
+
}, null, 8, rd)])) : (I(), p("div", id, [m("img", {
|
|
12633
|
+
src: a.value,
|
|
12634
|
+
alt: W(Zl)(W(n).config.localeMessages.devicePreview.searchTabPreview, { 0: i.value ? "iPad" : "iPhone" }),
|
|
12576
12635
|
class: "search-tab__container"
|
|
12577
|
-
}, null, 8,
|
|
12636
|
+
}, null, 8, ad), m("div", {
|
|
12578
12637
|
class: "search-tab__app-detail-wrapper",
|
|
12579
|
-
style: j({ "--_content-scale": W(
|
|
12580
|
-
}, [_(
|
|
12638
|
+
style: j({ "--_content-scale": W(s) })
|
|
12639
|
+
}, [_(ku, {
|
|
12581
12640
|
app: e.app,
|
|
12582
12641
|
device: e.device,
|
|
12583
12642
|
"display-type": "default",
|
|
@@ -12588,13 +12647,13 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12588
12647
|
"display-mode"
|
|
12589
12648
|
])], 4)]))], 4));
|
|
12590
12649
|
}
|
|
12591
|
-
}), [["__scopeId", "data-v-
|
|
12650
|
+
}), [["__scopeId", "data-v-0964ce7c"]]), sd = {
|
|
12592
12651
|
key: 0,
|
|
12593
12652
|
class: "today-tab__mock"
|
|
12594
|
-
},
|
|
12653
|
+
}, cd = ["src"], ld = ["src", "alt"], ud = {
|
|
12595
12654
|
key: 1,
|
|
12596
12655
|
class: "today-tab__preview"
|
|
12597
|
-
},
|
|
12656
|
+
}, dd = ["src", "alt"], fd = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
12598
12657
|
__name: "TodayTab",
|
|
12599
12658
|
props: {
|
|
12600
12659
|
app: {},
|
|
@@ -12602,42 +12661,42 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12602
12661
|
device: { default: "iphone" }
|
|
12603
12662
|
},
|
|
12604
12663
|
setup(e) {
|
|
12605
|
-
let t = e, n = l(() => t.displayMode === "mock"),
|
|
12606
|
-
return (t,
|
|
12664
|
+
let t = e, n = ut(), r = l(() => t.displayMode === "mock"), i = l(() => r.value ? null : Yl.TODAY_TAB.PREVIEW.IPHONE), { containerRef: a, contentScale: o, defaultWidth: s } = Xu(ql.iphone);
|
|
12665
|
+
return (t, c) => (I(), p("div", {
|
|
12607
12666
|
ref_key: "containerRef",
|
|
12608
|
-
ref:
|
|
12667
|
+
ref: a,
|
|
12609
12668
|
class: "today-tab",
|
|
12610
|
-
style: j({ "--_default-width": W(
|
|
12611
|
-
}, [
|
|
12669
|
+
style: j({ "--_default-width": W(s) })
|
|
12670
|
+
}, [r.value ? (I(), p("div", sd, [m("video", {
|
|
12612
12671
|
src: W(Yl).TODAY_TAB.MOCK.VIDEO,
|
|
12613
12672
|
autoplay: "",
|
|
12614
12673
|
loop: "",
|
|
12615
12674
|
muted: "",
|
|
12616
12675
|
playsinline: "",
|
|
12617
12676
|
class: "today-tab__video"
|
|
12618
|
-
}, null, 8,
|
|
12677
|
+
}, null, 8, cd), m("img", {
|
|
12619
12678
|
src: W(Yl).DEVICE_FRAME.IPHONE,
|
|
12620
|
-
alt:
|
|
12679
|
+
alt: W(n).config.localeMessages.devicePreview.iphoneFrame,
|
|
12621
12680
|
class: "today-tab__frame"
|
|
12622
|
-
}, null, 8,
|
|
12623
|
-
src:
|
|
12624
|
-
alt:
|
|
12681
|
+
}, null, 8, ld)])) : (I(), p("div", ud, [m("img", {
|
|
12682
|
+
src: i.value,
|
|
12683
|
+
alt: W(n).config.localeMessages.devicePreview.todayTabPreview,
|
|
12625
12684
|
class: "today-tab__container"
|
|
12626
|
-
}, null, 8,
|
|
12685
|
+
}, null, 8, dd), m("div", {
|
|
12627
12686
|
class: "today-tab__app-detail-wrapper",
|
|
12628
|
-
style: j({ "--_content-scale": W(
|
|
12629
|
-
}, [_(
|
|
12687
|
+
style: j({ "--_content-scale": W(o) })
|
|
12688
|
+
}, [_(Yu, { app: e.app }, null, 8, ["app"])], 4)]))], 4));
|
|
12630
12689
|
}
|
|
12631
|
-
}), [["__scopeId", "data-v-
|
|
12690
|
+
}), [["__scopeId", "data-v-9cfe1792"]]), pd = ["iphone", "ipad"], md = [
|
|
12632
12691
|
"images",
|
|
12633
12692
|
"text",
|
|
12634
12693
|
"default"
|
|
12635
|
-
],
|
|
12694
|
+
], hd = ["images", "text"], gd = ["mock", "preview"], _d = [
|
|
12636
12695
|
"today-tab",
|
|
12637
12696
|
"search-tab",
|
|
12638
12697
|
"search-results",
|
|
12639
12698
|
"product-pages"
|
|
12640
|
-
],
|
|
12699
|
+
], vd = ["APP_PREVIEW", "SCREENSHOT"], yd = { key: 0 }, bd = { key: 0 }, xd = /* @__PURE__ */ y({
|
|
12641
12700
|
__name: "index",
|
|
12642
12701
|
props: {
|
|
12643
12702
|
disabled: {
|
|
@@ -12731,11 +12790,11 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12731
12790
|
onStep: s
|
|
12732
12791
|
}, h({ _: 2 }, [n.addonBefore || t.$slots?.addonBefore ? {
|
|
12733
12792
|
name: "addonBefore",
|
|
12734
|
-
fn: J(() => [n.addonBefore ? (I(), p("span",
|
|
12793
|
+
fn: J(() => [n.addonBefore ? (I(), p("span", yd, H(n.addonBefore), 1)) : B(t.$slots, "addonBefore", {}, void 0, void 0, 1)]),
|
|
12735
12794
|
key: "0"
|
|
12736
12795
|
} : void 0, n.addonAfter || t.$slots?.addonAfter ? {
|
|
12737
12796
|
name: "addonAfter",
|
|
12738
|
-
fn: J(() => [n.addonAfter ? (I(), p("span",
|
|
12797
|
+
fn: J(() => [n.addonAfter ? (I(), p("span", bd, H(n.addonAfter), 1)) : B(t.$slots, "addonAfter", {}, void 0, void 0, 1)]),
|
|
12739
12798
|
key: "1"
|
|
12740
12799
|
} : void 0]), 1032, [
|
|
12741
12800
|
"value",
|
|
@@ -12757,7 +12816,7 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12757
12816
|
"placeholder"
|
|
12758
12817
|
])]));
|
|
12759
12818
|
}
|
|
12760
|
-
}),
|
|
12819
|
+
}), Sd = {
|
|
12761
12820
|
text: "text",
|
|
12762
12821
|
password: "password",
|
|
12763
12822
|
textarea: "textarea",
|
|
@@ -12768,21 +12827,21 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12768
12827
|
amount: "amount",
|
|
12769
12828
|
creditCard: "creditCard",
|
|
12770
12829
|
userInfo: "userInfo"
|
|
12771
|
-
},
|
|
12830
|
+
}, Cd = {
|
|
12772
12831
|
small: "small",
|
|
12773
12832
|
medium: "medium",
|
|
12774
12833
|
large: "large"
|
|
12775
|
-
},
|
|
12834
|
+
}, wd = {
|
|
12776
12835
|
usd: "USD",
|
|
12777
12836
|
eur: "EUR",
|
|
12778
12837
|
gbp: "GBP",
|
|
12779
12838
|
jpy: "JPY"
|
|
12780
|
-
},
|
|
12839
|
+
}, Td = {
|
|
12781
12840
|
USD: "$",
|
|
12782
12841
|
EUR: "€",
|
|
12783
12842
|
GBP: "£",
|
|
12784
12843
|
JPY: "¥"
|
|
12785
|
-
},
|
|
12844
|
+
}, Ed = [
|
|
12786
12845
|
{
|
|
12787
12846
|
label: "USD",
|
|
12788
12847
|
value: "USD"
|
|
@@ -12799,7 +12858,7 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
12799
12858
|
label: "JPY",
|
|
12800
12859
|
value: "JPY"
|
|
12801
12860
|
}
|
|
12802
|
-
],
|
|
12861
|
+
], Dd = (/* @__PURE__ */ n(((e, t) => {
|
|
12803
12862
|
(function() {
|
|
12804
12863
|
var n, r = "Expected a function", i = "__lodash_hash_undefined__", a = "__lodash_placeholder__", o = 1, s = 2, c = 8, l = 16, u = 32, d = 64, f = 128, p = 256, m = 512, h = 1 / 0, g = 9007199254740991, _ = 17976931348623157e292, v = NaN, y = 4294967295, b = y - 1, x = y >>> 1, S = [
|
|
12805
12864
|
["ary", f],
|
|
@@ -16098,33 +16157,25 @@ var Pu = ["src"], Fu = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
|
16098
16157
|
})) : Ht ? ((Ht.exports = tr)._ = tr, Vt._ = tr) : Bt._ = tr;
|
|
16099
16158
|
}).call(e);
|
|
16100
16159
|
})))();
|
|
16101
|
-
function
|
|
16102
|
-
return e?.toLowerCase() === t?.toLowerCase();
|
|
16103
|
-
}
|
|
16104
|
-
function dd(e, t = {}) {
|
|
16105
|
-
return e.replaceAll(/\{(\w+)\}/g, (e, n) => Object.hasOwn(t, n) ? String(t[n]) : e);
|
|
16106
|
-
}
|
|
16107
|
-
//#endregion
|
|
16108
|
-
//#region src/composables/ssr.ts
|
|
16109
|
-
function fd() {
|
|
16160
|
+
function Od() {
|
|
16110
16161
|
return { hasWindow: l(() => typeof window < "u") };
|
|
16111
16162
|
}
|
|
16112
16163
|
//#endregion
|
|
16113
16164
|
//#region src/components/select/types.ts
|
|
16114
|
-
var
|
|
16165
|
+
var kd = [
|
|
16115
16166
|
"default",
|
|
16116
16167
|
"large",
|
|
16117
16168
|
"small"
|
|
16118
|
-
],
|
|
16169
|
+
], Ad = ["multiple", "multiselect"], jd = ["right", "left"], Md = jd[0], Nd = ["checkbox", "toggle"], Pd = Nd[0], Fd = ["tick", "radio"], Id = Fd[1], Ld = {
|
|
16119
16170
|
key: 0,
|
|
16120
16171
|
class: "ma-toggle__titles"
|
|
16121
|
-
},
|
|
16172
|
+
}, Rd = {
|
|
16122
16173
|
key: 0,
|
|
16123
16174
|
class: "ma-toggle__titles__title"
|
|
16124
|
-
},
|
|
16175
|
+
}, zd = {
|
|
16125
16176
|
key: 1,
|
|
16126
16177
|
class: "ma-toggle__titles__sub-title"
|
|
16127
|
-
},
|
|
16178
|
+
}, Bd = /* @__PURE__ */ y({
|
|
16128
16179
|
name: "MaToggle",
|
|
16129
16180
|
__name: "index",
|
|
16130
16181
|
props: {
|
|
@@ -16163,9 +16214,9 @@ var pd = [
|
|
|
16163
16214
|
return (e, t) => (I(), p("div", { class: k(o.value) }, [_(W(Ke), D({
|
|
16164
16215
|
checked: a.value,
|
|
16165
16216
|
"onUpdate:checked": t[0] ||= (e) => a.value = e
|
|
16166
|
-
}, s.value, { onClick: t[1] ||= (t) => e.$emit("click", t) }), null, 16, ["checked"]), n.title || n.subTitle ? (I(), p("div",
|
|
16217
|
+
}, s.value, { onClick: t[1] ||= (t) => e.$emit("click", t) }), null, 16, ["checked"]), n.title || n.subTitle ? (I(), p("div", Ld, [n.title ? (I(), p("span", Rd, H(n.title), 1)) : f("", !0), n.subTitle ? (I(), p("span", zd, H(n.subTitle), 1)) : f("", !0)])) : f("", !0)], 2));
|
|
16167
16218
|
}
|
|
16168
|
-
}),
|
|
16219
|
+
}), Vd = /* @__PURE__ */ y({
|
|
16169
16220
|
name: "MaOptionCheckbox",
|
|
16170
16221
|
__name: "optionCheckbox",
|
|
16171
16222
|
props: {
|
|
@@ -16173,7 +16224,7 @@ var pd = [
|
|
|
16173
16224
|
isToggle: { type: Boolean }
|
|
16174
16225
|
},
|
|
16175
16226
|
setup(e) {
|
|
16176
|
-
return (t, n) => e.isToggle ? (I(), d(
|
|
16227
|
+
return (t, n) => e.isToggle ? (I(), d(Bd, {
|
|
16177
16228
|
key: 1,
|
|
16178
16229
|
checked: e.checked,
|
|
16179
16230
|
size: "small"
|
|
@@ -16182,7 +16233,7 @@ var pd = [
|
|
|
16182
16233
|
checked: e.checked
|
|
16183
16234
|
}, null, 8, ["checked"]));
|
|
16184
16235
|
}
|
|
16185
|
-
}),
|
|
16236
|
+
}), Hd = { class: "dropdown-wrapper" }, Ud = { class: "mobile-header" }, Wd = /* @__PURE__ */ y({
|
|
16186
16237
|
__name: "dropdownRender",
|
|
16187
16238
|
props: {
|
|
16188
16239
|
menu: {
|
|
@@ -16212,8 +16263,8 @@ var pd = [
|
|
|
16212
16263
|
function s() {
|
|
16213
16264
|
r("closeDropdown");
|
|
16214
16265
|
}
|
|
16215
|
-
return (t, n) => (I(), p("div",
|
|
16216
|
-
m("div",
|
|
16266
|
+
return (t, n) => (I(), p("div", Hd, [
|
|
16267
|
+
m("div", Ud, [
|
|
16217
16268
|
_(W(X), {
|
|
16218
16269
|
size: "lg",
|
|
16219
16270
|
name: "close-circle",
|
|
@@ -16239,19 +16290,19 @@ var pd = [
|
|
|
16239
16290
|
_(a, { vnodes: e.menu }, null, 8, ["vnodes"])
|
|
16240
16291
|
]));
|
|
16241
16292
|
}
|
|
16242
|
-
}),
|
|
16293
|
+
}), Gd = ["onClick"], Kd = { class: "flex gap-2" }, qd = { class: "items-center flex justify-start gap-2" }, Jd = ["src"], Yd = {
|
|
16243
16294
|
key: 3,
|
|
16244
16295
|
class: "grid"
|
|
16245
|
-
},
|
|
16296
|
+
}, Xd = { class: "whitespace-nowrap overflow-hidden text-ellipsis" }, Zd = {
|
|
16246
16297
|
key: 0,
|
|
16247
16298
|
class: "text-xs text-gray-500 font-normal whitespace-nowrap overflow-hidden text-ellipsis"
|
|
16248
|
-
},
|
|
16299
|
+
}, Qd = { class: "select-option" }, $d = ["src"], ef = { class: "grid" }, tf = {
|
|
16249
16300
|
key: 0,
|
|
16250
16301
|
class: "text-xs text-gray-500 font-normal"
|
|
16251
|
-
},
|
|
16302
|
+
}, nf = ["src"], rf = {
|
|
16252
16303
|
key: 1,
|
|
16253
16304
|
class: "prefix-icon multi-selection-display-text"
|
|
16254
|
-
},
|
|
16305
|
+
}, af = /* @__PURE__ */ y({
|
|
16255
16306
|
__name: "index",
|
|
16256
16307
|
props: {
|
|
16257
16308
|
allowClear: { type: Boolean },
|
|
@@ -16305,12 +16356,12 @@ var pd = [
|
|
|
16305
16356
|
},
|
|
16306
16357
|
emits: ["update:value", "dropdownVisibleChange"],
|
|
16307
16358
|
setup(e, { emit: t }) {
|
|
16308
|
-
let n = e, r = t, a = ue(), { hasWindow: o } =
|
|
16359
|
+
let n = e, r = t, a = ue(), { hasWindow: o } = Od(), s = ut(), c = l({
|
|
16309
16360
|
get() {
|
|
16310
16361
|
return n.value;
|
|
16311
16362
|
},
|
|
16312
16363
|
set(e) {
|
|
16313
|
-
r("update:value", typeof e != "number" && (0,
|
|
16364
|
+
r("update:value", typeof e != "number" && (0, Dd.isEmpty)(e) && !n.mode ? null : e);
|
|
16314
16365
|
}
|
|
16315
16366
|
}), u = R(n?.searchValue), v = R(n.open), y = l(() => [
|
|
16316
16367
|
"dropdownRender",
|
|
@@ -16326,7 +16377,7 @@ var pd = [
|
|
|
16326
16377
|
icon: t ? t.icon : null,
|
|
16327
16378
|
imageSrc: t ? t.imageSrc : null
|
|
16328
16379
|
};
|
|
16329
|
-
}), S = l(() => Array.isArray(c.value) ? c.value.length : 0), C = l(() => S.value === 0 ? "" :
|
|
16380
|
+
}), S = l(() => Array.isArray(c.value) ? c.value.length : 0), C = l(() => S.value === 0 ? "" : Zl(s.config.localeMessages[S.value === 1 ? "itemSelected" : "itemsSelected"], { 0: S.value })), w = l(() => [
|
|
16330
16381
|
"ma-select",
|
|
16331
16382
|
`ma-select--${n.size}`,
|
|
16332
16383
|
{ "ma-select--has-prefix": n.mode !== "multiselect" && n.mode ? !1 : a?.prefixIcon || n?.prefixIcon },
|
|
@@ -16341,7 +16392,7 @@ var pd = [
|
|
|
16341
16392
|
{ "ma-select-hint-disabled": n.disabled },
|
|
16342
16393
|
{ "ma-select-hint-error": n.error }
|
|
16343
16394
|
]), E = l(() => !y.value && n?.showSearch), O = l(() => n?.mode && n.mode === "multiselect" ? "multiple" : n?.mode), j = l(() => {
|
|
16344
|
-
let e = n?.mode !== "multiselect" && "ma-select-dropdown" || "ma-multi-select-dropdown", t = !n?.mode && (a?.prefixIcon || n?.prefixIcon) && "ma-select-dropdown--has-prefix", r = n?.mode !== "multiselect" && n.selectOptionType ===
|
|
16395
|
+
let e = n?.mode !== "multiselect" && "ma-select-dropdown" || "ma-multi-select-dropdown", t = !n?.mode && (a?.prefixIcon || n?.prefixIcon) && "ma-select-dropdown--has-prefix", r = n?.mode !== "multiselect" && n.selectOptionType === Id && "ma-select-dropdown--with-radio-option", i = n?.ignoreMobileDisplay && "--ignore-mobile-display";
|
|
16345
16396
|
return [
|
|
16346
16397
|
n?.dropdownClassName,
|
|
16347
16398
|
e,
|
|
@@ -16349,7 +16400,7 @@ var pd = [
|
|
|
16349
16400
|
r,
|
|
16350
16401
|
i
|
|
16351
16402
|
].filter(Boolean).join(" ");
|
|
16352
|
-
}), M = l(() => n?.loading ? "loader" : n?.suffixIcon), N = l(() => Object.keys(a).filter((e) => !["option", "dropdownRender"].includes(e))), P = l(() => n?.showArrow && (!n?.mode || n?.mode === "multiselect")), F = l(() => n.checkboxPlacement ===
|
|
16403
|
+
}), M = l(() => n?.loading ? "loader" : n?.suffixIcon), N = l(() => Object.keys(a).filter((e) => !["option", "dropdownRender"].includes(e))), P = l(() => n?.showArrow && (!n?.mode || n?.mode === "multiselect")), F = l(() => n.checkboxPlacement === Md), L = l(() => n.multiSelectOptionType !== Pd), ee = l(() => n.selectOptionType === Id);
|
|
16353
16404
|
function te(e) {
|
|
16354
16405
|
v.value = e, u.value = "";
|
|
16355
16406
|
}
|
|
@@ -16412,7 +16463,7 @@ var pd = [
|
|
|
16412
16463
|
key: 0,
|
|
16413
16464
|
src: b.value.imageSrc,
|
|
16414
16465
|
alt: "Selected Option Image"
|
|
16415
|
-
}, null, 8,
|
|
16466
|
+
}, null, 8, nf)) : b.value.icon ? (I(), d(X, {
|
|
16416
16467
|
key: 1,
|
|
16417
16468
|
size: "sm",
|
|
16418
16469
|
round: e.optionItemRounded,
|
|
@@ -16422,7 +16473,7 @@ var pd = [
|
|
|
16422
16473
|
name: n?.prefixIcon
|
|
16423
16474
|
}, null, 8, ["name"])) : f("", !0)], void 0, 2)]))]),
|
|
16424
16475
|
removeIcon: J(() => [_(X, { name: n?.removeIcon || "close" }, null, 8, ["name"])]),
|
|
16425
|
-
maxTagPlaceholder: J((e) => [t.$slots.maxTagPlaceholder ? B(t.$slots, "maxTagPlaceholder", A(x(e)), void 0, void 0, 0) : n.mode === "multiselect" ? (I(), p("div",
|
|
16476
|
+
maxTagPlaceholder: J((e) => [t.$slots.maxTagPlaceholder ? B(t.$slots, "maxTagPlaceholder", A(x(e)), void 0, void 0, 0) : n.mode === "multiselect" ? (I(), p("div", rf, [B(t.$slots, "multiSelectionDisplayText", {}, () => [g(H(C.value), 1)])])) : (I(), p(i, { key: 2 }, [g(H(C.value), 1)], 64))]),
|
|
16426
16477
|
_: 2
|
|
16427
16478
|
}, [
|
|
16428
16479
|
z(N.value, (e) => ({
|
|
@@ -16439,10 +16490,10 @@ var pd = [
|
|
|
16439
16490
|
key: 0,
|
|
16440
16491
|
class: "ma-multi-select-option",
|
|
16441
16492
|
onClick: (e) => re(e, r.value, r?.disabled)
|
|
16442
|
-
}, [m("div",
|
|
16493
|
+
}, [m("div", Kd, [!F.value && !r?.options ? (I(), d(Vd, {
|
|
16443
16494
|
key: 0,
|
|
16444
16495
|
checked: Array.isArray(c.value) && c.value.includes(r.value)
|
|
16445
|
-
}, null, 8, ["checked"])) : f("", !0), m("div",
|
|
16496
|
+
}, null, 8, ["checked"])) : f("", !0), m("div", qd, [r?.icon ? (I(), d(X, {
|
|
16446
16497
|
key: 0,
|
|
16447
16498
|
class: "flex-shrink-0",
|
|
16448
16499
|
round: e.optionItemRounded,
|
|
@@ -16451,18 +16502,18 @@ var pd = [
|
|
|
16451
16502
|
}, null, 8, ["round", "name"])) : r?.imageSrc ? (I(), p("img", {
|
|
16452
16503
|
key: 1,
|
|
16453
16504
|
src: r.imageSrc
|
|
16454
|
-
}, null, 8,
|
|
16505
|
+
}, null, 8, Jd)) : f("", !0), t.$slots.option ? B(t.$slots, "option", A(x(r)), void 0, void 0, 2) : (I(), p("div", Yd, [_(Xt, {
|
|
16455
16506
|
type: "primary",
|
|
16456
16507
|
"mouse-enter-delay": 1500
|
|
16457
16508
|
}, {
|
|
16458
16509
|
title: J(() => [g(H(r.label), 1)]),
|
|
16459
|
-
default: J(() => [m("div",
|
|
16510
|
+
default: J(() => [m("div", Xd, H(r.label), 1)]),
|
|
16460
16511
|
_: 2
|
|
16461
|
-
}, 1024), r.description ? (I(), p("span",
|
|
16512
|
+
}, 1024), r.description ? (I(), p("span", Zd, H(r.description), 1)) : f("", !0)]))])]), F.value && !r?.options ? (I(), d(Vd, {
|
|
16462
16513
|
key: 0,
|
|
16463
16514
|
checked: Array.isArray(c.value) && c.value.includes(r.value),
|
|
16464
16515
|
"is-toggle": L.value
|
|
16465
|
-
}, null, 8, ["checked", "is-toggle"])) : f("", !0)], 8,
|
|
16516
|
+
}, null, 8, ["checked", "is-toggle"])) : f("", !0)], 8, Gd)) : (I(), p(i, { key: 1 }, [m("div", Qd, [r?.icon ? (I(), d(X, {
|
|
16466
16517
|
key: 0,
|
|
16467
16518
|
round: e.optionItemRounded,
|
|
16468
16519
|
size: "sm",
|
|
@@ -16470,7 +16521,7 @@ var pd = [
|
|
|
16470
16521
|
}, null, 8, ["round", "name"])) : r?.imageSrc ? (I(), p("img", {
|
|
16471
16522
|
key: 1,
|
|
16472
16523
|
src: r.imageSrc
|
|
16473
|
-
}, null, 8,
|
|
16524
|
+
}, null, 8, $d)) : f("", !0), m("div", ef, [g(H(r.label) + " ", 1), r.description ? (I(), p("span", tf, H(r.description), 1)) : f("", !0)])]), ee.value ? (I(), d(dn, {
|
|
16474
16525
|
key: 0,
|
|
16475
16526
|
checked: r.value === c.value
|
|
16476
16527
|
}, null, 8, ["checked"])) : f("", !0)], 64))]),
|
|
@@ -16504,7 +16555,7 @@ var pd = [
|
|
|
16504
16555
|
name: "dropdownRender",
|
|
16505
16556
|
fn: J(({ menuNode: n }) => [t.$slots.dropdownRender ? B(t.$slots, "dropdownRender", A(x({ menuNode: n })), void 0, void 0, 0) : (I(), p(i, { key: 1 }, [
|
|
16506
16557
|
B(t.$slots, "top-section"),
|
|
16507
|
-
_(
|
|
16558
|
+
_(Wd, {
|
|
16508
16559
|
filter: u.value,
|
|
16509
16560
|
"onUpdate:filter": r[0] ||= (e) => u.value = e,
|
|
16510
16561
|
menu: n,
|
|
@@ -16552,22 +16603,22 @@ var pd = [
|
|
|
16552
16603
|
}), g(" " + H(e.hintText), 1)], 2)) : f("", !0)
|
|
16553
16604
|
], 64));
|
|
16554
16605
|
}
|
|
16555
|
-
}),
|
|
16606
|
+
}), of = ["for"], sf = {
|
|
16556
16607
|
key: 1,
|
|
16557
16608
|
class: "ak-input__wrapper"
|
|
16558
|
-
},
|
|
16609
|
+
}, cf = {
|
|
16559
16610
|
key: 1,
|
|
16560
16611
|
class: "currency"
|
|
16561
|
-
},
|
|
16612
|
+
}, lf = ["src"], uf = {
|
|
16562
16613
|
key: 3,
|
|
16563
16614
|
class: "ak-input__hint-text"
|
|
16564
|
-
},
|
|
16615
|
+
}, df = /* @__PURE__ */ y({
|
|
16565
16616
|
inheritAttrs: !1,
|
|
16566
16617
|
__name: "index",
|
|
16567
16618
|
props: {
|
|
16568
16619
|
allowClear: { type: Boolean },
|
|
16569
|
-
type: { default:
|
|
16570
|
-
size: { default:
|
|
16620
|
+
type: { default: Sd.text },
|
|
16621
|
+
size: { default: Cd.small },
|
|
16571
16622
|
title: {},
|
|
16572
16623
|
hintText: {},
|
|
16573
16624
|
hasError: { type: Boolean },
|
|
@@ -16593,7 +16644,7 @@ var pd = [
|
|
|
16593
16644
|
"clear"
|
|
16594
16645
|
],
|
|
16595
16646
|
setup(e, { expose: t, emit: n }) {
|
|
16596
|
-
let r = e, i = n, a = se(), o = R(null), s = l(() => [
|
|
16647
|
+
let r = e, i = n, a = se(), o = R(null), s = l(() => [Sd.amount, Sd.creditCard].includes(r.type) ? "number" : r.type === Sd.userInfo ? "text" : r.type), c = l(() => [
|
|
16597
16648
|
`ma-input ak-input ak-input--${r.type} ak-input--${r.size} ${a?.class}`,
|
|
16598
16649
|
{ "ak-input--has-error": r.hasError },
|
|
16599
16650
|
{ "ak-input--disabled": r.disabled },
|
|
@@ -16605,14 +16656,14 @@ var pd = [
|
|
|
16605
16656
|
set(e) {
|
|
16606
16657
|
i("update:value", e);
|
|
16607
16658
|
}
|
|
16608
|
-
}), g = l(() => r.amountCurrency ?
|
|
16659
|
+
}), g = l(() => r.amountCurrency ? Td[r.amountCurrency] : null), _ = l({
|
|
16609
16660
|
get() {
|
|
16610
16661
|
return r.amountCurrency;
|
|
16611
16662
|
},
|
|
16612
16663
|
set(e) {
|
|
16613
16664
|
i("update:amountCurrency", e);
|
|
16614
16665
|
}
|
|
16615
|
-
}), v = l(() => r.type ===
|
|
16666
|
+
}), v = l(() => r.type === Sd.password ? Fe : Ne), y = l(() => r.type === Sd.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), b = l(() => r.type === Sd.url ? "https" : r?.addonBefore), x = l(() => {
|
|
16616
16667
|
let e = {
|
|
16617
16668
|
...a,
|
|
16618
16669
|
...y.value,
|
|
@@ -16642,7 +16693,7 @@ var pd = [
|
|
|
16642
16693
|
class: "ak-input__title",
|
|
16643
16694
|
for: t.$attrs?.id,
|
|
16644
16695
|
onClick: w
|
|
16645
|
-
}, H(r.title), 9,
|
|
16696
|
+
}, H(r.title), 9, of)) : f("", !0),
|
|
16646
16697
|
r.type === "textarea" ? (I(), d(W(Ye), D({ key: 2 }, x.value, {
|
|
16647
16698
|
ref_key: "inputRef",
|
|
16648
16699
|
ref: o,
|
|
@@ -16660,7 +16711,7 @@ var pd = [
|
|
|
16660
16711
|
"class",
|
|
16661
16712
|
"disabled",
|
|
16662
16713
|
"placeholder"
|
|
16663
|
-
])) : (I(), p("div",
|
|
16714
|
+
])) : (I(), p("div", sf, [(I(), d(V(v.value), D(x.value, {
|
|
16664
16715
|
ref_key: "inputRef",
|
|
16665
16716
|
ref: o,
|
|
16666
16717
|
value: m.value,
|
|
@@ -16680,17 +16731,17 @@ var pd = [
|
|
|
16680
16731
|
key: 0,
|
|
16681
16732
|
size: "sm",
|
|
16682
16733
|
name: r.prefixIcon
|
|
16683
|
-
}, null, 8, ["name"])) : g.value ? (I(), p("span",
|
|
16734
|
+
}, null, 8, ["name"])) : g.value ? (I(), p("span", cf, H(g.value), 1)) : r.type === W(Sd).userInfo ? (I(), p("img", {
|
|
16684
16735
|
key: 2,
|
|
16685
16736
|
src: r.avatarUrl,
|
|
16686
16737
|
class: "ma-input-avatar"
|
|
16687
|
-
}, null, 8,
|
|
16688
|
-
suffix: J(() => [r.type === "amount" ? (I(), d(
|
|
16738
|
+
}, null, 8, lf)) : f("", !0)]),
|
|
16739
|
+
suffix: J(() => [r.type === "amount" ? (I(), d(af, {
|
|
16689
16740
|
key: 0,
|
|
16690
16741
|
value: _.value,
|
|
16691
16742
|
"onUpdate:value": n[0] ||= (e) => _.value = e,
|
|
16692
16743
|
"dropdown-class-name": "ak-input__input__ma-select__dropdown",
|
|
16693
|
-
options: W(
|
|
16744
|
+
options: W(Ed),
|
|
16694
16745
|
disabled: r.disabled,
|
|
16695
16746
|
borderless: "",
|
|
16696
16747
|
"dropdown-match-select-width": !1,
|
|
@@ -16719,20 +16770,20 @@ var pd = [
|
|
|
16719
16770
|
"class"
|
|
16720
16771
|
]))])),
|
|
16721
16772
|
B(t.$slots, "hint"),
|
|
16722
|
-
r.hintText ? (I(), p("div",
|
|
16773
|
+
r.hintText ? (I(), p("div", uf, H(r.hintText), 1)) : f("", !0)
|
|
16723
16774
|
], 2));
|
|
16724
16775
|
}
|
|
16725
16776
|
});
|
|
16726
16777
|
//#endregion
|
|
16727
16778
|
//#region src/components/input-2/utils/numericUtils.ts
|
|
16728
|
-
function
|
|
16779
|
+
function ff(e) {
|
|
16729
16780
|
let t = e.formatToParts(1234567.89);
|
|
16730
16781
|
return {
|
|
16731
16782
|
decimal: t.find((e) => e.type === "decimal")?.value ?? ".",
|
|
16732
16783
|
group: t.find((e) => e.type === "group")?.value ?? ","
|
|
16733
16784
|
};
|
|
16734
16785
|
}
|
|
16735
|
-
function
|
|
16786
|
+
function pf(e, t, n) {
|
|
16736
16787
|
let r = "", i = !1;
|
|
16737
16788
|
for (let a of e) {
|
|
16738
16789
|
if (a >= "0" && a <= "9") {
|
|
@@ -16752,7 +16803,7 @@ function Xd(e, t, n) {
|
|
|
16752
16803
|
}
|
|
16753
16804
|
return r;
|
|
16754
16805
|
}
|
|
16755
|
-
function
|
|
16806
|
+
function mf(e, t, n) {
|
|
16756
16807
|
let r = e.trim();
|
|
16757
16808
|
if (!r || r === "-") return NaN;
|
|
16758
16809
|
let i = r;
|
|
@@ -16760,13 +16811,13 @@ function Zd(e, t, n) {
|
|
|
16760
16811
|
let a = Number.parseFloat(i);
|
|
16761
16812
|
return Number.isNaN(a) ? NaN : a;
|
|
16762
16813
|
}
|
|
16763
|
-
function
|
|
16814
|
+
function hf(e, t) {
|
|
16764
16815
|
let n = 10 ** t;
|
|
16765
16816
|
return Math.round(e * n) / n;
|
|
16766
16817
|
}
|
|
16767
16818
|
//#endregion
|
|
16768
16819
|
//#region src/components/input-2/currency-input/useCurrencyFormatter.ts
|
|
16769
|
-
function
|
|
16820
|
+
function gf(e, t) {
|
|
16770
16821
|
try {
|
|
16771
16822
|
return new Intl.NumberFormat(e, {
|
|
16772
16823
|
style: "currency",
|
|
@@ -16776,16 +16827,16 @@ function $d(e, t) {
|
|
|
16776
16827
|
return console.warn(`[MaCurrencyInput] Invalid currency code "${t}". Falling back to 2 fraction digits.`, e), 2;
|
|
16777
16828
|
}
|
|
16778
16829
|
}
|
|
16779
|
-
function
|
|
16830
|
+
function _f(e) {
|
|
16780
16831
|
let t = e.lastIndexOf(".");
|
|
16781
16832
|
return e.lastIndexOf(",") > t ? e.replaceAll(".", "").replace(",", ".") : e.replaceAll(",", "");
|
|
16782
16833
|
}
|
|
16783
|
-
function
|
|
16834
|
+
function vf(e, t) {
|
|
16784
16835
|
let n = t ? "." : ",", r = e.split(n);
|
|
16785
16836
|
return r.length > 2 || (r[1] ?? "").length >= 3 ? e.replaceAll(n, "") : e.replaceAll(n, ".");
|
|
16786
16837
|
}
|
|
16787
|
-
function
|
|
16788
|
-
let t = l(() => U(e.currency).toUpperCase()), n = l(() => U(e.locale)), r = l(() =>
|
|
16838
|
+
function yf(e) {
|
|
16839
|
+
let t = l(() => U(e.currency).toUpperCase()), n = l(() => U(e.locale)), r = l(() => gf(n.value, t.value)), i = l(() => {
|
|
16789
16840
|
try {
|
|
16790
16841
|
return new Intl.NumberFormat(n.value, {
|
|
16791
16842
|
style: "currency",
|
|
@@ -16825,7 +16876,7 @@ function nf(e) {
|
|
|
16825
16876
|
maximumFractionDigits: 2
|
|
16826
16877
|
});
|
|
16827
16878
|
}
|
|
16828
|
-
}), o = l(() =>
|
|
16879
|
+
}), o = l(() => ff(i.value)), s = l(() => i.value.formatToParts(1234567.89).find((e) => e.type === "currency")?.value ?? "");
|
|
16829
16880
|
function c(e) {
|
|
16830
16881
|
return a.value.format(e);
|
|
16831
16882
|
}
|
|
@@ -16833,7 +16884,7 @@ function nf(e) {
|
|
|
16833
16884
|
let t = e.trim();
|
|
16834
16885
|
if (!t) return NaN;
|
|
16835
16886
|
let n = t.includes("."), r = t.includes(","), i;
|
|
16836
|
-
i = n && r ?
|
|
16887
|
+
i = n && r ? _f(t) : n || r ? vf(t, n) : t, i = i.replaceAll(/[^\d.-]/g, "");
|
|
16837
16888
|
let a = Number.parseFloat(i);
|
|
16838
16889
|
return Number.isNaN(a) ? NaN : a;
|
|
16839
16890
|
}
|
|
@@ -16847,14 +16898,14 @@ function nf(e) {
|
|
|
16847
16898
|
}
|
|
16848
16899
|
//#endregion
|
|
16849
16900
|
//#region src/config/use-resolved-locale.ts
|
|
16850
|
-
var
|
|
16851
|
-
function
|
|
16901
|
+
var bf = "en-US";
|
|
16902
|
+
function xf(e) {
|
|
16852
16903
|
let t = C(lt, void 0);
|
|
16853
16904
|
return l(() => U(e) || t?.config.locale || "en-US");
|
|
16854
16905
|
}
|
|
16855
16906
|
//#endregion
|
|
16856
16907
|
//#region src/components/input-2/currency-input/MaCurrencyInput.vue?vue&type=script&setup=true&lang.ts
|
|
16857
|
-
var
|
|
16908
|
+
var Sf = { class: "ma-currency-input__prefix-wrapper" }, Cf = { class: "ma-currency-input__symbol" }, wf = ["value", "placeholder"], Tf = /* @__PURE__ */ y({
|
|
16858
16909
|
name: "MaCurrencyInput",
|
|
16859
16910
|
inheritAttrs: !1,
|
|
16860
16911
|
__name: "MaCurrencyInput",
|
|
@@ -16891,7 +16942,7 @@ var of = { class: "ma-currency-input__prefix-wrapper" }, sf = { class: "ma-curre
|
|
|
16891
16942
|
"clear"
|
|
16892
16943
|
], ["update:modelValue"]),
|
|
16893
16944
|
setup(e, { expose: t, emit: n }) {
|
|
16894
|
-
let r = e, i = n, a = le(e, "modelValue"), o =
|
|
16945
|
+
let r = e, i = n, a = le(e, "modelValue"), o = xf(() => r.locale), { format: s, parsePasted: c, currencySymbol: u, separators: p, resolvedFractionDigits: g } = yf({
|
|
16895
16946
|
currency: oe(() => r.currency),
|
|
16896
16947
|
locale: o
|
|
16897
16948
|
}), { isFocused: _, inputEl: v, inputBindings: y, onFocus: b, onBlur: x } = vc(r, i), { wrapperAttrs: S, inputAttrs: C } = gc(), w = l(() => ({
|
|
@@ -16899,7 +16950,7 @@ var of = { class: "ma-currency-input__prefix-wrapper" }, sf = { class: "ma-curre
|
|
|
16899
16950
|
...r.wrapperProps
|
|
16900
16951
|
})), T = R(a.value == null ? "" : s(a.value)), E = l(() => a.value !== null);
|
|
16901
16952
|
function O(e) {
|
|
16902
|
-
let t = e.target, n =
|
|
16953
|
+
let t = e.target, n = pf(t.value, p.value.decimal, p.value.group);
|
|
16903
16954
|
if (t.value !== n) {
|
|
16904
16955
|
let e = t.value.length - n.length, r = (t.selectionStart ?? n.length) - e;
|
|
16905
16956
|
t.value = n, t.setSelectionRange(r, r);
|
|
@@ -16912,16 +16963,16 @@ var of = { class: "ma-currency-input__prefix-wrapper" }, sf = { class: "ma-curre
|
|
|
16912
16963
|
e.preventDefault();
|
|
16913
16964
|
let n = c(t);
|
|
16914
16965
|
if (Number.isNaN(n)) return;
|
|
16915
|
-
let r =
|
|
16966
|
+
let r = hf(n, g.value);
|
|
16916
16967
|
a.value = r, T.value = s(r);
|
|
16917
16968
|
}
|
|
16918
16969
|
function A() {
|
|
16919
16970
|
let e = T.value.trim();
|
|
16920
16971
|
if (e) {
|
|
16921
|
-
let t =
|
|
16972
|
+
let t = mf(e, p.value.decimal, p.value.group);
|
|
16922
16973
|
if (Number.isNaN(t)) a.value = null, T.value = "";
|
|
16923
16974
|
else {
|
|
16924
|
-
let e =
|
|
16975
|
+
let e = hf(t, g.value);
|
|
16925
16976
|
a.value = e, T.value = s(e);
|
|
16926
16977
|
}
|
|
16927
16978
|
} else a.value = null, T.value = "";
|
|
@@ -16956,12 +17007,12 @@ var of = { class: "ma-currency-input__prefix-wrapper" }, sf = { class: "ma-curre
|
|
|
16956
17007
|
"wrapper-props": w.value,
|
|
16957
17008
|
onClear: N
|
|
16958
17009
|
}, h({
|
|
16959
|
-
prefix: J(() => [m("div",
|
|
17010
|
+
prefix: J(() => [m("div", Sf, [r.prefixIcon ? (I(), d(X, {
|
|
16960
17011
|
key: 0,
|
|
16961
17012
|
name: r.prefixIcon,
|
|
16962
17013
|
size: "sm",
|
|
16963
17014
|
class: "ma-currency-input__prefix-icon"
|
|
16964
|
-
}, null, 8, ["name"])) : f("", !0), m("span",
|
|
17015
|
+
}, null, 8, ["name"])) : f("", !0), m("span", Cf, H(W(u)), 1)])]),
|
|
16965
17016
|
default: J(() => [m("input", D({
|
|
16966
17017
|
ref_key: "inputEl",
|
|
16967
17018
|
ref: v
|
|
@@ -16978,7 +17029,7 @@ var of = { class: "ma-currency-input__prefix-wrapper" }, sf = { class: "ma-curre
|
|
|
16978
17029
|
onFocus: t[0] ||= (...e) => W(b) && W(b)(...e),
|
|
16979
17030
|
onBlur: M,
|
|
16980
17031
|
onKeydown: ge(j, ["enter"])
|
|
16981
|
-
}), null, 16,
|
|
17032
|
+
}), null, 16, wf)]),
|
|
16982
17033
|
_: 2
|
|
16983
17034
|
}, [
|
|
16984
17035
|
e.$slots.suffix ? {
|
|
@@ -17008,9 +17059,9 @@ var of = { class: "ma-currency-input__prefix-wrapper" }, sf = { class: "ma-curre
|
|
|
17008
17059
|
"wrapper-props"
|
|
17009
17060
|
]));
|
|
17010
17061
|
}
|
|
17011
|
-
}),
|
|
17012
|
-
function
|
|
17013
|
-
let t = l(() => U(e.locale) ??
|
|
17062
|
+
}), Ef = "en-US";
|
|
17063
|
+
function Df(e) {
|
|
17064
|
+
let t = l(() => U(e.locale) ?? Ef), n = l(() => U(e.precision)), r = l(() => U(e.formatter)), i = l(() => U(e.parser)), a = l(() => {
|
|
17014
17065
|
let e = n.value, r = {
|
|
17015
17066
|
style: "decimal",
|
|
17016
17067
|
...e !== void 0 && {
|
|
@@ -17021,15 +17072,15 @@ function df(e) {
|
|
|
17021
17072
|
try {
|
|
17022
17073
|
return new Intl.NumberFormat(t.value, r);
|
|
17023
17074
|
} catch {
|
|
17024
|
-
return new Intl.NumberFormat(
|
|
17075
|
+
return new Intl.NumberFormat(Ef, r);
|
|
17025
17076
|
}
|
|
17026
|
-
}), o = l(() =>
|
|
17077
|
+
}), o = l(() => ff(a.value));
|
|
17027
17078
|
function s(e) {
|
|
17028
17079
|
return r.value ? r.value(e) : a.value.format(e);
|
|
17029
17080
|
}
|
|
17030
17081
|
function c(e) {
|
|
17031
17082
|
if (i.value) return i.value(e);
|
|
17032
|
-
let t =
|
|
17083
|
+
let t = mf(e, o.value.decimal, o.value.group);
|
|
17033
17084
|
return Number.isNaN(t) ? null : t;
|
|
17034
17085
|
}
|
|
17035
17086
|
return {
|
|
@@ -17040,7 +17091,7 @@ function df(e) {
|
|
|
17040
17091
|
}
|
|
17041
17092
|
//#endregion
|
|
17042
17093
|
//#region src/components/input-2/number-input/MaNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
17043
|
-
var
|
|
17094
|
+
var Of = ["value", "placeholder"], kf = /* @__PURE__ */ y({
|
|
17044
17095
|
name: "MaNumberInput",
|
|
17045
17096
|
inheritAttrs: !1,
|
|
17046
17097
|
__name: "MaNumberInput",
|
|
@@ -17085,7 +17136,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17085
17136
|
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus: u, onBlur: f } = vc(r, i), { wrapperAttrs: p, inputAttrs: g } = gc(), _ = l(() => ({
|
|
17086
17137
|
...p.value,
|
|
17087
17138
|
...r.wrapperProps
|
|
17088
|
-
})), { format: v, parse: y, separators: b } =
|
|
17139
|
+
})), { format: v, parse: y, separators: b } = Df({
|
|
17089
17140
|
locale: r.locale,
|
|
17090
17141
|
precision: r.precision,
|
|
17091
17142
|
formatter: r.formatter,
|
|
@@ -17096,7 +17147,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17096
17147
|
return r.min !== void 0 && (t = Math.max(r.min, t)), r.max !== void 0 && (t = Math.min(r.max, t)), t;
|
|
17097
17148
|
}
|
|
17098
17149
|
function S(e) {
|
|
17099
|
-
return r.precision === void 0 ? e :
|
|
17150
|
+
return r.precision === void 0 ? e : hf(e, r.precision);
|
|
17100
17151
|
}
|
|
17101
17152
|
function C(e) {
|
|
17102
17153
|
return S(x(e));
|
|
@@ -17110,7 +17161,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17110
17161
|
o.value || (w.value = e === null ? "" : v(e));
|
|
17111
17162
|
});
|
|
17112
17163
|
function E(e) {
|
|
17113
|
-
let t = e.target, n =
|
|
17164
|
+
let t = e.target, n = pf(t.value, b.value.decimal, b.value.group);
|
|
17114
17165
|
if (t.value !== n) {
|
|
17115
17166
|
let e = t.value.length - n.length, r = (t.selectionStart ?? n.length) - e;
|
|
17116
17167
|
t.value = n, t.setSelectionRange(r, r);
|
|
@@ -17174,7 +17225,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17174
17225
|
onKeydown: [O, ge(k, ["enter"])],
|
|
17175
17226
|
onFocus: t[0] ||= (...e) => W(u) && W(u)(...e),
|
|
17176
17227
|
onBlur: A
|
|
17177
|
-
}), null, 16,
|
|
17228
|
+
}), null, 16, Of)]),
|
|
17178
17229
|
_: 2
|
|
17179
17230
|
}, [
|
|
17180
17231
|
e.$slots.prefix ? {
|
|
@@ -17210,7 +17261,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17210
17261
|
"wrapper-props"
|
|
17211
17262
|
]));
|
|
17212
17263
|
}
|
|
17213
|
-
}),
|
|
17264
|
+
}), Af = ["type", "placeholder"], jf = ["aria-label", "aria-pressed"], Mf = /* @__PURE__ */ y({
|
|
17214
17265
|
name: "MaPasswordInput",
|
|
17215
17266
|
inheritAttrs: !1,
|
|
17216
17267
|
__name: "MaPasswordInput",
|
|
@@ -17288,7 +17339,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17288
17339
|
}, [_(X, {
|
|
17289
17340
|
name: S.value ? "eye" : "eye-slash",
|
|
17290
17341
|
size: "sm"
|
|
17291
|
-
}, null, 8, ["name"])], 40,
|
|
17342
|
+
}, null, 8, ["name"])], 40, jf)) : r.suffixIcon ? (I(), d(X, {
|
|
17292
17343
|
key: 1,
|
|
17293
17344
|
name: r.suffixIcon,
|
|
17294
17345
|
size: "sm"
|
|
@@ -17305,7 +17356,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17305
17356
|
placeholder: r.placeholder,
|
|
17306
17357
|
onFocus: t[1] ||= (...e) => W(g) && W(g)(...e),
|
|
17307
17358
|
onBlur: t[2] ||= (...e) => W(v) && W(v)(...e)
|
|
17308
|
-
}), null, 16,
|
|
17359
|
+
}), null, 16, Af), [[fe, a.value]])]),
|
|
17309
17360
|
_: 2
|
|
17310
17361
|
}, [
|
|
17311
17362
|
e.$slots.prefix ? {
|
|
@@ -17335,7 +17386,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17335
17386
|
"wrapper-props"
|
|
17336
17387
|
]));
|
|
17337
17388
|
}
|
|
17338
|
-
}),
|
|
17389
|
+
}), Nf = ["rows", "placeholder"], Pf = /* @__PURE__ */ y({
|
|
17339
17390
|
name: "MaTextarea",
|
|
17340
17391
|
inheritAttrs: !1,
|
|
17341
17392
|
__name: "MaTextarea",
|
|
@@ -17439,7 +17490,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17439
17490
|
onFocus: t[1] ||= (...e) => W(u) && W(u)(...e),
|
|
17440
17491
|
onBlur: t[2] ||= (...e) => W(p) && W(p)(...e),
|
|
17441
17492
|
onInput: b
|
|
17442
|
-
}), null, 16,
|
|
17493
|
+
}), null, 16, Nf), [[pe, a.value]]), !r.autoResize && !r.disabled && !r.readonly ? (I(), d(X, {
|
|
17443
17494
|
key: 0,
|
|
17444
17495
|
name: "resize",
|
|
17445
17496
|
size: "xs",
|
|
@@ -17480,21 +17531,21 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17480
17531
|
"wrapper-props"
|
|
17481
17532
|
]));
|
|
17482
17533
|
}
|
|
17483
|
-
}),
|
|
17534
|
+
}), Ff = {
|
|
17484
17535
|
sm: "sm",
|
|
17485
17536
|
md: "md",
|
|
17486
17537
|
lg: "lg"
|
|
17487
|
-
},
|
|
17538
|
+
}, If = {
|
|
17488
17539
|
key: 0,
|
|
17489
17540
|
class: "ma-keyword-input__header"
|
|
17490
|
-
},
|
|
17541
|
+
}, Lf = { class: "ma-keyword-input__header-text" }, Rf = ["data-required"], zf = [
|
|
17491
17542
|
"disabled",
|
|
17492
17543
|
"placeholder",
|
|
17493
17544
|
"maxlength",
|
|
17494
17545
|
"aria-required",
|
|
17495
17546
|
"aria-invalid",
|
|
17496
17547
|
"aria-describedby"
|
|
17497
|
-
],
|
|
17548
|
+
], Bf = /* @__PURE__ */ y({
|
|
17498
17549
|
name: "MaKeywordInput",
|
|
17499
17550
|
__name: "index",
|
|
17500
17551
|
props: /*@__PURE__*/ E({
|
|
@@ -17605,17 +17656,17 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17605
17656
|
function ee() {
|
|
17606
17657
|
y.value = !1;
|
|
17607
17658
|
}
|
|
17608
|
-
return (e, t) => (I(), p("div", { class: k(C.value) }, [b.value || x.value ? (I(), p("div",
|
|
17659
|
+
return (e, t) => (I(), p("div", { class: k(C.value) }, [b.value || x.value ? (I(), p("div", If, [n.icon ? (I(), d(X, {
|
|
17609
17660
|
key: 0,
|
|
17610
17661
|
name: n.icon,
|
|
17611
17662
|
size: "sm",
|
|
17612
17663
|
class: "ma-keyword-input__header-icon"
|
|
17613
|
-
}, null, 8, ["name"])) : f("", !0), m("div",
|
|
17664
|
+
}, null, 8, ["name"])) : f("", !0), m("div", Lf, [b.value ? (I(), p("label", {
|
|
17614
17665
|
key: 0,
|
|
17615
17666
|
for: c,
|
|
17616
17667
|
class: "ma-keyword-input__title",
|
|
17617
17668
|
"data-required": n.required
|
|
17618
|
-
}, [B(e.$slots, "title", {}, () => [g(H(n.title), 1)])], 8,
|
|
17669
|
+
}, [B(e.$slots, "title", {}, () => [g(H(n.title), 1)])], 8, Rf)) : f("", !0), x.value ? (I(), p("span", {
|
|
17619
17670
|
key: 1,
|
|
17620
17671
|
id: u,
|
|
17621
17672
|
class: "ma-keyword-input__subtitle"
|
|
@@ -17664,7 +17715,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17664
17715
|
onInput: P,
|
|
17665
17716
|
onFocus: L,
|
|
17666
17717
|
onBlur: ee
|
|
17667
|
-
}), null, 16,
|
|
17718
|
+
}), null, 16, zf), [[pe, h.value]]),
|
|
17668
17719
|
a.value.length > 0 ? (I(), d(X, {
|
|
17669
17720
|
key: 0,
|
|
17670
17721
|
name: "close",
|
|
@@ -17678,7 +17729,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17678
17729
|
}, null, 8, ["onKeydown"])) : f("", !0)
|
|
17679
17730
|
])], 2));
|
|
17680
17731
|
}
|
|
17681
|
-
}),
|
|
17732
|
+
}), Vf = /* @__PURE__ */ y({
|
|
17682
17733
|
__name: "MenuItem",
|
|
17683
17734
|
props: {
|
|
17684
17735
|
selected: {
|
|
@@ -17705,7 +17756,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17705
17756
|
_: 3
|
|
17706
17757
|
}, 16, ["class"]));
|
|
17707
17758
|
}
|
|
17708
|
-
}),
|
|
17759
|
+
}), Hf = /* @__PURE__ */ y({
|
|
17709
17760
|
name: "MaMenu",
|
|
17710
17761
|
__name: "index",
|
|
17711
17762
|
props: {
|
|
@@ -17751,7 +17802,7 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17751
17802
|
_: 3
|
|
17752
17803
|
}, 16, ["class"]));
|
|
17753
17804
|
}
|
|
17754
|
-
}),
|
|
17805
|
+
}), Uf = {
|
|
17755
17806
|
total: "Total",
|
|
17756
17807
|
itemsPerPage: "{0} / page",
|
|
17757
17808
|
page: "Page {0} of {1}",
|
|
@@ -17813,33 +17864,45 @@ var ff = ["value", "placeholder"], pf = /* @__PURE__ */ y({
|
|
|
17813
17864
|
"Other"
|
|
17814
17865
|
],
|
|
17815
17866
|
reasoningLabel: "Thinking"
|
|
17816
|
-
}
|
|
17817
|
-
|
|
17818
|
-
|
|
17819
|
-
|
|
17867
|
+
},
|
|
17868
|
+
devicePreview: {
|
|
17869
|
+
ad: "Ad",
|
|
17870
|
+
get: "Get",
|
|
17871
|
+
inAppPurchases: "In-App Purchases",
|
|
17872
|
+
video: "Video",
|
|
17873
|
+
appPreview: "{0} app preview",
|
|
17874
|
+
appScreenshot: "{0} screenshot {1}",
|
|
17875
|
+
iphoneFrame: "iPhone frame",
|
|
17876
|
+
searchTabMock: "Search tab mock",
|
|
17877
|
+
searchTabPreview: "Search tab preview on {0}",
|
|
17878
|
+
todayTabPreview: "Today tab preview"
|
|
17879
|
+
}
|
|
17880
|
+
}, Wf = {
|
|
17881
|
+
localeMessages: Uf,
|
|
17882
|
+
locale: bf
|
|
17820
17883
|
};
|
|
17821
|
-
function
|
|
17884
|
+
function Gf(e, t) {
|
|
17822
17885
|
let n = { config: ee(t) };
|
|
17823
17886
|
e.provide(lt, n);
|
|
17824
17887
|
}
|
|
17825
|
-
var
|
|
17826
|
-
|
|
17827
|
-
} },
|
|
17888
|
+
var Kf = { install: (e, t) => {
|
|
17889
|
+
Gf(e, (0, fo.default)({}, Wf, t));
|
|
17890
|
+
} }, qf = ["data-mask"], Jf = ["data-id"], Yf = {
|
|
17828
17891
|
key: 0,
|
|
17829
17892
|
class: "ma-modal-2-header-wrapper"
|
|
17830
|
-
},
|
|
17893
|
+
}, Xf = { class: "ma-modal-2-header-content" }, Zf = {
|
|
17831
17894
|
key: 0,
|
|
17832
17895
|
class: "ma-modal-2-header-title"
|
|
17833
|
-
},
|
|
17896
|
+
}, Qf = {
|
|
17834
17897
|
key: 0,
|
|
17835
17898
|
class: "ma-modal-2-header-description"
|
|
17836
|
-
},
|
|
17899
|
+
}, $f = {
|
|
17837
17900
|
key: 1,
|
|
17838
17901
|
class: "ma-modal-2-tabs-menu-container"
|
|
17839
|
-
},
|
|
17902
|
+
}, ep = {
|
|
17840
17903
|
key: 1,
|
|
17841
17904
|
class: "ma-modal-2-footer"
|
|
17842
|
-
},
|
|
17905
|
+
}, tp = /* @__PURE__ */ y({
|
|
17843
17906
|
inheritAttrs: !1,
|
|
17844
17907
|
__name: "MaModal",
|
|
17845
17908
|
props: {
|
|
@@ -17975,8 +18038,8 @@ var Af = { install: (e, t) => {
|
|
|
17975
18038
|
y.value || i.tabs ? (I(), p("div", {
|
|
17976
18039
|
key: 0,
|
|
17977
18040
|
class: k(["ma-modal-2-header", { "ma-modal-2-header--no-space": n.noSpace }])
|
|
17978
|
-
}, [y.value ? (I(), p("div",
|
|
17979
|
-
m("div",
|
|
18041
|
+
}, [y.value ? (I(), p("div", Yf, [B(t.$slots, "header", {}, () => [
|
|
18042
|
+
m("div", Xf, [B(t.$slots, "title", {}, () => [n.title ? (I(), p("span", Zf, H(n.title), 1)) : f("", !0)]), B(t.$slots, "description", {}, () => [n.description ? (I(), p("p", Qf, H(n.description), 1)) : f("", !0)])]),
|
|
17980
18043
|
n.maximizable ? (I(), d(Z, {
|
|
17981
18044
|
key: 0,
|
|
17982
18045
|
variant: "lighter",
|
|
@@ -17997,20 +18060,20 @@ var Af = { install: (e, t) => {
|
|
|
17997
18060
|
"aria-label": "Close modal",
|
|
17998
18061
|
onClick: C
|
|
17999
18062
|
})) : f("", !0)
|
|
18000
|
-
])])) : f("", !0), i.tabs ? (I(), p("div",
|
|
18063
|
+
])])) : f("", !0), i.tabs ? (I(), p("div", $f, [B(t.$slots, "tabs")])) : f("", !0)], 2)) : f("", !0),
|
|
18001
18064
|
m("div", { class: k(["ma-modal-2-content", { "ma-modal-2-content--no-space": n.noSpace }]) }, [B(t.$slots, "default")], 2),
|
|
18002
|
-
i.footer ? (I(), p("div",
|
|
18003
|
-
], 16,
|
|
18065
|
+
i.footer ? (I(), p("div", ep, [B(t.$slots, "footer")])) : f("", !0)
|
|
18066
|
+
], 16, Jf)), [[me, n.destroyOnClose ? !0 : n.open]]) : f("", !0)]),
|
|
18004
18067
|
_: 3
|
|
18005
|
-
})], 46,
|
|
18068
|
+
})], 46, qf)), [[me, n.destroyOnClose ? !0 : u.value]]) : f("", !0)], 8, ["to"]));
|
|
18006
18069
|
}
|
|
18007
|
-
}),
|
|
18070
|
+
}), np = { class: "ma-confirm-modal-2-content" }, rp = {
|
|
18008
18071
|
key: 1,
|
|
18009
18072
|
class: "ma-confirm-modal-2-title"
|
|
18010
|
-
},
|
|
18073
|
+
}, ip = {
|
|
18011
18074
|
key: 1,
|
|
18012
18075
|
class: "ma-confirm-modal-2-description"
|
|
18013
|
-
},
|
|
18076
|
+
}, ap = /* @__PURE__ */ y({
|
|
18014
18077
|
__name: "MaConfirmModal",
|
|
18015
18078
|
props: {
|
|
18016
18079
|
type: { default: "info" },
|
|
@@ -18096,7 +18159,7 @@ var Af = { install: (e, t) => {
|
|
|
18096
18159
|
};
|
|
18097
18160
|
return (0, fo.default)(e, n.okButtonProps);
|
|
18098
18161
|
});
|
|
18099
|
-
return (t, r) => (I(), d(
|
|
18162
|
+
return (t, r) => (I(), d(tp, {
|
|
18100
18163
|
open: v.value,
|
|
18101
18164
|
"onUpdate:open": r[0] ||= (e) => v.value = e,
|
|
18102
18165
|
role: "alertdialog",
|
|
@@ -18113,14 +18176,14 @@ var Af = { install: (e, t) => {
|
|
|
18113
18176
|
breakpoints: n.breakpoints,
|
|
18114
18177
|
"no-space": n.noSpace
|
|
18115
18178
|
}, h({
|
|
18116
|
-
default: J(() => [m("div",
|
|
18179
|
+
default: J(() => [m("div", np, [B(t.$slots, "default", {}, () => [
|
|
18117
18180
|
u.value ? (I(), d(X, {
|
|
18118
18181
|
key: 0,
|
|
18119
18182
|
name: u.value,
|
|
18120
18183
|
class: "ma-confirm-modal-2-icon"
|
|
18121
18184
|
}, null, 8, ["name"])) : f("", !0),
|
|
18122
|
-
n.title ? B(t.$slots, "title", {}, () => [a.value ? (I(), d(V(n.title), { key: 0 })) : (I(), p("p",
|
|
18123
|
-
n.description || t.$slots.description ? B(t.$slots, "description", {}, () => [o.value ? (I(), d(V(n.description), { key: 0 })) : (I(), p("p",
|
|
18185
|
+
n.title ? B(t.$slots, "title", {}, () => [a.value ? (I(), d(V(n.title), { key: 0 })) : (I(), p("p", rp, H(n.title), 1))], void 0, 1) : f("", !0),
|
|
18186
|
+
n.description || t.$slots.description ? B(t.$slots, "description", {}, () => [o.value ? (I(), d(V(n.description), { key: 0 })) : (I(), p("p", ip, H(n.description), 1))], void 0, 2) : f("", !0)
|
|
18124
18187
|
])])]),
|
|
18125
18188
|
_: 2
|
|
18126
18189
|
}, [_.value ? {
|
|
@@ -18147,7 +18210,7 @@ var Af = { install: (e, t) => {
|
|
|
18147
18210
|
"no-space"
|
|
18148
18211
|
]));
|
|
18149
18212
|
}
|
|
18150
|
-
}),
|
|
18213
|
+
}), op = class {
|
|
18151
18214
|
modals = /* @__PURE__ */ new Map();
|
|
18152
18215
|
escapeHandler = null;
|
|
18153
18216
|
getOpenModals() {
|
|
@@ -18185,7 +18248,7 @@ var Af = { install: (e, t) => {
|
|
|
18185
18248
|
a.value = !1, this.checkEscapeListener();
|
|
18186
18249
|
}
|
|
18187
18250
|
}, n) }));
|
|
18188
|
-
return s.use(
|
|
18251
|
+
return s.use(Kf).mount(i), this.modals.set(r, {
|
|
18189
18252
|
app: s,
|
|
18190
18253
|
container: i,
|
|
18191
18254
|
openState: a,
|
|
@@ -18219,10 +18282,10 @@ var Af = { install: (e, t) => {
|
|
|
18219
18282
|
};
|
|
18220
18283
|
}
|
|
18221
18284
|
modal(e, t) {
|
|
18222
|
-
return this.create(
|
|
18285
|
+
return this.create(tp, e, t);
|
|
18223
18286
|
}
|
|
18224
18287
|
createConfirmModal(e, t) {
|
|
18225
|
-
return this.create(
|
|
18288
|
+
return this.create(ap, {
|
|
18226
18289
|
...t,
|
|
18227
18290
|
type: e
|
|
18228
18291
|
});
|
|
@@ -18249,17 +18312,17 @@ var Af = { install: (e, t) => {
|
|
|
18249
18312
|
e.unmount(), document.body.removeChild(t);
|
|
18250
18313
|
}), this.modals.clear(), this.removeEscapeListener();
|
|
18251
18314
|
}
|
|
18252
|
-
},
|
|
18315
|
+
}, sp = new op();
|
|
18253
18316
|
//#endregion
|
|
18254
18317
|
//#region src/components/modal-2/composables/usemodal.ts
|
|
18255
|
-
function
|
|
18318
|
+
function cp() {
|
|
18256
18319
|
return N(() => {
|
|
18257
|
-
|
|
18258
|
-
}),
|
|
18320
|
+
sp.destroyAll();
|
|
18321
|
+
}), sp;
|
|
18259
18322
|
}
|
|
18260
18323
|
//#endregion
|
|
18261
18324
|
//#region src/components/modal-2/types.ts
|
|
18262
|
-
var
|
|
18325
|
+
var lp = [
|
|
18263
18326
|
"top",
|
|
18264
18327
|
"right",
|
|
18265
18328
|
"bottom",
|
|
@@ -18269,26 +18332,26 @@ var qf = [
|
|
|
18269
18332
|
"topright",
|
|
18270
18333
|
"bottomleft",
|
|
18271
18334
|
"bottomright"
|
|
18272
|
-
],
|
|
18335
|
+
], up = [
|
|
18273
18336
|
"info",
|
|
18274
18337
|
"success",
|
|
18275
18338
|
"warning",
|
|
18276
18339
|
"error"
|
|
18277
|
-
],
|
|
18340
|
+
], dp = [
|
|
18278
18341
|
"info",
|
|
18279
18342
|
"success",
|
|
18280
18343
|
"confirm",
|
|
18281
18344
|
"warning",
|
|
18282
18345
|
"error",
|
|
18283
18346
|
"blank"
|
|
18284
|
-
],
|
|
18347
|
+
], fp = {
|
|
18285
18348
|
info: "info-circle-2-bold",
|
|
18286
18349
|
success: "tick-circle-bold",
|
|
18287
18350
|
confirm: "warning",
|
|
18288
18351
|
warning: "warning",
|
|
18289
18352
|
error: "close-circle-bold",
|
|
18290
18353
|
blank: null
|
|
18291
|
-
},
|
|
18354
|
+
}, pp = y({
|
|
18292
18355
|
props: { content: {
|
|
18293
18356
|
type: Object,
|
|
18294
18357
|
required: !0
|
|
@@ -18296,22 +18359,22 @@ var qf = [
|
|
|
18296
18359
|
setup(e) {
|
|
18297
18360
|
return () => e.content;
|
|
18298
18361
|
}
|
|
18299
|
-
}),
|
|
18362
|
+
}), mp = {
|
|
18300
18363
|
key: 0,
|
|
18301
18364
|
class: "ak-modal__header ak-modal__header__top"
|
|
18302
|
-
},
|
|
18365
|
+
}, hp = {
|
|
18303
18366
|
key: 0,
|
|
18304
18367
|
class: "ak-modal__header__title ma-body-3-medium"
|
|
18305
|
-
},
|
|
18368
|
+
}, gp = { class: "ak-modal__header__actions" }, _p = { class: "ak-modal__body" }, vp = {
|
|
18306
18369
|
key: 0,
|
|
18307
18370
|
class: "ak-modal__header__title ma-body-2-medium"
|
|
18308
|
-
},
|
|
18371
|
+
}, yp = { class: "ak-modal__header__actions" }, bp = { class: "ak-modal__content" }, xp = {
|
|
18309
18372
|
key: 0,
|
|
18310
18373
|
class: "ak-modal__description ma-body-4-regular"
|
|
18311
|
-
},
|
|
18374
|
+
}, Sp = {
|
|
18312
18375
|
key: 1,
|
|
18313
18376
|
class: "ak-modal__footer"
|
|
18314
|
-
},
|
|
18377
|
+
}, Cp = /* @__PURE__ */ y({
|
|
18315
18378
|
__name: "index",
|
|
18316
18379
|
props: {
|
|
18317
18380
|
visible: {
|
|
@@ -18400,7 +18463,7 @@ var qf = [
|
|
|
18400
18463
|
set(e) {
|
|
18401
18464
|
a("update:visible", e), e || (a("closed"), r.fullscreen && a("update:fullscreen", !1));
|
|
18402
18465
|
}
|
|
18403
|
-
}), h = l(() => r?.icon || (r.type &&
|
|
18466
|
+
}), h = l(() => r?.icon || (r.type && fp[r.type] ? fp[r.type] : null)), v = l(() => ({
|
|
18404
18467
|
success: "green",
|
|
18405
18468
|
error: "red",
|
|
18406
18469
|
warning: "dark",
|
|
@@ -18457,7 +18520,7 @@ var qf = [
|
|
|
18457
18520
|
"onUpdate:visible": n[0] ||= (e) => u.value = e
|
|
18458
18521
|
}), {
|
|
18459
18522
|
default: J(() => [
|
|
18460
|
-
T.value ? (I(), p("div",
|
|
18523
|
+
T.value ? (I(), p("div", mp, [B(t.$slots, "title", {}, () => [e.title || t.$slots.title ? (I(), p("div", hp, H(e.title), 1)) : f("", !0)]), m("div", gp, [e.showExpandButton ? (I(), d(Z, {
|
|
18461
18524
|
key: 0,
|
|
18462
18525
|
class: "ak-modal__header__expand",
|
|
18463
18526
|
icon: c.value ? "compress" : "expand",
|
|
@@ -18472,7 +18535,7 @@ var qf = [
|
|
|
18472
18535
|
variant: "lighter",
|
|
18473
18536
|
onClick: A
|
|
18474
18537
|
})) : f("", !0)])])) : f("", !0),
|
|
18475
|
-
m("div",
|
|
18538
|
+
m("div", _p, [
|
|
18476
18539
|
h.value ? (I(), p("div", {
|
|
18477
18540
|
key: 0,
|
|
18478
18541
|
class: k(x.value)
|
|
@@ -18480,7 +18543,7 @@ var qf = [
|
|
|
18480
18543
|
E.value ? (I(), p("div", {
|
|
18481
18544
|
key: 1,
|
|
18482
18545
|
class: k(S.value)
|
|
18483
|
-
}, [e.bodyTitle || w.value ? (I(), p("div",
|
|
18546
|
+
}, [e.bodyTitle || w.value ? (I(), p("div", vp, [B(t.$slots, "body-title"), g(" " + H(e.bodyTitle), 1)])) : f("", !0), m("div", yp, [e.showExpandButton ? (I(), d(Z, {
|
|
18484
18547
|
key: 0,
|
|
18485
18548
|
class: "ak-modal__header__expand",
|
|
18486
18549
|
icon: c.value ? "compress" : "expand",
|
|
@@ -18495,8 +18558,8 @@ var qf = [
|
|
|
18495
18558
|
variant: "lighter",
|
|
18496
18559
|
onClick: A
|
|
18497
18560
|
})) : f("", !0)])], 2)) : f("", !0),
|
|
18498
|
-
m("div",
|
|
18499
|
-
e.content ? (I(), p("div",
|
|
18561
|
+
m("div", bp, [
|
|
18562
|
+
e.content ? (I(), p("div", xp, [C.value ? (I(), d(pp, {
|
|
18500
18563
|
key: 0,
|
|
18501
18564
|
content: e.content
|
|
18502
18565
|
}, null, 8, ["content"])) : (I(), p(i, { key: 1 }, [g(H(e.content), 1)], 64))])) : f("", !0),
|
|
@@ -18504,7 +18567,7 @@ var qf = [
|
|
|
18504
18567
|
B(t.$slots, "default")
|
|
18505
18568
|
])
|
|
18506
18569
|
]),
|
|
18507
|
-
y.value ? (I(), p("div",
|
|
18570
|
+
y.value ? (I(), p("div", Sp, [
|
|
18508
18571
|
e.cancelText ? (I(), d(Z, D({
|
|
18509
18572
|
key: 0,
|
|
18510
18573
|
variant: "stroke"
|
|
@@ -18530,10 +18593,10 @@ var qf = [
|
|
|
18530
18593
|
});
|
|
18531
18594
|
//#endregion
|
|
18532
18595
|
//#region src/components/modal/index.ts
|
|
18533
|
-
|
|
18534
|
-
|
|
18596
|
+
dp.forEach((e) => {
|
|
18597
|
+
Cp[e] = (t) => {
|
|
18535
18598
|
t.type = e;
|
|
18536
|
-
let n = document.createElement("div"), r = S(
|
|
18599
|
+
let n = document.createElement("div"), r = S(Cp, t), i = u({ render: () => r });
|
|
18537
18600
|
i.mount(n), document.body.appendChild(n);
|
|
18538
18601
|
let a = t?.onCancel, o = t?.onOk, s = () => {
|
|
18539
18602
|
i.unmount(), document.body.removeChild(n);
|
|
@@ -18551,22 +18614,22 @@ Yf.forEach((e) => {
|
|
|
18551
18614
|
} };
|
|
18552
18615
|
};
|
|
18553
18616
|
});
|
|
18554
|
-
var
|
|
18617
|
+
var wp = Cp, Tp = /* @__PURE__ */ n(((e, t) => {
|
|
18555
18618
|
function n(e, t, n, r) {
|
|
18556
18619
|
var i = -1, a = e == null ? 0 : e.length;
|
|
18557
18620
|
for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
|
|
18558
18621
|
return n;
|
|
18559
18622
|
}
|
|
18560
18623
|
t.exports = n;
|
|
18561
|
-
})),
|
|
18624
|
+
})), Ep = /* @__PURE__ */ n(((e, t) => {
|
|
18562
18625
|
function n(e) {
|
|
18563
18626
|
return function(t) {
|
|
18564
18627
|
return e?.[t];
|
|
18565
18628
|
};
|
|
18566
18629
|
}
|
|
18567
18630
|
t.exports = n;
|
|
18568
|
-
})),
|
|
18569
|
-
t.exports =
|
|
18631
|
+
})), Dp = /* @__PURE__ */ n(((e, t) => {
|
|
18632
|
+
t.exports = Ep()({
|
|
18570
18633
|
À: "A",
|
|
18571
18634
|
Á: "A",
|
|
18572
18635
|
Â: "A",
|
|
@@ -18758,25 +18821,25 @@ var cp = sp, lp = /* @__PURE__ */ n(((e, t) => {
|
|
|
18758
18821
|
ʼn: "'n",
|
|
18759
18822
|
ſ: "s"
|
|
18760
18823
|
});
|
|
18761
|
-
})),
|
|
18762
|
-
var n =
|
|
18824
|
+
})), Op = /* @__PURE__ */ n(((e, t) => {
|
|
18825
|
+
var n = Dp(), r = Ns(), i = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
|
|
18763
18826
|
function o(e) {
|
|
18764
18827
|
return e = r(e), e && e.replace(i, n).replace(a, "");
|
|
18765
18828
|
}
|
|
18766
18829
|
t.exports = o;
|
|
18767
|
-
})),
|
|
18830
|
+
})), kp = /* @__PURE__ */ n(((e, t) => {
|
|
18768
18831
|
var n = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
18769
18832
|
function r(e) {
|
|
18770
18833
|
return e.match(n) || [];
|
|
18771
18834
|
}
|
|
18772
18835
|
t.exports = r;
|
|
18773
|
-
})),
|
|
18836
|
+
})), Ap = /* @__PURE__ */ n(((e, t) => {
|
|
18774
18837
|
var n = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
18775
18838
|
function r(e) {
|
|
18776
18839
|
return n.test(e);
|
|
18777
18840
|
}
|
|
18778
18841
|
t.exports = r;
|
|
18779
|
-
})),
|
|
18842
|
+
})), jp = /* @__PURE__ */ n(((e, t) => {
|
|
18780
18843
|
var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\u2700-\\u27bf", a = "a-z\\xdf-\\xf6\\xf8-\\xff", o = "\\xac\\xb1\\xd7\\xf7", s = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", c = "\\u2000-\\u206f", l = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", u = "A-Z\\xc0-\\xd6\\xd8-\\xde", d = "\\ufe0e\\ufe0f", f = o + s + c + l, p = "['’]", m = "[" + f + "]", h = "[" + r + "]", g = "\\d+", _ = "[" + i + "]", v = "[" + a + "]", y = "[^" + n + f + g + i + a + u + "]", b = "(?:" + h + "|\\ud83c[\\udffb-\\udfff])", x = "[^" + n + "]", S = "(?:\\ud83c[\\udde6-\\uddff]){2}", C = "[\\ud800-\\udbff][\\udc00-\\udfff]", w = "[" + u + "]", T = "\\u200d", E = "(?:" + v + "|" + y + ")", D = "(?:" + w + "|" + y + ")", O = "(?:" + p + "(?:d|ll|m|re|s|t|ve))?", k = "(?:" + p + "(?:D|LL|M|RE|S|T|VE))?", A = b + "?", j = "[" + d + "]?", M = "(?:" + T + "(?:" + [
|
|
18781
18844
|
x,
|
|
18782
18845
|
S,
|
|
@@ -18807,50 +18870,50 @@ var cp = sp, lp = /* @__PURE__ */ n(((e, t) => {
|
|
|
18807
18870
|
return e.match(L) || [];
|
|
18808
18871
|
}
|
|
18809
18872
|
t.exports = ee;
|
|
18810
|
-
})),
|
|
18811
|
-
var n =
|
|
18873
|
+
})), Mp = /* @__PURE__ */ n(((e, t) => {
|
|
18874
|
+
var n = kp(), r = Ap(), i = Ns(), a = jp();
|
|
18812
18875
|
function o(e, t, o) {
|
|
18813
18876
|
return e = i(e), t = o ? void 0 : t, t === void 0 ? r(e) ? a(e) : n(e) : e.match(t) || [];
|
|
18814
18877
|
}
|
|
18815
18878
|
t.exports = o;
|
|
18816
|
-
})),
|
|
18817
|
-
var n =
|
|
18879
|
+
})), Np = /* @__PURE__ */ n(((e, t) => {
|
|
18880
|
+
var n = Tp(), r = Op(), i = Mp(), a = RegExp("['’]", "g");
|
|
18818
18881
|
function o(e) {
|
|
18819
18882
|
return function(t) {
|
|
18820
18883
|
return n(i(r(t).replace(a, "")), e, "");
|
|
18821
18884
|
};
|
|
18822
18885
|
}
|
|
18823
18886
|
t.exports = o;
|
|
18824
|
-
})),
|
|
18825
|
-
t.exports =
|
|
18887
|
+
})), Pp = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
18888
|
+
t.exports = Np()(function(e, t, n) {
|
|
18826
18889
|
return e + (n ? "-" : "") + t.toLowerCase();
|
|
18827
18890
|
});
|
|
18828
|
-
})))(), 1),
|
|
18829
|
-
function
|
|
18891
|
+
})))(), 1), Fp = 200;
|
|
18892
|
+
function Ip() {
|
|
18830
18893
|
return { runNotificationLeaveAnimation: (e, t) => {
|
|
18831
18894
|
if (!e.value) return;
|
|
18832
18895
|
e.value.classList.add("leaving");
|
|
18833
18896
|
let n = e.value, r = null, i = n.offsetHeight, a = (e) => {
|
|
18834
18897
|
r ||= e;
|
|
18835
|
-
let o = e - r, s = Math.min(o /
|
|
18836
|
-
n.style.transform = `translateY(${c}px)`, n.style.opacity = `${l}`, n.style.marginBottom = `${u}px`, o <
|
|
18898
|
+
let o = e - r, s = Math.min(o / Fp, 1), c = -i * s, l = 1 - s, u = -i * s;
|
|
18899
|
+
n.style.transform = `translateY(${c}px)`, n.style.opacity = `${l}`, n.style.marginBottom = `${u}px`, o < Fp ? window.requestAnimationFrame(a) : setTimeout(() => {
|
|
18837
18900
|
t();
|
|
18838
|
-
},
|
|
18901
|
+
}, Fp);
|
|
18839
18902
|
};
|
|
18840
18903
|
window.requestAnimationFrame(a);
|
|
18841
18904
|
} };
|
|
18842
18905
|
}
|
|
18843
18906
|
//#endregion
|
|
18844
18907
|
//#region src/components/notification/components/notification.vue?vue&type=script&setup=true&lang.ts
|
|
18845
|
-
var
|
|
18908
|
+
var Lp = { class: "ma-notification__content" }, Rp = { class: "ma-notification__content__texts" }, zp = ["title"], Bp = ["title"], Vp = {
|
|
18846
18909
|
key: 0,
|
|
18847
18910
|
class: "ma-notification-buttons"
|
|
18848
|
-
},
|
|
18911
|
+
}, Hp = { class: "ma-notification__actions" }, Up = /* @__PURE__ */ y({
|
|
18849
18912
|
__name: "notification",
|
|
18850
18913
|
props: { notification: {} },
|
|
18851
18914
|
emits: ["remove"],
|
|
18852
18915
|
setup(e, { emit: t }) {
|
|
18853
|
-
let n = e, r = t, { runNotificationLeaveAnimation: a } =
|
|
18916
|
+
let n = e, r = t, { runNotificationLeaveAnimation: a } = Ip(), o = R(null), s = R(), c = [
|
|
18854
18917
|
"ma-notification",
|
|
18855
18918
|
`ma-notification--${n.notification.type}`,
|
|
18856
18919
|
`ma-notification--${n.notification.variant}`,
|
|
@@ -18881,21 +18944,21 @@ var xp = { class: "ma-notification__content" }, Sp = { class: "ma-notification__
|
|
|
18881
18944
|
name: n.notification.icon,
|
|
18882
18945
|
size: "sm"
|
|
18883
18946
|
}, null, 8, ["name"])) : f("", !0),
|
|
18884
|
-
m("div",
|
|
18947
|
+
m("div", Lp, [m("div", Rp, [T(n.notification.title) ? (I(), d(V(n.notification.title), {
|
|
18885
18948
|
key: 0,
|
|
18886
18949
|
class: "ma-notification-title"
|
|
18887
18950
|
})) : n.notification.title ? (I(), p("div", {
|
|
18888
18951
|
key: 1,
|
|
18889
18952
|
class: "ma-notification-title",
|
|
18890
18953
|
title: n.notification.title
|
|
18891
|
-
}, H(n.notification.title), 9,
|
|
18954
|
+
}, H(n.notification.title), 9, zp)) : f("", !0), T(n.notification.description) ? (I(), d(V(n.notification.description), {
|
|
18892
18955
|
key: 2,
|
|
18893
18956
|
class: "ma-notification-description"
|
|
18894
18957
|
})) : n.notification.description ? (I(), p("div", {
|
|
18895
18958
|
key: 3,
|
|
18896
18959
|
class: "ma-notification-description",
|
|
18897
18960
|
title: n.notification.description
|
|
18898
|
-
}, H(n.notification.description), 9,
|
|
18961
|
+
}, H(n.notification.description), 9, Bp)) : f("", !0)]), n.notification.buttons && n.notification.buttons.length ? (I(), p("div", Vp, [(I(!0), p(i, null, z(n.notification.buttons, (e, t) => (I(), d(W($n), {
|
|
18899
18962
|
key: t,
|
|
18900
18963
|
size: "small",
|
|
18901
18964
|
onClick: (t) => e.onClick(n.notification.id)
|
|
@@ -18903,7 +18966,7 @@ var xp = { class: "ma-notification__content" }, Sp = { class: "ma-notification__
|
|
|
18903
18966
|
default: J(() => [g(H(e.label), 1)]),
|
|
18904
18967
|
_: 2
|
|
18905
18968
|
}, 1032, ["onClick"]))), 128))])) : f("", !0)]),
|
|
18906
|
-
m("div",
|
|
18969
|
+
m("div", Hp, [n.notification.closable ? (I(), d(W(X), {
|
|
18907
18970
|
key: 0,
|
|
18908
18971
|
name: "close",
|
|
18909
18972
|
class: "ma-notification-close",
|
|
@@ -18912,10 +18975,10 @@ var xp = { class: "ma-notification__content" }, Sp = { class: "ma-notification__
|
|
|
18912
18975
|
})) : f("", !0)])
|
|
18913
18976
|
], 544));
|
|
18914
18977
|
}
|
|
18915
|
-
}),
|
|
18978
|
+
}), Wp = {
|
|
18916
18979
|
key: 0,
|
|
18917
18980
|
class: "ma-notification-wrapper"
|
|
18918
|
-
},
|
|
18981
|
+
}, Gp = /* @__PURE__ */ y({
|
|
18919
18982
|
__name: "notificationContainer",
|
|
18920
18983
|
setup(e, { expose: t }) {
|
|
18921
18984
|
let n = R([]);
|
|
@@ -18940,11 +19003,11 @@ var xp = { class: "ma-notification__content" }, Sp = { class: "ma-notification__
|
|
|
18940
19003
|
addNotification: r,
|
|
18941
19004
|
removeNotification: o,
|
|
18942
19005
|
removeAll: s
|
|
18943
|
-
}), (e, t) => (I(), d(a, { to: "body" }, [n.value.length ? (I(), p("div",
|
|
19006
|
+
}), (e, t) => (I(), d(a, { to: "body" }, [n.value.length ? (I(), p("div", Wp, [(I(!0), p(i, null, z(u.value, (e, t) => (I(), p("div", {
|
|
18944
19007
|
key: t,
|
|
18945
|
-
class: k(`ma-notification--${W(
|
|
19008
|
+
class: k(`ma-notification--${W(Pp.default)(t)}`)
|
|
18946
19009
|
}, [_(c, { name: "ma-notification" }, {
|
|
18947
|
-
default: J(() => [(I(!0), p(i, null, z(e, (e) => (I(), d(
|
|
19010
|
+
default: J(() => [(I(!0), p(i, null, z(e, (e) => (I(), d(Up, {
|
|
18948
19011
|
key: e.id,
|
|
18949
19012
|
notification: e,
|
|
18950
19013
|
onRemove: o
|
|
@@ -18952,18 +19015,18 @@ var xp = { class: "ma-notification__content" }, Sp = { class: "ma-notification__
|
|
|
18952
19015
|
_: 2
|
|
18953
19016
|
}, 1024)], 2))), 128))])) : f("", !0)]));
|
|
18954
19017
|
}
|
|
18955
|
-
}),
|
|
18956
|
-
dark: () =>
|
|
18957
|
-
error: () =>
|
|
18958
|
-
info: () =>
|
|
18959
|
-
remove: () =>
|
|
18960
|
-
removeAll: () =>
|
|
18961
|
-
success: () =>
|
|
18962
|
-
warning: () =>
|
|
18963
|
-
}),
|
|
18964
|
-
document.body.appendChild(
|
|
18965
|
-
var
|
|
18966
|
-
function
|
|
19018
|
+
}), Kp = /* @__PURE__ */ e({
|
|
19019
|
+
dark: () => $p,
|
|
19020
|
+
error: () => tm,
|
|
19021
|
+
info: () => nm,
|
|
19022
|
+
remove: () => im,
|
|
19023
|
+
removeAll: () => am,
|
|
19024
|
+
success: () => em,
|
|
19025
|
+
warning: () => rm
|
|
19026
|
+
}), qp = document.createElement("div");
|
|
19027
|
+
document.body.appendChild(qp);
|
|
19028
|
+
var Jp = u(Gp).mount(qp);
|
|
19029
|
+
function Yp(e) {
|
|
18967
19030
|
switch (e) {
|
|
18968
19031
|
case "success": return "tick-circle-bold";
|
|
18969
19032
|
case "warning": return "warning-2-bold";
|
|
@@ -18971,7 +19034,7 @@ function Np(e) {
|
|
|
18971
19034
|
case "info": return "info-circle-2-bold";
|
|
18972
19035
|
}
|
|
18973
19036
|
}
|
|
18974
|
-
function
|
|
19037
|
+
function Xp(e) {
|
|
18975
19038
|
return {
|
|
18976
19039
|
id: Date.now(),
|
|
18977
19040
|
duration: 3e3,
|
|
@@ -18979,21 +19042,21 @@ function Pp(e) {
|
|
|
18979
19042
|
variant: "stroke",
|
|
18980
19043
|
placement: "topRight",
|
|
18981
19044
|
size: "small",
|
|
18982
|
-
icon:
|
|
19045
|
+
icon: Yp(e.type),
|
|
18983
19046
|
...e
|
|
18984
19047
|
};
|
|
18985
19048
|
}
|
|
18986
|
-
function
|
|
18987
|
-
return
|
|
19049
|
+
function Zp(e) {
|
|
19050
|
+
return Jp.addNotification({ ...Xp(e) });
|
|
18988
19051
|
}
|
|
18989
|
-
var
|
|
19052
|
+
var Qp = (e) => (t) => Zp({
|
|
18990
19053
|
...t,
|
|
18991
19054
|
type: e
|
|
18992
|
-
}),
|
|
19055
|
+
}), $p = Qp("dark"), em = Qp("success"), tm = Qp("error"), nm = Qp("info"), rm = Qp("warning"), im = (e) => Jp.removeNotification(e), am = () => Jp.removeAll(), om = [
|
|
18993
19056
|
"small",
|
|
18994
19057
|
"medium",
|
|
18995
19058
|
"large"
|
|
18996
|
-
],
|
|
19059
|
+
], sm = ["value"], cm = /* @__PURE__ */ y({
|
|
18997
19060
|
__name: "singleNumericInput",
|
|
18998
19061
|
props: {
|
|
18999
19062
|
value: { default: "" },
|
|
@@ -19022,9 +19085,9 @@ var Ip = (e) => (t) => Fp({
|
|
|
19022
19085
|
pattern: "[0-9]",
|
|
19023
19086
|
inputmode: "numeric",
|
|
19024
19087
|
onInput: a
|
|
19025
|
-
}), null, 16,
|
|
19088
|
+
}), null, 16, sm));
|
|
19026
19089
|
}
|
|
19027
|
-
}),
|
|
19090
|
+
}), lm = /* @__PURE__ */ y({
|
|
19028
19091
|
name: "MaNumericInput",
|
|
19029
19092
|
__name: "index",
|
|
19030
19093
|
props: {
|
|
@@ -19080,7 +19143,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19080
19143
|
r("update:value", t);
|
|
19081
19144
|
}, { deep: !0 }), K(() => n.value, (e) => {
|
|
19082
19145
|
e !== o.value.join("") && e && e.match(/^\d+$/) && (o.value = e.split("").slice(0, n.length));
|
|
19083
|
-
}), (e, t) => (I(), p("div", D({ class: s.value }, e.$attrs), [(I(!0), p(i, null, z(n.length, (e) => (I(), d(
|
|
19146
|
+
}), (e, t) => (I(), p("div", D({ class: s.value }, e.$attrs), [(I(!0), p(i, null, z(n.length, (e) => (I(), d(cm, {
|
|
19084
19147
|
key: e,
|
|
19085
19148
|
focus: a.value === e - 1,
|
|
19086
19149
|
placeholder: c.value,
|
|
@@ -19100,57 +19163,57 @@ var Ip = (e) => (t) => Fp({
|
|
|
19100
19163
|
"onPaste"
|
|
19101
19164
|
]))), 128))], 16));
|
|
19102
19165
|
}
|
|
19103
|
-
}),
|
|
19166
|
+
}), um = [
|
|
19104
19167
|
"small",
|
|
19105
19168
|
"medium",
|
|
19106
19169
|
"large"
|
|
19107
|
-
],
|
|
19170
|
+
], dm = ["simple", "advanced"], fm = /* @__PURE__ */ n(((e, t) => {
|
|
19108
19171
|
var n = Math.ceil, r = Math.max;
|
|
19109
19172
|
function i(e, t, i, a) {
|
|
19110
19173
|
for (var o = -1, s = r(n((t - e) / (i || 1)), 0), c = Array(s); s--;) c[a ? s : ++o] = e, e += i;
|
|
19111
19174
|
return c;
|
|
19112
19175
|
}
|
|
19113
19176
|
t.exports = i;
|
|
19114
|
-
})),
|
|
19177
|
+
})), pm = /* @__PURE__ */ n(((e, t) => {
|
|
19115
19178
|
var n = Oa(), r = 1 / 0, i = 17976931348623157e292;
|
|
19116
19179
|
function a(e) {
|
|
19117
19180
|
return e ? (e = n(e), e === r || e === -r ? (e < 0 ? -1 : 1) * i : e === e ? e : 0) : e === 0 ? e : 0;
|
|
19118
19181
|
}
|
|
19119
19182
|
t.exports = a;
|
|
19120
|
-
})),
|
|
19121
|
-
var n =
|
|
19183
|
+
})), mm = /* @__PURE__ */ n(((e, t) => {
|
|
19184
|
+
var n = fm(), r = so(), i = pm();
|
|
19122
19185
|
function a(e) {
|
|
19123
19186
|
return function(t, a, o) {
|
|
19124
19187
|
return o && typeof o != "number" && r(t, a, o) && (a = o = void 0), t = i(t), a === void 0 ? (a = t, t = 0) : a = i(a), o = o === void 0 ? t < a ? 1 : -1 : i(o), n(t, a, o, e);
|
|
19125
19188
|
};
|
|
19126
19189
|
}
|
|
19127
19190
|
t.exports = a;
|
|
19128
|
-
})),
|
|
19129
|
-
t.exports =
|
|
19130
|
-
})))(), 1),
|
|
19191
|
+
})), hm = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
19192
|
+
t.exports = mm()();
|
|
19193
|
+
})))(), 1), gm = {
|
|
19131
19194
|
"2xl": 1536,
|
|
19132
19195
|
xl: 1280,
|
|
19133
19196
|
lg: 1024,
|
|
19134
19197
|
md: 768,
|
|
19135
19198
|
sm: 640,
|
|
19136
19199
|
xs: 0
|
|
19137
|
-
},
|
|
19200
|
+
}, _m = {
|
|
19138
19201
|
windowWidth: () => window.innerWidth,
|
|
19139
19202
|
getBreakpointSize() {
|
|
19140
19203
|
let e = this.windowWidth();
|
|
19141
|
-
return Object.keys(
|
|
19204
|
+
return Object.keys(gm).find((t) => e > gm[t]);
|
|
19142
19205
|
}
|
|
19143
|
-
},
|
|
19206
|
+
}, vm = {
|
|
19144
19207
|
key: 0,
|
|
19145
19208
|
class: "ma-pagination",
|
|
19146
19209
|
"aria-label": "Pagination"
|
|
19147
|
-
},
|
|
19210
|
+
}, ym = {
|
|
19148
19211
|
key: 0,
|
|
19149
19212
|
class: "pagination-total-text"
|
|
19150
|
-
},
|
|
19213
|
+
}, bm = ["aria-label"], xm = ["aria-label"], Sm = {
|
|
19151
19214
|
key: 1,
|
|
19152
19215
|
class: "pagination-options"
|
|
19153
|
-
},
|
|
19216
|
+
}, Cm = 4, wm = 200, Tm = /* @__PURE__ */ y({
|
|
19154
19217
|
__name: "index",
|
|
19155
19218
|
props: {
|
|
19156
19219
|
mode: {
|
|
@@ -19199,7 +19262,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19199
19262
|
lg: 5,
|
|
19200
19263
|
default: 7
|
|
19201
19264
|
}),
|
|
19202
|
-
validator: (e) => Object.keys(
|
|
19265
|
+
validator: (e) => Object.keys(gm).filter((t) => !e[t]).length === 0 || !!e.default
|
|
19203
19266
|
},
|
|
19204
19267
|
pageSizeOptions: {
|
|
19205
19268
|
type: Array,
|
|
@@ -19234,7 +19297,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19234
19297
|
"perPageChange"
|
|
19235
19298
|
],
|
|
19236
19299
|
setup(e, { emit: t }) {
|
|
19237
|
-
let n = e, r = t, { hasWindow: a } =
|
|
19300
|
+
let n = e, r = t, { hasWindow: a } = Od(), o = ut(), s = (e, t) => (0, hm.default)(e, t + 1, 1), c = R(_m.getBreakpointSize()), u = l({
|
|
19238
19301
|
get() {
|
|
19239
19302
|
return Number(n.perPage);
|
|
19240
19303
|
},
|
|
@@ -19248,19 +19311,19 @@ var Ip = (e) => (t) => Fp({
|
|
|
19248
19311
|
return n.limits[e] === void 0 ? n.limits.default : n.limits[e];
|
|
19249
19312
|
}), C = l(() => Math.max(Math.ceil((S.value - 1) / 2), 0)), w = l(() => {
|
|
19250
19313
|
let e = n.current - C.value;
|
|
19251
|
-
return e >= C.value && e > 3 && h.value >
|
|
19252
|
-
}), T = l(() => h.value - 2 - n.current > C.value && h.value >
|
|
19314
|
+
return e >= C.value && e > 3 && h.value > Cm;
|
|
19315
|
+
}), T = l(() => h.value - 2 - n.current > C.value && h.value > Cm), E = l(() => {
|
|
19253
19316
|
if (h.value === 1) return [L(1)];
|
|
19254
19317
|
let e = [], t = w.value ? n.current - C.value : 1;
|
|
19255
19318
|
t = Math.min(t, h.value - 1);
|
|
19256
19319
|
let r = T.value ? n.current + C.value : h.value;
|
|
19257
19320
|
return r = Math.max(r, 2), e = s(t, r).map(L), w.value && e.splice(0, 0, L(1), ee("left")), T.value && e.push(ee("right"), L(h.value)), e;
|
|
19258
|
-
}), D = l(() =>
|
|
19321
|
+
}), D = l(() => Zl(o.config.localeMessages.page, {
|
|
19259
19322
|
0: n.current,
|
|
19260
19323
|
1: h.value
|
|
19261
19324
|
})), A = l(() => [.../* @__PURE__ */ new Set([...n.pageSizeOptions, n.perPage])].sort((e, t) => e - t).map((e) => ({
|
|
19262
19325
|
value: e,
|
|
19263
|
-
label:
|
|
19326
|
+
label: Zl(o.config.localeMessages.itemsPerPage, { 0: e })
|
|
19264
19327
|
}))), j = l(() => ({
|
|
19265
19328
|
triggerClass: "w-24",
|
|
19266
19329
|
overlayClass: "w-32",
|
|
@@ -19309,14 +19372,14 @@ var Ip = (e) => (t) => Fp({
|
|
|
19309
19372
|
x.value || re(e, n.current + 1);
|
|
19310
19373
|
}
|
|
19311
19374
|
function oe() {
|
|
19312
|
-
c.value =
|
|
19375
|
+
c.value = _m.getBreakpointSize();
|
|
19313
19376
|
}
|
|
19314
19377
|
return M(() => {
|
|
19315
|
-
a.value && window.addEventListener("resize", (0, uo.default)(oe,
|
|
19378
|
+
a.value && window.addEventListener("resize", (0, uo.default)(oe, wm));
|
|
19316
19379
|
}), F(() => {
|
|
19317
|
-
a.value && window.removeEventListener("resize", (0, uo.default)(oe,
|
|
19318
|
-
}), (t, n) => v.value ? (I(), p("nav",
|
|
19319
|
-
y.value ? (I(), p("li",
|
|
19380
|
+
a.value && window.removeEventListener("resize", (0, uo.default)(oe, wm));
|
|
19381
|
+
}), (t, n) => v.value ? (I(), p("nav", vm, [m("ul", { class: k(N.value) }, [
|
|
19382
|
+
y.value ? (I(), p("li", ym, [B(t.$slots, "totalText", {}, () => [g(H(D.value), 1)])])) : f("", !0),
|
|
19320
19383
|
m("li", {
|
|
19321
19384
|
class: k(["page-item jump-prev", {
|
|
19322
19385
|
disabled: b.value,
|
|
@@ -19330,7 +19393,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19330
19393
|
}, {
|
|
19331
19394
|
default: J(() => [_(W(X), { name: "chevron-left" })]),
|
|
19332
19395
|
_: 1
|
|
19333
|
-
}))], 10,
|
|
19396
|
+
}))], 10, bm),
|
|
19334
19397
|
(I(!0), p(i, null, z(E.value, (t) => (I(), p("li", {
|
|
19335
19398
|
key: t.key,
|
|
19336
19399
|
class: k(["page-item", {
|
|
@@ -19341,7 +19404,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19341
19404
|
}, [(I(), d(V(t.isDisabled || t.isActive ? "span" : "a"), {
|
|
19342
19405
|
rel: "nofollow",
|
|
19343
19406
|
"aria-disabled": t.isDisabled,
|
|
19344
|
-
"aria-label": W(
|
|
19407
|
+
"aria-label": W(Zl)(W(o).config.localeMessages.aria.page, { 0: t.pageNumber }),
|
|
19345
19408
|
class: "page-link",
|
|
19346
19409
|
onClick: (e) => re(e, t.pageNumber)
|
|
19347
19410
|
}, {
|
|
@@ -19365,8 +19428,8 @@ var Ip = (e) => (t) => Fp({
|
|
|
19365
19428
|
}, {
|
|
19366
19429
|
default: J(() => [_(W(X), { name: "chevron-right" })]),
|
|
19367
19430
|
_: 1
|
|
19368
|
-
}))], 10,
|
|
19369
|
-
y.value ? (I(), p("li",
|
|
19431
|
+
}))], 10, xm),
|
|
19432
|
+
y.value ? (I(), p("li", Sm, [_(W(Lc), {
|
|
19370
19433
|
value: u.value,
|
|
19371
19434
|
"onUpdate:value": n[0] ||= (e) => u.value = e,
|
|
19372
19435
|
disabled: e.disabled,
|
|
@@ -19387,12 +19450,12 @@ var Ip = (e) => (t) => Fp({
|
|
|
19387
19450
|
])])) : f("", !0)
|
|
19388
19451
|
], 2)])) : f("", !0);
|
|
19389
19452
|
}
|
|
19390
|
-
}),
|
|
19453
|
+
}), Em = [
|
|
19391
19454
|
"success",
|
|
19392
19455
|
"danger",
|
|
19393
19456
|
"info",
|
|
19394
19457
|
"warning"
|
|
19395
|
-
],
|
|
19458
|
+
], Dm = { class: "ma-popconfirm" }, Om = { class: "ma-popconfirm-header" }, km = { class: "ma-popconfirm-content" }, Am = { class: "ma-popconfirm-title" }, jm = { class: "ma-popconfirm-description" }, Mm = { class: "ma-popconfirm-footer" }, Nm = /* @__PURE__ */ y({
|
|
19396
19459
|
name: "MaPopconfirm2",
|
|
19397
19460
|
__name: "index",
|
|
19398
19461
|
props: {
|
|
@@ -19480,14 +19543,14 @@ var Ip = (e) => (t) => Fp({
|
|
|
19480
19543
|
o.value = e;
|
|
19481
19544
|
}), K(o, (e) => {
|
|
19482
19545
|
r("update:visible", e), r("visibleChange", e);
|
|
19483
|
-
}), (t, r) => (I(), d(W(
|
|
19546
|
+
}), (t, r) => (I(), d(W(Pm), D({
|
|
19484
19547
|
visible: o.value,
|
|
19485
19548
|
"onUpdate:visible": r[0] ||= (e) => o.value = e
|
|
19486
19549
|
}, a.value, { "no-padding": "" }), {
|
|
19487
|
-
overlay: J(() => [m("div",
|
|
19550
|
+
overlay: J(() => [m("div", Dm, [m("div", Om, [e.showIcon ? (I(), p("div", {
|
|
19488
19551
|
key: 0,
|
|
19489
19552
|
class: k(["ma-popconfirm-icon", [`ma-popconfirm-icon--${n.variant}`]])
|
|
19490
|
-
}, [B(t.$slots, "icon", {}, () => [_(W(X), { name: s.value }, null, 8, ["name"])])], 2)) : f("", !0), m("div",
|
|
19553
|
+
}, [B(t.$slots, "icon", {}, () => [_(W(X), { name: s.value }, null, 8, ["name"])])], 2)) : f("", !0), m("div", km, [m("h2", Am, H(n.title), 1), m("div", jm, [B(t.$slots, "description", {}, () => [m("p", null, H(n.description), 1)])])])]), m("div", Mm, [B(t.$slots, "footer", {}, () => [n.showCancelButton ? (I(), d(W(Z), D({ key: 0 }, u.value, {
|
|
19491
19554
|
class: { "ma-full-width-button": n.fullWidthButton },
|
|
19492
19555
|
onClick: b
|
|
19493
19556
|
}), {
|
|
@@ -19504,7 +19567,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19504
19567
|
_: 3
|
|
19505
19568
|
}, 16, ["visible"]));
|
|
19506
19569
|
}
|
|
19507
|
-
}),
|
|
19570
|
+
}), Pm = /* @__PURE__ */ y({
|
|
19508
19571
|
name: "MaPopover2",
|
|
19509
19572
|
__name: "index",
|
|
19510
19573
|
props: {
|
|
@@ -19607,7 +19670,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19607
19670
|
"auto-boundary-max-size"
|
|
19608
19671
|
]));
|
|
19609
19672
|
}
|
|
19610
|
-
}),
|
|
19673
|
+
}), Fm = ["click", "hover"], Im = [
|
|
19611
19674
|
"auto",
|
|
19612
19675
|
"auto-start",
|
|
19613
19676
|
"auto-end",
|
|
@@ -19623,7 +19686,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19623
19686
|
"left",
|
|
19624
19687
|
"left-start",
|
|
19625
19688
|
"left-end"
|
|
19626
|
-
],
|
|
19689
|
+
], Lm = /* @__PURE__ */ y({
|
|
19627
19690
|
__name: "index",
|
|
19628
19691
|
props: {
|
|
19629
19692
|
placement: { default: "bottomLeft" },
|
|
@@ -19684,25 +19747,25 @@ var Ip = (e) => (t) => Fp({
|
|
|
19684
19747
|
"auto-adjust-overflow"
|
|
19685
19748
|
]));
|
|
19686
19749
|
}
|
|
19687
|
-
}),
|
|
19750
|
+
}), Rm = [
|
|
19688
19751
|
"line",
|
|
19689
19752
|
"line-step",
|
|
19690
19753
|
"circle",
|
|
19691
19754
|
"half-circle"
|
|
19692
|
-
],
|
|
19755
|
+
], zm = [
|
|
19693
19756
|
"dark",
|
|
19694
19757
|
"blue",
|
|
19695
19758
|
"green",
|
|
19696
19759
|
"orange",
|
|
19697
19760
|
"yellow",
|
|
19698
19761
|
"red"
|
|
19699
|
-
],
|
|
19762
|
+
], Bm = [
|
|
19700
19763
|
"xs",
|
|
19701
19764
|
"sm",
|
|
19702
19765
|
"md",
|
|
19703
19766
|
"lg",
|
|
19704
19767
|
"xl"
|
|
19705
|
-
],
|
|
19768
|
+
], Vm = ["left", "right"], Hm = { class: "ma-progress-line-step" }, Um = { class: "step-line-wrapper" }, Wm = { key: 1 }, Gm = { key: 2 }, Km = /* @__PURE__ */ y({
|
|
19706
19769
|
__name: "stepLine",
|
|
19707
19770
|
props: {
|
|
19708
19771
|
percent: {},
|
|
@@ -19719,8 +19782,8 @@ var Ip = (e) => (t) => Fp({
|
|
|
19719
19782
|
let n = (e - 1) * 10, r = e * 10, i = 0;
|
|
19720
19783
|
return t.percent >= r ? i = 100 : t.percent > n && t.percent < r && (i = 100 * (t.percent - n) / (r - n)), { width: `${i}%` };
|
|
19721
19784
|
}
|
|
19722
|
-
return (e, r) => (I(), p("div",
|
|
19723
|
-
m("div",
|
|
19785
|
+
return (e, r) => (I(), p("div", Hm, [
|
|
19786
|
+
m("div", Um, [(I(), p(i, null, z(10, (e) => m("div", {
|
|
19724
19787
|
key: e,
|
|
19725
19788
|
class: "single-line"
|
|
19726
19789
|
}, [m("div", {
|
|
@@ -19730,14 +19793,14 @@ var Ip = (e) => (t) => Fp({
|
|
|
19730
19793
|
t?.icon ? (I(), d(X, {
|
|
19731
19794
|
key: 0,
|
|
19732
19795
|
name: t.icon
|
|
19733
|
-
}, null, 8, ["name"])) : t?.showPercent ? (I(), p("label",
|
|
19734
|
-
e.$slots.customLabel ? (I(), p("label",
|
|
19796
|
+
}, null, 8, ["name"])) : t?.showPercent ? (I(), p("label", Wm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19797
|
+
e.$slots.customLabel ? (I(), p("label", Gm, [B(e.$slots, "customLabel")])) : f("", !0)
|
|
19735
19798
|
]));
|
|
19736
19799
|
}
|
|
19737
|
-
}),
|
|
19800
|
+
}), qm = { class: "line-wrapper" }, Jm = { key: 1 }, Ym = { key: 2 }, Xm = {
|
|
19738
19801
|
key: 1,
|
|
19739
19802
|
class: "ma-progress-line"
|
|
19740
|
-
},
|
|
19803
|
+
}, Zm = { class: "line-wrapper" }, Qm = { key: 1 }, $m = { key: 2 }, eh = /* @__PURE__ */ y({
|
|
19741
19804
|
__name: "line",
|
|
19742
19805
|
props: {
|
|
19743
19806
|
percent: {},
|
|
@@ -19761,38 +19824,38 @@ var Ip = (e) => (t) => Fp({
|
|
|
19761
19824
|
}));
|
|
19762
19825
|
return (i, a) => t.showTooltip ? (I(), d(Xt, D({ key: 0 }, r.value, { class: "ma-progress-line" }), {
|
|
19763
19826
|
default: J(() => [
|
|
19764
|
-
m("div",
|
|
19827
|
+
m("div", qm, [m("div", {
|
|
19765
19828
|
class: "line",
|
|
19766
19829
|
style: j(n.value)
|
|
19767
19830
|
}, null, 4)]),
|
|
19768
19831
|
t.icon ? (I(), d(X, {
|
|
19769
19832
|
key: 0,
|
|
19770
19833
|
name: t.icon
|
|
19771
|
-
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label",
|
|
19772
|
-
i.$slots.customLabel ? (I(), p("label",
|
|
19834
|
+
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label", Jm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19835
|
+
i.$slots.customLabel ? (I(), p("label", Ym, [B(i.$slots, "customLabel")])) : f("", !0)
|
|
19773
19836
|
]),
|
|
19774
19837
|
_: 3
|
|
19775
|
-
}, 16)) : (I(), p("div",
|
|
19776
|
-
m("div",
|
|
19838
|
+
}, 16)) : (I(), p("div", Xm, [
|
|
19839
|
+
m("div", Zm, [m("div", {
|
|
19777
19840
|
class: "line",
|
|
19778
19841
|
style: j(n.value)
|
|
19779
19842
|
}, null, 4)]),
|
|
19780
19843
|
t.icon ? (I(), d(X, {
|
|
19781
19844
|
key: 0,
|
|
19782
19845
|
name: t.icon
|
|
19783
|
-
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label",
|
|
19784
|
-
i.$slots.customLabel ? (I(), p("label",
|
|
19846
|
+
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label", Qm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19847
|
+
i.$slots.customLabel ? (I(), p("label", $m, [B(i.$slots, "customLabel")])) : f("", !0)
|
|
19785
19848
|
]));
|
|
19786
19849
|
}
|
|
19787
|
-
}),
|
|
19850
|
+
}), th = { class: "ma-progress-circle ma-progress-half-circle" }, nh = ["viewBox"], rh = ["d", "stroke-width"], ih = [
|
|
19788
19851
|
"d",
|
|
19789
19852
|
"stroke-width",
|
|
19790
19853
|
"stroke-dasharray",
|
|
19791
19854
|
"stroke-dashoffset"
|
|
19792
|
-
],
|
|
19855
|
+
], ah = { key: 1 }, oh = {
|
|
19793
19856
|
key: 0,
|
|
19794
19857
|
class: "label"
|
|
19795
|
-
},
|
|
19858
|
+
}, sh = { class: "percent" }, ch = /* @__PURE__ */ y({
|
|
19796
19859
|
__name: "halfCircle",
|
|
19797
19860
|
props: {
|
|
19798
19861
|
percent: {},
|
|
@@ -19836,7 +19899,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19836
19899
|
strokeWidth: 6
|
|
19837
19900
|
}
|
|
19838
19901
|
}, r = l(() => n[t.size]), i = l(() => r.value.strokeDashArray * (100 - t.percent) / 100);
|
|
19839
|
-
return (e, n) => (I(), p("div",
|
|
19902
|
+
return (e, n) => (I(), p("div", th, [(I(), p("svg", {
|
|
19840
19903
|
class: "circle",
|
|
19841
19904
|
viewBox: r.value.viewBox,
|
|
19842
19905
|
fill: "none",
|
|
@@ -19847,7 +19910,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19847
19910
|
"stroke-linecap": "round",
|
|
19848
19911
|
"stroke-linejoin": "round",
|
|
19849
19912
|
class: "wrapper"
|
|
19850
|
-
}, null, 8,
|
|
19913
|
+
}, null, 8, rh), t.percent > 0 ? (I(), p("path", {
|
|
19851
19914
|
key: 0,
|
|
19852
19915
|
d: r.value.path,
|
|
19853
19916
|
"stroke-width": r.value.strokeWidth,
|
|
@@ -19856,20 +19919,20 @@ var Ip = (e) => (t) => Fp({
|
|
|
19856
19919
|
"stroke-dasharray": r.value.strokeDashArray,
|
|
19857
19920
|
"stroke-dashoffset": i.value,
|
|
19858
19921
|
class: "percent"
|
|
19859
|
-
}, null, 8,
|
|
19922
|
+
}, null, 8, ih)) : f("", !0)], 8, nh)), t?.icon ? (I(), d(X, {
|
|
19860
19923
|
key: 0,
|
|
19861
19924
|
name: t.icon
|
|
19862
|
-
}, null, 8, ["name"])) : (I(), p("label",
|
|
19925
|
+
}, null, 8, ["name"])) : (I(), p("label", ah, [t?.label || e.$slots.customLabel ? (I(), p("span", oh, [g(H(t?.label) + " ", 1), B(e.$slots, "customLabel")])) : f("", !0), m("span", sh, H(t?.percent) + "% ", 1)]))]));
|
|
19863
19926
|
}
|
|
19864
|
-
}),
|
|
19927
|
+
}), lh = { class: "ma-progress-circle" }, uh = ["viewBox"], dh = ["d", "stroke-width"], fh = [
|
|
19865
19928
|
"d",
|
|
19866
19929
|
"stroke-dasharray",
|
|
19867
19930
|
"stroke-dashoffset",
|
|
19868
19931
|
"stroke-width"
|
|
19869
|
-
],
|
|
19932
|
+
], ph = { key: 1 }, mh = {
|
|
19870
19933
|
key: 0,
|
|
19871
19934
|
class: "label"
|
|
19872
|
-
},
|
|
19935
|
+
}, hh = { class: "percent" }, gh = /* @__PURE__ */ y({
|
|
19873
19936
|
__name: "circle",
|
|
19874
19937
|
props: {
|
|
19875
19938
|
percent: {},
|
|
@@ -19913,7 +19976,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19913
19976
|
strokeWidth: 6
|
|
19914
19977
|
}
|
|
19915
19978
|
}, r = l(() => n[t.size]), i = l(() => r.value.strokeDashArray * (100 - t.percent) / 100);
|
|
19916
|
-
return (e, n) => (I(), p("div",
|
|
19979
|
+
return (e, n) => (I(), p("div", lh, [(I(), p("svg", {
|
|
19917
19980
|
class: "circle",
|
|
19918
19981
|
viewBox: r.value.viewBox,
|
|
19919
19982
|
fill: "none",
|
|
@@ -19924,7 +19987,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19924
19987
|
"stroke-linejoin": "round",
|
|
19925
19988
|
"stroke-width": r.value.strokeWidth,
|
|
19926
19989
|
class: "wrapper"
|
|
19927
|
-
}, null, 8,
|
|
19990
|
+
}, null, 8, dh), t.percent > 0 ? (I(), p("path", {
|
|
19928
19991
|
key: 0,
|
|
19929
19992
|
d: r.value.path,
|
|
19930
19993
|
"stroke-linecap": "round",
|
|
@@ -19933,12 +19996,12 @@ var Ip = (e) => (t) => Fp({
|
|
|
19933
19996
|
"stroke-dashoffset": i.value,
|
|
19934
19997
|
"stroke-width": r.value.strokeWidth,
|
|
19935
19998
|
class: "percent"
|
|
19936
|
-
}, null, 8,
|
|
19999
|
+
}, null, 8, fh)) : f("", !0)], 8, uh)), t?.icon ? (I(), d(X, {
|
|
19937
20000
|
key: 0,
|
|
19938
20001
|
name: t.icon
|
|
19939
|
-
}, null, 8, ["name"])) : (I(), p("label",
|
|
20002
|
+
}, null, 8, ["name"])) : (I(), p("label", ph, [t?.label || e.$slots.customLabel ? (I(), p("span", mh, [g(H(t.label) + " ", 1), B(e.$slots, "customLabel")])) : f("", !0), m("span", hh, H(t?.percent) + "% ", 1)]))]));
|
|
19940
20003
|
}
|
|
19941
|
-
}),
|
|
20004
|
+
}), _h = /* @__PURE__ */ y({
|
|
19942
20005
|
__name: "index",
|
|
19943
20006
|
props: {
|
|
19944
20007
|
type: { default: "line" },
|
|
@@ -19966,10 +20029,10 @@ var Ip = (e) => (t) => Fp({
|
|
|
19966
20029
|
{ "xs-half-circle-label": t.type === "half-circle" && t?.label && t.circleSize === "xs" },
|
|
19967
20030
|
{ "percentage-left": t?.percentAlignment === "left" }
|
|
19968
20031
|
]), r = l(() => ({
|
|
19969
|
-
circle:
|
|
19970
|
-
line:
|
|
19971
|
-
"half-circle":
|
|
19972
|
-
"line-step":
|
|
20032
|
+
circle: gh,
|
|
20033
|
+
line: eh,
|
|
20034
|
+
"half-circle": ch,
|
|
20035
|
+
"line-step": Km
|
|
19973
20036
|
})[t.type]), i = l(() => [`
|
|
19974
20037
|
color-${t.color}
|
|
19975
20038
|
size-${t.circleSize}
|
|
@@ -19997,7 +20060,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
19997
20060
|
"tooltip-2-props"
|
|
19998
20061
|
]))], 2));
|
|
19999
20062
|
}
|
|
20000
|
-
}),
|
|
20063
|
+
}), vh = ["button", "check"], yh = /* @__PURE__ */ y({
|
|
20001
20064
|
__name: "group",
|
|
20002
20065
|
props: {
|
|
20003
20066
|
prefixCls: {},
|
|
@@ -20022,7 +20085,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20022
20085
|
fn: J(() => [B(e.$slots, n)])
|
|
20023
20086
|
}))]), 1040));
|
|
20024
20087
|
}
|
|
20025
|
-
}),
|
|
20088
|
+
}), bh = { class: "ma-radio__suffix" }, xh = /* @__PURE__ */ y({
|
|
20026
20089
|
__name: "index",
|
|
20027
20090
|
props: {
|
|
20028
20091
|
text: {},
|
|
@@ -20067,19 +20130,19 @@ var Ip = (e) => (t) => Fp({
|
|
|
20067
20130
|
}, { "onUpdate:checked": i }), {
|
|
20068
20131
|
default: J(() => [B(e.$slots, "text", {}, () => [g(H(n.text), 1)])]),
|
|
20069
20132
|
hint: J(() => [B(e.$slots, "hint", {}, () => [g(H(n.hint), 1)])]),
|
|
20070
|
-
suffix: J(() => [m("div",
|
|
20133
|
+
suffix: J(() => [m("div", bh, [B(e.$slots, "suffix")])]),
|
|
20071
20134
|
_: 3
|
|
20072
20135
|
}, 16, ["hint"])], 6));
|
|
20073
20136
|
}
|
|
20074
|
-
}),
|
|
20137
|
+
}), Sh = [
|
|
20075
20138
|
"small",
|
|
20076
20139
|
"medium",
|
|
20077
20140
|
"large"
|
|
20078
|
-
],
|
|
20141
|
+
], Ch = [
|
|
20079
20142
|
"orange",
|
|
20080
20143
|
"green",
|
|
20081
20144
|
"red"
|
|
20082
|
-
],
|
|
20145
|
+
], wh = /* @__PURE__ */ y({
|
|
20083
20146
|
__name: "star",
|
|
20084
20147
|
props: {
|
|
20085
20148
|
value: {},
|
|
@@ -20101,7 +20164,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20101
20164
|
_: 1
|
|
20102
20165
|
}));
|
|
20103
20166
|
}
|
|
20104
|
-
}),
|
|
20167
|
+
}), Th = ["tabindex"], Eh = ["onMousemove", "onMouseover"], Dh = /* @__PURE__ */ y({
|
|
20105
20168
|
__name: "index",
|
|
20106
20169
|
props: {
|
|
20107
20170
|
value: {},
|
|
@@ -20158,7 +20221,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20158
20221
|
onMousemove: (t) => h(t, e),
|
|
20159
20222
|
onMouseover: (t) => d(e),
|
|
20160
20223
|
onClick: t[0] ||= (e) => u()
|
|
20161
|
-
}, [_(
|
|
20224
|
+
}, [_(wh, {
|
|
20162
20225
|
"star-rate": e,
|
|
20163
20226
|
value: a.value || (n.value ?? 0),
|
|
20164
20227
|
"icon-size": s.value
|
|
@@ -20166,15 +20229,15 @@ var Ip = (e) => (t) => Fp({
|
|
|
20166
20229
|
"star-rate",
|
|
20167
20230
|
"value",
|
|
20168
20231
|
"icon-size"
|
|
20169
|
-
])], 40,
|
|
20232
|
+
])], 40, Eh)), 64))], 42, Th));
|
|
20170
20233
|
}
|
|
20171
|
-
}),
|
|
20234
|
+
}), Oh = { class: "ak-result" }, kh = { class: "ak-result-wrapper" }, Ah = {
|
|
20172
20235
|
key: 0,
|
|
20173
20236
|
class: "ak-result-title"
|
|
20174
|
-
},
|
|
20237
|
+
}, jh = {
|
|
20175
20238
|
key: 1,
|
|
20176
20239
|
class: "ak-result-subtitle"
|
|
20177
|
-
},
|
|
20240
|
+
}, Mh = { class: "ak-result-extra" }, Nh = /*#__PURE__*/ Sl(/* @__PURE__ */ y({
|
|
20178
20241
|
__name: "index",
|
|
20179
20242
|
props: {
|
|
20180
20243
|
status: { default: "success" },
|
|
@@ -20198,28 +20261,28 @@ var Ip = (e) => (t) => Fp({
|
|
|
20198
20261
|
function i() {
|
|
20199
20262
|
r.value = !1;
|
|
20200
20263
|
}
|
|
20201
|
-
return (e, r) => (I(), p("div",
|
|
20264
|
+
return (e, r) => (I(), p("div", Oh, [m("div", kh, [
|
|
20202
20265
|
m("div", { class: k(`ak-result-${t.status}`) }, [m("div", null, [_(X, {
|
|
20203
20266
|
size: "lg",
|
|
20204
20267
|
name: n.value
|
|
20205
20268
|
}, null, 8, ["name"])])], 2),
|
|
20206
|
-
e.$slots.titleSlot ? f("", !0) : (I(), p("div",
|
|
20269
|
+
e.$slots.titleSlot ? f("", !0) : (I(), p("div", Ah, H(t.title), 1)),
|
|
20207
20270
|
B(e.$slots, "titleSlot", { class: "ak-result-title" }, void 0, !0),
|
|
20208
|
-
e.$slots.subTitleSlot ? f("", !0) : (I(), p("div",
|
|
20271
|
+
e.$slots.subTitleSlot ? f("", !0) : (I(), p("div", jh, H(t.subTitle), 1)),
|
|
20209
20272
|
B(e.$slots, "subTiteSlot", { class: "ak-result-subtitle" }, void 0, !0),
|
|
20210
20273
|
t.closable ? (I(), p("button", {
|
|
20211
20274
|
key: 2,
|
|
20212
20275
|
class: "close-button",
|
|
20213
20276
|
onClick: i
|
|
20214
20277
|
}, [_(X, { name: "close" })])) : f("", !0),
|
|
20215
|
-
m("div",
|
|
20278
|
+
m("div", Mh, [B(e.$slots, "default", {}, void 0, !0)])
|
|
20216
20279
|
])]));
|
|
20217
20280
|
}
|
|
20218
|
-
}), [["__scopeId", "data-v-2e49f22d"]]),
|
|
20281
|
+
}), [["__scopeId", "data-v-2e49f22d"]]), Ph = [
|
|
20219
20282
|
"aria-disabled",
|
|
20220
20283
|
"title",
|
|
20221
20284
|
"data-option-value"
|
|
20222
|
-
],
|
|
20285
|
+
], Fh = { class: "ma-select-option-label" }, Ih = /* @__PURE__ */ y({
|
|
20223
20286
|
__name: "selectOption",
|
|
20224
20287
|
props: {
|
|
20225
20288
|
checkboxPosition: { default: "left" },
|
|
@@ -20256,7 +20319,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20256
20319
|
onPointerdown: t[0] ||= _e(() => {}, ["prevent"]),
|
|
20257
20320
|
onClick: y
|
|
20258
20321
|
}, [
|
|
20259
|
-
W(u) ? (I(), p(i, { key: 0 }, [n.multiSelectionInput == "toggle" ? (I(), d(W(
|
|
20322
|
+
W(u) ? (I(), p(i, { key: 0 }, [n.multiSelectionInput == "toggle" ? (I(), d(W(Bd), {
|
|
20260
20323
|
key: 0,
|
|
20261
20324
|
checked: h.value,
|
|
20262
20325
|
disabled: n?.disabled,
|
|
@@ -20266,22 +20329,22 @@ var Ip = (e) => (t) => Fp({
|
|
|
20266
20329
|
checked: h.value,
|
|
20267
20330
|
disabled: n?.disabled
|
|
20268
20331
|
}, null, 8, ["checked", "disabled"]))], 64)) : f("", !0),
|
|
20269
|
-
m("span",
|
|
20332
|
+
m("span", Fh, [B(e.$slots, "default", {}, () => [g(H(n.label), 1)])]),
|
|
20270
20333
|
v.value ? (I(), d(W(X), {
|
|
20271
20334
|
key: 1,
|
|
20272
20335
|
name: "check-line",
|
|
20273
20336
|
class: "ma-selected-icon"
|
|
20274
20337
|
})) : f("", !0)
|
|
20275
|
-
], 42,
|
|
20338
|
+
], 42, Ph));
|
|
20276
20339
|
}
|
|
20277
|
-
}),
|
|
20340
|
+
}), Lh = { class: "ma-select-option-group" }, Rh = { class: "ma-select-option-group__label" }, zh = { class: "ma-select-option-group__options" }, Bh = /* @__PURE__ */ y({
|
|
20278
20341
|
__name: "selectOptionGroup",
|
|
20279
20342
|
props: { label: {} },
|
|
20280
20343
|
setup(e) {
|
|
20281
20344
|
let t = e;
|
|
20282
|
-
return (e, n) => (I(), p("div",
|
|
20345
|
+
return (e, n) => (I(), p("div", Lh, [m("span", Rh, [B(e.$slots, "label", {}, () => [g(H(t?.label), 1)])]), m("div", zh, [B(e.$slots, "default")])]));
|
|
20283
20346
|
}
|
|
20284
|
-
}),
|
|
20347
|
+
}), Vh = /* @__PURE__ */ y({
|
|
20285
20348
|
__name: "option",
|
|
20286
20349
|
setup(e) {
|
|
20287
20350
|
return (e, t) => (I(), d(W(We), D(e.$attrs, {
|
|
@@ -20292,7 +20355,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20292
20355
|
fn: J(() => [B(e.$slots, n)])
|
|
20293
20356
|
}))]), 1040));
|
|
20294
20357
|
}
|
|
20295
|
-
}),
|
|
20358
|
+
}), Hh = ["small", "medium"], Uh = { key: 1 }, Wh = /* @__PURE__ */ y({
|
|
20296
20359
|
name: "MaSideMenuButton2",
|
|
20297
20360
|
__name: "index",
|
|
20298
20361
|
props: {
|
|
@@ -20328,7 +20391,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20328
20391
|
}, null, 8, ["size", "name"]), [[me, c.value]]), he(_(X, {
|
|
20329
20392
|
size: s.value,
|
|
20330
20393
|
name: t.icon
|
|
20331
|
-
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span",
|
|
20394
|
+
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span", Uh, [g(H(t.text) + " ", 1), B(e.$slots, "default")])) : f("", !0)]),
|
|
20332
20395
|
_: 3
|
|
20333
20396
|
}, 16, [
|
|
20334
20397
|
"target",
|
|
@@ -20336,7 +20399,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20336
20399
|
"href"
|
|
20337
20400
|
]));
|
|
20338
20401
|
}
|
|
20339
|
-
}),
|
|
20402
|
+
}), Gh = /* @__PURE__ */ y({
|
|
20340
20403
|
name: "MaSideMenuItem2",
|
|
20341
20404
|
__name: "index",
|
|
20342
20405
|
props: {
|
|
@@ -20372,7 +20435,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20372
20435
|
"data-badge"
|
|
20373
20436
|
]));
|
|
20374
20437
|
}
|
|
20375
|
-
}),
|
|
20438
|
+
}), Kh = /* @__PURE__ */ y({
|
|
20376
20439
|
name: "MaSideMenuAddNewAppButton",
|
|
20377
20440
|
__name: "index",
|
|
20378
20441
|
props: {
|
|
@@ -20400,7 +20463,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20400
20463
|
"disabled"
|
|
20401
20464
|
]));
|
|
20402
20465
|
}
|
|
20403
|
-
}),
|
|
20466
|
+
}), qh = ["src", "alt"], Jh = /* @__PURE__ */ y({
|
|
20404
20467
|
name: "MaSideMenuAppButton",
|
|
20405
20468
|
inheritAttrs: !1,
|
|
20406
20469
|
__name: "index",
|
|
@@ -20427,11 +20490,11 @@ var Ip = (e) => (t) => Fp({
|
|
|
20427
20490
|
}, t.$attrs), [m("img", {
|
|
20428
20491
|
src: e.appImage,
|
|
20429
20492
|
alt: e.appName
|
|
20430
|
-
}, null, 8,
|
|
20493
|
+
}, null, 8, qh), B(t.$slots, "default")], 16)]),
|
|
20431
20494
|
_: 3
|
|
20432
20495
|
}, 8, ["title"]));
|
|
20433
20496
|
}
|
|
20434
|
-
}),
|
|
20497
|
+
}), Yh = [
|
|
20435
20498
|
"dark",
|
|
20436
20499
|
"blue",
|
|
20437
20500
|
"jordy-blue",
|
|
@@ -20440,10 +20503,10 @@ var Ip = (e) => (t) => Fp({
|
|
|
20440
20503
|
"red",
|
|
20441
20504
|
"purple",
|
|
20442
20505
|
"purple-light"
|
|
20443
|
-
],
|
|
20506
|
+
], Xh = {
|
|
20444
20507
|
key: 0,
|
|
20445
20508
|
class: "ma-side-menu-item-icon"
|
|
20446
|
-
},
|
|
20509
|
+
}, Zh = /* @__PURE__ */ y({
|
|
20447
20510
|
name: "MaSideMenuItem",
|
|
20448
20511
|
__name: "index",
|
|
20449
20512
|
props: {
|
|
@@ -20477,7 +20540,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20477
20540
|
href: t?.href
|
|
20478
20541
|
}, a.$attrs), {
|
|
20479
20542
|
default: J(() => [m("span", null, [
|
|
20480
|
-
t?.icon ? (I(), p("div",
|
|
20543
|
+
t?.icon ? (I(), p("div", Xh, [he(_(X, {
|
|
20481
20544
|
size: "xs",
|
|
20482
20545
|
name: i.value
|
|
20483
20546
|
}, null, 8, ["name"]), [[me, t.active]]), he(_(X, {
|
|
@@ -20502,7 +20565,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20502
20565
|
"href"
|
|
20503
20566
|
]));
|
|
20504
20567
|
}
|
|
20505
|
-
}),
|
|
20568
|
+
}), Qh = /* @__PURE__ */ y({
|
|
20506
20569
|
name: "MaSideMenuButton",
|
|
20507
20570
|
__name: "index",
|
|
20508
20571
|
props: {
|
|
@@ -20541,7 +20604,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20541
20604
|
"href"
|
|
20542
20605
|
]));
|
|
20543
20606
|
}
|
|
20544
|
-
}),
|
|
20607
|
+
}), $h = /* @__PURE__ */ y({
|
|
20545
20608
|
name: "MaSideMenuIconButton",
|
|
20546
20609
|
inheritAttrs: !1,
|
|
20547
20610
|
__name: "index",
|
|
@@ -20621,7 +20684,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20621
20684
|
"target"
|
|
20622
20685
|
]));
|
|
20623
20686
|
}
|
|
20624
|
-
}),
|
|
20687
|
+
}), eg = /* @__PURE__ */ y({
|
|
20625
20688
|
name: "MaSideMenuRoundIconButton",
|
|
20626
20689
|
inheritAttrs: !1,
|
|
20627
20690
|
__name: "index",
|
|
@@ -20636,7 +20699,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20636
20699
|
name: t.icon
|
|
20637
20700
|
}, null, 8, ["name"]), B(e.$slots, "default")], 16));
|
|
20638
20701
|
}
|
|
20639
|
-
}),
|
|
20702
|
+
}), tg = /* @__PURE__ */ y({
|
|
20640
20703
|
name: "MaSlider",
|
|
20641
20704
|
__name: "index",
|
|
20642
20705
|
props: {
|
|
@@ -20723,16 +20786,16 @@ var Ip = (e) => (t) => Fp({
|
|
|
20723
20786
|
"tooltip-placement"
|
|
20724
20787
|
]));
|
|
20725
20788
|
}
|
|
20726
|
-
}),
|
|
20789
|
+
}), ng = ["data-size"], rg = {
|
|
20727
20790
|
key: 0,
|
|
20728
20791
|
class: "ma-spin__overlay"
|
|
20729
|
-
},
|
|
20792
|
+
}, ig = {
|
|
20730
20793
|
key: 0,
|
|
20731
20794
|
class: "custom-indicator"
|
|
20732
|
-
},
|
|
20795
|
+
}, ag = {
|
|
20733
20796
|
key: 2,
|
|
20734
20797
|
class: "tip"
|
|
20735
|
-
},
|
|
20798
|
+
}, og = /* @__PURE__ */ y({
|
|
20736
20799
|
name: "MaSpin",
|
|
20737
20800
|
__name: "index",
|
|
20738
20801
|
props: {
|
|
@@ -20750,46 +20813,46 @@ var Ip = (e) => (t) => Fp({
|
|
|
20750
20813
|
return (e, n) => (I(), p("div", D({
|
|
20751
20814
|
class: r.value,
|
|
20752
20815
|
"data-size": t.size
|
|
20753
|
-
}, e.$attrs), [t.spinning ? (I(), p("div",
|
|
20754
|
-
e.$slots.indicator ? (I(), p("div",
|
|
20816
|
+
}, e.$attrs), [t.spinning ? (I(), p("div", rg, [
|
|
20817
|
+
e.$slots.indicator ? (I(), p("div", ig, [B(e.$slots, "indicator")])) : f("", !0),
|
|
20755
20818
|
t.spinning && !e.$slots.indicator ? (I(), d(X, {
|
|
20756
20819
|
key: 1,
|
|
20757
20820
|
class: k(i.value),
|
|
20758
20821
|
name: a.value
|
|
20759
20822
|
}, null, 8, ["class", "name"])) : f("", !0),
|
|
20760
|
-
e.$slots?.tip || t?.tip ? (I(), p("div",
|
|
20761
|
-
])) : f("", !0), B(e.$slots, "default")], 16,
|
|
20823
|
+
e.$slots?.tip || t?.tip ? (I(), p("div", ag, [g(H(t?.tip) + " ", 1), B(e.$slots, "tip")])) : f("", !0)
|
|
20824
|
+
])) : f("", !0), B(e.$slots, "default")], 16, ng));
|
|
20762
20825
|
}
|
|
20763
|
-
}),
|
|
20826
|
+
}), sg = [
|
|
20764
20827
|
"round",
|
|
20765
20828
|
"dots",
|
|
20766
20829
|
"three-circles",
|
|
20767
20830
|
"three-dots"
|
|
20768
|
-
],
|
|
20831
|
+
], cg = [
|
|
20769
20832
|
"dark",
|
|
20770
20833
|
"jordy",
|
|
20771
20834
|
"blue",
|
|
20772
20835
|
"orange",
|
|
20773
20836
|
"grey"
|
|
20774
|
-
],
|
|
20837
|
+
], lg = [
|
|
20775
20838
|
"xs",
|
|
20776
20839
|
"sm",
|
|
20777
20840
|
"md",
|
|
20778
20841
|
"lg",
|
|
20779
20842
|
"xl"
|
|
20780
|
-
],
|
|
20843
|
+
], ug = { class: "ak-step__dot" }, dg = {
|
|
20781
20844
|
key: 1,
|
|
20782
20845
|
class: "step-number"
|
|
20783
|
-
},
|
|
20846
|
+
}, fg = {
|
|
20784
20847
|
key: 0,
|
|
20785
20848
|
class: "title-wrapper"
|
|
20786
|
-
},
|
|
20849
|
+
}, pg = { class: "ak-step__title" }, mg = { class: "ak-step__description" }, hg = { class: "ak-step__description-list" }, gg = {
|
|
20787
20850
|
key: 0,
|
|
20788
20851
|
class: "title-wrapper"
|
|
20789
|
-
},
|
|
20852
|
+
}, _g = { class: "ak-step__title" }, vg = {
|
|
20790
20853
|
key: 0,
|
|
20791
20854
|
class: "ak-step__description"
|
|
20792
|
-
},
|
|
20855
|
+
}, yg = /* @__PURE__ */ y({
|
|
20793
20856
|
__name: "index",
|
|
20794
20857
|
props: {
|
|
20795
20858
|
title: {},
|
|
@@ -20814,16 +20877,16 @@ var Ip = (e) => (t) => Fp({
|
|
|
20814
20877
|
ref: a,
|
|
20815
20878
|
class: k(h.value),
|
|
20816
20879
|
onClick: _
|
|
20817
|
-
}, [m("div",
|
|
20880
|
+
}, [m("div", ug, [c.value ? (I(), d(W(X), {
|
|
20818
20881
|
key: 0,
|
|
20819
20882
|
name: "tick"
|
|
20820
|
-
})) : (I(), p("span",
|
|
20821
|
-
m("h3",
|
|
20883
|
+
})) : (I(), p("span", dg, H(o.value + 1), 1))]), u.value && (t?.title || e.$slots.title) ? (I(), p("div", fg, [
|
|
20884
|
+
m("h3", pg, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]),
|
|
20822
20885
|
n[0] ||= m("div", { class: "ak-step__separator" }, null, -1),
|
|
20823
|
-
m("div",
|
|
20824
|
-
])) : (I(), p(i, { key: 1 }, [t?.title || e.$slots.title ? (I(), p("div",
|
|
20886
|
+
m("div", mg, [B(e.$slots, "description"), m("ul", hg, [(I(!0), p(i, null, z(t.description, (e, t) => (I(), p("li", { key: t }, H(e), 1))), 128))])])
|
|
20887
|
+
])) : (I(), p(i, { key: 1 }, [t?.title || e.$slots.title ? (I(), p("div", gg, [m("h3", _g, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]), t?.description || e.$slots.description ? (I(), p("div", vg, [B(e.$slots, "description"), g(" " + H(t?.description), 1)])) : f("", !0)])) : f("", !0), n[1] ||= m("div", { class: "ak-step__separator" }, null, -1)], 64))], 2));
|
|
20825
20888
|
}
|
|
20826
|
-
}),
|
|
20889
|
+
}), bg = ["data-readonly"], xg = /* @__PURE__ */ y({
|
|
20827
20890
|
name: "MaSteps",
|
|
20828
20891
|
__name: "index",
|
|
20829
20892
|
props: {
|
|
@@ -20863,21 +20926,21 @@ var Ip = (e) => (t) => Fp({
|
|
|
20863
20926
|
ref: a,
|
|
20864
20927
|
class: k(o.value),
|
|
20865
20928
|
"data-readonly": e.readonly
|
|
20866
|
-
}, [B(t.$slots, "default")], 10,
|
|
20929
|
+
}, [B(t.$slots, "default")], 10, bg));
|
|
20867
20930
|
}
|
|
20868
|
-
}),
|
|
20931
|
+
}), Sg = { class: "ak-step-item__dot" }, Cg = {
|
|
20869
20932
|
key: 0,
|
|
20870
20933
|
class: "step-number"
|
|
20871
|
-
},
|
|
20934
|
+
}, wg = {
|
|
20872
20935
|
key: 1,
|
|
20873
20936
|
class: "step-number"
|
|
20874
|
-
},
|
|
20937
|
+
}, Tg = { class: "title-wrapper" }, Eg = {
|
|
20875
20938
|
key: 0,
|
|
20876
20939
|
class: "ak-step-item__title"
|
|
20877
|
-
},
|
|
20940
|
+
}, Dg = {
|
|
20878
20941
|
key: 1,
|
|
20879
20942
|
class: "ak-step-item__description"
|
|
20880
|
-
},
|
|
20943
|
+
}, Og = /* @__PURE__ */ y({
|
|
20881
20944
|
__name: "index",
|
|
20882
20945
|
props: {
|
|
20883
20946
|
title: {},
|
|
@@ -20923,17 +20986,17 @@ var Ip = (e) => (t) => Fp({
|
|
|
20923
20986
|
ref: a,
|
|
20924
20987
|
class: k(_.value),
|
|
20925
20988
|
onClick: v
|
|
20926
|
-
}, [m("div",
|
|
20989
|
+
}, [m("div", Sg, [h.value ? (I(), p("span", Cg, H(u.value + 1), 1)) : (I(), p("span", wg, H(u.value + 1), 1))]), m("div", Tg, [t?.title || e.$slots.title ? (I(), p("h3", Eg, [
|
|
20927
20990
|
B(e.$slots, "title"),
|
|
20928
20991
|
g(" " + H(t?.title) + " ", 1),
|
|
20929
20992
|
B(e.$slots, "titleSlot")
|
|
20930
|
-
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p",
|
|
20993
|
+
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p", Dg, [
|
|
20931
20994
|
B(e.$slots, "description"),
|
|
20932
20995
|
g(" " + H(t?.description) + " ", 1),
|
|
20933
20996
|
B(e.$slots, "descriptionSlot")
|
|
20934
20997
|
])) : f("", !0)])], 2), B(e.$slots, "default")], 64));
|
|
20935
20998
|
}
|
|
20936
|
-
}),
|
|
20999
|
+
}), kg = /* @__PURE__ */ y({
|
|
20937
21000
|
name: "MaStepItems",
|
|
20938
21001
|
__name: "index",
|
|
20939
21002
|
props: { current: { default: 0 } },
|
|
@@ -20948,7 +21011,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
20948
21011
|
}
|
|
20949
21012
|
}), c = R((e) => {
|
|
20950
21013
|
s.value = e;
|
|
20951
|
-
}), u = l(() => i.default().filter((e) => e.type ===
|
|
21014
|
+
}), u = l(() => i.default().filter((e) => e.type === Og).length);
|
|
20952
21015
|
function d() {
|
|
20953
21016
|
a.value.querySelectorAll(".ak-step-item").forEach((e, t) => {
|
|
20954
21017
|
e.setAttribute("data-index", t.toString());
|
|
@@ -20964,10 +21027,10 @@ var Ip = (e) => (t) => Fp({
|
|
|
20964
21027
|
class: k(o.value)
|
|
20965
21028
|
}, [B(e.$slots, "default")], 2));
|
|
20966
21029
|
}
|
|
20967
|
-
}),
|
|
21030
|
+
}), Ag = ["primary", "secondary"], jg = ["disabled"], Mg = ["onClick"], Ng = {
|
|
20968
21031
|
key: 1,
|
|
20969
21032
|
class: "text"
|
|
20970
|
-
},
|
|
21033
|
+
}, Pg = /* @__PURE__ */ y({
|
|
20971
21034
|
name: "MaSwitch",
|
|
20972
21035
|
__name: "index",
|
|
20973
21036
|
props: {
|
|
@@ -21034,10 +21097,10 @@ var Ip = (e) => (t) => Fp({
|
|
|
21034
21097
|
key: 0,
|
|
21035
21098
|
size: "xs",
|
|
21036
21099
|
name: e.icon
|
|
21037
|
-
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span",
|
|
21100
|
+
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span", Ng, [t.$slots.optionLabel ? B(t.$slots, "optionLabel", {
|
|
21038
21101
|
label: e?.label,
|
|
21039
21102
|
value: e.value
|
|
21040
|
-
}, void 0, void 0, 0) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10,
|
|
21103
|
+
}, void 0, void 0, 0) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10, Mg))), 128)),
|
|
21041
21104
|
m("div", {
|
|
21042
21105
|
ref_key: "mask",
|
|
21043
21106
|
ref: a,
|
|
@@ -21050,13 +21113,13 @@ var Ip = (e) => (t) => Fp({
|
|
|
21050
21113
|
size: "xs",
|
|
21051
21114
|
class: "ma-loading-icon"
|
|
21052
21115
|
})) : f("", !0)
|
|
21053
|
-
], 16,
|
|
21116
|
+
], 16, jg));
|
|
21054
21117
|
}
|
|
21055
|
-
}),
|
|
21118
|
+
}), Fg = ["horizontal", "vertical"], Ig = [
|
|
21056
21119
|
"xxsmall",
|
|
21057
21120
|
"xsmall",
|
|
21058
21121
|
"small"
|
|
21059
|
-
],
|
|
21122
|
+
], Lg = /* @__PURE__ */ y({
|
|
21060
21123
|
name: "MaTableContainer",
|
|
21061
21124
|
__name: "TableContainer",
|
|
21062
21125
|
props: {
|
|
@@ -21084,11 +21147,11 @@ var Ip = (e) => (t) => Fp({
|
|
|
21084
21147
|
}])
|
|
21085
21148
|
}, [B(n.$slots, "default", { updateStickyOffsets: r })], 2));
|
|
21086
21149
|
}
|
|
21087
|
-
}),
|
|
21150
|
+
}), Rg = [
|
|
21088
21151
|
"rounded",
|
|
21089
21152
|
"rounded-dark",
|
|
21090
21153
|
"line"
|
|
21091
|
-
],
|
|
21154
|
+
], zg = ["small", "medium"], Bg = ["left", "right"], Vg = ["disabled", "data-tab-key"], Hg = /* @__PURE__ */ y({
|
|
21092
21155
|
name: "MaTabButton",
|
|
21093
21156
|
__name: "tabButton",
|
|
21094
21157
|
props: {
|
|
@@ -21149,9 +21212,9 @@ var Ip = (e) => (t) => Fp({
|
|
|
21149
21212
|
default: J(() => [g(H(n.badgeText), 1)]),
|
|
21150
21213
|
_: 1
|
|
21151
21214
|
}, 8, ["type"])) : f("", !0)
|
|
21152
|
-
], 10,
|
|
21215
|
+
], 10, Vg));
|
|
21153
21216
|
}
|
|
21154
|
-
}),
|
|
21217
|
+
}), Ug = /* @__PURE__ */ y({
|
|
21155
21218
|
name: "MaTabPane",
|
|
21156
21219
|
__name: "tabPane",
|
|
21157
21220
|
props: {
|
|
@@ -21170,25 +21233,25 @@ var Ip = (e) => (t) => Fp({
|
|
|
21170
21233
|
let t = e, n = C("activeKey", R(null)), r = l(() => !t.disabled && t.tabKey == n.value);
|
|
21171
21234
|
return (e, t) => r.value ? B(e.$slots, "default", {}, void 0, void 0, 0) : f("", !0);
|
|
21172
21235
|
}
|
|
21173
|
-
}),
|
|
21236
|
+
}), Wg = /* @__PURE__ */ n(((e, t) => {
|
|
21174
21237
|
var n = Rs();
|
|
21175
21238
|
function r(e, t, r) {
|
|
21176
21239
|
var i = e.length;
|
|
21177
21240
|
return r = r === void 0 ? i : r, !t && r >= i ? e : n(e, t, r);
|
|
21178
21241
|
}
|
|
21179
21242
|
t.exports = r;
|
|
21180
|
-
})),
|
|
21243
|
+
})), Gg = /* @__PURE__ */ n(((e, t) => {
|
|
21181
21244
|
var n = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
|
|
21182
21245
|
function r(e) {
|
|
21183
21246
|
return n.test(e);
|
|
21184
21247
|
}
|
|
21185
21248
|
t.exports = r;
|
|
21186
|
-
})),
|
|
21249
|
+
})), Kg = /* @__PURE__ */ n(((e, t) => {
|
|
21187
21250
|
function n(e) {
|
|
21188
21251
|
return e.split("");
|
|
21189
21252
|
}
|
|
21190
21253
|
t.exports = n;
|
|
21191
|
-
})),
|
|
21254
|
+
})), qg = /* @__PURE__ */ n(((e, t) => {
|
|
21192
21255
|
var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\ufe0e\\ufe0f", a = "[" + n + "]", o = "[" + r + "]", s = "\\ud83c[\\udffb-\\udfff]", c = "(?:" + o + "|" + s + ")", l = "[^" + n + "]", u = "(?:\\ud83c[\\udde6-\\uddff]){2}", d = "[\\ud800-\\udbff][\\udc00-\\udfff]", f = "\\u200d", p = c + "?", m = "[" + i + "]?", h = "(?:" + f + "(?:" + [
|
|
21193
21256
|
l,
|
|
21194
21257
|
u,
|
|
@@ -21204,14 +21267,14 @@ var Ip = (e) => (t) => Fp({
|
|
|
21204
21267
|
return e.match(v) || [];
|
|
21205
21268
|
}
|
|
21206
21269
|
t.exports = y;
|
|
21207
|
-
})),
|
|
21208
|
-
var n =
|
|
21270
|
+
})), Jg = /* @__PURE__ */ n(((e, t) => {
|
|
21271
|
+
var n = Kg(), r = Gg(), i = qg();
|
|
21209
21272
|
function a(e) {
|
|
21210
21273
|
return r(e) ? i(e) : n(e);
|
|
21211
21274
|
}
|
|
21212
21275
|
t.exports = a;
|
|
21213
|
-
})),
|
|
21214
|
-
var n =
|
|
21276
|
+
})), Yg = /* @__PURE__ */ n(((e, t) => {
|
|
21277
|
+
var n = Wg(), r = Gg(), i = Jg(), a = Ns();
|
|
21215
21278
|
function o(e) {
|
|
21216
21279
|
return function(t) {
|
|
21217
21280
|
t = a(t);
|
|
@@ -21220,23 +21283,23 @@ var Ip = (e) => (t) => Fp({
|
|
|
21220
21283
|
};
|
|
21221
21284
|
}
|
|
21222
21285
|
t.exports = o;
|
|
21223
|
-
})),
|
|
21224
|
-
t.exports =
|
|
21225
|
-
})),
|
|
21226
|
-
var n = Ns(), r =
|
|
21286
|
+
})), Xg = /* @__PURE__ */ n(((e, t) => {
|
|
21287
|
+
t.exports = Yg()("toUpperCase");
|
|
21288
|
+
})), Zg = /* @__PURE__ */ n(((e, t) => {
|
|
21289
|
+
var n = Ns(), r = Xg();
|
|
21227
21290
|
function i(e) {
|
|
21228
21291
|
return r(n(e).toLowerCase());
|
|
21229
21292
|
}
|
|
21230
21293
|
t.exports = i;
|
|
21231
|
-
})),
|
|
21232
|
-
var n =
|
|
21233
|
-
t.exports =
|
|
21294
|
+
})), Qg = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
21295
|
+
var n = Zg();
|
|
21296
|
+
t.exports = Np()(function(e, t, r) {
|
|
21234
21297
|
return t = t.toLowerCase(), e + (r ? n(t) : t);
|
|
21235
21298
|
});
|
|
21236
|
-
})))(), 1),
|
|
21299
|
+
})))(), 1), $g = { class: "ma-tabs-nav" }, e_ = {
|
|
21237
21300
|
key: 0,
|
|
21238
21301
|
class: "ma-tabs-content"
|
|
21239
|
-
},
|
|
21302
|
+
}, t_ = /* @__PURE__ */ y({
|
|
21240
21303
|
__name: "index",
|
|
21241
21304
|
props: {
|
|
21242
21305
|
type: { default: "line" },
|
|
@@ -21258,12 +21321,12 @@ var Ip = (e) => (t) => Fp({
|
|
|
21258
21321
|
o.value = e.filter((e) => T(e) && e.type?.name === "MaTabPane").map((e) => {
|
|
21259
21322
|
let t = e.props || {};
|
|
21260
21323
|
return {
|
|
21261
|
-
props: Object.keys(t).reduce((e, n) => (e[(0,
|
|
21324
|
+
props: Object.keys(t).reduce((e, n) => (e[(0, Qg.default)(n)] = t[n], e), {}),
|
|
21262
21325
|
slots: e.children
|
|
21263
21326
|
};
|
|
21264
21327
|
});
|
|
21265
21328
|
}), L("activeKey", c), (e, t) => (I(), p("div", { class: k(u.value) }, [_(W(os), { "always-show-buttons": n.alwaysShowScrollerButtons }, {
|
|
21266
|
-
default: J(() => [m("div",
|
|
21329
|
+
default: J(() => [m("div", $g, [(I(!0), p(i, null, z(o.value, (e) => (I(), d(Hg, D({ ref_for: !0 }, e.props, {
|
|
21267
21330
|
key: e.props.tabKey,
|
|
21268
21331
|
"is-active": n.activeKey == e.props.tabKey,
|
|
21269
21332
|
type: n.type,
|
|
@@ -21279,14 +21342,14 @@ var Ip = (e) => (t) => Fp({
|
|
|
21279
21342
|
"size"
|
|
21280
21343
|
]))), 128))])]),
|
|
21281
21344
|
_: 1
|
|
21282
|
-
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div",
|
|
21345
|
+
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div", e_, [B(e.$slots, "default")])) : f("", !0)], 2));
|
|
21283
21346
|
}
|
|
21284
|
-
}),
|
|
21347
|
+
}), n_ = [
|
|
21285
21348
|
"left",
|
|
21286
21349
|
"right",
|
|
21287
21350
|
"top",
|
|
21288
21351
|
"bottom"
|
|
21289
|
-
],
|
|
21352
|
+
], r_ = ["card", "line"], i_ = ["left", "right"], a_ = /* @__PURE__ */ y({
|
|
21290
21353
|
__name: "tabPane",
|
|
21291
21354
|
setup(e) {
|
|
21292
21355
|
return (e, t) => (I(), d(W(qe), D({ tab: "test" }, e.$attrs), h({ _: 2 }, [z(e.$slots, (t, n) => ({
|
|
@@ -21294,7 +21357,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21294
21357
|
fn: J(() => [B(e.$slots, n)])
|
|
21295
21358
|
}))]), 1040));
|
|
21296
21359
|
}
|
|
21297
|
-
}),
|
|
21360
|
+
}), o_ = /* @__PURE__ */ y({
|
|
21298
21361
|
name: "MaTabs",
|
|
21299
21362
|
__name: "index",
|
|
21300
21363
|
props: {
|
|
@@ -21349,17 +21412,17 @@ var Ip = (e) => (t) => Fp({
|
|
|
21349
21412
|
"type"
|
|
21350
21413
|
]));
|
|
21351
21414
|
}
|
|
21352
|
-
}),
|
|
21415
|
+
}), s_ = {
|
|
21353
21416
|
key: 0,
|
|
21354
21417
|
class: "ma-tag-input-prefix"
|
|
21355
|
-
},
|
|
21418
|
+
}, c_ = { class: "ma-tag-wrapper" }, l_ = [
|
|
21356
21419
|
"disabled",
|
|
21357
21420
|
"placeholder",
|
|
21358
21421
|
"maxlength"
|
|
21359
|
-
],
|
|
21422
|
+
], u_ = {
|
|
21360
21423
|
key: 1,
|
|
21361
21424
|
class: "ma-tag-input-suffix"
|
|
21362
|
-
},
|
|
21425
|
+
}, d_ = /* @__PURE__ */ y({
|
|
21363
21426
|
name: "MaTagInput",
|
|
21364
21427
|
__name: "index",
|
|
21365
21428
|
props: {
|
|
@@ -21431,12 +21494,12 @@ var Ip = (e) => (t) => Fp({
|
|
|
21431
21494
|
class: k(g.value),
|
|
21432
21495
|
onClick: w
|
|
21433
21496
|
}, [
|
|
21434
|
-
u.value ? (I(), p("div",
|
|
21497
|
+
u.value ? (I(), p("div", s_, [B(t.$slots, "prefix"), n.prefixIcon ? (I(), d(W(X), {
|
|
21435
21498
|
key: 0,
|
|
21436
21499
|
size: "xs",
|
|
21437
21500
|
name: n.prefixIcon
|
|
21438
21501
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0),
|
|
21439
|
-
m("div",
|
|
21502
|
+
m("div", c_, [(I(!0), p(i, null, z(e.tags, (e) => (I(), p("span", {
|
|
21440
21503
|
key: e,
|
|
21441
21504
|
class: "single-tag"
|
|
21442
21505
|
}, [m("span", null, H(e), 1), _(W(X), {
|
|
@@ -21455,19 +21518,19 @@ var Ip = (e) => (t) => Fp({
|
|
|
21455
21518
|
maxlength: n?.tagCharLimit,
|
|
21456
21519
|
onKeydown: x,
|
|
21457
21520
|
onPaste: T
|
|
21458
|
-
}, null, 40,
|
|
21459
|
-
h.value ? (I(), p("div",
|
|
21521
|
+
}, null, 40, l_), [[pe, o.value]])], 4)]),
|
|
21522
|
+
h.value ? (I(), p("div", u_, [B(t.$slots, "suffix"), n.suffixIcon ? (I(), d(W(X), {
|
|
21460
21523
|
key: 0,
|
|
21461
21524
|
size: "xs",
|
|
21462
21525
|
name: n.suffixIcon
|
|
21463
21526
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0)
|
|
21464
21527
|
], 2));
|
|
21465
21528
|
}
|
|
21466
|
-
}),
|
|
21529
|
+
}), f_ = [
|
|
21467
21530
|
"small",
|
|
21468
21531
|
"default",
|
|
21469
21532
|
"large"
|
|
21470
|
-
],
|
|
21533
|
+
], p_ = ["primary", "secondary"], m_ = [
|
|
21471
21534
|
"top",
|
|
21472
21535
|
"left",
|
|
21473
21536
|
"right",
|
|
@@ -21480,15 +21543,15 @@ var Ip = (e) => (t) => Fp({
|
|
|
21480
21543
|
"leftBottom",
|
|
21481
21544
|
"rightTop",
|
|
21482
21545
|
"rightBottom"
|
|
21483
|
-
],
|
|
21546
|
+
], h_ = ["primary", "secondary"], g_ = [
|
|
21484
21547
|
"hover",
|
|
21485
21548
|
"focus",
|
|
21486
21549
|
"click",
|
|
21487
21550
|
"contextmenu"
|
|
21488
|
-
],
|
|
21551
|
+
], __ = { class: "ak-tooltip-overlay__content" }, v_ = { class: "ak-tooltip-overlay__content__title" }, y_ = {
|
|
21489
21552
|
key: 0,
|
|
21490
21553
|
class: "ak-tooltip-overlay__content__description"
|
|
21491
|
-
},
|
|
21554
|
+
}, b_ = /* @__PURE__ */ y({
|
|
21492
21555
|
name: "MaTooltip",
|
|
21493
21556
|
__name: "index",
|
|
21494
21557
|
props: {
|
|
@@ -21540,7 +21603,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21540
21603
|
name: t.icon
|
|
21541
21604
|
}, null, 8, ["name"])) : f("", !0),
|
|
21542
21605
|
B(o.$slots, "icon"),
|
|
21543
|
-
m("div",
|
|
21606
|
+
m("div", __, [m("span", v_, [g(H(t.title) + " ", 1), B(o.$slots, "title")]), t?.description || o.$slots.description ? (I(), p("span", y_, [g(H(t.description) + " ", 1), B(o.$slots, "description")])) : f("", !0)]),
|
|
21544
21607
|
t.closable ? (I(), d(X, {
|
|
21545
21608
|
key: 1,
|
|
21546
21609
|
class: "ak-tooltip-overlay__close",
|
|
@@ -21561,7 +21624,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21561
21624
|
"trigger"
|
|
21562
21625
|
]));
|
|
21563
21626
|
}
|
|
21564
|
-
}),
|
|
21627
|
+
}), x_ = ["disabled"], S_ = { class: "icon-wrapper" }, C_ = /* @__PURE__ */ y({
|
|
21565
21628
|
__name: "index",
|
|
21566
21629
|
props: {
|
|
21567
21630
|
size: { default: "sm" },
|
|
@@ -21602,7 +21665,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21602
21665
|
default: J(() => [g(H(t.badgeText), 1)]),
|
|
21603
21666
|
_: 1
|
|
21604
21667
|
}, 8, ["variant"])) : f("", !0),
|
|
21605
|
-
m("span",
|
|
21668
|
+
m("span", S_, [_(W(X), {
|
|
21606
21669
|
spin: t?.loading,
|
|
21607
21670
|
name: r.value,
|
|
21608
21671
|
size: i.value
|
|
@@ -21611,23 +21674,23 @@ var Ip = (e) => (t) => Fp({
|
|
|
21611
21674
|
"name",
|
|
21612
21675
|
"size"
|
|
21613
21676
|
])])
|
|
21614
|
-
], 16,
|
|
21677
|
+
], 16, x_));
|
|
21615
21678
|
}
|
|
21616
|
-
}),
|
|
21679
|
+
}), w_ = [
|
|
21617
21680
|
"xs",
|
|
21618
21681
|
"sm",
|
|
21619
21682
|
"md",
|
|
21620
21683
|
"lg"
|
|
21621
|
-
],
|
|
21684
|
+
], T_ = {
|
|
21622
21685
|
key: 0,
|
|
21623
21686
|
class: "mr-2"
|
|
21624
|
-
},
|
|
21687
|
+
}, E_ = {
|
|
21625
21688
|
key: 1,
|
|
21626
21689
|
class: "mr-2 -mt-1"
|
|
21627
|
-
},
|
|
21690
|
+
}, D_ = { class: "flex items-center justify-between w-full" }, O_ = {
|
|
21628
21691
|
key: 0,
|
|
21629
21692
|
class: "ma-tree-list"
|
|
21630
|
-
},
|
|
21693
|
+
}, k_ = /* @__PURE__ */ y({
|
|
21631
21694
|
name: "MaTreeNode",
|
|
21632
21695
|
__name: "treeNode",
|
|
21633
21696
|
props: {
|
|
@@ -21683,12 +21746,12 @@ var Ip = (e) => (t) => Fp({
|
|
|
21683
21746
|
class: k(["ma-tree-node-content", h.value]),
|
|
21684
21747
|
onClick: n[2] ||= (t) => b(e.node)
|
|
21685
21748
|
}, [
|
|
21686
|
-
a.value ? (I(), p("div",
|
|
21749
|
+
a.value ? (I(), p("div", T_, [_(W(X), {
|
|
21687
21750
|
name: "chevron-down",
|
|
21688
21751
|
size: "xs",
|
|
21689
21752
|
class: k({ "-rotate-90": !o.value })
|
|
21690
21753
|
}, null, 8, ["class"])])) : f("", !0),
|
|
21691
|
-
e.isMultiple ? (I(), p("div",
|
|
21754
|
+
e.isMultiple ? (I(), p("div", E_, [_(W(qo), {
|
|
21692
21755
|
checked: c.value,
|
|
21693
21756
|
indeterminate: v.value,
|
|
21694
21757
|
disabled: s.value,
|
|
@@ -21700,12 +21763,12 @@ var Ip = (e) => (t) => Fp({
|
|
|
21700
21763
|
"disabled"
|
|
21701
21764
|
])])) : f("", !0),
|
|
21702
21765
|
e.showIcon ? B(t.$slots, "icon", A(x(e.node)), void 0, void 0, 2) : f("", !0),
|
|
21703
|
-
m("div",
|
|
21766
|
+
m("div", D_, [B(t.$slots, "label", A(x(e.node))), e.hideTick ? f("", !0) : (I(), p(i, { key: 0 }, [u.value && !e.isMultiple ? (I(), d(W(X), {
|
|
21704
21767
|
key: 0,
|
|
21705
21768
|
name: "tick",
|
|
21706
21769
|
size: "sm"
|
|
21707
21770
|
})) : f("", !0)], 64))])
|
|
21708
|
-
], 2), o.value && a.value ? (I(), p("ul",
|
|
21771
|
+
], 2), o.value && a.value ? (I(), p("ul", O_, [(I(!0), p(i, null, z(e.node.options, (i, a) => (I(), d(l, {
|
|
21709
21772
|
key: `${a}-tree-node`,
|
|
21710
21773
|
"selected-value": e.selectedValue,
|
|
21711
21774
|
"expanded-keys": e.expandedKeys,
|
|
@@ -21752,10 +21815,10 @@ var Ip = (e) => (t) => Fp({
|
|
|
21752
21815
|
]))), 128)), B(t.$slots, "list-bottom-section", A(x(e.node)))])) : f("", !0)]);
|
|
21753
21816
|
};
|
|
21754
21817
|
}
|
|
21755
|
-
}),
|
|
21818
|
+
}), A_ = {
|
|
21756
21819
|
key: 1,
|
|
21757
21820
|
class: "ma-tree-list"
|
|
21758
|
-
},
|
|
21821
|
+
}, j_ = /* @__PURE__ */ y({
|
|
21759
21822
|
__name: "index",
|
|
21760
21823
|
props: {
|
|
21761
21824
|
value: {},
|
|
@@ -21850,7 +21913,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21850
21913
|
checkNodeChange: b,
|
|
21851
21914
|
expandAll: S,
|
|
21852
21915
|
collapseAll: C
|
|
21853
|
-
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul",
|
|
21916
|
+
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul", A_, [(I(!0), p(i, null, z(h.value, (n, r) => (I(), d(k_, {
|
|
21854
21917
|
key: `node-${r}`,
|
|
21855
21918
|
node: n,
|
|
21856
21919
|
"selected-value": e.value,
|
|
@@ -21904,19 +21967,19 @@ var Ip = (e) => (t) => Fp({
|
|
|
21904
21967
|
"description"
|
|
21905
21968
|
]))], 2));
|
|
21906
21969
|
}
|
|
21907
|
-
}),
|
|
21970
|
+
}), M_ = ["single", "multiple"], N_ = [
|
|
21908
21971
|
"button",
|
|
21909
21972
|
"box",
|
|
21910
21973
|
"small-box"
|
|
21911
|
-
],
|
|
21974
|
+
], P_ = [
|
|
21912
21975
|
"xs",
|
|
21913
21976
|
"sm",
|
|
21914
21977
|
"md",
|
|
21915
21978
|
"lg",
|
|
21916
21979
|
"xl"
|
|
21917
|
-
],
|
|
21980
|
+
], F_ = /* @__PURE__ */ function(e) {
|
|
21918
21981
|
return e.error = "error", e.done = "done", e.uploading = "uploading", e;
|
|
21919
|
-
}({}),
|
|
21982
|
+
}({}), I_ = [
|
|
21920
21983
|
"display-1",
|
|
21921
21984
|
"display-2",
|
|
21922
21985
|
"heading-1",
|
|
@@ -21931,7 +21994,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21931
21994
|
"body-4",
|
|
21932
21995
|
"caption-1",
|
|
21933
21996
|
"caption-2"
|
|
21934
|
-
],
|
|
21997
|
+
], L_ = [
|
|
21935
21998
|
"div",
|
|
21936
21999
|
"p",
|
|
21937
22000
|
"h1",
|
|
@@ -21941,7 +22004,7 @@ var Ip = (e) => (t) => Fp({
|
|
|
21941
22004
|
"h5",
|
|
21942
22005
|
"h6",
|
|
21943
22006
|
"span"
|
|
21944
|
-
],
|
|
22007
|
+
], R_ = [
|
|
21945
22008
|
"light",
|
|
21946
22009
|
"regular",
|
|
21947
22010
|
"medium",
|
|
@@ -21950,14 +22013,14 @@ var Ip = (e) => (t) => Fp({
|
|
|
21950
22013
|
];
|
|
21951
22014
|
//#endregion
|
|
21952
22015
|
//#region src/components/upload/composables/file.ts
|
|
21953
|
-
function
|
|
22016
|
+
function z_(e) {
|
|
21954
22017
|
try {
|
|
21955
22018
|
return JSON.parse(e);
|
|
21956
22019
|
} catch {
|
|
21957
22020
|
return e;
|
|
21958
22021
|
}
|
|
21959
22022
|
}
|
|
21960
|
-
function
|
|
22023
|
+
function B_(e, t = {}, n = {}, r) {
|
|
21961
22024
|
let i = R(0);
|
|
21962
22025
|
return {
|
|
21963
22026
|
progress: i,
|
|
@@ -21970,16 +22033,16 @@ function w_(e, t = {}, n = {}, r) {
|
|
|
21970
22033
|
c.open("POST", e), Object.entries(t).forEach(([e, t]) => {
|
|
21971
22034
|
c.setRequestHeader(e, t);
|
|
21972
22035
|
}), c.upload.onprogress = (e) => {
|
|
21973
|
-
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(
|
|
22036
|
+
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(F_.uploading, i.value));
|
|
21974
22037
|
}, c.onload = () => {
|
|
21975
|
-
c.status >= 200 && c.status < 300 ? o(
|
|
22038
|
+
c.status >= 200 && c.status < 300 ? o(F_.done, i.value, z_(c.responseText)) : o(F_.error, i.value, z_(c.responseText));
|
|
21976
22039
|
}, c.onerror = () => {
|
|
21977
|
-
o(
|
|
22040
|
+
o(F_.error, i.value, z_(c.responseText));
|
|
21978
22041
|
}, c.send(s), a.cancelRequest = () => c.abort();
|
|
21979
22042
|
}
|
|
21980
22043
|
};
|
|
21981
22044
|
}
|
|
21982
|
-
function
|
|
22045
|
+
function V_(e) {
|
|
21983
22046
|
return e.includes("*") ? {
|
|
21984
22047
|
kind: "wildcard",
|
|
21985
22048
|
mainType: e.split("/")[0]
|
|
@@ -21991,9 +22054,9 @@ function T_(e) {
|
|
|
21991
22054
|
mimeType: e
|
|
21992
22055
|
};
|
|
21993
22056
|
}
|
|
21994
|
-
function
|
|
22057
|
+
function H_(e, t) {
|
|
21995
22058
|
if (!t) return !0;
|
|
21996
|
-
let n = t.split(",").map((e) =>
|
|
22059
|
+
let n = t.split(",").map((e) => V_(e.trim())), r = e.name.split(".").pop()?.toLowerCase() || "";
|
|
21997
22060
|
return n.some((t) => {
|
|
21998
22061
|
switch (t.kind) {
|
|
21999
22062
|
case "wildcard": return e.type.startsWith(t.mainType);
|
|
@@ -22005,10 +22068,10 @@ function E_(e, t) {
|
|
|
22005
22068
|
}
|
|
22006
22069
|
//#endregion
|
|
22007
22070
|
//#region src/components/upload/singleFile.vue?vue&type=script&setup=true&lang.ts
|
|
22008
|
-
var
|
|
22071
|
+
var U_ = { class: "single-file" }, W_ = { class: "icon-wrapper" }, G_ = { class: "single-file__detail" }, K_ = { class: "file-name" }, q_ = {
|
|
22009
22072
|
key: 0,
|
|
22010
22073
|
class: "file-size"
|
|
22011
|
-
},
|
|
22074
|
+
}, J_ = { class: "file-progress" }, Y_ = { class: "single-file__actions" }, X_ = /* @__PURE__ */ y({
|
|
22012
22075
|
__name: "singleFile",
|
|
22013
22076
|
props: {
|
|
22014
22077
|
file: {},
|
|
@@ -22018,17 +22081,17 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22018
22081
|
emits: ["remove", "cancel"],
|
|
22019
22082
|
setup(e, { emit: t }) {
|
|
22020
22083
|
let n = e, r = t, i = ut(), a = l(() => `${(n.file.file.size / 1048576).toFixed(1)} MB`), o = l(() => typeof n.file.file.size == "number"), s = () => r("remove"), c = () => r("cancel");
|
|
22021
|
-
return (t, n) => (I(), p("div",
|
|
22022
|
-
m("div",
|
|
22023
|
-
m("div",
|
|
22024
|
-
m("span",
|
|
22025
|
-
o.value ? (I(), p("span",
|
|
22026
|
-
m("span",
|
|
22084
|
+
return (t, n) => (I(), p("div", U_, [
|
|
22085
|
+
m("div", W_, [_(X, { name: "document-bulk" })]),
|
|
22086
|
+
m("div", G_, [
|
|
22087
|
+
m("span", K_, H(e.file.file.name), 1),
|
|
22088
|
+
o.value ? (I(), p("span", q_, H(a.value), 1)) : f("", !0),
|
|
22089
|
+
m("span", J_, [m("span", {
|
|
22027
22090
|
class: "progress-item",
|
|
22028
22091
|
style: j({ width: `${e.file.progress}%` })
|
|
22029
22092
|
}, null, 4)])
|
|
22030
22093
|
]),
|
|
22031
|
-
m("div",
|
|
22094
|
+
m("div", Y_, [e.file.status === W(F_).uploading ? (I(), d(Z, {
|
|
22032
22095
|
key: 0,
|
|
22033
22096
|
disabled: e.disabled,
|
|
22034
22097
|
variant: "ghost",
|
|
@@ -22046,23 +22109,23 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22046
22109
|
}, null, 8, ["disabled", "title"])), m("span", null, "%" + H(parseInt(e.file.progress.toString())), 1)])
|
|
22047
22110
|
]));
|
|
22048
22111
|
}
|
|
22049
|
-
}),
|
|
22112
|
+
}), Z_ = [
|
|
22050
22113
|
"accept",
|
|
22051
22114
|
"multiple",
|
|
22052
22115
|
"disabled"
|
|
22053
|
-
],
|
|
22116
|
+
], Q_ = { class: "text" }, $_ = { class: "upload-icon" }, ev = {
|
|
22054
22117
|
key: 0,
|
|
22055
22118
|
class: "upload-title"
|
|
22056
|
-
},
|
|
22119
|
+
}, tv = {
|
|
22057
22120
|
key: 1,
|
|
22058
22121
|
class: "upload-title"
|
|
22059
|
-
},
|
|
22122
|
+
}, nv = {
|
|
22060
22123
|
key: 2,
|
|
22061
22124
|
class: "upload-description"
|
|
22062
|
-
},
|
|
22125
|
+
}, rv = {
|
|
22063
22126
|
key: 3,
|
|
22064
22127
|
class: "upload-description"
|
|
22065
|
-
},
|
|
22128
|
+
}, iv = /* @__PURE__ */ y({
|
|
22066
22129
|
__name: "index",
|
|
22067
22130
|
props: {
|
|
22068
22131
|
fileList: {},
|
|
@@ -22117,11 +22180,11 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22117
22180
|
},
|
|
22118
22181
|
set(e) {
|
|
22119
22182
|
r("update:fileList", e), r("change", e), n?.action && e.forEach(async (e, t) => {
|
|
22120
|
-
if ([
|
|
22121
|
-
let { upload: i } =
|
|
22183
|
+
if ([F_.done, F_.error].includes(e.status)) return;
|
|
22184
|
+
let { upload: i } = B_(n?.action || "", n.headers, n.data, n.name);
|
|
22122
22185
|
n?.beforeUpload && (e.file = await n.beforeUpload(e.file)), i(e, (n, i, a) => {
|
|
22123
22186
|
if (y.value[t]) {
|
|
22124
|
-
if (n ===
|
|
22187
|
+
if (n === F_.error) {
|
|
22125
22188
|
r("error", {
|
|
22126
22189
|
file: e.file,
|
|
22127
22190
|
message: a
|
|
@@ -22133,11 +22196,11 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22133
22196
|
});
|
|
22134
22197
|
});
|
|
22135
22198
|
}
|
|
22136
|
-
}), b = l(() => y.value.map((e) => e.file.name).join(", ")), x = l(() => n.type === "box" ? n.multiple ? !0 : !y.value.length : !0), S = l(() => n.wait || y.value.some((e) => e.status ===
|
|
22199
|
+
}), b = l(() => y.value.map((e) => e.file.name).join(", ")), x = l(() => n.type === "box" ? n.multiple ? !0 : !y.value.length : !0), S = l(() => n.wait || y.value.some((e) => e.status === F_.uploading)), C = l(() => n.ordered && S.value ? !1 : y.value.length ? n.showFileList : !1), w = l(() => n?.disabled || S.value), T = l(() => [
|
|
22137
22200
|
`ma-upload ma-upload--${n.type} ma-upload--${n.type}--${n.size}`,
|
|
22138
22201
|
{ "ma-upload--active": c.value },
|
|
22139
22202
|
{ "ma-upload--disabled": w.value }
|
|
22140
|
-
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => Ln[n?.size ?
|
|
22203
|
+
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => Ln[n?.size ? P_.indexOf(n.size) : 0]);
|
|
22141
22204
|
function A(e) {
|
|
22142
22205
|
return Array.from(e).find((e) => n?.maxFileSize && e.size > n.maxFileSize);
|
|
22143
22206
|
}
|
|
@@ -22158,7 +22221,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22158
22221
|
c.value = !1;
|
|
22159
22222
|
}
|
|
22160
22223
|
function te(e) {
|
|
22161
|
-
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !
|
|
22224
|
+
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !H_(e, n.accept) ? (r("error", {
|
|
22162
22225
|
file: e,
|
|
22163
22226
|
message: a.config.localeMessages.allowedFileTypesMessage
|
|
22164
22227
|
}), !1) : !0));
|
|
@@ -22175,7 +22238,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22175
22238
|
let i = Array.from(e).filter((e, t) => !n?.maxCount || t + 1 <= n.maxCount).map((e) => ({
|
|
22176
22239
|
file: e,
|
|
22177
22240
|
id: crypto.randomUUID(),
|
|
22178
|
-
status: n?.action ?
|
|
22241
|
+
status: n?.action ? F_.uploading : F_.done,
|
|
22179
22242
|
progress: n?.action ? 0 : 100,
|
|
22180
22243
|
response: null
|
|
22181
22244
|
}));
|
|
@@ -22221,7 +22284,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22221
22284
|
multiple: n.multiple,
|
|
22222
22285
|
disabled: w.value,
|
|
22223
22286
|
onChange: j
|
|
22224
|
-
}, null, 40,
|
|
22287
|
+
}, null, 40, Z_)), n.type === "button" ? (I(), d(Z, {
|
|
22225
22288
|
key: 0,
|
|
22226
22289
|
variant: e.fileList.length ? "filled" : "stroke",
|
|
22227
22290
|
"left-icon": "export-2",
|
|
@@ -22241,19 +22304,19 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22241
22304
|
key: 1,
|
|
22242
22305
|
class: "ma-upload__small_box",
|
|
22243
22306
|
onClick: M
|
|
22244
|
-
}, [S.value ? (I(), d(
|
|
22307
|
+
}, [S.value ? (I(), d(og, {
|
|
22245
22308
|
key: 0,
|
|
22246
22309
|
type: "three-circles",
|
|
22247
22310
|
color: "blue"
|
|
22248
22311
|
})) : (I(), d(X, {
|
|
22249
22312
|
key: 1,
|
|
22250
22313
|
name: "export-2-bulk"
|
|
22251
|
-
})), m("span",
|
|
22314
|
+
})), m("span", Q_, [S.value ? (I(), p(i, { key: 0 }, [g(H(W(a).config.localeMessages.uploading), 1)], 64)) : (I(), p(i, { key: 1 }, [g(H(n?.title || W(a).config.localeMessages.clickToUpload) + " ", 1), B(t.$slots, "small-box-title")], 64))])])) : (I(), p("div", {
|
|
22252
22315
|
key: 2,
|
|
22253
22316
|
class: "ma-upload__box",
|
|
22254
22317
|
onClick: M
|
|
22255
22318
|
}, [n.ordered && S.value ? (I(), p(i, { key: 0 }, [
|
|
22256
|
-
_(
|
|
22319
|
+
_(og, {
|
|
22257
22320
|
type: "three-circles",
|
|
22258
22321
|
color: "blue"
|
|
22259
22322
|
}),
|
|
@@ -22267,13 +22330,13 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22267
22330
|
_: 1
|
|
22268
22331
|
})
|
|
22269
22332
|
], 64)) : (I(), p(i, { key: 1 }, [
|
|
22270
|
-
m("div",
|
|
22271
|
-
n?.title ? (I(), p("span",
|
|
22272
|
-
n?.description ? (I(), p("span",
|
|
22333
|
+
m("div", $_, [_(X, { name: "upload-bulk" })]),
|
|
22334
|
+
n?.title ? (I(), p("span", ev, [g(H(n?.title) + " ", 1), B(t.$slots, "box-title")])) : (I(), p("span", tv, [g(H(W(a).config.localeMessages.dragDrop) + " ", 1), B(t.$slots, "box-title")])),
|
|
22335
|
+
n?.description ? (I(), p("span", nv, [g(H(n?.description) + " ", 1), B(t.$slots, "box-description")])) : (I(), p("span", rv, [g(H(W(a).config.localeMessages.or) + " " + H(W(a).config.localeMessages.clickToUpload) + " ", 1), B(t.$slots, "box-description")]))
|
|
22273
22336
|
], 64))]))], 34), [[me, x.value]]), C.value ? (I(), p("div", {
|
|
22274
22337
|
key: 0,
|
|
22275
22338
|
class: k(E.value)
|
|
22276
|
-
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(
|
|
22339
|
+
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(X_, {
|
|
22277
22340
|
key: t,
|
|
22278
22341
|
file: e,
|
|
22279
22342
|
disabled: n.disabled,
|
|
@@ -22286,7 +22349,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22286
22349
|
"onCancel"
|
|
22287
22350
|
]))), 128))], 2)) : f("", !0)], 16));
|
|
22288
22351
|
}
|
|
22289
|
-
}),
|
|
22352
|
+
}), av = /* @__PURE__ */ y({
|
|
22290
22353
|
__name: "button",
|
|
22291
22354
|
props: {
|
|
22292
22355
|
type: { default: "default" },
|
|
@@ -22358,7 +22421,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22358
22421
|
"disabled"
|
|
22359
22422
|
]));
|
|
22360
22423
|
}
|
|
22361
|
-
}),
|
|
22424
|
+
}), ov = /* @__PURE__ */ y({
|
|
22362
22425
|
__name: "index",
|
|
22363
22426
|
props: {
|
|
22364
22427
|
type: { default: "default" },
|
|
@@ -22395,7 +22458,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22395
22458
|
placement: "bottom-start"
|
|
22396
22459
|
}, a.value), {
|
|
22397
22460
|
title: J(() => [B(e.$slots, "tooltip")]),
|
|
22398
|
-
default: J(() => [_(
|
|
22461
|
+
default: J(() => [_(av, {
|
|
22399
22462
|
active: t.active,
|
|
22400
22463
|
size: t.size,
|
|
22401
22464
|
type: t.type,
|
|
@@ -22420,7 +22483,7 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22420
22483
|
"loading"
|
|
22421
22484
|
])]),
|
|
22422
22485
|
_: 3
|
|
22423
|
-
}, 16, ["overlay-class-name"])) : (I(), d(
|
|
22486
|
+
}, 16, ["overlay-class-name"])) : (I(), d(av, {
|
|
22424
22487
|
key: 1,
|
|
22425
22488
|
active: t.active,
|
|
22426
22489
|
size: t.size,
|
|
@@ -22449,10 +22512,10 @@ var D_ = { class: "single-file" }, O_ = { class: "icon-wrapper" }, k_ = { class:
|
|
|
22449
22512
|
});
|
|
22450
22513
|
//#endregion
|
|
22451
22514
|
//#region src/components/chatbot/utils.ts
|
|
22452
|
-
function
|
|
22515
|
+
function sv() {
|
|
22453
22516
|
return crypto.randomUUID();
|
|
22454
22517
|
}
|
|
22455
|
-
function
|
|
22518
|
+
function cv(e) {
|
|
22456
22519
|
let t = e;
|
|
22457
22520
|
(t.match(/```/g) || []).length % 2 != 0 && (t += "\n```");
|
|
22458
22521
|
let n = t.split("\n"), r = n[n.length - 1];
|
|
@@ -22460,7 +22523,7 @@ function K_(e) {
|
|
|
22460
22523
|
}
|
|
22461
22524
|
//#endregion
|
|
22462
22525
|
//#region src/components/chatbot/composables/useMessages.ts
|
|
22463
|
-
function
|
|
22526
|
+
function lv({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onResponseFinish: i }) {
|
|
22464
22527
|
let a = ut(), { isLoading: o, error: s, sendMessage: c, stopStream: u, logSession: d } = n, f = R([]), p = R(""), m = R(null), h = R(!0), g = R(!1), _ = null, v = 0, y = l(() => o.value || g.value), b = l(() => f.value.length > 0);
|
|
22465
22528
|
function x() {
|
|
22466
22529
|
h.value && (_ ||= requestAnimationFrame(() => {
|
|
@@ -22485,7 +22548,7 @@ function q_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22485
22548
|
});
|
|
22486
22549
|
function C(e, t = !1) {
|
|
22487
22550
|
if (!e) return "";
|
|
22488
|
-
let n = t ?
|
|
22551
|
+
let n = t ? cv(e) : e;
|
|
22489
22552
|
return st.sanitize(ot.parse(n, { async: !1 }));
|
|
22490
22553
|
}
|
|
22491
22554
|
function w(e) {
|
|
@@ -22496,7 +22559,7 @@ function q_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22496
22559
|
}
|
|
22497
22560
|
function E(e, t = "") {
|
|
22498
22561
|
return {
|
|
22499
|
-
id:
|
|
22562
|
+
id: sv(),
|
|
22500
22563
|
role: e,
|
|
22501
22564
|
content: t,
|
|
22502
22565
|
timestamp: /* @__PURE__ */ new Date()
|
|
@@ -22575,11 +22638,11 @@ function q_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22575
22638
|
}
|
|
22576
22639
|
//#endregion
|
|
22577
22640
|
//#region src/components/chatbot/plugin.ts
|
|
22578
|
-
var
|
|
22579
|
-
function
|
|
22580
|
-
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${
|
|
22641
|
+
var uv = Symbol.for("MaChatbot");
|
|
22642
|
+
function dv(e) {
|
|
22643
|
+
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${sv()}`);
|
|
22581
22644
|
function s() {
|
|
22582
|
-
o.value = `session-${
|
|
22645
|
+
o.value = `session-${sv()}`;
|
|
22583
22646
|
}
|
|
22584
22647
|
function c() {
|
|
22585
22648
|
n.value = null, r.value = null;
|
|
@@ -22752,22 +22815,22 @@ function Y_(e) {
|
|
|
22752
22815
|
resetSession: s
|
|
22753
22816
|
};
|
|
22754
22817
|
}
|
|
22755
|
-
function
|
|
22756
|
-
let t =
|
|
22818
|
+
function fv(e) {
|
|
22819
|
+
let t = dv(e);
|
|
22757
22820
|
return { install(e) {
|
|
22758
|
-
e.provide(
|
|
22821
|
+
e.provide(uv, t);
|
|
22759
22822
|
} };
|
|
22760
22823
|
}
|
|
22761
22824
|
//#endregion
|
|
22762
22825
|
//#region src/components/chatbot/composables/useMaChatbot.ts
|
|
22763
|
-
function
|
|
22764
|
-
let e = C(
|
|
22826
|
+
function pv() {
|
|
22827
|
+
let e = C(uv);
|
|
22765
22828
|
if (!e) throw Error("[MaChatbot] Plugin is not installed. Call app.use(createMaChatbot({ ... })) first.");
|
|
22766
22829
|
return e;
|
|
22767
22830
|
}
|
|
22768
22831
|
//#endregion
|
|
22769
22832
|
//#region src/components/chatbot/composables/useFeedback.ts
|
|
22770
|
-
function
|
|
22833
|
+
function mv({ submitFeedbackApi: e }) {
|
|
22771
22834
|
let t = R(!1), n = R(null);
|
|
22772
22835
|
function r(r) {
|
|
22773
22836
|
if (!r.recordId) return;
|
|
@@ -22827,13 +22890,13 @@ function Q_({ submitFeedbackApi: e }) {
|
|
|
22827
22890
|
}
|
|
22828
22891
|
//#endregion
|
|
22829
22892
|
//#region src/components/chatbot/components/MaChatbotPromptStarters.vue?vue&type=script&setup=true&lang.ts
|
|
22830
|
-
var
|
|
22893
|
+
var hv = {
|
|
22831
22894
|
key: 0,
|
|
22832
22895
|
class: "ma-chatbot-prompt-starters"
|
|
22833
|
-
},
|
|
22896
|
+
}, gv = {
|
|
22834
22897
|
key: 1,
|
|
22835
22898
|
class: "ma-chatbot-prompt-starters__list"
|
|
22836
|
-
},
|
|
22899
|
+
}, _v = /* @__PURE__ */ y({
|
|
22837
22900
|
__name: "MaChatbotPromptStarters",
|
|
22838
22901
|
props: {
|
|
22839
22902
|
prompts: {},
|
|
@@ -22857,7 +22920,7 @@ var $_ = {
|
|
|
22857
22920
|
}
|
|
22858
22921
|
return K(() => n.initiallyOpen, (e) => {
|
|
22859
22922
|
o.value = e;
|
|
22860
|
-
}), (t, n) => e.prompts.length ? (I(), p("div",
|
|
22923
|
+
}), (t, n) => e.prompts.length ? (I(), p("div", hv, [o.value ? f("", !0) : (I(), d(Z, {
|
|
22861
22924
|
key: 0,
|
|
22862
22925
|
disabled: e.disabled,
|
|
22863
22926
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22869,7 +22932,7 @@ var $_ = {
|
|
|
22869
22932
|
}, {
|
|
22870
22933
|
default: J(() => [g(H(W(a).config.localeMessages.chatbot?.getPromptStarters), 1)]),
|
|
22871
22934
|
_: 1
|
|
22872
|
-
}, 8, ["disabled"])), o.value ? (I(), p("div",
|
|
22935
|
+
}, 8, ["disabled"])), o.value ? (I(), p("div", gv, [(I(!0), p(i, null, z(e.prompts, (t) => (I(), d(Z, {
|
|
22873
22936
|
key: t,
|
|
22874
22937
|
disabled: e.disabled,
|
|
22875
22938
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22890,27 +22953,27 @@ var $_ = {
|
|
|
22890
22953
|
_: 1
|
|
22891
22954
|
}, 8, ["disabled"])])) : f("", !0)])) : f("", !0);
|
|
22892
22955
|
}
|
|
22893
|
-
}),
|
|
22956
|
+
}), vv = { class: "ma-chatbot__message-sender" }, yv = {
|
|
22894
22957
|
key: 0,
|
|
22895
22958
|
class: "ma-chatbot__message-time"
|
|
22896
|
-
},
|
|
22959
|
+
}, bv = {
|
|
22897
22960
|
key: 0,
|
|
22898
22961
|
class: "ma-chatbot__bubble ma-chatbot__bubble--user"
|
|
22899
|
-
},
|
|
22962
|
+
}, xv = {
|
|
22900
22963
|
key: 1,
|
|
22901
22964
|
class: "ma-chatbot__typing-wrapper",
|
|
22902
22965
|
"aria-label": "Assistant is typing"
|
|
22903
|
-
},
|
|
22966
|
+
}, Sv = { class: "ma-chatbot__typing" }, Cv = { class: "ma-chatbot__typing-dots" }, wv = { class: "ma-chatbot__typing-info" }, Tv = {
|
|
22904
22967
|
key: 2,
|
|
22905
22968
|
class: "ma-chatbot__reasoning",
|
|
22906
22969
|
"aria-label": "Assistant is thinking"
|
|
22907
|
-
},
|
|
22970
|
+
}, Ev = { class: "ma-chatbot__reasoning-header" }, Dv = { class: "ma-chatbot__reasoning-content" }, Ov = {
|
|
22908
22971
|
key: 3,
|
|
22909
22972
|
class: "ma-chatbot__assistant-wrapper"
|
|
22910
|
-
},
|
|
22973
|
+
}, kv = { class: "ma-chatbot__error-text" }, Av = ["innerHTML"], jv = {
|
|
22911
22974
|
key: 2,
|
|
22912
22975
|
class: "ma-chatbot__feedback"
|
|
22913
|
-
},
|
|
22976
|
+
}, Mv = { class: "ma-chatbot__feedback-text" }, Nv = /* @__PURE__ */ y({
|
|
22914
22977
|
__name: "MaChatbotMessageBubble",
|
|
22915
22978
|
props: {
|
|
22916
22979
|
message: {},
|
|
@@ -22936,14 +22999,14 @@ var $_ = {
|
|
|
22936
22999
|
"ma-chatbot__error-bubble--error": e === "error"
|
|
22937
23000
|
};
|
|
22938
23001
|
});
|
|
22939
|
-
return (t, n) => (I(), p("div", { class: k(["ma-chatbot__message-row", `ma-chatbot__message-row--${e.message.role}`]) }, [m("div", { class: k(["ma-chatbot__message-header", `ma-chatbot__message-header--${e.message.role}`]) }, [m("span",
|
|
23002
|
+
return (t, n) => (I(), p("div", { class: k(["ma-chatbot__message-row", `ma-chatbot__message-row--${e.message.role}`]) }, [m("div", { class: k(["ma-chatbot__message-header", `ma-chatbot__message-header--${e.message.role}`]) }, [m("span", vv, H(s.value), 1), c.value ? (I(), p("span", yv, H(c.value), 1)) : f("", !0)], 2), e.message.role === "user" ? (I(), p("div", bv, H(e.message.content), 1)) : d.value ? (I(), p("output", xv, [m("div", Sv, [m("div", Cv, [(I(), p(i, null, z(3, (e) => m("span", {
|
|
22940
23003
|
key: e,
|
|
22941
23004
|
class: "ma-chatbot__typing-dot"
|
|
22942
|
-
})), 64))])]), m("p",
|
|
23005
|
+
})), 64))])]), m("p", wv, H(W(a).config.localeMessages.chatbot?.typingInfoText), 1)])) : h.value ? (I(), p("output", Tv, [m("div", Ev, [_(X, {
|
|
22943
23006
|
name: "ai-sparkle",
|
|
22944
23007
|
size: "xs",
|
|
22945
23008
|
class: "ma-chatbot__reasoning-icon"
|
|
22946
|
-
}), m("span", null, H(W(a).config.localeMessages.chatbot?.reasoningLabel), 1)]), m("div",
|
|
23009
|
+
}), m("span", null, H(W(a).config.localeMessages.chatbot?.reasoningLabel), 1)]), m("div", Dv, H(e.message.reasoning), 1)])) : u.value || g.value ? (I(), p("div", Ov, [u.value ? (I(), p("div", {
|
|
22947
23010
|
key: 0,
|
|
22948
23011
|
class: k(["ma-chatbot__error-bubble", b.value]),
|
|
22949
23012
|
role: "alert"
|
|
@@ -22951,12 +23014,12 @@ var $_ = {
|
|
|
22951
23014
|
name: e.message.status === "timeout" ? "timer" : "info-circle-bold",
|
|
22952
23015
|
class: k(`ma-chatbot__error-icon--${y.value}`),
|
|
22953
23016
|
size: "sm"
|
|
22954
|
-
}, null, 8, ["name", "class"]), m("span",
|
|
23017
|
+
}, null, 8, ["name", "class"]), m("span", kv, H(e.errorMessage), 1)], 2)) : g.value ? (I(), p("div", {
|
|
22955
23018
|
key: 1,
|
|
22956
23019
|
class: k(["ma-chatbot__content--assistant ma-chatbot__markdown", { "is-streaming": e.isStreaming }]),
|
|
22957
23020
|
innerHTML: e.renderedHtml
|
|
22958
|
-
}, null, 10,
|
|
22959
|
-
m("span",
|
|
23021
|
+
}, null, 10, Av)) : f("", !0), v.value ? (I(), p("div", jv, [
|
|
23022
|
+
m("span", Mv, H(W(a).config.localeMessages.chatbot?.generatedByText), 1),
|
|
22960
23023
|
_(Z, {
|
|
22961
23024
|
icon: "like",
|
|
22962
23025
|
variant: e.message.feedback === !0 ? "filled" : "stroke",
|
|
@@ -22969,10 +23032,10 @@ var $_ = {
|
|
|
22969
23032
|
}, null, 8, ["variant"])
|
|
22970
23033
|
])) : f("", !0)])) : f("", !0)], 2));
|
|
22971
23034
|
}
|
|
22972
|
-
}),
|
|
23035
|
+
}), Pv = { class: "ma-chatbot__input-wrapper" }, Fv = { class: "ma-chatbot__input-container" }, Iv = { class: "ma-chatbot__input-actions" }, Lv = {
|
|
22973
23036
|
key: 0,
|
|
22974
23037
|
class: "ma-chatbot__char-limit-hint"
|
|
22975
|
-
},
|
|
23038
|
+
}, Rv = /* @__PURE__ */ y({
|
|
22976
23039
|
__name: "MaChatbotInputArea",
|
|
22977
23040
|
props: /*@__PURE__*/ E({
|
|
22978
23041
|
placeholder: { default: void 0 },
|
|
@@ -23001,7 +23064,7 @@ var $_ = {
|
|
|
23001
23064
|
function h() {
|
|
23002
23065
|
r("stop");
|
|
23003
23066
|
}
|
|
23004
|
-
return (t, n) => (I(), p("div",
|
|
23067
|
+
return (t, n) => (I(), p("div", Pv, [m("div", Fv, [_(Pf, {
|
|
23005
23068
|
"model-value": i.value,
|
|
23006
23069
|
class: k(o.value ? "ma-chatbot__input-error" : ""),
|
|
23007
23070
|
placeholder: e.placeholder,
|
|
@@ -23021,7 +23084,7 @@ var $_ = {
|
|
|
23021
23084
|
"maxlength",
|
|
23022
23085
|
"error",
|
|
23023
23086
|
"onKeydown"
|
|
23024
|
-
]), m("div",
|
|
23087
|
+
]), m("div", Iv, [e.isBusy ? (I(), d(Z, {
|
|
23025
23088
|
key: 0,
|
|
23026
23089
|
icon: "stop",
|
|
23027
23090
|
class: "ma-chatbot__btn ma-chatbot__btn--stop",
|
|
@@ -23033,12 +23096,12 @@ var $_ = {
|
|
|
23033
23096
|
icon: "arrow-up",
|
|
23034
23097
|
color: "blue",
|
|
23035
23098
|
onClick: u
|
|
23036
|
-
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div",
|
|
23099
|
+
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div", Lv, [_(X, {
|
|
23037
23100
|
name: "info-circle-2-bold",
|
|
23038
23101
|
size: "sm"
|
|
23039
|
-
}), g(" " + H(W(
|
|
23102
|
+
}), g(" " + H(W(Zl)(W(a).config.localeMessages.chatbot?.charLimitMessage, { 0: e.maxLength })), 1)])) : f("", !0)]));
|
|
23040
23103
|
}
|
|
23041
|
-
}),
|
|
23104
|
+
}), zv = { class: "ma-chatbot__feedback-panel" }, Bv = { class: "ma-chatbot__feedback-panel-title" }, Vv = { class: "ma-chatbot__feedback-topics" }, Hv = ["onClick"], Uv = { class: "ma-chatbot__feedback-actions" }, Wv = /* @__PURE__ */ y({
|
|
23042
23105
|
__name: "MaChatbotFeedbackPanel",
|
|
23043
23106
|
props: { topics: { default: void 0 } },
|
|
23044
23107
|
emits: ["submit", "cancel"],
|
|
@@ -23056,9 +23119,9 @@ var $_ = {
|
|
|
23056
23119
|
function v() {
|
|
23057
23120
|
r("cancel");
|
|
23058
23121
|
}
|
|
23059
|
-
return (e, t) => (I(), p("div",
|
|
23060
|
-
m("div",
|
|
23061
|
-
m("div",
|
|
23122
|
+
return (e, t) => (I(), p("div", zv, [
|
|
23123
|
+
m("div", Bv, H(W(a).config.localeMessages.chatbot?.shareFeedback), 1),
|
|
23124
|
+
m("div", Vv, [(I(!0), p(i, null, z(o.value, (e) => (I(), p("button", {
|
|
23062
23125
|
key: e,
|
|
23063
23126
|
class: k(["ma-chatbot__feedback-topic", { "ma-chatbot__feedback-topic--selected": s.value === e }]),
|
|
23064
23127
|
onClick: (t) => u(e)
|
|
@@ -23067,8 +23130,8 @@ var $_ = {
|
|
|
23067
23130
|
class: "ma-chatbot__feedback-topic-close",
|
|
23068
23131
|
name: "close-circle-bold",
|
|
23069
23132
|
size: "xs"
|
|
23070
|
-
})) : f("", !0)], 10,
|
|
23071
|
-
_(
|
|
23133
|
+
})) : f("", !0)], 10, Hv))), 128))]),
|
|
23134
|
+
_(df, {
|
|
23072
23135
|
value: c.value,
|
|
23073
23136
|
"onUpdate:value": t[0] ||= (e) => c.value = e,
|
|
23074
23137
|
class: "ma-chatbot__feedback-input",
|
|
@@ -23076,7 +23139,7 @@ var $_ = {
|
|
|
23076
23139
|
placeholder: W(a).config.localeMessages.chatbot?.shareDetails,
|
|
23077
23140
|
size: "large"
|
|
23078
23141
|
}, null, 8, ["value", "placeholder"]),
|
|
23079
|
-
m("div",
|
|
23142
|
+
m("div", Uv, [_(Z, {
|
|
23080
23143
|
variant: "stroke",
|
|
23081
23144
|
onClick: v
|
|
23082
23145
|
}, {
|
|
@@ -23088,10 +23151,10 @@ var $_ = {
|
|
|
23088
23151
|
})])
|
|
23089
23152
|
]));
|
|
23090
23153
|
}
|
|
23091
|
-
}),
|
|
23154
|
+
}), Gv = { class: "ma-chatbot" }, Kv = {
|
|
23092
23155
|
key: 0,
|
|
23093
23156
|
class: "ma-chatbot__header-slot"
|
|
23094
|
-
},
|
|
23157
|
+
}, qv = { class: "ma-chatbot__input-area" }, Jv = /* @__PURE__ */ y({
|
|
23095
23158
|
__name: "index",
|
|
23096
23159
|
props: {
|
|
23097
23160
|
placeholder: {},
|
|
@@ -23114,15 +23177,15 @@ var $_ = {
|
|
|
23114
23177
|
"responseFinished"
|
|
23115
23178
|
],
|
|
23116
23179
|
setup(e, { expose: t, emit: n }) {
|
|
23117
|
-
let r = e, a = n, o =
|
|
23180
|
+
let r = e, a = n, o = pv(), s = ut();
|
|
23118
23181
|
F(() => o.stopStream());
|
|
23119
|
-
let { messages: c, userInput: u, messagesContainerRef: h, isBusy: g, hasMessages: v, error: y, renderMarkdown: b, isStreamingMessage: x, isErrorMessage: S, sendMessage: C, stopStream: w, resetChat: T, handlePromptSelect: E } =
|
|
23182
|
+
let { messages: c, userInput: u, messagesContainerRef: h, isBusy: g, hasMessages: v, error: y, renderMarkdown: b, isStreamingMessage: x, isErrorMessage: S, sendMessage: C, stopStream: w, resetChat: T, handlePromptSelect: E } = lv({
|
|
23120
23183
|
maOrgId: () => r.maOrgId,
|
|
23121
23184
|
mockStreamFn: () => r.mockStreamFn,
|
|
23122
23185
|
api: o,
|
|
23123
23186
|
onResponseStart: () => a("responseStarted"),
|
|
23124
23187
|
onResponseFinish: () => a("responseFinished")
|
|
23125
|
-
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } =
|
|
23188
|
+
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } = mv({ submitFeedbackApi: o.submitFeedback }), M = l(() => r.disabled || g.value), N = l(() => ({
|
|
23126
23189
|
guardrail: r.guardRailViolationMessage ?? s.config.localeMessages.chatbot?.guardRailViolationMessage,
|
|
23127
23190
|
timeout: r.timeoutErrorMessage ?? s.config.localeMessages.chatbot?.timeoutErrorMessage,
|
|
23128
23191
|
error: r.genericErrorMessage ?? s.config.localeMessages.chatbot?.genericErrorMessage
|
|
@@ -23163,11 +23226,11 @@ var $_ = {
|
|
|
23163
23226
|
isBusy: g,
|
|
23164
23227
|
error: y,
|
|
23165
23228
|
showFeedbackPanel: D
|
|
23166
|
-
}), (t, n) => (I(), p("div",
|
|
23229
|
+
}), (t, n) => (I(), p("div", Gv, [m("div", {
|
|
23167
23230
|
ref_key: "messagesContainerRef",
|
|
23168
23231
|
ref: h,
|
|
23169
23232
|
class: "ma-chatbot__messages"
|
|
23170
|
-
}, [W(v) ? f("", !0) : (I(), p("div",
|
|
23233
|
+
}, [W(v) ? f("", !0) : (I(), p("div", Kv, [B(t.$slots, "header")])), (I(!0), p(i, null, z(W(c), (e) => (I(), d(Nv, {
|
|
23171
23234
|
key: e.id,
|
|
23172
23235
|
message: e,
|
|
23173
23236
|
"is-streaming": W(x)(e),
|
|
@@ -23181,12 +23244,12 @@ var $_ = {
|
|
|
23181
23244
|
"error-message",
|
|
23182
23245
|
"rendered-html",
|
|
23183
23246
|
"onThumbsDown"
|
|
23184
|
-
]))), 128))], 512), m("div",
|
|
23247
|
+
]))), 128))], 512), m("div", qv, [W(D) ? (I(), d(Wv, {
|
|
23185
23248
|
key: 0,
|
|
23186
23249
|
onSubmit: ne,
|
|
23187
23250
|
onCancel: W(j)
|
|
23188
23251
|
}, null, 8, ["onCancel"])) : (I(), p(i, { key: 1 }, [
|
|
23189
|
-
e.suggestedPrompts.length ? (I(), d(
|
|
23252
|
+
e.suggestedPrompts.length ? (I(), d(_v, {
|
|
23190
23253
|
key: 0,
|
|
23191
23254
|
prompts: e.suggestedPrompts,
|
|
23192
23255
|
disabled: e.disabled || W(g),
|
|
@@ -23199,7 +23262,7 @@ var $_ = {
|
|
|
23199
23262
|
"onSelect"
|
|
23200
23263
|
])) : f("", !0),
|
|
23201
23264
|
B(t.$slots, "input-prepend"),
|
|
23202
|
-
_(
|
|
23265
|
+
_(Rv, {
|
|
23203
23266
|
"model-value": W(u),
|
|
23204
23267
|
placeholder: r.placeholder ?? W(s).config.localeMessages.chatbot?.placeholder,
|
|
23205
23268
|
disabled: M.value,
|
|
@@ -23215,11 +23278,11 @@ var $_ = {
|
|
|
23215
23278
|
])
|
|
23216
23279
|
], 64))])]));
|
|
23217
23280
|
}
|
|
23218
|
-
}), Nv = /*#__PURE__*/ JSON.parse("[{\"name\":\"United States\",\"alpha2\":\"US\",\"alpha3\":\"USA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-us\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"United Kingdom\",\"alpha2\":\"GB\",\"alpha3\":\"GBR\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gb\",\"countryCallingCodes\":[\"+44\"],\"currencies\":[\"GBP\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Australia\",\"alpha2\":\"AU\",\"alpha3\":\"AUS\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-au\",\"countryCallingCodes\":[\"+61\"],\"currencies\":[\"AUD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Brazil\",\"alpha2\":\"BR\",\"alpha3\":\"BRA\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-br\",\"countryCallingCodes\":[\"+55\"],\"currencies\":[\"BRL\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Canada\",\"alpha2\":\"CA\",\"alpha3\":\"CAN\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ca\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"CAD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Germany\",\"alpha2\":\"DE\",\"alpha3\":\"DEU\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-de\",\"countryCallingCodes\":[\"+49\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Albania\",\"alpha2\":\"AL\",\"alpha3\":\"ALB\",\"officialLanguageCode\":\"sq\",\"flag\":\"flag-al\",\"countryCallingCodes\":[\"+355\"],\"currencies\":[\"ALL\"],\"languages\":[{\"code\":\"sq\",\"name\":\"Albanian\",\"flag\":\"flag-al\"}]},{\"name\":\"Algeria\",\"alpha2\":\"DZ\",\"alpha3\":\"DZA\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-dz\",\"countryCallingCodes\":[\"+213\"],\"currencies\":[\"DZD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Argentina\",\"alpha2\":\"AR\",\"alpha3\":\"ARG\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ar\",\"countryCallingCodes\":[\"+54\"],\"currencies\":[\"ARS\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Austria\",\"alpha2\":\"AT\",\"alpha3\":\"AUT\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-at\",\"countryCallingCodes\":[\"+43\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Azerbaijan\",\"alpha2\":\"AZ\",\"alpha3\":\"AZE\",\"officialLanguageCode\":\"az\",\"flag\":\"flag-az\",\"countryCallingCodes\":[\"+994\"],\"currencies\":[\"AZN\"],\"languages\":[{\"code\":\"az\",\"name\":\"Azerbaijani\",\"flag\":\"flag-az\"}]},{\"name\":\"Bahrain\",\"alpha2\":\"BH\",\"alpha3\":\"BHR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-bh\",\"countryCallingCodes\":[\"+973\"],\"currencies\":[\"BHD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Bangladesh\",\"alpha2\":\"BD\",\"alpha3\":\"BGD\",\"officialLanguageCode\":\"bn\",\"flag\":\"flag-bd\",\"countryCallingCodes\":[\"+880\"],\"currencies\":[\"BDT\"],\"languages\":[{\"code\":\"bn\",\"name\":\"Bengali\",\"flag\":\"flag-bd\"}]},{\"name\":\"Belgium\",\"alpha2\":\"BE\",\"alpha3\":\"BEL\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-be\",\"countryCallingCodes\":[\"+32\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Bolivia\",\"alpha2\":\"BO\",\"alpha3\":\"BOL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-bo\",\"countryCallingCodes\":[\"+591\"],\"currencies\":[\"BOB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"ay\",\"name\":\"Aymara\",\"flag\":\"flag-bo\"},{\"code\":\"qu\",\"name\":\"Quechua\",\"flag\":\"flag-bo\"}]},{\"name\":\"Bulgaria\",\"alpha2\":\"BG\",\"alpha3\":\"BGR\",\"officialLanguageCode\":\"bg\",\"flag\":\"flag-bg\",\"countryCallingCodes\":[\"+359\"],\"currencies\":[\"BGN\"],\"languages\":[{\"code\":\"bg\",\"name\":\"Bulgarian\",\"flag\":\"flag-bg\"}]},{\"name\":\"Cambodia\",\"alpha2\":\"KH\",\"alpha3\":\"KHM\",\"officialLanguageCode\":\"km\",\"flag\":\"flag-kh\",\"countryCallingCodes\":[\"+855\"],\"currencies\":[\"KHR\"],\"languages\":[{\"code\":\"km\",\"name\":\"Khmer\",\"flag\":\"flag-kh\"}]},{\"name\":\"Chile\",\"alpha2\":\"CL\",\"alpha3\":\"CHL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cl\",\"countryCallingCodes\":[\"+56\"],\"currencies\":[\"CLP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"China\",\"alpha2\":\"CN\",\"alpha3\":\"CHN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-cn\",\"countryCallingCodes\":[\"+86\"],\"currencies\":[\"CNY\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Colombia\",\"alpha2\":\"CO\",\"alpha3\":\"COL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-co\",\"countryCallingCodes\":[\"+57\"],\"currencies\":[\"COP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Costa Rica\",\"alpha2\":\"CR\",\"alpha3\":\"CRI\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cr\",\"countryCallingCodes\":[\"+506\"],\"currencies\":[\"CRC\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Croatia\",\"alpha2\":\"HR\",\"alpha3\":\"HRV\",\"officialLanguageCode\":\"hr\",\"flag\":\"flag-hr\",\"countryCallingCodes\":[\"+385\"],\"currencies\":[\"HRK\"],\"languages\":[{\"code\":\"hr\",\"name\":\"Croatian\",\"flag\":\"flag-hr\"}]},{\"name\":\"Czech Republic\",\"alpha2\":\"CZ\",\"alpha3\":\"CZE\",\"officialLanguageCode\":\"cs\",\"flag\":\"flag-cz\",\"countryCallingCodes\":[\"+420\"],\"currencies\":[\"CZK\"],\"languages\":[{\"code\":\"cs\",\"name\":\"Czech\",\"flag\":\"flag-cz\"}]},{\"name\":\"Denmark\",\"alpha2\":\"DK\",\"alpha3\":\"DNK\",\"officialLanguageCode\":\"da\",\"flag\":\"flag-dk\",\"countryCallingCodes\":[\"+45\"],\"currencies\":[\"DKK\"],\"languages\":[{\"code\":\"da\",\"name\":\"Danish\",\"flag\":\"flag-dk\"}]},{\"name\":\"Dominican Republic\",\"alpha2\":\"DO\",\"alpha3\":\"DOM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-do\",\"countryCallingCodes\":[\"+1-809\"],\"currencies\":[\"DOP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Ecuador\",\"alpha2\":\"EC\",\"alpha3\":\"ECU\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ec\",\"countryCallingCodes\":[\"+593\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Egypt\",\"alpha2\":\"EG\",\"alpha3\":\"EGY\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-eg\",\"countryCallingCodes\":[\"+20\"],\"currencies\":[\"EGP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"El Salvador\",\"alpha2\":\"SV\",\"alpha3\":\"SLV\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-sv\",\"countryCallingCodes\":[\"+503\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Estonia\",\"alpha2\":\"EE\",\"alpha3\":\"EST\",\"officialLanguageCode\":\"et\",\"flag\":\"flag-ee\",\"countryCallingCodes\":[\"+372\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"et\",\"name\":\"Estonian\",\"flag\":\"flag-ee\"}]},{\"name\":\"Finland\",\"alpha2\":\"FI\",\"alpha3\":\"FIN\",\"officialLanguageCode\":\"fi\",\"flag\":\"flag-fi\",\"countryCallingCodes\":[\"+358\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fi\",\"name\":\"Finnish\",\"flag\":\"flag-fi\"},{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"France\",\"alpha2\":\"FR\",\"alpha3\":\"FRA\",\"officialLanguageCode\":\"fr\",\"flag\":\"flag-fr\",\"countryCallingCodes\":[\"+33\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Greece\",\"alpha2\":\"GR\",\"alpha3\":\"GRC\",\"officialLanguageCode\":\"el\",\"flag\":\"flag-gr\",\"countryCallingCodes\":[\"+30\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"}]},{\"name\":\"Guatemala\",\"alpha2\":\"GT\",\"alpha3\":\"GTM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-gt\",\"countryCallingCodes\":[\"+502\"],\"currencies\":[\"GTQ\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hong Kong\",\"alpha2\":\"HK\",\"alpha3\":\"HKG\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-hk\",\"countryCallingCodes\":[\"+852\"],\"currencies\":[\"HKD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Honduras\",\"alpha2\":\"HN\",\"alpha3\":\"HND\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-hn\",\"countryCallingCodes\":[\"+504\"],\"currencies\":[\"HNL\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hungary\",\"alpha2\":\"HU\",\"alpha3\":\"HUN\",\"officialLanguageCode\":\"hu\",\"flag\":\"flag-hu\",\"countryCallingCodes\":[\"+36\"],\"currencies\":[\"HUF\"],\"languages\":[{\"code\":\"hu\",\"name\":\"Hungarian\",\"flag\":\"flag-hu\"}]},{\"name\":\"Iceland\",\"alpha2\":\"IS\",\"alpha3\":\"ISL\",\"officialLanguageCode\":\"is\",\"flag\":\"flag-is\",\"countryCallingCodes\":[\"+354\"],\"currencies\":[\"ISK\"],\"languages\":[{\"code\":\"is\",\"name\":\"Icelandic\",\"flag\":\"flag-is\"}]},{\"name\":\"India\",\"alpha2\":\"IN\",\"alpha3\":\"IND\",\"officialLanguageCode\":\"hi\",\"flag\":\"flag-in\",\"countryCallingCodes\":[\"+91\"],\"currencies\":[\"INR\"],\"languages\":[{\"code\":\"hi\",\"name\":\"Hindi\",\"flag\":\"flag-in\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Indonesia\",\"alpha2\":\"ID\",\"alpha3\":\"IDN\",\"officialLanguageCode\":\"id\",\"flag\":\"flag-id\",\"countryCallingCodes\":[\"+62\"],\"currencies\":[\"IDR\"],\"languages\":[{\"code\":\"id\",\"name\":\"Indonesian\",\"flag\":\"flag-id\"}]},{\"name\":\"Iran\",\"alpha2\":\"IR\",\"alpha3\":\"IRN\",\"officialLanguageCode\":\"fa\",\"flag\":\"flag-ir\",\"countryCallingCodes\":[\"+98\"],\"currencies\":[\"IRR\"],\"languages\":[{\"code\":\"fa\",\"name\":\"Persian\",\"flag\":\"flag-ir\"}]},{\"name\":\"Iraq\",\"alpha2\":\"IQ\",\"alpha3\":\"IRQ\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-iq\",\"countryCallingCodes\":[\"+964\"],\"currencies\":[\"IQD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ku\",\"name\":\"Kurdish\",\"flag\":\"flag-iq\"}]},{\"name\":\"Ireland\",\"alpha2\":\"IE\",\"alpha3\":\"IRL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ie\",\"countryCallingCodes\":[\"+353\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"ga\",\"name\":\"Irish\",\"flag\":\"flag-ie\"}]},{\"name\":\"Israel\",\"alpha2\":\"IL\",\"alpha3\":\"ISR\",\"officialLanguageCode\":\"he\",\"flag\":\"flag-il\",\"countryCallingCodes\":[\"+972\"],\"currencies\":[\"ILS\"],\"languages\":[{\"code\":\"he\",\"name\":\"Hebrew\",\"flag\":\"flag-il\"},{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Italy\",\"alpha2\":\"IT\",\"alpha3\":\"ITA\",\"officialLanguageCode\":\"it\",\"flag\":\"flag-it\",\"countryCallingCodes\":[\"+39\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Jamaica\",\"alpha2\":\"JM\",\"alpha3\":\"JAM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-jm\",\"countryCallingCodes\":[\"+1-876\"],\"currencies\":[\"JMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Japan\",\"alpha2\":\"JP\",\"alpha3\":\"JPN\",\"officialLanguageCode\":\"ja\",\"flag\":\"flag-jp\",\"countryCallingCodes\":[\"+81\"],\"currencies\":[\"JPY\"],\"languages\":[{\"code\":\"ja\",\"name\":\"Japanese\",\"flag\":\"flag-jp\"}]},{\"name\":\"Jordan\",\"alpha2\":\"JO\",\"alpha3\":\"JOR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-jo\",\"countryCallingCodes\":[\"+962\"],\"currencies\":[\"JOD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Kazakhstan\",\"alpha2\":\"KZ\",\"alpha3\":\"KAZ\",\"officialLanguageCode\":\"kk\",\"flag\":\"flag-kz\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"KZT\"],\"languages\":[{\"code\":\"kk\",\"name\":\"Kazakh\",\"flag\":\"flag-kz\"},{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Kenya\",\"alpha2\":\"KE\",\"alpha3\":\"KEN\",\"officialLanguageCode\":\"sw\",\"flag\":\"flag-ke\",\"countryCallingCodes\":[\"+254\"],\"currencies\":[\"KES\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"sw\",\"name\":\"Swahili\",\"flag\":\"flag-ke\"}]},{\"name\":\"Kuwait\",\"alpha2\":\"KW\",\"alpha3\":\"KWT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-kw\",\"countryCallingCodes\":[\"+965\"],\"currencies\":[\"KWD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Lebanon\",\"alpha2\":\"LB\",\"alpha3\":\"LBN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-lb\",\"countryCallingCodes\":[\"+961\"],\"currencies\":[\"LBP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Liechtenstein\",\"alpha2\":\"LI\",\"alpha3\":\"LIE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-li\",\"countryCallingCodes\":[\"+423\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Lithuania\",\"alpha2\":\"LT\",\"alpha3\":\"LTU\",\"officialLanguageCode\":\"lt\",\"flag\":\"flag-lt\",\"countryCallingCodes\":[\"+370\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lt\",\"name\":\"Lithuanian\",\"flag\":\"flag-lt\"}]},{\"name\":\"Luxembourg\",\"alpha2\":\"LU\",\"alpha3\":\"LUX\",\"officialLanguageCode\":\"lb\",\"flag\":\"flag-lu\",\"countryCallingCodes\":[\"+352\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lb\",\"name\":\"Luxembourgish\",\"flag\":\"flag-lu\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Macau\",\"alpha2\":\"MO\",\"alpha3\":\"MAC\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-mo\",\"countryCallingCodes\":[\"+853\"],\"currencies\":[\"MOP\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Malaysia\",\"alpha2\":\"MY\",\"alpha3\":\"MYS\",\"officialLanguageCode\":\"ms\",\"flag\":\"flag-my\",\"countryCallingCodes\":[\"+60\"],\"currencies\":[\"MYR\"],\"languages\":[{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"}]},{\"name\":\"Malta\",\"alpha2\":\"MT\",\"alpha3\":\"MLT\",\"officialLanguageCode\":\"mt\",\"flag\":\"flag-mt\",\"countryCallingCodes\":[\"+356\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"mt\",\"name\":\"Maltese\",\"flag\":\"flag-mt\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Mexico\",\"alpha2\":\"MX\",\"alpha3\":\"MEX\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-mx\",\"countryCallingCodes\":[\"+52\"],\"currencies\":[\"MXN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Moldova\",\"alpha2\":\"MD\",\"alpha3\":\"MDA\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-md\",\"countryCallingCodes\":[\"+373\"],\"currencies\":[\"MDL\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Morocco\",\"alpha2\":\"MA\",\"alpha3\":\"MAR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ma\",\"countryCallingCodes\":[\"+212\"],\"currencies\":[\"MAD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Netherlands\",\"alpha2\":\"NL\",\"alpha3\":\"NLD\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-nl\",\"countryCallingCodes\":[\"+31\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"}]},{\"name\":\"New Zealand\",\"alpha2\":\"NZ\",\"alpha3\":\"NZL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-nz\",\"countryCallingCodes\":[\"+64\"],\"currencies\":[\"NZD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"mi\",\"name\":\"Maori\",\"flag\":\"flag-nz\"}]},{\"name\":\"Nicaragua\",\"alpha2\":\"NI\",\"alpha3\":\"NIC\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ni\",\"countryCallingCodes\":[\"+505\"],\"currencies\":[\"NIO\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Nigeria\",\"alpha2\":\"NG\",\"alpha3\":\"NGA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ng\",\"countryCallingCodes\":[\"+234\"],\"currencies\":[\"NGN\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"South Korea\",\"alpha2\":\"KR\",\"alpha3\":\"KOR\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kr\",\"countryCallingCodes\":[\"+82\"],\"currencies\":[\"KRW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"North Korea\",\"alpha2\":\"KP\",\"alpha3\":\"PRK\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kp\",\"countryCallingCodes\":[\"+850\"],\"currencies\":[\"KPW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"South Africa\",\"alpha2\":\"ZA\",\"alpha3\":\"ZAF\",\"officialLanguageCode\":\"af\",\"flag\":\"flag-za\",\"countryCallingCodes\":[\"+27\"],\"currencies\":[\"ZAR\"],\"languages\":[{\"code\":\"af\",\"name\":\"Afrikaans\",\"flag\":\"flag-za\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"nr\",\"name\":\"Southern Ndebele\",\"flag\":\"flag-za\"},{\"code\":\"st\",\"name\":\"Southern Sotho\",\"flag\":\"flag-za\"},{\"code\":\"ss\",\"name\":\"Swazi\",\"flag\":\"flag-za\"},{\"code\":\"tn\",\"name\":\"Tswana\",\"flag\":\"flag-za\"},{\"code\":\"ts\",\"name\":\"Tsonga\",\"flag\":\"flag-za\"},{\"code\":\"ve\",\"name\":\"Venda\",\"flag\":\"flag-za\"},{\"code\":\"xh\",\"name\":\"Xhosa\",\"flag\":\"flag-za\"},{\"code\":\"zu\",\"name\":\"Zulu\",\"flag\":\"flag-za\"}]},{\"name\":\"Norway\",\"alpha2\":\"NO\",\"alpha3\":\"NOR\",\"officialLanguageCode\":\"no\",\"flag\":\"flag-no\",\"countryCallingCodes\":[\"+47\"],\"currencies\":[\"NOK\"],\"languages\":[{\"code\":\"no\",\"name\":\"Norwegian\",\"flag\":\"flag-no\"},{\"code\":\"nb\",\"name\":\"Norwegian Bokmål\",\"flag\":\"flag-no\"},{\"code\":\"nn\",\"name\":\"Norwegian Nynorsk\",\"flag\":\"flag-no\"}]},{\"name\":\"Oman\",\"alpha2\":\"OM\",\"alpha3\":\"OMN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-om\",\"countryCallingCodes\":[\"+968\"],\"currencies\":[\"OMR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Pakistan\",\"alpha2\":\"PK\",\"alpha3\":\"PAK\",\"officialLanguageCode\":\"ur\",\"flag\":\"flag-pk\",\"countryCallingCodes\":[\"+92\"],\"currencies\":[\"PKR\"],\"languages\":[{\"code\":\"ur\",\"name\":\"Urdu\",\"flag\":\"flag-pk\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Panama\",\"alpha2\":\"PA\",\"alpha3\":\"PAN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pa\",\"countryCallingCodes\":[\"+507\"],\"currencies\":[\"PAB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Paraguay\",\"alpha2\":\"PY\",\"alpha3\":\"PRY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-py\",\"countryCallingCodes\":[\"+595\"],\"currencies\":[\"PYG\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"gn\",\"name\":\"Guarani\",\"flag\":\"flag-py\"}]},{\"name\":\"Peru\",\"alpha2\":\"PE\",\"alpha3\":\"PER\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pe\",\"countryCallingCodes\":[\"+51\"],\"currencies\":[\"PEN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Philippines\",\"alpha2\":\"PH\",\"alpha3\":\"PHL\",\"officialLanguageCode\":\"fil\",\"flag\":\"flag-ph\",\"countryCallingCodes\":[\"+63\"],\"currencies\":[\"PHP\"],\"languages\":[{\"code\":\"fil\",\"name\":\"Filipino\",\"flag\":\"flag-ph\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Poland\",\"alpha2\":\"PL\",\"alpha3\":\"POL\",\"officialLanguageCode\":\"pl\",\"flag\":\"flag-pl\",\"countryCallingCodes\":[\"+48\"],\"currencies\":[\"PLN\"],\"languages\":[{\"code\":\"pl\",\"name\":\"Polish\",\"flag\":\"flag-pl\"}]},{\"name\":\"Portugal\",\"alpha2\":\"PT\",\"alpha3\":\"PRT\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-pt\",\"countryCallingCodes\":[\"+351\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Qatar\",\"alpha2\":\"QA\",\"alpha3\":\"QAT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-qa\",\"countryCallingCodes\":[\"+974\"],\"currencies\":[\"QAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Romania\",\"alpha2\":\"RO\",\"alpha3\":\"ROU\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-ro\",\"countryCallingCodes\":[\"+40\"],\"currencies\":[\"RON\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Russia\",\"alpha2\":\"RU\",\"alpha3\":\"RUS\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-ru\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"RUB\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Saudi Arabia\",\"alpha2\":\"SA\",\"alpha3\":\"SAU\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-sa\",\"countryCallingCodes\":[\"+966\"],\"currencies\":[\"SAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Singapore\",\"alpha2\":\"SG\",\"alpha3\":\"SGP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-sg\",\"countryCallingCodes\":[\"+65\"],\"currencies\":[\"SGD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Slovakia\",\"alpha2\":\"SK\",\"alpha3\":\"SVK\",\"officialLanguageCode\":\"sk\",\"flag\":\"flag-sk\",\"countryCallingCodes\":[\"+421\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sk\",\"name\":\"Slovak\",\"flag\":\"flag-sk\"}]},{\"name\":\"Slovenia\",\"alpha2\":\"SI\",\"alpha3\":\"SVN\",\"officialLanguageCode\":\"sl\",\"flag\":\"flag-si\",\"countryCallingCodes\":[\"+386\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sl\",\"name\":\"Slovene\",\"flag\":\"flag-si\"}]},{\"name\":\"Spain\",\"alpha2\":\"ES\",\"alpha3\":\"ESP\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-es\",\"countryCallingCodes\":[\"+34\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Sri Lanka\",\"alpha2\":\"LK\",\"alpha3\":\"LKA\",\"officialLanguageCode\":\"si\",\"flag\":\"flag-lk\",\"countryCallingCodes\":[\"+94\"],\"currencies\":[\"LKR\"],\"languages\":[{\"code\":\"si\",\"name\":\"Sinhala\",\"flag\":\"flag-lk\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Sweden\",\"alpha2\":\"SE\",\"alpha3\":\"SWE\",\"officialLanguageCode\":\"sv\",\"flag\":\"flag-se\",\"countryCallingCodes\":[\"+46\"],\"currencies\":[\"SEK\"],\"languages\":[{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"Switzerland\",\"alpha2\":\"CH\",\"alpha3\":\"CHE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-ch\",\"countryCallingCodes\":[\"+41\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Taiwan\",\"alpha2\":\"TW\",\"alpha3\":\"TWN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-tw\",\"countryCallingCodes\":[\"+886\"],\"currencies\":[\"TWD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Thailand\",\"alpha2\":\"TH\",\"alpha3\":\"THA\",\"officialLanguageCode\":\"th\",\"flag\":\"flag-th\",\"countryCallingCodes\":[\"+66\"],\"currencies\":[\"THB\"],\"languages\":[{\"code\":\"th\",\"name\":\"Thai\",\"flag\":\"flag-th\"}]},{\"name\":\"Tunisia\",\"alpha2\":\"TN\",\"alpha3\":\"TUN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-tn\",\"countryCallingCodes\":[\"+216\"],\"currencies\":[\"TND\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Turkey\",\"alpha2\":\"TR\",\"alpha3\":\"TUR\",\"officialLanguageCode\":\"tr\",\"flag\":\"flag-tr\",\"countryCallingCodes\":[\"+90\"],\"currencies\":[\"TRY\"],\"languages\":[{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Ukraine\",\"alpha2\":\"UA\",\"alpha3\":\"UKR\",\"officialLanguageCode\":\"uk\",\"flag\":\"flag-ua\",\"countryCallingCodes\":[\"+380\"],\"currencies\":[\"UAH\"],\"languages\":[{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]},{\"name\":\"United Arab Emirates\",\"alpha2\":\"AE\",\"alpha3\":\"ARE\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ae\",\"countryCallingCodes\":[\"+971\"],\"currencies\":[\"AED\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Uruguay\",\"alpha2\":\"UY\",\"alpha3\":\"URY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-uy\",\"countryCallingCodes\":[\"+598\"],\"currencies\":[\"UYU\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Venezuela\",\"alpha2\":\"VE\",\"alpha3\":\"VEN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ve\",\"countryCallingCodes\":[\"+58\"],\"currencies\":[\"VES\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Vietnam\",\"alpha2\":\"VN\",\"alpha3\":\"VNM\",\"officialLanguageCode\":\"vi\",\"flag\":\"flag-vn\",\"countryCallingCodes\":[\"+84\"],\"currencies\":[\"VND\"],\"languages\":[{\"code\":\"vi\",\"name\":\"Vietnamese\",\"flag\":\"flag-vn\"}]},{\"name\":\"Latvia\",\"alpha2\":\"LV\",\"alpha3\":\"LVA\",\"officialLanguageCode\":\"lv\",\"flag\":\"flag-lv\",\"countryCallingCodes\":[\"+371\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lv\",\"name\":\"Latvian\",\"flag\":\"flag-lv\"}]},{\"name\":\"Mongolia\",\"alpha2\":\"MN\",\"alpha3\":\"MNG\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-mn\",\"countryCallingCodes\":[\"+976\"],\"currencies\":[\"MNT\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Uzbekistan\",\"alpha2\":\"UZ\",\"alpha3\":\"UZB\",\"officialLanguageCode\":\"uz\",\"flag\":\"flag-uz\",\"countryCallingCodes\":[\"+998\"],\"currencies\":[\"UZS\"],\"languages\":[{\"code\":\"uz\",\"name\":\"Uzbek\",\"flag\":\"flag-uz\"}]},{\"name\":\"Ghana\",\"alpha2\":\"GH\",\"alpha3\":\"GHA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gh\",\"countryCallingCodes\":[\"+233\"],\"currencies\":[\"GHS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Cyprus\",\"alpha2\":\"CY\",\"alpha3\":\"CYP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-cy\",\"countryCallingCodes\":[\"+357\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"},{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Armenia\",\"alpha2\":\"AM\",\"alpha3\":\"ARM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-am\",\"countryCallingCodes\":[\"+374\"],\"currencies\":[\"AMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Nepal\",\"alpha2\":\"NP\",\"alpha3\":\"NPL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-np\",\"countryCallingCodes\":[\"+977\"],\"currencies\":[\"NPR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Kyrgyzstan\",\"alpha2\":\"KG\",\"alpha3\":\"KGZ\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-kg\",\"countryCallingCodes\":[\"+996\"],\"currencies\":[\"KGS\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]}]"), Pv = "https://files.mobileaction.co/flags/svg", Fv = new class e {
|
|
23219
|
-
static countriesData = Object.freeze(
|
|
23281
|
+
}), Yv = /*#__PURE__*/ JSON.parse("[{\"name\":\"United States\",\"alpha2\":\"US\",\"alpha3\":\"USA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-us\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"United Kingdom\",\"alpha2\":\"GB\",\"alpha3\":\"GBR\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gb\",\"countryCallingCodes\":[\"+44\"],\"currencies\":[\"GBP\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Australia\",\"alpha2\":\"AU\",\"alpha3\":\"AUS\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-au\",\"countryCallingCodes\":[\"+61\"],\"currencies\":[\"AUD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Brazil\",\"alpha2\":\"BR\",\"alpha3\":\"BRA\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-br\",\"countryCallingCodes\":[\"+55\"],\"currencies\":[\"BRL\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Canada\",\"alpha2\":\"CA\",\"alpha3\":\"CAN\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ca\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"CAD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Germany\",\"alpha2\":\"DE\",\"alpha3\":\"DEU\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-de\",\"countryCallingCodes\":[\"+49\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Albania\",\"alpha2\":\"AL\",\"alpha3\":\"ALB\",\"officialLanguageCode\":\"sq\",\"flag\":\"flag-al\",\"countryCallingCodes\":[\"+355\"],\"currencies\":[\"ALL\"],\"languages\":[{\"code\":\"sq\",\"name\":\"Albanian\",\"flag\":\"flag-al\"}]},{\"name\":\"Algeria\",\"alpha2\":\"DZ\",\"alpha3\":\"DZA\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-dz\",\"countryCallingCodes\":[\"+213\"],\"currencies\":[\"DZD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Argentina\",\"alpha2\":\"AR\",\"alpha3\":\"ARG\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ar\",\"countryCallingCodes\":[\"+54\"],\"currencies\":[\"ARS\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Austria\",\"alpha2\":\"AT\",\"alpha3\":\"AUT\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-at\",\"countryCallingCodes\":[\"+43\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Azerbaijan\",\"alpha2\":\"AZ\",\"alpha3\":\"AZE\",\"officialLanguageCode\":\"az\",\"flag\":\"flag-az\",\"countryCallingCodes\":[\"+994\"],\"currencies\":[\"AZN\"],\"languages\":[{\"code\":\"az\",\"name\":\"Azerbaijani\",\"flag\":\"flag-az\"}]},{\"name\":\"Bahrain\",\"alpha2\":\"BH\",\"alpha3\":\"BHR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-bh\",\"countryCallingCodes\":[\"+973\"],\"currencies\":[\"BHD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Bangladesh\",\"alpha2\":\"BD\",\"alpha3\":\"BGD\",\"officialLanguageCode\":\"bn\",\"flag\":\"flag-bd\",\"countryCallingCodes\":[\"+880\"],\"currencies\":[\"BDT\"],\"languages\":[{\"code\":\"bn\",\"name\":\"Bengali\",\"flag\":\"flag-bd\"}]},{\"name\":\"Belgium\",\"alpha2\":\"BE\",\"alpha3\":\"BEL\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-be\",\"countryCallingCodes\":[\"+32\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Bolivia\",\"alpha2\":\"BO\",\"alpha3\":\"BOL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-bo\",\"countryCallingCodes\":[\"+591\"],\"currencies\":[\"BOB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"ay\",\"name\":\"Aymara\",\"flag\":\"flag-bo\"},{\"code\":\"qu\",\"name\":\"Quechua\",\"flag\":\"flag-bo\"}]},{\"name\":\"Bulgaria\",\"alpha2\":\"BG\",\"alpha3\":\"BGR\",\"officialLanguageCode\":\"bg\",\"flag\":\"flag-bg\",\"countryCallingCodes\":[\"+359\"],\"currencies\":[\"BGN\"],\"languages\":[{\"code\":\"bg\",\"name\":\"Bulgarian\",\"flag\":\"flag-bg\"}]},{\"name\":\"Cambodia\",\"alpha2\":\"KH\",\"alpha3\":\"KHM\",\"officialLanguageCode\":\"km\",\"flag\":\"flag-kh\",\"countryCallingCodes\":[\"+855\"],\"currencies\":[\"KHR\"],\"languages\":[{\"code\":\"km\",\"name\":\"Khmer\",\"flag\":\"flag-kh\"}]},{\"name\":\"Chile\",\"alpha2\":\"CL\",\"alpha3\":\"CHL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cl\",\"countryCallingCodes\":[\"+56\"],\"currencies\":[\"CLP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"China\",\"alpha2\":\"CN\",\"alpha3\":\"CHN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-cn\",\"countryCallingCodes\":[\"+86\"],\"currencies\":[\"CNY\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Colombia\",\"alpha2\":\"CO\",\"alpha3\":\"COL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-co\",\"countryCallingCodes\":[\"+57\"],\"currencies\":[\"COP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Costa Rica\",\"alpha2\":\"CR\",\"alpha3\":\"CRI\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cr\",\"countryCallingCodes\":[\"+506\"],\"currencies\":[\"CRC\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Croatia\",\"alpha2\":\"HR\",\"alpha3\":\"HRV\",\"officialLanguageCode\":\"hr\",\"flag\":\"flag-hr\",\"countryCallingCodes\":[\"+385\"],\"currencies\":[\"HRK\"],\"languages\":[{\"code\":\"hr\",\"name\":\"Croatian\",\"flag\":\"flag-hr\"}]},{\"name\":\"Czech Republic\",\"alpha2\":\"CZ\",\"alpha3\":\"CZE\",\"officialLanguageCode\":\"cs\",\"flag\":\"flag-cz\",\"countryCallingCodes\":[\"+420\"],\"currencies\":[\"CZK\"],\"languages\":[{\"code\":\"cs\",\"name\":\"Czech\",\"flag\":\"flag-cz\"}]},{\"name\":\"Denmark\",\"alpha2\":\"DK\",\"alpha3\":\"DNK\",\"officialLanguageCode\":\"da\",\"flag\":\"flag-dk\",\"countryCallingCodes\":[\"+45\"],\"currencies\":[\"DKK\"],\"languages\":[{\"code\":\"da\",\"name\":\"Danish\",\"flag\":\"flag-dk\"}]},{\"name\":\"Dominican Republic\",\"alpha2\":\"DO\",\"alpha3\":\"DOM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-do\",\"countryCallingCodes\":[\"+1-809\"],\"currencies\":[\"DOP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Ecuador\",\"alpha2\":\"EC\",\"alpha3\":\"ECU\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ec\",\"countryCallingCodes\":[\"+593\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Egypt\",\"alpha2\":\"EG\",\"alpha3\":\"EGY\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-eg\",\"countryCallingCodes\":[\"+20\"],\"currencies\":[\"EGP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"El Salvador\",\"alpha2\":\"SV\",\"alpha3\":\"SLV\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-sv\",\"countryCallingCodes\":[\"+503\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Estonia\",\"alpha2\":\"EE\",\"alpha3\":\"EST\",\"officialLanguageCode\":\"et\",\"flag\":\"flag-ee\",\"countryCallingCodes\":[\"+372\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"et\",\"name\":\"Estonian\",\"flag\":\"flag-ee\"}]},{\"name\":\"Finland\",\"alpha2\":\"FI\",\"alpha3\":\"FIN\",\"officialLanguageCode\":\"fi\",\"flag\":\"flag-fi\",\"countryCallingCodes\":[\"+358\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fi\",\"name\":\"Finnish\",\"flag\":\"flag-fi\"},{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"France\",\"alpha2\":\"FR\",\"alpha3\":\"FRA\",\"officialLanguageCode\":\"fr\",\"flag\":\"flag-fr\",\"countryCallingCodes\":[\"+33\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Greece\",\"alpha2\":\"GR\",\"alpha3\":\"GRC\",\"officialLanguageCode\":\"el\",\"flag\":\"flag-gr\",\"countryCallingCodes\":[\"+30\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"}]},{\"name\":\"Guatemala\",\"alpha2\":\"GT\",\"alpha3\":\"GTM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-gt\",\"countryCallingCodes\":[\"+502\"],\"currencies\":[\"GTQ\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hong Kong\",\"alpha2\":\"HK\",\"alpha3\":\"HKG\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-hk\",\"countryCallingCodes\":[\"+852\"],\"currencies\":[\"HKD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Honduras\",\"alpha2\":\"HN\",\"alpha3\":\"HND\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-hn\",\"countryCallingCodes\":[\"+504\"],\"currencies\":[\"HNL\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hungary\",\"alpha2\":\"HU\",\"alpha3\":\"HUN\",\"officialLanguageCode\":\"hu\",\"flag\":\"flag-hu\",\"countryCallingCodes\":[\"+36\"],\"currencies\":[\"HUF\"],\"languages\":[{\"code\":\"hu\",\"name\":\"Hungarian\",\"flag\":\"flag-hu\"}]},{\"name\":\"Iceland\",\"alpha2\":\"IS\",\"alpha3\":\"ISL\",\"officialLanguageCode\":\"is\",\"flag\":\"flag-is\",\"countryCallingCodes\":[\"+354\"],\"currencies\":[\"ISK\"],\"languages\":[{\"code\":\"is\",\"name\":\"Icelandic\",\"flag\":\"flag-is\"}]},{\"name\":\"India\",\"alpha2\":\"IN\",\"alpha3\":\"IND\",\"officialLanguageCode\":\"hi\",\"flag\":\"flag-in\",\"countryCallingCodes\":[\"+91\"],\"currencies\":[\"INR\"],\"languages\":[{\"code\":\"hi\",\"name\":\"Hindi\",\"flag\":\"flag-in\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Indonesia\",\"alpha2\":\"ID\",\"alpha3\":\"IDN\",\"officialLanguageCode\":\"id\",\"flag\":\"flag-id\",\"countryCallingCodes\":[\"+62\"],\"currencies\":[\"IDR\"],\"languages\":[{\"code\":\"id\",\"name\":\"Indonesian\",\"flag\":\"flag-id\"}]},{\"name\":\"Iran\",\"alpha2\":\"IR\",\"alpha3\":\"IRN\",\"officialLanguageCode\":\"fa\",\"flag\":\"flag-ir\",\"countryCallingCodes\":[\"+98\"],\"currencies\":[\"IRR\"],\"languages\":[{\"code\":\"fa\",\"name\":\"Persian\",\"flag\":\"flag-ir\"}]},{\"name\":\"Iraq\",\"alpha2\":\"IQ\",\"alpha3\":\"IRQ\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-iq\",\"countryCallingCodes\":[\"+964\"],\"currencies\":[\"IQD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ku\",\"name\":\"Kurdish\",\"flag\":\"flag-iq\"}]},{\"name\":\"Ireland\",\"alpha2\":\"IE\",\"alpha3\":\"IRL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ie\",\"countryCallingCodes\":[\"+353\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"ga\",\"name\":\"Irish\",\"flag\":\"flag-ie\"}]},{\"name\":\"Israel\",\"alpha2\":\"IL\",\"alpha3\":\"ISR\",\"officialLanguageCode\":\"he\",\"flag\":\"flag-il\",\"countryCallingCodes\":[\"+972\"],\"currencies\":[\"ILS\"],\"languages\":[{\"code\":\"he\",\"name\":\"Hebrew\",\"flag\":\"flag-il\"},{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Italy\",\"alpha2\":\"IT\",\"alpha3\":\"ITA\",\"officialLanguageCode\":\"it\",\"flag\":\"flag-it\",\"countryCallingCodes\":[\"+39\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Jamaica\",\"alpha2\":\"JM\",\"alpha3\":\"JAM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-jm\",\"countryCallingCodes\":[\"+1-876\"],\"currencies\":[\"JMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Japan\",\"alpha2\":\"JP\",\"alpha3\":\"JPN\",\"officialLanguageCode\":\"ja\",\"flag\":\"flag-jp\",\"countryCallingCodes\":[\"+81\"],\"currencies\":[\"JPY\"],\"languages\":[{\"code\":\"ja\",\"name\":\"Japanese\",\"flag\":\"flag-jp\"}]},{\"name\":\"Jordan\",\"alpha2\":\"JO\",\"alpha3\":\"JOR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-jo\",\"countryCallingCodes\":[\"+962\"],\"currencies\":[\"JOD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Kazakhstan\",\"alpha2\":\"KZ\",\"alpha3\":\"KAZ\",\"officialLanguageCode\":\"kk\",\"flag\":\"flag-kz\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"KZT\"],\"languages\":[{\"code\":\"kk\",\"name\":\"Kazakh\",\"flag\":\"flag-kz\"},{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Kenya\",\"alpha2\":\"KE\",\"alpha3\":\"KEN\",\"officialLanguageCode\":\"sw\",\"flag\":\"flag-ke\",\"countryCallingCodes\":[\"+254\"],\"currencies\":[\"KES\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"sw\",\"name\":\"Swahili\",\"flag\":\"flag-ke\"}]},{\"name\":\"Kuwait\",\"alpha2\":\"KW\",\"alpha3\":\"KWT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-kw\",\"countryCallingCodes\":[\"+965\"],\"currencies\":[\"KWD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Lebanon\",\"alpha2\":\"LB\",\"alpha3\":\"LBN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-lb\",\"countryCallingCodes\":[\"+961\"],\"currencies\":[\"LBP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Liechtenstein\",\"alpha2\":\"LI\",\"alpha3\":\"LIE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-li\",\"countryCallingCodes\":[\"+423\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Lithuania\",\"alpha2\":\"LT\",\"alpha3\":\"LTU\",\"officialLanguageCode\":\"lt\",\"flag\":\"flag-lt\",\"countryCallingCodes\":[\"+370\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lt\",\"name\":\"Lithuanian\",\"flag\":\"flag-lt\"}]},{\"name\":\"Luxembourg\",\"alpha2\":\"LU\",\"alpha3\":\"LUX\",\"officialLanguageCode\":\"lb\",\"flag\":\"flag-lu\",\"countryCallingCodes\":[\"+352\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lb\",\"name\":\"Luxembourgish\",\"flag\":\"flag-lu\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Macau\",\"alpha2\":\"MO\",\"alpha3\":\"MAC\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-mo\",\"countryCallingCodes\":[\"+853\"],\"currencies\":[\"MOP\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Malaysia\",\"alpha2\":\"MY\",\"alpha3\":\"MYS\",\"officialLanguageCode\":\"ms\",\"flag\":\"flag-my\",\"countryCallingCodes\":[\"+60\"],\"currencies\":[\"MYR\"],\"languages\":[{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"}]},{\"name\":\"Malta\",\"alpha2\":\"MT\",\"alpha3\":\"MLT\",\"officialLanguageCode\":\"mt\",\"flag\":\"flag-mt\",\"countryCallingCodes\":[\"+356\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"mt\",\"name\":\"Maltese\",\"flag\":\"flag-mt\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Mexico\",\"alpha2\":\"MX\",\"alpha3\":\"MEX\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-mx\",\"countryCallingCodes\":[\"+52\"],\"currencies\":[\"MXN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Moldova\",\"alpha2\":\"MD\",\"alpha3\":\"MDA\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-md\",\"countryCallingCodes\":[\"+373\"],\"currencies\":[\"MDL\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Morocco\",\"alpha2\":\"MA\",\"alpha3\":\"MAR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ma\",\"countryCallingCodes\":[\"+212\"],\"currencies\":[\"MAD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Netherlands\",\"alpha2\":\"NL\",\"alpha3\":\"NLD\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-nl\",\"countryCallingCodes\":[\"+31\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"}]},{\"name\":\"New Zealand\",\"alpha2\":\"NZ\",\"alpha3\":\"NZL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-nz\",\"countryCallingCodes\":[\"+64\"],\"currencies\":[\"NZD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"mi\",\"name\":\"Maori\",\"flag\":\"flag-nz\"}]},{\"name\":\"Nicaragua\",\"alpha2\":\"NI\",\"alpha3\":\"NIC\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ni\",\"countryCallingCodes\":[\"+505\"],\"currencies\":[\"NIO\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Nigeria\",\"alpha2\":\"NG\",\"alpha3\":\"NGA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ng\",\"countryCallingCodes\":[\"+234\"],\"currencies\":[\"NGN\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"South Korea\",\"alpha2\":\"KR\",\"alpha3\":\"KOR\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kr\",\"countryCallingCodes\":[\"+82\"],\"currencies\":[\"KRW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"North Korea\",\"alpha2\":\"KP\",\"alpha3\":\"PRK\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kp\",\"countryCallingCodes\":[\"+850\"],\"currencies\":[\"KPW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"South Africa\",\"alpha2\":\"ZA\",\"alpha3\":\"ZAF\",\"officialLanguageCode\":\"af\",\"flag\":\"flag-za\",\"countryCallingCodes\":[\"+27\"],\"currencies\":[\"ZAR\"],\"languages\":[{\"code\":\"af\",\"name\":\"Afrikaans\",\"flag\":\"flag-za\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"nr\",\"name\":\"Southern Ndebele\",\"flag\":\"flag-za\"},{\"code\":\"st\",\"name\":\"Southern Sotho\",\"flag\":\"flag-za\"},{\"code\":\"ss\",\"name\":\"Swazi\",\"flag\":\"flag-za\"},{\"code\":\"tn\",\"name\":\"Tswana\",\"flag\":\"flag-za\"},{\"code\":\"ts\",\"name\":\"Tsonga\",\"flag\":\"flag-za\"},{\"code\":\"ve\",\"name\":\"Venda\",\"flag\":\"flag-za\"},{\"code\":\"xh\",\"name\":\"Xhosa\",\"flag\":\"flag-za\"},{\"code\":\"zu\",\"name\":\"Zulu\",\"flag\":\"flag-za\"}]},{\"name\":\"Norway\",\"alpha2\":\"NO\",\"alpha3\":\"NOR\",\"officialLanguageCode\":\"no\",\"flag\":\"flag-no\",\"countryCallingCodes\":[\"+47\"],\"currencies\":[\"NOK\"],\"languages\":[{\"code\":\"no\",\"name\":\"Norwegian\",\"flag\":\"flag-no\"},{\"code\":\"nb\",\"name\":\"Norwegian Bokmål\",\"flag\":\"flag-no\"},{\"code\":\"nn\",\"name\":\"Norwegian Nynorsk\",\"flag\":\"flag-no\"}]},{\"name\":\"Oman\",\"alpha2\":\"OM\",\"alpha3\":\"OMN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-om\",\"countryCallingCodes\":[\"+968\"],\"currencies\":[\"OMR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Pakistan\",\"alpha2\":\"PK\",\"alpha3\":\"PAK\",\"officialLanguageCode\":\"ur\",\"flag\":\"flag-pk\",\"countryCallingCodes\":[\"+92\"],\"currencies\":[\"PKR\"],\"languages\":[{\"code\":\"ur\",\"name\":\"Urdu\",\"flag\":\"flag-pk\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Panama\",\"alpha2\":\"PA\",\"alpha3\":\"PAN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pa\",\"countryCallingCodes\":[\"+507\"],\"currencies\":[\"PAB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Paraguay\",\"alpha2\":\"PY\",\"alpha3\":\"PRY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-py\",\"countryCallingCodes\":[\"+595\"],\"currencies\":[\"PYG\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"gn\",\"name\":\"Guarani\",\"flag\":\"flag-py\"}]},{\"name\":\"Peru\",\"alpha2\":\"PE\",\"alpha3\":\"PER\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pe\",\"countryCallingCodes\":[\"+51\"],\"currencies\":[\"PEN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Philippines\",\"alpha2\":\"PH\",\"alpha3\":\"PHL\",\"officialLanguageCode\":\"fil\",\"flag\":\"flag-ph\",\"countryCallingCodes\":[\"+63\"],\"currencies\":[\"PHP\"],\"languages\":[{\"code\":\"fil\",\"name\":\"Filipino\",\"flag\":\"flag-ph\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Poland\",\"alpha2\":\"PL\",\"alpha3\":\"POL\",\"officialLanguageCode\":\"pl\",\"flag\":\"flag-pl\",\"countryCallingCodes\":[\"+48\"],\"currencies\":[\"PLN\"],\"languages\":[{\"code\":\"pl\",\"name\":\"Polish\",\"flag\":\"flag-pl\"}]},{\"name\":\"Portugal\",\"alpha2\":\"PT\",\"alpha3\":\"PRT\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-pt\",\"countryCallingCodes\":[\"+351\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Qatar\",\"alpha2\":\"QA\",\"alpha3\":\"QAT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-qa\",\"countryCallingCodes\":[\"+974\"],\"currencies\":[\"QAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Romania\",\"alpha2\":\"RO\",\"alpha3\":\"ROU\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-ro\",\"countryCallingCodes\":[\"+40\"],\"currencies\":[\"RON\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Russia\",\"alpha2\":\"RU\",\"alpha3\":\"RUS\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-ru\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"RUB\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Saudi Arabia\",\"alpha2\":\"SA\",\"alpha3\":\"SAU\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-sa\",\"countryCallingCodes\":[\"+966\"],\"currencies\":[\"SAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Singapore\",\"alpha2\":\"SG\",\"alpha3\":\"SGP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-sg\",\"countryCallingCodes\":[\"+65\"],\"currencies\":[\"SGD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Slovakia\",\"alpha2\":\"SK\",\"alpha3\":\"SVK\",\"officialLanguageCode\":\"sk\",\"flag\":\"flag-sk\",\"countryCallingCodes\":[\"+421\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sk\",\"name\":\"Slovak\",\"flag\":\"flag-sk\"}]},{\"name\":\"Slovenia\",\"alpha2\":\"SI\",\"alpha3\":\"SVN\",\"officialLanguageCode\":\"sl\",\"flag\":\"flag-si\",\"countryCallingCodes\":[\"+386\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sl\",\"name\":\"Slovene\",\"flag\":\"flag-si\"}]},{\"name\":\"Spain\",\"alpha2\":\"ES\",\"alpha3\":\"ESP\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-es\",\"countryCallingCodes\":[\"+34\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Sri Lanka\",\"alpha2\":\"LK\",\"alpha3\":\"LKA\",\"officialLanguageCode\":\"si\",\"flag\":\"flag-lk\",\"countryCallingCodes\":[\"+94\"],\"currencies\":[\"LKR\"],\"languages\":[{\"code\":\"si\",\"name\":\"Sinhala\",\"flag\":\"flag-lk\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Sweden\",\"alpha2\":\"SE\",\"alpha3\":\"SWE\",\"officialLanguageCode\":\"sv\",\"flag\":\"flag-se\",\"countryCallingCodes\":[\"+46\"],\"currencies\":[\"SEK\"],\"languages\":[{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"Switzerland\",\"alpha2\":\"CH\",\"alpha3\":\"CHE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-ch\",\"countryCallingCodes\":[\"+41\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Taiwan\",\"alpha2\":\"TW\",\"alpha3\":\"TWN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-tw\",\"countryCallingCodes\":[\"+886\"],\"currencies\":[\"TWD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Thailand\",\"alpha2\":\"TH\",\"alpha3\":\"THA\",\"officialLanguageCode\":\"th\",\"flag\":\"flag-th\",\"countryCallingCodes\":[\"+66\"],\"currencies\":[\"THB\"],\"languages\":[{\"code\":\"th\",\"name\":\"Thai\",\"flag\":\"flag-th\"}]},{\"name\":\"Tunisia\",\"alpha2\":\"TN\",\"alpha3\":\"TUN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-tn\",\"countryCallingCodes\":[\"+216\"],\"currencies\":[\"TND\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Turkey\",\"alpha2\":\"TR\",\"alpha3\":\"TUR\",\"officialLanguageCode\":\"tr\",\"flag\":\"flag-tr\",\"countryCallingCodes\":[\"+90\"],\"currencies\":[\"TRY\"],\"languages\":[{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Ukraine\",\"alpha2\":\"UA\",\"alpha3\":\"UKR\",\"officialLanguageCode\":\"uk\",\"flag\":\"flag-ua\",\"countryCallingCodes\":[\"+380\"],\"currencies\":[\"UAH\"],\"languages\":[{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]},{\"name\":\"United Arab Emirates\",\"alpha2\":\"AE\",\"alpha3\":\"ARE\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ae\",\"countryCallingCodes\":[\"+971\"],\"currencies\":[\"AED\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Uruguay\",\"alpha2\":\"UY\",\"alpha3\":\"URY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-uy\",\"countryCallingCodes\":[\"+598\"],\"currencies\":[\"UYU\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Venezuela\",\"alpha2\":\"VE\",\"alpha3\":\"VEN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ve\",\"countryCallingCodes\":[\"+58\"],\"currencies\":[\"VES\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Vietnam\",\"alpha2\":\"VN\",\"alpha3\":\"VNM\",\"officialLanguageCode\":\"vi\",\"flag\":\"flag-vn\",\"countryCallingCodes\":[\"+84\"],\"currencies\":[\"VND\"],\"languages\":[{\"code\":\"vi\",\"name\":\"Vietnamese\",\"flag\":\"flag-vn\"}]},{\"name\":\"Latvia\",\"alpha2\":\"LV\",\"alpha3\":\"LVA\",\"officialLanguageCode\":\"lv\",\"flag\":\"flag-lv\",\"countryCallingCodes\":[\"+371\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lv\",\"name\":\"Latvian\",\"flag\":\"flag-lv\"}]},{\"name\":\"Mongolia\",\"alpha2\":\"MN\",\"alpha3\":\"MNG\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-mn\",\"countryCallingCodes\":[\"+976\"],\"currencies\":[\"MNT\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Uzbekistan\",\"alpha2\":\"UZ\",\"alpha3\":\"UZB\",\"officialLanguageCode\":\"uz\",\"flag\":\"flag-uz\",\"countryCallingCodes\":[\"+998\"],\"currencies\":[\"UZS\"],\"languages\":[{\"code\":\"uz\",\"name\":\"Uzbek\",\"flag\":\"flag-uz\"}]},{\"name\":\"Ghana\",\"alpha2\":\"GH\",\"alpha3\":\"GHA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gh\",\"countryCallingCodes\":[\"+233\"],\"currencies\":[\"GHS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Cyprus\",\"alpha2\":\"CY\",\"alpha3\":\"CYP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-cy\",\"countryCallingCodes\":[\"+357\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"},{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Armenia\",\"alpha2\":\"AM\",\"alpha3\":\"ARM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-am\",\"countryCallingCodes\":[\"+374\"],\"currencies\":[\"AMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Nepal\",\"alpha2\":\"NP\",\"alpha3\":\"NPL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-np\",\"countryCallingCodes\":[\"+977\"],\"currencies\":[\"NPR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Kyrgyzstan\",\"alpha2\":\"KG\",\"alpha3\":\"KGZ\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-kg\",\"countryCallingCodes\":[\"+996\"],\"currencies\":[\"KGS\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]}]"), Xv = "https://files.mobileaction.co/flags/svg", Zv = new class e {
|
|
23282
|
+
static countriesData = Object.freeze(Yv);
|
|
23220
23283
|
findCountryByCountryCode(t) {
|
|
23221
|
-
let n = e.countriesData.find((e) =>
|
|
23222
|
-
return n ? (0,
|
|
23284
|
+
let n = e.countriesData.find((e) => Xl(e.alpha2, t) || Xl(e.alpha3, t));
|
|
23285
|
+
return n ? (0, Dd.cloneDeep)(n) : void 0;
|
|
23223
23286
|
}
|
|
23224
23287
|
findCountriesByCountryCodeList(e) {
|
|
23225
23288
|
return e.map((e) => this.findCountryByCountryCode(e)).filter((e) => !!e);
|
|
@@ -23231,14 +23294,14 @@ var $_ = {
|
|
|
23231
23294
|
return e ? this.getCountryBy("name", e) || e : "";
|
|
23232
23295
|
}
|
|
23233
23296
|
findCountryByLanguageCode(t) {
|
|
23234
|
-
let n = e.countriesData.find((e) => e.languages?.some((e) =>
|
|
23235
|
-
return n ? (0,
|
|
23297
|
+
let n = e.countriesData.find((e) => e.languages?.some((e) => Xl(e.code, t)));
|
|
23298
|
+
return n ? (0, Dd.cloneDeep)(n) : void 0;
|
|
23236
23299
|
}
|
|
23237
23300
|
getCountryCodeByLanguageCode(e) {
|
|
23238
23301
|
return this.findCountryByLanguageCode(e)?.alpha2;
|
|
23239
23302
|
}
|
|
23240
23303
|
getAllCountryList() {
|
|
23241
|
-
return (0,
|
|
23304
|
+
return (0, Dd.cloneDeep)(e.countriesData);
|
|
23242
23305
|
}
|
|
23243
23306
|
getSortedCountries(e = {}) {
|
|
23244
23307
|
let { topCountryCodes: t = [
|
|
@@ -23250,7 +23313,7 @@ var $_ = {
|
|
|
23250
23313
|
"DE"
|
|
23251
23314
|
], sortBy: n = "asc", countries: r = this.getAllCountryList() } = e, i = [];
|
|
23252
23315
|
if (Array.isArray(r) && (i = typeof r[0] == "string" ? this.findCountriesByCountryCodeList(r) : r), !i.length) return [];
|
|
23253
|
-
let a = this.findCountriesByCountryCodeList(t).filter((e) => i.some((t) =>
|
|
23316
|
+
let a = this.findCountriesByCountryCodeList(t).filter((e) => i.some((t) => Xl(t.alpha2, e.alpha2) || Xl(t.alpha3, e.alpha3))), o = i.filter((e) => !a.some((t) => Xl(t.alpha2, e.alpha2) || Xl(t.alpha3, e.alpha3))).sort((e, t) => {
|
|
23254
23317
|
let r = e.name, i = t.name;
|
|
23255
23318
|
return n === "asc" ? r.localeCompare(i) : i.localeCompare(r);
|
|
23256
23319
|
});
|
|
@@ -23261,15 +23324,15 @@ var $_ = {
|
|
|
23261
23324
|
}
|
|
23262
23325
|
findLanguageByLanguageCode(t) {
|
|
23263
23326
|
if (t) for (let n of e.countriesData) {
|
|
23264
|
-
let e = n.languages?.find((e) =>
|
|
23265
|
-
if (e) return (0,
|
|
23327
|
+
let e = n.languages?.find((e) => Xl(e.code, t));
|
|
23328
|
+
if (e) return (0, Dd.cloneDeep)(e);
|
|
23266
23329
|
}
|
|
23267
23330
|
}
|
|
23268
23331
|
findLanguageNameByCountryCode(e) {
|
|
23269
23332
|
let t = this.findCountryByCountryCode(e);
|
|
23270
23333
|
if (!t) return e;
|
|
23271
23334
|
let n = t.officialLanguageCode;
|
|
23272
|
-
return (t.languages?.find((e) =>
|
|
23335
|
+
return (t.languages?.find((e) => Xl(e.code, n)) || this.findLanguageByLanguageCode(n)).name;
|
|
23273
23336
|
}
|
|
23274
23337
|
getOfficialLanguageCodeByCountryCode(e) {
|
|
23275
23338
|
return this.getCountryBy("officialLanguageCode", e);
|
|
@@ -23283,12 +23346,12 @@ var $_ = {
|
|
|
23283
23346
|
}));
|
|
23284
23347
|
}
|
|
23285
23348
|
getFlagIconUrl(e, t = "1x1") {
|
|
23286
|
-
return `${
|
|
23349
|
+
return `${Xv}/${t}/${e.toLowerCase()}.svg`;
|
|
23287
23350
|
}
|
|
23288
23351
|
getGlobeIconUrl() {
|
|
23289
|
-
return `${
|
|
23352
|
+
return `${Xv}/globe.svg`;
|
|
23290
23353
|
}
|
|
23291
|
-
}(),
|
|
23354
|
+
}(), Qv = {
|
|
23292
23355
|
total: "合計",
|
|
23293
23356
|
itemsPerPage: "ページあたり{0}件",
|
|
23294
23357
|
page: "{1}ページ中{0}ページ",
|
|
@@ -23350,8 +23413,20 @@ var $_ = {
|
|
|
23350
23413
|
"その他"
|
|
23351
23414
|
],
|
|
23352
23415
|
reasoningLabel: "考え中"
|
|
23353
|
-
}
|
|
23354
|
-
|
|
23416
|
+
},
|
|
23417
|
+
devicePreview: {
|
|
23418
|
+
ad: "広告",
|
|
23419
|
+
get: "入手",
|
|
23420
|
+
inAppPurchases: "App内課金",
|
|
23421
|
+
video: "ビデオ",
|
|
23422
|
+
appPreview: "{0} のAppプレビュー",
|
|
23423
|
+
appScreenshot: "{0} のスクリーンショット {1}",
|
|
23424
|
+
iphoneFrame: "iPhoneのフレーム",
|
|
23425
|
+
searchTabMock: "検索タブのモック",
|
|
23426
|
+
searchTabPreview: "{0} の検索タブのプレビュー",
|
|
23427
|
+
todayTabPreview: "Todayタブのプレビュー"
|
|
23428
|
+
}
|
|
23429
|
+
}, $v = {
|
|
23355
23430
|
total: "총계",
|
|
23356
23431
|
itemsPerPage: "페이지당 {0}개",
|
|
23357
23432
|
page: "{1}페이지 중 {0}페이지",
|
|
@@ -23413,8 +23488,20 @@ var $_ = {
|
|
|
23413
23488
|
"기타"
|
|
23414
23489
|
],
|
|
23415
23490
|
reasoningLabel: "생각 중"
|
|
23416
|
-
}
|
|
23417
|
-
|
|
23491
|
+
},
|
|
23492
|
+
devicePreview: {
|
|
23493
|
+
ad: "광고",
|
|
23494
|
+
get: "받기",
|
|
23495
|
+
inAppPurchases: "앱 내 구입",
|
|
23496
|
+
video: "비디오",
|
|
23497
|
+
appPreview: "{0} 앱 미리보기",
|
|
23498
|
+
appScreenshot: "{0} 스크린샷 {1}",
|
|
23499
|
+
iphoneFrame: "iPhone 프레임",
|
|
23500
|
+
searchTabMock: "검색 탭 목업",
|
|
23501
|
+
searchTabPreview: "{0} 검색 탭 미리보기",
|
|
23502
|
+
todayTabPreview: "투데이 탭 미리보기"
|
|
23503
|
+
}
|
|
23504
|
+
}, ey = {
|
|
23418
23505
|
total: "总计",
|
|
23419
23506
|
itemsPerPage: "{0} / 页",
|
|
23420
23507
|
page: "第{0}页,共{1}页",
|
|
@@ -23476,7 +23563,19 @@ var $_ = {
|
|
|
23476
23563
|
"其他"
|
|
23477
23564
|
],
|
|
23478
23565
|
reasoningLabel: "思考中"
|
|
23566
|
+
},
|
|
23567
|
+
devicePreview: {
|
|
23568
|
+
ad: "广告",
|
|
23569
|
+
get: "获取",
|
|
23570
|
+
inAppPurchases: "App 内购买",
|
|
23571
|
+
video: "视频",
|
|
23572
|
+
appPreview: "{0} 的 App 预览",
|
|
23573
|
+
appScreenshot: "{0} 的屏幕截图 {1}",
|
|
23574
|
+
iphoneFrame: "iPhone 边框",
|
|
23575
|
+
searchTabMock: "搜索标签页模拟图",
|
|
23576
|
+
searchTabPreview: "{0} 上的搜索标签页预览",
|
|
23577
|
+
todayTabPreview: "Today 标签页预览"
|
|
23479
23578
|
}
|
|
23480
23579
|
};
|
|
23481
23580
|
//#endregion
|
|
23482
|
-
export {
|
|
23581
|
+
export { Uf as ACTION_KIT_LOCALE_EN, Qv as ACTION_KIT_LOCALE_JA, $v as ACTION_KIT_LOCALE_KO, ey as ACTION_KIT_LOCALE_ZH, Yl as ASSETS, Kf as ActionKit, lt as ActionKitSymbol, Vt as Animations, Gt as AppIconPlatforms, Wt as AppIconSizes, vd as AppScreenshotKinds, In as ButtonColors, Bn as ButtonHtmlTypes, Vn as ButtonIconAlignMents, Rn as ButtonShapes, Ln as ButtonSizes, zn as ButtonTargets, Fn as ButtonVariants, kr as CascaderSizes, Md as CheckboxPlacementRight, jd as CheckboxPlacements, Zo as CollapseItemState, Jo as CollapseModes, up as ConfirmModal2Types, ql as DEVICE_WIDTH, pd as DeviceTypes, gd as DisplayModes, md as DisplayTypes, Hn as LinkButtonColors, Un as LinkButtonSizes, Dt as MaActionSheet, kt as MaActionSheetItem, Bt as MaAlert, Mt as MaAlertSizeList, At as MaAlertTypeList, jt as MaAlertVariantList, Ut as MaAnimation, sn as MaAppIcon, vn as MaAppTrackButton, xn as MaAvatar, Dn as MaBadge, Tn as MaBadgePropIconAlignments, wn as MaBadgePropSizes, Cn as MaBadgePropTypes, Sn as MaBadgePropVariants, En as MaBadgeShape, Pn as MaBreadcrumb, Mn as MaBreadcrumbItem, On as MaBreadcrumbSeparators, Z as MaButton, vr as MaCard, Or as MaCard2, br as MaCard2Content, Sr as MaCard2Footer, Er as MaCard2Header, rr as MaCardAlignments, ar as MaCardIconColors, ir as MaCardSizes, Ca as MaCascader, Eo as MaChart, Jv as MaChatbot, uv as MaChatbotSymbol, qo as MaCheckbox, Go as MaCheckbox2, Po as MaCheckbox2Card, Io as MaCheckbox2Group, Ko as MaCheckboxGroup, rs as MaCollapse, Xo as MaCollapseIconAlignments, ns as MaCollapseItem, Yo as MaCollapseSizes, ap as MaConfirmModal2, os as MaContentScroller, ls as MaCountryRadio, $s as MaCountrySelect, Tf as MaCurrencyInput, el as MaDatePicker, Kc as MaDatePicker2, ku as MaDevicePreviewAppDetailPreview, Yu as MaDevicePreviewAppTodayTabPreview, Qu as MaDevicePreviewProductPages, ed as MaDevicePreviewSearchResults, od as MaDevicePreviewSearchTab, fd as MaDevicePreviewTodayTab, ll as MaDrawer, dl as MaDropdown, tl as MaDropdownPlacements, nl as MaDropdownTriggers, $t as MaEllipsis, vl as MaEmpty, ml as MaEmptyIcons, fl as MaEmptySizes, pl as MaEmptyVariants, ft as MaFlagIconRatios, Tl as MaForm, El as MaForm2, yl as MaFormItem, Nl as MaFormItem2, Al as MaFormItem2Label, Ol as MaFormItem2Message, bl as MaFormLayouts, X as MaIcon, Fl as MaIconButton, pt as MaIconSizeClassNames, dt as MaIconSizes, Wl as MaImage2, Kl as MaImageGroup2, Bl as MaImagePreview, df as MaInput, Ec as MaInputBase, Ff as MaInputBaseSizes, wd as MaInputCurrencies, xd as MaInputNumber, Cd as MaInputSizes, Sd as MaInputTypes, Bf as MaKeywordInput, $n as MaLinkButton, Hf as MaMenu, Hh as MaMenuButtonPropSizes, Vf as MaMenuItem, wp as MaModal, tp as MaModal2, fp as MaModalTypeIcon, dp as MaModalTypes, Kp as MaNotification, kf as MaNumberInput, lm as MaNumericInput, Tm as MaPagination, dm as MaPaginationModes, um as MaPaginationSizes, Mf as MaPasswordInput, Nm as MaPopconfirm2, Lm as MaPopover, Pm as MaPopover2, _h as MaProgress, Bm as MaProgressCircleSizes, zm as MaProgressColors, Vm as MaProgressPercentAlignments, Rm as MaProgressTypes, dn as MaRadio, xh as MaRadioCard, yh as MaRadioGroup, vh as MaRadioTypes, Dh as MaRate, Ch as MaRateColors, Sh as MaRateSizes, Nh as MaResult, af as MaSelect, Lc as MaSelect2, Ih as MaSelect2Option, Bh as MaSelect2OptionGroup, Ue as MaSelectOptGroup, Vh as MaSelectOption, Kh as MaSideMenuAddNewAppButton, Jh as MaSideMenuAppButton, Qh as MaSideMenuButton, Wh as MaSideMenuButton2, $h as MaSideMenuIconButton, Zh as MaSideMenuItem, Gh as MaSideMenuItem2, Yh as MaSideMenuItemColors, eg as MaSideMenuRoundIconButton, tg as MaSlider, nr as MaSocialButton, og as MaSpin, cg as MaSpinColors, lg as MaSpinSizes, sg as MaSpinTypes, yg as MaStep, Og as MaStepItem, kg as MaStepItems, Ig as MaStepSizes, xg as MaSteps, Fg as MaStepsDirections, Pg as MaSwitch, Hg as MaTabButton2, i_ as MaTabIconAlignMents, a_ as MaTabPane, Ug as MaTabPane2, Bg as MaTabPanePlacements, n_ as MaTabPositions, r_ as MaTabTypes, Lg as MaTableContainer, o_ as MaTabs, t_ as MaTabs2, zg as MaTabsSizes, Rg as MaTabsTypes, d_ as MaTagInput, Oc as MaTextInput, Pf as MaTextarea, Bd as MaToggle, b_ as MaTooltip, Xt as MaTooltip2, C_ as MaTrackButton, j_ as MaTree, Qo as MaTypography, iv as MaUpload, F_ as MaUploadFileStatus, P_ as MaUploadSizes, N_ as MaUploadTypes, ov as MaWatchlistButton, op as ModalManager, lp as ModalPositions, Pd as MultiSelectOptionCheckbox, Nd as MultiSelectOptions, om as NumericInputSizes, _d as PageTypes, Em as Popconfirm2Variants, Im as Popover2Placements, Fm as Popover2TriggerTypes, Jl as SCALE_FACTORS, hd as SearchResultsDisplayTypes, Ad as SelectModes, Id as SelectOptionTypeRadio, Fd as SelectOptionTypes, kd as SelectSizes, Wn as SocialButtonBrands, Gn as SocialButtonVariants, Ag as SwitchTypes, f_ as ToggleSizes, p_ as Tooltip2Types, m_ as TooltipPlacements, g_ as TooltipTriggerTypes, h_ as TooltipTypes, w_ as TrackButtonSizes, M_ as TreeModes, L_ as TypographyTags, I_ as TypographyTypes, R_ as TypographyWeights, fv as createMaChatbot, Ed as currencyOptions, Td as currencySymbols, _t as loadIcon, ho as maChartDefaultOptions, Zv as maCountry, sp as modalManager, ut as useActionKit, pv as useMaChatbot, cp as useModal };
|