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,123 @@
|
|
|
1
|
+
import { BTCreateMenu } from './menu.ts';
|
|
2
|
+
import { RouteLocation, RouteLocationNormalized, Router } from 'vue-router';
|
|
3
|
+
import { GetStorageKeyOptions, StorageMode, StoreMode } from './stores.ts';
|
|
4
|
+
import { AuthItem } from './auth.ts';
|
|
5
|
+
import { Ref } from 'vue';
|
|
6
|
+
|
|
7
|
+
export interface ExternalParty {
|
|
8
|
+
additionalUrl: string;
|
|
9
|
+
canUnlink: boolean;
|
|
10
|
+
externalTextProp?: string;
|
|
11
|
+
localIDProp: string;
|
|
12
|
+
party: string;
|
|
13
|
+
}
|
|
14
|
+
export type PermissionGroup = string[];
|
|
15
|
+
export interface NavigationItem extends AuthItem {
|
|
16
|
+
/**aliases are other names that could use this navigation item's set of permissions, etc.*/
|
|
17
|
+
aliases?: string[];
|
|
18
|
+
/**potentially the nav that leads to the archive */
|
|
19
|
+
archiveName?: string;
|
|
20
|
+
/**the name of the background img to show when the route opens this nav */
|
|
21
|
+
background?: string;
|
|
22
|
+
/**how long until locally cached data is refreshed */
|
|
23
|
+
cacheExpiryHours?: number;
|
|
24
|
+
/**any children of this nav item */
|
|
25
|
+
children?: NavigationItem[];
|
|
26
|
+
/**only applies if connecting to store */
|
|
27
|
+
deleteStrat?: 'soft' | undefined;
|
|
28
|
+
/**the name that will be displayed in the navigation menu */
|
|
29
|
+
displayName?: string;
|
|
30
|
+
/**the configuration for external parties */
|
|
31
|
+
externals?: ExternalParty[];
|
|
32
|
+
/**custom override for getting the key to store */
|
|
33
|
+
getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
|
|
34
|
+
/**will hide app bar if set to true when the route opens this nav */
|
|
35
|
+
hideAppBar?: boolean;
|
|
36
|
+
/**hide bottom navigation even when xs */
|
|
37
|
+
hideBottomNavigation?: boolean;
|
|
38
|
+
/**will hide the nav sidebar if set to true when the route opens this nav */
|
|
39
|
+
hideNavigation?: boolean;
|
|
40
|
+
/**will open a dialog box to confirm navigating away from this route */
|
|
41
|
+
hesitate?: boolean;
|
|
42
|
+
/**how many minutes until WLU Store clears all data. Undefined means it won't happen */
|
|
43
|
+
minutesToClear?: number;
|
|
44
|
+
/**the mdi icon that goes with this nav item. Will show in places like the nav menu */
|
|
45
|
+
icon?: string;
|
|
46
|
+
/**default to false. True will mean that even is account is suspended, this will still allow navigation */
|
|
47
|
+
ignoreSuspension?: boolean;
|
|
48
|
+
/**default to true. When false will hide from nav menu */
|
|
49
|
+
isInNavMenu?: boolean;
|
|
50
|
+
/**default item text in lists, selects, etc. */
|
|
51
|
+
itemText?: string;
|
|
52
|
+
/**the microservice the leads to the default url to obtain data from. Defaults to 'default'. */
|
|
53
|
+
microservice?: string;
|
|
54
|
+
/**the name of this nav item. */
|
|
55
|
+
name?: string;
|
|
56
|
+
/**the url path on top of the base microservice url */
|
|
57
|
+
path?: string;
|
|
58
|
+
/**permissions that are required for this navItem. All these permissions must be met. Must be either all strings or all string arrays */
|
|
59
|
+
permissions?: PermissionGroup | PermissionGroup[];
|
|
60
|
+
/**for PLU stores only - defining what prop to cal window */
|
|
61
|
+
pluWindowProp?: string;
|
|
62
|
+
/**for PLU stores only - defining how many days to bunch requests in */
|
|
63
|
+
pluDays?: number;
|
|
64
|
+
/**whether to search for list locally or server first */
|
|
65
|
+
priority?: 'server' | 'local';
|
|
66
|
+
/**default to true. When false will allow universal access regardless of permission */
|
|
67
|
+
requiresAuth?: boolean;
|
|
68
|
+
/**the name of the route to access individual items */
|
|
69
|
+
singleName?: string;
|
|
70
|
+
/**what kind of store is needed for this api item */
|
|
71
|
+
storeMode?: StoreMode;
|
|
72
|
+
/**what kind of storage mode is needed for this api item */
|
|
73
|
+
storageMode?: StorageMode;
|
|
74
|
+
/**name of local store */
|
|
75
|
+
storeName?: string;
|
|
76
|
+
/**this nav item is restricted to these subscriptions. So the user needs to have at least one of these subscription codes. */
|
|
77
|
+
subscriptions?: string[];
|
|
78
|
+
/**this nav item is preferred in this subscription codes. */
|
|
79
|
+
subFilters?: string[] | 'All';
|
|
80
|
+
/**props to ignore (ie. 'customer') when updating */
|
|
81
|
+
updateIgnoreProps?: string[];
|
|
82
|
+
}
|
|
83
|
+
export interface BTNavigation {
|
|
84
|
+
showAppBar: Ref<boolean>;
|
|
85
|
+
showAppNavigation: Ref<boolean>;
|
|
86
|
+
showBottomNavigation: Ref<boolean>;
|
|
87
|
+
backgroundName: Ref<string | undefined>;
|
|
88
|
+
backgroundURL: Ref<string | undefined>;
|
|
89
|
+
hesitate: Ref<boolean>;
|
|
90
|
+
navHistory: Ref<RouteLocation[]>;
|
|
91
|
+
navigationItems: NavigationItem[];
|
|
92
|
+
findArchiveName: (navName?: string | NavigationItem) => string | undefined;
|
|
93
|
+
findCacheHours: (navName?: string | NavigationItem) => number;
|
|
94
|
+
findDisplay: (navName?: string | NavigationItem) => string | undefined;
|
|
95
|
+
findIcon: (navName?: string | NavigationItem) => string | undefined;
|
|
96
|
+
findItem: (navName?: string | NavigationItem) => NavigationItem | null;
|
|
97
|
+
findItemText: (navName?: string | NavigationItem) => string | undefined;
|
|
98
|
+
findStoreName: (navName?: string | NavigationItem) => string | undefined;
|
|
99
|
+
findPath: (navName?: string | NavigationItem) => string | undefined;
|
|
100
|
+
findSingleDisplay: (navName?: string | NavigationItem) => string | undefined;
|
|
101
|
+
updateBackgroundID: (id?: string) => void;
|
|
102
|
+
updateNavigationChange: (to: RouteLocationNormalized, from?: RouteLocationNormalized, isReplacement?: boolean) => void;
|
|
103
|
+
}
|
|
104
|
+
export interface UseNavigationOptions {
|
|
105
|
+
defaultBackgroundName?: string;
|
|
106
|
+
defaultCacheExpiryHours?: number;
|
|
107
|
+
/**for overriding getting the display name */
|
|
108
|
+
getDisplayName?: (navItem: NavigationItem) => string | undefined;
|
|
109
|
+
/**returns potential a default company id for background image */
|
|
110
|
+
getDefaultBackgroundID?: () => string | undefined;
|
|
111
|
+
/**formulate the background url - whether external or internal */
|
|
112
|
+
getBackgroundURL?: (backgroundID?: string, backgroundName?: string) => string | undefined;
|
|
113
|
+
menu?: BTCreateMenu;
|
|
114
|
+
navItems?: NavigationItem[];
|
|
115
|
+
router?: Router;
|
|
116
|
+
updateNavItems?: boolean;
|
|
117
|
+
}
|
|
118
|
+
export declare function useNavigation(): BTNavigation;
|
|
119
|
+
export declare function useNavBack(): {
|
|
120
|
+
canNavBack: import('vue').ComputedRef<boolean>;
|
|
121
|
+
navBack: (refresh?: boolean, to?: any) => void;
|
|
122
|
+
};
|
|
123
|
+
export declare function createNavigation(options: UseNavigationOptions): BTNavigation;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { useDataUrl as z } from "./urls.mjs";
|
|
2
|
+
import { capitalizeWords as T, deepSelect as W, appendUrl as j, singularize as F, checkImage as b } from "./helpers.mjs";
|
|
3
|
+
import { computed as J, ref as c } from "vue";
|
|
4
|
+
import { useRouter as K } from "vue-router";
|
|
5
|
+
let y;
|
|
6
|
+
function M() {
|
|
7
|
+
return y;
|
|
8
|
+
}
|
|
9
|
+
function X() {
|
|
10
|
+
const u = K(), t = M();
|
|
11
|
+
function d(g, f) {
|
|
12
|
+
if (t.navHistory.value.length > 1) {
|
|
13
|
+
t.navHistory.value.pop();
|
|
14
|
+
const i = t.navHistory.value[t.navHistory.value.length - 1];
|
|
15
|
+
t.navHistory.value.pop(), i != null && (g == !0 && (i.query ?? (i.query = {}), i.query.refresh = "true"), u.push(i));
|
|
16
|
+
} else
|
|
17
|
+
f != null ? u.push(f) : u.back();
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
canNavBack: J(() => t.navHistory.value.length > 1),
|
|
21
|
+
navBack: d
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function Y(u) {
|
|
25
|
+
var D;
|
|
26
|
+
const t = u.defaultCacheExpiryHours ?? 7, d = c([]), g = c(!0), f = c(!1), i = c(!1), k = c(), s = c(), v = c(), R = c(!1), m = [], p = [];
|
|
27
|
+
u.getDisplayName ?? (u.getDisplayName = (e) => {
|
|
28
|
+
if (e.displayName != null)
|
|
29
|
+
return e.displayName;
|
|
30
|
+
if (e.name != null)
|
|
31
|
+
return T(e.name.replaceAll("-", " "));
|
|
32
|
+
}), u.getDefaultBackgroundID ?? (u.getDefaultBackgroundID = () => {
|
|
33
|
+
}), u.getBackgroundURL ?? (u.getBackgroundURL = () => {
|
|
34
|
+
});
|
|
35
|
+
const h = (u.navItems ?? []).map((e) => ({
|
|
36
|
+
displayName: e.displayName ?? u.getDisplayName(e),
|
|
37
|
+
...e
|
|
38
|
+
}));
|
|
39
|
+
let B = (D = u.router) == null ? void 0 : D.getRoutes();
|
|
40
|
+
B != null && B.forEach((e) => {
|
|
41
|
+
e.meta.nav == null && e.meta.requiresAuth !== !1 && e.meta.permissions != null && !h.some((a) => a.name == e.name) && h.push({
|
|
42
|
+
displayName: e.name,
|
|
43
|
+
name: e.name,
|
|
44
|
+
permissions: e.meta.permissions
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
function U(e) {
|
|
48
|
+
var a;
|
|
49
|
+
return (a = r(e)) == null ? void 0 : a.archiveName;
|
|
50
|
+
}
|
|
51
|
+
function A(e) {
|
|
52
|
+
var a;
|
|
53
|
+
return ((a = r(e)) == null ? void 0 : a.cacheExpiryHours) ?? t;
|
|
54
|
+
}
|
|
55
|
+
function L(e) {
|
|
56
|
+
var a;
|
|
57
|
+
return (a = r(e)) == null ? void 0 : a.displayName;
|
|
58
|
+
}
|
|
59
|
+
function w(e) {
|
|
60
|
+
var a;
|
|
61
|
+
return (a = r(e)) == null ? void 0 : a.icon;
|
|
62
|
+
}
|
|
63
|
+
function r(e) {
|
|
64
|
+
return e == null ? null : typeof e != "string" ? e : W(h, (n) => n.children).find((n) => {
|
|
65
|
+
var N;
|
|
66
|
+
return n.name == e || n.singleName == e || ((N = n.aliases) == null ? void 0 : N.some((l) => l == e));
|
|
67
|
+
}) ?? null;
|
|
68
|
+
}
|
|
69
|
+
function q(e) {
|
|
70
|
+
var a;
|
|
71
|
+
return (a = r(e)) == null ? void 0 : a.itemText;
|
|
72
|
+
}
|
|
73
|
+
function x(e) {
|
|
74
|
+
const a = r(e);
|
|
75
|
+
if (a == null)
|
|
76
|
+
return;
|
|
77
|
+
let n = z(a.microservice ?? "default") ?? "";
|
|
78
|
+
return a.path != null && (n = j(n, a.path)), n != null && n.endsWith("/") && (n = n.slice(0, n.length - 1)), n;
|
|
79
|
+
}
|
|
80
|
+
function E(e) {
|
|
81
|
+
const a = r(e);
|
|
82
|
+
if ((a == null ? void 0 : a.singleName) != null)
|
|
83
|
+
return a.singleName;
|
|
84
|
+
const n = a == null ? void 0 : a.displayName;
|
|
85
|
+
if (n != null)
|
|
86
|
+
return F(n);
|
|
87
|
+
}
|
|
88
|
+
function C(e) {
|
|
89
|
+
const a = r(e);
|
|
90
|
+
return (a == null ? void 0 : a.storeName) ?? (a == null ? void 0 : a.name) ?? (a == null ? void 0 : a.singleName);
|
|
91
|
+
}
|
|
92
|
+
function o() {
|
|
93
|
+
let e = s.value ?? u.getDefaultBackgroundID();
|
|
94
|
+
e != null && m.some((n) => n == e) && (e = void 0);
|
|
95
|
+
let a = u.getBackgroundURL(e, v.value);
|
|
96
|
+
e != null && a != null && !p.some((n) => n == e) && b(
|
|
97
|
+
a,
|
|
98
|
+
() => {
|
|
99
|
+
p.push(e), o();
|
|
100
|
+
},
|
|
101
|
+
() => {
|
|
102
|
+
m.push(e), o();
|
|
103
|
+
}
|
|
104
|
+
), s.value = e, k.value = a;
|
|
105
|
+
}
|
|
106
|
+
function G(e) {
|
|
107
|
+
if (e == null || p.some((a) => a == e))
|
|
108
|
+
s.value = e, o();
|
|
109
|
+
else if (m.some((a) => a == e))
|
|
110
|
+
s.value = void 0, o();
|
|
111
|
+
else {
|
|
112
|
+
const a = u.getBackgroundURL != null ? u.getBackgroundURL(e, void 0) : void 0;
|
|
113
|
+
a != null && b(
|
|
114
|
+
a,
|
|
115
|
+
() => {
|
|
116
|
+
p.push(e), s.value = e, o();
|
|
117
|
+
},
|
|
118
|
+
() => {
|
|
119
|
+
m.push(e), s.value = void 0, o();
|
|
120
|
+
}
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
function S(e, a, n) {
|
|
125
|
+
(e.name == (a == null ? void 0 : a.name) && ((a == null ? void 0 : a.params.id) == "new" || (a == null ? void 0 : a.query.id) == "new") || n == !0) && d.value.pop(), e.params.navIgnore !== "true" && d.value.push(e);
|
|
126
|
+
const N = e.meta.nav ?? e.name, l = r(N);
|
|
127
|
+
s.value = void 0;
|
|
128
|
+
var H = e.meta.background ?? (l == null ? void 0 : l.background) ?? u.defaultBackgroundName;
|
|
129
|
+
H != v.value && (v.value = H, s.value == null && o()), f.value = e.meta.hideNavigation !== !0 && (l == null ? void 0 : l.hideNavigation) !== !0, i.value = e.meta.hideBottomNavigation !== !0 && (l == null ? void 0 : l.hideBottomNavigation) !== !0, g.value = e.meta.hideAppBar !== !0 && (l == null ? void 0 : l.hideAppBar) !== !0, u.menu != null && e.meta.menuGroup != null && u.updateNavItems && (u.menu.currentGroup.value = e.meta.menuGroup);
|
|
130
|
+
}
|
|
131
|
+
return y = {
|
|
132
|
+
showAppBar: g,
|
|
133
|
+
showAppNavigation: f,
|
|
134
|
+
showBottomNavigation: i,
|
|
135
|
+
backgroundName: v,
|
|
136
|
+
backgroundURL: k,
|
|
137
|
+
hesitate: R,
|
|
138
|
+
navigationItems: h,
|
|
139
|
+
findArchiveName: U,
|
|
140
|
+
findCacheHours: A,
|
|
141
|
+
findDisplay: L,
|
|
142
|
+
findIcon: w,
|
|
143
|
+
findItem: r,
|
|
144
|
+
findItemText: q,
|
|
145
|
+
findStoreName: C,
|
|
146
|
+
findPath: x,
|
|
147
|
+
findSingleDisplay: E,
|
|
148
|
+
navHistory: d,
|
|
149
|
+
updateBackgroundID: G,
|
|
150
|
+
updateNavigationChange: S
|
|
151
|
+
}, y;
|
|
152
|
+
}
|
|
153
|
+
export {
|
|
154
|
+
Y as createNavigation,
|
|
155
|
+
X as useNavBack,
|
|
156
|
+
M as useNavigation
|
|
157
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { nestedValue as t } from "./helpers.mjs";
|
|
2
|
+
import { useFilters as i } from "./filters.mjs";
|
|
3
|
+
function d() {
|
|
4
|
+
const { findFilter: l } = i();
|
|
5
|
+
function o(u, e, n) {
|
|
6
|
+
let r = u;
|
|
7
|
+
if (e != null && (r = t(u, e)), n != null) {
|
|
8
|
+
const f = l(n);
|
|
9
|
+
if (f != null)
|
|
10
|
+
return f(n);
|
|
11
|
+
}
|
|
12
|
+
return r;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
getValue: o
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
d as useNested
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface BTPresets {
|
|
2
|
+
usePresets(preset?: string): any;
|
|
3
|
+
}
|
|
4
|
+
export interface CreatePresetsOptions {
|
|
5
|
+
presets?: any;
|
|
6
|
+
}
|
|
7
|
+
export declare function usePresets(preset?: string): any;
|
|
8
|
+
export declare function createPresets(options: CreatePresetsOptions): BTPresets;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
let e;
|
|
2
|
+
function P(t) {
|
|
3
|
+
return e != null ? e.usePresets(t) : {};
|
|
4
|
+
}
|
|
5
|
+
function c(t) {
|
|
6
|
+
function r(s) {
|
|
7
|
+
return s ? (t.presets ?? {})[s] ?? {} : {};
|
|
8
|
+
}
|
|
9
|
+
return e = {
|
|
10
|
+
usePresets: r
|
|
11
|
+
}, e;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
c as createPresets,
|
|
15
|
+
P as usePresets
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface SWEvent extends Event {
|
|
4
|
+
detail: any;
|
|
5
|
+
}
|
|
6
|
+
export interface BTPWA {
|
|
7
|
+
canInstallApp: Ref<boolean>;
|
|
8
|
+
canUpdateApp: Ref<boolean>;
|
|
9
|
+
installApp: () => void;
|
|
10
|
+
isInstalled: () => boolean;
|
|
11
|
+
showIOSPrompt: Ref<boolean>;
|
|
12
|
+
updateApp: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function usePWA(): BTPWA;
|
|
15
|
+
export declare function createPWA(): BTPWA;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CreateUrlOptions } from './urls.ts';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
export interface SWEvent extends Event {
|
|
5
|
+
detail: any;
|
|
6
|
+
}
|
|
7
|
+
export interface BTPWA {
|
|
8
|
+
canInstallApp: Ref<boolean>;
|
|
9
|
+
canUpdateApp: Ref<boolean>;
|
|
10
|
+
installApp: () => void;
|
|
11
|
+
isInstalled: () => boolean;
|
|
12
|
+
showIOSPrompt: Ref<boolean>;
|
|
13
|
+
updateApp: () => void;
|
|
14
|
+
}
|
|
15
|
+
export interface CreatePWAOptions {
|
|
16
|
+
appleAppUrl?: string;
|
|
17
|
+
microsoftAppUrl?: string;
|
|
18
|
+
playstoreAppUrl?: string;
|
|
19
|
+
registerServiceWorker?: boolean;
|
|
20
|
+
usePWA?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface UsePWAOptions extends CreatePWAOptions {
|
|
23
|
+
urls: CreateUrlOptions;
|
|
24
|
+
}
|
|
25
|
+
export declare function usePWA(): BTPWA;
|
|
26
|
+
export declare function createPWA(options: UsePWAOptions): BTPWA;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { tryOnMounted as L } from "@vueuse/core";
|
|
2
|
+
import { ref as i } from "vue";
|
|
3
|
+
import { useCurrentEnv as S } from "./urls.mjs";
|
|
4
|
+
let g, w, m, h = !1;
|
|
5
|
+
const l = i(!1), s = i(!1), u = i(), a = i(), A = i(!1);
|
|
6
|
+
let d;
|
|
7
|
+
function b() {
|
|
8
|
+
return d;
|
|
9
|
+
}
|
|
10
|
+
function O(r) {
|
|
11
|
+
function k() {
|
|
12
|
+
const e = n.includes("Safari") && !n.includes("Chrome") && !n.includes("Edg"), t = n.includes("Macintosh") || n.includes("Windows");
|
|
13
|
+
return e && t;
|
|
14
|
+
}
|
|
15
|
+
function c() {
|
|
16
|
+
return P(/iPhone|iPad|iPod/) || k();
|
|
17
|
+
}
|
|
18
|
+
const n = window.navigator.userAgent;
|
|
19
|
+
function P(e) {
|
|
20
|
+
return !!n.match(e);
|
|
21
|
+
}
|
|
22
|
+
function E(e) {
|
|
23
|
+
a.value = e.detail, s.value = !0;
|
|
24
|
+
}
|
|
25
|
+
function U() {
|
|
26
|
+
h || (h = !0, window.location.reload());
|
|
27
|
+
}
|
|
28
|
+
function W() {
|
|
29
|
+
var e;
|
|
30
|
+
u.value != null ? ((e = u.value) == null || e.prompt(), l.value = !1) : c() && (r.appleAppUrl != null ? window.open(r.appleAppUrl, "_blank") : A.value = !0);
|
|
31
|
+
}
|
|
32
|
+
function f() {
|
|
33
|
+
return !!("standalone" in window.navigator && window.navigator.standalone) || !!window.matchMedia("(display-mode: standalone)").matches;
|
|
34
|
+
}
|
|
35
|
+
function y(e) {
|
|
36
|
+
e.preventDefault(), l.value = !0, u.value = e;
|
|
37
|
+
}
|
|
38
|
+
function I() {
|
|
39
|
+
s.value = !1, !(!a.value || !a.value.waiting) && a.value.waiting.postMessage({ type: "SKIP_WAITING" });
|
|
40
|
+
}
|
|
41
|
+
L(() => {
|
|
42
|
+
g == null && (g = document.addEventListener("swUpdated", E, { once: !0 })), w == null && (w = navigator.serviceWorker.addEventListener("controllerchange", U)), m == null && (m = window.addEventListener("beforeinstallprompt", y)), c() && !f() && (l.value = !0);
|
|
43
|
+
});
|
|
44
|
+
function p(e) {
|
|
45
|
+
document.dispatchEvent(new CustomEvent("swUpdated", { detail: e }));
|
|
46
|
+
}
|
|
47
|
+
let o, v = S(r.urls);
|
|
48
|
+
return typeof window < "u" && (typeof Promise < "u" ? o = new Promise((e) => window.addEventListener("load", e)) : o = { then: (e) => window.addEventListener("load", e) }), r.registerServiceWorker == !0 && "serviceWorker" in navigator && (o == null || o.then(() => {
|
|
49
|
+
console.log("registering"), navigator.serviceWorker.register(
|
|
50
|
+
v != "development" ? "/service-worker.js" : "/dev-sw.js?dev-sw",
|
|
51
|
+
{ type: v != "development" ? "classic" : "module" }
|
|
52
|
+
).then((e) => {
|
|
53
|
+
if (console.log("registering done"), e.waiting) {
|
|
54
|
+
console.log("waiting"), p(e);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
e.onupdatefound = () => {
|
|
58
|
+
if (console.log("update found"), console.log(e), e.installing != null) {
|
|
59
|
+
const t = e.installing;
|
|
60
|
+
t.onstatechange = () => {
|
|
61
|
+
(t == null ? void 0 : t.state) === "installed" && navigator.serviceWorker.controller && p(e);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}).catch((e) => {
|
|
66
|
+
console.log("service worker registration error"), console.log(e);
|
|
67
|
+
});
|
|
68
|
+
})), d = {
|
|
69
|
+
canInstallApp: l,
|
|
70
|
+
canUpdateApp: s,
|
|
71
|
+
installApp: W,
|
|
72
|
+
isInstalled: f,
|
|
73
|
+
showIOSPrompt: A,
|
|
74
|
+
updateApp: I
|
|
75
|
+
}, d;
|
|
76
|
+
}
|
|
77
|
+
export {
|
|
78
|
+
O as createPWA,
|
|
79
|
+
b as usePWA
|
|
80
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Position, MaybeRefOrGetter } from '@vueuse/core';
|
|
2
|
+
import { ComponentPublicInstance, Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
export type ResizeHandle = 't' | 'r' | 'b' | 'l' | 'tr' | 'br' | 'bl' | 'tl';
|
|
5
|
+
export interface PointerOrTouchEvent extends PointerEvent, TouchEvent {
|
|
6
|
+
}
|
|
7
|
+
export interface UseResizeOptions {
|
|
8
|
+
preventDefault?: MaybeRefOrGetter<boolean>;
|
|
9
|
+
stopPropagation?: MaybeRefOrGetter<boolean>;
|
|
10
|
+
handles?: ResizeHandle[];
|
|
11
|
+
/**
|
|
12
|
+
* Callback when the dragging starts. Return `false` to prevent dragging.
|
|
13
|
+
*/
|
|
14
|
+
onStart?: (position: Position, event: PointerEvent) => void | false;
|
|
15
|
+
/**
|
|
16
|
+
* Callback during dragging.
|
|
17
|
+
*/
|
|
18
|
+
onMove?: (position: Position, event: PointerEvent) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Callback when dragging end.
|
|
21
|
+
*/
|
|
22
|
+
onEnd?: (position: Position, event: PointerEvent) => void;
|
|
23
|
+
minWidth?: number;
|
|
24
|
+
maxWidth?: number;
|
|
25
|
+
minHeight?: number;
|
|
26
|
+
maxHeight?: number;
|
|
27
|
+
handleWidth?: number;
|
|
28
|
+
handleZIndex?: number;
|
|
29
|
+
}
|
|
30
|
+
export declare function useResizable(target: MaybeRefOrGetter<ComponentPublicInstance | null>, options?: UseResizeOptions): {
|
|
31
|
+
resizingIsOn: Ref<boolean, boolean>;
|
|
32
|
+
turnResizingOn: (handles?: ResizeHandle[]) => void;
|
|
33
|
+
turnResizingOff: () => void;
|
|
34
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { toValue as s, useEventListener as r } from "@vueuse/core";
|
|
2
|
+
import { ref as a } from "vue";
|
|
3
|
+
import { copyDeep as B } from "./helpers.mjs";
|
|
4
|
+
const k = ["t", "r", "b", "l", "tr", "br", "bl", "tl"];
|
|
5
|
+
function Q(c, n = {}) {
|
|
6
|
+
let P = n.handleWidth ?? 12, $ = n.handleZIndex ?? 100, H = n.minWidth ?? 0, I = n.maxWidth ?? Number.MAX_SAFE_INTEGER, S = n.minHeight ?? 0, M = n.maxHeight ?? Number.MAX_SAFE_INTEGER, O = n.preventDefault ?? !1, X = n.stopPropagation ?? !1, f, w = [];
|
|
7
|
+
const T = a(!1), z = a(!1), C = a(!1), W = a(!1), D = a(!1);
|
|
8
|
+
let x = [], d = [];
|
|
9
|
+
const y = a(!1), g = a({ x: 0, y: 0 });
|
|
10
|
+
let p = {
|
|
11
|
+
position: "absolute"
|
|
12
|
+
}, o = {};
|
|
13
|
+
function R(t) {
|
|
14
|
+
s(O) && t.preventDefault(), s(X) && t.stopPropagation();
|
|
15
|
+
}
|
|
16
|
+
function _(t, e) {
|
|
17
|
+
w = e.map(F), w.forEach((i) => t.$el.appendChild(i)), z.value = e.some((i) => i.includes("l")), C.value = e.some((i) => i.includes("r")), W.value = e.some((i) => i.includes("t")), D.value = e.some((i) => i.includes("b"));
|
|
18
|
+
}
|
|
19
|
+
function Z(t) {
|
|
20
|
+
w.forEach((e) => t.$el.removeChild(e));
|
|
21
|
+
}
|
|
22
|
+
function F(t) {
|
|
23
|
+
const e = P + "px", i = -P / 2 + "px", b = $ + 1, l = document.createElement("div");
|
|
24
|
+
return l.dataset.handle = t, l.style.position = "absolute", l.style.touchAction = "none", l.style.userSelect = "none", l.style.zIndex = (t.length === 1 ? $ : b).toString(), l.style.cursor = N(t), t.includes("t") && (l.style.top = i, l.style.height = e, t === "t" && (l.style.left = "0", l.style.width = "100%")), t.includes("b") && (l.style.bottom = i, l.style.height = e, t === "b" && (l.style.left = "0", l.style.width = "100%")), t.includes("r") && (l.style.right = i, l.style.width = e, t === "r" && (l.style.top = "0", l.style.height = "100%")), t.includes("l") && (l.style.left = i, l.style.width = e, t === "l" && (l.style.top = "0", l.style.height = "100%")), l;
|
|
25
|
+
}
|
|
26
|
+
function A(t) {
|
|
27
|
+
var m;
|
|
28
|
+
if (!w.some((u) => u == t.target))
|
|
29
|
+
return;
|
|
30
|
+
const e = s(c);
|
|
31
|
+
if (!e)
|
|
32
|
+
return;
|
|
33
|
+
const i = e.$el, l = t.type === "touchstart" && t.touches.length > 0 ? t.touches[0] : t;
|
|
34
|
+
if (g.value.x = l.clientX, g.value.y = l.clientY, p = {
|
|
35
|
+
left: z.value ? i.offsetLeft : void 0,
|
|
36
|
+
top: W.value ? i.offsetTop : void 0,
|
|
37
|
+
height: D.value ? parseInt(window.getComputedStyle(i).getPropertyValue("height")) : void 0,
|
|
38
|
+
width: C.value ? parseInt(window.getComputedStyle(i).getPropertyValue("width")) : void 0
|
|
39
|
+
}, o = B(p), ((m = n.onStart) == null ? void 0 : m.call(n, g.value, t)) === !1)
|
|
40
|
+
return;
|
|
41
|
+
let v = t.target;
|
|
42
|
+
document.documentElement.style.cursor = N(v.dataset.handle), f = v.dataset.handle, d.push(r("mousemove", L)), d.push(r("mouseup", V)), d.push(r("touchmove", L)), d.push(r("touchend", V)), R(t);
|
|
43
|
+
}
|
|
44
|
+
function L(t) {
|
|
45
|
+
const e = s(c);
|
|
46
|
+
if (!e)
|
|
47
|
+
return;
|
|
48
|
+
const i = e.$el, l = t.type === "touchmove" && t.touches.length > 0 ? t.touches[0] : t;
|
|
49
|
+
let v = l.clientX - g.value.x, m = l.clientY - g.value.y;
|
|
50
|
+
const u = s(p);
|
|
51
|
+
if (f.includes("t")) {
|
|
52
|
+
const h = Math.min(M, Math.max(S, (u.height ?? 0) - m));
|
|
53
|
+
o.height = h, o.top = (u.top ?? 0) + m;
|
|
54
|
+
}
|
|
55
|
+
if (f.includes("b")) {
|
|
56
|
+
const h = Math.min(M, Math.max(S, (u.height ?? 0) + m));
|
|
57
|
+
o.height = h;
|
|
58
|
+
}
|
|
59
|
+
if (f.includes("l")) {
|
|
60
|
+
const h = Math.min(I, Math.max(H, (u.width ?? 0) - v));
|
|
61
|
+
o.width = h;
|
|
62
|
+
}
|
|
63
|
+
if (f.includes("r")) {
|
|
64
|
+
const h = Math.min(I, Math.max(H, (u.width ?? 0) + v));
|
|
65
|
+
o.width = h;
|
|
66
|
+
}
|
|
67
|
+
i.dispatchEvent(new CustomEvent("resize")), R(t), E(o);
|
|
68
|
+
}
|
|
69
|
+
function V() {
|
|
70
|
+
document.documentElement.style.cursor = "", f = null, d.forEach((t) => {
|
|
71
|
+
t();
|
|
72
|
+
}), d.length = 0;
|
|
73
|
+
}
|
|
74
|
+
function N(t) {
|
|
75
|
+
const e = {
|
|
76
|
+
t: "n",
|
|
77
|
+
r: "e",
|
|
78
|
+
b: "s",
|
|
79
|
+
l: "w"
|
|
80
|
+
};
|
|
81
|
+
return t.split("").map((i) => e[i]).join("") + "-resize";
|
|
82
|
+
}
|
|
83
|
+
function G() {
|
|
84
|
+
const t = s(c);
|
|
85
|
+
if (!t)
|
|
86
|
+
return;
|
|
87
|
+
const e = t.$el;
|
|
88
|
+
e.style.transition = "width 0.5s, height 0.5s, top 0.5s, left 0.5s", T.value = !0, p = {
|
|
89
|
+
height: parseInt(window.getComputedStyle(e).getPropertyValue("height")),
|
|
90
|
+
width: parseInt(window.getComputedStyle(e).getPropertyValue("width")),
|
|
91
|
+
top: e.offsetTop,
|
|
92
|
+
left: e.offsetLeft,
|
|
93
|
+
position: "absolute"
|
|
94
|
+
}, E(p), e.offsetHeight;
|
|
95
|
+
const i = p;
|
|
96
|
+
o = {
|
|
97
|
+
height: i.height,
|
|
98
|
+
width: (i.width ?? 100) / 2,
|
|
99
|
+
top: (i.top ?? 0) + 2,
|
|
100
|
+
left: (i.left ?? 0) + 2,
|
|
101
|
+
position: "absolute"
|
|
102
|
+
}, E(o), r(e, "transitionend", () => {
|
|
103
|
+
e.style.transition = "", T.value = !1;
|
|
104
|
+
}, { once: !0 });
|
|
105
|
+
}
|
|
106
|
+
function E(t) {
|
|
107
|
+
const e = s(c);
|
|
108
|
+
if (!e)
|
|
109
|
+
return;
|
|
110
|
+
const i = e.$el;
|
|
111
|
+
t.top ? i.style.top = `${t.top}px` : i.style.top = void 0, t.left ? i.style.left = `${t.left}px` : i.style.left = void 0, t.height ? i.style.height = `${t.height}px` : i.style.height = void 0, t.width ? i.style.width = `${t.width}px` : i.style.width = void 0, t.position ? i.style.position = `${t.position}` : i.style.position = void 0;
|
|
112
|
+
}
|
|
113
|
+
function Y(t) {
|
|
114
|
+
if (y.value)
|
|
115
|
+
return;
|
|
116
|
+
const e = s(c);
|
|
117
|
+
e && (_(e, t ?? k), x.push(r(e.$el, "mousedown", A)), x.push(r(e.$el, "touchstart", A)), y.value = !0);
|
|
118
|
+
}
|
|
119
|
+
function j() {
|
|
120
|
+
if (!y.value)
|
|
121
|
+
return;
|
|
122
|
+
const t = s(c);
|
|
123
|
+
t && (Z(t), G(), x.forEach((e) => {
|
|
124
|
+
e();
|
|
125
|
+
}), x.length = 0, y.value = !1);
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
resizingIsOn: y,
|
|
129
|
+
turnResizingOn: Y,
|
|
130
|
+
turnResizingOff: j
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export {
|
|
134
|
+
Q as useResizable
|
|
135
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RouteLocationNormalized } from 'vue-router';
|
|
2
|
+
|
|
3
|
+
export declare function guardRoute(to: RouteLocationNormalized, from: RouteLocationNormalized, restrictedName: string, loggedInHome: string): {
|
|
4
|
+
name: string;
|
|
5
|
+
path?: undefined;
|
|
6
|
+
} | {
|
|
7
|
+
path: string;
|
|
8
|
+
name?: undefined;
|
|
9
|
+
} | undefined;
|
|
10
|
+
export declare function useUrlUpdater(): {
|
|
11
|
+
replaceParams: (newParams: any) => void;
|
|
12
|
+
updateID: (id?: string, replace?: boolean) => void;
|
|
13
|
+
updateParams: (newParams: any) => void;
|
|
14
|
+
updateQuery: (key: string, value?: string, replace?: boolean) => void;
|
|
15
|
+
updateSearch: (str?: string, replace?: boolean) => void;
|
|
16
|
+
};
|