bt-core-app 2.1.37 → 2.2.1
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 +13 -1
- package/dist/bt-core-app.js +0 -81355
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { parseFloating as l, parseMillis as E, untruncateYear as w, parseInteger as f, signedOffset as F, isUndefined as Y } from "./util.mjs";
|
|
2
|
+
import { monthsShort as z, weekdaysLong as v, weekdaysShort as P } from "./english.mjs";
|
|
3
|
+
import y from "../zones/fixedOffsetZone.mjs";
|
|
4
|
+
import q from "../zones/IANAZone.mjs";
|
|
5
|
+
const W = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
6
|
+
function x(...e) {
|
|
7
|
+
const t = e.reduce((n, r) => n + r.source, "");
|
|
8
|
+
return RegExp(`^${t}$`);
|
|
9
|
+
}
|
|
10
|
+
function m(...e) {
|
|
11
|
+
return (t) => e.reduce(
|
|
12
|
+
([n, r, o], i) => {
|
|
13
|
+
const [d, s, c] = i(t, o);
|
|
14
|
+
return [{ ...n, ...d }, s || r, c];
|
|
15
|
+
},
|
|
16
|
+
[{}, null, 1]
|
|
17
|
+
).slice(0, 2);
|
|
18
|
+
}
|
|
19
|
+
function T(e, ...t) {
|
|
20
|
+
if (e == null)
|
|
21
|
+
return [null, null];
|
|
22
|
+
for (const [n, r] of t) {
|
|
23
|
+
const o = n.exec(e);
|
|
24
|
+
if (o)
|
|
25
|
+
return r(o);
|
|
26
|
+
}
|
|
27
|
+
return [null, null];
|
|
28
|
+
}
|
|
29
|
+
function b(...e) {
|
|
30
|
+
return (t, n) => {
|
|
31
|
+
const r = {};
|
|
32
|
+
let o;
|
|
33
|
+
for (o = 0; o < e.length; o++)
|
|
34
|
+
r[e[o]] = f(t[n + o]);
|
|
35
|
+
return [r, null, n + o];
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
const J = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, G = `(?:${J.source}?(?:\\[(${W.source})\\])?)?`, M = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, k = RegExp(`${M.source}${G}`), h = RegExp(`(?:[Tt]${k.source})?`), H = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, _ = /(\d{4})-?W(\d\d)(?:-?(\d))?/, L = /(\d{4})-?(\d{3})/, U = b("weekYear", "weekNumber", "weekDay"), B = b("year", "ordinal"), Q = /(\d{4})-(\d\d)-(\d\d)/, C = RegExp(
|
|
39
|
+
`${M.source} ?(?:${J.source}|(${W.source}))?`
|
|
40
|
+
), j = RegExp(`(?: ${C.source})?`);
|
|
41
|
+
function S(e, t, n) {
|
|
42
|
+
const r = e[t];
|
|
43
|
+
return Y(r) ? n : f(r);
|
|
44
|
+
}
|
|
45
|
+
function K(e, t) {
|
|
46
|
+
return [{
|
|
47
|
+
year: S(e, t),
|
|
48
|
+
month: S(e, t + 1, 1),
|
|
49
|
+
day: S(e, t + 2, 1)
|
|
50
|
+
}, null, t + 3];
|
|
51
|
+
}
|
|
52
|
+
function g(e, t) {
|
|
53
|
+
return [{
|
|
54
|
+
hours: S(e, t, 0),
|
|
55
|
+
minutes: S(e, t + 1, 0),
|
|
56
|
+
seconds: S(e, t + 2, 0),
|
|
57
|
+
milliseconds: E(e[t + 3])
|
|
58
|
+
}, null, t + 4];
|
|
59
|
+
}
|
|
60
|
+
function O(e, t) {
|
|
61
|
+
const n = !e[t] && !e[t + 1], r = F(e[t + 1], e[t + 2]), o = n ? null : y.instance(r);
|
|
62
|
+
return [{}, o, t + 3];
|
|
63
|
+
}
|
|
64
|
+
function p(e, t) {
|
|
65
|
+
const n = e[t] ? q.create(e[t]) : null;
|
|
66
|
+
return [{}, n, t + 1];
|
|
67
|
+
}
|
|
68
|
+
const V = RegExp(`^T?${M.source}$`), X = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
|
69
|
+
function ee(e) {
|
|
70
|
+
const [t, n, r, o, i, d, s, c, R] = e, A = t[0] === "-", I = c && c[0] === "-", u = (a, Z = !1) => a !== void 0 && (Z || a && A) ? -a : a;
|
|
71
|
+
return [
|
|
72
|
+
{
|
|
73
|
+
years: u(l(n)),
|
|
74
|
+
months: u(l(r)),
|
|
75
|
+
weeks: u(l(o)),
|
|
76
|
+
days: u(l(i)),
|
|
77
|
+
hours: u(l(d)),
|
|
78
|
+
minutes: u(l(s)),
|
|
79
|
+
seconds: u(l(c), c === "-0"),
|
|
80
|
+
milliseconds: u(E(R), I)
|
|
81
|
+
}
|
|
82
|
+
];
|
|
83
|
+
}
|
|
84
|
+
const te = {
|
|
85
|
+
GMT: 0,
|
|
86
|
+
EDT: -4 * 60,
|
|
87
|
+
EST: -5 * 60,
|
|
88
|
+
CDT: -5 * 60,
|
|
89
|
+
CST: -6 * 60,
|
|
90
|
+
MDT: -6 * 60,
|
|
91
|
+
MST: -7 * 60,
|
|
92
|
+
PDT: -7 * 60,
|
|
93
|
+
PST: -8 * 60
|
|
94
|
+
};
|
|
95
|
+
function D(e, t, n, r, o, i, d) {
|
|
96
|
+
const s = {
|
|
97
|
+
year: t.length === 2 ? w(f(t)) : f(t),
|
|
98
|
+
month: z.indexOf(n) + 1,
|
|
99
|
+
day: f(r),
|
|
100
|
+
hour: f(o),
|
|
101
|
+
minute: f(i)
|
|
102
|
+
};
|
|
103
|
+
return d && (s.second = f(d)), e && (s.weekday = e.length > 3 ? v.indexOf(e) + 1 : P.indexOf(e) + 1), s;
|
|
104
|
+
}
|
|
105
|
+
const ne = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
|
|
106
|
+
function re(e) {
|
|
107
|
+
const [
|
|
108
|
+
,
|
|
109
|
+
t,
|
|
110
|
+
n,
|
|
111
|
+
r,
|
|
112
|
+
o,
|
|
113
|
+
i,
|
|
114
|
+
d,
|
|
115
|
+
s,
|
|
116
|
+
c,
|
|
117
|
+
R,
|
|
118
|
+
A,
|
|
119
|
+
I
|
|
120
|
+
] = e, u = D(t, o, r, n, i, d, s);
|
|
121
|
+
let a;
|
|
122
|
+
return c ? a = te[c] : R ? a = 0 : a = F(A, I), [u, new y(a)];
|
|
123
|
+
}
|
|
124
|
+
function oe(e) {
|
|
125
|
+
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
|
|
126
|
+
}
|
|
127
|
+
const se = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, de = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, ie = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
|
|
128
|
+
function $(e) {
|
|
129
|
+
const [, t, n, r, o, i, d, s] = e;
|
|
130
|
+
return [D(t, o, r, n, i, d, s), y.utcInstance];
|
|
131
|
+
}
|
|
132
|
+
function ce(e) {
|
|
133
|
+
const [, t, n, r, o, i, d, s] = e;
|
|
134
|
+
return [D(t, s, n, r, o, i, d), y.utcInstance];
|
|
135
|
+
}
|
|
136
|
+
const ue = x(H, h), ae = x(_, h), fe = x(L, h), le = x(k), N = m(
|
|
137
|
+
K,
|
|
138
|
+
g,
|
|
139
|
+
O,
|
|
140
|
+
p
|
|
141
|
+
), Se = m(
|
|
142
|
+
U,
|
|
143
|
+
g,
|
|
144
|
+
O,
|
|
145
|
+
p
|
|
146
|
+
), xe = m(
|
|
147
|
+
B,
|
|
148
|
+
g,
|
|
149
|
+
O,
|
|
150
|
+
p
|
|
151
|
+
), me = m(
|
|
152
|
+
g,
|
|
153
|
+
O,
|
|
154
|
+
p
|
|
155
|
+
);
|
|
156
|
+
function Me(e) {
|
|
157
|
+
return T(
|
|
158
|
+
e,
|
|
159
|
+
[ue, N],
|
|
160
|
+
[ae, Se],
|
|
161
|
+
[fe, xe],
|
|
162
|
+
[le, me]
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
function he(e) {
|
|
166
|
+
return T(oe(e), [ne, re]);
|
|
167
|
+
}
|
|
168
|
+
function De(e) {
|
|
169
|
+
return T(
|
|
170
|
+
e,
|
|
171
|
+
[se, $],
|
|
172
|
+
[de, $],
|
|
173
|
+
[ie, ce]
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
function $e(e) {
|
|
177
|
+
return T(e, [X, ee]);
|
|
178
|
+
}
|
|
179
|
+
const Te = m(g);
|
|
180
|
+
function Ee(e) {
|
|
181
|
+
return T(e, [V, Te]);
|
|
182
|
+
}
|
|
183
|
+
const ge = x(Q, j), Oe = x(C), pe = m(
|
|
184
|
+
g,
|
|
185
|
+
O,
|
|
186
|
+
p
|
|
187
|
+
);
|
|
188
|
+
function Fe(e) {
|
|
189
|
+
return T(
|
|
190
|
+
e,
|
|
191
|
+
[ge, N],
|
|
192
|
+
[Oe, pe]
|
|
193
|
+
);
|
|
194
|
+
}
|
|
195
|
+
export {
|
|
196
|
+
De as parseHTTPDate,
|
|
197
|
+
Me as parseISODate,
|
|
198
|
+
$e as parseISODuration,
|
|
199
|
+
Ee as parseISOTimeOnly,
|
|
200
|
+
he as parseRFC2822Date,
|
|
201
|
+
Fe as parseSQL
|
|
202
|
+
};
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { hasOwnProperty as m, isUndefined as y, parseMillis as q, signedOffset as $, untruncateYear as M } from "./util.mjs";
|
|
2
|
+
import g from "./formatter.mjs";
|
|
3
|
+
import P from "../zones/fixedOffsetZone.mjs";
|
|
4
|
+
import C from "../zones/IANAZone.mjs";
|
|
5
|
+
import O from "../datetime.mjs";
|
|
6
|
+
import { digitRegex as c, parseDigits as H } from "./digits.mjs";
|
|
7
|
+
import { ConflictingSpecificationError as N } from "../errors.mjs";
|
|
8
|
+
const z = "missing Intl.DateTimeFormat.formatToParts support";
|
|
9
|
+
function s(e, r = (t) => t) {
|
|
10
|
+
return { regex: e, deser: ([t]) => r(H(t)) };
|
|
11
|
+
}
|
|
12
|
+
const I = " ", Z = `[ ${I}]`, v = new RegExp(Z, "g");
|
|
13
|
+
function U(e) {
|
|
14
|
+
return e.replace(/\./g, "\\.?").replace(v, Z);
|
|
15
|
+
}
|
|
16
|
+
function E(e) {
|
|
17
|
+
return e.replace(/\./g, "").replace(v, " ").toLowerCase();
|
|
18
|
+
}
|
|
19
|
+
function l(e, r) {
|
|
20
|
+
return e === null ? null : {
|
|
21
|
+
regex: RegExp(e.map(U).join("|")),
|
|
22
|
+
deser: ([t]) => e.findIndex((n) => E(t) === E(n)) + r
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function w(e, r) {
|
|
26
|
+
return { regex: e, deser: ([, t, n]) => $(t, n), groups: r };
|
|
27
|
+
}
|
|
28
|
+
function h(e) {
|
|
29
|
+
return { regex: e, deser: ([r]) => r };
|
|
30
|
+
}
|
|
31
|
+
function D(e) {
|
|
32
|
+
return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
33
|
+
}
|
|
34
|
+
function b(e, r) {
|
|
35
|
+
const t = c(r), n = c(r, "{2}"), a = c(r, "{3}"), u = c(r, "{4}"), o = c(r, "{6}"), i = c(r, "{1,2}"), f = c(r, "{1,3}"), S = c(r, "{1,6}"), R = c(r, "{1,9}"), k = c(r, "{2,4}"), F = c(r, "{4,6}"), T = (d) => ({ regex: RegExp(D(d.val)), deser: ([L]) => L, literal: !0 }), x = ((d) => {
|
|
36
|
+
if (e.literal)
|
|
37
|
+
return T(d);
|
|
38
|
+
switch (d.val) {
|
|
39
|
+
case "G":
|
|
40
|
+
return l(r.eras("short"), 0);
|
|
41
|
+
case "GG":
|
|
42
|
+
return l(r.eras("long"), 0);
|
|
43
|
+
case "y":
|
|
44
|
+
return s(S);
|
|
45
|
+
case "yy":
|
|
46
|
+
return s(k, M);
|
|
47
|
+
case "yyyy":
|
|
48
|
+
return s(u);
|
|
49
|
+
case "yyyyy":
|
|
50
|
+
return s(F);
|
|
51
|
+
case "yyyyyy":
|
|
52
|
+
return s(o);
|
|
53
|
+
case "M":
|
|
54
|
+
return s(i);
|
|
55
|
+
case "MM":
|
|
56
|
+
return s(n);
|
|
57
|
+
case "MMM":
|
|
58
|
+
return l(r.months("short", !0), 1);
|
|
59
|
+
case "MMMM":
|
|
60
|
+
return l(r.months("long", !0), 1);
|
|
61
|
+
case "L":
|
|
62
|
+
return s(i);
|
|
63
|
+
case "LL":
|
|
64
|
+
return s(n);
|
|
65
|
+
case "LLL":
|
|
66
|
+
return l(r.months("short", !1), 1);
|
|
67
|
+
case "LLLL":
|
|
68
|
+
return l(r.months("long", !1), 1);
|
|
69
|
+
case "d":
|
|
70
|
+
return s(i);
|
|
71
|
+
case "dd":
|
|
72
|
+
return s(n);
|
|
73
|
+
case "o":
|
|
74
|
+
return s(f);
|
|
75
|
+
case "ooo":
|
|
76
|
+
return s(a);
|
|
77
|
+
case "HH":
|
|
78
|
+
return s(n);
|
|
79
|
+
case "H":
|
|
80
|
+
return s(i);
|
|
81
|
+
case "hh":
|
|
82
|
+
return s(n);
|
|
83
|
+
case "h":
|
|
84
|
+
return s(i);
|
|
85
|
+
case "mm":
|
|
86
|
+
return s(n);
|
|
87
|
+
case "m":
|
|
88
|
+
return s(i);
|
|
89
|
+
case "q":
|
|
90
|
+
return s(i);
|
|
91
|
+
case "qq":
|
|
92
|
+
return s(n);
|
|
93
|
+
case "s":
|
|
94
|
+
return s(i);
|
|
95
|
+
case "ss":
|
|
96
|
+
return s(n);
|
|
97
|
+
case "S":
|
|
98
|
+
return s(f);
|
|
99
|
+
case "SSS":
|
|
100
|
+
return s(a);
|
|
101
|
+
case "u":
|
|
102
|
+
return h(R);
|
|
103
|
+
case "uu":
|
|
104
|
+
return h(i);
|
|
105
|
+
case "uuu":
|
|
106
|
+
return s(t);
|
|
107
|
+
case "a":
|
|
108
|
+
return l(r.meridiems(), 0);
|
|
109
|
+
case "kkkk":
|
|
110
|
+
return s(u);
|
|
111
|
+
case "kk":
|
|
112
|
+
return s(k, M);
|
|
113
|
+
case "W":
|
|
114
|
+
return s(i);
|
|
115
|
+
case "WW":
|
|
116
|
+
return s(n);
|
|
117
|
+
case "E":
|
|
118
|
+
case "c":
|
|
119
|
+
return s(t);
|
|
120
|
+
case "EEE":
|
|
121
|
+
return l(r.weekdays("short", !1), 1);
|
|
122
|
+
case "EEEE":
|
|
123
|
+
return l(r.weekdays("long", !1), 1);
|
|
124
|
+
case "ccc":
|
|
125
|
+
return l(r.weekdays("short", !0), 1);
|
|
126
|
+
case "cccc":
|
|
127
|
+
return l(r.weekdays("long", !0), 1);
|
|
128
|
+
case "Z":
|
|
129
|
+
case "ZZ":
|
|
130
|
+
return w(new RegExp(`([+-]${i.source})(?::(${n.source}))?`), 2);
|
|
131
|
+
case "ZZZ":
|
|
132
|
+
return w(new RegExp(`([+-]${i.source})(${n.source})?`), 2);
|
|
133
|
+
case "z":
|
|
134
|
+
return h(/[a-z_+-/]{1,256}?/i);
|
|
135
|
+
case " ":
|
|
136
|
+
return h(/[^\S\n\r]/);
|
|
137
|
+
default:
|
|
138
|
+
return T(d);
|
|
139
|
+
}
|
|
140
|
+
})(e) || {
|
|
141
|
+
invalidReason: z
|
|
142
|
+
};
|
|
143
|
+
return x.token = e, x;
|
|
144
|
+
}
|
|
145
|
+
const G = {
|
|
146
|
+
year: {
|
|
147
|
+
"2-digit": "yy",
|
|
148
|
+
numeric: "yyyyy"
|
|
149
|
+
},
|
|
150
|
+
month: {
|
|
151
|
+
numeric: "M",
|
|
152
|
+
"2-digit": "MM",
|
|
153
|
+
short: "MMM",
|
|
154
|
+
long: "MMMM"
|
|
155
|
+
},
|
|
156
|
+
day: {
|
|
157
|
+
numeric: "d",
|
|
158
|
+
"2-digit": "dd"
|
|
159
|
+
},
|
|
160
|
+
weekday: {
|
|
161
|
+
short: "EEE",
|
|
162
|
+
long: "EEEE"
|
|
163
|
+
},
|
|
164
|
+
dayperiod: "a",
|
|
165
|
+
dayPeriod: "a",
|
|
166
|
+
hour12: {
|
|
167
|
+
numeric: "h",
|
|
168
|
+
"2-digit": "hh"
|
|
169
|
+
},
|
|
170
|
+
hour24: {
|
|
171
|
+
numeric: "H",
|
|
172
|
+
"2-digit": "HH"
|
|
173
|
+
},
|
|
174
|
+
minute: {
|
|
175
|
+
numeric: "m",
|
|
176
|
+
"2-digit": "mm"
|
|
177
|
+
},
|
|
178
|
+
second: {
|
|
179
|
+
numeric: "s",
|
|
180
|
+
"2-digit": "ss"
|
|
181
|
+
},
|
|
182
|
+
timeZoneName: {
|
|
183
|
+
long: "ZZZZZ",
|
|
184
|
+
short: "ZZZ"
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
function W(e, r, t) {
|
|
188
|
+
const { type: n, value: a } = e;
|
|
189
|
+
if (n === "literal") {
|
|
190
|
+
const f = /^\s+$/.test(a);
|
|
191
|
+
return {
|
|
192
|
+
literal: !f,
|
|
193
|
+
val: f ? " " : a
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
const u = r[n];
|
|
197
|
+
let o = n;
|
|
198
|
+
n === "hour" && (r.hour12 != null ? o = r.hour12 ? "hour12" : "hour24" : r.hourCycle != null ? r.hourCycle === "h11" || r.hourCycle === "h12" ? o = "hour12" : o = "hour24" : o = t.hour12 ? "hour12" : "hour24");
|
|
199
|
+
let i = G[o];
|
|
200
|
+
if (typeof i == "object" && (i = i[u]), i)
|
|
201
|
+
return {
|
|
202
|
+
literal: !1,
|
|
203
|
+
val: i
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
function j(e) {
|
|
207
|
+
return [`^${e.map((t) => t.regex).reduce((t, n) => `${t}(${n.source})`, "")}$`, e];
|
|
208
|
+
}
|
|
209
|
+
function A(e, r, t) {
|
|
210
|
+
const n = e.match(r);
|
|
211
|
+
if (n) {
|
|
212
|
+
const a = {};
|
|
213
|
+
let u = 1;
|
|
214
|
+
for (const o in t)
|
|
215
|
+
if (m(t, o)) {
|
|
216
|
+
const i = t[o], f = i.groups ? i.groups + 1 : 1;
|
|
217
|
+
!i.literal && i.token && (a[i.token.val[0]] = i.deser(n.slice(u, u + f))), u += f;
|
|
218
|
+
}
|
|
219
|
+
return [n, a];
|
|
220
|
+
} else
|
|
221
|
+
return [n, {}];
|
|
222
|
+
}
|
|
223
|
+
function B(e) {
|
|
224
|
+
const r = (u) => {
|
|
225
|
+
switch (u) {
|
|
226
|
+
case "S":
|
|
227
|
+
return "millisecond";
|
|
228
|
+
case "s":
|
|
229
|
+
return "second";
|
|
230
|
+
case "m":
|
|
231
|
+
return "minute";
|
|
232
|
+
case "h":
|
|
233
|
+
case "H":
|
|
234
|
+
return "hour";
|
|
235
|
+
case "d":
|
|
236
|
+
return "day";
|
|
237
|
+
case "o":
|
|
238
|
+
return "ordinal";
|
|
239
|
+
case "L":
|
|
240
|
+
case "M":
|
|
241
|
+
return "month";
|
|
242
|
+
case "y":
|
|
243
|
+
return "year";
|
|
244
|
+
case "E":
|
|
245
|
+
case "c":
|
|
246
|
+
return "weekday";
|
|
247
|
+
case "W":
|
|
248
|
+
return "weekNumber";
|
|
249
|
+
case "k":
|
|
250
|
+
return "weekYear";
|
|
251
|
+
case "q":
|
|
252
|
+
return "quarter";
|
|
253
|
+
default:
|
|
254
|
+
return null;
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
let t = null, n;
|
|
258
|
+
return y(e.z) || (t = C.create(e.z)), y(e.Z) || (t || (t = new P(e.Z)), n = e.Z), y(e.q) || (e.M = (e.q - 1) * 3 + 1), y(e.h) || (e.h < 12 && e.a === 1 ? e.h += 12 : e.h === 12 && e.a === 0 && (e.h = 0)), e.G === 0 && e.y && (e.y = -e.y), y(e.u) || (e.S = q(e.u)), [Object.keys(e).reduce((u, o) => {
|
|
259
|
+
const i = r(o);
|
|
260
|
+
return i && (u[i] = e[o]), u;
|
|
261
|
+
}, {}), t, n];
|
|
262
|
+
}
|
|
263
|
+
let p = null;
|
|
264
|
+
function V() {
|
|
265
|
+
return p || (p = O.fromMillis(1555555555555)), p;
|
|
266
|
+
}
|
|
267
|
+
function Y(e, r) {
|
|
268
|
+
if (e.literal)
|
|
269
|
+
return e;
|
|
270
|
+
const t = g.macroTokenToFormatOpts(e.val), n = Q(t, r);
|
|
271
|
+
return n == null || n.includes(void 0) ? e : n;
|
|
272
|
+
}
|
|
273
|
+
function _(e, r) {
|
|
274
|
+
return Array.prototype.concat(...e.map((t) => Y(t, r)));
|
|
275
|
+
}
|
|
276
|
+
class J {
|
|
277
|
+
constructor(r, t) {
|
|
278
|
+
if (this.locale = r, this.format = t, this.tokens = _(g.parseFormat(t), r), this.units = this.tokens.map((n) => b(n, r)), this.disqualifyingUnit = this.units.find((n) => n.invalidReason), !this.disqualifyingUnit) {
|
|
279
|
+
const [n, a] = j(this.units);
|
|
280
|
+
this.regex = RegExp(n, "i"), this.handlers = a;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
explainFromTokens(r) {
|
|
284
|
+
if (this.isValid) {
|
|
285
|
+
const [t, n] = A(r, this.regex, this.handlers), [a, u, o] = n ? B(n) : [null, null, void 0];
|
|
286
|
+
if (m(n, "a") && m(n, "H"))
|
|
287
|
+
throw new N(
|
|
288
|
+
"Can't include meridiem when specifying 24-hour format"
|
|
289
|
+
);
|
|
290
|
+
return {
|
|
291
|
+
input: r,
|
|
292
|
+
tokens: this.tokens,
|
|
293
|
+
regex: this.regex,
|
|
294
|
+
rawMatches: t,
|
|
295
|
+
matches: n,
|
|
296
|
+
result: a,
|
|
297
|
+
zone: u,
|
|
298
|
+
specificOffset: o
|
|
299
|
+
};
|
|
300
|
+
} else
|
|
301
|
+
return { input: r, tokens: this.tokens, invalidReason: this.invalidReason };
|
|
302
|
+
}
|
|
303
|
+
get isValid() {
|
|
304
|
+
return !this.disqualifyingUnit;
|
|
305
|
+
}
|
|
306
|
+
get invalidReason() {
|
|
307
|
+
return this.disqualifyingUnit ? this.disqualifyingUnit.invalidReason : null;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
function K(e, r, t) {
|
|
311
|
+
return new J(e, t).explainFromTokens(r);
|
|
312
|
+
}
|
|
313
|
+
function oe(e, r, t) {
|
|
314
|
+
const { result: n, zone: a, specificOffset: u, invalidReason: o } = K(e, r, t);
|
|
315
|
+
return [n, a, u, o];
|
|
316
|
+
}
|
|
317
|
+
function Q(e, r) {
|
|
318
|
+
if (!e)
|
|
319
|
+
return null;
|
|
320
|
+
const n = g.create(r, e).dtFormatter(V()), a = n.formatToParts(), u = n.resolvedOptions();
|
|
321
|
+
return a.map((o) => W(o, e, u));
|
|
322
|
+
}
|
|
323
|
+
export {
|
|
324
|
+
J as TokenParser,
|
|
325
|
+
_ as expandMacroTokens,
|
|
326
|
+
K as explainFromTokens,
|
|
327
|
+
Q as formatOptsToTokens,
|
|
328
|
+
oe as parseFromTokens
|
|
329
|
+
};
|