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,88 @@
|
|
|
1
|
+
import { ZoneIsAbstractError as t } from "./errors.mjs";
|
|
2
|
+
class n {
|
|
3
|
+
/**
|
|
4
|
+
* The type of zone
|
|
5
|
+
* @abstract
|
|
6
|
+
* @type {string}
|
|
7
|
+
*/
|
|
8
|
+
get type() {
|
|
9
|
+
throw new t();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The name of this zone.
|
|
13
|
+
* @abstract
|
|
14
|
+
* @type {string}
|
|
15
|
+
*/
|
|
16
|
+
get name() {
|
|
17
|
+
throw new t();
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The IANA name of this zone.
|
|
21
|
+
* Defaults to `name` if not overwritten by a subclass.
|
|
22
|
+
* @abstract
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
get ianaName() {
|
|
26
|
+
return this.name;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Returns whether the offset is known to be fixed for the whole year.
|
|
30
|
+
* @abstract
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
*/
|
|
33
|
+
get isUniversal() {
|
|
34
|
+
throw new t();
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns the offset's common name (such as EST) at the specified timestamp
|
|
38
|
+
* @abstract
|
|
39
|
+
* @param {number} ts - Epoch milliseconds for which to get the name
|
|
40
|
+
* @param {Object} opts - Options to affect the format
|
|
41
|
+
* @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
|
|
42
|
+
* @param {string} opts.locale - What locale to return the offset name in.
|
|
43
|
+
* @return {string}
|
|
44
|
+
*/
|
|
45
|
+
offsetName(e, o) {
|
|
46
|
+
throw new t();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns the offset's value as a string
|
|
50
|
+
* @abstract
|
|
51
|
+
* @param {number} ts - Epoch milliseconds for which to get the offset
|
|
52
|
+
* @param {string} format - What style of offset to return.
|
|
53
|
+
* Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
|
|
54
|
+
* @return {string}
|
|
55
|
+
*/
|
|
56
|
+
formatOffset(e, o) {
|
|
57
|
+
throw new t();
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Return the offset in minutes for this zone at the specified timestamp.
|
|
61
|
+
* @abstract
|
|
62
|
+
* @param {number} ts - Epoch milliseconds for which to compute the offset
|
|
63
|
+
* @return {number}
|
|
64
|
+
*/
|
|
65
|
+
offset(e) {
|
|
66
|
+
throw new t();
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Return whether this Zone is equal to another zone
|
|
70
|
+
* @abstract
|
|
71
|
+
* @param {Zone} otherZone - the zone to compare
|
|
72
|
+
* @return {boolean}
|
|
73
|
+
*/
|
|
74
|
+
equals(e) {
|
|
75
|
+
throw new t();
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Return whether this Zone is valid.
|
|
79
|
+
* @abstract
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
*/
|
|
82
|
+
get isValid() {
|
|
83
|
+
throw new t();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
n as default
|
|
88
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { parseZoneInfo as y, formatOffset as T, objToLocalTS as v, isUndefined as w } from "../impl/util.mjs";
|
|
2
|
+
import C from "../zone.mjs";
|
|
3
|
+
const h = /* @__PURE__ */ new Map();
|
|
4
|
+
function D(n) {
|
|
5
|
+
let t = h.get(n);
|
|
6
|
+
return t === void 0 && (t = new Intl.DateTimeFormat("en-US", {
|
|
7
|
+
hour12: !1,
|
|
8
|
+
timeZone: n,
|
|
9
|
+
year: "numeric",
|
|
10
|
+
month: "2-digit",
|
|
11
|
+
day: "2-digit",
|
|
12
|
+
hour: "2-digit",
|
|
13
|
+
minute: "2-digit",
|
|
14
|
+
second: "2-digit",
|
|
15
|
+
era: "short"
|
|
16
|
+
}), h.set(n, t)), t;
|
|
17
|
+
}
|
|
18
|
+
const N = {
|
|
19
|
+
year: 0,
|
|
20
|
+
month: 1,
|
|
21
|
+
day: 2,
|
|
22
|
+
era: 3,
|
|
23
|
+
hour: 4,
|
|
24
|
+
minute: 5,
|
|
25
|
+
second: 6
|
|
26
|
+
};
|
|
27
|
+
function O(n, t) {
|
|
28
|
+
const e = n.format(t).replace(/\u200E/g, ""), r = /(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(e), [, a, i, o, s, f, d, u] = r;
|
|
29
|
+
return [o, a, i, s, f, d, u];
|
|
30
|
+
}
|
|
31
|
+
function S(n, t) {
|
|
32
|
+
const e = n.formatToParts(t), r = [];
|
|
33
|
+
for (let a = 0; a < e.length; a++) {
|
|
34
|
+
const { type: i, value: o } = e[a], s = N[i];
|
|
35
|
+
i === "era" ? r[s] = o : w(s) || (r[s] = parseInt(o, 10));
|
|
36
|
+
}
|
|
37
|
+
return r;
|
|
38
|
+
}
|
|
39
|
+
const m = /* @__PURE__ */ new Map();
|
|
40
|
+
class p extends C {
|
|
41
|
+
/**
|
|
42
|
+
* @param {string} name - Zone name
|
|
43
|
+
* @return {IANAZone}
|
|
44
|
+
*/
|
|
45
|
+
static create(t) {
|
|
46
|
+
let e = m.get(t);
|
|
47
|
+
return e === void 0 && m.set(t, e = new p(t)), e;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Reset local caches. Should only be necessary in testing scenarios.
|
|
51
|
+
* @return {void}
|
|
52
|
+
*/
|
|
53
|
+
static resetCache() {
|
|
54
|
+
m.clear(), h.clear();
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
|
|
58
|
+
* @param {string} s - The string to check validity on
|
|
59
|
+
* @example IANAZone.isValidSpecifier("America/New_York") //=> true
|
|
60
|
+
* @example IANAZone.isValidSpecifier("Sport~~blorp") //=> false
|
|
61
|
+
* @deprecated For backward compatibility, this forwards to isValidZone, better use `isValidZone()` directly instead.
|
|
62
|
+
* @return {boolean}
|
|
63
|
+
*/
|
|
64
|
+
static isValidSpecifier(t) {
|
|
65
|
+
return this.isValidZone(t);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns whether the provided string identifies a real zone
|
|
69
|
+
* @param {string} zone - The string to check
|
|
70
|
+
* @example IANAZone.isValidZone("America/New_York") //=> true
|
|
71
|
+
* @example IANAZone.isValidZone("Fantasia/Castle") //=> false
|
|
72
|
+
* @example IANAZone.isValidZone("Sport~~blorp") //=> false
|
|
73
|
+
* @return {boolean}
|
|
74
|
+
*/
|
|
75
|
+
static isValidZone(t) {
|
|
76
|
+
if (!t)
|
|
77
|
+
return !1;
|
|
78
|
+
try {
|
|
79
|
+
return new Intl.DateTimeFormat("en-US", { timeZone: t }).format(), !0;
|
|
80
|
+
} catch {
|
|
81
|
+
return !1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
constructor(t) {
|
|
85
|
+
super(), this.zoneName = t, this.valid = p.isValidZone(t);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The type of zone. `iana` for all instances of `IANAZone`.
|
|
89
|
+
* @override
|
|
90
|
+
* @type {string}
|
|
91
|
+
*/
|
|
92
|
+
get type() {
|
|
93
|
+
return "iana";
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The name of this zone (i.e. the IANA zone name).
|
|
97
|
+
* @override
|
|
98
|
+
* @type {string}
|
|
99
|
+
*/
|
|
100
|
+
get name() {
|
|
101
|
+
return this.zoneName;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns whether the offset is known to be fixed for the whole year:
|
|
105
|
+
* Always returns false for all IANA zones.
|
|
106
|
+
* @override
|
|
107
|
+
* @type {boolean}
|
|
108
|
+
*/
|
|
109
|
+
get isUniversal() {
|
|
110
|
+
return !1;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Returns the offset's common name (such as EST) at the specified timestamp
|
|
114
|
+
* @override
|
|
115
|
+
* @param {number} ts - Epoch milliseconds for which to get the name
|
|
116
|
+
* @param {Object} opts - Options to affect the format
|
|
117
|
+
* @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
|
|
118
|
+
* @param {string} opts.locale - What locale to return the offset name in.
|
|
119
|
+
* @return {string}
|
|
120
|
+
*/
|
|
121
|
+
offsetName(t, { format: e, locale: r }) {
|
|
122
|
+
return y(t, e, r, this.name);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Returns the offset's value as a string
|
|
126
|
+
* @override
|
|
127
|
+
* @param {number} ts - Epoch milliseconds for which to get the offset
|
|
128
|
+
* @param {string} format - What style of offset to return.
|
|
129
|
+
* Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
|
|
130
|
+
* @return {string}
|
|
131
|
+
*/
|
|
132
|
+
formatOffset(t, e) {
|
|
133
|
+
return T(this.offset(t), e);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Return the offset in minutes for this zone at the specified timestamp.
|
|
137
|
+
* @override
|
|
138
|
+
* @param {number} ts - Epoch milliseconds for which to compute the offset
|
|
139
|
+
* @return {number}
|
|
140
|
+
*/
|
|
141
|
+
offset(t) {
|
|
142
|
+
if (!this.valid)
|
|
143
|
+
return NaN;
|
|
144
|
+
const e = new Date(t);
|
|
145
|
+
if (isNaN(e))
|
|
146
|
+
return NaN;
|
|
147
|
+
const r = D(this.name);
|
|
148
|
+
let [a, i, o, s, f, d, u] = r.formatToParts ? S(r, e) : O(r, e);
|
|
149
|
+
s === "BC" && (a = -Math.abs(a) + 1);
|
|
150
|
+
const g = v({
|
|
151
|
+
year: a,
|
|
152
|
+
month: i,
|
|
153
|
+
day: o,
|
|
154
|
+
hour: f === 24 ? 0 : f,
|
|
155
|
+
minute: d,
|
|
156
|
+
second: u,
|
|
157
|
+
millisecond: 0
|
|
158
|
+
});
|
|
159
|
+
let c = +e;
|
|
160
|
+
const l = c % 1e3;
|
|
161
|
+
return c -= l >= 0 ? l : 1e3 + l, (g - c) / (60 * 1e3);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Return whether this Zone is equal to another zone
|
|
165
|
+
* @override
|
|
166
|
+
* @param {Zone} otherZone - the zone to compare
|
|
167
|
+
* @return {boolean}
|
|
168
|
+
*/
|
|
169
|
+
equals(t) {
|
|
170
|
+
return t.type === "iana" && t.name === this.name;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Return whether this Zone is valid.
|
|
174
|
+
* @override
|
|
175
|
+
* @type {boolean}
|
|
176
|
+
*/
|
|
177
|
+
get isValid() {
|
|
178
|
+
return this.valid;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
export {
|
|
182
|
+
p as default
|
|
183
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { signedOffset as s, formatOffset as i } from "../impl/util.mjs";
|
|
2
|
+
import u from "../zone.mjs";
|
|
3
|
+
let n = null;
|
|
4
|
+
class r extends u {
|
|
5
|
+
/**
|
|
6
|
+
* Get a singleton instance of UTC
|
|
7
|
+
* @return {FixedOffsetZone}
|
|
8
|
+
*/
|
|
9
|
+
static get utcInstance() {
|
|
10
|
+
return n === null && (n = new r(0)), n;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Get an instance with a specified offset
|
|
14
|
+
* @param {number} offset - The offset in minutes
|
|
15
|
+
* @return {FixedOffsetZone}
|
|
16
|
+
*/
|
|
17
|
+
static instance(t) {
|
|
18
|
+
return t === 0 ? r.utcInstance : new r(t);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
|
|
22
|
+
* @param {string} s - The offset string to parse
|
|
23
|
+
* @example FixedOffsetZone.parseSpecifier("UTC+6")
|
|
24
|
+
* @example FixedOffsetZone.parseSpecifier("UTC+06")
|
|
25
|
+
* @example FixedOffsetZone.parseSpecifier("UTC-6:00")
|
|
26
|
+
* @return {FixedOffsetZone}
|
|
27
|
+
*/
|
|
28
|
+
static parseSpecifier(t) {
|
|
29
|
+
if (t) {
|
|
30
|
+
const e = t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
|
|
31
|
+
if (e)
|
|
32
|
+
return new r(s(e[1], e[2]));
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
constructor(t) {
|
|
37
|
+
super(), this.fixed = t;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The type of zone. `fixed` for all instances of `FixedOffsetZone`.
|
|
41
|
+
* @override
|
|
42
|
+
* @type {string}
|
|
43
|
+
*/
|
|
44
|
+
get type() {
|
|
45
|
+
return "fixed";
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The name of this zone.
|
|
49
|
+
* All fixed zones' names always start with "UTC" (plus optional offset)
|
|
50
|
+
* @override
|
|
51
|
+
* @type {string}
|
|
52
|
+
*/
|
|
53
|
+
get name() {
|
|
54
|
+
return this.fixed === 0 ? "UTC" : `UTC${i(this.fixed, "narrow")}`;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The IANA name of this zone, i.e. `Etc/UTC` or `Etc/GMT+/-nn`
|
|
58
|
+
*
|
|
59
|
+
* @override
|
|
60
|
+
* @type {string}
|
|
61
|
+
*/
|
|
62
|
+
get ianaName() {
|
|
63
|
+
return this.fixed === 0 ? "Etc/UTC" : `Etc/GMT${i(-this.fixed, "narrow")}`;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns the offset's common name at the specified timestamp.
|
|
67
|
+
*
|
|
68
|
+
* For fixed offset zones this equals to the zone name.
|
|
69
|
+
* @override
|
|
70
|
+
*/
|
|
71
|
+
offsetName() {
|
|
72
|
+
return this.name;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns the offset's value as a string
|
|
76
|
+
* @override
|
|
77
|
+
* @param {number} ts - Epoch milliseconds for which to get the offset
|
|
78
|
+
* @param {string} format - What style of offset to return.
|
|
79
|
+
* Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
|
|
80
|
+
* @return {string}
|
|
81
|
+
*/
|
|
82
|
+
formatOffset(t, e) {
|
|
83
|
+
return i(this.fixed, e);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns whether the offset is known to be fixed for the whole year:
|
|
87
|
+
* Always returns true for all fixed offset zones.
|
|
88
|
+
* @override
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
*/
|
|
91
|
+
get isUniversal() {
|
|
92
|
+
return !0;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Return the offset in minutes for this zone at the specified timestamp.
|
|
96
|
+
*
|
|
97
|
+
* For fixed offset zones, this is constant and does not depend on a timestamp.
|
|
98
|
+
* @override
|
|
99
|
+
* @return {number}
|
|
100
|
+
*/
|
|
101
|
+
offset() {
|
|
102
|
+
return this.fixed;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Return whether this Zone is equal to another zone (i.e. also fixed and same offset)
|
|
106
|
+
* @override
|
|
107
|
+
* @param {Zone} otherZone - the zone to compare
|
|
108
|
+
* @return {boolean}
|
|
109
|
+
*/
|
|
110
|
+
equals(t) {
|
|
111
|
+
return t.type === "fixed" && t.fixed === this.fixed;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Return whether this Zone is valid:
|
|
115
|
+
* All fixed offset zones are valid.
|
|
116
|
+
* @override
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
*/
|
|
119
|
+
get isValid() {
|
|
120
|
+
return !0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
export {
|
|
124
|
+
r as default
|
|
125
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import t from "../zone.mjs";
|
|
2
|
+
class s extends t {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
super(), this.zoneName = e;
|
|
5
|
+
}
|
|
6
|
+
/** @override **/
|
|
7
|
+
get type() {
|
|
8
|
+
return "invalid";
|
|
9
|
+
}
|
|
10
|
+
/** @override **/
|
|
11
|
+
get name() {
|
|
12
|
+
return this.zoneName;
|
|
13
|
+
}
|
|
14
|
+
/** @override **/
|
|
15
|
+
get isUniversal() {
|
|
16
|
+
return !1;
|
|
17
|
+
}
|
|
18
|
+
/** @override **/
|
|
19
|
+
offsetName() {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
/** @override **/
|
|
23
|
+
formatOffset() {
|
|
24
|
+
return "";
|
|
25
|
+
}
|
|
26
|
+
/** @override **/
|
|
27
|
+
offset() {
|
|
28
|
+
return NaN;
|
|
29
|
+
}
|
|
30
|
+
/** @override **/
|
|
31
|
+
equals() {
|
|
32
|
+
return !1;
|
|
33
|
+
}
|
|
34
|
+
/** @override **/
|
|
35
|
+
get isValid() {
|
|
36
|
+
return !1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
s as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { parseZoneInfo as f, formatOffset as o } from "../impl/util.mjs";
|
|
2
|
+
import a from "../zone.mjs";
|
|
3
|
+
let r = null;
|
|
4
|
+
class n extends a {
|
|
5
|
+
/**
|
|
6
|
+
* Get a singleton instance of the local zone
|
|
7
|
+
* @return {SystemZone}
|
|
8
|
+
*/
|
|
9
|
+
static get instance() {
|
|
10
|
+
return r === null && (r = new n()), r;
|
|
11
|
+
}
|
|
12
|
+
/** @override **/
|
|
13
|
+
get type() {
|
|
14
|
+
return "system";
|
|
15
|
+
}
|
|
16
|
+
/** @override **/
|
|
17
|
+
get name() {
|
|
18
|
+
return new Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
19
|
+
}
|
|
20
|
+
/** @override **/
|
|
21
|
+
get isUniversal() {
|
|
22
|
+
return !1;
|
|
23
|
+
}
|
|
24
|
+
/** @override **/
|
|
25
|
+
offsetName(e, { format: t, locale: s }) {
|
|
26
|
+
return f(e, t, s);
|
|
27
|
+
}
|
|
28
|
+
/** @override **/
|
|
29
|
+
formatOffset(e, t) {
|
|
30
|
+
return o(this.offset(e), t);
|
|
31
|
+
}
|
|
32
|
+
/** @override **/
|
|
33
|
+
offset(e) {
|
|
34
|
+
return -new Date(e).getTimezoneOffset();
|
|
35
|
+
}
|
|
36
|
+
/** @override **/
|
|
37
|
+
equals(e) {
|
|
38
|
+
return e.type === "system";
|
|
39
|
+
}
|
|
40
|
+
/** @override **/
|
|
41
|
+
get isValid() {
|
|
42
|
+
return !0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
n as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var v = {
|
|
2
|
+
format: "image/png",
|
|
3
|
+
quality: 0.92,
|
|
4
|
+
width: void 0,
|
|
5
|
+
height: void 0,
|
|
6
|
+
Canvas: void 0,
|
|
7
|
+
crossOrigin: void 0
|
|
8
|
+
}, l = function(f, a) {
|
|
9
|
+
return f === void 0 && (f = []), a === void 0 && (a = {}), new Promise(function(c) {
|
|
10
|
+
a = Object.assign({}, v, a);
|
|
11
|
+
var t = a.Canvas ? new a.Canvas() : window.document.createElement("canvas"), g = a.Canvas ? a.Canvas.Image : window.Image;
|
|
12
|
+
a.Canvas && (a.quality *= 100);
|
|
13
|
+
var d = f.map(function(r) {
|
|
14
|
+
return new Promise(function(i, n) {
|
|
15
|
+
r.constructor.name !== "Object" && (r = { src: r });
|
|
16
|
+
var e = new g();
|
|
17
|
+
e.crossOrigin = a.crossOrigin, e.onerror = function() {
|
|
18
|
+
return n(new Error("Couldn't load image"));
|
|
19
|
+
}, e.onload = function() {
|
|
20
|
+
return i(Object.assign({}, r, { img: e }));
|
|
21
|
+
}, e.src = r.src;
|
|
22
|
+
});
|
|
23
|
+
}), u = t.getContext("2d");
|
|
24
|
+
c(Promise.all(d).then(function(r) {
|
|
25
|
+
var i = function(n) {
|
|
26
|
+
return a[n] || Math.max.apply(Math, r.map(function(e) {
|
|
27
|
+
return e.img[n];
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
return t.width = i("width"), t.height = i("height"), r.forEach(function(n) {
|
|
31
|
+
return u.globalAlpha = n.opacity ? n.opacity : 1, u.drawImage(n.img, n.x || 0, n.y || 0);
|
|
32
|
+
}), a.Canvas && a.format === "image/jpeg" ? new Promise(function(n) {
|
|
33
|
+
t.toDataURL(a.format, {
|
|
34
|
+
quality: a.quality,
|
|
35
|
+
progressive: !1
|
|
36
|
+
}, function(e, m) {
|
|
37
|
+
if (e)
|
|
38
|
+
throw e;
|
|
39
|
+
n(m);
|
|
40
|
+
});
|
|
41
|
+
}) : t.toDataURL(a.format, a.quality);
|
|
42
|
+
}));
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
l as default
|
|
47
|
+
};
|