@ozdao/prometheus-framework 0.2.71 → 0.2.73
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +8 -21
- package/dist/auth.server.mjs +8 -21
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +306 -48
- package/dist/events.server.mjs +306 -48
- package/dist/files.server.js +9 -9
- package/dist/files.server.mjs +9 -9
- package/dist/gallery.server.js +2 -2
- package/dist/gallery.server.mjs +2 -2
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-BX0q8DIs.js +77 -0
- package/dist/mailing-Cdp8NXhP.mjs +78 -0
- package/dist/main-C0wbYN41.mjs +13744 -0
- package/dist/main-vACUb_p5.js +91 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -0
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3174 -0
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/ownership.schema-BQmRnCsc.mjs +184 -0
- package/dist/ownership.schema-D13NqEgo.js +183 -0
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +225 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +53 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +56 -57
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -84
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +84 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +373 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +51 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -51
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +36 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -36
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -46
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +36 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +19 -20
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +81 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +127 -83
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +8 -5
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +24 -24
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +21 -14
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +205 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +157 -72
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +65 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +79 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +34 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +27 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +24 -20
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +39 -27
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue.js +57 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Payments.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +1 -1
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/users.server.js +5 -5
- package/dist/users.server.mjs +5 -5
- package/dist/web-BJSg7vH_.js +1 -0
- package/dist/web-DOXRo6XB.mjs +54 -0
- package/package.json +1 -1
- package/src/modules/users/users.server.js +0 -1
@@ -1 +1,84 @@
|
|
1
|
-
|
1
|
+
import { ref as f, openBlock as n, createElementBlock as d, Fragment as v, createElementVNode as i, normalizeClass as c, toDisplayString as o, createCommentVNode as u, renderSlot as x, createVNode as y, Transition as h, withCtx as k } from "vue";
|
2
|
+
import "./Field.vue.js";
|
3
|
+
import g from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const w = {
|
5
|
+
key: 0,
|
6
|
+
class: "t-transp mn-r-small"
|
7
|
+
}, F = { class: "w-100" }, B = ["type", "value", "placeholder", "tabindex", "disabled"], p = ["value", "placeholder", "tabindex", "disabled"], C = {
|
8
|
+
key: 1,
|
9
|
+
class: "t-transp mn-l-small"
|
10
|
+
}, E = {
|
11
|
+
key: 0,
|
12
|
+
class: "mn-t-thin mn-b-thin mn-b-thin invalid-feedback"
|
13
|
+
}, I = {
|
14
|
+
__name: "Field",
|
15
|
+
props: {
|
16
|
+
label: null,
|
17
|
+
symbol: null,
|
18
|
+
type: "text",
|
19
|
+
placeholder: "Enter something here",
|
20
|
+
field: null,
|
21
|
+
value: null,
|
22
|
+
validation: !1,
|
23
|
+
disabled: null,
|
24
|
+
tabindex: -1
|
25
|
+
},
|
26
|
+
emits: ["update:field", "focus", "blur"],
|
27
|
+
setup(e, { emit: b }) {
|
28
|
+
const a = b, s = e;
|
29
|
+
s.value && a("update:field", s.value);
|
30
|
+
const r = f(s.field);
|
31
|
+
return (m, l) => (n(), d(v, null, [
|
32
|
+
i("div", {
|
33
|
+
class: c([[
|
34
|
+
m.$attrs.class,
|
35
|
+
{
|
36
|
+
"bg-fourth-nano": e.validation
|
37
|
+
}
|
38
|
+
], "flex-center flex-nowrap flex"])
|
39
|
+
}, [
|
40
|
+
e.label ? (n(), d("div", w, [
|
41
|
+
i("span", null, o(e.label), 1)
|
42
|
+
])) : u("", !0),
|
43
|
+
i("div", F, [
|
44
|
+
e.type !== "textarea" ? (n(), d("input", {
|
45
|
+
key: 0,
|
46
|
+
onInput: l[0] || (l[0] = (t) => r.value = a("update:field", t.target.value)),
|
47
|
+
onFocus: l[1] || (l[1] = (t) => a("focus", t)),
|
48
|
+
onBlur: l[2] || (l[2] = (t) => a("blur", t)),
|
49
|
+
type: e.type,
|
50
|
+
class: "w-100",
|
51
|
+
value: e.field,
|
52
|
+
placeholder: e.placeholder,
|
53
|
+
tabindex: e.tabindex,
|
54
|
+
disabled: e.disabled
|
55
|
+
}, null, 40, B)) : (n(), d("textarea", {
|
56
|
+
key: 1,
|
57
|
+
onInput: l[3] || (l[3] = (t) => r.value = a("update:field", t.target.value)),
|
58
|
+
onFocus: l[4] || (l[4] = (t) => a("focus", t)),
|
59
|
+
onBlur: l[5] || (l[5] = (t) => a("blur", t)),
|
60
|
+
class: "w-100",
|
61
|
+
style: { resize: "vertical" },
|
62
|
+
value: e.field,
|
63
|
+
placeholder: e.placeholder,
|
64
|
+
tabindex: e.tabindex,
|
65
|
+
disabled: e.disabled
|
66
|
+
}, null, 40, p))
|
67
|
+
]),
|
68
|
+
x(m.$slots, "default", {}, void 0, !0),
|
69
|
+
e.symbol ? (n(), d("div", C, [
|
70
|
+
i("span", null, o(e.symbol), 1)
|
71
|
+
])) : u("", !0)
|
72
|
+
], 2),
|
73
|
+
y(h, { name: "fade" }, {
|
74
|
+
default: k(() => [
|
75
|
+
e.validation ? (n(), d("div", E, " * " + o(e.validation.message), 1)) : u("", !0)
|
76
|
+
]),
|
77
|
+
_: 1
|
78
|
+
})
|
79
|
+
], 64));
|
80
|
+
}
|
81
|
+
}, S = /* @__PURE__ */ g(I, [["__scopeId", "data-v-47c78b3c"]]);
|
82
|
+
export {
|
83
|
+
S as default
|
84
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../Field/Field.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../Field/Field.vue2.cjs"),B=require("vue-i18n"),S={class:"pd-thin radius-extra flex-nowrap flex"},w=["innerHTML"],_={__name:"FieldBig",props:{input:String,placeholder:{type:String},action:{type:String,default:"Action"},placeholderTexts:{type:Object,default:()=>({en:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],ru:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"]})},typingSpeed:{type:Number,default:200},loopTyping:{type:Boolean,default:!1},enableTyping:{type:Boolean,default:!1}},emits:["update:input","action"],setup(s,{emit:y}){const t=s,{t:F,locale:c}=B.useI18n();let r=e.ref(0),n=e.ref(t.input),p=e.ref(t.placeholder),i=e.ref(t.enableTyping),d=e.ref(null),f=e.ref(""),o=e.ref(!0),v=null;const g=y;function b(){g("action")}function T(a){g("update:input",a),f.value=a}function m(){r.value=(r.value+1)%t.placeholderTexts[c.value].length}function I(){i.value=!1,clearInterval(d.value),p.value=t.placeholder,f.value||(n.value="")}function x(){!f.value&&t.enableTyping&&(i.value=!0,p.value="",h())}function h(){let a=t.placeholderTexts[c.value][r.value],l=0,u=!1;v=setInterval(()=>{o.value=!o.value},200),d.value=setInterval(()=>{i.value&&(u?(n.value=n.value.slice(0,-1),n.value=a.substring(0,l)+(o.value&&l%2?"|":""),l--):(n.value=a.substring(0,l)+(o.value&&l%2?"|":""),l++),l>a.length&&t.loopTyping&&setTimeout(()=>{u=!0,n.value=a.substring(0,l)},333),l===0&&u&&(u=!1,m(),a=t.placeholderTexts[c.value][r.value]))},t.typingSpeed)}return e.onMounted(()=>{t.enableTyping&&h()}),e.watchEffect(()=>{i.value||(clearInterval(d.value),clearInterval(v))}),(a,l)=>(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(k.default,{field:e.unref(n),"onUpdate:field":[l[0]||(l[0]=u=>e.isRef(n)?n.value=u:n=u),T],placeholder:e.unref(i)?" ":e.unref(p),onInput:m,onFocus:I,onBlur:x,class:"w-100 p-medium t-regular uppercase pd-small"},null,8,["field","placeholder"]),s.action?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:b,class:"t-medium radius-big uppercase cursor-pointer pd-l-semi pd-r-semi w-max hover-bg-fifth t-semi transition-linear transition-timing-1 t-black bg-main",innerHTML:s.action},null,8,w)):e.createCommentVNode("",!0)]))}};exports.default=_;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as i, onMounted as S, watchEffect as F, openBlock as T, createElementBlock as b, createVNode as C, unref as v, isRef as H, createCommentVNode as _ } from "vue";
|
2
|
-
import L from "../Field/Field.
|
2
|
+
import L from "../Field/Field.vue2.js";
|
3
3
|
import { useI18n as M } from "vue-i18n";
|
4
4
|
const N = { class: "pd-thin radius-extra flex-nowrap flex" }, V = ["innerHTML"], P = {
|
5
5
|
__name: "FieldBig",
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),oe=require("./click-outside.cjs"),re=require("./all-countries.cjs");require("./FieldPhone2.vue2.cjs");const ue=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),w=require("../../../node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs"),ie=["tabindex"],se={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},de=["innerHTML"],ce={key:1,class:"vti__country-code"},fe=["onClick","onMousemove"],ve=["innerHTML"],pe={key:1},ye=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],me={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},he={__name:"FieldPhone2",props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>re.default},autoFormat:{type:Boolean,default:()=>!0},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>!1},defaultCountry:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1},autoDefaultCountry:{type:Boolean,default:()=>!0},ignoredCountries:{type:Array,default:()=>[]},invalidMsg:{type:String,default:()=>""},mode:{type:String,default:()=>"auto"},onlyCountries:{type:Array,default:()=>[]},preferredCountries:{type:Array,default:()=>[]},validCharactersOnly:{type:Boolean,default:()=>!1},rootClass:{type:[String,Array,Object],default:()=>""},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""},dropdownOptions:{type:Object,default:()=>({showDialCodeInList:!0,showDialCodeInSelection:!1,showFlags:!0,tabindex:0})},inputOptions:{type:Object,default:()=>({autocomplete:"on",autofocus:!1,id:"",maxlength:25,name:"telephone",placeholder:"Enter a phone number",readonly:!1,required:!1,tabindex:0,type:"tel",styleClasses:""})}},emits:["update:modelValue","validate","country-changed","open","close","blur","focus","enter","space"],setup(a,{emit:V}){let N=oe.default;const n=a,c=V;e.ref(5),e.ref(5),e.reactive({action:null,amount:null});const r=e.ref(n.modelValue?n.modelValue:""),v=e.ref(""),f=e.ref(!1),P=e.ref(!1),s=e.ref(null),S=e.ref(""),x=e.ref(null),T=e.ref("below"),I=e.ref(n.Placeholder!==""?n.Placeholder:n.inputOptions.placeholder),B=e.ref(null),d=e.ref(null),O=e.ref(null);e.onMounted(async()=>{n.modelValue&&(r.value=n.modelValue),G(),U().then(()=>{var t;!r.value&&((t=n.inputOptions)!=null&&t.showDialCode)&&v.value&&(r.value=`+${v.value}`),c("validate",u.value)}).catch(console.error).then(()=>{P.value=!0})});const p=e.computed(()=>C(v.value)),M=e.computed(()=>p.value?p.value.flag:null),F=e.computed(()=>n.mode==="auto"?!r.value||r.value[0]!=="+"?"national":"international":["international","national"].includes(n.mode)?n.mode:(console.error('Invalid value of prop "mode"'),"international")),k=e.computed(()=>n.onlyCountries&&n.onlyCountries.length?n.allCountries.filter(({iso2:t})=>n.onlyCountries.includes(t.toUpperCase())):n.ignoredCountries&&n.ignoredCountries.length?n.allCountries.filter(({iso2:t})=>!n.ignoredCountries.includes(t.toUpperCase())&&!n.ignoredCountries.includes(t.toLowerCase())):n.allCountries),y=e.computed(()=>[...K(n.preferredCountries).map(l=>({...l,preferred:!0})),...k.value]),u=e.computed(()=>{var b,D,A;let t={};((b=r.value)==null?void 0:b[0])==="+"?t=w.parsePhoneNumber(r.value)||{}:t=w.parsePhoneNumber(r.value,v.value)||{};const{metadata:l,...o}=t;let i=(D=t.isValid)==null?void 0:D.call(t),h=r.value;return i&&(h=(A=t.format)==null?void 0:A.call(t,F.value.toUpperCase(),{nationalPrefix:!1})),t.country&&(n.ignoredCountries.length||n.onlyCountries.length)&&(C(t.country)||(i=!1,t={...t,country:null})),{...o,countryCode:t.country,valid:i,country:p.value,formatted:h}}),H=e.computed(()=>u.value.valid===!0?n.goodClass:u.value.valid===!1?n.badClass:void 0),q=e.computed(()=>u.value.valid===!0?n.goodStyle:u.value.valid===!1?n.badStyle:void 0),z=e.computed(()=>u.value.valid===!0?n.goodInputClass:u.value.valid===!1?n.badInputClass:void 0),L=e.computed(()=>u.value.valid===!0?n.goodInputStyle:u.value.valid===!1?n.badInputStyle:void 0);e.watch(p,(t,l)=>{if(!t&&(l!=null&&l.iso2)){v.value=l.iso2;return}t!=null&&t.iso2&&(c("country-changed",t),E())}),e.watch(()=>u.value.countryCode,t=>{v.value=t}),e.watch(()=>u.value.valid,()=>{c("validate",u.value)}),e.watch(()=>u.value.formatted,t=>{!n.autoFormat||n.customValidate||(g(t),e.nextTick(()=>{t&&!n.modelValue&&(r.value=t)}))}),e.watch(()=>n.inputOptions.placeholder,()=>{E()}),e.watch(()=>n.modelValue,(t,l)=>{J()?r.value=t:e.nextTick(()=>{r.value=l,j()})}),e.watch(f,t=>{t?(ae(),c("open")):c("close")});function R(){return fetch("https://ip2c.org/s").then(t=>t.text()).then(t=>{const l=(t||"").toString();if(!l||l[0]!=="1")throw new Error("unable to fetch the country");return l.substr(2,2)})}function $(t,l){if(t.setSelectionRange)t.focus(),t.setSelectionRange(l,l);else if(t.createTextRange){const o=t.createTextRange();o.collapse(!0),o.moveEnd("character",l),o.moveStart("character",l),o.select()}}function E(){I.value=n.inputOptions.placeholder}function U(){return new Promise(t=>{var o;if(((o=r.value)==null?void 0:o[0])==="+"){t();return}if(n.defaultCountry){m(n.defaultCountry),t();return}const l=n.preferredCountries[0]||k.value[0];n.autoDefaultCountry?R().then(i=>{m(i||v.value)}).catch(i=>{console.warn(i),m(l)}).finally(()=>{t()}):(m(l),t())})}function K(t=[]){return t.map(l=>C(l)).filter(Boolean)}function C(t=""){return k.value.find(l=>l.iso2===t.toUpperCase())}function W(t,l){const o=s.value===t,i=t===n.preferredCountries.length-1,h=n.preferredCountries.some(b=>b.toUpperCase()===l);return{highlighted:o,"last-preferred":i,preferred:h}}function m(t){var o,i;let l=typeof t=="string"?C(t):t;if(l){if(((o=r.value)==null?void 0:o[0])==="+"&&l.iso2&&u.value.nationalNumber){v.value=l.iso2,r.value=w.parsePhoneNumber(u.value.nationalNumber,l.iso2).formatInternational();return}if((i=n.inputOptions)!=null&&i.showDialCode&&l){r.value=`+${l.dialCode}`;return}v.value=l.iso2,g(r.value)}}function G(){const t=r.value;if(n.validCharactersOnly){const l=r.value.match(/[()\-+0-9\s]*/g);r.value=l.join("")}if(n.customValidate&&n.customValidate instanceof RegExp){const l=r.value.match(n.customValidate);r.value=l?l.join(""):""}t!==r.value&&g(r.value)}function J(){return n.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(r.value)?!1:n.customValidate?Q():!0}function Q(){return n.customValidate instanceof RegExp?n.customValidate.test(r.value):!1}function j(){O.value.setCustomValidity(u.valid?"":n.invalidMsg),g(r.value)}function g(t){c("update:modelValue",t),u.value.valid?c("country",u.value.number):c("country",null)}function X(){c("blur")}function Y(){$(O.value,r.value.length),c("focus")}function Z(){c("enter")}function _(){c("space")}function ee(){n.disabled||(f.value=!f.value)}function te(){f.value=!1}function ne(t){t.keyCode===40?(t.preventDefault(),f.value=!0,s.value=s.value===null?0:Math.min(y.value.length-1,s.value+1),e.nextTick(()=>{const l=d.value.children[s.value];l.offsetTop+l.clientHeight>d.value.scrollTop+d.value.clientHeight&&(d.value.scrollTop=l.offsetTop-d.value.clientHeight+l.clientHeight)})):t.keyCode===38?(t.preventDefault(),f.value=!0,s.value=s.value===null?y.value.length-1:Math.max(0,s.value-1),e.nextTick(()=>{const l=d.value.children[s.value];l.offsetTop<d.value.scrollTop&&(d.value.scrollTop=l.offsetTop)})):t.keyCode===13?(t.preventDefault(),s.value!==null&&m(y.value[s.value]),f.value=!f.value):(S.value+=t.key,clearTimeout(x),x=setTimeout(()=>{S.value=""},700),e.nextTick(()=>{const l=y.value.slice(n.preferredCountries.length).findIndex(o=>o.name.toLowerCase().startsWith(S.value));if(l>=0){s.value=n.preferredCountries.length+l;const o=d.value.children[s.value];(o.offsetTop<d.value.scrollTop||o.offsetTop+o.clientHeight>d.value.scrollTop+d.value.clientHeight)&&(d.value.scrollTop=o.offsetTop-d.value.clientHeight/2)}}))}function le(){s.value=y.value.map(t=>t.iso2).indexOf(v.value),f.value=!1}function ae(){const l=window.innerHeight-B.value.getBoundingClientRect().bottom>200;T.value=l?"below":"above"}return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass([[a.rootClass,H.value,t.$attrs.class,{"bg-fourth-nano":a.validation},{disabled:a.disabled}],"vue3-reactive-tel-input"]),style:e.normalizeStyle([a.rootStyle,q.value]),ref_key:"rootElement",ref:B},[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([["vti__dropdown",{open:f.value}],"br-solid br-black-transp br-1px radius-medium"]),style:e.normalizeStyle([a.dropdownStyle]),tabindex:a.dropdownOptions.tabindex,onKeydown:[ne,e.withKeys(le,["esc"])],onClick:ee},[e.createElementVNode("span",se,[a.dropdownOptions.showFlags?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:M.value,class:"mn-r-thin"},null,8,de)):e.createCommentVNode("",!0),a.dropdownOptions.showDialCodeInSelection?(e.openBlock(),e.createElementBlock("span",ce," +"+e.toDisplayString(p.value&&p.value.dialCode),1)):e.createCommentVNode("",!0)]),e.withDirectives(e.createElementVNode("ul",{ref_key:"list",ref:d,class:e.normalizeClass(["bs-black radius-small vti__dropdown-list",T.value]),style:e.normalizeStyle([a.listStyle])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(o,i)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",W(i,o.iso2)]]),key:o.iso2+(o.preferred?"-preferred":""),onClick:h=>m(o),onMousemove:h=>s.value=i},[a.dropdownOptions.showFlags?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:o.flag,class:"mn-r-thin"},null,8,ve)):e.createCommentVNode("",!0),e.createElementVNode("strong",null,e.toDisplayString(o.name),1),a.dropdownOptions.showDialCodeInList?(e.openBlock(),e.createElementBlock("span",pe," +"+e.toDisplayString(o.dialCode),1)):e.createCommentVNode("",!0)],42,fe))),128))],6),[[e.vShow,f.value]])],46,ie)),[[e.unref(N),te]]),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=o=>r.value=o),inputmode:"numeric",pattern:"\\d*",ref_key:"input",ref:O,type:a.inputOptions.type,autocomplete:a.inputOptions.autocomplete,autofocus:a.inputOptions.autofocus,class:e.normalizeClass(["vti__input",a.inputOptions.styleClasses,a.inputClass,z.value]),style:e.normalizeStyle([a.inputStyle,L.value]),disabled:a.disabled,id:a.inputId!==""?a.inputId:a.inputOptions.id,maxlength:a.inputOptions.maxlength,name:a.inputId!==""?a.inputId:a.inputOptions.name,placeholder:I.value,readonly:a.inputOptions.readonly,required:a.inputOptions.required,tabindex:a.inputOptions.tabindex,onBlur:X,onFocus:Y,onInput:j,onKeyup:[e.withKeys(Z,["enter"]),e.withKeys(_,["space"])]},null,46,ye),[[e.vModelDynamic,r.value]]),e.renderSlot(t.$slots,"default",{},void 0,!0)],6),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.validation?(e.openBlock(),e.createElementBlock("div",me," * "+e.toDisplayString(a.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],64))}},Ce=ue.default(he,[["__scopeId","data-v-0ab16817"]]);exports.default=Ce;
|
@@ -1 +1,373 @@
|
|
1
|
-
|
1
|
+
import { ref as d, reactive as Ce, onMounted as ge, computed as p, watch as h, nextTick as S, openBlock as y, createElementBlock as m, Fragment as K, createElementVNode as w, normalizeClass as I, normalizeStyle as A, withDirectives as M, withKeys as P, createCommentVNode as x, toDisplayString as D, renderList as be, vShow as Oe, unref as Se, vModelDynamic as we, renderSlot as Ie, createVNode as xe, Transition as Te, withCtx as ke } from "vue";
|
2
|
+
import je from "./click-outside.js";
|
3
|
+
import Ae from "./all-countries.js";
|
4
|
+
import "./FieldPhone2.vue2.js";
|
5
|
+
import De from "../../../../_virtual/_plugin-vue_export-helper.js";
|
6
|
+
import { parsePhoneNumber as H } from "../../../node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js";
|
7
|
+
const Be = ["tabindex"], Ee = { class: "flex-nowrap flex flex-v-center p-medium vti__selection" }, Fe = ["innerHTML"], Me = {
|
8
|
+
key: 1,
|
9
|
+
class: "vti__country-code"
|
10
|
+
}, Pe = ["onClick", "onMousemove"], He = ["innerHTML"], Ve = { key: 1 }, Le = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex"], Re = {
|
11
|
+
key: 0,
|
12
|
+
class: "mn-t-thin mn-b-thin invalid-feedback"
|
13
|
+
}, Ne = {
|
14
|
+
__name: "FieldPhone2",
|
15
|
+
props: {
|
16
|
+
modelValue: { type: String, default: "" },
|
17
|
+
badClass: { type: [String, Array, Object], default: "" },
|
18
|
+
goodClass: { type: [String, Array, Object], default: "" },
|
19
|
+
badStyle: { type: [String, Array, Object], default: "" },
|
20
|
+
goodStyle: { type: [String, Array, Object], default: "" },
|
21
|
+
badInputClass: { type: [String, Array, Object], default: "" },
|
22
|
+
goodInputClass: { type: [String, Array, Object], default: "" },
|
23
|
+
badInputStyle: { type: [String, Array, Object], default: "" },
|
24
|
+
goodInputStyle: { type: [String, Array, Object], default: "" },
|
25
|
+
allCountries: { type: Array, default: () => Ae },
|
26
|
+
autoFormat: { type: Boolean, default: () => !0 },
|
27
|
+
validation: { type: [Boolean, Object], default: !1 },
|
28
|
+
customValidate: { type: [Boolean, RegExp], default: () => !1 },
|
29
|
+
defaultCountry: { type: String, default: () => "" },
|
30
|
+
disabled: { type: Boolean, default: () => !1 },
|
31
|
+
autoDefaultCountry: { type: Boolean, default: () => !0 },
|
32
|
+
ignoredCountries: { type: Array, default: () => [] },
|
33
|
+
invalidMsg: { type: String, default: () => "" },
|
34
|
+
mode: { type: String, default: () => "auto" },
|
35
|
+
onlyCountries: { type: Array, default: () => [] },
|
36
|
+
preferredCountries: { type: Array, default: () => [] },
|
37
|
+
validCharactersOnly: { type: Boolean, default: () => !1 },
|
38
|
+
rootClass: { type: [String, Array, Object], default: () => "" },
|
39
|
+
inputClass: { type: [String, Array, Object], default: () => "" },
|
40
|
+
divInputClass: { type: [String, Array, Object], default: () => "" },
|
41
|
+
rootStyle: { type: [String, Array, Object], default: () => "" },
|
42
|
+
dropdownStyle: { type: [String, Array, Object], default: () => "" },
|
43
|
+
listStyle: { type: [String, Array, Object], default: () => "" },
|
44
|
+
inputStyle: { type: [String, Array, Object], default: () => "" },
|
45
|
+
inputId: { type: [String, Array, Object], default: () => "" },
|
46
|
+
Placeholder: { type: [String, Object, Function], default: () => "" },
|
47
|
+
dropdownOptions: {
|
48
|
+
type: Object,
|
49
|
+
default: () => ({
|
50
|
+
showDialCodeInList: !0,
|
51
|
+
showDialCodeInSelection: !1,
|
52
|
+
showFlags: !0,
|
53
|
+
tabindex: 0
|
54
|
+
})
|
55
|
+
},
|
56
|
+
inputOptions: {
|
57
|
+
type: Object,
|
58
|
+
default: () => ({
|
59
|
+
autocomplete: "on",
|
60
|
+
autofocus: !1,
|
61
|
+
id: "",
|
62
|
+
maxlength: 25,
|
63
|
+
name: "telephone",
|
64
|
+
placeholder: "Enter a phone number",
|
65
|
+
readonly: !1,
|
66
|
+
required: !1,
|
67
|
+
tabindex: 0,
|
68
|
+
type: "tel",
|
69
|
+
styleClasses: ""
|
70
|
+
})
|
71
|
+
}
|
72
|
+
},
|
73
|
+
emits: [
|
74
|
+
"update:modelValue",
|
75
|
+
"validate",
|
76
|
+
"country-changed",
|
77
|
+
"open",
|
78
|
+
"close",
|
79
|
+
"blur",
|
80
|
+
"focus",
|
81
|
+
"enter",
|
82
|
+
"space"
|
83
|
+
],
|
84
|
+
setup(l, { emit: W }) {
|
85
|
+
let G = je;
|
86
|
+
const t = l, c = W;
|
87
|
+
d(5), d(5), Ce({
|
88
|
+
action: null,
|
89
|
+
amount: null
|
90
|
+
});
|
91
|
+
const o = d(t.modelValue ? t.modelValue : ""), v = d(""), f = d(!1), J = d(!1), i = d(null), B = d(""), V = d(null), L = d("below"), R = d(t.Placeholder !== "" ? t.Placeholder : t.inputOptions.placeholder), N = d(null), s = d(null), E = d(null);
|
92
|
+
ge(async () => {
|
93
|
+
t.modelValue && (o.value = t.modelValue), ue(), le().then(() => {
|
94
|
+
var e;
|
95
|
+
!o.value && ((e = t.inputOptions) != null && e.showDialCode) && v.value && (o.value = `+${v.value}`), c("validate", u.value);
|
96
|
+
}).catch(console.error).then(() => {
|
97
|
+
J.value = !0;
|
98
|
+
});
|
99
|
+
});
|
100
|
+
const C = p(() => T(v.value)), Q = p(() => C.value ? C.value.flag : null), X = p(() => t.mode === "auto" ? !o.value || o.value[0] !== "+" ? "national" : "international" : ["international", "national"].includes(t.mode) ? t.mode : (console.error('Invalid value of prop "mode"'), "international")), F = p(() => t.onlyCountries && t.onlyCountries.length ? t.allCountries.filter(({ iso2: e }) => t.onlyCountries.includes(e.toUpperCase())) : t.ignoredCountries && t.ignoredCountries.length ? t.allCountries.filter(
|
101
|
+
({ iso2: e }) => !t.ignoredCountries.includes(e.toUpperCase()) && !t.ignoredCountries.includes(e.toLowerCase())
|
102
|
+
) : t.allCountries), g = p(() => [...ae(t.preferredCountries).map((n) => ({ ...n, preferred: !0 })), ...F.value]), u = p(() => {
|
103
|
+
var j, q, z;
|
104
|
+
let e = {};
|
105
|
+
((j = o.value) == null ? void 0 : j[0]) === "+" ? e = H(o.value) || {} : e = H(o.value, v.value) || {};
|
106
|
+
const { metadata: n, ...a } = e;
|
107
|
+
let r = (q = e.isValid) == null ? void 0 : q.call(e), O = o.value;
|
108
|
+
return r && (O = (z = e.format) == null ? void 0 : z.call(e, X.value.toUpperCase(), { nationalPrefix: !1 })), e.country && (t.ignoredCountries.length || t.onlyCountries.length) && (T(e.country) || (r = !1, e = { ...e, country: null })), {
|
109
|
+
...a,
|
110
|
+
countryCode: e.country,
|
111
|
+
valid: r,
|
112
|
+
country: C.value,
|
113
|
+
formatted: O
|
114
|
+
};
|
115
|
+
}), Y = p(() => u.value.valid === !0 ? t.goodClass : u.value.valid === !1 ? t.badClass : void 0), Z = p(() => u.value.valid === !0 ? t.goodStyle : u.value.valid === !1 ? t.badStyle : void 0), _ = p(() => u.value.valid === !0 ? t.goodInputClass : u.value.valid === !1 ? t.badInputClass : void 0), ee = p(() => u.value.valid === !0 ? t.goodInputStyle : u.value.valid === !1 ? t.badInputStyle : void 0);
|
116
|
+
h(C, (e, n) => {
|
117
|
+
if (!e && (n != null && n.iso2)) {
|
118
|
+
v.value = n.iso2;
|
119
|
+
return;
|
120
|
+
}
|
121
|
+
e != null && e.iso2 && (c("country-changed", e), $());
|
122
|
+
}), h(() => u.value.countryCode, (e) => {
|
123
|
+
v.value = e;
|
124
|
+
}), h(() => u.value.valid, () => {
|
125
|
+
c("validate", u.value);
|
126
|
+
}), h(() => u.value.formatted, (e) => {
|
127
|
+
!t.autoFormat || t.customValidate || (k(e), S(() => {
|
128
|
+
e && !t.modelValue && (o.value = e);
|
129
|
+
}));
|
130
|
+
}), h(() => t.inputOptions.placeholder, () => {
|
131
|
+
$();
|
132
|
+
}), h(() => t.modelValue, (e, n) => {
|
133
|
+
re() ? o.value = e : S(() => {
|
134
|
+
o.value = n, U();
|
135
|
+
});
|
136
|
+
}), h(f, (e) => {
|
137
|
+
e ? (he(), c("open")) : c("close");
|
138
|
+
});
|
139
|
+
function te() {
|
140
|
+
return fetch("https://ip2c.org/s").then((e) => e.text()).then((e) => {
|
141
|
+
const n = (e || "").toString();
|
142
|
+
if (!n || n[0] !== "1")
|
143
|
+
throw new Error("unable to fetch the country");
|
144
|
+
return n.substr(2, 2);
|
145
|
+
});
|
146
|
+
}
|
147
|
+
function ne(e, n) {
|
148
|
+
if (e.setSelectionRange)
|
149
|
+
e.focus(), e.setSelectionRange(n, n);
|
150
|
+
else if (e.createTextRange) {
|
151
|
+
const a = e.createTextRange();
|
152
|
+
a.collapse(!0), a.moveEnd("character", n), a.moveStart("character", n), a.select();
|
153
|
+
}
|
154
|
+
}
|
155
|
+
function $() {
|
156
|
+
R.value = t.inputOptions.placeholder;
|
157
|
+
}
|
158
|
+
function le() {
|
159
|
+
return new Promise((e) => {
|
160
|
+
var a;
|
161
|
+
if (((a = o.value) == null ? void 0 : a[0]) === "+") {
|
162
|
+
e();
|
163
|
+
return;
|
164
|
+
}
|
165
|
+
if (t.defaultCountry) {
|
166
|
+
b(t.defaultCountry), e();
|
167
|
+
return;
|
168
|
+
}
|
169
|
+
const n = t.preferredCountries[0] || F.value[0];
|
170
|
+
t.autoDefaultCountry ? te().then((r) => {
|
171
|
+
b(r || v.value);
|
172
|
+
}).catch((r) => {
|
173
|
+
console.warn(r), b(n);
|
174
|
+
}).finally(() => {
|
175
|
+
e();
|
176
|
+
}) : (b(n), e());
|
177
|
+
});
|
178
|
+
}
|
179
|
+
function ae(e = []) {
|
180
|
+
return e.map((n) => T(n)).filter(Boolean);
|
181
|
+
}
|
182
|
+
function T(e = "") {
|
183
|
+
return F.value.find((n) => n.iso2 === e.toUpperCase());
|
184
|
+
}
|
185
|
+
function oe(e, n) {
|
186
|
+
const a = i.value === e, r = e === t.preferredCountries.length - 1, O = t.preferredCountries.some((j) => j.toUpperCase() === n);
|
187
|
+
return { highlighted: a, "last-preferred": r, preferred: O };
|
188
|
+
}
|
189
|
+
function b(e) {
|
190
|
+
var a, r;
|
191
|
+
let n = typeof e == "string" ? T(e) : e;
|
192
|
+
if (n) {
|
193
|
+
if (((a = o.value) == null ? void 0 : a[0]) === "+" && n.iso2 && u.value.nationalNumber) {
|
194
|
+
v.value = n.iso2, o.value = H(u.value.nationalNumber, n.iso2).formatInternational();
|
195
|
+
return;
|
196
|
+
}
|
197
|
+
if ((r = t.inputOptions) != null && r.showDialCode && n) {
|
198
|
+
o.value = `+${n.dialCode}`;
|
199
|
+
return;
|
200
|
+
}
|
201
|
+
v.value = n.iso2, k(o.value);
|
202
|
+
}
|
203
|
+
}
|
204
|
+
function ue() {
|
205
|
+
const e = o.value;
|
206
|
+
if (t.validCharactersOnly) {
|
207
|
+
const n = o.value.match(/[()\-+0-9\s]*/g);
|
208
|
+
o.value = n.join("");
|
209
|
+
}
|
210
|
+
if (t.customValidate && t.customValidate instanceof RegExp) {
|
211
|
+
const n = o.value.match(t.customValidate);
|
212
|
+
o.value = n ? n.join("") : "";
|
213
|
+
}
|
214
|
+
e !== o.value && k(o.value);
|
215
|
+
}
|
216
|
+
function re() {
|
217
|
+
return t.validCharactersOnly && !/^[()\-+0-9\s]*$/.test(o.value) ? !1 : t.customValidate ? ie() : !0;
|
218
|
+
}
|
219
|
+
function ie() {
|
220
|
+
return t.customValidate instanceof RegExp ? t.customValidate.test(o.value) : !1;
|
221
|
+
}
|
222
|
+
function U() {
|
223
|
+
E.value.setCustomValidity(u.valid ? "" : t.invalidMsg), k(o.value);
|
224
|
+
}
|
225
|
+
function k(e) {
|
226
|
+
c("update:modelValue", e), u.value.valid ? c("country", u.value.number) : c("country", null);
|
227
|
+
}
|
228
|
+
function se() {
|
229
|
+
c("blur");
|
230
|
+
}
|
231
|
+
function de() {
|
232
|
+
ne(E.value, o.value.length), c("focus");
|
233
|
+
}
|
234
|
+
function ce() {
|
235
|
+
c("enter");
|
236
|
+
}
|
237
|
+
function fe() {
|
238
|
+
c("space");
|
239
|
+
}
|
240
|
+
function ve() {
|
241
|
+
t.disabled || (f.value = !f.value);
|
242
|
+
}
|
243
|
+
function pe() {
|
244
|
+
f.value = !1;
|
245
|
+
}
|
246
|
+
function ye(e) {
|
247
|
+
e.keyCode === 40 ? (e.preventDefault(), f.value = !0, i.value = i.value === null ? 0 : Math.min(g.value.length - 1, i.value + 1), S(() => {
|
248
|
+
const n = s.value.children[i.value];
|
249
|
+
n.offsetTop + n.clientHeight > s.value.scrollTop + s.value.clientHeight && (s.value.scrollTop = n.offsetTop - s.value.clientHeight + n.clientHeight);
|
250
|
+
})) : e.keyCode === 38 ? (e.preventDefault(), f.value = !0, i.value = i.value === null ? g.value.length - 1 : Math.max(0, i.value - 1), S(() => {
|
251
|
+
const n = s.value.children[i.value];
|
252
|
+
n.offsetTop < s.value.scrollTop && (s.value.scrollTop = n.offsetTop);
|
253
|
+
})) : e.keyCode === 13 ? (e.preventDefault(), i.value !== null && b(g.value[i.value]), f.value = !f.value) : (B.value += e.key, clearTimeout(V), V = setTimeout(() => {
|
254
|
+
B.value = "";
|
255
|
+
}, 700), S(() => {
|
256
|
+
const n = g.value.slice(t.preferredCountries.length).findIndex((a) => a.name.toLowerCase().startsWith(B.value));
|
257
|
+
if (n >= 0) {
|
258
|
+
i.value = t.preferredCountries.length + n;
|
259
|
+
const a = s.value.children[i.value];
|
260
|
+
(a.offsetTop < s.value.scrollTop || a.offsetTop + a.clientHeight > s.value.scrollTop + s.value.clientHeight) && (s.value.scrollTop = a.offsetTop - s.value.clientHeight / 2);
|
261
|
+
}
|
262
|
+
}));
|
263
|
+
}
|
264
|
+
function me() {
|
265
|
+
i.value = g.value.map((e) => e.iso2).indexOf(v.value), f.value = !1;
|
266
|
+
}
|
267
|
+
function he() {
|
268
|
+
const n = window.innerHeight - N.value.getBoundingClientRect().bottom > 200;
|
269
|
+
L.value = n ? "below" : "above";
|
270
|
+
}
|
271
|
+
return (e, n) => (y(), m(K, null, [
|
272
|
+
w("div", {
|
273
|
+
class: I([[
|
274
|
+
l.rootClass,
|
275
|
+
Y.value,
|
276
|
+
e.$attrs.class,
|
277
|
+
{ "bg-fourth-nano": l.validation },
|
278
|
+
{ disabled: l.disabled }
|
279
|
+
], "vue3-reactive-tel-input"]),
|
280
|
+
style: A([
|
281
|
+
l.rootStyle,
|
282
|
+
Z.value
|
283
|
+
]),
|
284
|
+
ref_key: "rootElement",
|
285
|
+
ref: N
|
286
|
+
}, [
|
287
|
+
M((y(), m("div", {
|
288
|
+
class: I([["vti__dropdown", { open: f.value }], "br-solid br-black-transp br-1px radius-medium"]),
|
289
|
+
style: A([l.dropdownStyle]),
|
290
|
+
tabindex: l.dropdownOptions.tabindex,
|
291
|
+
onKeydown: [
|
292
|
+
ye,
|
293
|
+
P(me, ["esc"])
|
294
|
+
],
|
295
|
+
onClick: ve
|
296
|
+
}, [
|
297
|
+
w("span", Ee, [
|
298
|
+
l.dropdownOptions.showFlags ? (y(), m("span", {
|
299
|
+
key: 0,
|
300
|
+
innerHTML: Q.value,
|
301
|
+
class: "mn-r-thin"
|
302
|
+
}, null, 8, Fe)) : x("", !0),
|
303
|
+
l.dropdownOptions.showDialCodeInSelection ? (y(), m("span", Me, " +" + D(C.value && C.value.dialCode), 1)) : x("", !0)
|
304
|
+
]),
|
305
|
+
M(w("ul", {
|
306
|
+
ref_key: "list",
|
307
|
+
ref: s,
|
308
|
+
class: I(["bs-black radius-small vti__dropdown-list", L.value]),
|
309
|
+
style: A([l.listStyle])
|
310
|
+
}, [
|
311
|
+
(y(!0), m(K, null, be(g.value, (a, r) => (y(), m("li", {
|
312
|
+
class: I(["flex-nowrap flex w-max", ["vti__dropdown-item", oe(r, a.iso2)]]),
|
313
|
+
key: a.iso2 + (a.preferred ? "-preferred" : ""),
|
314
|
+
onClick: (O) => b(a),
|
315
|
+
onMousemove: (O) => i.value = r
|
316
|
+
}, [
|
317
|
+
l.dropdownOptions.showFlags ? (y(), m("span", {
|
318
|
+
key: 0,
|
319
|
+
innerHTML: a.flag,
|
320
|
+
class: "mn-r-thin"
|
321
|
+
}, null, 8, He)) : x("", !0),
|
322
|
+
w("strong", null, D(a.name), 1),
|
323
|
+
l.dropdownOptions.showDialCodeInList ? (y(), m("span", Ve, " +" + D(a.dialCode), 1)) : x("", !0)
|
324
|
+
], 42, Pe))), 128))
|
325
|
+
], 6), [
|
326
|
+
[Oe, f.value]
|
327
|
+
])
|
328
|
+
], 46, Be)), [
|
329
|
+
[Se(G), pe]
|
330
|
+
]),
|
331
|
+
M(w("input", {
|
332
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => o.value = a),
|
333
|
+
inputmode: "numeric",
|
334
|
+
pattern: "\\d*",
|
335
|
+
ref_key: "input",
|
336
|
+
ref: E,
|
337
|
+
type: l.inputOptions.type,
|
338
|
+
autocomplete: l.inputOptions.autocomplete,
|
339
|
+
autofocus: l.inputOptions.autofocus,
|
340
|
+
class: I(["vti__input", l.inputOptions.styleClasses, l.inputClass, _.value]),
|
341
|
+
style: A([l.inputStyle, ee.value]),
|
342
|
+
disabled: l.disabled,
|
343
|
+
id: l.inputId !== "" ? l.inputId : l.inputOptions.id,
|
344
|
+
maxlength: l.inputOptions.maxlength,
|
345
|
+
name: l.inputId !== "" ? l.inputId : l.inputOptions.name,
|
346
|
+
placeholder: R.value,
|
347
|
+
readonly: l.inputOptions.readonly,
|
348
|
+
required: l.inputOptions.required,
|
349
|
+
tabindex: l.inputOptions.tabindex,
|
350
|
+
onBlur: se,
|
351
|
+
onFocus: de,
|
352
|
+
onInput: U,
|
353
|
+
onKeyup: [
|
354
|
+
P(ce, ["enter"]),
|
355
|
+
P(fe, ["space"])
|
356
|
+
]
|
357
|
+
}, null, 46, Le), [
|
358
|
+
[we, o.value]
|
359
|
+
]),
|
360
|
+
Ie(e.$slots, "default", {}, void 0, !0)
|
361
|
+
], 6),
|
362
|
+
xe(Te, { name: "fade" }, {
|
363
|
+
default: ke(() => [
|
364
|
+
l.validation ? (y(), m("div", Re, " * " + D(l.validation.message), 1)) : x("", !0)
|
365
|
+
]),
|
366
|
+
_: 1
|
367
|
+
})
|
368
|
+
], 64));
|
369
|
+
}
|
370
|
+
}, Ge = /* @__PURE__ */ De(Ne, [["__scopeId", "data-v-0ab16817"]]);
|
371
|
+
export {
|
372
|
+
Ge as default
|
373
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Loader.vue2.cjs");const r=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),s={props:{progress:{type:Number,default:null},status:{type:String,default:null}}},c={class:"circular-loader"},o=e.createElementVNode("svg",{viewBox:"25 25 50 50"},[e.createElementVNode("circle",{class:"circular-loader-fill",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"}),e.createElementVNode("circle",{class:"circular-loader-circle",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})],-1),l={key:0,class:"progress-text"},i={key:1,class:"uppercase t-semi w-m-10r status-text"};function a(u,d,t,m,_,p){return e.openBlock(),e.createElementBlock("div",c,[o,t.progress?(e.openBlock(),e.createElementBlock("div",l,e.toDisplayString(t.progress),1)):e.createCommentVNode("",!0),t.status?(e.openBlock(),e.createElementBlock("div",i,e.toDisplayString(t.status),1)):e.createCommentVNode("",!0)])}const n=r.default(s,[["render",a]]);exports.default=n;
|
@@ -1 +1,51 @@
|
|
1
|
-
|
1
|
+
import { openBlock as t, createElementBlock as r, toDisplayString as c, createCommentVNode as o, createElementVNode as s } from "vue";
|
2
|
+
import "./Loader.vue2.js";
|
3
|
+
import i from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const l = {
|
5
|
+
props: {
|
6
|
+
progress: {
|
7
|
+
type: Number,
|
8
|
+
default: null
|
9
|
+
},
|
10
|
+
status: {
|
11
|
+
type: String,
|
12
|
+
default: null
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}, a = { class: "circular-loader" }, n = /* @__PURE__ */ s("svg", { viewBox: "25 25 50 50" }, [
|
16
|
+
/* @__PURE__ */ s("circle", {
|
17
|
+
class: "circular-loader-fill",
|
18
|
+
cx: "50",
|
19
|
+
cy: "50",
|
20
|
+
r: "20",
|
21
|
+
fill: "none",
|
22
|
+
"stroke-width": "4",
|
23
|
+
"stroke-miterlimit": "10"
|
24
|
+
}),
|
25
|
+
/* @__PURE__ */ s("circle", {
|
26
|
+
class: "circular-loader-circle",
|
27
|
+
cx: "50",
|
28
|
+
cy: "50",
|
29
|
+
r: "20",
|
30
|
+
fill: "none",
|
31
|
+
"stroke-width": "4",
|
32
|
+
"stroke-miterlimit": "10"
|
33
|
+
})
|
34
|
+
], -1), d = {
|
35
|
+
key: 0,
|
36
|
+
class: "progress-text"
|
37
|
+
}, u = {
|
38
|
+
key: 1,
|
39
|
+
class: "uppercase t-semi w-m-10r status-text"
|
40
|
+
};
|
41
|
+
function m(_, p, e, f, k, x) {
|
42
|
+
return t(), r("div", a, [
|
43
|
+
n,
|
44
|
+
e.progress ? (t(), r("div", d, c(e.progress), 1)) : o("", !0),
|
45
|
+
e.status ? (t(), r("div", u, c(e.status), 1)) : o("", !0)
|
46
|
+
]);
|
47
|
+
}
|
48
|
+
const v = /* @__PURE__ */ i(l, [["render", m]]);
|
49
|
+
export {
|
50
|
+
v as default
|
51
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,51 +1 @@
|
|
1
|
-
|
2
|
-
import "./Loader.vue.js";
|
3
|
-
import i from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const l = {
|
5
|
-
props: {
|
6
|
-
progress: {
|
7
|
-
type: Number,
|
8
|
-
default: null
|
9
|
-
},
|
10
|
-
status: {
|
11
|
-
type: String,
|
12
|
-
default: null
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}, a = { class: "circular-loader" }, n = /* @__PURE__ */ s("svg", { viewBox: "25 25 50 50" }, [
|
16
|
-
/* @__PURE__ */ s("circle", {
|
17
|
-
class: "circular-loader-fill",
|
18
|
-
cx: "50",
|
19
|
-
cy: "50",
|
20
|
-
r: "20",
|
21
|
-
fill: "none",
|
22
|
-
"stroke-width": "4",
|
23
|
-
"stroke-miterlimit": "10"
|
24
|
-
}),
|
25
|
-
/* @__PURE__ */ s("circle", {
|
26
|
-
class: "circular-loader-circle",
|
27
|
-
cx: "50",
|
28
|
-
cy: "50",
|
29
|
-
r: "20",
|
30
|
-
fill: "none",
|
31
|
-
"stroke-width": "4",
|
32
|
-
"stroke-miterlimit": "10"
|
33
|
-
})
|
34
|
-
], -1), d = {
|
35
|
-
key: 0,
|
36
|
-
class: "progress-text"
|
37
|
-
}, u = {
|
38
|
-
key: 1,
|
39
|
-
class: "uppercase t-semi w-m-10r status-text"
|
40
|
-
};
|
41
|
-
function m(_, p, e, f, k, x) {
|
42
|
-
return t(), r("div", a, [
|
43
|
-
n,
|
44
|
-
e.progress ? (t(), r("div", d, c(e.progress), 1)) : o("", !0),
|
45
|
-
e.status ? (t(), r("div", u, c(e.status), 1)) : o("", !0)
|
46
|
-
]);
|
47
|
-
}
|
48
|
-
const v = /* @__PURE__ */ i(l, [["render", m]]);
|
49
|
-
export {
|
50
|
-
v as default
|
51
|
-
};
|
1
|
+
|