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,173 @@
|
|
|
1
|
+
import { ref as G } from "vue";
|
|
2
|
+
import { getActivePinia as S } from "pinia";
|
|
3
|
+
import { jwtEncrypt as L } from "./helpers.mjs";
|
|
4
|
+
let w;
|
|
5
|
+
function N() {
|
|
6
|
+
return w;
|
|
7
|
+
}
|
|
8
|
+
function j(n) {
|
|
9
|
+
const g = "isInDemoMode", I = localStorage.getItem(g), A = G((n == null ? void 0 : n.startInDemo) == !0 || I == "true"), t = (n == null ? void 0 : n.apis) ?? [];
|
|
10
|
+
let a;
|
|
11
|
+
function o(e) {
|
|
12
|
+
var u = (n == null ? void 0 : n.getProfiles) != null ? (n == null ? void 0 : n.getProfiles()) ?? [] : [], r = u.find((l) => l.id == e);
|
|
13
|
+
return r ?? (r = u.find((l) => l.isDefault)), r;
|
|
14
|
+
}
|
|
15
|
+
function h(e) {
|
|
16
|
+
var l, f;
|
|
17
|
+
if (((l = n == null ? void 0 : n.auth) == null ? void 0 : l.isLoggedIn.value) == !0 && (n == null || n.auth.logout()), (n == null ? void 0 : n.auth) != null) {
|
|
18
|
+
var u = n == null ? void 0 : n.getAuthToken;
|
|
19
|
+
u ?? (u = (f = o(e)) == null ? void 0 : f.getAuthToken), u != null && n.auth.setAuth(L(u()));
|
|
20
|
+
}
|
|
21
|
+
if (e != null) {
|
|
22
|
+
var r = o(e);
|
|
23
|
+
r != null && (n == null ? void 0 : n.getOwnerID) != null && (a = n.getOwnerID(r));
|
|
24
|
+
}
|
|
25
|
+
A.value = !0, localStorage.setItem(g, "true"), e == null && (window.location.href = location.href);
|
|
26
|
+
}
|
|
27
|
+
function U(e) {
|
|
28
|
+
A.value = !1;
|
|
29
|
+
const u = S();
|
|
30
|
+
u && u._s.forEach((r) => {
|
|
31
|
+
r.$reset();
|
|
32
|
+
}), localStorage.setItem(g, "false"), (n == null ? void 0 : n.auth) != null && (n == null || n.auth.logout()), window.location.href = e == !0 ? location.origin : location.href;
|
|
33
|
+
}
|
|
34
|
+
function i(e) {
|
|
35
|
+
let u;
|
|
36
|
+
if (e.finalUrl != null) {
|
|
37
|
+
const r = new URL(e.finalUrl, "https://demo");
|
|
38
|
+
u = t.find((l) => l.path == r.pathname || l.path == r.pathname + r.search);
|
|
39
|
+
}
|
|
40
|
+
return u == null && (u = t.find((r) => Array.isArray(r.nav) ? r.nav.some((l) => l == e.nav) : r.nav == e.nav)), u == null && console.log(`No api group found for ${e.nav} and path: ${e.additionalUrl}`), u;
|
|
41
|
+
}
|
|
42
|
+
function m(e) {
|
|
43
|
+
return e.defaultFilter != null ? e.defaultFilter(e.data ?? [], a) : e.defaultFilterProp != null && a != null ? (e.data ?? []).filter((u) => u[e.defaultFilterProp] != null && u[e.defaultFilterProp] == a) : e.data ?? [];
|
|
44
|
+
}
|
|
45
|
+
function E(e) {
|
|
46
|
+
var l, f;
|
|
47
|
+
if (t == null)
|
|
48
|
+
return Promise.resolve("no demo data available for this api");
|
|
49
|
+
const u = e.id ?? ((l = e.data) == null ? void 0 : l.id) ?? ((f = e.params) == null ? void 0 : f.id), r = i(e);
|
|
50
|
+
if (u != null && (r == null ? void 0 : r.data) != null) {
|
|
51
|
+
const d = r.data.findIndex((c) => c.id == u);
|
|
52
|
+
d >= 0 && (r.deleteAction != null ? r.deleteAction(r.data, d) : r.data.splice(d, 1));
|
|
53
|
+
}
|
|
54
|
+
return new Promise(function(d) {
|
|
55
|
+
setTimeout(function() {
|
|
56
|
+
d({
|
|
57
|
+
data: void 0
|
|
58
|
+
});
|
|
59
|
+
}, 200);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function v(e, u, r) {
|
|
63
|
+
var l = r;
|
|
64
|
+
if (l != null && (l = l.replaceAll("/", "").replaceAll(" ", "").toLowerCase()), l != null) {
|
|
65
|
+
if (l = l.split("?")[0], u == "Get") {
|
|
66
|
+
if (l != null && e.getActions != null && e.getActions[l] != null)
|
|
67
|
+
return e.getActions[l];
|
|
68
|
+
} else if (u == "Patch") {
|
|
69
|
+
if (l != null && e.patchActions != null && e.patchActions[l] != null)
|
|
70
|
+
return e.patchActions[l];
|
|
71
|
+
} else if (u == "Post" && l != null && e.postActions != null && e.postActions[l] != null)
|
|
72
|
+
return e.postActions[l];
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function F(e) {
|
|
76
|
+
var c, s;
|
|
77
|
+
if (t == null)
|
|
78
|
+
throw new Error("no demo data available for this api");
|
|
79
|
+
const u = e.id ?? ((c = e.data) == null ? void 0 : c.id) ?? ((s = e.params) == null ? void 0 : s.id), r = i(e);
|
|
80
|
+
let l;
|
|
81
|
+
if (r != null) {
|
|
82
|
+
r.data ?? (r.data = []);
|
|
83
|
+
var f = m(r), d = v(r, "Get", e.additionalUrl);
|
|
84
|
+
d != null ? l = d(f, e, u) : r.getAction != null ? l = r.getAction(f, u) : u != null ? l = f.find((P) => P.id == u) : r.path != null && (l = f);
|
|
85
|
+
}
|
|
86
|
+
return l == null ? Promise.resolve(void 0) : new Promise((P) => {
|
|
87
|
+
setTimeout(() => {
|
|
88
|
+
P({
|
|
89
|
+
data: l
|
|
90
|
+
});
|
|
91
|
+
}, 200);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
function b(e) {
|
|
95
|
+
if (t == null)
|
|
96
|
+
throw new Error("no demo data available for this api");
|
|
97
|
+
const u = i(e);
|
|
98
|
+
let r;
|
|
99
|
+
if (u != null) {
|
|
100
|
+
u.data ?? (u.data = []);
|
|
101
|
+
var l = m(u), f = v(u, "Get", e.additionalUrl);
|
|
102
|
+
f != null ? r = f(l, e) : u.getAllAction != null ? r = u.getAllAction(l, e.params) : r = l;
|
|
103
|
+
}
|
|
104
|
+
return r == null ? Promise.resolve(void 0) : new Promise((d) => {
|
|
105
|
+
setTimeout(() => {
|
|
106
|
+
d({
|
|
107
|
+
data: r,
|
|
108
|
+
filters: [],
|
|
109
|
+
count: (r == null ? void 0 : r.length) ?? 0
|
|
110
|
+
});
|
|
111
|
+
}, 200);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
function y(e) {
|
|
115
|
+
if (t == null)
|
|
116
|
+
throw new Error("no demo data available for this api");
|
|
117
|
+
const u = i(e);
|
|
118
|
+
let r;
|
|
119
|
+
if (u != null) {
|
|
120
|
+
u.data ?? (u.data = []);
|
|
121
|
+
var l = m(u), f = v(u, "Post", e.additionalUrl);
|
|
122
|
+
f != null ? r = f(l, e) : u.postAction != null ? r = u.postAction(l, e.data) : e.data != null && (e.data.id == null && (e.data.id = (((l == null ? void 0 : l.length) ?? 0) + 1).toString()), r = e.data, l == null || l.push(r));
|
|
123
|
+
}
|
|
124
|
+
return r == null ? Promise.resolve(void 0) : new Promise((d) => {
|
|
125
|
+
setTimeout(() => {
|
|
126
|
+
d({
|
|
127
|
+
data: r
|
|
128
|
+
});
|
|
129
|
+
}, 200);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
function T(e) {
|
|
133
|
+
if (t == null)
|
|
134
|
+
throw new Error("no demo data available for this api");
|
|
135
|
+
const u = i(e);
|
|
136
|
+
let r;
|
|
137
|
+
if (u != null) {
|
|
138
|
+
u.data ?? (u.data = []);
|
|
139
|
+
var l = m(u), f = v(u, "Patch", e.additionalUrl);
|
|
140
|
+
if (f != null)
|
|
141
|
+
r = f(l, e);
|
|
142
|
+
else if (u.patchAction != null)
|
|
143
|
+
r = u.patchAction(l, e.data);
|
|
144
|
+
else if (e.data.id != null) {
|
|
145
|
+
const d = l == null ? void 0 : l.findIndex((c) => c.id == e.data.id);
|
|
146
|
+
d != null && d > -1 && (l == null || l.splice(d, 1, e.data)), r = e.data;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return r == null ? Promise.resolve(void 0) : new Promise((d) => {
|
|
150
|
+
setTimeout(() => {
|
|
151
|
+
d({
|
|
152
|
+
data: r
|
|
153
|
+
});
|
|
154
|
+
}, 200);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
return w = {
|
|
158
|
+
getProfiles: n == null ? void 0 : n.getProfiles,
|
|
159
|
+
endDemo: U,
|
|
160
|
+
isDemoing: A,
|
|
161
|
+
startDemo: h,
|
|
162
|
+
data: t,
|
|
163
|
+
deleteItem: E,
|
|
164
|
+
get: F,
|
|
165
|
+
getAll: b,
|
|
166
|
+
post: y,
|
|
167
|
+
patch: T
|
|
168
|
+
}, w;
|
|
169
|
+
}
|
|
170
|
+
export {
|
|
171
|
+
j as createDemo,
|
|
172
|
+
N as useDemo
|
|
173
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { ListProps } from './list.ts';
|
|
2
|
+
|
|
3
|
+
export interface BTUseDialogOption extends RegisterDialogOptions {
|
|
4
|
+
}
|
|
5
|
+
export interface BTUseDialog {
|
|
6
|
+
options: BTUseDialogOption[];
|
|
7
|
+
}
|
|
8
|
+
export type DialogResolve<T> = (value: DialogReturn<T> | PromiseLike<DialogReturn<T>>) => void;
|
|
9
|
+
export interface RegisterDialogOptions {
|
|
10
|
+
dialogType: 'items' | 'number' | 'date' | 'string' | 'confirm';
|
|
11
|
+
open: (options: any, resolve: DialogResolve<any>) => void;
|
|
12
|
+
}
|
|
13
|
+
export interface DialogReturn<T> {
|
|
14
|
+
isError: boolean;
|
|
15
|
+
isCancelled: boolean;
|
|
16
|
+
isConfirmed: boolean;
|
|
17
|
+
result?: T;
|
|
18
|
+
}
|
|
19
|
+
export declare function registerDialog(options: RegisterDialogOptions): () => void;
|
|
20
|
+
export interface UseDialogItemsOptions extends ListProps<any, any, any> {
|
|
21
|
+
cancelText?: string;
|
|
22
|
+
confirmText?: string;
|
|
23
|
+
/**whether to show raw object/string in line items */
|
|
24
|
+
height?: string;
|
|
25
|
+
isRaw?: boolean;
|
|
26
|
+
itemActionTitle?: string;
|
|
27
|
+
itemActionFilter?: string;
|
|
28
|
+
itemActionFunction?: Function | undefined;
|
|
29
|
+
itemActionPrefix?: string;
|
|
30
|
+
itemActionProp?: string;
|
|
31
|
+
itemActionTruncate?: boolean;
|
|
32
|
+
itemSubtitle?: string;
|
|
33
|
+
itemSubtitleFilter?: string;
|
|
34
|
+
itemSubtitleFunction?: Function | undefined;
|
|
35
|
+
itemSubtitlePrefix?: string;
|
|
36
|
+
itemSubtitleProp?: string;
|
|
37
|
+
itemSubtitleTruncate?: boolean;
|
|
38
|
+
itemTitle?: string;
|
|
39
|
+
itemTitleFilter?: string;
|
|
40
|
+
itemTitleFunction?: Function | undefined;
|
|
41
|
+
itemTitlePrefix?: string;
|
|
42
|
+
itemTitleProp?: string;
|
|
43
|
+
itemTitleTruncate?: boolean;
|
|
44
|
+
itemValue?: string;
|
|
45
|
+
lines?: 'one' | 'two' | 'three';
|
|
46
|
+
maxWidth?: string;
|
|
47
|
+
onDisabled?: (item: any) => boolean;
|
|
48
|
+
/**defaults to single */
|
|
49
|
+
refresh?: boolean;
|
|
50
|
+
selectMode?: 'single' | 'multi';
|
|
51
|
+
selected?: any[];
|
|
52
|
+
selector?: (item: any) => string;
|
|
53
|
+
subtitle?: string;
|
|
54
|
+
text?: string;
|
|
55
|
+
title?: string;
|
|
56
|
+
}
|
|
57
|
+
export declare function useDialogSelect<T>(options: UseDialogItemsOptions): Promise<DialogReturn<T>>;
|
|
58
|
+
export interface UseDialogDateOptions extends ListProps<any, any, any> {
|
|
59
|
+
cancelText?: string;
|
|
60
|
+
confirmText?: string;
|
|
61
|
+
/**whether to show raw object/string in line items */
|
|
62
|
+
height?: string;
|
|
63
|
+
dateFrom?: string;
|
|
64
|
+
dateRules?: Function | unknown[];
|
|
65
|
+
format?: string;
|
|
66
|
+
fromNow?: boolean;
|
|
67
|
+
horizontal?: boolean;
|
|
68
|
+
onSelect?: (item: any) => void;
|
|
69
|
+
range?: boolean;
|
|
70
|
+
startingDate?: any;
|
|
71
|
+
useTime?: boolean;
|
|
72
|
+
maxWidth?: string;
|
|
73
|
+
subtitle?: string;
|
|
74
|
+
text?: string;
|
|
75
|
+
title?: string;
|
|
76
|
+
}
|
|
77
|
+
export declare function useDialogDate<T>(options: UseDialogDateOptions): Promise<DialogReturn<T>>;
|
|
78
|
+
export interface UseDialogNumberOptions {
|
|
79
|
+
buttonClass?: string;
|
|
80
|
+
buttonHeight?: string;
|
|
81
|
+
cancelText?: string;
|
|
82
|
+
confirmText?: string;
|
|
83
|
+
height?: string;
|
|
84
|
+
maxWidth?: string;
|
|
85
|
+
prefix?: string;
|
|
86
|
+
showDecimal?: boolean;
|
|
87
|
+
showNegative?: boolean;
|
|
88
|
+
startValue?: number;
|
|
89
|
+
subtitle?: string;
|
|
90
|
+
text?: string;
|
|
91
|
+
title?: string;
|
|
92
|
+
}
|
|
93
|
+
export declare function useDialogNumber(options: UseDialogNumberOptions): Promise<DialogReturn<number>>;
|
|
94
|
+
export interface UseDialogStringOptions {
|
|
95
|
+
cancelText?: string;
|
|
96
|
+
confirmText?: string;
|
|
97
|
+
height?: string;
|
|
98
|
+
label?: string;
|
|
99
|
+
maxWidth?: string;
|
|
100
|
+
placeholder?: string;
|
|
101
|
+
rules?: any[];
|
|
102
|
+
startValue?: string;
|
|
103
|
+
subtitle?: string;
|
|
104
|
+
text?: string;
|
|
105
|
+
title?: string;
|
|
106
|
+
}
|
|
107
|
+
export declare function useDialogString(options: UseDialogStringOptions): Promise<DialogReturn<string>>;
|
|
108
|
+
export interface UseDialogConfirmOptions {
|
|
109
|
+
cancelText?: string;
|
|
110
|
+
confirmText?: string;
|
|
111
|
+
height?: string;
|
|
112
|
+
maxWidth?: string;
|
|
113
|
+
subtitle?: string;
|
|
114
|
+
text?: string;
|
|
115
|
+
title?: string;
|
|
116
|
+
}
|
|
117
|
+
export declare function useDialogConfirm(options: UseDialogConfirmOptions): Promise<DialogReturn<string>>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
let i;
|
|
2
|
+
function n(s) {
|
|
3
|
+
return i == null && (i = {
|
|
4
|
+
options: []
|
|
5
|
+
}), i.options.push(s), () => {
|
|
6
|
+
const o = i.options.findIndex((e) => e === s);
|
|
7
|
+
i.options.splice(o, 1);
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function r(s) {
|
|
11
|
+
const o = i == null ? void 0 : i.options.find((e) => e.dialogType == "items");
|
|
12
|
+
return o == null ? Promise.resolve({
|
|
13
|
+
isError: !0,
|
|
14
|
+
isCancelled: !1,
|
|
15
|
+
isConfirmed: !1,
|
|
16
|
+
result: void 0
|
|
17
|
+
}) : new Promise((e) => {
|
|
18
|
+
o.open(s, e);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function l(s) {
|
|
22
|
+
const o = i == null ? void 0 : i.options.find((e) => e.dialogType == "date");
|
|
23
|
+
return o == null ? Promise.resolve({
|
|
24
|
+
isError: !0,
|
|
25
|
+
isCancelled: !1,
|
|
26
|
+
isConfirmed: !1,
|
|
27
|
+
result: void 0
|
|
28
|
+
}) : new Promise((e) => {
|
|
29
|
+
o.open(s, e);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function t(s) {
|
|
33
|
+
const o = i == null ? void 0 : i.options.find((e) => e.dialogType == "number");
|
|
34
|
+
return o == null ? Promise.resolve({
|
|
35
|
+
isError: !0,
|
|
36
|
+
isCancelled: !1,
|
|
37
|
+
isConfirmed: !1,
|
|
38
|
+
result: void 0
|
|
39
|
+
}) : new Promise((e) => {
|
|
40
|
+
o.open(s, e);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function f(s) {
|
|
44
|
+
const o = i == null ? void 0 : i.options.find((e) => e.dialogType == "string");
|
|
45
|
+
return o == null ? Promise.resolve({
|
|
46
|
+
isError: !0,
|
|
47
|
+
isCancelled: !1,
|
|
48
|
+
isConfirmed: !1,
|
|
49
|
+
result: void 0
|
|
50
|
+
}) : new Promise((e) => {
|
|
51
|
+
o.open(s, e);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function d(s) {
|
|
55
|
+
const o = i == null ? void 0 : i.options.find((e) => e.dialogType == "confirm");
|
|
56
|
+
return o == null ? Promise.resolve({
|
|
57
|
+
isError: !0,
|
|
58
|
+
isCancelled: !1,
|
|
59
|
+
isConfirmed: !1,
|
|
60
|
+
result: void 0
|
|
61
|
+
}) : new Promise((e) => {
|
|
62
|
+
o.open(s, e);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
n as registerDialog,
|
|
67
|
+
d as useDialogConfirm,
|
|
68
|
+
l as useDialogDate,
|
|
69
|
+
t as useDialogNumber,
|
|
70
|
+
r as useDialogSelect,
|
|
71
|
+
f as useDialogString
|
|
72
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BTDemo } from '../composables/demo.ts';
|
|
2
|
+
import { RouteLocationNormalized } from 'vue-router';
|
|
3
|
+
|
|
4
|
+
export interface UseDocumentMetaOptions {
|
|
5
|
+
demo?: BTDemo;
|
|
6
|
+
}
|
|
7
|
+
export interface BTDocumentMeta {
|
|
8
|
+
updateMeta: (to: RouteLocationNormalized) => void;
|
|
9
|
+
}
|
|
10
|
+
/**routes with meta object */
|
|
11
|
+
export declare function useDocumentMeta(options?: UseDocumentMetaOptions): BTDocumentMeta;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var d = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
2
|
+
function m(i) {
|
|
3
|
+
function n(u) {
|
|
4
|
+
var a;
|
|
5
|
+
const l = u.matched.slice().reverse().find((t) => t.meta && t.meta.title);
|
|
6
|
+
if (l)
|
|
7
|
+
document.title = l.meta.title;
|
|
8
|
+
else {
|
|
9
|
+
const t = d.VITE_NODE_ENV;
|
|
10
|
+
let e = "";
|
|
11
|
+
t == "development" ? e = "BWeb Dev" : t == "staging" ? e = "BlitzIt Sandpit" : e = "BlitzIt Web | Cloud-Based Wholesale Logistics Platform", ((a = i == null ? void 0 : i.demo) == null ? void 0 : a.isDemoing.value) == !0 && (e = `Training: ${e}`), document.title = e;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
updateMeta: n
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
m as useDocumentMeta
|
|
20
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Position } from '@vueuse/core';
|
|
2
|
+
import { ComponentPublicInstance, MaybeRefOrGetter, Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
export interface UseDraggableOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Only start the dragging when click on the element directly
|
|
7
|
+
*
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
preventDefault?: MaybeRefOrGetter<boolean>;
|
|
11
|
+
stopPropagation?: MaybeRefOrGetter<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether dispatch events in capturing phase
|
|
14
|
+
*
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
capture?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Element to attach `pointermove` and `pointerup` events to.
|
|
20
|
+
*
|
|
21
|
+
* @default window
|
|
22
|
+
*/
|
|
23
|
+
draggingElement?: MaybeRefOrGetter<HTMLElement | SVGElement | Window | Document | null | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* Element for calculating bounds (If not set, it will use the event's target).
|
|
26
|
+
*
|
|
27
|
+
* @default undefined
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Handle that triggers the drag event
|
|
31
|
+
*
|
|
32
|
+
* @default target
|
|
33
|
+
*/
|
|
34
|
+
handle?: MaybeRefOrGetter<HTMLElement | SVGElement | null | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Initial position of the element.
|
|
37
|
+
*
|
|
38
|
+
* @default { x: 0, y: 0 }
|
|
39
|
+
*/
|
|
40
|
+
initialValue?: MaybeRefOrGetter<Position>;
|
|
41
|
+
onStart?: (position: Position, event: PointerEvent) => void | false;
|
|
42
|
+
onMove?: (position: Position, event: PointerEvent) => void;
|
|
43
|
+
onEnd?: (position: Position, event: PointerEvent) => void;
|
|
44
|
+
/**
|
|
45
|
+
* Axis to drag on.
|
|
46
|
+
*
|
|
47
|
+
* @default 'both'
|
|
48
|
+
*/
|
|
49
|
+
axis?: 'x' | 'y' | 'both';
|
|
50
|
+
}
|
|
51
|
+
export declare function useDraggable(target: MaybeRefOrGetter<ComponentPublicInstance | null>, //HTMLElement | SVGElement | null | undefined>,
|
|
52
|
+
handle: MaybeRefOrGetter<ComponentPublicInstance | null>, options?: UseDraggableOptions): {
|
|
53
|
+
draggingIsOn: Ref<boolean, boolean>;
|
|
54
|
+
turnDraggableOff: () => void;
|
|
55
|
+
turnDraggableOn: () => void;
|
|
56
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ref as X, toValue as r } from "vue";
|
|
2
|
+
import { useEventListener as c } from "@vueuse/core";
|
|
3
|
+
function I(m, d, u = {}) {
|
|
4
|
+
const {
|
|
5
|
+
preventDefault: P = !1,
|
|
6
|
+
stopPropagation: $ = !1,
|
|
7
|
+
axis: a = "both"
|
|
8
|
+
} = u, p = { capture: u.capture ?? !0 };
|
|
9
|
+
let o = { x: 0, y: 0 }, g = { x: 0, y: 0 }, s = { x: 0, y: 0 }, h = [], l = [], f = X(!1);
|
|
10
|
+
function x(t) {
|
|
11
|
+
r(P) && t.preventDefault(), r($) && t.stopPropagation();
|
|
12
|
+
}
|
|
13
|
+
function E(t) {
|
|
14
|
+
var y;
|
|
15
|
+
const e = r(m);
|
|
16
|
+
if (!e)
|
|
17
|
+
return;
|
|
18
|
+
const n = e.$el, i = t.type === "touchstart" && t.touches.length > 0 ? t.touches[0] : t;
|
|
19
|
+
s = { x: i.clientX, y: i.clientY }, g = {
|
|
20
|
+
x: n.offsetLeft,
|
|
21
|
+
y: n.offsetTop
|
|
22
|
+
}, o = {
|
|
23
|
+
x: n.offsetLeft,
|
|
24
|
+
y: n.offsetTop
|
|
25
|
+
}, ((y = u.onStart) == null ? void 0 : y.call(u, s, t)) !== !1 && (l.push(c("mousemove", T)), l.push(c("touchmove", T)), l.push(c("mouseup", D)), l.push(c("touchend", D)), x(t));
|
|
26
|
+
}
|
|
27
|
+
function T(t) {
|
|
28
|
+
var b;
|
|
29
|
+
if (!s || !r(m))
|
|
30
|
+
return;
|
|
31
|
+
const v = t.type === "touchmove" && t.touches.length > 0 ? t.touches[0] : t;
|
|
32
|
+
let i = v.clientX - s.x, y = v.clientY - s.y;
|
|
33
|
+
(a === "x" || a === "both") && (o.x = g.x + i), (a === "y" || a === "both") && (o.y = g.y + y), (b = u.onMove) == null || b.call(u, o, t), x(t), L(o);
|
|
34
|
+
}
|
|
35
|
+
function D(t) {
|
|
36
|
+
var e;
|
|
37
|
+
document.documentElement.style.cursor = "", l.forEach((n) => {
|
|
38
|
+
n();
|
|
39
|
+
}), l.length = 0, (e = u.onEnd) == null || e.call(u, o, t), x(t);
|
|
40
|
+
}
|
|
41
|
+
function L(t) {
|
|
42
|
+
const e = r(m);
|
|
43
|
+
if (!e)
|
|
44
|
+
return;
|
|
45
|
+
const n = e.$el;
|
|
46
|
+
n.style.left = `${t.x}px`, n.style.top = `${t.y}px`;
|
|
47
|
+
}
|
|
48
|
+
function O() {
|
|
49
|
+
if (r(f))
|
|
50
|
+
return;
|
|
51
|
+
const t = r(d);
|
|
52
|
+
if (!t)
|
|
53
|
+
return;
|
|
54
|
+
const e = t.$el;
|
|
55
|
+
e.style.cursor = "move", h.push(c(e, "mousedown", E, p)), h.push(c(e, "touchstart", E, p)), f.value = !0;
|
|
56
|
+
}
|
|
57
|
+
function S() {
|
|
58
|
+
if (!r(f))
|
|
59
|
+
return;
|
|
60
|
+
const t = r(d);
|
|
61
|
+
if (!t)
|
|
62
|
+
return;
|
|
63
|
+
const e = t.$el;
|
|
64
|
+
e.style.cursor = "", h.forEach((n) => {
|
|
65
|
+
n();
|
|
66
|
+
}), h.length = 0, f.value = !1;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
draggingIsOn: f,
|
|
70
|
+
turnDraggableOff: S,
|
|
71
|
+
turnDraggableOn: O
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
I as useDraggable
|
|
76
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ShallowRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface CreateFeedbackOptions {
|
|
4
|
+
/**Whether to keep this instance as current or to handle separately */
|
|
5
|
+
createSeparately?: boolean;
|
|
6
|
+
/**OVERRIDES DEFAULT final url which is [UseDataURL] + [feedbackURL] */
|
|
7
|
+
feedbackFinalURL?: string;
|
|
8
|
+
/**OVERRIDES DEFAULT which is '/api/v1/Feedback/post' */
|
|
9
|
+
feedbackURL?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FeedbackDTO {
|
|
12
|
+
msg?: string;
|
|
13
|
+
rating?: number;
|
|
14
|
+
route?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface BTFeedback {
|
|
17
|
+
loadingMsg: ShallowRef<string | undefined>;
|
|
18
|
+
sendAsync: (obj: FeedbackDTO) => Promise<boolean>;
|
|
19
|
+
}
|
|
20
|
+
export declare function useFeedback(): BTFeedback;
|
|
21
|
+
export declare function createFeedback(options?: CreateFeedbackOptions): {
|
|
22
|
+
loadingMsg: ShallowRef<string | undefined>;
|
|
23
|
+
sendAsync: (obj: FeedbackDTO) => Promise<boolean>;
|
|
24
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { useActions as U } from "./actions.mjs";
|
|
2
|
+
import { appendUrl as c } from "./helpers.mjs";
|
|
3
|
+
import { useDataUrl as l } from "./urls.mjs";
|
|
4
|
+
let f;
|
|
5
|
+
function L() {
|
|
6
|
+
return f;
|
|
7
|
+
}
|
|
8
|
+
function n(e) {
|
|
9
|
+
const { actionLoadingMsg: u, apiPost: d } = U();
|
|
10
|
+
var r = "";
|
|
11
|
+
(e == null ? void 0 : e.feedbackFinalURL) != null ? r = e == null ? void 0 : e.feedbackFinalURL : (e == null ? void 0 : e.feedbackURL) != null ? r = c(l(), e == null ? void 0 : e.feedbackURL) : r = c(l(), "/Feedback/post");
|
|
12
|
+
async function b(k) {
|
|
13
|
+
try {
|
|
14
|
+
return await d({
|
|
15
|
+
data: k,
|
|
16
|
+
finalUrl: r,
|
|
17
|
+
throwError: !0
|
|
18
|
+
}), !0;
|
|
19
|
+
} catch (t) {
|
|
20
|
+
return console.log("feedback post error"), console.log(t), !1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const a = {
|
|
24
|
+
loadingMsg: u,
|
|
25
|
+
sendAsync: b
|
|
26
|
+
};
|
|
27
|
+
return (e == null ? void 0 : e.createSeparately) !== !0 && (f = a), a;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
n as createFeedback,
|
|
31
|
+
L as useFeedback
|
|
32
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BTDemo } from './demo.ts';
|
|
2
|
+
import { BTDates } from './dates.ts';
|
|
3
|
+
import { BTAuth } from './auth.ts';
|
|
4
|
+
|
|
5
|
+
export interface BTFilters {
|
|
6
|
+
findFilter: (mFilter: string | undefined) => Function;
|
|
7
|
+
}
|
|
8
|
+
export declare const ToDayDate = "ccc | d LLL";
|
|
9
|
+
export declare const ToDayMonth = "d LLL";
|
|
10
|
+
export declare const ToDayMonthYear = "d LLL yyyy";
|
|
11
|
+
export declare const ToDayOfWeek = "ccc";
|
|
12
|
+
export declare const ToDayShortDate = "ccc dd LLL yyyy";
|
|
13
|
+
export declare const ToDayShortDateAndTime = "ccc dd LLL @ hh:mm a";
|
|
14
|
+
export declare const ToLongDate = "ccc dd LLL yyyy";
|
|
15
|
+
export declare const ToLongDateAndTime = "ccc dd LLL yyyy hh:mm a";
|
|
16
|
+
export declare const ToConditionalFormat = "dd/MM/yy,dd/MM";
|
|
17
|
+
export declare const ToShortDate = "dd LLL yyyy";
|
|
18
|
+
export declare const ToShortDateAndTime = "dd LLL yyyy hh:mm a";
|
|
19
|
+
export declare const ToTime = "hh:mm a";
|
|
20
|
+
export interface UseFiltersOptions {
|
|
21
|
+
auth: BTAuth;
|
|
22
|
+
dates: BTDates;
|
|
23
|
+
demo: BTDemo;
|
|
24
|
+
filters?: any;
|
|
25
|
+
}
|
|
26
|
+
export declare function useFilters(): BTFilters;
|
|
27
|
+
export declare function createFilters(options: UseFiltersOptions): BTFilters;
|