bt-core-app 2.1.37 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
- package/dist/_virtual/_commonjsHelpers.mjs +30 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/dist/_virtual/index.mjs +4 -0
- package/dist/_virtual/localforage.mjs +4 -0
- package/dist/_virtual/luxon.mjs +6 -0
- package/dist/_virtual/matcher.mjs +4 -0
- package/dist/_virtual/parser.mjs +4 -0
- package/dist/bt-core/core/node_modules/@datasert/cronjs-matcher/dist/index.mjs +12 -0
- package/dist/bt-core/core/node_modules/@datasert/cronjs-matcher/dist/matcher.mjs +220 -0
- package/dist/bt-core/core/node_modules/@datasert/cronjs-parser/dist/parser.mjs +186 -0
- package/dist/bt-core/core/node_modules/@mdi/js/mdi.mjs +70 -0
- package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/main.css.mjs +1 -0
- package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.mjs +5210 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/addLeadingZeros.mjs +7 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/defaultOptions.mjs +7 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/format/formatters.mjs +517 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/format/lightFormatters.mjs +59 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/format/longFormatters.mjs +52 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs +18 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/normalizeDates.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/normalizeInterval.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/protectedTokens.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/add.mjs +20 -0
- package/dist/bt-core/core/node_modules/date-fns/addDays.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/addHours.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/addMilliseconds.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/addMonths.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/addQuarters.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/addYears.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/compareAsc.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/constants.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/constructFrom.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/differenceInCalendarDays.mjs +16 -0
- package/dist/bt-core/core/node_modules/date-fns/differenceInCalendarYears.mjs +13 -0
- package/dist/bt-core/core/node_modules/date-fns/differenceInYears.mjs +17 -0
- package/dist/bt-core/core/node_modules/date-fns/eachDayOfInterval.mjs +20 -0
- package/dist/bt-core/core/node_modules/date-fns/eachQuarterOfInterval.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/endOfQuarter.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/endOfWeek.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/endOfYear.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/format.mjs +60 -0
- package/dist/bt-core/core/node_modules/date-fns/getDay.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getDayOfYear.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/getDaysInMonth.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/getDefaultOptions.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getHours.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getISODay.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/getISOWeek.mjs +12 -0
- package/dist/bt-core/core/node_modules/date-fns/getISOWeekYear.mjs +15 -0
- package/dist/bt-core/core/node_modules/date-fns/getMinutes.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getMonth.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getQuarter.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/getSeconds.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getWeek.mjs +12 -0
- package/dist/bt-core/core/node_modules/date-fns/getWeekYear.mjs +17 -0
- package/dist/bt-core/core/node_modules/date-fns/getYear.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isAfter.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isBefore.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isDate.mjs +7 -0
- package/dist/bt-core/core/node_modules/date-fns/isEqual.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isSameQuarter.mjs +14 -0
- package/dist/bt-core/core/node_modules/date-fns/isValid.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs +18 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildMatchFn.mjs +31 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs +17 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs +70 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatLong.mjs +33 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/localize.mjs +155 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/match.mjs +110 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/Parser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/Setter.mjs +41 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/constants.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/AMPMParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DateParser.mjs +61 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.mjs +51 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayParser.mjs +45 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/EraParser.mjs +30 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.mjs +33 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.mjs +33 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISODayParser.mjs +99 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.mjs +48 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.mjs +48 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.mjs +40 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.mjs +74 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.mjs +48 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.mjs +69 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/MinuteParser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/MonthParser.mjs +71 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/QuarterParser.mjs +70 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/SecondParser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.mjs +74 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.mjs +71 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.mjs +70 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/YearParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers.mjs +67 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/utils.mjs +103 -0
- package/dist/bt-core/core/node_modules/date-fns/parse.mjs +90 -0
- package/dist/bt-core/core/node_modules/date-fns/set.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/setDay.mjs +12 -0
- package/dist/bt-core/core/node_modules/date-fns/setHours.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setISODay.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/setISOWeek.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/setMilliseconds.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setMinutes.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setMonth.mjs +13 -0
- package/dist/bt-core/core/node_modules/date-fns/setSeconds.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setWeek.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/setYear.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfDay.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfISOWeek.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfISOWeekYear.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfMonth.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfQuarter.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfWeek.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfWeekYear.mjs +13 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfYear.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/sub.mjs +19 -0
- package/dist/bt-core/core/node_modules/date-fns/subDays.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/subMonths.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/subYears.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/toDate.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/transpose.mjs +18 -0
- package/dist/bt-core/core/node_modules/localforage/dist/localforage.mjs +1454 -0
- package/dist/bt-core/core/node_modules/luxon/src/datetime.mjs +1855 -0
- package/dist/bt-core/core/node_modules/luxon/src/duration.mjs +753 -0
- package/dist/bt-core/core/node_modules/luxon/src/errors.mjs +40 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/conversions.mjs +92 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/diff.mjs +36 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/digits.mjs +77 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/english.mjs +138 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/formats.mjs +150 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/formatter.mjs +258 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/invalid.mjs +11 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/locale.mjs +294 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/regexParser.mjs +202 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/tokenParser.mjs +329 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/util.mjs +220 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/zoneUtil.mjs +20 -0
- package/dist/bt-core/core/node_modules/luxon/src/info.mjs +180 -0
- package/dist/bt-core/core/node_modules/luxon/src/interval.mjs +481 -0
- package/dist/bt-core/core/node_modules/luxon/src/luxon.mjs +24 -0
- package/dist/bt-core/core/node_modules/luxon/src/settings.mjs +150 -0
- package/dist/bt-core/core/node_modules/luxon/src/zone.mjs +88 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/IANAZone.mjs +183 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/fixedOffsetZone.mjs +125 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/invalidZone.mjs +41 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/systemZone.mjs +47 -0
- package/dist/bt-core/core/node_modules/merge-images/dist/index.es2015.mjs +47 -0
- package/dist/bt-core/core/node_modules/signature_pad/dist/signature_pad.mjs +248 -0
- package/dist/bt-core/core/node_modules/thenby/thenBy.module.mjs +38 -0
- package/dist/bt-core/core/node_modules/vue-picture-cropper/lib/index.mjs +1643 -0
- package/dist/bt-core/core/node_modules/vue-signature-pad/dist/vue-signature-pad.esm.mjs +173 -0
- package/dist/bt-core/core/node_modules/vue-use-spring/dist/index.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/iconsets/mdi-svg.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colors.mjs +322 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +7 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/defineComponent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/injectSelf.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/propsFactory.mjs +14 -0
- package/dist/components/BT-Assistant-Menu.vue.d.ts +19 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +464 -0
- package/dist/components/BT-Assistant-Menu.vue2.mjs +4 -0
- package/dist/components/BT-Avatar.vue.d.ts +16 -0
- package/dist/components/BT-Avatar.vue.mjs +41 -0
- package/dist/components/BT-Avatar.vue2.mjs +4 -0
- package/dist/components/BT-Background-Task.vue.d.ts +61 -0
- package/dist/components/BT-Background-Task.vue.mjs +89 -0
- package/dist/components/BT-Background-Task.vue2.mjs +4 -0
- package/dist/components/BT-Blade-Item.vue.d.ts +578 -0
- package/dist/components/BT-Blade-Item.vue.mjs +441 -0
- package/dist/components/BT-Blade-Item.vue2.mjs +4 -0
- package/dist/components/BT-Blade-Items.vue.d.ts +2358 -0
- package/dist/components/BT-Blade-Items.vue.mjs +7 -0
- package/dist/components/BT-Blade-Items.vue2.mjs +943 -0
- package/dist/components/BT-Blade-Items.vue3.mjs +1 -0
- package/dist/components/BT-Blade-Steps.vue.d.ts +1740 -0
- package/dist/components/BT-Blade-Steps.vue.mjs +7 -0
- package/dist/components/BT-Blade-Steps.vue2.mjs +1305 -0
- package/dist/components/BT-Blade-Steps.vue3.mjs +1 -0
- package/dist/components/BT-Blade.vue.d.ts +109 -0
- package/dist/components/BT-Blade.vue.mjs +268 -0
- package/dist/components/BT-Blade.vue2.mjs +4 -0
- package/dist/components/BT-Btn.vue.d.ts +47 -0
- package/dist/components/BT-Btn.vue.mjs +43 -0
- package/dist/components/BT-Btn.vue2.mjs +4 -0
- package/dist/components/BT-Camera-Overlay.vue.d.ts +57 -0
- package/dist/components/BT-Camera-Overlay.vue.mjs +173 -0
- package/dist/components/BT-Camera-Overlay.vue2.mjs +4 -0
- package/dist/components/BT-Col.vue.d.ts +49 -0
- package/dist/components/BT-Col.vue.mjs +33 -0
- package/dist/components/BT-Col.vue2.mjs +4 -0
- package/dist/components/BT-Color-Picker-Menu.vue.d.ts +23 -0
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +63 -0
- package/dist/components/BT-Color-Picker-Menu.vue2.mjs +4 -0
- package/dist/components/BT-Cosmetics-Menu.vue.d.ts +14 -0
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +211 -0
- package/dist/components/BT-Cosmetics-Menu.vue2.mjs +4 -0
- package/dist/components/BT-Cron-Span.vue.d.ts +21 -0
- package/dist/components/BT-Cron-Span.vue.mjs +66 -0
- package/dist/components/BT-Cron-Span.vue2.mjs +4 -0
- package/dist/components/BT-Cron.vue.d.ts +37 -0
- package/dist/components/BT-Cron.vue.mjs +538 -0
- package/dist/components/BT-Cron.vue2.mjs +4 -0
- package/dist/components/BT-Date-Select.vue.d.ts +46 -0
- package/dist/components/BT-Date-Select.vue.mjs +71 -0
- package/dist/components/BT-Date-Select.vue2.mjs +4 -0
- package/dist/components/BT-Date.vue.d.ts +53 -0
- package/dist/components/BT-Date.vue.mjs +55 -0
- package/dist/components/BT-Date.vue2.mjs +4 -0
- package/dist/components/BT-Demo-Profile-Select.vue.d.ts +17 -0
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +52 -0
- package/dist/components/BT-Demo-Profile-Select.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Confirm.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Confirm.vue.mjs +63 -0
- package/dist/components/BT-Dialog-Confirm.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Date.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Date.vue.mjs +79 -0
- package/dist/components/BT-Dialog-Date.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Number.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Number.vue.mjs +178 -0
- package/dist/components/BT-Dialog-Number.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Select.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Select.vue.mjs +235 -0
- package/dist/components/BT-Dialog-Select.vue2.mjs +4 -0
- package/dist/components/BT-Divider.vue.d.ts +24 -0
- package/dist/components/BT-Divider.vue.mjs +31 -0
- package/dist/components/BT-Divider.vue2.mjs +4 -0
- package/dist/components/BT-Drag-Counter.vue.d.ts +114 -0
- package/dist/components/BT-Drag-Counter.vue.mjs +7 -0
- package/dist/components/BT-Drag-Counter.vue2.mjs +156 -0
- package/dist/components/BT-Drag-Counter.vue3.mjs +1 -0
- package/dist/components/BT-Entity.vue.d.ts +82 -0
- package/dist/components/BT-Entity.vue.mjs +172 -0
- package/dist/components/BT-Entity.vue2.mjs +4 -0
- package/dist/components/BT-Error.vue.d.ts +15 -0
- package/dist/components/BT-Error.vue.mjs +35 -0
- package/dist/components/BT-Error.vue2.mjs +4 -0
- package/dist/components/BT-Field-Checkbox.vue.d.ts +57 -0
- package/dist/components/BT-Field-Checkbox.vue.mjs +61 -0
- package/dist/components/BT-Field-Checkbox.vue2.mjs +4 -0
- package/dist/components/BT-Field-Date.vue.d.ts +69 -0
- package/dist/components/BT-Field-Date.vue.mjs +120 -0
- package/dist/components/BT-Field-Date.vue2.mjs +4 -0
- package/dist/components/BT-Field-Entity.vue.d.ts +48 -0
- package/dist/components/BT-Field-Entity.vue.mjs +55 -0
- package/dist/components/BT-Field-Entity.vue2.mjs +4 -0
- package/dist/components/BT-Field-Select-Simple.vue.d.ts +55 -0
- package/dist/components/BT-Field-Select-Simple.vue.mjs +52 -0
- package/dist/components/BT-Field-Select-Simple.vue2.mjs +4 -0
- package/dist/components/BT-Field-Select.vue.d.ts +70 -0
- package/dist/components/BT-Field-Select.vue.mjs +60 -0
- package/dist/components/BT-Field-Select.vue2.mjs +4 -0
- package/dist/components/BT-Field-String.vue.d.ts +57 -0
- package/dist/components/BT-Field-String.vue.mjs +87 -0
- package/dist/components/BT-Field-String.vue2.mjs +4 -0
- package/dist/components/BT-Field-Switch.vue.d.ts +51 -0
- package/dist/components/BT-Field-Switch.vue.mjs +64 -0
- package/dist/components/BT-Field-Switch.vue2.mjs +4 -0
- package/dist/components/BT-Field-Tags.vue.d.ts +53 -0
- package/dist/components/BT-Field-Tags.vue.mjs +80 -0
- package/dist/components/BT-Field-Tags.vue2.mjs +4 -0
- package/dist/components/BT-Field-Textarea.vue.d.ts +53 -0
- package/dist/components/BT-Field-Textarea.vue.mjs +66 -0
- package/dist/components/BT-Field-Textarea.vue2.mjs +4 -0
- package/dist/components/BT-Field-Trigger.vue.d.ts +113 -0
- package/dist/components/BT-Field-Trigger.vue.mjs +368 -0
- package/dist/components/BT-Field-Trigger.vue2.mjs +4 -0
- package/dist/components/BT-Field.vue.d.ts +49 -0
- package/dist/components/BT-Field.vue.mjs +59 -0
- package/dist/components/BT-Field.vue2.mjs +4 -0
- package/dist/components/BT-Form-Builder.vue.d.ts +74 -0
- package/dist/components/BT-Form-Builder.vue.mjs +762 -0
- package/dist/components/BT-Form-Builder.vue2.mjs +4 -0
- package/dist/components/BT-Form-Field.vue.d.ts +41 -0
- package/dist/components/BT-Form-Field.vue.mjs +186 -0
- package/dist/components/BT-Form-Field.vue2.mjs +4 -0
- package/dist/components/BT-Form.vue.d.ts +95 -0
- package/dist/components/BT-Form.vue.mjs +635 -0
- package/dist/components/BT-Form.vue2.mjs +4 -0
- package/dist/components/BT-Header-Option.vue.d.ts +18 -0
- package/dist/components/BT-Header-Option.vue.mjs +62 -0
- package/dist/components/BT-Header-Option.vue2.mjs +4 -0
- package/dist/components/BT-Image-Select.vue.d.ts +71 -0
- package/dist/components/BT-Image-Select.vue.mjs +219 -0
- package/dist/components/BT-Image-Select.vue2.mjs +4 -0
- package/dist/components/BT-Json.vue.d.ts +6 -0
- package/dist/components/BT-Json.vue.mjs +38 -0
- package/dist/components/BT-Json.vue2.mjs +1 -0
- package/dist/components/BT-Json.vue3.mjs +5 -0
- package/dist/components/BT-Loader.vue.d.ts +6 -0
- package/dist/components/BT-Loader.vue.mjs +37 -0
- package/dist/components/BT-Loader.vue2.mjs +4 -0
- package/dist/components/BT-Nav-Sidebar.vue.d.ts +25 -0
- package/dist/components/BT-Nav-Sidebar.vue.mjs +138 -0
- package/dist/components/BT-Nav-Sidebar.vue2.mjs +4 -0
- package/dist/components/BT-Number.vue.d.ts +23 -0
- package/dist/components/BT-Number.vue.mjs +7 -0
- package/dist/components/BT-Number.vue2.mjs +43 -0
- package/dist/components/BT-Number.vue3.mjs +1 -0
- package/dist/components/BT-Numpad.vue.d.ts +68 -0
- package/dist/components/BT-Numpad.vue.mjs +191 -0
- package/dist/components/BT-Numpad.vue2.mjs +4 -0
- package/dist/components/BT-Select-Inline.vue.d.ts +121 -0
- package/dist/components/BT-Select-Inline.vue.mjs +74 -0
- package/dist/components/BT-Select-Inline.vue2.mjs +24 -0
- package/dist/components/BT-Select-Inline.vue3.mjs +1 -0
- package/dist/components/BT-Select-List-Box.vue.d.ts +137 -0
- package/dist/components/BT-Select-List-Box.vue.mjs +414 -0
- package/dist/components/BT-Select-List-Box.vue2.mjs +4 -0
- package/dist/components/BT-Select-Simple.vue.d.ts +58 -0
- package/dist/components/BT-Select-Simple.vue.mjs +126 -0
- package/dist/components/BT-Select-Simple.vue2.mjs +4 -0
- package/dist/components/BT-Select.vue.d.ts +73 -0
- package/dist/components/BT-Select.vue.mjs +138 -0
- package/dist/components/BT-Select.vue2.mjs +4 -0
- package/dist/components/BT-Signature-Overlay.vue.d.ts +65 -0
- package/dist/components/BT-Signature-Overlay.vue.mjs +146 -0
- package/dist/components/BT-Signature-Overlay.vue2.mjs +4 -0
- package/dist/components/BT-Signature.vue.d.ts +70 -0
- package/dist/components/BT-Signature.vue.mjs +155 -0
- package/dist/components/BT-Signature.vue2.mjs +4 -0
- package/dist/components/BT-Slider.vue.d.ts +37 -0
- package/dist/components/BT-Slider.vue.mjs +126 -0
- package/dist/components/BT-Slider.vue2.mjs +4 -0
- package/dist/components/BT-Span.vue.d.ts +19 -0
- package/dist/components/BT-Span.vue.mjs +23 -0
- package/dist/components/BT-Span.vue2.mjs +4 -0
- package/dist/components/BT-Square-Check.vue.d.ts +104 -0
- package/dist/components/BT-Square-Check.vue.mjs +98 -0
- package/dist/components/BT-Square-Check.vue2.mjs +4 -0
- package/dist/components/BT-Status-Item.vue.d.ts +45 -0
- package/dist/components/BT-Status-Item.vue.mjs +51 -0
- package/dist/components/BT-Status-Item.vue2.mjs +4 -0
- package/dist/components/BT-Tags.vue.d.ts +19 -0
- package/dist/components/BT-Tags.vue.mjs +32 -0
- package/dist/components/BT-Tags.vue2.mjs +4 -0
- package/dist/components/BT-Tour.vue.d.ts +43 -0
- package/dist/components/BT-Tour.vue.mjs +78 -0
- package/dist/components/BT-Tour.vue2.mjs +4 -0
- package/dist/components.mjs +36 -0
- package/dist/composables/actions-local.d.ts +14 -0
- package/dist/composables/actions-local.mjs +26 -0
- package/dist/composables/actions-tracker.d.ts +36 -0
- package/dist/composables/actions-tracker.mjs +88 -0
- package/dist/composables/actions.d.ts +116 -0
- package/dist/composables/actions.mjs +272 -0
- package/dist/composables/api.d.ts +100 -0
- package/dist/composables/api.mjs +329 -0
- package/dist/composables/assistant.d.ts +38 -0
- package/dist/composables/assistant.mjs +70 -0
- package/dist/composables/auth.d.ts +94 -0
- package/dist/composables/auth.mjs +257 -0
- package/dist/composables/background-tasks.d.ts +31 -0
- package/dist/composables/background-tasks.mjs +79 -0
- package/dist/composables/blade-old.d.ts +1 -0
- package/dist/composables/blade.d.ts +91 -0
- package/dist/composables/blade.mjs +156 -0
- package/dist/composables/charts.d.ts +10 -0
- package/dist/composables/colorizer.d.ts +5 -0
- package/dist/composables/colorizer.mjs +27 -0
- package/dist/composables/component-config.d.ts +8 -0
- package/dist/composables/component-config.mjs +11 -0
- package/dist/composables/confirm.d.ts +1 -0
- package/dist/composables/confirm.mjs +11 -0
- package/dist/composables/cosmetics.d.ts +44 -0
- package/dist/composables/cosmetics.mjs +125 -0
- package/dist/composables/cron-adjustments.d.ts +63 -0
- package/dist/composables/cron-adjustments.mjs +106 -0
- package/dist/composables/cron.d.ts +72 -0
- package/dist/composables/cron.mjs +326 -0
- package/dist/composables/csv.d.ts +44 -0
- package/dist/composables/csv.mjs +163 -0
- package/dist/composables/dates.d.ts +22 -0
- package/dist/composables/dates.mjs +61 -0
- package/dist/composables/demo.d.ts +68 -0
- package/dist/composables/demo.mjs +173 -0
- package/dist/composables/dialog-items.d.ts +117 -0
- package/dist/composables/dialog-items.mjs +72 -0
- package/dist/composables/document-meta.d.ts +11 -0
- package/dist/composables/document-meta.mjs +20 -0
- package/dist/composables/draggable.d.ts +56 -0
- package/dist/composables/draggable.mjs +76 -0
- package/dist/composables/feedback.d.ts +24 -0
- package/dist/composables/feedback.mjs +32 -0
- package/dist/composables/filters.d.ts +27 -0
- package/dist/composables/filters.mjs +218 -0
- package/dist/composables/forage.d.ts +89 -0
- package/dist/composables/forage.mjs +37 -0
- package/dist/composables/forms.d.ts +104 -0
- package/dist/composables/forms.mjs +256 -0
- package/dist/composables/geo.d.ts +24 -0
- package/dist/composables/geo.mjs +95 -0
- package/dist/composables/graph-pro.d.ts +98 -0
- package/dist/composables/graph-pro.mjs +205 -0
- package/dist/composables/graphing.d.ts +1 -0
- package/dist/composables/heights.d.ts +24 -0
- package/dist/composables/heights.mjs +41 -0
- package/dist/composables/helpers.d.ts +114 -0
- package/dist/composables/helpers.mjs +512 -0
- package/dist/composables/icons.d.ts +3 -0
- package/dist/composables/icons.mjs +84 -0
- package/dist/composables/id.d.ts +8 -0
- package/dist/composables/id.mjs +32 -0
- package/dist/composables/item.d.ts +132 -0
- package/dist/composables/item.mjs +263 -0
- package/dist/composables/iterating.d.ts +1 -0
- package/dist/composables/list.d.ts +345 -0
- package/dist/composables/list.mjs +460 -0
- package/dist/composables/lists.d.ts +10 -0
- package/dist/composables/lists.mjs +31 -0
- package/dist/composables/menu.d.ts +35 -0
- package/dist/composables/menu.mjs +63 -0
- package/dist/composables/navigation.d.ts +123 -0
- package/dist/composables/navigation.mjs +157 -0
- package/dist/composables/nested.d.ts +3 -0
- package/dist/composables/nested.mjs +20 -0
- package/dist/composables/old-dialogs.d.ts +1 -0
- package/dist/composables/presets.d.ts +8 -0
- package/dist/composables/presets.mjs +16 -0
- package/dist/composables/pwa-old.d.ts +15 -0
- package/dist/composables/pwa.d.ts +26 -0
- package/dist/composables/pwa.mjs +80 -0
- package/dist/composables/resizable.d.ts +34 -0
- package/dist/composables/resizable.mjs +135 -0
- package/dist/composables/routing-old.d.ts +1 -0
- package/dist/composables/routing.d.ts +16 -0
- package/dist/composables/routing.mjs +112 -0
- package/dist/composables/rules.d.ts +13 -0
- package/dist/composables/rules.mjs +22 -0
- package/dist/composables/select.d.ts +78 -0
- package/dist/composables/select.mjs +129 -0
- package/dist/composables/settings.d.ts +6 -0
- package/dist/composables/settings.mjs +21 -0
- package/dist/composables/setup.d.ts +1 -0
- package/dist/composables/steps-old.d.ts +1 -0
- package/dist/composables/steps.d.ts +53 -0
- package/dist/composables/steps.mjs +39 -0
- package/dist/composables/stores.d.ts +258 -0
- package/dist/composables/stores.mjs +1257 -0
- package/dist/composables/sync.d.ts +33 -0
- package/dist/composables/track.d.ts +13 -0
- package/dist/composables/track.mjs +30 -0
- package/dist/composables/urls.d.ts +35 -0
- package/dist/composables/urls.mjs +66 -0
- package/dist/composables/vuetify.d.ts +85 -0
- package/dist/composables.mjs +237 -0
- package/dist/core.d.ts +48 -0
- package/dist/core.mjs +6 -0
- package/dist/core2.mjs +118 -0
- package/dist/index-components.d.ts +19 -0
- package/dist/index-composables.d.ts +75 -0
- package/dist/index-core.d.ts +3 -0
- package/dist/index.d.ts +96 -3036
- package/dist/index.mjs +275 -0
- package/dist/main.d.ts +1 -0
- package/dist/node_modules/bt-core-app/dist/bt-core-app.mjs +30372 -0
- package/dist/style.css +1 -5
- package/dist/types.d.ts +18 -0
- package/dist/types.mjs +7 -0
- package/package.json +4 -1
- package/dist/bt-core-app.js +0 -81355
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
import { getDayOfYear as m } from "../../getDayOfYear.mjs";
|
|
2
|
+
import { getISOWeek as g } from "../../getISOWeek.mjs";
|
|
3
|
+
import { getISOWeekYear as w } from "../../getISOWeekYear.mjs";
|
|
4
|
+
import { getWeek as b } from "../../getWeek.mjs";
|
|
5
|
+
import { getWeekYear as x } from "../../getWeekYear.mjs";
|
|
6
|
+
import { addLeadingZeros as i } from "../addLeadingZeros.mjs";
|
|
7
|
+
import { lightFormatters as u } from "./lightFormatters.mjs";
|
|
8
|
+
const s = {
|
|
9
|
+
am: "am",
|
|
10
|
+
pm: "pm",
|
|
11
|
+
midnight: "midnight",
|
|
12
|
+
noon: "noon",
|
|
13
|
+
morning: "morning",
|
|
14
|
+
afternoon: "afternoon",
|
|
15
|
+
evening: "evening",
|
|
16
|
+
night: "night"
|
|
17
|
+
}, L = {
|
|
18
|
+
// Era
|
|
19
|
+
G: function(n, r, e) {
|
|
20
|
+
const t = n.getFullYear() > 0 ? 1 : 0;
|
|
21
|
+
switch (r) {
|
|
22
|
+
case "G":
|
|
23
|
+
case "GG":
|
|
24
|
+
case "GGG":
|
|
25
|
+
return e.era(t, { width: "abbreviated" });
|
|
26
|
+
case "GGGGG":
|
|
27
|
+
return e.era(t, { width: "narrow" });
|
|
28
|
+
case "GGGG":
|
|
29
|
+
default:
|
|
30
|
+
return e.era(t, { width: "wide" });
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
// Year
|
|
34
|
+
y: function(n, r, e) {
|
|
35
|
+
if (r === "yo") {
|
|
36
|
+
const t = n.getFullYear(), a = t > 0 ? t : 1 - t;
|
|
37
|
+
return e.ordinalNumber(a, { unit: "year" });
|
|
38
|
+
}
|
|
39
|
+
return u.y(n, r);
|
|
40
|
+
},
|
|
41
|
+
// Local week-numbering year
|
|
42
|
+
Y: function(n, r, e, t) {
|
|
43
|
+
const a = x(n, t), o = a > 0 ? a : 1 - a;
|
|
44
|
+
if (r === "YY") {
|
|
45
|
+
const h = o % 100;
|
|
46
|
+
return i(h, 2);
|
|
47
|
+
}
|
|
48
|
+
return r === "Yo" ? e.ordinalNumber(o, { unit: "year" }) : i(o, r.length);
|
|
49
|
+
},
|
|
50
|
+
// ISO week-numbering year
|
|
51
|
+
R: function(n, r) {
|
|
52
|
+
const e = w(n);
|
|
53
|
+
return i(e, r.length);
|
|
54
|
+
},
|
|
55
|
+
// Extended year. This is a single number designating the year of this calendar system.
|
|
56
|
+
// The main difference between `y` and `u` localizers are B.C. years:
|
|
57
|
+
// | Year | `y` | `u` |
|
|
58
|
+
// |------|-----|-----|
|
|
59
|
+
// | AC 1 | 1 | 1 |
|
|
60
|
+
// | BC 1 | 1 | 0 |
|
|
61
|
+
// | BC 2 | 2 | -1 |
|
|
62
|
+
// Also `yy` always returns the last two digits of a year,
|
|
63
|
+
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
64
|
+
u: function(n, r) {
|
|
65
|
+
const e = n.getFullYear();
|
|
66
|
+
return i(e, r.length);
|
|
67
|
+
},
|
|
68
|
+
// Quarter
|
|
69
|
+
Q: function(n, r, e) {
|
|
70
|
+
const t = Math.ceil((n.getMonth() + 1) / 3);
|
|
71
|
+
switch (r) {
|
|
72
|
+
case "Q":
|
|
73
|
+
return String(t);
|
|
74
|
+
case "QQ":
|
|
75
|
+
return i(t, 2);
|
|
76
|
+
case "Qo":
|
|
77
|
+
return e.ordinalNumber(t, { unit: "quarter" });
|
|
78
|
+
case "QQQ":
|
|
79
|
+
return e.quarter(t, {
|
|
80
|
+
width: "abbreviated",
|
|
81
|
+
context: "formatting"
|
|
82
|
+
});
|
|
83
|
+
case "QQQQQ":
|
|
84
|
+
return e.quarter(t, {
|
|
85
|
+
width: "narrow",
|
|
86
|
+
context: "formatting"
|
|
87
|
+
});
|
|
88
|
+
case "QQQQ":
|
|
89
|
+
default:
|
|
90
|
+
return e.quarter(t, {
|
|
91
|
+
width: "wide",
|
|
92
|
+
context: "formatting"
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
// Stand-alone quarter
|
|
97
|
+
q: function(n, r, e) {
|
|
98
|
+
const t = Math.ceil((n.getMonth() + 1) / 3);
|
|
99
|
+
switch (r) {
|
|
100
|
+
case "q":
|
|
101
|
+
return String(t);
|
|
102
|
+
case "qq":
|
|
103
|
+
return i(t, 2);
|
|
104
|
+
case "qo":
|
|
105
|
+
return e.ordinalNumber(t, { unit: "quarter" });
|
|
106
|
+
case "qqq":
|
|
107
|
+
return e.quarter(t, {
|
|
108
|
+
width: "abbreviated",
|
|
109
|
+
context: "standalone"
|
|
110
|
+
});
|
|
111
|
+
case "qqqqq":
|
|
112
|
+
return e.quarter(t, {
|
|
113
|
+
width: "narrow",
|
|
114
|
+
context: "standalone"
|
|
115
|
+
});
|
|
116
|
+
case "qqqq":
|
|
117
|
+
default:
|
|
118
|
+
return e.quarter(t, {
|
|
119
|
+
width: "wide",
|
|
120
|
+
context: "standalone"
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
// Month
|
|
125
|
+
M: function(n, r, e) {
|
|
126
|
+
const t = n.getMonth();
|
|
127
|
+
switch (r) {
|
|
128
|
+
case "M":
|
|
129
|
+
case "MM":
|
|
130
|
+
return u.M(n, r);
|
|
131
|
+
case "Mo":
|
|
132
|
+
return e.ordinalNumber(t + 1, { unit: "month" });
|
|
133
|
+
case "MMM":
|
|
134
|
+
return e.month(t, {
|
|
135
|
+
width: "abbreviated",
|
|
136
|
+
context: "formatting"
|
|
137
|
+
});
|
|
138
|
+
case "MMMMM":
|
|
139
|
+
return e.month(t, {
|
|
140
|
+
width: "narrow",
|
|
141
|
+
context: "formatting"
|
|
142
|
+
});
|
|
143
|
+
case "MMMM":
|
|
144
|
+
default:
|
|
145
|
+
return e.month(t, { width: "wide", context: "formatting" });
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
// Stand-alone month
|
|
149
|
+
L: function(n, r, e) {
|
|
150
|
+
const t = n.getMonth();
|
|
151
|
+
switch (r) {
|
|
152
|
+
case "L":
|
|
153
|
+
return String(t + 1);
|
|
154
|
+
case "LL":
|
|
155
|
+
return i(t + 1, 2);
|
|
156
|
+
case "Lo":
|
|
157
|
+
return e.ordinalNumber(t + 1, { unit: "month" });
|
|
158
|
+
case "LLL":
|
|
159
|
+
return e.month(t, {
|
|
160
|
+
width: "abbreviated",
|
|
161
|
+
context: "standalone"
|
|
162
|
+
});
|
|
163
|
+
case "LLLLL":
|
|
164
|
+
return e.month(t, {
|
|
165
|
+
width: "narrow",
|
|
166
|
+
context: "standalone"
|
|
167
|
+
});
|
|
168
|
+
case "LLLL":
|
|
169
|
+
default:
|
|
170
|
+
return e.month(t, { width: "wide", context: "standalone" });
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
// Local week of year
|
|
174
|
+
w: function(n, r, e, t) {
|
|
175
|
+
const a = b(n, t);
|
|
176
|
+
return r === "wo" ? e.ordinalNumber(a, { unit: "week" }) : i(a, r.length);
|
|
177
|
+
},
|
|
178
|
+
// ISO week of year
|
|
179
|
+
I: function(n, r, e) {
|
|
180
|
+
const t = g(n);
|
|
181
|
+
return r === "Io" ? e.ordinalNumber(t, { unit: "week" }) : i(t, r.length);
|
|
182
|
+
},
|
|
183
|
+
// Day of the month
|
|
184
|
+
d: function(n, r, e) {
|
|
185
|
+
return r === "do" ? e.ordinalNumber(n.getDate(), { unit: "date" }) : u.d(n, r);
|
|
186
|
+
},
|
|
187
|
+
// Day of year
|
|
188
|
+
D: function(n, r, e) {
|
|
189
|
+
const t = m(n);
|
|
190
|
+
return r === "Do" ? e.ordinalNumber(t, { unit: "dayOfYear" }) : i(t, r.length);
|
|
191
|
+
},
|
|
192
|
+
// Day of week
|
|
193
|
+
E: function(n, r, e) {
|
|
194
|
+
const t = n.getDay();
|
|
195
|
+
switch (r) {
|
|
196
|
+
case "E":
|
|
197
|
+
case "EE":
|
|
198
|
+
case "EEE":
|
|
199
|
+
return e.day(t, {
|
|
200
|
+
width: "abbreviated",
|
|
201
|
+
context: "formatting"
|
|
202
|
+
});
|
|
203
|
+
case "EEEEE":
|
|
204
|
+
return e.day(t, {
|
|
205
|
+
width: "narrow",
|
|
206
|
+
context: "formatting"
|
|
207
|
+
});
|
|
208
|
+
case "EEEEEE":
|
|
209
|
+
return e.day(t, {
|
|
210
|
+
width: "short",
|
|
211
|
+
context: "formatting"
|
|
212
|
+
});
|
|
213
|
+
case "EEEE":
|
|
214
|
+
default:
|
|
215
|
+
return e.day(t, {
|
|
216
|
+
width: "wide",
|
|
217
|
+
context: "formatting"
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
// Local day of week
|
|
222
|
+
e: function(n, r, e, t) {
|
|
223
|
+
const a = n.getDay(), o = (a - t.weekStartsOn + 8) % 7 || 7;
|
|
224
|
+
switch (r) {
|
|
225
|
+
case "e":
|
|
226
|
+
return String(o);
|
|
227
|
+
case "ee":
|
|
228
|
+
return i(o, 2);
|
|
229
|
+
case "eo":
|
|
230
|
+
return e.ordinalNumber(o, { unit: "day" });
|
|
231
|
+
case "eee":
|
|
232
|
+
return e.day(a, {
|
|
233
|
+
width: "abbreviated",
|
|
234
|
+
context: "formatting"
|
|
235
|
+
});
|
|
236
|
+
case "eeeee":
|
|
237
|
+
return e.day(a, {
|
|
238
|
+
width: "narrow",
|
|
239
|
+
context: "formatting"
|
|
240
|
+
});
|
|
241
|
+
case "eeeeee":
|
|
242
|
+
return e.day(a, {
|
|
243
|
+
width: "short",
|
|
244
|
+
context: "formatting"
|
|
245
|
+
});
|
|
246
|
+
case "eeee":
|
|
247
|
+
default:
|
|
248
|
+
return e.day(a, {
|
|
249
|
+
width: "wide",
|
|
250
|
+
context: "formatting"
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
// Stand-alone local day of week
|
|
255
|
+
c: function(n, r, e, t) {
|
|
256
|
+
const a = n.getDay(), o = (a - t.weekStartsOn + 8) % 7 || 7;
|
|
257
|
+
switch (r) {
|
|
258
|
+
case "c":
|
|
259
|
+
return String(o);
|
|
260
|
+
case "cc":
|
|
261
|
+
return i(o, r.length);
|
|
262
|
+
case "co":
|
|
263
|
+
return e.ordinalNumber(o, { unit: "day" });
|
|
264
|
+
case "ccc":
|
|
265
|
+
return e.day(a, {
|
|
266
|
+
width: "abbreviated",
|
|
267
|
+
context: "standalone"
|
|
268
|
+
});
|
|
269
|
+
case "ccccc":
|
|
270
|
+
return e.day(a, {
|
|
271
|
+
width: "narrow",
|
|
272
|
+
context: "standalone"
|
|
273
|
+
});
|
|
274
|
+
case "cccccc":
|
|
275
|
+
return e.day(a, {
|
|
276
|
+
width: "short",
|
|
277
|
+
context: "standalone"
|
|
278
|
+
});
|
|
279
|
+
case "cccc":
|
|
280
|
+
default:
|
|
281
|
+
return e.day(a, {
|
|
282
|
+
width: "wide",
|
|
283
|
+
context: "standalone"
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
// ISO day of week
|
|
288
|
+
i: function(n, r, e) {
|
|
289
|
+
const t = n.getDay(), a = t === 0 ? 7 : t;
|
|
290
|
+
switch (r) {
|
|
291
|
+
case "i":
|
|
292
|
+
return String(a);
|
|
293
|
+
case "ii":
|
|
294
|
+
return i(a, r.length);
|
|
295
|
+
case "io":
|
|
296
|
+
return e.ordinalNumber(a, { unit: "day" });
|
|
297
|
+
case "iii":
|
|
298
|
+
return e.day(t, {
|
|
299
|
+
width: "abbreviated",
|
|
300
|
+
context: "formatting"
|
|
301
|
+
});
|
|
302
|
+
case "iiiii":
|
|
303
|
+
return e.day(t, {
|
|
304
|
+
width: "narrow",
|
|
305
|
+
context: "formatting"
|
|
306
|
+
});
|
|
307
|
+
case "iiiiii":
|
|
308
|
+
return e.day(t, {
|
|
309
|
+
width: "short",
|
|
310
|
+
context: "formatting"
|
|
311
|
+
});
|
|
312
|
+
case "iiii":
|
|
313
|
+
default:
|
|
314
|
+
return e.day(t, {
|
|
315
|
+
width: "wide",
|
|
316
|
+
context: "formatting"
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
// AM or PM
|
|
321
|
+
a: function(n, r, e) {
|
|
322
|
+
const a = n.getHours() / 12 >= 1 ? "pm" : "am";
|
|
323
|
+
switch (r) {
|
|
324
|
+
case "a":
|
|
325
|
+
case "aa":
|
|
326
|
+
return e.dayPeriod(a, {
|
|
327
|
+
width: "abbreviated",
|
|
328
|
+
context: "formatting"
|
|
329
|
+
});
|
|
330
|
+
case "aaa":
|
|
331
|
+
return e.dayPeriod(a, {
|
|
332
|
+
width: "abbreviated",
|
|
333
|
+
context: "formatting"
|
|
334
|
+
}).toLowerCase();
|
|
335
|
+
case "aaaaa":
|
|
336
|
+
return e.dayPeriod(a, {
|
|
337
|
+
width: "narrow",
|
|
338
|
+
context: "formatting"
|
|
339
|
+
});
|
|
340
|
+
case "aaaa":
|
|
341
|
+
default:
|
|
342
|
+
return e.dayPeriod(a, {
|
|
343
|
+
width: "wide",
|
|
344
|
+
context: "formatting"
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
// AM, PM, midnight, noon
|
|
349
|
+
b: function(n, r, e) {
|
|
350
|
+
const t = n.getHours();
|
|
351
|
+
let a;
|
|
352
|
+
switch (t === 12 ? a = s.noon : t === 0 ? a = s.midnight : a = t / 12 >= 1 ? "pm" : "am", r) {
|
|
353
|
+
case "b":
|
|
354
|
+
case "bb":
|
|
355
|
+
return e.dayPeriod(a, {
|
|
356
|
+
width: "abbreviated",
|
|
357
|
+
context: "formatting"
|
|
358
|
+
});
|
|
359
|
+
case "bbb":
|
|
360
|
+
return e.dayPeriod(a, {
|
|
361
|
+
width: "abbreviated",
|
|
362
|
+
context: "formatting"
|
|
363
|
+
}).toLowerCase();
|
|
364
|
+
case "bbbbb":
|
|
365
|
+
return e.dayPeriod(a, {
|
|
366
|
+
width: "narrow",
|
|
367
|
+
context: "formatting"
|
|
368
|
+
});
|
|
369
|
+
case "bbbb":
|
|
370
|
+
default:
|
|
371
|
+
return e.dayPeriod(a, {
|
|
372
|
+
width: "wide",
|
|
373
|
+
context: "formatting"
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
// in the morning, in the afternoon, in the evening, at night
|
|
378
|
+
B: function(n, r, e) {
|
|
379
|
+
const t = n.getHours();
|
|
380
|
+
let a;
|
|
381
|
+
switch (t >= 17 ? a = s.evening : t >= 12 ? a = s.afternoon : t >= 4 ? a = s.morning : a = s.night, r) {
|
|
382
|
+
case "B":
|
|
383
|
+
case "BB":
|
|
384
|
+
case "BBB":
|
|
385
|
+
return e.dayPeriod(a, {
|
|
386
|
+
width: "abbreviated",
|
|
387
|
+
context: "formatting"
|
|
388
|
+
});
|
|
389
|
+
case "BBBBB":
|
|
390
|
+
return e.dayPeriod(a, {
|
|
391
|
+
width: "narrow",
|
|
392
|
+
context: "formatting"
|
|
393
|
+
});
|
|
394
|
+
case "BBBB":
|
|
395
|
+
default:
|
|
396
|
+
return e.dayPeriod(a, {
|
|
397
|
+
width: "wide",
|
|
398
|
+
context: "formatting"
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
// Hour [1-12]
|
|
403
|
+
h: function(n, r, e) {
|
|
404
|
+
if (r === "ho") {
|
|
405
|
+
let t = n.getHours() % 12;
|
|
406
|
+
return t === 0 && (t = 12), e.ordinalNumber(t, { unit: "hour" });
|
|
407
|
+
}
|
|
408
|
+
return u.h(n, r);
|
|
409
|
+
},
|
|
410
|
+
// Hour [0-23]
|
|
411
|
+
H: function(n, r, e) {
|
|
412
|
+
return r === "Ho" ? e.ordinalNumber(n.getHours(), { unit: "hour" }) : u.H(n, r);
|
|
413
|
+
},
|
|
414
|
+
// Hour [0-11]
|
|
415
|
+
K: function(n, r, e) {
|
|
416
|
+
const t = n.getHours() % 12;
|
|
417
|
+
return r === "Ko" ? e.ordinalNumber(t, { unit: "hour" }) : i(t, r.length);
|
|
418
|
+
},
|
|
419
|
+
// Hour [1-24]
|
|
420
|
+
k: function(n, r, e) {
|
|
421
|
+
let t = n.getHours();
|
|
422
|
+
return t === 0 && (t = 24), r === "ko" ? e.ordinalNumber(t, { unit: "hour" }) : i(t, r.length);
|
|
423
|
+
},
|
|
424
|
+
// Minute
|
|
425
|
+
m: function(n, r, e) {
|
|
426
|
+
return r === "mo" ? e.ordinalNumber(n.getMinutes(), { unit: "minute" }) : u.m(n, r);
|
|
427
|
+
},
|
|
428
|
+
// Second
|
|
429
|
+
s: function(n, r, e) {
|
|
430
|
+
return r === "so" ? e.ordinalNumber(n.getSeconds(), { unit: "second" }) : u.s(n, r);
|
|
431
|
+
},
|
|
432
|
+
// Fraction of second
|
|
433
|
+
S: function(n, r) {
|
|
434
|
+
return u.S(n, r);
|
|
435
|
+
},
|
|
436
|
+
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
437
|
+
X: function(n, r, e) {
|
|
438
|
+
const t = n.getTimezoneOffset();
|
|
439
|
+
if (t === 0)
|
|
440
|
+
return "Z";
|
|
441
|
+
switch (r) {
|
|
442
|
+
case "X":
|
|
443
|
+
return f(t);
|
|
444
|
+
case "XXXX":
|
|
445
|
+
case "XX":
|
|
446
|
+
return c(t);
|
|
447
|
+
case "XXXXX":
|
|
448
|
+
case "XXX":
|
|
449
|
+
default:
|
|
450
|
+
return c(t, ":");
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
454
|
+
x: function(n, r, e) {
|
|
455
|
+
const t = n.getTimezoneOffset();
|
|
456
|
+
switch (r) {
|
|
457
|
+
case "x":
|
|
458
|
+
return f(t);
|
|
459
|
+
case "xxxx":
|
|
460
|
+
case "xx":
|
|
461
|
+
return c(t);
|
|
462
|
+
case "xxxxx":
|
|
463
|
+
case "xxx":
|
|
464
|
+
default:
|
|
465
|
+
return c(t, ":");
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
// Timezone (GMT)
|
|
469
|
+
O: function(n, r, e) {
|
|
470
|
+
const t = n.getTimezoneOffset();
|
|
471
|
+
switch (r) {
|
|
472
|
+
case "O":
|
|
473
|
+
case "OO":
|
|
474
|
+
case "OOO":
|
|
475
|
+
return "GMT" + d(t, ":");
|
|
476
|
+
case "OOOO":
|
|
477
|
+
default:
|
|
478
|
+
return "GMT" + c(t, ":");
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
// Timezone (specific non-location)
|
|
482
|
+
z: function(n, r, e) {
|
|
483
|
+
const t = n.getTimezoneOffset();
|
|
484
|
+
switch (r) {
|
|
485
|
+
case "z":
|
|
486
|
+
case "zz":
|
|
487
|
+
case "zzz":
|
|
488
|
+
return "GMT" + d(t, ":");
|
|
489
|
+
case "zzzz":
|
|
490
|
+
default:
|
|
491
|
+
return "GMT" + c(t, ":");
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
// Seconds timestamp
|
|
495
|
+
t: function(n, r, e) {
|
|
496
|
+
const t = Math.trunc(+n / 1e3);
|
|
497
|
+
return i(t, r.length);
|
|
498
|
+
},
|
|
499
|
+
// Milliseconds timestamp
|
|
500
|
+
T: function(n, r, e) {
|
|
501
|
+
return i(+n, r.length);
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
function d(n, r = "") {
|
|
505
|
+
const e = n > 0 ? "-" : "+", t = Math.abs(n), a = Math.trunc(t / 60), o = t % 60;
|
|
506
|
+
return o === 0 ? e + String(a) : e + String(a) + r + i(o, 2);
|
|
507
|
+
}
|
|
508
|
+
function f(n, r) {
|
|
509
|
+
return n % 60 === 0 ? (n > 0 ? "-" : "+") + i(Math.abs(n) / 60, 2) : c(n, r);
|
|
510
|
+
}
|
|
511
|
+
function c(n, r = "") {
|
|
512
|
+
const e = n > 0 ? "-" : "+", t = Math.abs(n), a = i(Math.trunc(t / 60), 2), o = i(t % 60, 2);
|
|
513
|
+
return e + a + r + o;
|
|
514
|
+
}
|
|
515
|
+
export {
|
|
516
|
+
L as formatters
|
|
517
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { addLeadingZeros as n } from "../addLeadingZeros.mjs";
|
|
2
|
+
const g = {
|
|
3
|
+
// Year
|
|
4
|
+
y(e, t) {
|
|
5
|
+
const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
|
|
6
|
+
return n(t === "yy" ? a % 100 : a, t.length);
|
|
7
|
+
},
|
|
8
|
+
// Month
|
|
9
|
+
M(e, t) {
|
|
10
|
+
const r = e.getMonth();
|
|
11
|
+
return t === "M" ? String(r + 1) : n(r + 1, 2);
|
|
12
|
+
},
|
|
13
|
+
// Day of the month
|
|
14
|
+
d(e, t) {
|
|
15
|
+
return n(e.getDate(), t.length);
|
|
16
|
+
},
|
|
17
|
+
// AM or PM
|
|
18
|
+
a(e, t) {
|
|
19
|
+
const r = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
20
|
+
switch (t) {
|
|
21
|
+
case "a":
|
|
22
|
+
case "aa":
|
|
23
|
+
return r.toUpperCase();
|
|
24
|
+
case "aaa":
|
|
25
|
+
return r;
|
|
26
|
+
case "aaaaa":
|
|
27
|
+
return r[0];
|
|
28
|
+
case "aaaa":
|
|
29
|
+
default:
|
|
30
|
+
return r === "am" ? "a.m." : "p.m.";
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
// Hour [1-12]
|
|
34
|
+
h(e, t) {
|
|
35
|
+
return n(e.getHours() % 12 || 12, t.length);
|
|
36
|
+
},
|
|
37
|
+
// Hour [0-23]
|
|
38
|
+
H(e, t) {
|
|
39
|
+
return n(e.getHours(), t.length);
|
|
40
|
+
},
|
|
41
|
+
// Minute
|
|
42
|
+
m(e, t) {
|
|
43
|
+
return n(e.getMinutes(), t.length);
|
|
44
|
+
},
|
|
45
|
+
// Second
|
|
46
|
+
s(e, t) {
|
|
47
|
+
return n(e.getSeconds(), t.length);
|
|
48
|
+
},
|
|
49
|
+
// Fraction of second
|
|
50
|
+
S(e, t) {
|
|
51
|
+
const r = t.length, a = e.getMilliseconds(), s = Math.trunc(
|
|
52
|
+
a * Math.pow(10, r - 3)
|
|
53
|
+
);
|
|
54
|
+
return n(s, t.length);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
g as lightFormatters
|
|
59
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const s = (t, e) => {
|
|
2
|
+
switch (t) {
|
|
3
|
+
case "P":
|
|
4
|
+
return e.date({ width: "short" });
|
|
5
|
+
case "PP":
|
|
6
|
+
return e.date({ width: "medium" });
|
|
7
|
+
case "PPP":
|
|
8
|
+
return e.date({ width: "long" });
|
|
9
|
+
case "PPPP":
|
|
10
|
+
default:
|
|
11
|
+
return e.date({ width: "full" });
|
|
12
|
+
}
|
|
13
|
+
}, c = (t, e) => {
|
|
14
|
+
switch (t) {
|
|
15
|
+
case "p":
|
|
16
|
+
return e.time({ width: "short" });
|
|
17
|
+
case "pp":
|
|
18
|
+
return e.time({ width: "medium" });
|
|
19
|
+
case "ppp":
|
|
20
|
+
return e.time({ width: "long" });
|
|
21
|
+
case "pppp":
|
|
22
|
+
default:
|
|
23
|
+
return e.time({ width: "full" });
|
|
24
|
+
}
|
|
25
|
+
}, P = (t, e) => {
|
|
26
|
+
const d = t.match(/(P+)(p+)?/) || [], a = d[1], r = d[2];
|
|
27
|
+
if (!r)
|
|
28
|
+
return s(t, e);
|
|
29
|
+
let i;
|
|
30
|
+
switch (a) {
|
|
31
|
+
case "P":
|
|
32
|
+
i = e.dateTime({ width: "short" });
|
|
33
|
+
break;
|
|
34
|
+
case "PP":
|
|
35
|
+
i = e.dateTime({ width: "medium" });
|
|
36
|
+
break;
|
|
37
|
+
case "PPP":
|
|
38
|
+
i = e.dateTime({ width: "long" });
|
|
39
|
+
break;
|
|
40
|
+
case "PPPP":
|
|
41
|
+
default:
|
|
42
|
+
i = e.dateTime({ width: "full" });
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
return i.replace("{{date}}", s(a, e)).replace("{{time}}", c(r, e));
|
|
46
|
+
}, h = {
|
|
47
|
+
p: c,
|
|
48
|
+
P
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
h as longFormatters
|
|
52
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { toDate as o } from "../toDate.mjs";
|
|
2
|
+
function l(t) {
|
|
3
|
+
const e = o(t), n = new Date(
|
|
4
|
+
Date.UTC(
|
|
5
|
+
e.getFullYear(),
|
|
6
|
+
e.getMonth(),
|
|
7
|
+
e.getDate(),
|
|
8
|
+
e.getHours(),
|
|
9
|
+
e.getMinutes(),
|
|
10
|
+
e.getSeconds(),
|
|
11
|
+
e.getMilliseconds()
|
|
12
|
+
)
|
|
13
|
+
);
|
|
14
|
+
return n.setUTCFullYear(e.getFullYear()), +t - +n;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
l as getTimezoneOffsetInMilliseconds
|
|
18
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const r = /^D+$/, s = /^Y+$/, a = ["D", "DD", "YY", "YYYY"];
|
|
2
|
+
function i(e) {
|
|
3
|
+
return r.test(e);
|
|
4
|
+
}
|
|
5
|
+
function f(e) {
|
|
6
|
+
return s.test(e);
|
|
7
|
+
}
|
|
8
|
+
function d(e, o, n) {
|
|
9
|
+
const t = c(e, o, n);
|
|
10
|
+
if (console.warn(t), a.includes(e))
|
|
11
|
+
throw new RangeError(t);
|
|
12
|
+
}
|
|
13
|
+
function c(e, o, n) {
|
|
14
|
+
const t = e[0] === "Y" ? "years" : "days of the month";
|
|
15
|
+
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
i as isProtectedDayOfYearToken,
|
|
19
|
+
f as isProtectedWeekYearToken,
|
|
20
|
+
d as warnOrThrowProtectedError
|
|
21
|
+
};
|