@ozdao/prometheus-framework 0.2.58 → 0.2.60
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +23 -3
- package/dist/events.server.mjs +23 -3
- package/dist/metadata.schema-CjpDDEnW.mjs +210 -0
- package/dist/metadata.schema-doiYQfuO.js +209 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.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 +1 -373
- 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/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/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- 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/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/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- 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 +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/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +44 -44
- 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 +1 -1
- 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/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +31 -31
- 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 +1 -1
- 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 +1 -13
- 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 +13 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +166 -123
- 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 +56 -45
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +19 -24
- 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/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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +15 -15
- 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/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
- 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/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/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/modules/events/components/elements/ButtonCheck.vue +106 -0
- package/src/modules/events/components/pages/Event.vue +10 -1
- package/src/modules/events/controllers/tickets.controller.js +31 -2
- package/src/modules/events/models/ticket.model.js +8 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +1 -1
- package/src/modules/globals/models/ownership.schema.js +1 -1
- package/src/modules/orders/components/pages/EditOrder.vue +84 -29
- package/src/modules/orders/components/pages/Order.vue +10 -9
- package/src/modules/orders/components/pages/Orders.vue +30 -21
- package/src/modules/orders/controllers/orders.controller.js +1 -1
- package/src/modules/orders/models/order.model.js +10 -1
- package/src/modules/orders/store/orders.js +1 -6
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +2 -2
@@ -1,373 +1 @@
|
|
1
|
-
|
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 @@
|
|
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
|
+
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router"),m=require("vue-i18n"),f=require("../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");require("../Loader/Loader.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("vue-router"),m=require("vue-i18n"),f=require("../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs");require("../Loader/Loader.vue2.cjs");const _={class:"embla__container"},b={__name:"Slider",props:{store:Object,options:Object,text:Object},setup(s){const n=s;p.useRouter(),m.useI18n(n.text||{messages:{en:{title:"Explore Our Collection"}}});const l=e.ref([]),r=e.ref(!0),u={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[c,t]=f.default({loop:!0},[v.default(u)]),a=o=>selectedIndex.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{l.value=await n.store.read({...n.options}),console.log(l.value),r.value=!1,onInit(t),a(),t.value.on("reInit",onInit),t.value.on("reInit",a),t.value.on("select",a)}),(o,O)=>(e.openBlock(),e.createElementBlock("div",{class:"embla",ref_key:"emblaNode",ref:c},[e.createElementVNode("div",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(i,d,I)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:d},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{item:i,user:o.user})]),_:2},1024)]))),128))])],512))}};exports.default=b;
|
@@ -3,7 +3,7 @@ import { useRouter as y } from "vue-router";
|
|
3
3
|
import { useI18n as E } from "vue-i18n";
|
4
4
|
import N from "../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
|
5
5
|
import g from "../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js";
|
6
|
-
import "../Loader/Loader.
|
6
|
+
import "../Loader/Loader.vue2.js";
|
7
7
|
const j = { class: "embla__container" }, F = {
|
8
8
|
__name: "Slider",
|
9
9
|
props: {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Spoiler.vue2.cjs");const n={key:0,class:"spoiler"},a={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(r){const l=r,t=e.ref(!1);return l.status&&(t.value=l.status),(o,s)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{onClick:s[0]||(s[0]=u=>t.value=!t.value),class:"flex-v-center flex-nowrap flex"},[e.renderSlot(o.$slots,"header",{isOpen:t.value})]),e.createVNode(e.Transition,{name:"collapse"},{default:e.withCtx(()=>[t.value?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(o.$slots,"content")])):e.createCommentVNode("",!0)]),_:3})]))}};exports.default=a;
|
@@ -1 +1,36 @@
|
|
1
|
-
|
1
|
+
import { ref as i, openBlock as s, createElementBlock as a, createElementVNode as p, renderSlot as n, createVNode as u, Transition as c, withCtx as d, createCommentVNode as f } from "vue";
|
2
|
+
import "./Spoiler.vue2.js";
|
3
|
+
const m = {
|
4
|
+
key: 0,
|
5
|
+
class: "spoiler"
|
6
|
+
}, x = {
|
7
|
+
__name: "Spoiler",
|
8
|
+
props: {
|
9
|
+
status: {
|
10
|
+
type: Boolean,
|
11
|
+
default: !1
|
12
|
+
}
|
13
|
+
},
|
14
|
+
setup(r) {
|
15
|
+
const t = r, e = i(!1);
|
16
|
+
return t.status && (e.value = t.status), (o, l) => (s(), a("div", null, [
|
17
|
+
p("div", {
|
18
|
+
onClick: l[0] || (l[0] = (v) => e.value = !e.value),
|
19
|
+
class: "flex-v-center flex-nowrap flex"
|
20
|
+
}, [
|
21
|
+
n(o.$slots, "header", { isOpen: e.value })
|
22
|
+
]),
|
23
|
+
u(c, { name: "collapse" }, {
|
24
|
+
default: d(() => [
|
25
|
+
e.value ? (s(), a("div", m, [
|
26
|
+
n(o.$slots, "content")
|
27
|
+
])) : f("", !0)
|
28
|
+
]),
|
29
|
+
_: 3
|
30
|
+
})
|
31
|
+
]));
|
32
|
+
}
|
33
|
+
};
|
34
|
+
export {
|
35
|
+
x as default
|
36
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1,36 +1 @@
|
|
1
|
-
|
2
|
-
import "./Spoiler.vue.js";
|
3
|
-
const m = {
|
4
|
-
key: 0,
|
5
|
-
class: "spoiler"
|
6
|
-
}, x = {
|
7
|
-
__name: "Spoiler",
|
8
|
-
props: {
|
9
|
-
status: {
|
10
|
-
type: Boolean,
|
11
|
-
default: !1
|
12
|
-
}
|
13
|
-
},
|
14
|
-
setup(r) {
|
15
|
-
const t = r, e = i(!1);
|
16
|
-
return t.status && (e.value = t.status), (o, l) => (s(), a("div", null, [
|
17
|
-
p("div", {
|
18
|
-
onClick: l[0] || (l[0] = (v) => e.value = !e.value),
|
19
|
-
class: "flex-v-center flex-nowrap flex"
|
20
|
-
}, [
|
21
|
-
n(o.$slots, "header", { isOpen: e.value })
|
22
|
-
]),
|
23
|
-
u(c, { name: "collapse" }, {
|
24
|
-
default: d(() => [
|
25
|
-
e.value ? (s(), a("div", m, [
|
26
|
-
n(o.$slots, "content")
|
27
|
-
])) : f("", !0)
|
28
|
-
]),
|
29
|
-
_: 3
|
30
|
-
})
|
31
|
-
]));
|
32
|
-
}
|
33
|
-
};
|
34
|
-
export {
|
35
|
-
x as default
|
36
|
-
};
|
1
|
+
|
package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../../node_modules/axios/lib/axios.cjs"),b=require("../Loader/Loader.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../../node_modules/axios/lib/axios.cjs"),b=require("../Loader/Loader.vue.cjs"),x=require("../../modules/icons/navigation/IconUpload.vue.cjs"),y={key:0,class:"t-center"},g={key:0,class:"mn-t-thin mn-b-thin d-block h3 t-black"},v={key:1,class:"mn-b-thin t-transp d-block"},B={key:2,class:"mn-b-thin uppercase p-small t-medium d-block"},w={key:3,class:"cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main"},C={key:4,class:"uppercase p-small t-medium d-block"},T={__name:"UploadImageMultiple",props:{uploadPath:{type:Object,required:!0},options:{type:Object,default:()=>({mimeType:["jpg","png","gif"],maxSize:10*1024*1024,showText:!0,showTitle:!0})},text:{type:Object,default:()=>({title:"Drag & Drop Your Images Here",subtitle:"Files supported: JPG, PNG, GIF"})}},emits:["update:images"],setup(t,{emit:u}){const s=e.ref([]),l=e.ref(!1),r=e.ref(null),p=t,m=u;function d(){r.value.click()}async function i(o){l.value=!0;let n=o.target.files,c=new FormData;for(const a of n)c.append("file",a);try{(await k.default.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(p.uploadPath)}`,c,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(h=>{s.value.push(h.filepath)}),m("update:images",s.value),l.value=!1}catch(a){console.error(a),l.value=!1}}function f(o){o.preventDefault(),i({target:{files:o.dataTransfer.files}})}return(o,n)=>(e.openBlock(),e.createElementBlock("div",{onClick:d,onDrop:f,onDragover:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:"cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"},[e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createBlock(b.default,{key:1,class:"pos-absolute"})):(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(x.default,{style:{"max-height":"4rem"},class:"w-100 h-100",fill:"rgb(var(--main))"}),t.options.showText||t.options.showTitle?(e.openBlock(),e.createElementBlock("span",g,e.toDisplayString(t.text.title),1)):e.createCommentVNode("",!0),t.options.showText?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(t.text.subtitle),1)):e.createCommentVNode("",!0),t.options.showText?(e.openBlock(),e.createElementBlock("span",B,"or")):e.createCommentVNode("",!0),t.options.showText?(e.openBlock(),e.createElementBlock("button",w,"Browse Files")):e.createCommentVNode("",!0),t.options.showText?(e.openBlock(),e.createElementBlock("span",C,"Maximum size: 2MB")):e.createCommentVNode("",!0)]))]),_:1}),e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:r,onChange:i,multiple:"",style:{display:"none"}},null,544)],32))}};exports.default=T;
|
package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as r, openBlock as t, createElementBlock as o, withModifiers as v, createVNode as d, Transition as w, withCtx as T, toDisplayString as f, createCommentVNode as a, createBlock as C, createElementVNode as D } from "vue";
|
2
2
|
import I from "../../../node_modules/axios/lib/axios.js";
|
3
|
-
import F from "../Loader/Loader.
|
3
|
+
import F from "../Loader/Loader.vue.js";
|
4
4
|
import B from "../../modules/icons/navigation/IconUpload.vue.js";
|
5
5
|
const N = {
|
6
6
|
key: 0,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../mobile/components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../mobile/components/Menu/Menu.vue2.cjs"),s=require("../../../mobile/components/Menu/MenuItem.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const u=require("vue-router");require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const l={class:""},i=e.createElementVNode("h1",null,"Welcome to Backoffice",-1),d=e.createElementVNode("span",null," Members ",-1),f=e.createElementVNode("span",null," Events ",-1),c=e.createElementVNode("span",null," Community ",-1),p=e.createElementVNode("span",null," Products ",-1),m=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),C=e.createElementVNode("span",null," Payments ",-1),N=e.createElementVNode("span",null," Organizations ",-1),V=e.createElementVNode("span",null," Gallery ",-1),k=e.createElementVNode("span",null," Reports ",-1),v={__name:"Dashboard",props:{favorites:Array},setup(h){const r=u.useRoute(),n=u.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(E,t)=>(e.openBlock(),e.createElementBlock("div",l,[i,e.createVNode(o.default,{class:"bg-grey mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[0]||(t[0]=a=>e.unref(n).push({name:"Organization Members",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(s.default,{onClick:t[1]||(t[1]=a=>e.unref(n).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[f]),_:1}),e.createVNode(s.default,{onClick:t[2]||(t[2]=a=>e.unref(n).push({name:"Backoffice Community",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(s.default,{onClick:t[3]||(t[3]=a=>e.unref(n).push({name:"Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[p]),_:1}),e.createVNode(s.default,{onClick:t[4]||(t[4]=a=>e.unref(n).push({name:"Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1}),e.createVNode(s.default,{onClick:t[5]||(t[5]=a=>e.unref(n).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[_]),_:1}),e.createVNode(s.default,{onClick:t[6]||(t[6]=a=>e.unref(n).push({name:"Backoffice Payments",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[C]),_:1})]),_:1}),e.createVNode(o.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(s.default,{onClick:t[7]||(t[7]=a=>e.unref(n).push({name:"Backoffice Organizations",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1}),e.createVNode(s.default,{onClick:t[8]||(t[8]=a=>e.unref(n).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[V]),_:1}),e.createVNode(s.default,{onClick:t[9]||(t[9]=a=>e.unref(n).push({name:"Backoffice Reports",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1})]),_:1})]))}};exports.default=v;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as p, onMounted as m, openBlock as d, createElementBlock as _, createVNode as o, withCtx as n, unref as e, createElementVNode as t } from "vue";
|
2
|
-
import u from "../../../mobile/components/Menu/Menu.
|
2
|
+
import u from "../../../mobile/components/Menu/Menu.vue2.js";
|
3
3
|
import i from "../../../mobile/components/Menu/MenuItem.vue.js";
|
4
4
|
import "../../../../components/SelectMulti/SelectMulti.vue2.js";
|
5
5
|
import { useRoute as f, useRouter as c } from "vue-router";
|