@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
@@ -0,0 +1,17 @@
|
|
1
|
+
import { constructFrom as u } from "./constructFrom.js";
|
2
|
+
import { startOfWeek as k } from "./startOfWeek.js";
|
3
|
+
import { toDate as g } from "./toDate.js";
|
4
|
+
import { getDefaultOptions as D } from "./_lib/defaultOptions.js";
|
5
|
+
function x(r, e) {
|
6
|
+
var l, o, c, m;
|
7
|
+
const a = g(r), t = a.getFullYear(), i = D(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((o = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : o.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (c = i.locale) == null ? void 0 : c.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, s = u(r, 0);
|
8
|
+
s.setFullYear(t + 1, 0, n), s.setHours(0, 0, 0, 0);
|
9
|
+
const W = k(s, e), f = u(r, 0);
|
10
|
+
f.setFullYear(t, 0, n), f.setHours(0, 0, 0, 0);
|
11
|
+
const Y = k(f, e);
|
12
|
+
return a.getTime() >= W.getTime() ? t + 1 : a.getTime() >= Y.getTime() ? t : t - 1;
|
13
|
+
}
|
14
|
+
export {
|
15
|
+
x as default,
|
16
|
+
x as getWeekYear
|
17
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./toDate.cjs");function e(t){return r.toDate(t).getFullYear()}exports.default=e;exports.getYear=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./toDate.cjs");function t(o,r){const a=e.toDate(o),i=e.toDate(r);return a.getTime()>i.getTime()}exports.default=t;exports.isAfter=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./toDate.cjs");function t(o,r){const a=e.toDate(o),u=e.toDate(r);return+a<+u}exports.default=t;exports.isBefore=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}exports.default=e;exports.isDate=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./toDate.cjs");function e(o,u){const a=t.toDate(o),i=t.toDate(u);return+a==+i}exports.default=e;exports.isEqual=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./startOfQuarter.cjs");function e(r,a){const u=t.startOfQuarter(r),s=t.startOfQuarter(a);return+u==+s}exports.default=e;exports.isSameQuarter=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./isDate.cjs"),u=require("./toDate.cjs");function t(e){if(!r.isDate(e)&&typeof e!="number")return!1;const i=u.toDate(e);return!isNaN(Number(i))}exports.default=t;exports.isValid=t;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(t){return(o={})=>{const n=o.width?String(o.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}exports.buildFormatLongFn=r;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e){return(a,t)=>{const c=t!=null&&t.context?String(t.context):"standalone";let d;if(c==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,u=t!=null&&t.width?String(t.width):l;d=e.formattingValues[u]||e.formattingValues[l]}else{const l=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;d=e.values[u]||e.values[l]}const f=e.argumentCallback?e.argumentCallback(a):a;return d[f]}}exports.buildLocalizeFn=i;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
function h(e) {
|
2
|
+
return (a, t) => {
|
3
|
+
const c = t != null && t.context ? String(t.context) : "standalone";
|
4
|
+
let l;
|
5
|
+
if (c === "formatting" && e.formattingValues) {
|
6
|
+
const d = e.defaultFormattingWidth || e.defaultWidth, u = t != null && t.width ? String(t.width) : d;
|
7
|
+
l = e.formattingValues[u] || e.formattingValues[d];
|
8
|
+
} else {
|
9
|
+
const d = e.defaultWidth, u = t != null && t.width ? String(t.width) : e.defaultWidth;
|
10
|
+
l = e.values[u] || e.values[d];
|
11
|
+
}
|
12
|
+
const f = e.argumentCallback ? e.argumentCallback(a) : a;
|
13
|
+
return l[f];
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export {
|
17
|
+
h as buildLocalizeFn
|
18
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function f(t){return(n,e={})=>{const l=e.width,h=l&&t.matchPatterns[l]||t.matchPatterns[t.defaultMatchWidth],i=n.match(h);if(!i)return null;const r=i[0],c=l&&t.parsePatterns[l]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(c)?y(c,u=>u.test(r)):o(c,u=>u.test(r));let a;a=t.valueCallback?t.valueCallback(d):d,a=e.valueCallback?e.valueCallback(a):a;const s=n.slice(r.length);return{value:a,rest:s}}}function o(t,n){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&n(t[e]))return e}function y(t,n){for(let e=0;e<t.length;e++)if(n(t[e]))return e}exports.buildMatchFn=f;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
function P(t) {
|
2
|
+
return (n, e = {}) => {
|
3
|
+
const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
|
4
|
+
if (!i)
|
5
|
+
return null;
|
6
|
+
const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
|
8
|
+
s(c, (u) => u.test(r))
|
9
|
+
);
|
10
|
+
let a;
|
11
|
+
a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
|
13
|
+
e.valueCallback(a)
|
14
|
+
) : a;
|
15
|
+
const f = n.slice(r.length);
|
16
|
+
return { value: a, rest: f };
|
17
|
+
};
|
18
|
+
}
|
19
|
+
function s(t, n) {
|
20
|
+
for (const e in t)
|
21
|
+
if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
|
22
|
+
return e;
|
23
|
+
}
|
24
|
+
function o(t, n) {
|
25
|
+
for (let e = 0; e < t.length; e++)
|
26
|
+
if (n(t[e]))
|
27
|
+
return e;
|
28
|
+
}
|
29
|
+
export {
|
30
|
+
P as buildMatchFn
|
31
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function b(t){return(l,c={})=>{const n=l.match(t.matchPattern);if(!n)return null;const u=n[0],a=l.match(t.parsePattern);if(!a)return null;let e=t.valueCallback?t.valueCallback(a[0]):a[0];e=c.valueCallback?c.valueCallback(e):e;const r=l.slice(u.length);return{value:e,rest:r}}}exports.buildMatchPatternFn=b;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
function h(t) {
|
2
|
+
return (e, c = {}) => {
|
3
|
+
const n = e.match(t.matchPattern);
|
4
|
+
if (!n) return null;
|
5
|
+
const u = n[0], a = e.match(t.parsePattern);
|
6
|
+
if (!a) return null;
|
7
|
+
let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
|
8
|
+
l = c.valueCallback ? c.valueCallback(l) : l;
|
9
|
+
const r = e.slice(u.length);
|
10
|
+
return { value: l, rest: r };
|
11
|
+
};
|
12
|
+
}
|
13
|
+
export {
|
14
|
+
h as buildMatchPatternFn
|
15
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=(s,n,o)=>{let e;const t=a[s];return typeof t=="string"?e=t:n===1?e=t.one:e=t.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+e:e+" ago":e};exports.formatDistance=r;
|
@@ -0,0 +1,70 @@
|
|
1
|
+
const a = {
|
2
|
+
lessThanXSeconds: {
|
3
|
+
one: "less than a second",
|
4
|
+
other: "less than {{count}} seconds"
|
5
|
+
},
|
6
|
+
xSeconds: {
|
7
|
+
one: "1 second",
|
8
|
+
other: "{{count}} seconds"
|
9
|
+
},
|
10
|
+
halfAMinute: "half a minute",
|
11
|
+
lessThanXMinutes: {
|
12
|
+
one: "less than a minute",
|
13
|
+
other: "less than {{count}} minutes"
|
14
|
+
},
|
15
|
+
xMinutes: {
|
16
|
+
one: "1 minute",
|
17
|
+
other: "{{count}} minutes"
|
18
|
+
},
|
19
|
+
aboutXHours: {
|
20
|
+
one: "about 1 hour",
|
21
|
+
other: "about {{count}} hours"
|
22
|
+
},
|
23
|
+
xHours: {
|
24
|
+
one: "1 hour",
|
25
|
+
other: "{{count}} hours"
|
26
|
+
},
|
27
|
+
xDays: {
|
28
|
+
one: "1 day",
|
29
|
+
other: "{{count}} days"
|
30
|
+
},
|
31
|
+
aboutXWeeks: {
|
32
|
+
one: "about 1 week",
|
33
|
+
other: "about {{count}} weeks"
|
34
|
+
},
|
35
|
+
xWeeks: {
|
36
|
+
one: "1 week",
|
37
|
+
other: "{{count}} weeks"
|
38
|
+
},
|
39
|
+
aboutXMonths: {
|
40
|
+
one: "about 1 month",
|
41
|
+
other: "about {{count}} months"
|
42
|
+
},
|
43
|
+
xMonths: {
|
44
|
+
one: "1 month",
|
45
|
+
other: "{{count}} months"
|
46
|
+
},
|
47
|
+
aboutXYears: {
|
48
|
+
one: "about 1 year",
|
49
|
+
other: "about {{count}} years"
|
50
|
+
},
|
51
|
+
xYears: {
|
52
|
+
one: "1 year",
|
53
|
+
other: "{{count}} years"
|
54
|
+
},
|
55
|
+
overXYears: {
|
56
|
+
one: "over 1 year",
|
57
|
+
other: "over {{count}} years"
|
58
|
+
},
|
59
|
+
almostXYears: {
|
60
|
+
one: "almost 1 year",
|
61
|
+
other: "almost {{count}} years"
|
62
|
+
}
|
63
|
+
}, r = (s, n, o) => {
|
64
|
+
let e;
|
65
|
+
const t = a[s];
|
66
|
+
return typeof t == "string" ? e = t : n === 1 ? e = t.one : e = t.other.replace("{{count}}", n.toString()), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "in " + e : e + " ago" : e;
|
67
|
+
};
|
68
|
+
export {
|
69
|
+
r as formatDistance
|
70
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../_lib/buildFormatLongFn.cjs"),m={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},a={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},e={date:t.buildFormatLongFn({formats:m,defaultWidth:"full"}),time:t.buildFormatLongFn({formats:o,defaultWidth:"full"}),dateTime:t.buildFormatLongFn({formats:a,defaultWidth:"full"})};exports.formatLong=e;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
|
2
|
+
const m = {
|
3
|
+
full: "EEEE, MMMM do, y",
|
4
|
+
long: "MMMM do, y",
|
5
|
+
medium: "MMM d, y",
|
6
|
+
short: "MM/dd/yyyy"
|
7
|
+
}, a = {
|
8
|
+
full: "h:mm:ss a zzzz",
|
9
|
+
long: "h:mm:ss a z",
|
10
|
+
medium: "h:mm:ss a",
|
11
|
+
short: "h:mm a"
|
12
|
+
}, o = {
|
13
|
+
full: "{{date}} 'at' {{time}}",
|
14
|
+
long: "{{date}} 'at' {{time}}",
|
15
|
+
medium: "{{date}}, {{time}}",
|
16
|
+
short: "{{date}}, {{time}}"
|
17
|
+
}, e = {
|
18
|
+
date: t({
|
19
|
+
formats: m,
|
20
|
+
defaultWidth: "full"
|
21
|
+
}),
|
22
|
+
time: t({
|
23
|
+
formats: a,
|
24
|
+
defaultWidth: "full"
|
25
|
+
}),
|
26
|
+
dateTime: t({
|
27
|
+
formats: o,
|
28
|
+
defaultWidth: "full"
|
29
|
+
})
|
30
|
+
};
|
31
|
+
export {
|
32
|
+
e as formatLong
|
33
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},a=(e,o,r,s)=>t[e];exports.formatRelative=a;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_lib/buildLocalizeFn.cjs"),a={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},r={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},d={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},u={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},m={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g=(i,l)=>{const n=Number(i),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},h={ordinalNumber:g,era:e.buildLocalizeFn({values:a,defaultWidth:"wide"}),quarter:e.buildLocalizeFn({values:o,defaultWidth:"wide",argumentCallback:i=>i-1}),month:e.buildLocalizeFn({values:r,defaultWidth:"wide"}),day:e.buildLocalizeFn({values:d,defaultWidth:"wide"}),dayPeriod:e.buildLocalizeFn({values:u,defaultWidth:"wide",formattingValues:m,defaultFormattingWidth:"wide"})};exports.localize=h;
|
@@ -0,0 +1,155 @@
|
|
1
|
+
import { buildLocalizeFn as e } from "../../_lib/buildLocalizeFn.js";
|
2
|
+
const a = {
|
3
|
+
narrow: ["B", "A"],
|
4
|
+
abbreviated: ["BC", "AD"],
|
5
|
+
wide: ["Before Christ", "Anno Domini"]
|
6
|
+
}, r = {
|
7
|
+
narrow: ["1", "2", "3", "4"],
|
8
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
9
|
+
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
10
|
+
}, o = {
|
11
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
12
|
+
abbreviated: [
|
13
|
+
"Jan",
|
14
|
+
"Feb",
|
15
|
+
"Mar",
|
16
|
+
"Apr",
|
17
|
+
"May",
|
18
|
+
"Jun",
|
19
|
+
"Jul",
|
20
|
+
"Aug",
|
21
|
+
"Sep",
|
22
|
+
"Oct",
|
23
|
+
"Nov",
|
24
|
+
"Dec"
|
25
|
+
],
|
26
|
+
wide: [
|
27
|
+
"January",
|
28
|
+
"February",
|
29
|
+
"March",
|
30
|
+
"April",
|
31
|
+
"May",
|
32
|
+
"June",
|
33
|
+
"July",
|
34
|
+
"August",
|
35
|
+
"September",
|
36
|
+
"October",
|
37
|
+
"November",
|
38
|
+
"December"
|
39
|
+
]
|
40
|
+
}, d = {
|
41
|
+
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
42
|
+
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
43
|
+
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
44
|
+
wide: [
|
45
|
+
"Sunday",
|
46
|
+
"Monday",
|
47
|
+
"Tuesday",
|
48
|
+
"Wednesday",
|
49
|
+
"Thursday",
|
50
|
+
"Friday",
|
51
|
+
"Saturday"
|
52
|
+
]
|
53
|
+
}, m = {
|
54
|
+
narrow: {
|
55
|
+
am: "a",
|
56
|
+
pm: "p",
|
57
|
+
midnight: "mi",
|
58
|
+
noon: "n",
|
59
|
+
morning: "morning",
|
60
|
+
afternoon: "afternoon",
|
61
|
+
evening: "evening",
|
62
|
+
night: "night"
|
63
|
+
},
|
64
|
+
abbreviated: {
|
65
|
+
am: "AM",
|
66
|
+
pm: "PM",
|
67
|
+
midnight: "midnight",
|
68
|
+
noon: "noon",
|
69
|
+
morning: "morning",
|
70
|
+
afternoon: "afternoon",
|
71
|
+
evening: "evening",
|
72
|
+
night: "night"
|
73
|
+
},
|
74
|
+
wide: {
|
75
|
+
am: "a.m.",
|
76
|
+
pm: "p.m.",
|
77
|
+
midnight: "midnight",
|
78
|
+
noon: "noon",
|
79
|
+
morning: "morning",
|
80
|
+
afternoon: "afternoon",
|
81
|
+
evening: "evening",
|
82
|
+
night: "night"
|
83
|
+
}
|
84
|
+
}, g = {
|
85
|
+
narrow: {
|
86
|
+
am: "a",
|
87
|
+
pm: "p",
|
88
|
+
midnight: "mi",
|
89
|
+
noon: "n",
|
90
|
+
morning: "in the morning",
|
91
|
+
afternoon: "in the afternoon",
|
92
|
+
evening: "in the evening",
|
93
|
+
night: "at night"
|
94
|
+
},
|
95
|
+
abbreviated: {
|
96
|
+
am: "AM",
|
97
|
+
pm: "PM",
|
98
|
+
midnight: "midnight",
|
99
|
+
noon: "noon",
|
100
|
+
morning: "in the morning",
|
101
|
+
afternoon: "in the afternoon",
|
102
|
+
evening: "in the evening",
|
103
|
+
night: "at night"
|
104
|
+
},
|
105
|
+
wide: {
|
106
|
+
am: "a.m.",
|
107
|
+
pm: "p.m.",
|
108
|
+
midnight: "midnight",
|
109
|
+
noon: "noon",
|
110
|
+
morning: "in the morning",
|
111
|
+
afternoon: "in the afternoon",
|
112
|
+
evening: "in the evening",
|
113
|
+
night: "at night"
|
114
|
+
}
|
115
|
+
}, u = (i, h) => {
|
116
|
+
const n = Number(i), t = n % 100;
|
117
|
+
if (t > 20 || t < 10)
|
118
|
+
switch (t % 10) {
|
119
|
+
case 1:
|
120
|
+
return n + "st";
|
121
|
+
case 2:
|
122
|
+
return n + "nd";
|
123
|
+
case 3:
|
124
|
+
return n + "rd";
|
125
|
+
}
|
126
|
+
return n + "th";
|
127
|
+
}, l = {
|
128
|
+
ordinalNumber: u,
|
129
|
+
era: e({
|
130
|
+
values: a,
|
131
|
+
defaultWidth: "wide"
|
132
|
+
}),
|
133
|
+
quarter: e({
|
134
|
+
values: r,
|
135
|
+
defaultWidth: "wide",
|
136
|
+
argumentCallback: (i) => i - 1
|
137
|
+
}),
|
138
|
+
month: e({
|
139
|
+
values: o,
|
140
|
+
defaultWidth: "wide"
|
141
|
+
}),
|
142
|
+
day: e({
|
143
|
+
values: d,
|
144
|
+
defaultWidth: "wide"
|
145
|
+
}),
|
146
|
+
dayPeriod: e({
|
147
|
+
values: m,
|
148
|
+
defaultWidth: "wide",
|
149
|
+
formattingValues: g,
|
150
|
+
defaultFormattingWidth: "wide"
|
151
|
+
})
|
152
|
+
};
|
153
|
+
export {
|
154
|
+
l as localize
|
155
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../_lib/buildMatchFn.cjs"),n=require("../../_lib/buildMatchPatternFn.cjs"),e=/^(\d+)(th|st|nd|rd)?/i,i=/\d+/i,r={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},s={any:[/^b/i,/^(a|c)/i]},d={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},o={any:[/1/i,/2/i,/3/i,/4/i]},c={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},h={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},u={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},m={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},b={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},P={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},l={ordinalNumber:n.buildMatchPatternFn({matchPattern:e,parsePattern:i,valueCallback:t=>parseInt(t,10)}),era:a.buildMatchFn({matchPatterns:r,defaultMatchWidth:"wide",parsePatterns:s,defaultParseWidth:"any"}),quarter:a.buildMatchFn({matchPatterns:d,defaultMatchWidth:"wide",parsePatterns:o,defaultParseWidth:"any",valueCallback:t=>t+1}),month:a.buildMatchFn({matchPatterns:c,defaultMatchWidth:"wide",parsePatterns:h,defaultParseWidth:"any"}),day:a.buildMatchFn({matchPatterns:u,defaultMatchWidth:"wide",parsePatterns:m,defaultParseWidth:"any"}),dayPeriod:a.buildMatchFn({matchPatterns:b,defaultMatchWidth:"any",parsePatterns:P,defaultParseWidth:"any"})};exports.match=l;
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { buildMatchFn as a } from "../../_lib/buildMatchFn.js";
|
2
|
+
import { buildMatchPatternFn as i } from "../../_lib/buildMatchPatternFn.js";
|
3
|
+
const n = /^(\d+)(th|st|nd|rd)?/i, e = /\d+/i, r = {
|
4
|
+
narrow: /^(b|a)/i,
|
5
|
+
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
6
|
+
wide: /^(before christ|before common era|anno domini|common era)/i
|
7
|
+
}, s = {
|
8
|
+
any: [/^b/i, /^(a|c)/i]
|
9
|
+
}, o = {
|
10
|
+
narrow: /^[1234]/i,
|
11
|
+
abbreviated: /^q[1234]/i,
|
12
|
+
wide: /^[1234](th|st|nd|rd)? quarter/i
|
13
|
+
}, d = {
|
14
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
15
|
+
}, m = {
|
16
|
+
narrow: /^[jfmasond]/i,
|
17
|
+
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
18
|
+
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
19
|
+
}, h = {
|
20
|
+
narrow: [
|
21
|
+
/^j/i,
|
22
|
+
/^f/i,
|
23
|
+
/^m/i,
|
24
|
+
/^a/i,
|
25
|
+
/^m/i,
|
26
|
+
/^j/i,
|
27
|
+
/^j/i,
|
28
|
+
/^a/i,
|
29
|
+
/^s/i,
|
30
|
+
/^o/i,
|
31
|
+
/^n/i,
|
32
|
+
/^d/i
|
33
|
+
],
|
34
|
+
any: [
|
35
|
+
/^ja/i,
|
36
|
+
/^f/i,
|
37
|
+
/^mar/i,
|
38
|
+
/^ap/i,
|
39
|
+
/^may/i,
|
40
|
+
/^jun/i,
|
41
|
+
/^jul/i,
|
42
|
+
/^au/i,
|
43
|
+
/^s/i,
|
44
|
+
/^o/i,
|
45
|
+
/^n/i,
|
46
|
+
/^d/i
|
47
|
+
]
|
48
|
+
}, c = {
|
49
|
+
narrow: /^[smtwf]/i,
|
50
|
+
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
51
|
+
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
52
|
+
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
53
|
+
}, u = {
|
54
|
+
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
55
|
+
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
56
|
+
}, P = {
|
57
|
+
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
58
|
+
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
59
|
+
}, y = {
|
60
|
+
any: {
|
61
|
+
am: /^a/i,
|
62
|
+
pm: /^p/i,
|
63
|
+
midnight: /^mi/i,
|
64
|
+
noon: /^no/i,
|
65
|
+
morning: /morning/i,
|
66
|
+
afternoon: /afternoon/i,
|
67
|
+
evening: /evening/i,
|
68
|
+
night: /night/i
|
69
|
+
}
|
70
|
+
}, l = {
|
71
|
+
ordinalNumber: i({
|
72
|
+
matchPattern: n,
|
73
|
+
parsePattern: e,
|
74
|
+
valueCallback: (t) => parseInt(t, 10)
|
75
|
+
}),
|
76
|
+
era: a({
|
77
|
+
matchPatterns: r,
|
78
|
+
defaultMatchWidth: "wide",
|
79
|
+
parsePatterns: s,
|
80
|
+
defaultParseWidth: "any"
|
81
|
+
}),
|
82
|
+
quarter: a({
|
83
|
+
matchPatterns: o,
|
84
|
+
defaultMatchWidth: "wide",
|
85
|
+
parsePatterns: d,
|
86
|
+
defaultParseWidth: "any",
|
87
|
+
valueCallback: (t) => t + 1
|
88
|
+
}),
|
89
|
+
month: a({
|
90
|
+
matchPatterns: m,
|
91
|
+
defaultMatchWidth: "wide",
|
92
|
+
parsePatterns: h,
|
93
|
+
defaultParseWidth: "any"
|
94
|
+
}),
|
95
|
+
day: a({
|
96
|
+
matchPatterns: c,
|
97
|
+
defaultMatchWidth: "wide",
|
98
|
+
parsePatterns: u,
|
99
|
+
defaultParseWidth: "any"
|
100
|
+
}),
|
101
|
+
dayPeriod: a({
|
102
|
+
matchPatterns: P,
|
103
|
+
defaultMatchWidth: "any",
|
104
|
+
parsePatterns: y,
|
105
|
+
defaultParseWidth: "any"
|
106
|
+
})
|
107
|
+
};
|
108
|
+
export {
|
109
|
+
l as match
|
110
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./en-US/_lib/formatDistance.cjs"),o=require("./en-US/_lib/formatLong.cjs"),a=require("./en-US/_lib/formatRelative.cjs"),r=require("./en-US/_lib/localize.cjs"),i=require("./en-US/_lib/match.cjs"),e={code:"en-US",formatDistance:t.formatDistance,formatLong:o.formatLong,formatRelative:a.formatRelative,localize:r.localize,match:i.match,options:{weekStartsOn:0,firstWeekContainsDate:1}};exports.default=e;exports.enUS=e;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { formatDistance as o } from "./en-US/_lib/formatDistance.js";
|
2
|
+
import { formatLong as t } from "./en-US/_lib/formatLong.js";
|
3
|
+
import { formatRelative as a } from "./en-US/_lib/formatRelative.js";
|
4
|
+
import { localize as r } from "./en-US/_lib/localize.js";
|
5
|
+
import { match as e } from "./en-US/_lib/match.js";
|
6
|
+
const s = {
|
7
|
+
code: "en-US",
|
8
|
+
formatDistance: o,
|
9
|
+
formatLong: t,
|
10
|
+
formatRelative: a,
|
11
|
+
localize: r,
|
12
|
+
match: e,
|
13
|
+
options: {
|
14
|
+
weekStartsOn: 0,
|
15
|
+
firstWeekContainsDate: 1
|
16
|
+
}
|
17
|
+
};
|
18
|
+
export {
|
19
|
+
s as default,
|
20
|
+
s as enUS
|
21
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Setter.cjs");class a{run(e,r,s,i){const t=this.parse(e,r,s,i);return t?{setter:new u.ValueSetter(t.value,this.validate,this.set,this.priority,this.subPriority),rest:t.rest}:null}validate(e,r,s){return!0}}exports.Parser=a;
|