@ozdao/prometheus-framework 0.2.198 → 0.2.199
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +3 -10
- package/dist/builder.mjs +3 -10
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/add.cjs +1 -0
- package/dist/node_modules/date-fns/add.js +20 -0
- package/dist/node_modules/date-fns/addDays.cjs +1 -0
- package/dist/node_modules/date-fns/addDays.js +10 -0
- package/dist/node_modules/date-fns/addHours.cjs +1 -0
- package/dist/node_modules/date-fns/addHours.js +9 -0
- package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
- package/dist/node_modules/date-fns/addMonths.cjs +1 -0
- package/dist/node_modules/date-fns/addMonths.js +20 -0
- package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
- package/dist/node_modules/date-fns/addQuarters.js +9 -0
- package/dist/node_modules/date-fns/addYears.cjs +1 -0
- package/dist/node_modules/date-fns/addYears.js +8 -0
- package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
- package/dist/node_modules/date-fns/compareAsc.js +9 -0
- package/dist/node_modules/date-fns/constants.cjs +1 -0
- package/dist/node_modules/date-fns/constants.js +8 -0
- package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +7 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
- package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
- package/dist/node_modules/date-fns/differenceInYears.js +13 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
- package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
- package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
- package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
- package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
- package/dist/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
- package/dist/node_modules/date-fns/endOfYear.js +9 -0
- package/dist/node_modules/date-fns/format.cjs +1 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDay.cjs +1 -0
- package/dist/node_modules/date-fns/getDay.js +8 -0
- package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
- package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
- package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
- package/dist/node_modules/date-fns/getHours.cjs +1 -0
- package/dist/node_modules/date-fns/getHours.js +8 -0
- package/dist/node_modules/date-fns/getISODay.cjs +1 -0
- package/dist/node_modules/date-fns/getISODay.js +9 -0
- package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
- package/dist/node_modules/date-fns/getMinutes.js +8 -0
- package/dist/node_modules/date-fns/getMonth.cjs +1 -0
- package/dist/node_modules/date-fns/getMonth.js +8 -0
- package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/getQuarter.js +9 -0
- package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
- package/dist/node_modules/date-fns/getSeconds.js +8 -0
- package/dist/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/getYear.cjs +1 -0
- package/dist/node_modules/date-fns/getYear.js +8 -0
- package/dist/node_modules/date-fns/isAfter.cjs +1 -0
- package/dist/node_modules/date-fns/isAfter.js +9 -0
- package/dist/node_modules/date-fns/isBefore.cjs +1 -0
- package/dist/node_modules/date-fns/isBefore.js +9 -0
- package/dist/node_modules/date-fns/isDate.cjs +1 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isEqual.cjs +1 -0
- package/dist/node_modules/date-fns/isEqual.js +9 -0
- package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
- package/dist/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/node_modules/date-fns/isValid.js +12 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
- package/dist/node_modules/date-fns/parse.cjs +1 -0
- package/dist/node_modules/date-fns/parse.js +90 -0
- package/dist/node_modules/date-fns/set.cjs +1 -0
- package/dist/node_modules/date-fns/set.js +11 -0
- package/dist/node_modules/date-fns/setDay.cjs +1 -0
- package/dist/node_modules/date-fns/setDay.js +12 -0
- package/dist/node_modules/date-fns/setHours.cjs +1 -0
- package/dist/node_modules/date-fns/setHours.js +9 -0
- package/dist/node_modules/date-fns/setISODay.cjs +1 -0
- package/dist/node_modules/date-fns/setISODay.js +11 -0
- package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
- package/dist/node_modules/date-fns/setISOWeek.js +10 -0
- package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
- package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
- package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
- package/dist/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/node_modules/date-fns/setMonth.cjs +1 -0
- package/dist/node_modules/date-fns/setMonth.js +13 -0
- package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
- package/dist/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/node_modules/date-fns/setWeek.cjs +1 -0
- package/dist/node_modules/date-fns/setWeek.js +10 -0
- package/dist/node_modules/date-fns/setYear.cjs +1 -0
- package/dist/node_modules/date-fns/setYear.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
- package/dist/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
- package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
- package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/date-fns/sub.cjs +1 -0
- package/dist/node_modules/date-fns/sub.js +19 -0
- package/dist/node_modules/date-fns/subDays.cjs +1 -0
- package/dist/node_modules/date-fns/subDays.js +8 -0
- package/dist/node_modules/date-fns/subMonths.cjs +1 -0
- package/dist/node_modules/date-fns/subMonths.js +8 -0
- package/dist/node_modules/date-fns/subYears.cjs +1 -0
- package/dist/node_modules/date-fns/subYears.js +8 -0
- package/dist/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/date-fns/transpose.cjs +1 -0
- package/dist/node_modules/date-fns/transpose.js +18 -0
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +11 -10
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +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/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -4
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.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 +7 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +16 -15
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +27 -25
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
- 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/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +19 -18
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +124 -132
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- 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 +2 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
- 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 +2 -2
- 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 +76 -70
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
- 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 +28 -27
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +14 -13
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
- 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 +8 -7
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +22 -22
- package/dist/prometheus-framework.es.js +3228 -3201
- package/dist/style.css +1 -1
- package/dist/tickets.controller-CB549rZT.mjs +402 -0
- package/dist/tickets.controller-yqXXLR62.js +401 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -2
- package/src/builder/webpack/webpack.config.base.js +2 -2
- package/src/builder/webpack/webpack.config.client.js +1 -1
- package/src/builder/webpack/webpack.config.spa.js +0 -6
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/EditImages/EditImages.vue +1 -1
- package/src/components/Error/Error.vue +1 -1
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/components/UploadImage/UploadImage.vue +1 -1
- package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
- package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
- package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
- package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
- package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +2 -2
- package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +2 -2
- package/src/modules/events/components/pages/EditEvent.vue +12 -1
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +1 -1
- package/src/modules/events/components/sections/HeroEvent.vue +4 -4
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
- package/src/modules/events/controllers/utils/templateEmail.js +1 -1
- package/src/modules/events/controllers/utils/templateTicket.js +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +1 -1
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
- package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
- package/src/modules/globals/views/components/layouts/App.vue +15 -39
- package/src/modules/globals/views/components/layouts/Client.vue +89 -45
- package/src/modules/globals/views/components/partials/Footer.vue +7 -7
- package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
- package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
- package/src/modules/landing/components/sections/Examples.vue +1 -1
- package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
- package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
- package/src/modules/landing/components/sections/MobileApp.vue +1 -1
- package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
- package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
- package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
- package/src/modules/orders/components/pages/Orders.vue +0 -3
- package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
- package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
- package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/blocks/EditFilters.vue +1 -1
- package/src/modules/products/components/blocks/Images360.vue +1 -1
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/MenuSection.vue +1 -1
- package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
- package/src/modules/products/components/sections/SectionProduct.vue +1 -1
- package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +1 -1
- package/src/modules/users/components/pages/Profile.vue +1 -1
- package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
- package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
import { openBlock as e, createElementBlock as a, createVNode as r, Transition as m, withCtx as n, unref as o, createBlock as c, createCommentVNode as k, resolveDynamicComponent as y, toDisplayString as w, createElementVNode as b } from "vue";
|
2
|
+
import { useRouter as C, useRoute as v } from "vue-router";
|
3
|
+
import { useI18n as x } from "vue-i18n";
|
4
|
+
import L from "../../../../icons/entities/IconShopcart.vue.js";
|
5
|
+
import B from "../../../../icons/entities/IconProfile.vue.js";
|
6
|
+
import I from "../../../../../components/Button/Button.vue2.js";
|
7
|
+
import "../../store/globals.js";
|
8
|
+
import { actions as N, getters as S } from "../../../../orders/store/shopcart.js";
|
9
|
+
import { state as p } from "../../../../auth/views/store/auth.js";
|
10
|
+
/* empty css */
|
11
|
+
const $ = { class: "pos-sticky w-100 z-index-4 br-b br-solid br-black-transp flex-center flex t-center pd-medium bg-white" }, T = /* @__PURE__ */ b("path", {
|
12
|
+
fill: "rgb(var(--main))",
|
13
|
+
d: "M9.70312 20.7969C10.125 21.2188 10.8281 21.2188 11.2969 20.7969C11.7188 20.375 11.7188 19.6719 11.2969 19.2031L3.42188 11L11.2969 2.79688C11.7188 2.32813 11.7188 1.625 11.2969 1.20313C10.8281 0.734377 10.125 0.781252 9.70312 1.20313L1.07812 10.2031C0.84375 10.4375 0.75 10.7188 0.75 11C0.75 11.2813 0.84375 11.5625 1.07812 11.7969L9.70312 20.7969Z"
|
14
|
+
}, null, -1), V = [
|
15
|
+
T
|
16
|
+
], z = {
|
17
|
+
key: 1,
|
18
|
+
class: "t-semi h-2r h4 d-block"
|
19
|
+
}, F = {
|
20
|
+
__name: "NavigationBar",
|
21
|
+
props: {
|
22
|
+
theme: {
|
23
|
+
type: String,
|
24
|
+
default: "light"
|
25
|
+
},
|
26
|
+
logotype: {
|
27
|
+
type: Object
|
28
|
+
}
|
29
|
+
},
|
30
|
+
setup(d) {
|
31
|
+
const u = d, s = C(), t = v(), { t: A, mergeLocaleMessage: D, locale: h } = x();
|
32
|
+
function _() {
|
33
|
+
var l;
|
34
|
+
(l = t.query) != null && l.afterAuth ? s.push({ name: "Home" }) : s.back();
|
35
|
+
}
|
36
|
+
function g() {
|
37
|
+
p.access.status === !1 ? s.push({ name: "Sign In" }) : s.push({ name: "User Profile", params: { _id: p.user._id } });
|
38
|
+
}
|
39
|
+
return (l, i) => (e(), a("header", $, [
|
40
|
+
r(m, {
|
41
|
+
name: "slideIn",
|
42
|
+
mode: "out-in"
|
43
|
+
}, {
|
44
|
+
default: n(() => [
|
45
|
+
o(t).meta.title_hide ? (e(), c(I, {
|
46
|
+
key: 0,
|
47
|
+
submit: (f) => N.toggleShopcart(),
|
48
|
+
counter: S.cartTotalAmount,
|
49
|
+
showSucces: !1,
|
50
|
+
showLoader: !1,
|
51
|
+
class: "header-shopcart pd-zero mn-l-auto"
|
52
|
+
}, {
|
53
|
+
default: n(() => [
|
54
|
+
r(L, {
|
55
|
+
class: "i-semi",
|
56
|
+
fill: "#00ff88"
|
57
|
+
})
|
58
|
+
]),
|
59
|
+
_: 1
|
60
|
+
}, 8, ["submit", "counter"])) : k("", !0)
|
61
|
+
]),
|
62
|
+
_: 1
|
63
|
+
}),
|
64
|
+
r(m, {
|
65
|
+
name: "slideIn",
|
66
|
+
mode: "out-in"
|
67
|
+
}, {
|
68
|
+
default: n(() => [
|
69
|
+
o(t).meta.title_hide ? (e(), c(B, {
|
70
|
+
key: 0,
|
71
|
+
onClick: i[0] || (i[0] = (f) => g()),
|
72
|
+
class: "header-profile i-semi",
|
73
|
+
fill: "#00ff88"
|
74
|
+
})) : (e(), a("svg", {
|
75
|
+
key: 1,
|
76
|
+
onClick: i[1] || (i[1] = (f) => _()),
|
77
|
+
class: "i-semi header-arrow",
|
78
|
+
width: "12",
|
79
|
+
height: "22",
|
80
|
+
viewBox: "0 0 12 22",
|
81
|
+
fill: "none",
|
82
|
+
xmlns: "http://www.w3.org/2000/svg"
|
83
|
+
}, V))
|
84
|
+
]),
|
85
|
+
_: 1
|
86
|
+
}),
|
87
|
+
r(m, {
|
88
|
+
name: "slideIn",
|
89
|
+
mode: "out-in"
|
90
|
+
}, {
|
91
|
+
default: n(() => [
|
92
|
+
(e(), a("div", {
|
93
|
+
key: o(t).meta.title_hide,
|
94
|
+
class: "header-title"
|
95
|
+
}, [
|
96
|
+
u.logotype && o(t).meta.title_hide ? (e(), c(y(u.logotype), {
|
97
|
+
key: 0,
|
98
|
+
theme: d.theme,
|
99
|
+
class: "h-2r w-auto cursor-pointer"
|
100
|
+
}, null, 8, ["theme"])) : (e(), a("p", z, w(o(t).meta.title[o(h).toLowerCase()]), 1))
|
101
|
+
]))
|
102
|
+
]),
|
103
|
+
_: 1
|
104
|
+
})
|
105
|
+
]));
|
106
|
+
}
|
107
|
+
};
|
108
|
+
export {
|
109
|
+
F as default
|
110
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),r=require("../../../icons/labels/LabelAppStore.vue.cjs"),l=require("../../../icons/labels/LabelGooglePlay.vue.cjs");;/* empty css */const c={id:"mobileApp"},d={class:"pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra"},u={class:"z-index-1 h-100"},p=["src"],m={class:"pd-big flex flex-h-center flex-column z-index-1 w-1/2"},f={class:"mn-t-medium mn-b-semi w-m-40r"},h={class:"t-transp mn-b-big p-big w-m-33r"},_={class:"mn-b-big gap-medium cols-2"},g={class:"feature"},b={class:"mn-b-thin"},y={class:"t-transp p-medium"},E={class:"feature"},v={class:"mn-b-thin"},N={class:"t-transp p-medium"},V={class:"feature"},S={class:"mn-b-thin"},k={class:"t-transp p-medium"},w={class:"feature"},x={class:"mn-b-thin"},D={class:"t-transp p-medium"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),r=require("../../../icons/labels/LabelAppStore.vue.cjs"),l=require("../../../icons/labels/LabelGooglePlay.vue.cjs");;/* empty css */const c={id:"mobileApp"},d={class:"pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra"},u={class:"z-index-1 h-100"},p=["src"],m={class:"pd-big flex flex-h-center flex-column z-index-1 w-1/2"},f={class:"mn-t-medium mn-b-semi w-m-40r"},h={class:"t-transp mn-b-big p-big w-m-33r"},_={class:"mn-b-big gap-medium cols-2"},g={class:"feature"},b={class:"mn-b-thin"},y={class:"t-transp p-medium"},E={class:"feature"},v={class:"mn-b-thin"},N={class:"t-transp p-medium"},V={class:"feature"},S={class:"mn-b-thin"},k={class:"t-transp p-medium"},w={class:"feature"},x={class:"mn-b-thin"},D={class:"t-transp p-medium"},z={class:"w-m-25r flex-nowrap flex gap-medium"},A=["href","target"],I={key:0,class:"z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-10-negative pos-t-10-negative"},L=["href","target"],B={key:0,class:"z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-10-negative pos-t-10-negative"},C={__name:"MobileApp",props:{mockupImage:{type:String,default:"/landing/mockup.jpg"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{soonLabel:"Soon",instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(n){const a=n,{t,te:s}=i.useI18n(a.textData);return(o,P)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("section",d,[e.createElementVNode("div",u,[e.createElementVNode("img",{loading:"lazy",src:(o.FILE_SERVER_URL||"")+n.mockupImage,alt:"Desktop App Mockup",class:"radius-extra h-100 w-100 object-fit-cover"},null,8,p)]),e.createElementVNode("div",m,[e.createElementVNode("h2",f,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",h,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",_,[e.createElementVNode("div",g,[e.createElementVNode("h4",b,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",y,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",E,[e.createElementVNode("h4",v,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",N,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",V,[e.createElementVNode("h4",S,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",k,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",w,[e.createElementVNode("h4",x,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",z,[e.createElementVNode("a",{href:e.unref(s)("features.linkAppStore")?e.unref(t)("features.linkAppStore"):null,target:e.unref(s)("features.linkAppStore")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",I,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(r.default,{class:"w-100 h-100",alt:"Download on App Store"})],8,A),e.createElementVNode("a",{href:e.unref(s)("features.linkGooglePlay")?e.unref(t)("features.linkGooglePlay"):null,target:e.unref(s)("features.linkGooglePlay")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on Google Play"})],8,L)])])])]))}};exports.default=C;
|
@@ -3,7 +3,7 @@ import { useI18n as u } from "vue-i18n";
|
|
3
3
|
import m from "../../../icons/labels/LabelAppStore.vue.js";
|
4
4
|
import h from "../../../icons/labels/LabelGooglePlay.vue.js";
|
5
5
|
/* empty css */
|
6
|
-
const _ = { id: "mobileApp" }, f = { class: "pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra" }, g = { class: "z-index-1 h-100" }, b = ["src"], x = { class: "pd-big flex flex-h-center flex-column z-index-1 w-1/2" },
|
6
|
+
const _ = { id: "mobileApp" }, f = { class: "pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra" }, g = { class: "z-index-1 h-100" }, b = ["src"], x = { class: "pd-big flex flex-h-center flex-column z-index-1 w-1/2" }, y = { class: "mn-t-medium mn-b-semi w-m-40r" }, v = { class: "t-transp mn-b-big p-big w-m-33r" }, w = { class: "mn-b-big gap-medium cols-2" }, k = { class: "feature" }, z = { class: "mn-b-thin" }, A = { class: "t-transp p-medium" }, S = { class: "feature" }, I = { class: "mn-b-thin" }, L = { class: "t-transp p-medium" }, E = { class: "feature" }, D = { class: "mn-b-thin" }, C = { class: "t-transp p-medium" }, G = { class: "feature" }, P = { class: "mn-b-thin" }, U = { class: "t-transp p-medium" }, N = { class: "w-m-25r flex-nowrap flex gap-medium" }, R = ["href", "target"], V = {
|
7
7
|
key: 0,
|
8
8
|
class: "z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-10-negative pos-t-10-negative"
|
9
9
|
}, j = ["href", "target"], B = {
|
@@ -57,20 +57,21 @@ const _ = { id: "mobileApp" }, f = { class: "pos-relative cols-2 pd-thin o-hidde
|
|
57
57
|
e("section", f, [
|
58
58
|
e("div", g, [
|
59
59
|
e("img", {
|
60
|
+
loading: "lazy",
|
60
61
|
src: (p.FILE_SERVER_URL || "") + l.mockupImage,
|
61
62
|
alt: "Desktop App Mockup",
|
62
63
|
class: "radius-extra h-100 w-100 object-fit-cover"
|
63
64
|
}, null, 8, b)
|
64
65
|
]),
|
65
66
|
e("div", x, [
|
66
|
-
e("h2",
|
67
|
-
e("p",
|
68
|
-
e("div",
|
67
|
+
e("h2", y, a(t(s)("title")), 1),
|
68
|
+
e("p", v, a(t(s)("description")), 1),
|
69
|
+
e("div", w, [
|
69
70
|
e("div", k, [
|
70
|
-
e("h4",
|
71
|
-
e("p",
|
71
|
+
e("h4", z, a(t(s)("features.instantUpdates.title")), 1),
|
72
|
+
e("p", A, a(t(s)("features.instantUpdates.text")), 1)
|
72
73
|
]),
|
73
|
-
e("div",
|
74
|
+
e("div", S, [
|
74
75
|
e("h4", I, a(t(s)("features.locate.title")), 1),
|
75
76
|
e("p", L, a(t(s)("features.locate.text")), 1)
|
76
77
|
]),
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */const a=require("../../../../components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */const a=require("../../../../components/Menu/Menu.vue2.cjs"),r=require("../../../../components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/views/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-light radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-light"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
|
@@ -2,7 +2,7 @@ import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, wi
|
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
|
-
import p from "../../../../components/Menu/Menu.
|
5
|
+
import p from "../../../../components/Menu/Menu.vue2.js";
|
6
6
|
import n from "../../../../components/Menu/MenuItem.vue.js";
|
7
7
|
import { useRoute as d, useRouter as h } from "vue-router";
|
8
8
|
import "../../../auth/views/store/auth.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");;/* empty css */const i=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),o=t=>(e.pushScopeId("data-v-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("vue-router");;/* empty css */const i=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),o=t=>(e.pushScopeId("data-v-e9803d20"),t=t(),e.popScopeId(),t),m={class:"pd-big mn-regular order-customer-card col"},u={class:"mn-regular flex-center flex-nowrap flex w-100"},p={class:"w-100 t-medium p-big"},y={class:"flex-nowrap flex"},h={class:"mn-r-bold pd-r-big br-right-dark w-66"},k=o(()=>e.createElementVNode("ul",{class:"mn-semi"},null,-1)),v=o(()=>e.createElementVNode("p",{class:"mn-small t-medium p-big"}," Adress and delivery ",-1)),E={class:"mn-small"},N={key:0,class:"w-"},V={key:1,class:"w-"},g={key:2,class:"w-"},_={class:"w-40"},B={class:"mn-small w-100 t-medium p-big"},C=o(()=>e.createElementVNode("span",{class:"t-transp"},"Order:",-1)),S={key:0,class:"mn-medium w-100"},D=o(()=>e.createElementVNode("span",{class:"t-transp"},"Estimated shipping date:",-1)),b=o(()=>e.createElementVNode("br",null,null,-1)),f={key:1,class:"mn-medium w-100"},w=o(()=>e.createElementVNode("span",{class:"t-transp"},"Shipping date:",-1)),P=o(()=>e.createElementVNode("br",null,null,-1)),T={key:2,class:"mn-medium w-100"},x=o(()=>e.createElementVNode("span",{class:"t-transp"},"Type of delivery:",-1)),I=o(()=>e.createElementVNode("br",null,null,-1)),$=o(()=>e.createElementVNode("hr",{class:"mn-medium"},null,-1)),M=o(()=>e.createElementVNode("p",{class:"t-transp"},"In total",-1)),O={key:3,class:"mn-semi flex"},A=o(()=>e.createElementVNode("p",{class:"t-transp"},"Delivery",-1)),q={key:0},F={key:1},R={key:2},Y={class:"mn-semi intotal flex-bottom flex"},j=o(()=>e.createElementVNode("p",{class:"t-transp"},"In total to pay",-1)),z={key:0,class:"p-big t-semi"},H={key:1,class:"p-big t-semi"},K={key:2,class:"p-big t-semi"},G={key:3,class:"p-big t-semi"},J={key:4,class:"mn-semi"},L={key:5,class:"t-transp"},Q={__name:"CardOrder",props:{order:Object},setup(t){d.useRouter();function l(r){var s=new Date(r),c=(s.getMonth()+1).toString(),n=(s.getDate()+6).toString();return(n[1]?n:"0"+n[0])+"/"+(c[1]?c:"0"+c[0])}function a(r){var s=new Date(r),c=(s.getMonth()+1).toString(),n=(s.getDate()+1).toString();return(n[1]?n:"0"+n[0])+"/"+(c[1]?c:"0"+c[0])}return(r,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("p",u,[e.createElementVNode("span",p,e.toDisplayString(t.order.status),1)]),e.createElementVNode("div",y,[e.createElementVNode("div",h,[k,v,e.createElementVNode("p",E,e.toDisplayString(t.order.delivery.adress),1),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",N," You have chosen delivery using the courier service CDEK. Estimated delivery date "+e.toDisplayString(l(t.order.createdAt))+". ",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",V," You have chosen delivery by courier. Estimated delivery date "+e.toDisplayString(a(t.order.createdAt))+". ",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",g," You have chosen to receive the order in the Moscow store. ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[e.createElementVNode("p",B,[C,e.createTextVNode(" №"+e.toDisplayString(t.order._id.slice(0,8)),1)]),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",S,[D,b,e.createTextVNode(e.toDisplayString(l(t.order.createdAt)),1)])):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",f,[w,P,e.createTextVNode(e.toDisplayString(a(t.order.createdAt)),1)])):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",T,[x,I,e.createTextVNode("Pickup ")])):e.createCommentVNode("",!0),$,e.createElementVNode("div",{class:e.normalizeClass([{"mn-semi":t.order.delivery.type==""},"flex"])},[M,e.createElementVNode("p",null,"$ "+e.toDisplayString(r.cartTotalPrice),1)],2),t.order.delivery.type!==""?(e.openBlock(),e.createElementBlock("div",O,[A,t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",q,"Free")):e.createCommentVNode("",!0),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",F,"$ 10")):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",R,"$ 20")):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Y,[j,t.order.delivery.type===""?(e.openBlock(),e.createElementBlock("p",z,"$ "+e.toDisplayString(r.cartTotalPrice),1)):e.createCommentVNode("",!0),t.order.delivery.type==="Pickup"?(e.openBlock(),e.createElementBlock("p",H,"$ "+e.toDisplayString(r.cartTotalPrice)+" ₽",1)):e.createCommentVNode("",!0),t.order.delivery.type==="Courier"?(e.openBlock(),e.createElementBlock("p",K,"$ "+e.toDisplayString(r.cartTotalPrice+20),1)):e.createCommentVNode("",!0),t.order.delivery.type==="Post"?(e.openBlock(),e.createElementBlock("p",G,"$ "+e.toDisplayString(r.cartTotalPrice+10),1)):e.createCommentVNode("",!0)]),t.order.status==="Confirmed"?(e.openBlock(),e.createElementBlock("hr",J)):e.createCommentVNode("",!0),r.payment&&r.payment.Status==="CONFIRMED"?(e.openBlock(),e.createElementBlock("span",L,"Paid")):e.createCommentVNode("",!0)])])]))}},U=i.default(Q,[["__scopeId","data-v-e9803d20"]]);exports.default=U;
|
@@ -2,7 +2,7 @@ import { openBlock as s, createElementBlock as r, createElementVNode as t, toDis
|
|
2
2
|
import { useRouter as _ } from "vue-router";
|
3
3
|
/* empty css */
|
4
4
|
import g from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const d = (e) => (p("data-v-
|
5
|
+
const d = (e) => (p("data-v-e9803d20"), e = e(), v(), e), k = { class: "pd-big mn-regular order-customer-card col" }, f = { class: "mn-regular flex-center flex-nowrap flex w-100" }, b = { class: "w-100 t-medium p-big" }, w = { class: "flex-nowrap flex" }, P = { class: "mn-r-bold pd-r-big br-right-dark w-66" }, D = /* @__PURE__ */ d(() => /* @__PURE__ */ t("ul", { class: "mn-semi" }, null, -1)), S = /* @__PURE__ */ d(() => /* @__PURE__ */ t("p", { class: "mn-small t-medium p-big" }, " Adress and delivery ", -1)), C = { class: "mn-small" }, T = {
|
6
6
|
key: 0,
|
7
7
|
class: "w-"
|
8
8
|
}, x = {
|
@@ -115,7 +115,7 @@ const d = (e) => (p("data-v-43fdd511"), e = e(), v(), e), k = { class: "pd-big m
|
|
115
115
|
])
|
116
116
|
]));
|
117
117
|
}
|
118
|
-
}, ne = /* @__PURE__ */ g(re, [["__scopeId", "data-v-
|
118
|
+
}, ne = /* @__PURE__ */ g(re, [["__scopeId", "data-v-e9803d20"]]);
|
119
119
|
export {
|
120
120
|
ne as default
|
121
121
|
};
|
package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),m=require("../../../icons/navigation/IconAdd.vue.cjs"),p=require("../../../icons/navigation/IconMinus.vue.cjs"),g=require("../../../icons/navigation/IconDelete.vue.cjs"),h=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),k={class:"gap-small pos-relative cols-1"},v={class:"pos-relative w-100 gap-thin flex-stretch flex-nowrap flex"},y={class:"bg-light h-100 o-hidden pos-relative radius-small aspect-1x1",style:{flex:"1 0 auto"}},f=["src"],B={class:"w-100 pos-relative"},V={class:"t-truncate t-medium"},N={key:0,class:"t-transp"},b={key:1,class:"t-transp"},E={key:2,class:"t-transp"},C={class:"t-main t-demi"},S={key:0},D={key:1,class:"pd-r-small t-transp t-transp p-medium line-through price"},q={key:0,class:"mn-t-thin gap-thin flex-nojustify flex"},x={__name:"CardOrderItem",props:{product:Object,editable:Boolean,increase:Function,decrease:Function,remove:Function},emits:["increase","decrease","remove"],setup(t,{emit:a}){u.useRouter();const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),m=require("../../../icons/navigation/IconAdd.vue.cjs"),p=require("../../../icons/navigation/IconMinus.vue.cjs"),g=require("../../../icons/navigation/IconDelete.vue.cjs"),h=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),k={class:"gap-small pos-relative cols-1"},v={class:"pos-relative w-100 gap-thin flex-stretch flex-nowrap flex"},y={class:"bg-light h-100 o-hidden pos-relative radius-small aspect-1x1",style:{flex:"1 0 auto"}},f=["src"],B={class:"w-100 pos-relative"},V={class:"t-truncate t-medium"},N={key:0,class:"t-transp"},b={key:1,class:"t-transp"},E={key:2,class:"t-transp"},C={class:"t-main t-demi"},S={key:0},D={key:1,class:"pd-r-small t-transp t-transp p-medium line-through price"},q={key:0,class:"mn-t-thin gap-thin flex-nojustify flex"},x={__name:"CardOrderItem",props:{product:Object,editable:Boolean,increase:Function,decrease:Function,remove:Function},emits:["increase","decrease","remove"],setup(t,{emit:a}){u.useRouter();const n=a,c=t;function i(o){c.increase&&c.increase(o),n("increase",o)}function l(o){c.decrease&&c.decrease(o),n("decrease",o)}function d(o){c.remove&&c.remove(o),n("remove",o)}return(o,r)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",v,[e.createElementVNode("div",y,[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",class:"w-100 object-fit-cover pos-absolute h-100",src:(o.FILE_SERVER_URL||"")+t.product.images[0]},null,8,f)):e.createCommentVNode("",!0),t.product.images[0]?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(h.default,{key:1,class:"bg-light pos-absolute radius-small w-100 h-100"}))]),e.createElementVNode("div",B,[e.createElementVNode("p",V,[e.createTextVNode(e.toDisplayString(t.product.name)+" ",1),t.product.size?(e.openBlock(),e.createElementBlock("span",N,", "+e.toDisplayString(t.product.size),1)):e.createCommentVNode("",!0),typeof t.product.color=="string"&&t.product.size?(e.openBlock(),e.createElementBlock("span",b,", ")):e.createCommentVNode("",!0),typeof t.product.color=="string"?(e.openBlock(),e.createElementBlock("span",E,e.toDisplayString(t.product.color),1)):e.createCommentVNode("",!0)]),e.createElementVNode("p",C,[t.product.quantity?(e.openBlock(),e.createElementBlock("span",S,e.toDisplayString(t.product.quantity)+" x ",1)):e.createCommentVNode("",!0),e.createTextVNode(e.toDisplayString(t.product.price)+" "+e.toDisplayString(o.returnCurrency())+" ",1),t.product.sale?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(o.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.editable?(e.openBlock(),e.createElementBlock("div",q,[e.createVNode(m.default,{onClick:r[0]||(r[0]=s=>i(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"}),e.createVNode(p.default,{onClick:r[1]||(r[1]=s=>l(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"}),e.createVNode(g.default,{onClick:r[2]||(r[2]=s=>d(t.product)),class:"hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"})])):e.createCommentVNode("",!0)])])]))}};exports.default=x;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { openBlock as s, createElementBlock as i, createElementVNode as n, createCommentVNode as
|
1
|
+
import { openBlock as s, createElementBlock as i, createElementVNode as n, createCommentVNode as o, createBlock as v, createTextVNode as m, toDisplayString as r, createVNode as d } from "vue";
|
2
2
|
import { useRouter as y } from "vue-router";
|
3
3
|
import b from "../../../icons/navigation/IconAdd.vue.js";
|
4
4
|
import k from "../../../icons/navigation/IconMinus.vue.js";
|
@@ -7,16 +7,16 @@ import C from "../../../icons/placeholders/PlaceholderImage.vue.js";
|
|
7
7
|
const $ = { class: "gap-small pos-relative cols-1" }, w = { class: "pos-relative w-100 gap-thin flex-stretch flex-nowrap flex" }, E = {
|
8
8
|
class: "bg-light h-100 o-hidden pos-relative radius-small aspect-1x1",
|
9
9
|
style: { flex: "1 0 auto" }
|
10
|
-
}, V = ["src"],
|
10
|
+
}, V = ["src"], z = { class: "w-100 pos-relative" }, B = { class: "t-truncate t-medium" }, F = {
|
11
11
|
key: 0,
|
12
12
|
class: "t-transp"
|
13
|
-
},
|
13
|
+
}, N = {
|
14
14
|
key: 1,
|
15
15
|
class: "t-transp"
|
16
|
-
},
|
16
|
+
}, R = {
|
17
17
|
key: 2,
|
18
18
|
class: "t-transp"
|
19
|
-
},
|
19
|
+
}, j = { class: "t-main t-demi" }, I = { key: 0 }, q = {
|
20
20
|
key: 1,
|
21
21
|
class: "pd-r-small t-transp t-transp p-medium line-through price"
|
22
22
|
}, L = {
|
@@ -49,25 +49,26 @@ const $ = { class: "gap-small pos-relative cols-1" }, w = { class: "pos-relative
|
|
49
49
|
n("div", E, [
|
50
50
|
e.product.images[0] ? (s(), i("img", {
|
51
51
|
key: 0,
|
52
|
+
loading: "lazy",
|
52
53
|
class: "w-100 object-fit-cover pos-absolute h-100",
|
53
54
|
src: (t.FILE_SERVER_URL || "") + e.product.images[0]
|
54
|
-
}, null, 8, V)) :
|
55
|
-
e.product.images[0] ?
|
55
|
+
}, null, 8, V)) : o("", !0),
|
56
|
+
e.product.images[0] ? o("", !0) : (s(), v(C, {
|
56
57
|
key: 1,
|
57
58
|
class: "bg-light pos-absolute radius-small w-100 h-100"
|
58
59
|
}))
|
59
60
|
]),
|
60
|
-
n("div",
|
61
|
-
n("p",
|
62
|
-
m(
|
63
|
-
e.product.size ? (s(), i("span",
|
64
|
-
typeof e.product.color == "string" && e.product.size ? (s(), i("span",
|
65
|
-
typeof e.product.color == "string" ? (s(), i("span",
|
61
|
+
n("div", z, [
|
62
|
+
n("p", B, [
|
63
|
+
m(r(e.product.name) + " ", 1),
|
64
|
+
e.product.size ? (s(), i("span", F, ", " + r(e.product.size), 1)) : o("", !0),
|
65
|
+
typeof e.product.color == "string" && e.product.size ? (s(), i("span", N, ", ")) : o("", !0),
|
66
|
+
typeof e.product.color == "string" ? (s(), i("span", R, r(e.product.color), 1)) : o("", !0)
|
66
67
|
]),
|
67
|
-
n("p",
|
68
|
-
e.product.quantity ? (s(), i("span", I,
|
69
|
-
m(
|
70
|
-
e.product.sale ? (s(), i("span", q,
|
68
|
+
n("p", j, [
|
69
|
+
e.product.quantity ? (s(), i("span", I, r(e.product.quantity) + " x ", 1)) : o("", !0),
|
70
|
+
m(r(e.product.price) + " " + r(t.returnCurrency()) + " ", 1),
|
71
|
+
e.product.sale ? (s(), i("span", q, r(e.product.price / 100 * (100 + e.product.sale)) + " " + r(t.returnCurrency()), 1)) : o("", !0)
|
71
72
|
]),
|
72
73
|
e.editable ? (s(), i("div", L, [
|
73
74
|
d(b, {
|
@@ -82,7 +83,7 @@ const $ = { class: "gap-small pos-relative cols-1" }, w = { class: "pos-relative
|
|
82
83
|
onClick: a[2] || (a[2] = (u) => g(e.product)),
|
83
84
|
class: "hover-scale-1 cursor-pointer bg-light i-big pd-thin radius-small"
|
84
85
|
})
|
85
|
-
])) :
|
86
|
+
])) : o("", !0)
|
86
87
|
])
|
87
88
|
])
|
88
89
|
]));
|
package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router")
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");;/* empty css */const q=require("../../../../components/Popup/Popup.vue2.cjs"),P=require("../../../icons/entities/IconTime.vue.cjs"),B=require("../blocks/CardOrderItem.vue.cjs"),I=require("../../../organizations/components/blocks/CardOrganization.vue.cjs"),M=require("../../../chats/components/pages/ChatPage.vue.cjs"),z=require("../blocks/StatusHistory.vue.cjs"),T=require("../../../globals/views/store/globals.cjs"),c=require("../../store/orders.cjs"),F=require("../../../products/store/products.cjs"),L=require("../../../organizations/store/organizations.cjs");;/* empty css */const R=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=b=>(e.pushScopeId("data-v-5785b6f6"),b=b(),e.popScopeId(),b),A={key:0,class:"pd-thin"},H={key:0,class:"mn-b-thin pos-relative w-100 bg-main radius-big pd-medium"},U={class:"mn-b-small flex-nowrap flex"},W={class:"t-medium p-medium"},j={class:"p-small t-transp"},G={class:"flex-nowrap flex gap-thin pos-relative"},J={class:"bg-light mn-b-thin pd-thin radius-extra flex-nowrap flex"},K={class:"w-max flex-v-center gap-thin flex-nowrap flex pd-thin radius-small bg-white-transp-20"},Q={class:"t-medium mn-r-auto"},X=r(()=>e.createElementVNode("span",{class:"p-small t-transp"},"Estimated Arrival",-1)),Y=r(()=>e.createElementVNode("br",null,null,-1)),Z=r(()=>e.createElementVNode("p",{class:"t-medium p-medium mn-b-thin"}," Positions ",-1)),$={class:"bg-light pd-small radius-small flex gap-thin flex-column mn-b-semi"},ee={key:1,class:"gap-thin cols-2"},te={class:"w-100"},se={class:"mn-b-thin bg-light w-100 o-hidden radius-medium"},ae={class:"pd-small flex-nowrap flex"},re={class:"mn-r-auto"},le=r(()=>e.createElementVNode("span",{class:"d-block t-medium p-medium"},"Order is",-1)),ne=r(()=>e.createElementVNode("span",{class:"t-lh-075 h2 d-block mn-b-small"},"created",-1)),oe={class:"pd-t-nano pd-b-nano pd-r-thin pd-l-thin radius-extra bg-black t-white w-max"},ie={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},ce=r(()=>e.createElementVNode("p",{class:"w-100 t-medium p-medium"}," Phone ",-1)),de={class:"w-100 t-right"},ue={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},me=r(()=>e.createElementVNode("p",{class:"t-medium p-medium"}," Address ",-1)),pe={class:"w-100 t-right"},_e={class:"pd-small cols-2 br-t br-black-transp-10 br-solid"},he=r(()=>e.createElementVNode("p",{class:"mn-b-small t-medium p-medium"}," Delivery ",-1)),be={class:"w-100 t-right mn-b-small"},ve={key:2,class:"t-transp"},ge={class:"bg-light radius-big pd-medium mn-r-bold pd-r-big br-right-dark w-100"},fe=r(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Order Summary",-1)),Ne={class:"flex gap-thin flex-column mn-b-semi"},Ve={class:"mn-b-medium radius-small br-solid br-1px br-black-transp-10 w-100"},Ee={class:"pd-small br-solid br-b br-black-transp-10 flex"},ke=r(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"In total",-1)),ye={class:"pd-small br-solid br-b br-black-transp-10 flex"},we=r(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"Delivery",-1)),Se={class:"pd-small flex-bottom flex"},xe=r(()=>e.createElementVNode("p",{class:"mn-r-auto t-transp"},"In total to pay",-1)),Ce={class:"p-big t-semi"},Be=r(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Chat With Us",-1)),De={__name:"OrderBackoffice",setup(b){C.useRouter();const _=C.useRoute(),s=e.ref(null),v=e.ref(null),n=e.ref(null),o=["created","confirmed","packing","in delivery","delivered"],V=["Created","Confirmed","Packing","In Delivery","Delivered"],g=t=>o.slice(t).includes(s.value.status),f=e.ref(!1),E=e.ref(null),N=e.ref([]);function D(t){f.value=!0,typeof t=="number"&&(E.value=t)}function k(){f.value=!1,E.value=null}e.onMounted(async()=>{var a,l;s.value=await c.actions.read({_id:_.params.order}),s.value=s.value[0],v.value=await F.actions.read({organization:s.value.owner.target._id,limit:1e3}),console.log(v.value);const t=v.value.reduce((d,u)=>(d[u._id]=u,d),{});console.log(t),N.value=s.value.positions.map(({_id:d,quantity:u})=>{const m=t[d];return{name:m.name,images:m.images,price:m.price,_id:m._id,quantity:u}}),n.value=await L.actions.read({_id:(a=s.value)==null?void 0:a.owner.target._id,location:(l=T.state.position)==null?void 0:l.location})});let y=e.computed(()=>{var t;return Number((t=s.value)==null?void 0:t.positions.reduce((a,l)=>a+l.price*l.quantity,0))});e.computed(()=>{var t;return Number((t=s.value)==null?void 0:t.positions.reduce((a,l)=>a+l.quantity,0))});function h(t){const a=o.indexOf(t);return a!==-1&&a+1<o.length?o[a+1]:null}function w(t){const a=o.indexOf(t);return t?V[a]:""}async function O(){const t=h(c.state.current.status);t?(c.state.current.status=t,await c.actions.update(c.state.current)):console.error("Next status is void. Must handle somehow."),k()}return(t,a)=>{var l,d,u,m,S,x;return s.value&&n.value?(e.openBlock(),e.createElementBlock("div",A,[s.value?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("div",U,[e.createElementVNode("p",W,[e.createTextVNode(" Order No: "),e.createElementVNode("span",j,"#"+e.toDisplayString(s.value._id),1)])]),e.createElementVNode("div",G,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(o,(p,i)=>e.createElementVNode("div",{key:i,class:"w-20"},[e.createElementVNode("div",{class:e.normalizeClass(["bg-light br-anim br-glow radius-extra h-1r w-100",{"br-glow-anim":g(i)},{"t-transp":!g(i)},{blink:s.value.status===o[i]&&h(s.value.status)}])},null,2),e.createElementVNode("div",{class:e.normalizeClass([{"t-transp":!g(i)},"mn-t-thin p-small t-medium uppercase"])},e.toDisplayString(V[i]),3)])),64))])])):e.createCommentVNode("",!0),e.createElementVNode("div",J,[e.createElementVNode("div",K,[e.createVNode(P.default,{class:"i-semi t-transp",fill:"rgb(var(--black)"}),e.createElementVNode("p",Q,[X,Y,e.createTextVNode(e.toDisplayString(t.formatDate(s.value.deadline)),1)])]),h(s.value.status)&&e.unref(_).name==="Order Edit"?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:D,class:"mn-l-auto bg-black t-white button"}," Mark as "+e.toDisplayString(w(h(s.value.status))),1)):e.createCommentVNode("",!0)]),e.createVNode(q.default,{title:"Change status",onClosePopup:k,isPopupOpen:f.value,class:"bg-white w-min-30r w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value.deadline)+" ",1),Z,e.createElementVNode("ul",$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(p,i)=>(e.openBlock(),e.createBlock(B.default,{key:p._id,editable:!1,product:p},null,8,["product"]))),128))]),e.createElementVNode("button",{onClick:O,class:"w-100 bg-black-small t-white button"},e.toDisplayString("Confirm Changing to "+w(h(s.value.status))),1)]),_:1},8,["isPopupOpen"]),s.value?(e.openBlock(),e.createElementBlock("div",ee,[e.createElementVNode("div",te,[n.value[0]?(e.openBlock(),e.createBlock(I.default,{key:0,organization:n.value[0],showRating:!0,showFollowers:!1,showProducts:!1,class:"bg-light mn-b-thin w-100 o-hidden radius-big pd-small"},null,8,["organization"])):e.createCommentVNode("",!0),e.createElementVNode("div",se,[e.createElementVNode("div",ae,[e.createElementVNode("div",re,[le,ne,e.createElementVNode("p",oe,e.toDisplayString(t.formatDate(s.value.createdAt)),1)])]),e.createElementVNode("div",ie,[ce,e.createElementVNode("p",de,e.toDisplayString(((l=s.value.customer.target)==null?void 0:l.number)||"Not specified"),1)]),e.createElementVNode("div",ue,[me,e.createElementVNode("p",pe,e.toDisplayString(s.value.delivery.address?s.value.delivery.address.slice(0,64):"Not specified"),1)]),e.createElementVNode("div",_e,[he,e.createElementVNode("p",be,e.toDisplayString(s.value.delivery.type?s.value.delivery.type:"Not specified"),1)])]),c.state.current.status_history?(e.openBlock(),e.createBlock(z.default,{key:1,statuses:o,statusHistory:c.state.current.status_history,statusCurrent:c.state.current.status,edit:e.unref(_).name==="Order Edit"},null,8,["statusHistory","statusCurrent","edit"])):e.createCommentVNode("",!0),t.payment&&t.payment.Status==="CONFIRMED"?(e.openBlock(),e.createElementBlock("span",ve,"Paid")):e.createCommentVNode("",!0)]),e.createElementVNode("div",ge,[fe,e.createElementVNode("ul",Ne,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(p,i)=>(e.openBlock(),e.createBlock(B.default,{key:p._id,editable:!1,product:p},null,8,["product"]))),128))]),e.createElementVNode("div",Ve,[e.createElementVNode("div",Ee,[ke,e.createElementVNode("p",null,e.toDisplayString(e.unref(y))+" "+e.toDisplayString(t.returnCurrency()),1)]),e.createElementVNode("div",ye,[we,e.createElementVNode("p",null,e.toDisplayString(t.returnCurrency())+" "+e.toDisplayString(Math.trunc(100+20*((d=n.value[0])==null?void 0:d.distance)-7,5*(((u=n.value[0])==null?void 0:u.distance)/10))),1)]),e.createElementVNode("div",Se,[xe,e.createElementVNode("p",Ce,e.toDisplayString(t.returnCurrency())+" "+e.toDisplayString(Math.trunc(100+20*((m=n.value[0])==null?void 0:m.distance)-7,5*(((S=n.value[0])==null?void 0:S.distance)/10))+e.unref(y)),1)])]),Be,e.createVNode(M.default,{username:e.unref(_).name==="Order Status"?((x=s.value.user)==null?void 0:x.name)||"User":"Weeder Support",chatID:e.unref(_).params.order,class:"radius-semi bg-white o-hidden"},null,8,["username","chatID"])])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}},Oe=R.default(De,[["__scopeId","data-v-5785b6f6"]]);exports.default=Oe;
|