@ozdao/martyrs 0.2.586 → 0.2.588
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.server.js +14 -1
- package/dist/chats.server.js +1 -1
- package/dist/community.server.js +1 -1
- package/dist/core.server.js +24 -25
- package/dist/events.server.js +1 -1
- package/dist/files.server.js +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/inventory.server.js +1 -1
- package/dist/marketplace.server.js +1 -1
- package/dist/martyrs/src/components/Select/{Select.vue.js → Select.vue2.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +10 -33
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/notifications.server.js +1 -1
- package/dist/orders.server.js +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/pages.server.js +1 -1
- package/dist/products.server.js +1 -1
- package/dist/rents.server.js +1 -1
- package/dist/reports.server.js +1 -1
- package/dist/spots.server.js +1 -1
- package/dist/style.css +2 -2
- package/dist/wallet.server.js +1 -1
- package/package.json +23 -18
- package/src/modules/auth/auth.server.js +15 -1
- package/src/modules/chats/chats.server.js +1 -1
- package/src/modules/community/community.server.js +1 -1
- package/src/modules/core/core.server.js +4 -31
- package/src/modules/core/models/log.model.js +24 -0
- package/src/modules/core/views/components/pages/404.vue +2 -3
- package/src/modules/events/events.server.js +1 -1
- package/src/modules/files/files.server.js +1 -1
- package/src/modules/gallery/gallery.server.js +1 -1
- package/src/modules/governance/governance.server.js +1 -1
- package/src/modules/icons/icons.server.js +1 -1
- package/src/modules/inventory/inventory.server.js +1 -1
- package/src/modules/marketplace/marketplace.server.js +1 -1
- package/src/modules/notifications/notifications.server.js +1 -1
- package/src/modules/orders/orders.server.js +1 -1
- package/src/modules/organizations/organizations.server.js +1 -1
- package/src/modules/pages/pages.server.js +1 -1
- package/src/modules/products/products.server.js +1 -1
- package/src/modules/rents/rents.server.js +1 -1
- package/src/modules/reports/reports.server.js +1 -1
- package/src/modules/spots/spots.server.js +1 -1
- package/src/modules/wallet/wallet.server.js +1 -1
- package/dist/martyrs/src/components/Select/Select.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/src/cli/commands/create.js +0 -106
- package/src/cli/index.js +0 -25
- package/src/cli/templates/app/.env.development.mustache +0 -14
- package/src/cli/templates/app/.env.production.mustache +0 -14
- package/src/cli/templates/app/Dockerfile +0 -36
- package/src/cli/templates/app/babel.config.js +0 -14
- package/src/cli/templates/app/env.js +0 -3
- package/src/cli/templates/app/index.js +0 -46
- package/src/cli/templates/app/mongodb.config.js +0 -18
- package/src/cli/templates/app/package.json.mustache +0 -65
- package/src/cli/templates/app/src/client.js +0 -22
- package/src/cli/templates/app/src/components/pages/Index.vue +0 -11
- package/src/cli/templates/app/src/configs/global.config.js.mustache +0 -40
- package/src/cli/templates/app/src/localization/extensions.js +0 -2
- package/src/cli/templates/app/src/localization/index.js +0 -44
- package/src/cli/templates/app/src/localization/overrides.js +0 -2
- package/src/cli/templates/app/src/localization/translations.js +0 -10
- package/src/cli/templates/app/src/models/index.js +0 -9
- package/src/cli/templates/app/src/router/index.js +0 -48
- package/src/cli/templates/app/src/scss/theme.scss +0 -18
- package/src/cli/templates/app/src/server.js +0 -68
- package/src/cli/templates/app/src/store/index.js +0 -9
- package/src/cli/templates/docker-compose.yaml.mustache +0 -47
- package/src/cli/templates/nginx/Dockerfile +0 -5
- package/src/cli/templates/nginx/default.conf.mustache +0 -55
- package/src/cli/templates/public/favicon/.gitkeep +0 -0
- package/src/cli/templates/start-dev.sh.mustache +0 -131
- package/src/cli/templates/start-prod.sh.mustache +0 -12
package/dist/auth.server.js
CHANGED
|
@@ -557,7 +557,7 @@ const OtpModel = (db) => {
|
|
|
557
557
|
OtpSchema.index({ target: 1, purpose: 1 }, { sparse: true });
|
|
558
558
|
return db.mongoose.model("Otp", OtpSchema);
|
|
559
559
|
};
|
|
560
|
-
function initializeAuth(app, db, origins, publicPath) {
|
|
560
|
+
function initializeAuth({ app, db, origins, publicPath, wss }) {
|
|
561
561
|
db.role = RoleModel(db);
|
|
562
562
|
db.user = UserModel(db);
|
|
563
563
|
db.otp = OtpModel(db);
|
|
@@ -566,6 +566,19 @@ function initializeAuth(app, db, origins, publicPath) {
|
|
|
566
566
|
authRoutes(app, db);
|
|
567
567
|
usersRoutes(app, db);
|
|
568
568
|
}
|
|
569
|
+
if (wss) {
|
|
570
|
+
wss.registerRpcMethod("auth", "getOnlineStatus", async ({ userId }) => {
|
|
571
|
+
if (!userId) return { isOnline: false, lastSeenAt: null };
|
|
572
|
+
const isOnline = wss.userConnections.has(userId.toString());
|
|
573
|
+
if (isOnline) return { isOnline: true, lastSeenAt: /* @__PURE__ */ new Date() };
|
|
574
|
+
const session = await db.session.findOne(
|
|
575
|
+
{ target: new db.mongoose.Types.ObjectId(userId), isActive: true },
|
|
576
|
+
{ lastSeenAt: 1 },
|
|
577
|
+
{ sort: { lastSeenAt: -1 } }
|
|
578
|
+
).lean();
|
|
579
|
+
return { isOnline: false, lastSeenAt: session?.lastSeenAt || null };
|
|
580
|
+
}, { requireAuth: false });
|
|
581
|
+
}
|
|
569
582
|
}
|
|
570
583
|
const models = {
|
|
571
584
|
RoleModel,
|
package/dist/chats.server.js
CHANGED
|
@@ -293,7 +293,7 @@ const chatsRoutes = (function(app, db, wss) {
|
|
|
293
293
|
next();
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
|
-
function initializeChats(app, db, wss, origins, publicPath) {
|
|
296
|
+
function initializeChats({ app, db, wss, origins, publicPath }) {
|
|
297
297
|
db.chat = ChatModel(db);
|
|
298
298
|
if (app) {
|
|
299
299
|
chatsRoutes(app, db, wss);
|
package/dist/community.server.js
CHANGED
|
@@ -836,7 +836,7 @@ function initBlogPolicies(abac, db) {
|
|
|
836
836
|
);
|
|
837
837
|
return abac;
|
|
838
838
|
}
|
|
839
|
-
function initializeCommunity(app, db, origins, publicPath) {
|
|
839
|
+
function initializeCommunity({ app, db, origins, publicPath }) {
|
|
840
840
|
db.blogpost = BlogpostModel(db);
|
|
841
841
|
db.comment = CommentModel(db);
|
|
842
842
|
db.reaction = ReactionModel(db);
|
package/dist/core.server.js
CHANGED
|
@@ -103,6 +103,28 @@ const initCorePolicies = (function initializeDefaultPolicies(abacAccessControl)
|
|
|
103
103
|
});
|
|
104
104
|
return abacAccessControl;
|
|
105
105
|
});
|
|
106
|
+
const LogModel = (db) => {
|
|
107
|
+
const LogSchema = new db.mongoose.Schema(
|
|
108
|
+
{
|
|
109
|
+
level: {
|
|
110
|
+
type: String,
|
|
111
|
+
required: true
|
|
112
|
+
},
|
|
113
|
+
message: {
|
|
114
|
+
type: String,
|
|
115
|
+
required: true
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
timestamps: true,
|
|
120
|
+
versionKey: false
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
LogSchema.index({ level: 1 });
|
|
124
|
+
LogSchema.index({ createdAt: -1 });
|
|
125
|
+
const Log = db.mongoose.models.Log || db.mongoose.model("Log", LogSchema);
|
|
126
|
+
return Log;
|
|
127
|
+
};
|
|
106
128
|
const SessionModel = (db) => {
|
|
107
129
|
const SessionSchema = new db.mongoose.Schema(
|
|
108
130
|
{
|
|
@@ -277,18 +299,8 @@ async function createWebSocketManager(...args) {
|
|
|
277
299
|
return new _WebSocketManagerClass(...args);
|
|
278
300
|
}
|
|
279
301
|
const WebSocketManager = createWebSocketManager;
|
|
280
|
-
function initializeCore(app, db, origins, publicPath, wss
|
|
281
|
-
db.log = db
|
|
282
|
-
"Log",
|
|
283
|
-
new db.mongoose.Schema(
|
|
284
|
-
{
|
|
285
|
-
timestamp: { type: Date, default: Date.now },
|
|
286
|
-
level: String,
|
|
287
|
-
message: String
|
|
288
|
-
},
|
|
289
|
-
{ versionKey: false }
|
|
290
|
-
)
|
|
291
|
-
);
|
|
302
|
+
function initializeCore({ app, db, origins, publicPath, wss }) {
|
|
303
|
+
db.log = LogModel(db);
|
|
292
304
|
db.session = SessionModel(db);
|
|
293
305
|
db.visitor = VisitorModel(db);
|
|
294
306
|
db.request = RequestModel(db);
|
|
@@ -301,19 +313,6 @@ function initializeCore(app, db, origins, publicPath, wss = null) {
|
|
|
301
313
|
const { visitorLogger } = createVisitorLogger();
|
|
302
314
|
app.use(visitorLogger);
|
|
303
315
|
}
|
|
304
|
-
if (wss) {
|
|
305
|
-
wss.registerRpcMethod("core", "getOnlineStatus", async ({ userId }) => {
|
|
306
|
-
if (!userId) return { isOnline: false, lastSeenAt: null };
|
|
307
|
-
const isOnline = wss.userConnections.has(userId.toString());
|
|
308
|
-
if (isOnline) return { isOnline: true, lastSeenAt: /* @__PURE__ */ new Date() };
|
|
309
|
-
const session = await db.session.findOne(
|
|
310
|
-
{ target: new db.mongoose.Types.ObjectId(userId), isActive: true },
|
|
311
|
-
{ lastSeenAt: 1 },
|
|
312
|
-
{ sort: { lastSeenAt: -1 } }
|
|
313
|
-
).lean();
|
|
314
|
-
return { isOnline: false, lastSeenAt: session?.lastSeenAt || null };
|
|
315
|
-
}, { requireAuth: false });
|
|
316
|
-
}
|
|
317
316
|
}
|
|
318
317
|
const core_server = {
|
|
319
318
|
initialize: initializeCore,
|
package/dist/events.server.js
CHANGED
|
@@ -842,7 +842,7 @@ const ticketsRoutes = (function(app, db, origins, publicPath) {
|
|
|
842
842
|
app.get("/api/tickets/attendance/:eventId", controller.getAttendance);
|
|
843
843
|
app.post("/api/tickets/:ticketId/send-email", controller.resendTicketEmail);
|
|
844
844
|
});
|
|
845
|
-
function initializeEvent(app, db, origins, publicPath, options = {}) {
|
|
845
|
+
function initializeEvent({ app, db, origins, publicPath, options = {} }) {
|
|
846
846
|
console.log("initializeEvent publicPath:", publicPath);
|
|
847
847
|
const { eventFields = {}, ticketFields = {} } = options;
|
|
848
848
|
console.log("new fields is", eventFields);
|
package/dist/files.server.js
CHANGED
|
@@ -249,7 +249,7 @@ const filesRoutes = (function(app, db, origins, publicPath) {
|
|
|
249
249
|
);
|
|
250
250
|
app.post("/api/upload/file", [middlewareBusboy.uploadFilesMiddleware], controller.uploadMultipleFileController);
|
|
251
251
|
});
|
|
252
|
-
function initializeFiles(app, db, origins, publicPath) {
|
|
252
|
+
function initializeFiles({ app, db, origins, publicPath }) {
|
|
253
253
|
if (app) {
|
|
254
254
|
filesRoutes(app, db, origins, publicPath);
|
|
255
255
|
}
|
package/dist/gallery.server.js
CHANGED
|
@@ -240,7 +240,7 @@ const galleryRoutes = (function(app, db, origins) {
|
|
|
240
240
|
);
|
|
241
241
|
app.delete("/api/gallery/delete", [authJwt.verifyToken(), verifyAccess("gallery", "delete"), handleAccessResult()], controller.delete);
|
|
242
242
|
});
|
|
243
|
-
function initializeGallery(app, db, origins, publicPath) {
|
|
243
|
+
function initializeGallery({ app, db, origins, publicPath }) {
|
|
244
244
|
db.photo = PhotoModel(db);
|
|
245
245
|
if (app) {
|
|
246
246
|
galleryRoutes(app, db);
|
package/dist/inventory.server.js
CHANGED
|
@@ -1050,7 +1050,7 @@ function inventoryPolicies(db) {
|
|
|
1050
1050
|
const abac = getInstance(db);
|
|
1051
1051
|
return abac;
|
|
1052
1052
|
}
|
|
1053
|
-
function initializeInventory(app, db, origins, publicPath) {
|
|
1053
|
+
function initializeInventory({ app, db, origins, publicPath }) {
|
|
1054
1054
|
db.stockAdjustment = StockAdjustmentModel(db);
|
|
1055
1055
|
db.stockAvailability = StockAvailabilityModel(db);
|
|
1056
1056
|
db.stockAudit = StockAuditModel(db);
|
|
@@ -369,7 +369,7 @@ const marketplaceRoutes = (function(app, db) {
|
|
|
369
369
|
controller.readCatalog
|
|
370
370
|
);
|
|
371
371
|
});
|
|
372
|
-
function initializeMarketplace(app, db, origins, publicPath) {
|
|
372
|
+
function initializeMarketplace({ app, db, origins, publicPath }) {
|
|
373
373
|
if (app) {
|
|
374
374
|
marketplaceRoutes(app, db);
|
|
375
375
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, watch, createElementBlock, openBlock, Fragment, withDirectives, createVNode, normalizeClass, withModifiers, createCommentVNode, createElementVNode, toDisplayString, Transition, withCtx, renderList, vShow, unref, nextTick } from "vue";
|
|
2
2
|
import clickOutside from "../FieldPhone/click-outside.js";
|
|
3
|
-
/* empty css
|
|
3
|
+
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
key: 0,
|
|
@@ -131,4 +131,4 @@ const Select = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-af5
|
|
|
131
131
|
export {
|
|
132
132
|
Select as default
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=Select.
|
|
134
|
+
//# sourceMappingURL=Select.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.vue2.js","sources":["../../../../../src/components/Select/Select.vue"],"sourcesContent":["<template>\n <!-- Input Wrapper -->\n <div \n ref=\"fieldWrapper\"\n tabindex=\"0\"\n @click.stop=\"toggleMenu\" \n v-click-outside=\"clickedOutside\" \n :class=\"$attrs.class\" \n class=\"cursor-pointer field-wrapper flex-v-center flex-nowrap flex pos-relative\"\n >\n <!-- Label -->\n <span v-if=\"label\" class=\"t-transp mn-r-small\">{{label}}</span>\n \n <!-- Input -->\n <span>\n {{ optionsSelected ? (optionsSelected.name || optionsSelected[props.value] || optionsSelected) : placeholder }}\n </span>\n <!-- Dropdown menu -->\n <transition mode=\"out-in\" name=\"TransitionTranslateY\">\n <ul \n v-show=\"showMenu\" \n class=\"bs-black pos-absolute pos-t-100 pos-l-0 z-index-5 pd-small radius-small bg-white mn-t-thin w-100\"\n style=\"min-width: max-content;\"\n >\n <li @click.stop=\"selectOption(option)\" v-for=\"option in optionsListed\" class=\"radius-thin hover:bg-light pd-thin text-box-trim\">\n <span v-if=\"option\" class=\"w-100\">\n {{ option.name || option[props.value] || option }}\n </span>\n </li>\n </ul>\n </transition>\n </div>\n <!-- Validation -->\n <transition mode=\"out-in\" name=\"fade\">\n <div v-if=\"validation\" class=\"mn-t-thin invalid-feedback\">\n * {{validation.message}}\n </div>\n </transition>\n</template>\n<script setup>\nimport { ref, computed, watch, nextTick } from 'vue'\nimport clickOutside from '../FieldPhone/click-outside.js';\nlet vClickOutside = clickOutside\nconst emit = defineEmits([\n 'update:select', \n 'focus', \n 'blur'\n])\nconst props = defineProps({\n label: String,\n placeholder: { type: String, default: 'Please select an item' },\n select: [String, Object],\n property: String,\n value: String,\n options: { type: Array, default: () => [] },\n validation: Boolean,\n})\nconst showMenu = ref(false)\nconst fieldWrapper = ref(null)\nconst optionsSelected = ref(\n props.property \n ? findObjectByValue(props.select, props.property, props.options) \n : props.select\n)\nconst optionsListed = computed(() => {\n return props.select \n ? props.options.filter(option => option !== props.select) \n : props.options\n})\nwatch(() => props.select, (newSelect) => {\n optionsSelected.value = \n props.property \n ? findObjectByValue(props.select, props.property, props.options) \n : props.select;\n});\nconst toggleMenu = async () => {\n showMenu.value = !showMenu.value\n \n if (showMenu.value) {\n await nextTick()\n fieldWrapper.value?.focus()\n emit('focus')\n } else {\n emit('blur')\n }\n}\nfunction clickedOutside () {\n showMenu.value = false\n}\nconst selectOption = option => {\n optionsSelected.value = option\n \n toggleMenu()\n if (props.property) { \n emit('update:select', optionsSelected.value[props.property])\n } else {\n emit('update:select', optionsSelected.value)\n }\n}\nfunction findObjectByValue (value, property, objects) {\n for (const object of objects) {\n if (object[property] === value || object === value) {\n return object;\n }\n }\n return null;\n}\n</script>\n<style lang=\"scss\" scoped>\n li {\n list-style-type: none;\n }\n ul li {\n line-height: 2;\n }\n .field-wrapper:focus {\n outline: none;\n }\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,QAAI,gBAAgB;AACpB,UAAM,OAAO;AAKb,UAAM,QAAQ;AASd,UAAM,WAAW,IAAI,KAAK;AAC1B,UAAM,eAAe,IAAI,IAAI;AAC7B,UAAM,kBAAkB;AAAA,MACtB,MAAM,WACJ,kBAAkB,MAAM,QAAQ,MAAM,UAAU,MAAM,OAAO,IAC7D,MAAM;AAAA,IACV;AACA,UAAM,gBAAgB,SAAS,MAAM;AACnC,aAAO,MAAM,SACX,MAAM,QAAQ,OAAO,YAAU,WAAW,MAAM,MAAM,IACtD,MAAM;AAAA,IACV,CAAC;AACD,UAAM,MAAM,MAAM,QAAQ,CAAC,cAAc;AACvC,sBAAgB,QAChB,MAAM,WACJ,kBAAkB,MAAM,QAAQ,MAAM,UAAU,MAAM,OAAO,IAC7D,MAAM;AAAA,IACV,CAAC;AACD,UAAM,aAAa,YAAY;AAC7B,eAAS,QAAQ,CAAC,SAAS;AAE3B,UAAI,SAAS,OAAO;AAClB,cAAM,SAAQ;AACd,qBAAa,OAAO,MAAK;AACzB,aAAK,OAAO;AAAA,MACd,OAAO;AACL,aAAK,MAAM;AAAA,MACb;AAAA,IACF;AACA,aAAS,iBAAkB;AACzB,eAAS,QAAQ;AAAA,IACnB;AACA,UAAM,eAAe,YAAU;AAC7B,sBAAgB,QAAQ;AAExB,iBAAU;AACV,UAAI,MAAM,UAAU;AAClB,aAAK,iBAAiB,gBAAgB,MAAM,MAAM,QAAQ,CAAC;AAAA,MAC7D,OAAO;AACL,aAAK,iBAAiB,gBAAgB,KAAK;AAAA,MAC7C;AAAA,IACF;AACA,aAAS,kBAAmB,OAAO,UAAU,SAAS;AACpD,iBAAW,UAAU,SAAS;AAC5B,YAAI,OAAO,QAAQ,MAAM,SAAS,WAAW,OAAO;AAClD,iBAAO;AAAA,QACT;AAAA,MACF;AACA,aAAO;AAAA,IACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, watch, createElementBlock, openBlock, Fragment, renderList, normalizeStyle, normalizeClass, unref, toDisplayString } from "vue";
|
|
2
2
|
import { useGlobalMixins } from "../../modules/core/views/mixins/mixins.js";
|
|
3
|
-
/* empty css
|
|
3
|
+
/* empty css */
|
|
4
4
|
const _hoisted_1 = { class: "flex-nowrap flex-v-center flex pos-relative" };
|
|
5
5
|
const _hoisted_2 = ["onClick"];
|
|
6
6
|
const _sfc_main = {
|
|
@@ -71,4 +71,4 @@ const _sfc_main = {
|
|
|
71
71
|
export {
|
|
72
72
|
_sfc_main as default
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=Tab.
|
|
74
|
+
//# sourceMappingURL=Tab.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.vue.js","sources":["../../../../../src/components/Tab/Tab.vue"],"sourcesContent":["<template>\n <div class=\"flex-nowrap flex-v-center flex pos-relative\">\n <button \n v-for=\"(tab, index) in tabs\" \n :key=\"index\" \n @click=\"handleTabClick(index, tab)\" \n class=\"z-index-1 t-center cursor-pointer\"\n :style=\"isSelected(index, tab) ? 'background: rgb(var(--main)) !important' : ''\"\n :class=\"[\n isSelected(index, tab) ? 'bg-main' : '',\n replaceClasses('pd-small pd-r-medium pd-l-medium w-max pd-small radius-small', classTab)\n ]\"\n >\n {{tab.name || tab.label}}\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, computed, watch } from 'vue'\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { replaceClasses } = useGlobalMixins();\nconst emit = defineEmits(['update:selected', 'tab-click']);\n\nconst props = defineProps({\n tabs: Array,\n classTab: String,\n selected: [String, Number],\n modelValue: [String, Number],\n callback: Function\n})\n\nconst selectedTab = ref(0)\n\n// Handle both v-model and selected prop for backward compatibility\nconst updateSelectedIndex = () => {\n if (props.modelValue !== undefined) {\n const selectedIndex = props.tabs.findIndex(tab => tab.value === props.modelValue)\n if (selectedIndex !== -1) {\n selectedTab.value = selectedIndex\n }\n } else if (props.selected !== undefined) {\n const selectedIndex = props.tabs.findIndex(tab => tab.value === props.selected)\n if (selectedIndex !== -1) {\n selectedTab.value = selectedIndex\n }\n }\n}\n\n// Initial setup\nupdateSelectedIndex()\n\n// Watch for changes in selected or modelValue props\nwatch(() => props.selected, updateSelectedIndex)\nwatch(() => props.modelValue, updateSelectedIndex)\n\n// Check if tab is selected\nconst isSelected = (index, tab) => {\n if (props.modelValue !== undefined) {\n return tab.value === props.modelValue\n } else if (props.selected !== undefined) {\n return tab.value === props.selected\n }\n return index === selectedTab.value\n}\n\n// Handle tab click\nfunction handleTabClick(index, tab) {\n selectedTab.value = index\n \n // Emit both events for flexibility\n emit('update:selected', tab.value)\n emit('tab-click', { index, tab })\n \n // For v-model support\n if (props.modelValue !== undefined) {\n emit('update:modelValue', tab.value)\n }\n \n // Call callback if provided\n if (props.callback) props.callback(tab)\n}\n</script>\n\n<style lang=\"scss\">\n.tab-selector {\n position: absolute;\n width: 50%;\n height: 100%;\n left: 0;\n top: 0;\n z-index: 0;\n transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAsBA,UAAM,EAAE,eAAc,IAAK,gBAAe;AAC1C,UAAM,OAAO;AAEb,UAAM,QAAQ;AAQd,UAAM,cAAc,IAAI,CAAC;AAGzB,UAAM,sBAAsB,MAAM;AAChC,UAAI,MAAM,eAAe,QAAW;AAClC,cAAM,gBAAgB,MAAM,KAAK,UAAU,SAAO,IAAI,UAAU,MAAM,UAAU;AAChF,YAAI,kBAAkB,IAAI;AACxB,sBAAY,QAAQ;AAAA,QACtB;AAAA,MACF,WAAW,MAAM,aAAa,QAAW;AACvC,cAAM,gBAAgB,MAAM,KAAK,UAAU,SAAO,IAAI,UAAU,MAAM,QAAQ;AAC9E,YAAI,kBAAkB,IAAI;AACxB,sBAAY,QAAQ;AAAA,QACtB;AAAA,MACF;AAAA,IACF;AAGA,wBAAmB;AAGnB,UAAM,MAAM,MAAM,UAAU,mBAAmB;AAC/C,UAAM,MAAM,MAAM,YAAY,mBAAmB;AAGjD,UAAM,aAAa,CAAC,OAAO,QAAQ;AACjC,UAAI,MAAM,eAAe,QAAW;AAClC,eAAO,IAAI,UAAU,MAAM;AAAA,MAC7B,WAAW,MAAM,aAAa,QAAW;AACvC,eAAO,IAAI,UAAU,MAAM;AAAA,MAC7B;AACA,aAAO,UAAU,YAAY;AAAA,IAC/B;AAGA,aAAS,eAAe,OAAO,KAAK;AAClC,kBAAY,QAAQ;AAGpB,WAAK,mBAAmB,IAAI,KAAK;AACjC,WAAK,aAAa,EAAE,OAAO,IAAG,CAAE;AAGhC,UAAI,MAAM,eAAe,QAAW;AAClC,aAAK,qBAAqB,IAAI,KAAK;AAAA,MACrC;AAGA,UAAI,MAAM,SAAU,OAAM,SAAS,GAAG;AAAA,IACxC;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, withCtx } from "vue";
|
|
2
|
-
/* empty css
|
|
2
|
+
/* empty css */
|
|
3
3
|
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
4
|
import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
|
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, watch, createElementBlock, openBlock, createElementVNode, createBlock, createCommentVNode, createVNode, unref, withCtx, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
import _sfc_main$1 from "../../../../../components/Tab/Tab.
|
|
3
|
+
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../../components/Feed/Feed.vue.js";
|
|
5
5
|
import _sfc_main$3 from "../../../../community/components/blocks/CardBlogpost.vue.js";
|
|
6
6
|
import { state } from "../../store/auth.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, unref, Transition, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../../../../components/Tab/Tab.
|
|
2
|
+
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue.js";
|
|
3
3
|
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
|
|
5
5
|
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, createTextVNode, toDisplayString, unref, withCtx, Transition, withDirectives, vShow } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../../../../components/Tab/Tab.
|
|
2
|
+
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue.js";
|
|
3
3
|
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
|
|
5
5
|
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, unref, Transition, withCtx, withDirectives, vShow, createTextVNode } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../../../../components/Tab/Tab.
|
|
2
|
+
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue.js";
|
|
3
3
|
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../../components/FieldPhone/FieldPhone.vue.js";
|
|
5
5
|
import _sfc_main$3 from "../../../../../components/Button/Button.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, createBlock, normalizeClass, createTextVNode, withCtx, Transition, resolveDynamicComponent, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
import Select from "../../../../components/Select/Select.
|
|
3
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
4
4
|
import _sfc_main$5 from "../../../../components/Feed/Feed.vue.js";
|
|
5
5
|
import _sfc_main$6 from "../../../organizations/components/blocks/CardOrganization.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../../icons/entities/IconFeatured.vue.js";
|
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
import { resolveComponent, createElementBlock, openBlock, createElementVNode,
|
|
1
|
+
import { resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import _sfc_main$1 from "../../../../icons/entities/IconHome.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../icons/navigation/IconArrow.vue.js";
|
|
5
|
-
import _sfc_main$3 from "../../../../icons/navigation/IconSearch.vue.js";
|
|
6
|
-
import _sfc_main$4 from "../../../../icons/entities/IconInfo.vue.js";
|
|
7
5
|
/* empty css */
|
|
8
6
|
import _export_sfc from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
7
|
const _hoisted_1 = { class: "pd-thin flex flex-v-center w-100 h-100" };
|
|
10
8
|
const _hoisted_2 = { class: "bg-light w-100 h-100 flex flex-h-center flex-column radius-big pd-medium" };
|
|
11
9
|
const _hoisted_3 = { class: "flex gap-small mn-b-extra" };
|
|
12
|
-
const _hoisted_4 = { class: "pd-t-medium w-max-25r" };
|
|
13
|
-
const _hoisted_5 = { class: "field-wrapper bg-white flex flex-v-center radius-small pd-small gap-small" };
|
|
14
|
-
const _hoisted_6 = { class: "flex gap-medium mn-t-small" };
|
|
15
|
-
const _hoisted_7 = {
|
|
16
|
-
href: "#",
|
|
17
|
-
class: "flex flex-v-center gap-micro p-small t-transp"
|
|
18
|
-
};
|
|
19
10
|
const _sfc_main = {
|
|
20
11
|
__name: "404",
|
|
21
12
|
setup(__props) {
|
|
@@ -25,7 +16,14 @@ const _sfc_main = {
|
|
|
25
16
|
const _component_router_link = resolveComponent("router-link");
|
|
26
17
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
27
18
|
createElementVNode("div", _hoisted_2, [
|
|
28
|
-
_cache[
|
|
19
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "flex flex-v-center gap-thin pd-thin radius-big bg-main w-fit mn-b-medium" }, [
|
|
20
|
+
createElementVNode("span", { class: "p-small" }, "Error 404")
|
|
21
|
+
], -1)),
|
|
22
|
+
_cache[3] || (_cache[3] = createElementVNode("h1", { class: "mn-b-semi" }, "Page not found", -1)),
|
|
23
|
+
_cache[4] || (_cache[4] = createElementVNode("p", {
|
|
24
|
+
class: "p-medium t-transp w-max-35r mn-b-big",
|
|
25
|
+
style: { "line-height": "1.6" }
|
|
26
|
+
}, " The page you are looking for doesn't exist or has been moved. Please check the URL or navigate back to the home page. ", -1)),
|
|
29
27
|
createElementVNode("div", _hoisted_3, [
|
|
30
28
|
createVNode(_component_router_link, {
|
|
31
29
|
to: "/",
|
|
@@ -47,34 +45,13 @@ const _sfc_main = {
|
|
|
47
45
|
createVNode(_sfc_main$2, { class: "i-regular rotate-180" }),
|
|
48
46
|
_cache[1] || (_cache[1] = createElementVNode("span", null, "Go back", -1))
|
|
49
47
|
])
|
|
50
|
-
]),
|
|
51
|
-
createElementVNode("div", _hoisted_4, [
|
|
52
|
-
_cache[5] || (_cache[5] = createElementVNode("span", { class: "p-micro t-transp t-upper t-500 ls-wide d-block mn-b-small" }, "Search Documentation", -1)),
|
|
53
|
-
createElementVNode("div", _hoisted_5, [
|
|
54
|
-
createVNode(_sfc_main$3, { class: "i-small t-transp" }),
|
|
55
|
-
_cache[2] || (_cache[2] = createElementVNode("input", {
|
|
56
|
-
type: "text",
|
|
57
|
-
placeholder: "e.g. Installation guide...",
|
|
58
|
-
class: "w-100 bd-none"
|
|
59
|
-
}, null, -1))
|
|
60
|
-
]),
|
|
61
|
-
createElementVNode("div", _hoisted_6, [
|
|
62
|
-
createElementVNode("a", _hoisted_7, [
|
|
63
|
-
createVNode(_sfc_main$4, { class: "i-small" }),
|
|
64
|
-
_cache[3] || (_cache[3] = createTextVNode(" Help Center"))
|
|
65
|
-
]),
|
|
66
|
-
_cache[4] || (_cache[4] = createElementVNode("a", {
|
|
67
|
-
href: "#",
|
|
68
|
-
class: "p-small t-transp"
|
|
69
|
-
}, "API Status", -1))
|
|
70
|
-
])
|
|
71
48
|
])
|
|
72
49
|
])
|
|
73
50
|
]);
|
|
74
51
|
};
|
|
75
52
|
}
|
|
76
53
|
};
|
|
77
|
-
const NotFound = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54
|
+
const NotFound = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8c38488f"]]);
|
|
78
55
|
export {
|
|
79
56
|
NotFound as default
|
|
80
57
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"404.vue.js","sources":["../../../../../../../../src/modules/core/views/components/pages/404.vue"],"sourcesContent":["<script setup>\nimport { useRouter } from 'vue-router'\nimport IconHome from '@martyrs/src/modules/icons/entities/IconHome.vue'\nimport IconArrow from '@martyrs/src/modules/icons/navigation/IconArrow.vue'\nimport IconSearch from '@martyrs/src/modules/icons/navigation/IconSearch.vue'\nimport IconInfo from '@martyrs/src/modules/icons/entities/IconInfo.vue'\n\nconst router = useRouter()\nconst goBack = () => window.history.length > 1 ? router.back() : router.push('/')\n</script>\n\n<template>\n <div class=\"pd-thin flex flex-v-center w-100 h-100 \">\n <div class=\"bg-light w-100 h-100 flex flex-h-center flex-column radius-big pd-medium\">\n\n <div class=\"flex flex-v-center gap-thin pd-thin radius-big bg-main w-fit mn-b-medium\">\n <span class=\"
|
|
1
|
+
{"version":3,"file":"404.vue.js","sources":["../../../../../../../../src/modules/core/views/components/pages/404.vue"],"sourcesContent":["<script setup>\nimport { useRouter } from 'vue-router'\nimport IconHome from '@martyrs/src/modules/icons/entities/IconHome.vue'\nimport IconArrow from '@martyrs/src/modules/icons/navigation/IconArrow.vue'\nimport IconSearch from '@martyrs/src/modules/icons/navigation/IconSearch.vue'\nimport IconInfo from '@martyrs/src/modules/icons/entities/IconInfo.vue'\n\nconst router = useRouter()\nconst goBack = () => window.history.length > 1 ? router.back() : router.push('/')\n</script>\n\n<template>\n <div class=\"pd-thin flex flex-v-center w-100 h-100 \">\n <div class=\"bg-light w-100 h-100 flex flex-h-center flex-column radius-big pd-medium\">\n\n <div class=\"flex flex-v-center gap-thin pd-thin radius-big bg-main w-fit mn-b-medium\">\n <span class=\"p-small\">Error 404</span>\n </div>\n\n <h1 class=\"mn-b-semi\">Page not found</h1>\n\n <p class=\"p-medium t-transp w-max-35r mn-b-big\" style=\"line-height: 1.6;\">\n The page you are looking for doesn't exist or has been moved. Please check the URL or navigate back to the home page.\n </p>\n\n <div class=\"flex gap-small mn-b-extra\">\n <router-link to=\"/\" class=\"button bg-black t-white pd-regular radius-small flex flex-v-center gap-thin\">\n <IconHome class=\"i-regular\" :fill=\"'rgb(var(--white))'\" />\n <span>Go home</span>\n </router-link>\n <button @click=\"goBack\" class=\"button bg-white t-black pd-regular radius-small flex flex-v-center gap-thin\">\n <IconArrow class=\"i-regular rotate-180\" />\n <span>Go back</span>\n </button>\n </div>\n\n <!-- <div class=\"pd-t-medium w-max-25r\">\n <span class=\"p-micro t-transp t-upper t-500 ls-wide d-block mn-b-small\">Search Documentation</span>\n <div class=\"field-wrapper bg-white flex flex-v-center radius-small pd-small gap-small\">\n <IconSearch class=\"i-small t-transp\" />\n <input type=\"text\" placeholder=\"e.g. Installation guide...\" class=\"w-100 bd-none\" />\n </div>\n <div class=\"flex gap-medium mn-t-small\">\n <a href=\"#\" class=\"flex flex-v-center gap-micro p-small t-transp\"><IconInfo class=\"i-small\" /> Help Center</a>\n <a href=\"#\" class=\"p-small t-transp\">API Status</a>\n </div>\n </div> -->\n\n </div>\n </div>\n</template>\n\n<style scoped>\ninput { border: none; outline: none; }\ninput::placeholder { color: rgba(var(--dark), 0.4); }\n</style>"],"names":[],"mappings":";;;;;;;;;;;;AAOA,UAAM,SAAS,UAAS;AACxB,UAAM,SAAS,MAAM,OAAO,QAAQ,SAAS,IAAI,OAAO,KAAI,IAAK,OAAO,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ import { actions, getters } from "../../../../orders/store/shopcart.js";
|
|
|
6
6
|
import { state } from "../../../../auth/views/store/auth.js";
|
|
7
7
|
import NotificationBadge from "../../../../notifications/components/elements/NotificationBadge.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
|
|
9
|
-
import Select from "../../../../../components/Select/Select.
|
|
9
|
+
import Select from "../../../../../components/Select/Select.vue2.js";
|
|
10
10
|
import _sfc_main$3 from "../../../../icons/entities/IconShopcart.vue.js";
|
|
11
11
|
import _sfc_main$4 from "../../../../icons/entities/IconProfile.vue.js";
|
|
12
12
|
import _sfc_main$2 from "../../../../icons/navigation/IconSearch.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createElementVNode, createBlock, createCommentVNode, toDisplayString, Fragment, renderList, normalizeClass, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import _sfc_main$1 from "../../../../../components/Tab/Tab.
|
|
2
|
+
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue.js";
|
|
3
3
|
const _hoisted_1 = { class: "flex-v-center flex-nowrap flex" };
|
|
4
4
|
const _hoisted_2 = { class: "h2 mn-r-auto" };
|
|
5
5
|
const _hoisted_3 = ["onClick"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, ref, watch, createElementBlock, openBlock, createElementVNode, createCommentVNode, unref, createBlock, createVNode, isRef, withCtx, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _sfc_main$3 from "../blocks/CardEvent.vue.js";
|
|
@@ -2,7 +2,7 @@ import { ref, createElementBlock, openBlock, createVNode, unref, isRef, withCtx,
|
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _sfc_main$8 from "../../../../components/Button/Button.vue.js";
|
|
5
|
-
/* empty css
|
|
5
|
+
/* empty css */
|
|
6
6
|
import _sfc_main$4 from "../../../../components/Chips/Chips.vue.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, onMounted, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, Fragment, renderList, normalizeClass, createBlock, resolveDynamicComponent, toDisplayString, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
|
-
import Select from "../../../../components/Select/Select.
|
|
4
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
|
6
6
|
import { state } from "../../../auth/views/store/auth.js";
|
|
7
7
|
import { actions } from "../../../spots/store/spots.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, computed, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
|
-
import Select from "../../../../components/Select/Select.
|
|
4
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
5
5
|
import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
|
|
6
6
|
import { state } from "../../../auth/views/store/auth.js";
|
|
7
7
|
import { actions } from "../../../spots/store/spots.js";
|
|
@@ -3,7 +3,7 @@ import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
|
|
|
3
3
|
import _sfc_main$7 from "../../../../components/Button/Button.vue.js";
|
|
4
4
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
|
|
9
9
|
import _sfc_main$3 from "../../../orders/components/blocks/CardOrderItem.vue.js";
|
|
@@ -3,7 +3,7 @@ import { useRouter, useRoute } from "vue-router";
|
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
4
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
5
5
|
import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
|
|
6
|
-
import Select from "../../../../components/Select/Select.
|
|
6
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
7
7
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
8
8
|
import _sfc_main$2 from "../../../icons/navigation/IconCross.vue.js";
|
|
9
9
|
import BlockMultiselect from "../../../core/views/components/blocks/BlockMultiselect.vue.js";
|
|
@@ -4,7 +4,7 @@ import Field from "../../../../components/Field/Field.vue.js";
|
|
|
4
4
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
5
5
|
import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
|
|
6
6
|
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
7
|
-
import Select from "../../../../components/Select/Select.
|
|
7
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
8
8
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import BlockMultiselect from "../../../core/views/components/blocks/BlockMultiselect.vue.js";
|
|
@@ -4,7 +4,7 @@ import Field from "../../../../components/Field/Field.vue.js";
|
|
|
4
4
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
5
5
|
import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
|
|
6
6
|
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
7
|
-
import Select from "../../../../components/Select/Select.
|
|
7
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
8
8
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
9
9
|
import Upload from "../../../../components/Upload/Upload.vue2.js";
|
|
10
10
|
import _sfc_main$2 from "../../../icons/navigation/IconCross.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mergeModels, useModel, ref, watch, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
|
-
import Select from "../../../../components/Select/Select.
|
|
4
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
|
6
6
|
const _hoisted_1 = { class: "gap-thin flex mn-t-small" };
|
|
7
7
|
const _sfc_main = {
|
|
@@ -2,7 +2,7 @@ import { mergeModels, useModel, ref, watch, createBlock, openBlock, withCtx, cre
|
|
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
3
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
|
5
|
-
import Select from "../../../../components/Select/Select.
|
|
5
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
6
6
|
import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
|
|
7
7
|
const _hoisted_1 = { class: "gap-thin mn-b-thin flex-justify-between flex-nowrap flex" };
|
|
8
8
|
const _hoisted_2 = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, onMounted, computed, createElementBlock, createCommentVNode, openBlock, createVNode, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, unref, normalizeClass, withCtx, createBlock } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
|
4
|
-
import Select from "../../../../components/Select/Select.
|
|
4
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
5
5
|
import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
|
|
6
6
|
import IconTime from "../../../icons/entities/IconTime.vue.js";
|
|
7
7
|
import _sfc_main$3 from "../blocks/CardOrderItem.vue.js";
|
|
@@ -2,7 +2,7 @@ import { getCurrentInstance, computed, ref, onMounted, createElementBlock, openB
|
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
|
5
|
-
import _sfc_main$3 from "../../../../components/Tab/Tab.
|
|
5
|
+
import _sfc_main$3 from "../../../../components/Tab/Tab.vue.js";
|
|
6
6
|
import _sfc_main$4 from "../../../../components/Popup/Popup.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
8
8
|
import _sfc_main$5 from "../../../../components/Feed/Feed.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, resolveComponent, createElementBlock, openBlock, createBlock, createCommentVNode, createVNode, unref, withCtx, createElementVNode, toDisplayString, normalizeClass, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute } from "vue-router";
|
|
3
|
-
import _sfc_main$3 from "../../../../components/Tab/Tab.
|
|
3
|
+
import _sfc_main$3 from "../../../../components/Tab/Tab.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
|
|
5
5
|
import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
|
|
6
6
|
import { state, actions, getters } from "../../store/orders.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createBlock, openBlock, withCtx, createElementVNode, createVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
3
|
-
import Select from "../../../../components/Select/Select.
|
|
3
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
4
4
|
const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
|
|
5
5
|
const _sfc_main = {
|
|
6
6
|
__name: "FormPayment",
|
|
@@ -21,8 +21,8 @@ import Field from "../../../../components/Field/Field.vue.js";
|
|
|
21
21
|
import "vue-i18n";
|
|
22
22
|
/* empty css */
|
|
23
23
|
import _sfc_main$4 from "../../../../components/FieldTags/BlockTags.vue.js";
|
|
24
|
-
/* empty css
|
|
25
|
-
/* empty css
|
|
24
|
+
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
26
|
/* empty css */
|
|
27
27
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
28
28
|
import _sfc_main$5 from "../../../../components/Button/Button.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, watch, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, Transition, withCtx, unref, Fragment, renderList, isMemoSame, createBlock } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
|
5
5
|
import { state } from "../../../auth/views/store/auth.js";
|
|
6
6
|
import { actions } from "../../store/organizations.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, resolveDirective, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, withDirectives, createCommentVNode, isRef, unref, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
3
|
-
/* empty css
|
|
3
|
+
/* empty css */
|
|
4
4
|
import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../../core/views/components/blocks/BlockSearch.vue.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref, withAsyncContext, watch, createElementBlock, openBlock, createElementVNode, createBlock, Fragment, renderList, normalizeClass } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import "../../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
|
|
9
9
|
import _sfc_main$1 from "../blocks/EmptyState.vue.js";
|
|
@@ -2,7 +2,7 @@ import { ref, onMounted, computed, onUnmounted, createElementBlock, createCommen
|
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import _sfc_main$4 from "../../../icons/navigation/IconDelete.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
|
|
5
|
-
import Select from "../../../../components/Select/Select.
|
|
5
|
+
import Select from "../../../../components/Select/Select.vue2.js";
|
|
6
6
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
7
7
|
import Field from "../../../../components/Field/Field.vue.js";
|
|
8
8
|
import FieldTags from "../../../../components/FieldTags/FieldTags.vue.js";
|
|
@@ -7,7 +7,7 @@ import { state, actions } from "../../store/products.js";
|
|
|
7
7
|
import { state as state$2, actions as actions$1 } from "../../../orders/store/shopcart.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
-
/* empty css
|
|
10
|
+
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import _sfc_main$1 from "../../../icons/navigation/IconEdit.vue.js";
|
|
13
13
|
import _sfc_main$4 from "../../../icons/navigation/IconInfo.vue.js";
|