@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
@@ -1,11 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { u as
|
3
|
-
import { useI18n as
|
4
|
-
import { useRoute as
|
5
|
-
import { state as
|
6
|
-
import I from "../partials/BottomNavigation.vue.js";
|
1
|
+
import { ref as g, computed as h, onMounted as P, resolveComponent as T, openBlock as r, createElementBlock as k, Fragment as N, createVNode as f, Transition as S, withCtx as s, unref as o, createBlock as l, resolveDynamicComponent as c, createCommentVNode as w, normalizeClass as O } from "vue";
|
2
|
+
import { u as z } from "../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js";
|
3
|
+
import { useI18n as E } from "vue-i18n";
|
4
|
+
import { useRoute as I } from "vue-router";
|
5
|
+
import { state as n } from "../../store/globals.js";
|
7
6
|
import { Preferences as L } from "../../../../../../node_modules/@capacitor/preferences/dist/esm/index.js";
|
8
|
-
const
|
7
|
+
const M = {
|
8
|
+
key: 0,
|
9
|
+
class: "w-100 h-100"
|
10
|
+
}, p = "https://weeder.delivery", G = {
|
9
11
|
__name: "App",
|
10
12
|
props: {
|
11
13
|
messages: {
|
@@ -16,136 +18,128 @@ const c = "https://weeder.delivery", R = {
|
|
16
18
|
type: Object
|
17
19
|
}
|
18
20
|
},
|
19
|
-
setup(
|
20
|
-
const
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
setup(_) {
|
22
|
+
const $ = _;
|
23
|
+
let C = g(!1);
|
24
|
+
const v = g(null), { t, locale: V } = E({
|
25
|
+
messages: $.messages
|
26
|
+
}), b = h(() => y(`${p}${a.path}`)), a = I(), F = ["en", "ru"];
|
27
|
+
function y(e) {
|
24
28
|
return e.endsWith("/") ? e.slice(0, -1) : e;
|
25
29
|
}
|
26
|
-
const
|
27
|
-
title:
|
28
|
-
description:
|
30
|
+
const A = h(() => ({
|
31
|
+
title: t("meta.title"),
|
32
|
+
description: t("meta.description"),
|
29
33
|
meta: [
|
30
34
|
{ charset: "utf-8" },
|
31
35
|
{ name: "viewport", content: "width=device-width, initial-scale=1, shrink-to-fit=no" },
|
32
|
-
{ hid: "description", name: "description", content:
|
33
|
-
{ hid: "keywords", name: "keywords", content:
|
34
|
-
{ hid: "og:title", property: "og:title", content:
|
35
|
-
{ hid: "og:description", property: "og:description", content:
|
36
|
-
{ hid: "og:image", property: "og:image", content:
|
36
|
+
{ hid: "description", name: "description", content: t("meta.description") },
|
37
|
+
{ hid: "keywords", name: "keywords", content: t("meta.keywords") },
|
38
|
+
{ hid: "og:title", property: "og:title", content: t("meta.og.title") },
|
39
|
+
{ hid: "og:description", property: "og:description", content: t("meta.og.description") },
|
40
|
+
{ hid: "og:image", property: "og:image", content: p + "/favicon/cover.jpg" },
|
37
41
|
{ hid: "og:url", property: "og:url", content: b.value },
|
38
|
-
{ hid: "twitter:title", name: "twitter:title", content:
|
39
|
-
{ hid: "twitter:description", name: "twitter:description", content:
|
40
|
-
{ hid: "twitter:image", name: "twitter:image", content:
|
41
|
-
{ hid: "twitter:card", name: "twitter:card", content:
|
42
|
+
{ hid: "twitter:title", name: "twitter:title", content: t("meta.twitter.title") },
|
43
|
+
{ hid: "twitter:description", name: "twitter:description", content: t("meta.twitter.description") },
|
44
|
+
{ hid: "twitter:image", name: "twitter:image", content: p + "/favicon/cover.jpg" },
|
45
|
+
{ hid: "twitter:card", name: "twitter:card", content: t("meta.twitter.card") }
|
42
46
|
],
|
43
47
|
link: [
|
44
48
|
{ hid: "canonical", rel: "canonical", href: b.value },
|
45
|
-
...
|
49
|
+
...U.value
|
46
50
|
],
|
47
|
-
htmlAttrs: { lang:
|
48
|
-
})),
|
49
|
-
let
|
50
|
-
|
51
|
-
const
|
51
|
+
htmlAttrs: { lang: t("meta.htmlAttrs.lang") }
|
52
|
+
})), U = h(() => F.map((e) => {
|
53
|
+
let i = a.path;
|
54
|
+
a.params.locale ? i = i.replace(`/${a.params.locale}`, `/${e}`) : i = `/${e}${i}`;
|
55
|
+
const m = y(`${p}${i}`);
|
52
56
|
return {
|
53
57
|
hid: "alternate",
|
54
58
|
rel: "alternate",
|
55
59
|
hreflang: e,
|
56
|
-
href:
|
60
|
+
href: m
|
57
61
|
};
|
58
62
|
}));
|
59
|
-
|
60
|
-
const
|
61
|
-
async function
|
63
|
+
z(A.value);
|
64
|
+
const d = g(!1);
|
65
|
+
async function j() {
|
62
66
|
const e = await L.get({ key: "first-use" });
|
63
|
-
|
67
|
+
d.value = e.value ? JSON.parse(e.value) : !0;
|
64
68
|
}
|
69
|
+
const x = (e) => {
|
70
|
+
d.value = e;
|
71
|
+
};
|
65
72
|
return P(async () => {
|
66
|
-
await
|
67
|
-
}), (e,
|
68
|
-
const
|
69
|
-
return
|
70
|
-
|
71
|
-
name: "
|
72
|
-
mode: "out-in"
|
73
|
-
appear: ""
|
73
|
+
await j(), v && (C.value = !0);
|
74
|
+
}), (e, i) => {
|
75
|
+
const m = T("router-view");
|
76
|
+
return r(), k(N, null, [
|
77
|
+
f(S, {
|
78
|
+
name: "scaleTransition",
|
79
|
+
mode: "out-in"
|
74
80
|
}, {
|
75
|
-
default:
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
"pos-l-0": a.isOpenSidebar
|
85
|
-
}])
|
86
|
-
}, {
|
87
|
-
default: l(({ Component: u }) => [
|
88
|
-
i(t).meta.navigation ? (n(), s(p(i(t).meta.navigation), {
|
89
|
-
key: 0,
|
90
|
-
class: "h3 pd-big cols-1"
|
91
|
-
})) : m("", !0)
|
92
|
-
]),
|
93
|
-
_: 1
|
94
|
-
}, 40, ["stateSidebar", "class"])) : m("", !0)
|
81
|
+
default: s(() => [
|
82
|
+
d.value && o(a).meta.walkthrough ? (r(), k("section", M, [
|
83
|
+
(r(), l(c(o(a).meta.walkthrough), {
|
84
|
+
name: "Walkthrough",
|
85
|
+
onUpdateFirstUse: x,
|
86
|
+
slides: [1, 2, 3],
|
87
|
+
class: "tab"
|
88
|
+
}, null, 32))
|
89
|
+
])) : w("", !0)
|
95
90
|
]),
|
96
91
|
_: 1
|
97
92
|
}),
|
98
|
-
|
93
|
+
f(S, {
|
99
94
|
name: "moveFromTop",
|
100
95
|
mode: "out-in",
|
101
96
|
appear: ""
|
102
97
|
}, {
|
103
|
-
default:
|
104
|
-
|
98
|
+
default: s(() => [
|
99
|
+
o(a).meta.sidebar && n.isOpenSidebar ? (r(), l(c(o(a).meta.sidebar), {
|
105
100
|
key: 0,
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
101
|
+
stateSidebar: n.isOpenSidebar,
|
102
|
+
onCloseSidebar: i[0] || (i[0] = () => {
|
103
|
+
n.isOpenSidebar = !n.isOpenSidebar;
|
104
|
+
}),
|
105
|
+
class: O(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light", {
|
106
|
+
"pos-l-70-negative": !n.isOpenSidebar,
|
107
|
+
"pos-l-0": n.isOpenSidebar
|
108
|
+
}])
|
113
109
|
}, {
|
114
|
-
default:
|
115
|
-
|
110
|
+
default: s(({ Component: u }) => [
|
111
|
+
o(a).meta.navigation ? (r(), l(c(o(a).meta.navigation), {
|
116
112
|
key: 0,
|
117
|
-
class: "
|
118
|
-
})) :
|
113
|
+
class: "h3 pd-big cols-1"
|
114
|
+
})) : w("", !0)
|
119
115
|
]),
|
120
116
|
_: 1
|
121
|
-
},
|
117
|
+
}, 40, ["stateSidebar", "class"])) : w("", !0)
|
122
118
|
]),
|
123
119
|
_: 1
|
124
120
|
}),
|
125
|
-
|
126
|
-
class:
|
127
|
-
"pos-l-70":
|
128
|
-
"pos-l-0": !
|
121
|
+
f(m, {
|
122
|
+
class: O([{
|
123
|
+
"pos-l-70": n.isOpenSidebar,
|
124
|
+
"pos-l-0": !n.isOpenSidebar,
|
125
|
+
"pd-t-extra": e.MOBILE_APP === "ios"
|
129
126
|
}, "transition-ease-in-out h-min-100 w-100 bg-white pos-relative"]),
|
130
|
-
|
131
|
-
onScroll: e.handleScroll,
|
132
|
-
onClick: r[1] || (r[1] = (u) => a.isOpenSidebar ? (A) => a.isOpenSidebar = !1 : (A) => {
|
127
|
+
onClick: i[1] || (i[1] = (u) => n.isOpenSidebar ? (B) => n.isOpenSidebar = !1 : (B) => {
|
133
128
|
console.log("not succes");
|
134
129
|
})
|
135
130
|
}, {
|
136
|
-
default:
|
137
|
-
(
|
131
|
+
default: s(({ Component: u }) => [
|
132
|
+
(r(), l(c(u), {
|
133
|
+
ref_key: "page",
|
134
|
+
ref: v
|
135
|
+
}, null, 512))
|
138
136
|
]),
|
139
137
|
_: 1
|
140
|
-
}, 8, ["class"
|
141
|
-
e.MOBILE_APP && i(t).meta.title_hide ? (n(), s(I, {
|
142
|
-
key: 0,
|
143
|
-
class: "pd-small z-index-2"
|
144
|
-
})) : m("", !0)
|
138
|
+
}, 8, ["class"])
|
145
139
|
], 64);
|
146
140
|
};
|
147
141
|
}
|
148
142
|
};
|
149
143
|
export {
|
150
|
-
|
144
|
+
G as default
|
151
145
|
};
|
package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),n=require("../../store/globals.cjs"),B=require("../../../../../components/Status/Status.vue.cjs"),C=require("../../../../../components/Popup/Popup.vue2.cjs");require("vue-i18n");;/* empty css */const _=require("../partials/LocationSelection.vue.cjs");require("../../../../products/store/categories.cjs");const w=,/* empty css */P=require("../partials/NavigationBar.vue.cjs"),N=require("../../../../orders/components/partials/ShopCart.vue.cjs");;/* empty css */const V={id:"app-wrapper",class:"pos-relative"},q={__name:"Client",setup(S){const p=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("../../../../../components/Loader/Loader.vue2.cjs")));let d=e.ref(!1);const i=e.ref(null),r=u.useRoute();u.useRouter();const c=e.ref(r.query.referalCode);function m(){n.state.isOpenLocationPopup=!1}function f(){document.getElementById("app").scrollIntoView()}const l=e.ref(0);let s=!1;const o=e.ref(null),v=e.computed(()=>l.value>50?"light":r.meta.header_theme||"light"),g=()=>{if(l.value=event.target.scrollTop,l.value>50&&!s){s=!0,o.value.$el.classList.add("scrolled");const a=-o.value.$el.getBoundingClientRect().top;o.value.$el.style.transform=`translateY(${a}px)`,setTimeout(()=>{o.value.$el.style.transform="translateY(0)"},0)}else if(l.value<=75&&s){s=!1,o.value.$el.classList.remove("scrolled");const a=o.value.$el.getBoundingClientRect().top;o.value.$el.style.transform=`translateY(${a}px)`,setTimeout(()=>{o.value.$el.style.transform="translateY(0)"},0)}};return e.onMounted(async()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/service-worker.js").then(a=>{console.log("SW registered: ",a)}).catch(a=>{console.log("SW registration failed: ",a)})});const t=localStorage.getItem("position");t?n.state.position=JSON.parse(t):n.state.isOpenLocationPopup=!0,c.value&&localStorage.setItem("referalCode",c.value),i&&(d.value=!0)}),(t,a)=>{const h=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",V,[e.createVNode(e.Transition,{name:"moveFromTop",appear:""},{default:e.withCtx(()=>[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(p),{key:0,class:"pos-fixed"}))]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[t.MOBILE_APP?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).meta.header),{key:0,ref_key:"header",ref:o,class:"transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0",theme:v.value,logotype:e.unref(r).meta.logotype},{default:e.withCtx(()=>[e.unref(r).meta.navigation?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).meta.navigation),{key:0,class:"mn-l-auto desktop-only"})):e.createCommentVNode("",!0)]),_:1},8,["theme","logotype"]))]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[t.MOBILE_APP?(e.openBlock(),e.createBlock(P.default,{key:0,logotype:e.unref(r).meta.logotype,style:e.normalizeStyle(t.MOBILE_APP==="ios"?"padding-top: 6rem;":"")},null,8,["logotype","style"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(C.default,{onClosePopup:m,isPopupOpen:n.state.isOpenLocationPopup,class:"bg-white pd-semi w-m-33r radius-big"},{default:e.withCtx(()=>[e.createVNode(_.default)]),_:1},8,["isPopupOpen"]),e.createElementVNode("section",{id:"screen",ref:"screen",onScroll:g,class:"transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll"},[e.createVNode(N.default),(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(h,{class:e.normalizeClass({"mn-b-extra":t.MOBILE_APP})},{default:e.withCtx(({Component:y,route:k})=>[n.state.error.show?(e.openBlock(),e.createBlock(B.default,{key:0,data:n.state.error,class:"z-index-7"},null,8,["data"])):e.createCommentVNode("",!0),e.createVNode(e.Transition,{onBeforeEnter:f,name:"scaleIn",mode:"out-in",appear:""},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y),{ref_key:"page",ref:i,key:k.path}))]),_:2},1024)]),_:1},8,["class"])]),_:1}))],544),t.MOBILE_APP&&e.unref(r).meta.title_hide?(e.openBlock(),e.createBlock(w.default,{key:0,class:"pd-small z-index-2"})):e.createCommentVNode("",!0)])}}};exports.default=q;
|
package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js
CHANGED
@@ -1,106 +1,175 @@
|
|
1
|
-
import { ref as
|
2
|
-
import { useRoute as
|
3
|
-
import { state as
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import N from "../../../../../components/Popup/Popup.vue.js";
|
1
|
+
import { defineAsyncComponent as O, ref as c, computed as E, onMounted as I, resolveComponent as S, openBlock as o, createElementBlock as T, createVNode as s, Transition as f, withCtx as l, createBlock as n, unref as i, createCommentVNode as p, resolveDynamicComponent as _, normalizeStyle as b, createElementVNode as R, Suspense as A, normalizeClass as M } from "vue";
|
2
|
+
import { useRoute as N, useRouter as x } from "vue-router";
|
3
|
+
import { state as m } from "../../store/globals.js";
|
4
|
+
import z from "../../../../../components/Status/Status.vue.js";
|
5
|
+
import V from "../../../../../components/Popup/Popup.vue2.js";
|
7
6
|
import "vue-i18n";
|
8
7
|
/* empty css */
|
9
|
-
import
|
8
|
+
import W from "../partials/LocationSelection.vue.js";
|
10
9
|
import "../../../../products/store/categories.js";
|
11
|
-
import
|
10
|
+
import Y from "../partials/BottomNavigation.vue.js";
|
11
|
+
import F from "../partials/NavigationBar.vue.js";
|
12
|
+
import j from "../../../../orders/components/partials/ShopCart.vue.js";
|
12
13
|
/* empty css */
|
13
|
-
const
|
14
|
+
const q = {
|
14
15
|
id: "app-wrapper",
|
15
16
|
class: "pos-relative"
|
16
|
-
},
|
17
|
+
}, se = {
|
17
18
|
__name: "Client",
|
18
19
|
setup(D) {
|
19
|
-
const
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
const
|
25
|
-
|
26
|
-
|
20
|
+
const y = O(() => import(
|
21
|
+
/* webpackChunkName: "loader" */
|
22
|
+
"../../../../../components/Loader/Loader.vue2.js"
|
23
|
+
));
|
24
|
+
let h = c(!1);
|
25
|
+
const v = c(null), r = N();
|
26
|
+
x();
|
27
|
+
const g = c(r.query.referalCode);
|
28
|
+
function P() {
|
29
|
+
m.isOpenLocationPopup = !1;
|
27
30
|
}
|
28
|
-
function
|
31
|
+
function k() {
|
29
32
|
document.getElementById("app").scrollIntoView();
|
30
33
|
}
|
31
|
-
const
|
32
|
-
|
34
|
+
const u = c(0);
|
35
|
+
let d = !1;
|
36
|
+
const t = c(null), $ = E(() => u.value > 50 ? "light" : r.meta.header_theme || "light"), w = () => {
|
37
|
+
if (u.value = event.target.scrollTop, u.value > 50 && !d) {
|
38
|
+
d = !0, t.value.$el.classList.add("scrolled");
|
39
|
+
const a = -t.value.$el.getBoundingClientRect().top;
|
40
|
+
t.value.$el.style.transform = `translateY(${a}px)`, setTimeout(() => {
|
41
|
+
t.value.$el.style.transform = "translateY(0)";
|
42
|
+
}, 0);
|
43
|
+
} else if (u.value <= 75 && d) {
|
44
|
+
d = !1, t.value.$el.classList.remove("scrolled");
|
45
|
+
const a = t.value.$el.getBoundingClientRect().top;
|
46
|
+
t.value.$el.style.transform = `translateY(${a}px)`, setTimeout(() => {
|
47
|
+
t.value.$el.style.transform = "translateY(0)";
|
48
|
+
}, 0);
|
49
|
+
}
|
50
|
+
};
|
51
|
+
return I(async () => {
|
33
52
|
"serviceWorker" in navigator && window.addEventListener("load", () => {
|
34
|
-
navigator.serviceWorker.register("/service-worker.js").then((
|
35
|
-
console.log("SW registered: ",
|
36
|
-
}).catch((
|
37
|
-
console.log("SW registration failed: ",
|
53
|
+
navigator.serviceWorker.register("/service-worker.js").then((a) => {
|
54
|
+
console.log("SW registered: ", a);
|
55
|
+
}).catch((a) => {
|
56
|
+
console.log("SW registration failed: ", a);
|
38
57
|
});
|
39
|
-
})
|
40
|
-
const
|
41
|
-
|
42
|
-
}), (
|
43
|
-
const
|
44
|
-
return
|
45
|
-
|
58
|
+
});
|
59
|
+
const e = localStorage.getItem("position");
|
60
|
+
e ? m.position = JSON.parse(e) : m.isOpenLocationPopup = !0, g.value && localStorage.setItem("referalCode", g.value), v && (h.value = !0);
|
61
|
+
}), (e, a) => {
|
62
|
+
const B = S("router-view");
|
63
|
+
return o(), T("div", q, [
|
64
|
+
s(f, {
|
46
65
|
name: "moveFromTop",
|
47
66
|
appear: ""
|
48
67
|
}, {
|
49
|
-
default:
|
50
|
-
|
68
|
+
default: l(() => [
|
69
|
+
v.value ? p("", !0) : (o(), n(i(y), {
|
51
70
|
key: 0,
|
52
71
|
class: "pos-fixed"
|
53
|
-
}))
|
72
|
+
}))
|
54
73
|
]),
|
55
74
|
_: 1
|
56
75
|
}),
|
57
|
-
|
58
|
-
|
59
|
-
|
76
|
+
s(f, {
|
77
|
+
name: "moveFromTop",
|
78
|
+
mode: "out-in",
|
79
|
+
appear: ""
|
80
|
+
}, {
|
81
|
+
default: l(() => [
|
82
|
+
e.MOBILE_APP ? p("", !0) : (o(), n(_(i(r).meta.header), {
|
83
|
+
key: 0,
|
84
|
+
ref_key: "header",
|
85
|
+
ref: t,
|
86
|
+
class: "transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0",
|
87
|
+
theme: $.value,
|
88
|
+
logotype: i(r).meta.logotype
|
89
|
+
}, {
|
90
|
+
default: l(() => [
|
91
|
+
i(r).meta.navigation ? (o(), n(_(i(r).meta.navigation), {
|
92
|
+
key: 0,
|
93
|
+
class: "mn-l-auto desktop-only"
|
94
|
+
})) : p("", !0)
|
95
|
+
]),
|
96
|
+
_: 1
|
97
|
+
}, 8, ["theme", "logotype"]))
|
98
|
+
]),
|
99
|
+
_: 1
|
100
|
+
}),
|
101
|
+
s(f, {
|
102
|
+
name: "moveFromTop",
|
103
|
+
mode: "out-in",
|
104
|
+
appear: ""
|
105
|
+
}, {
|
106
|
+
default: l(() => [
|
107
|
+
e.MOBILE_APP ? (o(), n(F, {
|
108
|
+
key: 0,
|
109
|
+
logotype: i(r).meta.logotype,
|
110
|
+
style: b(e.MOBILE_APP === "ios" ? "padding-top: 6rem;" : "")
|
111
|
+
}, null, 8, ["logotype", "style"])) : p("", !0)
|
112
|
+
]),
|
113
|
+
_: 1
|
114
|
+
}),
|
115
|
+
s(V, {
|
116
|
+
onClosePopup: P,
|
117
|
+
isPopupOpen: m.isOpenLocationPopup,
|
60
118
|
class: "bg-white pd-semi w-m-33r radius-big"
|
61
119
|
}, {
|
62
|
-
default:
|
63
|
-
|
120
|
+
default: l(() => [
|
121
|
+
s(W)
|
64
122
|
]),
|
65
123
|
_: 1
|
66
124
|
}, 8, ["isPopupOpen"]),
|
67
|
-
|
68
|
-
|
125
|
+
R("section", {
|
126
|
+
id: "screen",
|
127
|
+
ref: "screen",
|
128
|
+
onScroll: w,
|
129
|
+
class: "transition-ease-in-out h-min-100 w-100 bg-white pos-relative o-scroll"
|
130
|
+
}, [
|
131
|
+
s(j),
|
132
|
+
(o(), n(A, null, {
|
133
|
+
default: l(() => [
|
134
|
+
s(B, {
|
135
|
+
class: M({ "mn-b-extra": e.MOBILE_APP })
|
136
|
+
}, {
|
137
|
+
default: l(({ Component: C, route: L }) => [
|
138
|
+
m.error.show ? (o(), n(z, {
|
139
|
+
key: 0,
|
140
|
+
data: m.error,
|
141
|
+
class: "z-index-7"
|
142
|
+
}, null, 8, ["data"])) : p("", !0),
|
143
|
+
s(f, {
|
144
|
+
onBeforeEnter: k,
|
145
|
+
name: "scaleIn",
|
146
|
+
mode: "out-in",
|
147
|
+
appear: ""
|
148
|
+
}, {
|
149
|
+
default: l(() => [
|
150
|
+
(o(), n(_(C), {
|
151
|
+
ref_key: "page",
|
152
|
+
ref: v,
|
153
|
+
key: L.path
|
154
|
+
}))
|
155
|
+
]),
|
156
|
+
_: 2
|
157
|
+
}, 1024)
|
158
|
+
]),
|
159
|
+
_: 1
|
160
|
+
}, 8, ["class"])
|
161
|
+
]),
|
162
|
+
_: 1
|
163
|
+
}))
|
164
|
+
], 544),
|
165
|
+
e.MOBILE_APP && i(r).meta.title_hide ? (o(), n(Y, {
|
69
166
|
key: 0,
|
70
|
-
|
71
|
-
|
72
|
-
}, null, 8, ["data"])) : d("", !0),
|
73
|
-
(r(), i(S, null, {
|
74
|
-
default: a(() => [
|
75
|
-
L(o(h, { class: "o-scroll" }, {
|
76
|
-
default: a(({ Component: w, route: k }) => [
|
77
|
-
o(m, {
|
78
|
-
onBeforeEnter: v,
|
79
|
-
name: "scaleIn",
|
80
|
-
mode: "out-in",
|
81
|
-
appear: ""
|
82
|
-
}, {
|
83
|
-
default: a(() => [
|
84
|
-
(r(), i(x(w), {
|
85
|
-
ref_key: "page",
|
86
|
-
ref: l,
|
87
|
-
key: k.path
|
88
|
-
}))
|
89
|
-
]),
|
90
|
-
_: 2
|
91
|
-
}, 1024)
|
92
|
-
]),
|
93
|
-
_: 1
|
94
|
-
}, 512), [
|
95
|
-
[B, f(s)]
|
96
|
-
])
|
97
|
-
]),
|
98
|
-
_: 1
|
99
|
-
}))
|
167
|
+
class: "pd-small z-index-2"
|
168
|
+
})) : p("", !0)
|
100
169
|
]);
|
101
170
|
};
|
102
171
|
}
|
103
172
|
};
|
104
173
|
export {
|
105
|
-
|
174
|
+
se as default
|
106
175
|
};
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.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"),b=require("vue-i18n"),a=require("../../store/globals.cjs"),n=require("../../../../orders/store/shopcart.cjs"),m=require("../../../../auth/views/store/auth.cjs");;/* empty css */const h=require("../../../../../components/Button/Button.vue2.cjs"),g=require("../../../../../components/Select/Select.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),b=require("vue-i18n"),a=require("../../store/globals.cjs"),n=require("../../../../orders/store/shopcart.cjs"),m=require("../../../../auth/views/store/auth.cjs");;/* empty css */const h=require("../../../../../components/Button/Button.vue2.cjs"),g=require("../../../../../components/Select/Select.vue2.cjs"),f=require("../../../../../components/Checkbox/Checkbox.vue.cjs"),k=require("../../../../icons/entities/IconShopcart.vue.cjs"),p=require("../../../../icons/entities/IconProfile.vue.cjs");;/* empty css */const w={class:"i-small",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",width:"50",height:"67",viewBox:"0 0 50 67"},v=e.createElementVNode("path",{d:"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z",fill:"inherit"},null,-1),C=[v],S={__name:"Header",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(t){const s=t,o=u.useRouter();u.useRoute(),b.useI18n();function d(){a.state.isOpenLocationPopup=!0}return e.onMounted(()=>{n.actions.setShopcart()}),(i,l)=>{var c;return e.openBlock(),e.createElementBlock("header",{id:"header",class:e.normalizeClass(["pd-thin gap-micro flex-center flex-nowrap flex h-4r w-100 z-index-2",{"t-black bg-white":t.theme==="light","t-white bg-black":t.theme==="dark"}])},[e.createElementVNode("button",{"aria-label":"menu",onClick:l[0]||(l[0]=()=>a.state.isOpenSidebar=!a.state.isOpenSidebar),class:e.normalizeClass(["mobile-only menu-btn",{"menu-btn_active":a.state.isOpenSidebar}])},[e.createElementVNode("span",{class:e.normalizeClass(["no-events",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},[e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__before",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2),e.createElementVNode("span",{class:e.normalizeClass(["menu-btn__after",{"bg-black":t.theme==="light","bg-white":t.theme==="dark"}])},null,2)],2)],2),s.logotype?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.logotype),{key:0,onClick:l[1]||(l[1]=r=>e.unref(o).push({path:"/"})),theme:t.theme,class:"h-2r w-auto cursor-pointer"},null,8,["theme"])):e.createCommentVNode("",!0),e.createElementVNode("button",{"aria-label":"button_location",class:e.normalizeClass(["cursor-pointer bg-transp pd-l-micro pd-r-micro radius-extra uppercase t-semi br-solid br-2px transition-linear",{"fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white":t.theme==="light","fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black":t.theme==="dark"}]),onClick:l[2]||(l[2]=r=>d())},[(e.openBlock(),e.createElementBlock("svg",w,C)),e.createTextVNode(" "+e.toDisplayString((c=a.state.position)!=null&&c.country?a.state.position.country:"World"),1)],2),e.renderSlot(i.$slots,"default"),e.createVNode(f.default,{name:"darkmode",label:"Darkmode",radio:a.state.theme.darkmode,"onUpdate:radio":l[3]||(l[3]=r=>a.actions.toggleTheme()),class:e.normalizeClass(["mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra",{"br-light t-black":t.theme==="light","br-dark t-white":t.theme==="dark"}]),theme:t.theme},null,8,["radio","theme","class"]),e.createVNode(h.default,{"aria-label":"shopcart",submit:r=>n.actions.toggleShopcart(),counter:n.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"pd-zero mn-l-auto mn-r-micro"},{default:e.withCtx(()=>[e.createVNode(k.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit","counter"]),e.createVNode(h.default,{"aria-label":"profile",class:"pd-zero bg-transp",submit:m.state.access.status===!1?r=>e.unref(o).push({name:"Sign In"}):r=>e.unref(o).push({name:"User Profile",params:{_id:m.state.user._id}}),showSucces:!1,showLoader:!1},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",fill:t.theme==="light"?"rgb(var(--black))":"rgb(var(--white))"},null,8,["fill"])]),_:1},8,["submit"]),e.createVNode(g.default,{select:i.$i18n.locale,"onUpdate:select":l[4]||(l[4]=r=>i.$i18n.locale=r),options:[{name:"🌎 En",value:"en"},{name:"🇷🇺 Ru",value:"ru"}],property:"value",class:e.normalizeClass(["pos-relative uppercase pd-micro t-semi radius-thin",{"bg-light t-black":t.theme==="light","bg-dark t-white":t.theme==="dark"}])},null,8,["select","class"])],2)}}};exports.default=S;
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js
CHANGED
@@ -6,7 +6,7 @@ import { actions as g, getters as N } from "../../../../orders/store/shopcart.js
|
|
6
6
|
import { state as f } from "../../../../auth/views/store/auth.js";
|
7
7
|
/* empty css */
|
8
8
|
import p from "../../../../../components/Button/Button.vue2.js";
|
9
|
-
import V from "../../../../../components/Select/Select.
|
9
|
+
import V from "../../../../../components/Select/Select.vue2.js";
|
10
10
|
import D from "../../../../../components/Checkbox/Checkbox.vue.js";
|
11
11
|
import E from "../../../../icons/entities/IconShopcart.vue.js";
|
12
12
|
import M from "../../../../icons/entities/IconProfile.vue.js";
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router"),f=require("vue-i18n"),p=require("../../../../icons/entities/IconShopcart.vue.cjs"),k=require("../../../../icons/entities/IconProfile.vue.cjs"),g=require("../../../../../components/Button/Button.vue2.cjs");require("../../store/globals.cjs");const c=require("../../../../orders/store/shopcart.cjs"),u=require("../../../../auth/views/store/auth.cjs");;/* empty css */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"},B=e.createElementVNode("path",{fill:"rgb(var(--main))",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"},null,-1),w=[B],y={key:1,class:"t-semi h-2r h4 d-block"},v={__name:"NavigationBar",props:{theme:{type:String,default:"light"},logotype:{type:Object}},setup(s){const a=s,o=i.useRouter(),t=i.useRoute(),{t:C,mergeLocaleMessage:b,locale:d}=f.useI18n();function m(){var n;(n=t.query)!=null&&n.afterAuth?o.push({name:"Home"}):o.back()}function h(){u.state.access.status===!1?o.push({name:"Sign In"}):o.push({name:"User Profile",params:{_id:u.state.user._id}})}return(n,r)=>(e.openBlock(),e.createElementBlock("header",_,[e.createVNode(e.Transition,{name:"slideIn",mode:"out-in"},{default:e.withCtx(()=>[e.unref(t).meta.title_hide?(e.openBlock(),e.createBlock(g.default,{key:0,submit:l=>c.actions.toggleShopcart(),counter:c.getters.cartTotalAmount,showSucces:!1,showLoader:!1,class:"header-shopcart pd-zero mn-l-auto"},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",fill:"#00ff88"})]),_:1},8,["submit","counter"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slideIn",mode:"out-in"},{default:e.withCtx(()=>[e.unref(t).meta.title_hide?(e.openBlock(),e.createBlock(k.default,{key:0,onClick:r[0]||(r[0]=l=>h()),class:"header-profile i-semi",fill:"#00ff88"})):(e.openBlock(),e.createElementBlock("svg",{key:1,onClick:r[1]||(r[1]=l=>m()),class:"i-semi header-arrow",width:"12",height:"22",viewBox:"0 0 12 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w))]),_:1}),e.createVNode(e.Transition,{name:"slideIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("div",{key:e.unref(t).meta.title_hide,class:"header-title"},[a.logotype&&e.unref(t).meta.title_hide?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.logotype),{key:0,theme:s.theme,class:"h-2r w-auto cursor-pointer"},null,8,["theme"])):(e.openBlock(),e.createElementBlock("p",y,e.toDisplayString(e.unref(t).meta.title[e.unref(d).toLowerCase()]),1))]))]),_:1})]))}};exports.default=v;
|