bt-core-app 2.1.36 → 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,512 @@
|
|
|
1
|
+
import { t as p } from "../bt-core/core/node_modules/thenby/thenBy.module.mjs";
|
|
2
|
+
const b = [
|
|
3
|
+
"use:microsoftexchange",
|
|
4
|
+
"use:slack",
|
|
5
|
+
"use:microsoftteams",
|
|
6
|
+
"use:xero",
|
|
7
|
+
"use:myob",
|
|
8
|
+
"use:smtpserver"
|
|
9
|
+
];
|
|
10
|
+
function v() {
|
|
11
|
+
return [
|
|
12
|
+
"#870000",
|
|
13
|
+
"#874800",
|
|
14
|
+
"#858700",
|
|
15
|
+
"#3d8700",
|
|
16
|
+
"#008734",
|
|
17
|
+
"#006f87",
|
|
18
|
+
"#004587",
|
|
19
|
+
"#000f87",
|
|
20
|
+
"#2c0087",
|
|
21
|
+
"#870071",
|
|
22
|
+
"#a752e2",
|
|
23
|
+
"#e252cb",
|
|
24
|
+
"#e2527f",
|
|
25
|
+
"#e25252",
|
|
26
|
+
"#e25252",
|
|
27
|
+
"#e28b52"
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
function x() {
|
|
31
|
+
return [
|
|
32
|
+
"#134f5c",
|
|
33
|
+
"#351c75",
|
|
34
|
+
"#741b47",
|
|
35
|
+
"#783f04",
|
|
36
|
+
"#0c343d",
|
|
37
|
+
"#c27ba0",
|
|
38
|
+
"#660000",
|
|
39
|
+
"#93c47d",
|
|
40
|
+
"#4c1130",
|
|
41
|
+
"#990000",
|
|
42
|
+
"#b45f06",
|
|
43
|
+
"#38761d",
|
|
44
|
+
"#000000"
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
function I(e, t, n) {
|
|
48
|
+
var r = "";
|
|
49
|
+
return f(e) || (r = e), f(t) || (r = r.length == 0 ? t : `${r} ${t}`), r.length == 0 && !f(n) && (r = n), r.length > 0 ? r : void 0;
|
|
50
|
+
}
|
|
51
|
+
function N(e, t, n, r) {
|
|
52
|
+
let l = n ?? [];
|
|
53
|
+
for (var i in t)
|
|
54
|
+
(r == "all-obj2-props" || e.hasOwnProperty(i)) && !l.some((s) => s == i) && (e[i] = t[i]);
|
|
55
|
+
return e;
|
|
56
|
+
}
|
|
57
|
+
function $(e, t, n) {
|
|
58
|
+
if (c(n)) {
|
|
59
|
+
var r = e[t], l = n.findIndex((i) => i === r);
|
|
60
|
+
l ?? (l = -1), l++, l < n.length ? e[t] = n[l] : e[t] = n[0];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function E(e) {
|
|
64
|
+
console.log(JSON.parse(JSON.stringify(e)));
|
|
65
|
+
}
|
|
66
|
+
function O(e, t, n) {
|
|
67
|
+
if (t >= 0 && t < e.length && n >= 0 && n < e.length) {
|
|
68
|
+
var r = e[t];
|
|
69
|
+
e.splice(t, 1), e.splice(n, 0, r);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function U(e) {
|
|
73
|
+
const n = e.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), r = decodeURIComponent(
|
|
74
|
+
atob(n).split("").map(function(l) {
|
|
75
|
+
return "%" + ("00" + l.charCodeAt(0).toString(16)).slice(-2);
|
|
76
|
+
}).join("")
|
|
77
|
+
);
|
|
78
|
+
return JSON.parse(r);
|
|
79
|
+
}
|
|
80
|
+
function D(e) {
|
|
81
|
+
return e ?? (e = {}), `headers.${btoa(JSON.stringify(e))}.signature`;
|
|
82
|
+
}
|
|
83
|
+
function M(e) {
|
|
84
|
+
if (e != null) {
|
|
85
|
+
if (Array.isArray(e.data))
|
|
86
|
+
throw "Is an array";
|
|
87
|
+
return e;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function W(e) {
|
|
91
|
+
if (e != null) {
|
|
92
|
+
if (!Array.isArray(e.data))
|
|
93
|
+
throw "Not an array";
|
|
94
|
+
return e;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function B(e) {
|
|
98
|
+
if (e != null) {
|
|
99
|
+
if (Array.isArray(e.data))
|
|
100
|
+
throw "Is an array";
|
|
101
|
+
return e.data;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function R(e) {
|
|
105
|
+
if (e != null) {
|
|
106
|
+
if (!Array.isArray(e.data))
|
|
107
|
+
throw "Not an array";
|
|
108
|
+
return e.data;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function Z(e) {
|
|
112
|
+
return e.reduce((t, n) => t += n, 0);
|
|
113
|
+
}
|
|
114
|
+
function T(e, t, n = !0) {
|
|
115
|
+
return e.sort(function(r, l) {
|
|
116
|
+
return t == null ? r > l ? n === !0 ? 1 : -1 : r < l ? n === !0 ? -1 : 1 : 0 : typeof t == "string" ? u(r, t) > u(l, t) ? n === !0 ? 1 : -1 : u(r, t) < u(l, t) ? n === !0 ? -1 : 1 : 0 : typeof t == "function" ? t(r) > t(l) ? n === !0 ? 1 : -1 : t(r) < t(l) ? n === !0 ? -1 : 1 : 0 : 0;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function P(e, t, n = "/") {
|
|
120
|
+
let r = e ?? "", l = t ?? "";
|
|
121
|
+
if (r.endsWith(n))
|
|
122
|
+
do
|
|
123
|
+
r = r.slice(0, r.length - 1);
|
|
124
|
+
while (r.endsWith(n));
|
|
125
|
+
if (l.startsWith(n))
|
|
126
|
+
do
|
|
127
|
+
l = l.slice(1, l.length);
|
|
128
|
+
while (l.startsWith(n));
|
|
129
|
+
return `${r}${n}${l}`;
|
|
130
|
+
}
|
|
131
|
+
function J(e, t, n) {
|
|
132
|
+
let r = new Image();
|
|
133
|
+
r.onload = t, r.onerror = n, r.src = e;
|
|
134
|
+
}
|
|
135
|
+
function _(e, t) {
|
|
136
|
+
if (e == null || !Array.isArray(e))
|
|
137
|
+
return e;
|
|
138
|
+
if (t == null)
|
|
139
|
+
return [...new Set(e.map((r) => r))];
|
|
140
|
+
const n = [];
|
|
141
|
+
return typeof t == "string" ? e.forEach((r) => {
|
|
142
|
+
n.some((l) => u(r, t) == u(l, t)) || n.push(r);
|
|
143
|
+
}) : e.forEach((r) => {
|
|
144
|
+
n.some((l) => t(r) == t(l)) || n.push(r);
|
|
145
|
+
}), n;
|
|
146
|
+
}
|
|
147
|
+
function q(e, t, n) {
|
|
148
|
+
return e == null ? /* @__PURE__ */ new Map() : e.reduce((r, l) => {
|
|
149
|
+
const i = t(l) ?? n, s = r.get(i);
|
|
150
|
+
return s ? s.push(l) : r.set(i, [l]), r;
|
|
151
|
+
}, /* @__PURE__ */ new Map());
|
|
152
|
+
}
|
|
153
|
+
function V(e, t, n) {
|
|
154
|
+
if (e == null)
|
|
155
|
+
return [];
|
|
156
|
+
var r = e.reduce((l, i) => {
|
|
157
|
+
const s = t(i) ?? n;
|
|
158
|
+
var o = l.find((d) => d.key == s);
|
|
159
|
+
return o == null ? l.push({ key: s, values: [i] }) : o.values.push(i), l;
|
|
160
|
+
}, []);
|
|
161
|
+
return r.map((l) => l.values);
|
|
162
|
+
}
|
|
163
|
+
function H(e, t) {
|
|
164
|
+
const n = /* @__PURE__ */ new Map();
|
|
165
|
+
return e.forEach((r) => {
|
|
166
|
+
let l;
|
|
167
|
+
typeof t == "string" ? l = r[t] : l = t(r);
|
|
168
|
+
const i = n.get(l);
|
|
169
|
+
i ? i.push(r) : n.set(l, [r]);
|
|
170
|
+
}), n;
|
|
171
|
+
}
|
|
172
|
+
function K(e = "blitzItExtensionExists") {
|
|
173
|
+
try {
|
|
174
|
+
var t = document.getElementById(e);
|
|
175
|
+
return t != null;
|
|
176
|
+
} catch (n) {
|
|
177
|
+
return console.log(L(n)), !1;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
function Q(e) {
|
|
181
|
+
var t = h(e, !0);
|
|
182
|
+
return t = t.toLowerCase(), t = t.replace(" victoria ", "vic"), t = t.replace(" queensland ", "qld"), t = t.replace(" new south wales ", "nsw"), t = t.replace(" northern territory ", "nt"), t = t.replace(" western australia ", "wa"), t = t.replace(" tasmania ", "tas"), t = t.replace(" south australia ", "sa"), t = t.replace(" australian captial territory ", "act"), t = t.replace(" & ", " and "), t = t.replace(" road", " rd"), t = t.replace(" street", " st"), t = t.replace(" lane", " ln"), t = t.replace(" alley", " aly"), t = t.replace(" arcade", " arc"), t = t.replace(" boulevard", " blvd"), t = t.replace(" court", " ct"), t = t.replace(" cove", " cv"), t = t.replace(" highway", " hwy"), t.replaceAll(" ", "");
|
|
183
|
+
}
|
|
184
|
+
function h(e, t = !1) {
|
|
185
|
+
if (e == null)
|
|
186
|
+
return "";
|
|
187
|
+
if (typeof e != "object")
|
|
188
|
+
return e;
|
|
189
|
+
var n = "";
|
|
190
|
+
return e.addressLineOne != null && !t && (n = e.addressLineOne + " "), e.streetNumber != null && (n = n + e.streetNumber + " "), e.streetName != null && (n = n + e.streetName + ", "), e.suburb != null && (n = n + e.suburb + " "), e.state != null && (n = n + e.state + " "), e.postcode != null && (n = n + e.postcode), n;
|
|
191
|
+
}
|
|
192
|
+
function X(e) {
|
|
193
|
+
if (e == null)
|
|
194
|
+
return "";
|
|
195
|
+
if (typeof e != "object")
|
|
196
|
+
return e;
|
|
197
|
+
var t = "";
|
|
198
|
+
return e.addressLineOne != null && (t = e.addressLineOne + " "), e.streetNumber != null && (t = t + e.streetNumber + " "), e.streetName != null && (t = t + e.streetName + ", "), t;
|
|
199
|
+
}
|
|
200
|
+
function Y(e) {
|
|
201
|
+
if (e == null)
|
|
202
|
+
return "";
|
|
203
|
+
if (typeof e != "object")
|
|
204
|
+
return e;
|
|
205
|
+
var t = "";
|
|
206
|
+
return e.suburb != null && (t = t + e.suburb + " "), e.state != null && (t = t + e.state + " "), e.postcode != null && (t = t + e.postcode), t;
|
|
207
|
+
}
|
|
208
|
+
function k(e, t) {
|
|
209
|
+
if (e == null || t == null)
|
|
210
|
+
return -1;
|
|
211
|
+
let n = e.findIndex((l) => t(l)), r = n;
|
|
212
|
+
for (; n != null && n >= 0; )
|
|
213
|
+
r = n, e.splice(n, 1), n = e.findIndex((l) => t(l));
|
|
214
|
+
return r;
|
|
215
|
+
}
|
|
216
|
+
function G(e, t, n) {
|
|
217
|
+
if (e == null || t == null || n == null)
|
|
218
|
+
return -1;
|
|
219
|
+
let r = e.findIndex((s) => s !== t && n(s)), l = !1, i = r;
|
|
220
|
+
for (; r != null && r >= 0; )
|
|
221
|
+
l ? e.splice(r, 1) : (e.splice(r, 1, t), i = r, l = !0), r = e.findIndex((s) => s !== t && n(s));
|
|
222
|
+
return l || (e.push(t), i = e.length - 1), i;
|
|
223
|
+
}
|
|
224
|
+
async function j(e, t = !0) {
|
|
225
|
+
return new Promise((n, r) => {
|
|
226
|
+
e == null && r("no url given");
|
|
227
|
+
var l = new Image();
|
|
228
|
+
l.setAttribute("crossOrigin", "anonymous"), l.onload = function() {
|
|
229
|
+
var i = document.createElement("canvas");
|
|
230
|
+
i.width = this.width, i.height = this.height;
|
|
231
|
+
var s = i.getContext("2d");
|
|
232
|
+
s == null || s.drawImage(this, 0, 0), n(i.toDataURL("image/png"));
|
|
233
|
+
}, l.onerror = function() {
|
|
234
|
+
console.log("errr"), t ? r("image could not be loaded for some reason") : n(null);
|
|
235
|
+
}, e != null && (l.src = e);
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
function F(e) {
|
|
239
|
+
return e && e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase());
|
|
240
|
+
}
|
|
241
|
+
function z(e) {
|
|
242
|
+
if (e == null)
|
|
243
|
+
return e;
|
|
244
|
+
var t = typeof e;
|
|
245
|
+
if (t === "string")
|
|
246
|
+
return `${e.charAt(0).toLowerCase()}${e.substring(1)}`;
|
|
247
|
+
if (t === "object")
|
|
248
|
+
for (var n in e)
|
|
249
|
+
/^[A-Z]/.test(n) && Object.hasOwnProperty.call(e, n) && (e[n.charAt(0).toLowerCase() + n.substring(1)] = e[n], delete e[n]);
|
|
250
|
+
return e;
|
|
251
|
+
}
|
|
252
|
+
function ee(e) {
|
|
253
|
+
return e == null ? e : e.replace(/\w\S*/g, (t) => t.replace(/^\w/, (n) => n.toUpperCase()));
|
|
254
|
+
}
|
|
255
|
+
const a = [
|
|
256
|
+
{ value: 1, short: "sun", values: ["sun", "sunday"] },
|
|
257
|
+
{ value: 2, short: "mon", values: ["mon", "monday"] },
|
|
258
|
+
{ value: 3, short: "tue", values: ["tue", "tues", "tuesday"] },
|
|
259
|
+
{ value: 4, short: "wed", values: ["wed", "wednesday"] },
|
|
260
|
+
{ value: 5, short: "thu", values: ["thu", "thur", "thurs", "thursday"] },
|
|
261
|
+
{ value: 6, short: "fri", values: ["fri", "friday"] },
|
|
262
|
+
{ value: 7, short: "sat", values: ["sat", "saturday"] },
|
|
263
|
+
{ value: 0, short: "always", values: ["always", null, void 0] }
|
|
264
|
+
];
|
|
265
|
+
function te(e) {
|
|
266
|
+
if (e == null)
|
|
267
|
+
return 0;
|
|
268
|
+
const t = e.replaceAll(" ", "").split(",").map((r) => r.toLowerCase()), n = a.filter((r) => r.values.some((l) => t.some((i) => l == i))).map((r) => r.value);
|
|
269
|
+
return n.length == 0 ? 8 : Math.min(...n);
|
|
270
|
+
}
|
|
271
|
+
function ne(e) {
|
|
272
|
+
return e == null ? e : e.toLowerCase().replaceAll(" ", "").split(",").map((t) => {
|
|
273
|
+
let n = a.find((r) => r.values.some((l) => l == t));
|
|
274
|
+
return n != null ? n.short : "";
|
|
275
|
+
}).filter((t) => t != null && t.length > 0).toString();
|
|
276
|
+
}
|
|
277
|
+
function re(e, t) {
|
|
278
|
+
if (e == null || t == null)
|
|
279
|
+
return !0;
|
|
280
|
+
const n = e.replaceAll(" ", "").split(",").map((i) => i.toLowerCase()), r = t.replaceAll(" ", "").toLowerCase(), l = a.find((i) => i.values.some((s) => s == r));
|
|
281
|
+
return l != null && n.some((i) => i == l.short || l.values.some((s) => s == i));
|
|
282
|
+
}
|
|
283
|
+
function le(e, t) {
|
|
284
|
+
if (t == null)
|
|
285
|
+
return e;
|
|
286
|
+
let n = e ?? "";
|
|
287
|
+
n = `${n},${t}`;
|
|
288
|
+
let r = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((l) => a.find((i) => i.values.some((s) => s == l))).filter((l) => l != null).sort(p.firstBy((l) => (l == null ? void 0 : l.value) ?? 0)).map((l) => l == null ? void 0 : l.short))].toString();
|
|
289
|
+
return r.length > 0 ? r : void 0;
|
|
290
|
+
}
|
|
291
|
+
function ie(e, t) {
|
|
292
|
+
if (t == null || e == null)
|
|
293
|
+
return e;
|
|
294
|
+
let n = e ?? "", r = t.replaceAll(" ", "").toLowerCase(), l = [...new Set(n.replaceAll(" ", "").toLowerCase().split(",").map((i) => a.find((s) => s.values.some((o) => o == i && o != r))).filter((i) => i != null).sort(p.firstBy((i) => (i == null ? void 0 : i.value) ?? 0)).map((i) => i == null ? void 0 : i.short))].toString();
|
|
295
|
+
return l.length > 0 ? l : void 0;
|
|
296
|
+
}
|
|
297
|
+
function se(e, t) {
|
|
298
|
+
return e != null && Array.isArray(e) && e.length == t;
|
|
299
|
+
}
|
|
300
|
+
function c(e, t = 0) {
|
|
301
|
+
return e != null && Array.isArray(e) && e.length > t;
|
|
302
|
+
}
|
|
303
|
+
function f(e) {
|
|
304
|
+
return e == null || e.length == 0;
|
|
305
|
+
}
|
|
306
|
+
function ue(e) {
|
|
307
|
+
return e == "0001-01-01T00:00:00Z";
|
|
308
|
+
}
|
|
309
|
+
function oe() {
|
|
310
|
+
return (/* @__PURE__ */ new Date("0001-01-01T00:00:00Z")).getTime();
|
|
311
|
+
}
|
|
312
|
+
function ae() {
|
|
313
|
+
return "0001-01-01T00:00:00Z";
|
|
314
|
+
}
|
|
315
|
+
function fe(e, t) {
|
|
316
|
+
return e == null || t == null ? !1 : e.split(":")[0] == t.split(":")[0];
|
|
317
|
+
}
|
|
318
|
+
function ce(e, t) {
|
|
319
|
+
let n = "1", r = 0;
|
|
320
|
+
if (r < t)
|
|
321
|
+
do
|
|
322
|
+
n = n + "0", r += 1;
|
|
323
|
+
while (r < t);
|
|
324
|
+
let l = Number.parseInt(n);
|
|
325
|
+
return Math.round(e * l) / l;
|
|
326
|
+
}
|
|
327
|
+
function pe(e, t) {
|
|
328
|
+
let n = "";
|
|
329
|
+
return e != null && (Array.isArray(e) ? n = e.toString() : n = e), t != null && (g(n, t) ? n = n.split(",").filter((r) => r != t).toString() : n != null && n.length > 0 ? n = `${n},${t}` : n = t), n != null && n.length > 0 ? n : void 0;
|
|
330
|
+
}
|
|
331
|
+
function g(e, t) {
|
|
332
|
+
if (e == null || e.length == 0)
|
|
333
|
+
return !1;
|
|
334
|
+
if (!t)
|
|
335
|
+
return !0;
|
|
336
|
+
var n = e.split(","), r = t.split(",");
|
|
337
|
+
return n.some((l) => r.some((i) => i == l));
|
|
338
|
+
}
|
|
339
|
+
function y(e) {
|
|
340
|
+
if (!e)
|
|
341
|
+
return e;
|
|
342
|
+
let t, n = Array.isArray(e) ? [] : {};
|
|
343
|
+
for (const r in e)
|
|
344
|
+
t = e[r], n[r] = typeof t == "object" ? y(t) : t;
|
|
345
|
+
return n;
|
|
346
|
+
}
|
|
347
|
+
function m(e) {
|
|
348
|
+
return e && Object.keys(e).sort().reduce(function(t, n) {
|
|
349
|
+
let r = e[n];
|
|
350
|
+
return t[n] = typeof r == "object" && r !== null ? m(r) : r, t;
|
|
351
|
+
}, Array.isArray(e) ? [] : {});
|
|
352
|
+
}
|
|
353
|
+
function w(e, t) {
|
|
354
|
+
return t == null ? !0 : e == null ? !1 : e.toString().toLowerCase().replaceAll(" ", "").includes(t.toLowerCase().replaceAll(" ", ""));
|
|
355
|
+
}
|
|
356
|
+
function A(e, t = (n) => n) {
|
|
357
|
+
if (e == null)
|
|
358
|
+
return [];
|
|
359
|
+
const n = Array.isArray(e) ? e : t(e);
|
|
360
|
+
return c(n) ? [...n.reduce((r, l) => {
|
|
361
|
+
r.push(l);
|
|
362
|
+
const i = A(l, t);
|
|
363
|
+
return c(i) && r.push(...i), r;
|
|
364
|
+
}, [])] : [];
|
|
365
|
+
}
|
|
366
|
+
function de(e) {
|
|
367
|
+
const t = e.split(","), n = t[0].indexOf("base64") >= 0 ? atob(t[1]) : decodeURI(t[1]), r = t[0].split(":")[1].split(";")[0], l = new Uint8Array(n.length);
|
|
368
|
+
for (let i = 0; i < n.length; i++)
|
|
369
|
+
l[i] = n.charCodeAt(i);
|
|
370
|
+
return new Blob([l], { type: r });
|
|
371
|
+
}
|
|
372
|
+
function L(e) {
|
|
373
|
+
var t = "";
|
|
374
|
+
if (e) {
|
|
375
|
+
if (e.message && (t = e.message), e.response && e.response.data) {
|
|
376
|
+
if (e.response.data.errors)
|
|
377
|
+
for (var n = 0; n < e.response.data.errors.length; n++)
|
|
378
|
+
t = t + " | " + e.response.data.errors[n];
|
|
379
|
+
e.response.data.message && (t = t + " | " + e.response.data.message), t = t + " | " + JSON.stringify(e.response.data);
|
|
380
|
+
}
|
|
381
|
+
return t;
|
|
382
|
+
}
|
|
383
|
+
return "hmmm no error was supplied";
|
|
384
|
+
}
|
|
385
|
+
function S() {
|
|
386
|
+
const e = "#" + Math.floor(Math.random() * 16777215).toString(16);
|
|
387
|
+
return e.length !== 7 ? S() : e;
|
|
388
|
+
}
|
|
389
|
+
function he(e, t, n) {
|
|
390
|
+
if (t == null)
|
|
391
|
+
return !0;
|
|
392
|
+
if (e == null || n == null)
|
|
393
|
+
return !1;
|
|
394
|
+
for (let l = 0; l < n.length; l++) {
|
|
395
|
+
var r = n[l].split("|").map((s) => u(e, s)).join("");
|
|
396
|
+
if (r != null && (typeof r == "string" || typeof r == "number") && w(r, t))
|
|
397
|
+
return !0;
|
|
398
|
+
}
|
|
399
|
+
return !1;
|
|
400
|
+
}
|
|
401
|
+
function ge(e) {
|
|
402
|
+
return e != null ? e.replaceAll(" ", "").replaceAll(/(\r\n|\n|\r)/gm, "").toLowerCase() : null;
|
|
403
|
+
}
|
|
404
|
+
function ye(e = 2e3) {
|
|
405
|
+
return new Promise((t) => {
|
|
406
|
+
setTimeout(() => t(), e);
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
function u(e, t) {
|
|
410
|
+
if (e == null || e == null || !t)
|
|
411
|
+
return null;
|
|
412
|
+
var n = t.split(".");
|
|
413
|
+
let r = n.length;
|
|
414
|
+
for (var l = e, i = 0; i < r; i++)
|
|
415
|
+
if (l = l[n[i]], l == null)
|
|
416
|
+
return null;
|
|
417
|
+
return l;
|
|
418
|
+
}
|
|
419
|
+
function me(e, t) {
|
|
420
|
+
const n = [];
|
|
421
|
+
for (let r = 0; r < e.length; r += t) {
|
|
422
|
+
const l = e.slice(r, r + t);
|
|
423
|
+
n.push(l);
|
|
424
|
+
}
|
|
425
|
+
return n;
|
|
426
|
+
}
|
|
427
|
+
function we(e, t, n = !0) {
|
|
428
|
+
const r = [];
|
|
429
|
+
for (let l = 0; l < e.length; l += t) {
|
|
430
|
+
const i = e.slice(l, l + t);
|
|
431
|
+
for (; n && i.length < t; )
|
|
432
|
+
i.push(null);
|
|
433
|
+
r.push(i);
|
|
434
|
+
}
|
|
435
|
+
return r;
|
|
436
|
+
}
|
|
437
|
+
function Ae(e) {
|
|
438
|
+
return e ? /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e) : !1;
|
|
439
|
+
}
|
|
440
|
+
function Le(e) {
|
|
441
|
+
return e.endsWith("ies") ? e.slice(0, e.length - 3) : e.endsWith("s") ? e.slice(0, e.length - 1) : e;
|
|
442
|
+
}
|
|
443
|
+
function Se(e) {
|
|
444
|
+
return e == null ? void 0 : e.replaceAll(" ", "").toLowerCase();
|
|
445
|
+
}
|
|
446
|
+
export {
|
|
447
|
+
de as DataURIToBlob,
|
|
448
|
+
le as addWeekday,
|
|
449
|
+
P as appendUrl,
|
|
450
|
+
ee as capitalizeWords,
|
|
451
|
+
J as checkImage,
|
|
452
|
+
Se as compareString,
|
|
453
|
+
w as containsSearch,
|
|
454
|
+
re as containsWeekday,
|
|
455
|
+
y as copyDeep,
|
|
456
|
+
m as copyItemByAlphabet,
|
|
457
|
+
g as csvContains,
|
|
458
|
+
A as deepSelect,
|
|
459
|
+
_ as distinct,
|
|
460
|
+
G as dropAndAddToList,
|
|
461
|
+
k as dropFromList,
|
|
462
|
+
R as expectArray,
|
|
463
|
+
W as expectArrayReturn,
|
|
464
|
+
B as expectSingle,
|
|
465
|
+
M as expectSingleReturn,
|
|
466
|
+
K as extensionExists,
|
|
467
|
+
b as externalUses,
|
|
468
|
+
L as extractErrorDescription,
|
|
469
|
+
F as fromCamelCase,
|
|
470
|
+
v as getColors,
|
|
471
|
+
Q as getGoogleMapsLocationLine,
|
|
472
|
+
j as getImageData,
|
|
473
|
+
h as getLocationLine,
|
|
474
|
+
X as getLocationLineOne,
|
|
475
|
+
Y as getLocationLineTwo,
|
|
476
|
+
oe as getMinDate,
|
|
477
|
+
ae as getMinDateString,
|
|
478
|
+
x as getOtherColors,
|
|
479
|
+
S as getRandomColor,
|
|
480
|
+
H as group,
|
|
481
|
+
V as groupArrays,
|
|
482
|
+
q as groupBy,
|
|
483
|
+
he as hasSearch,
|
|
484
|
+
se as isArrayOfLength,
|
|
485
|
+
c as isLengthyArray,
|
|
486
|
+
ue as isMinDate,
|
|
487
|
+
f as isNullOrEmpty,
|
|
488
|
+
fe as isSameDownToHour,
|
|
489
|
+
U as jwtDecrypt,
|
|
490
|
+
D as jwtEncrypt,
|
|
491
|
+
E as log,
|
|
492
|
+
O as moveInArray,
|
|
493
|
+
u as nestedValue,
|
|
494
|
+
T as orderBy,
|
|
495
|
+
I as personName,
|
|
496
|
+
N as pullPropsFrom,
|
|
497
|
+
ie as removeWeekday,
|
|
498
|
+
ce as roundTo,
|
|
499
|
+
Le as singularize,
|
|
500
|
+
we as splitArray,
|
|
501
|
+
me as spread,
|
|
502
|
+
Z as sum,
|
|
503
|
+
z as toCamelCase,
|
|
504
|
+
ge as toCompareString,
|
|
505
|
+
$ as toggle,
|
|
506
|
+
pe as toggleCSV,
|
|
507
|
+
ye as twiddleThumbs,
|
|
508
|
+
Ae as validEmail,
|
|
509
|
+
a as weekdayPairs,
|
|
510
|
+
ne as weekdayShortName,
|
|
511
|
+
te as weekdayValue
|
|
512
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { aliases as i, mdi as d } from "../bt-core/core/node_modules/vuetify/lib/iconsets/mdi-svg.mjs";
|
|
2
|
+
import { mdiAccount as m, mdiArchiveOutline as r, mdiAlertCircle as t, mdiArrowLeft as o, mdiArrowRight as n, mdiBackspace as l, mdiButtonCursor as a, mdiCalendarEdit as c, mdiCameraFlip as u, mdiCancel as s, mdiCardPlusOutline as p, mdiCheck as h, mdiChevronDown as C, mdiChevronLeft as f, mdiChevronRight as v, mdiChevronUp as w, mdiCheckboxMarked as g, mdiCircle as b, mdiClose as k, mdiCloudCheck as x, mdiCloudRemove as D, mdiCloudSync as O, mdiCloudUpload as F, mdiCog as P, mdiContentDuplicate as y, mdiContentSave as L, mdiCubeOutline as M, mdiDebugStepOver as R, mdiDelete as V, mdiDragVariant as A, mdiEmail as S, mdiEraser as z, mdiEraserVariant as B, mdiCommentQuote as E, mdiFileDelimited as U, mdiFileDelimitedOutline as I, mdiFileOutline as N, mdiFilter as T, mdiFingerprint as H, mdiFormatColorFill as Q, mdiHelpCircleOutline as W, mdiInformation as Y, mdiListBox as j, mdiLogout as q, mdiMagnify as G, mdiMenuDown as J, mdiMenuUp as K, mdiMoveResizeVariant as X, mdiNumeric as Z, mdiOpenInNew as _, mdiPalette as $, mdiPartyPopper as ee, mdiPencil as ie, mdiPencilOff as de, mdiPhone as me, mdiPrinter as re, mdiRefresh as te, mdiRestart as oe, mdiSend as ne, mdiThemeLightDark as le, mdiTextBox as ae, mdiUndo as ce, mdiViewCarousel as ue, mdiViewColumn as se, mdiViewList as pe, mdiWindowMaximize as he, mdiYoutube as Ce } from "../bt-core/core/node_modules/@mdi/js/mdi.mjs";
|
|
3
|
+
function we(e) {
|
|
4
|
+
return {
|
|
5
|
+
defaultSet: "mdi",
|
|
6
|
+
aliases: {
|
|
7
|
+
...i,
|
|
8
|
+
account: m,
|
|
9
|
+
"archive-outline": r,
|
|
10
|
+
"alert-circle": t,
|
|
11
|
+
"arrow-left": o,
|
|
12
|
+
"arrow-right": n,
|
|
13
|
+
backspace: l,
|
|
14
|
+
"button-cursor": a,
|
|
15
|
+
"calendar-edit": c,
|
|
16
|
+
"camera-flip": u,
|
|
17
|
+
cancel: s,
|
|
18
|
+
"card-plus-outline": p,
|
|
19
|
+
check: h,
|
|
20
|
+
"chevron-down": C,
|
|
21
|
+
"chevron-left": f,
|
|
22
|
+
"chevron-right": v,
|
|
23
|
+
"chevron-up": w,
|
|
24
|
+
"checkbox-marked": g,
|
|
25
|
+
circle: b,
|
|
26
|
+
close: k,
|
|
27
|
+
"cloud-check": x,
|
|
28
|
+
"cloud-remove": D,
|
|
29
|
+
"cloud-sync": O,
|
|
30
|
+
"cloud-upload": F,
|
|
31
|
+
cog: P,
|
|
32
|
+
"content-duplicate": y,
|
|
33
|
+
"content-save": L,
|
|
34
|
+
"cube-outline": M,
|
|
35
|
+
"debug-step-over": R,
|
|
36
|
+
delete: V,
|
|
37
|
+
"drag-variant": A,
|
|
38
|
+
email: S,
|
|
39
|
+
eraser: z,
|
|
40
|
+
"eraser-variant": B,
|
|
41
|
+
feedback: E,
|
|
42
|
+
"file-delimited": U,
|
|
43
|
+
"file-delimited-outline": I,
|
|
44
|
+
"file-outline": N,
|
|
45
|
+
filter: T,
|
|
46
|
+
fingerprint: H,
|
|
47
|
+
"format-color-fill": Q,
|
|
48
|
+
"help-circle-outline": W,
|
|
49
|
+
information: Y,
|
|
50
|
+
"list-box": j,
|
|
51
|
+
logout: q,
|
|
52
|
+
magnify: G,
|
|
53
|
+
"menu-down": J,
|
|
54
|
+
"menu-up": K,
|
|
55
|
+
"move-resize-variant": X,
|
|
56
|
+
numeric: Z,
|
|
57
|
+
"open-in-new": _,
|
|
58
|
+
palette: $,
|
|
59
|
+
party: ee,
|
|
60
|
+
pencil: ie,
|
|
61
|
+
"pencil-off": de,
|
|
62
|
+
phone: me,
|
|
63
|
+
printer: re,
|
|
64
|
+
refresh: te,
|
|
65
|
+
restart: oe,
|
|
66
|
+
send: ne,
|
|
67
|
+
"theme-light-dark": le,
|
|
68
|
+
"text-box": ae,
|
|
69
|
+
undo: ce,
|
|
70
|
+
"view-carousel": ue,
|
|
71
|
+
"view-column": se,
|
|
72
|
+
"view-list": pe,
|
|
73
|
+
"window-maximize": he,
|
|
74
|
+
youtube: Ce,
|
|
75
|
+
...e ?? {}
|
|
76
|
+
},
|
|
77
|
+
sets: {
|
|
78
|
+
mdi: d
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
we as useIcons
|
|
84
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function useId(pattern?: string): string;
|
|
2
|
+
export declare function useIds(): {
|
|
3
|
+
getID: () => string;
|
|
4
|
+
};
|
|
5
|
+
export declare function useIDMemory(prefix?: string): {
|
|
6
|
+
getID: (key?: string) => string;
|
|
7
|
+
};
|
|
8
|
+
export declare function useLocalDeviceID(): string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function o(x) {
|
|
2
|
+
return (x || "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").replace(/[xy]/g, n);
|
|
3
|
+
}
|
|
4
|
+
function n(x) {
|
|
5
|
+
const e = Math.random() * 16 | 0;
|
|
6
|
+
return (x == "x" ? e : e & 3 | 8).toString(16);
|
|
7
|
+
}
|
|
8
|
+
const c = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";
|
|
9
|
+
function l() {
|
|
10
|
+
return {
|
|
11
|
+
getID: () => c.replace(/[xy]/g, n)
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function u(x) {
|
|
15
|
+
const e = {};
|
|
16
|
+
return {
|
|
17
|
+
getID: (t) => {
|
|
18
|
+
const r = Object.keys(e) ?? [];
|
|
19
|
+
return t ?? (t = r.length.toString()), e[t] == null && (e[t] = `${x ?? ""}id-${r.length}`), e[t];
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function i() {
|
|
24
|
+
let x = localStorage.getItem("my-local-device-id");
|
|
25
|
+
return x == null && (x = c.replace(/[xy]/g, n), localStorage.setItem("my-local-device-id", x)), x;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
u as useIDMemory,
|
|
29
|
+
o as useId,
|
|
30
|
+
l as useIds,
|
|
31
|
+
i as useLocalDeviceID
|
|
32
|
+
};
|