@ozdao/prometheus-framework 0.2.197 → 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/@googlemaps/js-api-loader/dist/index.cjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
- 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/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +629 -622
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
- package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
- package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- 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/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -9
- 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/constructor/components/elements/Textarea.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
- 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 +5 -3
- 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 +17 -16
- 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 +15 -14
- 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 +25 -23
- 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/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/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 +127 -135
- 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/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -0
- 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/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +75 -69
- 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 +1 -0
- 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/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 +13 -12
- 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/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/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 +7 -6
- 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.cjs.js +27 -27
- package/dist/prometheus-framework.es.js +3819 -3782
- 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 +24 -25
- 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/events/components/sections/SectionSpecialGuests.vue.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as a, Fragment as g, renderList as u, normalizeClass as _, createBlock as m, createCommentVNode as k } from "vue";
|
2
2
|
import "vue-i18n";
|
3
3
|
import f from "../../../organizations/components/blocks/Socials.vue.js";
|
4
|
-
const w = { class: "o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative" }, v = { class: "t-center w-100 pd-small br-b br-white-transp-20 br-solid" },
|
4
|
+
const w = { class: "o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative" }, v = { class: "t-center w-100 pd-small br-b br-white-transp-20 br-solid" }, y = {
|
5
5
|
style: { "max-height": "100%" },
|
6
6
|
class: "cols-1 gap-semi"
|
7
|
-
},
|
7
|
+
}, x = { class: "o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative" }, z = ["src"], B = { class: "d-block uppercase mn-b-small t-semi" }, S = { class: "t-semi mn-b-small d-block uppercase t-main" }, j = { class: "t-transp mn-b-semi p-medium" }, F = {
|
8
8
|
__name: "SectionSpecialGuests",
|
9
9
|
props: {
|
10
10
|
content: {
|
@@ -16,21 +16,22 @@ const w = { class: "o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relati
|
|
16
16
|
var c, l;
|
17
17
|
return t(), r("div", w, [
|
18
18
|
e("h3", v, a((c = o.content) == null ? void 0 : c.title), 1),
|
19
|
-
e("div",
|
19
|
+
e("div", y, [
|
20
20
|
(t(!0), r(g, null, u((l = o.content) == null ? void 0 : l.guests, (s, h) => {
|
21
21
|
var n, i, d, b, p;
|
22
22
|
return t(), r("div", {
|
23
23
|
class: _(["pd-medium br-solid", { "br-solid br-b br-white-transp-10": h < ((n = o.content) == null ? void 0 : n.guests.length) - 1 }])
|
24
24
|
}, [
|
25
|
-
e("div",
|
25
|
+
e("div", x, [
|
26
26
|
e("img", {
|
27
|
+
loading: "lazy",
|
27
28
|
class: "w-100 h-100 object-fit-cover",
|
28
29
|
src: s.photo
|
29
|
-
}, null, 8,
|
30
|
+
}, null, 8, z)
|
30
31
|
]),
|
31
|
-
e("h4",
|
32
|
-
e("span",
|
33
|
-
e("p",
|
32
|
+
e("h4", B, a(s.name), 1),
|
33
|
+
e("span", S, a(s.time), 1),
|
34
|
+
e("p", j, a(s.description), 1),
|
34
35
|
s != null && s.socials ? (t(), m(f, {
|
35
36
|
key: 0,
|
36
37
|
telegram: (i = s == null ? void 0 : s.socials) == null ? void 0 : i.telegram,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../../../../components/Popup/Popup.vue2.cjs"),m=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../../../../components/Popup/Popup.vue2.cjs"),m=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),g=require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs"),b=require("../../store/gallery.cjs"),h={class:"cols-1 gap-thin pd-thin"},P={class:"w-100 h-100 h-min-10r pos-relative"},_=["src","onClick"],k={__name:"Gallery",setup(w){const d=e.ref([]),o=e.ref("all");let r=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),s=e.ref({start:null,end:null});const n=e.ref(null),u=e.ref(!1);function p(a){u.value=!0,n.value=a}function c(){u.value=!1,n.value=null}return(a,l)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(g.default,{title:a.$t("gallery.title"),"onUpdate:tabs_current":l[0]||(l[0]=t=>o.value=t),tabs_current:o.value,tabs:[{name:"All",value:"all"},{name:"Place",value:"place"},{name:"Drinks",value:"drinks"},{name:"People",value:"people"},{name:"Events",value:"events"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["title","tabs_current"]),e.createVNode(f.default,{onClosePopup:c,isPopupOpen:u.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(m.default,{photoUrl:(a.FILE_SERVER_URL||"")+n.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(v.default,{items:d.value,"onUpdate:items":l[1]||(l[1]=t=>d.value=t),sort:e.unref(r),"onUpdate:sort":l[2]||(l[2]=t=>e.isRef(r)?r.value=t:r=t),date:e.unref(s),"onUpdate:date":l[3]||(l[3]=t=>e.isRef(s)?s.value=t:s=t),showLoadMore:!1,states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(b.default).read(t)},options:{limit:15,status:"published",...o.value!=="all"&&{tags:o.value}},class:"cols-4 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,i=>(e.openBlock(),e.createElementBlock("div",{key:i._id,class:"bg-light radius-medium o-hidden flex-column pos-relative flex-wrap"},[e.createElementVNode("div",P,[e.createElementVNode("img",{loading:"lazy",src:(a.FILE_SERVER_URL||"")+i.cover,class:"w-100 h-100 object-fit-cover bg-black",onClick:E=>p(i)},null,8,_)])]))),128))]),_:1},8,["items","sort","date","store","options"])]))}};exports.default=k;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as t, openBlock as d, createElementBlock as m, createVNode as n, withCtx as f, unref as c, isRef as _, Fragment as P, renderList as w, createElementVNode as b } from "vue";
|
2
2
|
import k from "../../../../components/Feed/Feed.vue.js";
|
3
|
-
import
|
4
|
-
import
|
3
|
+
import y from "../../../../components/Popup/Popup.vue2.js";
|
4
|
+
import E from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
|
5
5
|
import U from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
|
6
6
|
import R from "../../store/gallery.js";
|
7
7
|
const C = { class: "cols-1 gap-thin pd-thin" }, L = { class: "w-100 h-100 h-min-10r pos-relative" }, F = ["src", "onClick"], I = {
|
@@ -46,13 +46,13 @@ const C = { class: "cols-1 gap-thin pd-thin" }, L = { class: "w-100 h-100 h-min-
|
|
46
46
|
],
|
47
47
|
class: "mn-b-small bg-light bg-light radius-big"
|
48
48
|
}, null, 8, ["title", "tabs_current"]),
|
49
|
-
n(
|
49
|
+
n(y, {
|
50
50
|
onClosePopup: h,
|
51
51
|
isPopupOpen: u.value,
|
52
52
|
class: "bg-black o-hidden w-100 h-100 radius-big"
|
53
53
|
}, {
|
54
54
|
default: f(() => [
|
55
|
-
n(
|
55
|
+
n(E, {
|
56
56
|
photoUrl: (a.FILE_SERVER_URL || "") + i.value.image
|
57
57
|
}, null, 8, ["photoUrl"])
|
58
58
|
]),
|
@@ -91,6 +91,7 @@ const C = { class: "cols-1 gap-thin pd-thin" }, L = { class: "w-100 h-100 h-min-
|
|
91
91
|
}, [
|
92
92
|
b("div", L, [
|
93
93
|
b("img", {
|
94
|
+
loading: "lazy",
|
94
95
|
src: (a.FILE_SERVER_URL || "") + p.cover,
|
95
96
|
class: "w-100 h-100 object-fit-cover bg-black",
|
96
97
|
onClick: ($) => g(p)
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.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");;/* empty css */const w=require("../../../../components/Button/Button.vue2.cjs");;/* empty css */const B=require("../../../../components/Chips/Chips.vue.cjs");;/* empty css */const _=require("../../../../components/Popup/Popup.vue2.cjs"),E=require("../../../../components/Feed/Feed.vue.cjs"),U=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");;/* empty css */const w=require("../../../../components/Button/Button.vue2.cjs");;/* empty css */const B=require("../../../../components/Chips/Chips.vue.cjs");;/* empty css */const _=require("../../../../components/Popup/Popup.vue2.cjs"),E=require("../../../../components/Feed/Feed.vue.cjs"),U=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),y=require("../../../auth/views/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const s=require("../../store/gallery.cjs"),A=require("../../../globals/views/components/blocks/CardHeader.vue.cjs"),I=require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs"),O=require("../../../../components/EditImages/EditImages.vue.cjs"),T=require("../../../../components/FieldTags/BlockTags.vue.cjs"),R={class:"cols-1 gap-thin pd-thin"},S={class:"pos-relative"},D=["src","onClick"],F={class:"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra"},j={class:"pd-small"},z=["src"],L={class:"flex-nowrap flex gap-thin"},G={__name:"BackofficeGallery",setup(M){const h=C.useRoute(),i=e.ref("all");let c=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),p=e.ref({start:null,end:null});const f=e.ref(!1);function k(a){f.value=!0,u.value=a}function x(){f.value=!1,u.value=null}const m=e.ref(!1);function V(a){m.value=!0,u.value=a}function g(){m.value=!1,u.value=null,n.value=[],r.value={tags:null,image:null}}const u=e.ref(null);e.ref("all");const r=e.ref({tags:null,image:null}),n=e.ref([]),N=a=>{n.value=a},d=e.ref([]),q=async a=>{await s.default.delete(a._id),s.default.removeItem(a,d.value)},v=async(a,o)=>{a.status=o,await s.default.update(a),s.default.updateItem(a,d.value)},b=async a=>{if(n.length<1){alert("Upload at least 1 image");return}let o=await s.default.create({images:n.value,tags:r.value.tags,status:a,owner:{type:"Organization",target:h.params._id},creator:{type:"User",target:y.state.user._id}});for(let t of o)s.default.addItem(t,d.value)};return(a,o)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(I.default,{title:"Gallery","onUpdate:tabs_current":o[0]||(o[0]=t=>i.value=t),tabs_current:i.value,tabs:[{name:"All",value:"all"},{name:"Featured",value:"featured"},{name:"Published",value:"published"},{name:"Draft",value:"draft"},{name:"Archived",value:"archived"}],actions:[{method:()=>V(null),label:"Add Photo"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current","actions"]),e.createVNode(E.default,{items:d.value,"onUpdate:items":o[1]||(o[1]=t=>d.value=t),sort:e.unref(c),"onUpdate:sort":o[2]||(o[2]=t=>e.isRef(c)?c.value=t:c=t),date:e.unref(p),"onUpdate:date":o[3]||(o[3]=t=>e.isRef(p)?p.value=t:p=t),states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(s.default).read(t)},options:{limit:15,owner:e.unref(h).params._id,...i.value!=="all"&&{status:i.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>{var P;return e.openBlock(),e.createElementBlock("div",{key:l._id,class:"bg-light radius-small flex-column pos-relative flex-wrap"},[e.createVNode(A.default,{entity:l,entityType:"photo",user:y.state.user._id,owner:l.creator,creator:l.creator,date:l.createdAt,actions:[{method:()=>q(l),label:"Delete"},{method:()=>v(l,"archived"),label:"Archive"},l.status==="draft"?{method:()=>v(l,"published"),label:"Publish"}:{method:()=>v(l,"draft"),label:"Draft"}],class:"pd-small mn-b-small"},null,8,["entity","user","owner","creator","date","actions"]),e.createElementVNode("div",S,[e.createElementVNode("img",{loading:"lazy",src:(a.FILE_SERVER_URL||"")+l.cover,class:"w-100 h-20r object-fit-contain bg-black",onClick:H=>k(l)},null,8,D),e.createElementVNode("div",F,e.toDisplayString(l.status),1)]),e.createElementVNode("div",j,[((P=l.tags)==null?void 0:P.length)>0?(e.openBlock(),e.createBlock(B.default,{key:0,chips:l.tags},null,8,["chips"])):e.createCommentVNode("",!0)])])}),128))]),_:1},8,["items","sort","date","store","options"]),e.createVNode(_.default,{onClosePopup:x,isPopupOpen:f.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(U.default,{photoUrl:u.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(_.default,{title:"Add Photo",onClosePopup:g,isPopupOpen:m.value,class:"bg-white w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[r.value.cover?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:r.value.cover,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,z)):e.createCommentVNode("",!0),e.createVNode(O.default,{images:n.value,uploadPath:"/photos","onUpdate:images":N,class:"mn-b-semi bg-light radius-medium"},null,8,["images"]),e.createVNode(T.default,{onTagsChanged:o[4]||(o[4]=t=>r.value.tags=t),tags:r.value.tags,tagsSuggested:[{text:"people"},{text:"events"},{text:"place"},{text:"food"},{text:"drinks"},{text:"special"}],class:"mn-b-semi"},null,8,["tags"]),e.createElementVNode("div",L,[e.createVNode(w.default,{submit:()=>b("draft"),callback:g,class:"t-nowrap bg-second w-100"},{default:e.withCtx(()=>[e.createTextVNode(" To drafts ")]),_:1},8,["submit"]),e.createVNode(w.default,{submit:()=>b("published"),callback:g,class:"bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Publish ")]),_:1},8,["submit"])])]),_:1},8,["isPopupOpen"])]))}};exports.default=G;
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { ref as s, openBlock as
|
2
|
-
import { useRoute as
|
1
|
+
import { ref as s, openBlock as p, createElementBlock as h, createVNode as o, unref as b, isRef as C, withCtx as c, Fragment as F, renderList as S, createElementVNode as m, toDisplayString as T, createBlock as z, createCommentVNode as A, createTextVNode as $ } from "vue";
|
2
|
+
import { useRoute as L } from "vue-router";
|
3
3
|
/* empty css */
|
4
4
|
import I from "../../../../components/Button/Button.vue2.js";
|
5
5
|
/* empty css */
|
6
|
-
import
|
6
|
+
import j from "../../../../components/Chips/Chips.vue.js";
|
7
7
|
/* empty css */
|
8
8
|
import O from "../../../../components/Popup/Popup.vue2.js";
|
9
|
-
import
|
9
|
+
import G from "../../../../components/Feed/Feed.vue.js";
|
10
10
|
import q from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
|
11
11
|
import { state as D } from "../../../auth/views/store/auth.js";
|
12
12
|
import "../../../organizations/store/organizations.js";
|
@@ -18,8 +18,8 @@ import M from "../../../../components/FieldTags/BlockTags.vue.js";
|
|
18
18
|
const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X = ["src", "onClick"], Y = { class: "pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra" }, Z = { class: "pd-small" }, ee = ["src"], te = { class: "flex-nowrap flex gap-thin" }, we = {
|
19
19
|
__name: "BackofficeGallery",
|
20
20
|
setup(ae) {
|
21
|
-
const x =
|
22
|
-
let
|
21
|
+
const x = L(), f = s("all");
|
22
|
+
let g = s({
|
23
23
|
param: "createdAt",
|
24
24
|
order: "desc",
|
25
25
|
options: [{
|
@@ -32,7 +32,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
32
32
|
label: "Creator",
|
33
33
|
value: "creator"
|
34
34
|
}]
|
35
|
-
}),
|
35
|
+
}), v = s({
|
36
36
|
start: null,
|
37
37
|
end: null
|
38
38
|
});
|
@@ -57,10 +57,10 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
57
57
|
image: null
|
58
58
|
}), u = s([]), V = (t) => {
|
59
59
|
u.value = t;
|
60
|
-
},
|
61
|
-
await r.delete(t._id), r.removeItem(t,
|
60
|
+
}, d = s([]), B = async (t) => {
|
61
|
+
await r.delete(t._id), r.removeItem(t, d.value);
|
62
62
|
}, y = async (t, l) => {
|
63
|
-
t.status = l, await r.update(t), r.updateItem(t,
|
63
|
+
t.status = l, await r.update(t), r.updateItem(t, d.value);
|
64
64
|
}, k = async (t) => {
|
65
65
|
if (u.length < 1) {
|
66
66
|
alert("Upload at least 1 image");
|
@@ -80,9 +80,9 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
80
80
|
}
|
81
81
|
});
|
82
82
|
for (let e of l)
|
83
|
-
r.addItem(e,
|
83
|
+
r.addItem(e, d.value);
|
84
84
|
};
|
85
|
-
return (t, l) => (
|
85
|
+
return (t, l) => (p(), h("div", Q, [
|
86
86
|
o(J, {
|
87
87
|
title: "Gallery",
|
88
88
|
"onUpdate:tabs_current": l[0] || (l[0] = (e) => f.value = e),
|
@@ -99,13 +99,13 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
99
99
|
],
|
100
100
|
class: "mn-b-small bg-light bg-light radius-big"
|
101
101
|
}, null, 8, ["tabs_current", "actions"]),
|
102
|
-
o(
|
103
|
-
items:
|
104
|
-
"onUpdate:items": l[1] || (l[1] = (e) =>
|
105
|
-
sort: b(
|
106
|
-
"onUpdate:sort": l[2] || (l[2] = (e) => C(
|
107
|
-
date: b(
|
108
|
-
"onUpdate:date": l[3] || (l[3] = (e) => C(
|
102
|
+
o(G, {
|
103
|
+
items: d.value,
|
104
|
+
"onUpdate:items": l[1] || (l[1] = (e) => d.value = e),
|
105
|
+
sort: b(g),
|
106
|
+
"onUpdate:sort": l[2] || (l[2] = (e) => C(g) ? g.value = e : g = e),
|
107
|
+
date: b(v),
|
108
|
+
"onUpdate:date": l[3] || (l[3] = (e) => C(v) ? v.value = e : v = e),
|
109
109
|
states: {
|
110
110
|
empty: {
|
111
111
|
title: "No Photos Found",
|
@@ -125,9 +125,9 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
125
125
|
default: c(({
|
126
126
|
items: e
|
127
127
|
}) => [
|
128
|
-
(
|
128
|
+
(p(!0), h(F, null, S(e, (a) => {
|
129
129
|
var U;
|
130
|
-
return
|
130
|
+
return p(), h("div", {
|
131
131
|
key: a._id,
|
132
132
|
class: "bg-light radius-small flex-column pos-relative flex-wrap"
|
133
133
|
}, [
|
@@ -147,6 +147,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
147
147
|
}, null, 8, ["entity", "user", "owner", "creator", "date", "actions"]),
|
148
148
|
m("div", W, [
|
149
149
|
m("img", {
|
150
|
+
loading: "lazy",
|
150
151
|
src: (t.FILE_SERVER_URL || "") + a.cover,
|
151
152
|
class: "w-100 h-20r object-fit-contain bg-black",
|
152
153
|
onClick: (le) => E(a)
|
@@ -154,7 +155,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
154
155
|
m("div", Y, T(a.status), 1)
|
155
156
|
]),
|
156
157
|
m("div", Z, [
|
157
|
-
((U = a.tags) == null ? void 0 : U.length) > 0 ? (
|
158
|
+
((U = a.tags) == null ? void 0 : U.length) > 0 ? (p(), z(j, {
|
158
159
|
key: 0,
|
159
160
|
chips: a.tags
|
160
161
|
}, null, 8, ["chips"])) : A("", !0)
|
@@ -183,8 +184,9 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
|
|
183
184
|
class: "bg-white w-max-30r radius-big pd-big"
|
184
185
|
}, {
|
185
186
|
default: c(() => [
|
186
|
-
n.value.cover ? (
|
187
|
+
n.value.cover ? (p(), h("img", {
|
187
188
|
key: 0,
|
189
|
+
loading: "lazy",
|
188
190
|
src: n.value.cover,
|
189
191
|
class: "radius-small w-100 mn-b-small h-20r object-fit-cover"
|
190
192
|
}, null, 8, ee)) : A("", !0),
|
package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),C=require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../../components/Dropdown/Dropdown.vue.cjs");;/* empty css */;/* empty css */require("../../../../auth/views/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");const $=require("../../../../icons/navigation/IconEllipsis.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),C=require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../../components/Dropdown/Dropdown.vue.cjs");;/* empty css */;/* empty css */require("../../../../auth/views/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");const $=require("../../../../icons/navigation/IconEllipsis.vue.cjs"),z={key:0,class:"pd-b-zero"},S={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"mn-l-micro mn-r-micro"},F={key:2,class:"pos-relative"},P={key:3},T={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},U={key:0,class:"w-4r pos-relative i-thin"},L={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},I=["src"],O={class:"bg-black flex-column flex gap-thin pd-thin radius-small"},j=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),A=["onClick"],H={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){x.useRouter();function E(n){const r=new Date,u=new Date(n),m=Math.abs(r-u),d=Math.floor(m/1e3),a=Math.floor(d/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var m,d,a,s,i,c,k,h,g,b,f,y,w,B,p;const u=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",z,[e.createElementVNode("div",S,[e.createElementVNode("div",D,[((a=(d=(m=t.owner.target)==null?void 0:m.profile)==null?void 0:d.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((b=(g=t.owner.target)==null?void 0:g.profile)==null?void 0:b.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,"·")):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",F,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",P," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[t.members?(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("span",L,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{loading:"lazy",key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,I)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",O,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(V.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[j]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(u,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,A)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=H;
|
package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js
CHANGED
@@ -48,21 +48,22 @@ const j = {
|
|
48
48
|
],
|
49
49
|
setup(e) {
|
50
50
|
T();
|
51
|
-
function I(
|
52
|
-
const n = /* @__PURE__ */ new Date(), x = new Date(
|
51
|
+
function I(a) {
|
52
|
+
const n = /* @__PURE__ */ new Date(), x = new Date(a), f = Math.abs(n - x), g = Math.floor(f / 1e3), l = Math.floor(g / 60), u = Math.floor(l / 60), m = Math.floor(u / 24), h = Math.floor(m / 7);
|
53
53
|
return h > 0 ? `${h} week${h > 1 ? "s" : ""} ago` : m > 0 ? `${m} day${m > 1 ? "s" : ""} ago` : u > 0 ? `${u} hour${u > 1 ? "s" : ""} ago` : l > 0 ? `${l} minute${l > 1 ? "s" : ""} ago` : "Just now";
|
54
54
|
}
|
55
|
-
return (
|
56
|
-
var f, g, l, u, m, h, $, v, p,
|
55
|
+
return (a, n) => {
|
56
|
+
var f, g, l, u, m, h, $, v, p, z, C, E, R, M, P;
|
57
57
|
const x = S("router-link");
|
58
58
|
return e.owner ? (t(), s("header", j, [
|
59
59
|
c("div", H, [
|
60
60
|
c("div", J, [
|
61
61
|
((l = (g = (f = e.owner.target) == null ? void 0 : f.profile) == null ? void 0 : g.photo) == null ? void 0 : l.length) > 0 && e.type !== "short" ? (t(), s("img", {
|
62
62
|
key: 0,
|
63
|
-
|
63
|
+
loading: "lazy",
|
64
|
+
src: (a.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
|
64
65
|
class: "radius-medium object-fit-cover mn-r-thin i-thin",
|
65
|
-
onClick: n[0] || (n[0] = y((r) =>
|
66
|
+
onClick: n[0] || (n[0] = y((r) => a.$router.push({
|
66
67
|
name: e.owner.type === "user" ? "User Profile" : "Organization",
|
67
68
|
params: {
|
68
69
|
_id: e.owner.target._id
|
@@ -72,7 +73,7 @@ const j = {
|
|
72
73
|
!((m = (u = e.owner.target) == null ? void 0 : u.profile) != null && m.photo) && e.type !== "short" ? (t(), b(V, {
|
73
74
|
key: 1,
|
74
75
|
class: "radius-medium mn-r-thin i-thin",
|
75
|
-
onClick: n[1] || (n[1] = y((r) =>
|
76
|
+
onClick: n[1] || (n[1] = y((r) => a.$router.push({
|
76
77
|
name: e.owner.type === "user" ? "User Profile" : "Organization",
|
77
78
|
params: {
|
78
79
|
_id: e.owner.target._id
|
@@ -81,21 +82,21 @@ const j = {
|
|
81
82
|
})) : o("", !0),
|
82
83
|
e.type !== "short" ? (t(), s("span", G, [
|
83
84
|
c("span", {
|
84
|
-
onClick: n[2] || (n[2] = y((r) =>
|
85
|
+
onClick: n[2] || (n[2] = y((r) => a.$router.push({
|
85
86
|
name: e.owner.type === "user" ? "User Profile" : "Organization",
|
86
87
|
params: {
|
87
88
|
_id: e.owner.target._id
|
88
89
|
}
|
89
90
|
}), ["stop"]))
|
90
91
|
}, d((($ = (h = e.owner.target) == null ? void 0 : h.profile) == null ? void 0 : $.name) || ((v = e.creator.target) == null ? void 0 : v.username) || "Anonymous"), 1),
|
91
|
-
!e.creator.hidden && ((
|
92
|
+
!e.creator.hidden && ((z = (p = e.owner.target) == null ? void 0 : p.profile) == null ? void 0 : z.name) !== ((E = (C = e.creator.target) == null ? void 0 : C.profile) == null ? void 0 : E.name) ? (t(), s("span", {
|
92
93
|
key: 0,
|
93
94
|
onClick: n[3] || (n[3] = y((r) => {
|
94
|
-
var
|
95
|
-
return
|
95
|
+
var i;
|
96
|
+
return a.$router.push({
|
96
97
|
name: "User Profile",
|
97
98
|
params: {
|
98
|
-
_id: (
|
99
|
+
_id: (i = e.creator.target) == null ? void 0 : i._id
|
99
100
|
}
|
100
101
|
});
|
101
102
|
}, ["stop"]))
|
@@ -104,7 +105,7 @@ const j = {
|
|
104
105
|
e.date ? (t(), s("span", Q, [
|
105
106
|
e.date ? (t(), b(B, {
|
106
107
|
key: 0,
|
107
|
-
text:
|
108
|
+
text: a.formatDate(e.date)
|
108
109
|
}, {
|
109
110
|
default: w(() => [
|
110
111
|
U(d(I(e.date)), 1)
|
@@ -117,15 +118,16 @@ const j = {
|
|
117
118
|
c("div", X, [
|
118
119
|
e.members ? (t(), s("div", Y, [
|
119
120
|
c("span", Z, d(e.members), 1),
|
120
|
-
(t(!0), s(k, null, F(e.membersPhotos.slice(0, 2), (r,
|
121
|
+
(t(!0), s(k, null, F(e.membersPhotos.slice(0, 2), (r, i) => (t(), s(k, null, [
|
121
122
|
r ? (t(), s("img", {
|
122
|
-
|
123
|
-
|
123
|
+
loading: "lazy",
|
124
|
+
key: i,
|
125
|
+
src: (a.FILE_SERVER_URL || "") + r,
|
124
126
|
style: D({
|
125
127
|
position: "absolute",
|
126
128
|
top: "0px",
|
127
|
-
right:
|
128
|
-
zIndex: 1 -
|
129
|
+
right: i * 20 + 20 + "%",
|
130
|
+
zIndex: 1 - i
|
129
131
|
}),
|
130
132
|
class: "br-solid br-2px br-white i-thin bg-light radius-big"
|
131
133
|
}, null, 12, _)) : (t(), b(V, {
|
@@ -133,8 +135,8 @@ const j = {
|
|
133
135
|
style: D({
|
134
136
|
position: "absolute",
|
135
137
|
top: "0px",
|
136
|
-
right:
|
137
|
-
zIndex: 1 -
|
138
|
+
right: i * 20 + 20 + "%",
|
139
|
+
zIndex: 1 - i
|
138
140
|
}),
|
139
141
|
class: "br-solid br-2px br-white i-thin bg-light radius-big"
|
140
142
|
}, null, 8, ["style"]))
|
@@ -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"),C=require("../../../../../../../node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs"),S=require("vue-i18n"),_=require("vue-router"),r=require("../../store/globals.cjs"),O=require("../../../../../../node_modules/@capacitor/preferences/dist/esm/index.cjs"),B={key:0,class:"w-100 h-100"},i="https://weeder.delivery",$={__name:"App",props:{messages:{type:Object,required:!0},logotype:{type:Object}},setup(m){const g=m;let h=e.ref(!1);const u=e.ref(null),{t:n,locale:q}=S.useI18n({messages:g.messages}),p=e.computed(()=>d(`${i}${a.path}`)),a=_.useRoute(),f=["en","ru"];function d(t){return t.endsWith("/")?t.slice(0,-1):t}const v=e.computed(()=>({title:n("meta.title"),description:n("meta.description"),meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{hid:"description",name:"description",content:n("meta.description")},{hid:"keywords",name:"keywords",content:n("meta.keywords")},{hid:"og:title",property:"og:title",content:n("meta.og.title")},{hid:"og:description",property:"og:description",content:n("meta.og.description")},{hid:"og:image",property:"og:image",content:i+"/favicon/cover.jpg"},{hid:"og:url",property:"og:url",content:p.value},{hid:"twitter:title",name:"twitter:title",content:n("meta.twitter.title")},{hid:"twitter:description",name:"twitter:description",content:n("meta.twitter.description")},{hid:"twitter:image",name:"twitter:image",content:i+"/favicon/cover.jpg"},{hid:"twitter:card",name:"twitter:card",content:n("meta.twitter.card")}],link:[{hid:"canonical",rel:"canonical",href:p.value},...w.value],htmlAttrs:{lang:n("meta.htmlAttrs.lang")}})),w=e.computed(()=>f.map(t=>{let o=a.path;a.params.locale?o=o.replace(`/${a.params.locale}`,`/${t}`):o=`/${t}${o}`;const l=d(`${i}${o}`);return{hid:"alternate",rel:"alternate",hreflang:t,href:l}}));C.u(v.value);const s=e.ref(!1);async function k(){const t=await O.Preferences.get({key:"first-use"});s.value=t.value?JSON.parse(t.value):!0}const b=t=>{s.value=t};return e.onMounted(async()=>{await k(),u&&(h.value=!0)}),(t,o)=>{const l=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"scaleTransition",mode:"out-in"},{default:e.withCtx(()=>[s.value&&e.unref(a).meta.walkthrough?(e.openBlock(),e.createElementBlock("section",B,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a).meta.walkthrough),{name:"Walkthrough",onUpdateFirstUse:b,slides:[1,2,3],class:"tab"},null,32))])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"moveFromTop",mode:"out-in",appear:""},{default:e.withCtx(()=>[e.unref(a).meta.sidebar&&r.state.isOpenSidebar?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a).meta.sidebar),{key:0,stateSidebar:r.state.isOpenSidebar,onCloseSidebar:o[0]||(o[0]=()=>{r.state.isOpenSidebar=!r.state.isOpenSidebar}),class:e.normalizeClass(["transition-ease-in-out pos-absolute w-70 z-index-0 bg-light",{"pos-l-70-negative":!r.state.isOpenSidebar,"pos-l-0":r.state.isOpenSidebar}])},{default:e.withCtx(({Component:c})=>[e.unref(a).meta.navigation?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a).meta.navigation),{key:0,class:"h3 pd-big cols-1"})):e.createCommentVNode("",!0)]),_:1},40,["stateSidebar","class"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(l,{class:e.normalizeClass([{"pos-l-70":r.state.isOpenSidebar,"pos-l-0":!r.state.isOpenSidebar,"pd-t-extra":t.MOBILE_APP==="ios"},"transition-ease-in-out h-min-100 w-100 bg-white pos-relative"]),onClick:o[1]||(o[1]=c=>r.state.isOpenSidebar?y=>r.state.isOpenSidebar=!1:y=>{console.log("not succes")})},{default:e.withCtx(({Component:c})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c),{ref_key:"page",ref:u},null,512))]),_:1},8,["class"])],64)}}};exports.default=$;
|