bt-core-app 2.1.36 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
- package/dist/_virtual/_commonjsHelpers.mjs +30 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/dist/_virtual/index.mjs +4 -0
- package/dist/_virtual/localforage.mjs +4 -0
- package/dist/_virtual/luxon.mjs +6 -0
- package/dist/_virtual/matcher.mjs +4 -0
- package/dist/_virtual/parser.mjs +4 -0
- package/dist/bt-core/core/node_modules/@datasert/cronjs-matcher/dist/index.mjs +12 -0
- package/dist/bt-core/core/node_modules/@datasert/cronjs-matcher/dist/matcher.mjs +220 -0
- package/dist/bt-core/core/node_modules/@datasert/cronjs-parser/dist/parser.mjs +186 -0
- package/dist/bt-core/core/node_modules/@mdi/js/mdi.mjs +70 -0
- package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/main.css.mjs +1 -0
- package/dist/bt-core/core/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.mjs +5210 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/addLeadingZeros.mjs +7 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/defaultOptions.mjs +7 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/format/formatters.mjs +517 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/format/lightFormatters.mjs +59 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/format/longFormatters.mjs +52 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs +18 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/normalizeDates.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/normalizeInterval.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/_lib/protectedTokens.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/add.mjs +20 -0
- package/dist/bt-core/core/node_modules/date-fns/addDays.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/addHours.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/addMilliseconds.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/addMonths.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/addQuarters.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/addYears.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/compareAsc.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/constants.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/constructFrom.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/differenceInCalendarDays.mjs +16 -0
- package/dist/bt-core/core/node_modules/date-fns/differenceInCalendarYears.mjs +13 -0
- package/dist/bt-core/core/node_modules/date-fns/differenceInYears.mjs +17 -0
- package/dist/bt-core/core/node_modules/date-fns/eachDayOfInterval.mjs +20 -0
- package/dist/bt-core/core/node_modules/date-fns/eachQuarterOfInterval.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/endOfQuarter.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/endOfWeek.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/endOfYear.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/format.mjs +60 -0
- package/dist/bt-core/core/node_modules/date-fns/getDay.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getDayOfYear.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/getDaysInMonth.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/getDefaultOptions.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getHours.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getISODay.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/getISOWeek.mjs +12 -0
- package/dist/bt-core/core/node_modules/date-fns/getISOWeekYear.mjs +15 -0
- package/dist/bt-core/core/node_modules/date-fns/getMinutes.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getMonth.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getQuarter.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/getSeconds.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/getWeek.mjs +12 -0
- package/dist/bt-core/core/node_modules/date-fns/getWeekYear.mjs +17 -0
- package/dist/bt-core/core/node_modules/date-fns/getYear.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isAfter.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isBefore.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isDate.mjs +7 -0
- package/dist/bt-core/core/node_modules/date-fns/isEqual.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/isSameQuarter.mjs +14 -0
- package/dist/bt-core/core/node_modules/date-fns/isValid.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs +18 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildMatchFn.mjs +31 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs +17 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs +70 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatLong.mjs +33 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/localize.mjs +155 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US/_lib/match.mjs +110 -0
- package/dist/bt-core/core/node_modules/date-fns/locale/en-US.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/Parser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/Setter.mjs +41 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/constants.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/AMPMParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DateParser.mjs +61 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.mjs +51 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayParser.mjs +45 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/EraParser.mjs +30 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.mjs +21 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.mjs +33 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.mjs +33 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISODayParser.mjs +99 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.mjs +48 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.mjs +48 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.mjs +40 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.mjs +74 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.mjs +48 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.mjs +69 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/MinuteParser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/MonthParser.mjs +71 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/QuarterParser.mjs +70 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/SecondParser.mjs +32 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.mjs +74 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.mjs +71 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.mjs +70 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.mjs +22 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers/YearParser.mjs +49 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/parsers.mjs +67 -0
- package/dist/bt-core/core/node_modules/date-fns/parse/_lib/utils.mjs +103 -0
- package/dist/bt-core/core/node_modules/date-fns/parse.mjs +90 -0
- package/dist/bt-core/core/node_modules/date-fns/set.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/setDay.mjs +12 -0
- package/dist/bt-core/core/node_modules/date-fns/setHours.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setISODay.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/setISOWeek.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/setMilliseconds.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setMinutes.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setMonth.mjs +13 -0
- package/dist/bt-core/core/node_modules/date-fns/setSeconds.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/setWeek.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/setYear.mjs +10 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfDay.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfISOWeek.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfISOWeekYear.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfMonth.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfQuarter.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfWeek.mjs +11 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfWeekYear.mjs +13 -0
- package/dist/bt-core/core/node_modules/date-fns/startOfYear.mjs +9 -0
- package/dist/bt-core/core/node_modules/date-fns/sub.mjs +19 -0
- package/dist/bt-core/core/node_modules/date-fns/subDays.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/subMonths.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/subYears.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/toDate.mjs +8 -0
- package/dist/bt-core/core/node_modules/date-fns/transpose.mjs +18 -0
- package/dist/bt-core/core/node_modules/localforage/dist/localforage.mjs +1454 -0
- package/dist/bt-core/core/node_modules/luxon/src/datetime.mjs +1855 -0
- package/dist/bt-core/core/node_modules/luxon/src/duration.mjs +753 -0
- package/dist/bt-core/core/node_modules/luxon/src/errors.mjs +40 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/conversions.mjs +92 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/diff.mjs +36 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/digits.mjs +77 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/english.mjs +138 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/formats.mjs +150 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/formatter.mjs +258 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/invalid.mjs +11 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/locale.mjs +294 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/regexParser.mjs +202 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/tokenParser.mjs +329 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/util.mjs +220 -0
- package/dist/bt-core/core/node_modules/luxon/src/impl/zoneUtil.mjs +20 -0
- package/dist/bt-core/core/node_modules/luxon/src/info.mjs +180 -0
- package/dist/bt-core/core/node_modules/luxon/src/interval.mjs +481 -0
- package/dist/bt-core/core/node_modules/luxon/src/luxon.mjs +24 -0
- package/dist/bt-core/core/node_modules/luxon/src/settings.mjs +150 -0
- package/dist/bt-core/core/node_modules/luxon/src/zone.mjs +88 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/IANAZone.mjs +183 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/fixedOffsetZone.mjs +125 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/invalidZone.mjs +41 -0
- package/dist/bt-core/core/node_modules/luxon/src/zones/systemZone.mjs +47 -0
- package/dist/bt-core/core/node_modules/merge-images/dist/index.es2015.mjs +47 -0
- package/dist/bt-core/core/node_modules/signature_pad/dist/signature_pad.mjs +248 -0
- package/dist/bt-core/core/node_modules/thenby/thenBy.module.mjs +38 -0
- package/dist/bt-core/core/node_modules/vue-picture-cropper/lib/index.mjs +1643 -0
- package/dist/bt-core/core/node_modules/vue-signature-pad/dist/vue-signature-pad.esm.mjs +173 -0
- package/dist/bt-core/core/node_modules/vue-use-spring/dist/index.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/iconsets/mdi-svg.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colors.mjs +322 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +7 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/defineComponent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/injectSelf.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/propsFactory.mjs +14 -0
- package/dist/components/BT-Assistant-Menu.vue.d.ts +19 -0
- package/dist/components/BT-Assistant-Menu.vue.mjs +464 -0
- package/dist/components/BT-Assistant-Menu.vue2.mjs +4 -0
- package/dist/components/BT-Avatar.vue.d.ts +16 -0
- package/dist/components/BT-Avatar.vue.mjs +41 -0
- package/dist/components/BT-Avatar.vue2.mjs +4 -0
- package/dist/components/BT-Background-Task.vue.d.ts +61 -0
- package/dist/components/BT-Background-Task.vue.mjs +89 -0
- package/dist/components/BT-Background-Task.vue2.mjs +4 -0
- package/dist/components/BT-Blade-Item.vue.d.ts +578 -0
- package/dist/components/BT-Blade-Item.vue.mjs +441 -0
- package/dist/components/BT-Blade-Item.vue2.mjs +4 -0
- package/dist/components/BT-Blade-Items.vue.d.ts +2358 -0
- package/dist/components/BT-Blade-Items.vue.mjs +7 -0
- package/dist/components/BT-Blade-Items.vue2.mjs +943 -0
- package/dist/components/BT-Blade-Items.vue3.mjs +1 -0
- package/dist/components/BT-Blade-Steps.vue.d.ts +1740 -0
- package/dist/components/BT-Blade-Steps.vue.mjs +7 -0
- package/dist/components/BT-Blade-Steps.vue2.mjs +1305 -0
- package/dist/components/BT-Blade-Steps.vue3.mjs +1 -0
- package/dist/components/BT-Blade.vue.d.ts +109 -0
- package/dist/components/BT-Blade.vue.mjs +268 -0
- package/dist/components/BT-Blade.vue2.mjs +4 -0
- package/dist/components/BT-Btn.vue.d.ts +47 -0
- package/dist/components/BT-Btn.vue.mjs +43 -0
- package/dist/components/BT-Btn.vue2.mjs +4 -0
- package/dist/components/BT-Camera-Overlay.vue.d.ts +57 -0
- package/dist/components/BT-Camera-Overlay.vue.mjs +173 -0
- package/dist/components/BT-Camera-Overlay.vue2.mjs +4 -0
- package/dist/components/BT-Col.vue.d.ts +49 -0
- package/dist/components/BT-Col.vue.mjs +33 -0
- package/dist/components/BT-Col.vue2.mjs +4 -0
- package/dist/components/BT-Color-Picker-Menu.vue.d.ts +23 -0
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +63 -0
- package/dist/components/BT-Color-Picker-Menu.vue2.mjs +4 -0
- package/dist/components/BT-Cosmetics-Menu.vue.d.ts +14 -0
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +211 -0
- package/dist/components/BT-Cosmetics-Menu.vue2.mjs +4 -0
- package/dist/components/BT-Cron-Span.vue.d.ts +21 -0
- package/dist/components/BT-Cron-Span.vue.mjs +66 -0
- package/dist/components/BT-Cron-Span.vue2.mjs +4 -0
- package/dist/components/BT-Cron.vue.d.ts +37 -0
- package/dist/components/BT-Cron.vue.mjs +538 -0
- package/dist/components/BT-Cron.vue2.mjs +4 -0
- package/dist/components/BT-Date-Select.vue.d.ts +46 -0
- package/dist/components/BT-Date-Select.vue.mjs +71 -0
- package/dist/components/BT-Date-Select.vue2.mjs +4 -0
- package/dist/components/BT-Date.vue.d.ts +53 -0
- package/dist/components/BT-Date.vue.mjs +55 -0
- package/dist/components/BT-Date.vue2.mjs +4 -0
- package/dist/components/BT-Demo-Profile-Select.vue.d.ts +17 -0
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +52 -0
- package/dist/components/BT-Demo-Profile-Select.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Confirm.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Confirm.vue.mjs +63 -0
- package/dist/components/BT-Dialog-Confirm.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Date.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Date.vue.mjs +79 -0
- package/dist/components/BT-Dialog-Date.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Number.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Number.vue.mjs +178 -0
- package/dist/components/BT-Dialog-Number.vue2.mjs +4 -0
- package/dist/components/BT-Dialog-Select.vue.d.ts +2 -0
- package/dist/components/BT-Dialog-Select.vue.mjs +235 -0
- package/dist/components/BT-Dialog-Select.vue2.mjs +4 -0
- package/dist/components/BT-Divider.vue.d.ts +24 -0
- package/dist/components/BT-Divider.vue.mjs +31 -0
- package/dist/components/BT-Divider.vue2.mjs +4 -0
- package/dist/components/BT-Drag-Counter.vue.d.ts +114 -0
- package/dist/components/BT-Drag-Counter.vue.mjs +7 -0
- package/dist/components/BT-Drag-Counter.vue2.mjs +156 -0
- package/dist/components/BT-Drag-Counter.vue3.mjs +1 -0
- package/dist/components/BT-Entity.vue.d.ts +82 -0
- package/dist/components/BT-Entity.vue.mjs +172 -0
- package/dist/components/BT-Entity.vue2.mjs +4 -0
- package/dist/components/BT-Error.vue.d.ts +15 -0
- package/dist/components/BT-Error.vue.mjs +35 -0
- package/dist/components/BT-Error.vue2.mjs +4 -0
- package/dist/components/BT-Field-Checkbox.vue.d.ts +57 -0
- package/dist/components/BT-Field-Checkbox.vue.mjs +61 -0
- package/dist/components/BT-Field-Checkbox.vue2.mjs +4 -0
- package/dist/components/BT-Field-Date.vue.d.ts +69 -0
- package/dist/components/BT-Field-Date.vue.mjs +120 -0
- package/dist/components/BT-Field-Date.vue2.mjs +4 -0
- package/dist/components/BT-Field-Entity.vue.d.ts +48 -0
- package/dist/components/BT-Field-Entity.vue.mjs +55 -0
- package/dist/components/BT-Field-Entity.vue2.mjs +4 -0
- package/dist/components/BT-Field-Select-Simple.vue.d.ts +55 -0
- package/dist/components/BT-Field-Select-Simple.vue.mjs +52 -0
- package/dist/components/BT-Field-Select-Simple.vue2.mjs +4 -0
- package/dist/components/BT-Field-Select.vue.d.ts +70 -0
- package/dist/components/BT-Field-Select.vue.mjs +60 -0
- package/dist/components/BT-Field-Select.vue2.mjs +4 -0
- package/dist/components/BT-Field-String.vue.d.ts +57 -0
- package/dist/components/BT-Field-String.vue.mjs +87 -0
- package/dist/components/BT-Field-String.vue2.mjs +4 -0
- package/dist/components/BT-Field-Switch.vue.d.ts +51 -0
- package/dist/components/BT-Field-Switch.vue.mjs +64 -0
- package/dist/components/BT-Field-Switch.vue2.mjs +4 -0
- package/dist/components/BT-Field-Tags.vue.d.ts +53 -0
- package/dist/components/BT-Field-Tags.vue.mjs +80 -0
- package/dist/components/BT-Field-Tags.vue2.mjs +4 -0
- package/dist/components/BT-Field-Textarea.vue.d.ts +53 -0
- package/dist/components/BT-Field-Textarea.vue.mjs +66 -0
- package/dist/components/BT-Field-Textarea.vue2.mjs +4 -0
- package/dist/components/BT-Field-Trigger.vue.d.ts +113 -0
- package/dist/components/BT-Field-Trigger.vue.mjs +368 -0
- package/dist/components/BT-Field-Trigger.vue2.mjs +4 -0
- package/dist/components/BT-Field.vue.d.ts +49 -0
- package/dist/components/BT-Field.vue.mjs +59 -0
- package/dist/components/BT-Field.vue2.mjs +4 -0
- package/dist/components/BT-Form-Builder.vue.d.ts +74 -0
- package/dist/components/BT-Form-Builder.vue.mjs +762 -0
- package/dist/components/BT-Form-Builder.vue2.mjs +4 -0
- package/dist/components/BT-Form-Field.vue.d.ts +41 -0
- package/dist/components/BT-Form-Field.vue.mjs +186 -0
- package/dist/components/BT-Form-Field.vue2.mjs +4 -0
- package/dist/components/BT-Form.vue.d.ts +95 -0
- package/dist/components/BT-Form.vue.mjs +635 -0
- package/dist/components/BT-Form.vue2.mjs +4 -0
- package/dist/components/BT-Header-Option.vue.d.ts +18 -0
- package/dist/components/BT-Header-Option.vue.mjs +62 -0
- package/dist/components/BT-Header-Option.vue2.mjs +4 -0
- package/dist/components/BT-Image-Select.vue.d.ts +71 -0
- package/dist/components/BT-Image-Select.vue.mjs +219 -0
- package/dist/components/BT-Image-Select.vue2.mjs +4 -0
- package/dist/components/BT-Json.vue.d.ts +6 -0
- package/dist/components/BT-Json.vue.mjs +38 -0
- package/dist/components/BT-Json.vue2.mjs +1 -0
- package/dist/components/BT-Json.vue3.mjs +5 -0
- package/dist/components/BT-Loader.vue.d.ts +6 -0
- package/dist/components/BT-Loader.vue.mjs +37 -0
- package/dist/components/BT-Loader.vue2.mjs +4 -0
- package/dist/components/BT-Nav-Sidebar.vue.d.ts +25 -0
- package/dist/components/BT-Nav-Sidebar.vue.mjs +138 -0
- package/dist/components/BT-Nav-Sidebar.vue2.mjs +4 -0
- package/dist/components/BT-Number.vue.d.ts +23 -0
- package/dist/components/BT-Number.vue.mjs +7 -0
- package/dist/components/BT-Number.vue2.mjs +43 -0
- package/dist/components/BT-Number.vue3.mjs +1 -0
- package/dist/components/BT-Numpad.vue.d.ts +68 -0
- package/dist/components/BT-Numpad.vue.mjs +191 -0
- package/dist/components/BT-Numpad.vue2.mjs +4 -0
- package/dist/components/BT-Select-Inline.vue.d.ts +121 -0
- package/dist/components/BT-Select-Inline.vue.mjs +74 -0
- package/dist/components/BT-Select-Inline.vue2.mjs +24 -0
- package/dist/components/BT-Select-Inline.vue3.mjs +1 -0
- package/dist/components/BT-Select-List-Box.vue.d.ts +137 -0
- package/dist/components/BT-Select-List-Box.vue.mjs +414 -0
- package/dist/components/BT-Select-List-Box.vue2.mjs +4 -0
- package/dist/components/BT-Select-Simple.vue.d.ts +58 -0
- package/dist/components/BT-Select-Simple.vue.mjs +126 -0
- package/dist/components/BT-Select-Simple.vue2.mjs +4 -0
- package/dist/components/BT-Select.vue.d.ts +73 -0
- package/dist/components/BT-Select.vue.mjs +138 -0
- package/dist/components/BT-Select.vue2.mjs +4 -0
- package/dist/components/BT-Signature-Overlay.vue.d.ts +65 -0
- package/dist/components/BT-Signature-Overlay.vue.mjs +146 -0
- package/dist/components/BT-Signature-Overlay.vue2.mjs +4 -0
- package/dist/components/BT-Signature.vue.d.ts +70 -0
- package/dist/components/BT-Signature.vue.mjs +155 -0
- package/dist/components/BT-Signature.vue2.mjs +4 -0
- package/dist/components/BT-Slider.vue.d.ts +37 -0
- package/dist/components/BT-Slider.vue.mjs +126 -0
- package/dist/components/BT-Slider.vue2.mjs +4 -0
- package/dist/components/BT-Span.vue.d.ts +19 -0
- package/dist/components/BT-Span.vue.mjs +23 -0
- package/dist/components/BT-Span.vue2.mjs +4 -0
- package/dist/components/BT-Square-Check.vue.d.ts +104 -0
- package/dist/components/BT-Square-Check.vue.mjs +98 -0
- package/dist/components/BT-Square-Check.vue2.mjs +4 -0
- package/dist/components/BT-Status-Item.vue.d.ts +45 -0
- package/dist/components/BT-Status-Item.vue.mjs +51 -0
- package/dist/components/BT-Status-Item.vue2.mjs +4 -0
- package/dist/components/BT-Tags.vue.d.ts +19 -0
- package/dist/components/BT-Tags.vue.mjs +32 -0
- package/dist/components/BT-Tags.vue2.mjs +4 -0
- package/dist/components/BT-Tour.vue.d.ts +43 -0
- package/dist/components/BT-Tour.vue.mjs +78 -0
- package/dist/components/BT-Tour.vue2.mjs +4 -0
- package/dist/components.mjs +36 -0
- package/dist/composables/actions-local.d.ts +14 -0
- package/dist/composables/actions-local.mjs +26 -0
- package/dist/composables/actions-tracker.d.ts +36 -0
- package/dist/composables/actions-tracker.mjs +88 -0
- package/dist/composables/actions.d.ts +116 -0
- package/dist/composables/actions.mjs +272 -0
- package/dist/composables/api.d.ts +100 -0
- package/dist/composables/api.mjs +329 -0
- package/dist/composables/assistant.d.ts +38 -0
- package/dist/composables/assistant.mjs +70 -0
- package/dist/composables/auth.d.ts +94 -0
- package/dist/composables/auth.mjs +257 -0
- package/dist/composables/background-tasks.d.ts +31 -0
- package/dist/composables/background-tasks.mjs +79 -0
- package/dist/composables/blade-old.d.ts +1 -0
- package/dist/composables/blade.d.ts +91 -0
- package/dist/composables/blade.mjs +156 -0
- package/dist/composables/charts.d.ts +10 -0
- package/dist/composables/colorizer.d.ts +5 -0
- package/dist/composables/colorizer.mjs +27 -0
- package/dist/composables/component-config.d.ts +8 -0
- package/dist/composables/component-config.mjs +11 -0
- package/dist/composables/confirm.d.ts +1 -0
- package/dist/composables/confirm.mjs +11 -0
- package/dist/composables/cosmetics.d.ts +44 -0
- package/dist/composables/cosmetics.mjs +125 -0
- package/dist/composables/cron-adjustments.d.ts +63 -0
- package/dist/composables/cron-adjustments.mjs +106 -0
- package/dist/composables/cron.d.ts +72 -0
- package/dist/composables/cron.mjs +326 -0
- package/dist/composables/csv.d.ts +44 -0
- package/dist/composables/csv.mjs +163 -0
- package/dist/composables/dates.d.ts +22 -0
- package/dist/composables/dates.mjs +61 -0
- package/dist/composables/demo.d.ts +68 -0
- package/dist/composables/demo.mjs +173 -0
- package/dist/composables/dialog-items.d.ts +117 -0
- package/dist/composables/dialog-items.mjs +72 -0
- package/dist/composables/document-meta.d.ts +11 -0
- package/dist/composables/document-meta.mjs +20 -0
- package/dist/composables/draggable.d.ts +56 -0
- package/dist/composables/draggable.mjs +76 -0
- package/dist/composables/feedback.d.ts +24 -0
- package/dist/composables/feedback.mjs +32 -0
- package/dist/composables/filters.d.ts +27 -0
- package/dist/composables/filters.mjs +218 -0
- package/dist/composables/forage.d.ts +89 -0
- package/dist/composables/forage.mjs +37 -0
- package/dist/composables/forms.d.ts +104 -0
- package/dist/composables/forms.mjs +256 -0
- package/dist/composables/geo.d.ts +24 -0
- package/dist/composables/geo.mjs +95 -0
- package/dist/composables/graph-pro.d.ts +98 -0
- package/dist/composables/graph-pro.mjs +205 -0
- package/dist/composables/graphing.d.ts +1 -0
- package/dist/composables/heights.d.ts +24 -0
- package/dist/composables/heights.mjs +41 -0
- package/dist/composables/helpers.d.ts +114 -0
- package/dist/composables/helpers.mjs +512 -0
- package/dist/composables/icons.d.ts +3 -0
- package/dist/composables/icons.mjs +84 -0
- package/dist/composables/id.d.ts +8 -0
- package/dist/composables/id.mjs +32 -0
- package/dist/composables/item.d.ts +132 -0
- package/dist/composables/item.mjs +263 -0
- package/dist/composables/iterating.d.ts +1 -0
- package/dist/composables/list.d.ts +345 -0
- package/dist/composables/list.mjs +460 -0
- package/dist/composables/lists.d.ts +10 -0
- package/dist/composables/lists.mjs +31 -0
- package/dist/composables/menu.d.ts +35 -0
- package/dist/composables/menu.mjs +63 -0
- package/dist/composables/navigation.d.ts +123 -0
- package/dist/composables/navigation.mjs +157 -0
- package/dist/composables/nested.d.ts +3 -0
- package/dist/composables/nested.mjs +20 -0
- package/dist/composables/old-dialogs.d.ts +1 -0
- package/dist/composables/presets.d.ts +8 -0
- package/dist/composables/presets.mjs +16 -0
- package/dist/composables/pwa-old.d.ts +15 -0
- package/dist/composables/pwa.d.ts +26 -0
- package/dist/composables/pwa.mjs +80 -0
- package/dist/composables/resizable.d.ts +34 -0
- package/dist/composables/resizable.mjs +135 -0
- package/dist/composables/routing-old.d.ts +1 -0
- package/dist/composables/routing.d.ts +16 -0
- package/dist/composables/routing.mjs +112 -0
- package/dist/composables/rules.d.ts +13 -0
- package/dist/composables/rules.mjs +22 -0
- package/dist/composables/select.d.ts +78 -0
- package/dist/composables/select.mjs +129 -0
- package/dist/composables/settings.d.ts +6 -0
- package/dist/composables/settings.mjs +21 -0
- package/dist/composables/setup.d.ts +1 -0
- package/dist/composables/steps-old.d.ts +1 -0
- package/dist/composables/steps.d.ts +53 -0
- package/dist/composables/steps.mjs +39 -0
- package/dist/composables/stores.d.ts +258 -0
- package/dist/composables/stores.mjs +1257 -0
- package/dist/composables/sync.d.ts +33 -0
- package/dist/composables/track.d.ts +13 -0
- package/dist/composables/track.mjs +30 -0
- package/dist/composables/urls.d.ts +35 -0
- package/dist/composables/urls.mjs +66 -0
- package/dist/composables/vuetify.d.ts +85 -0
- package/dist/composables.mjs +237 -0
- package/dist/core.d.ts +48 -0
- package/dist/core.mjs +6 -0
- package/dist/core2.mjs +118 -0
- package/dist/index-components.d.ts +19 -0
- package/dist/index-composables.d.ts +75 -0
- package/dist/index-core.d.ts +3 -0
- package/dist/index.d.ts +96 -3036
- package/dist/index.mjs +275 -0
- package/dist/main.d.ts +1 -0
- package/dist/node_modules/bt-core-app/dist/bt-core-app.mjs +30372 -0
- package/dist/style.css +1 -5
- package/dist/types.d.ts +18 -0
- package/dist/types.mjs +7 -0
- package/package.json +4 -1
- package/dist/bt-core-app.js +0 -81355
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as w, computed as u, resolveComponent as l, openBlock as n, createBlock as i, withCtx as r, createElementBlock as p, toDisplayString as d, createCommentVNode as x, unref as m, createTextVNode as c, normalizeClass as T, normalizeStyle as z } from "vue";
|
|
2
|
+
import { nestedValue as s } from "../composables/helpers.mjs";
|
|
3
|
+
import { useFilters as C } from "../composables/filters.mjs";
|
|
4
|
+
const b = { key: 0 }, B = { key: 1 }, D = /* @__PURE__ */ w({
|
|
5
|
+
__name: "BT-Header-Option",
|
|
6
|
+
props: {
|
|
7
|
+
data: {},
|
|
8
|
+
option: {},
|
|
9
|
+
size: {}
|
|
10
|
+
},
|
|
11
|
+
setup(f) {
|
|
12
|
+
const e = f, v = C(), y = u(() => (t) => {
|
|
13
|
+
let o = t;
|
|
14
|
+
return e.option.textFunction != null ? o = e.option.textFunction(o) : e.option.value != null && (o = s(t, e.option.value)), e.option.textFilter != null && (o = v.findFilter(e.option.textFilter)(o)), o;
|
|
15
|
+
}), k = u(() => e.option.truncate == !0 && e.option.width != null ? `display: inline-block; width: ${e.option.width.includes("px") || e.option.width.includes("%") ? e.option.width : `${e.option.width}px`};` : "");
|
|
16
|
+
return (t, o) => {
|
|
17
|
+
const a = l("v-icon"), F = l("bt-entity"), h = l("v-slide-x-transition");
|
|
18
|
+
return n(), i(h, { group: "" }, {
|
|
19
|
+
default: r(() => [
|
|
20
|
+
t.option.prefix != null ? (n(), p("span", b, d(t.option.prefix), 1)) : x("", !0),
|
|
21
|
+
t.option.bool != null ? (n(), p("span", B, [
|
|
22
|
+
m(s)(t.data, t.option.value) === !0 ? (n(), i(a, {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "text-success",
|
|
25
|
+
size: t.size
|
|
26
|
+
}, {
|
|
27
|
+
default: r(() => o[0] || (o[0] = [
|
|
28
|
+
c("$check")
|
|
29
|
+
])),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["size"])) : (n(), i(a, {
|
|
32
|
+
key: 1,
|
|
33
|
+
class: "text-error"
|
|
34
|
+
}, {
|
|
35
|
+
default: r(() => o[1] || (o[1] = [
|
|
36
|
+
c("$close")
|
|
37
|
+
])),
|
|
38
|
+
_: 1
|
|
39
|
+
}))
|
|
40
|
+
])) : t.option.nav != null && (t.option.itemText != null || t.option.textFilter != null) ? (n(), i(F, {
|
|
41
|
+
key: 2,
|
|
42
|
+
inline: "",
|
|
43
|
+
itemText: t.option.itemText,
|
|
44
|
+
itemID: m(s)(t.data, t.option.value),
|
|
45
|
+
nav: t.option.nav,
|
|
46
|
+
isSingle: !0,
|
|
47
|
+
textFilter: t.option.textFilter,
|
|
48
|
+
truncate: t.option.truncate == !0
|
|
49
|
+
}, null, 8, ["itemText", "itemID", "nav", "textFilter", "truncate"])) : (n(), p("span", {
|
|
50
|
+
key: 3,
|
|
51
|
+
class: T({ "text-truncate": t.option.truncate == !0 }),
|
|
52
|
+
style: z(k.value)
|
|
53
|
+
}, d(y.value(t.data)), 7))
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
D as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
interface ImgProps {
|
|
2
|
+
additionalURL?: string;
|
|
3
|
+
canEdit?: boolean;
|
|
4
|
+
color?: string;
|
|
5
|
+
dialogWidth?: string;
|
|
6
|
+
height?: number;
|
|
7
|
+
id?: string;
|
|
8
|
+
imageHeight?: number;
|
|
9
|
+
imageWidth?: number;
|
|
10
|
+
label?: string;
|
|
11
|
+
maxDialogWidth?: string | number;
|
|
12
|
+
minDialogWidth?: string | number;
|
|
13
|
+
nav?: string;
|
|
14
|
+
placeholderIcon?: string;
|
|
15
|
+
proxyID?: string;
|
|
16
|
+
size?: string;
|
|
17
|
+
src?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import('vue').DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ImgProps>, {
|
|
20
|
+
canEdit: boolean;
|
|
21
|
+
dialogWidth: string;
|
|
22
|
+
maxDialogWidth: number;
|
|
23
|
+
minDialogWidth: number;
|
|
24
|
+
height: number;
|
|
25
|
+
imageHeight: number;
|
|
26
|
+
imageWidth: number;
|
|
27
|
+
placeholderIcon: string;
|
|
28
|
+
size: string;
|
|
29
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
uploaded: (...args: any[]) => void;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ImgProps>, {
|
|
32
|
+
canEdit: boolean;
|
|
33
|
+
dialogWidth: string;
|
|
34
|
+
maxDialogWidth: number;
|
|
35
|
+
minDialogWidth: number;
|
|
36
|
+
height: number;
|
|
37
|
+
imageHeight: number;
|
|
38
|
+
imageWidth: number;
|
|
39
|
+
placeholderIcon: string;
|
|
40
|
+
size: string;
|
|
41
|
+
}>>> & Readonly<{
|
|
42
|
+
onUploaded?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
size: string;
|
|
45
|
+
height: number;
|
|
46
|
+
canEdit: boolean;
|
|
47
|
+
dialogWidth: string;
|
|
48
|
+
imageHeight: number;
|
|
49
|
+
imageWidth: number;
|
|
50
|
+
maxDialogWidth: string | number;
|
|
51
|
+
minDialogWidth: string | number;
|
|
52
|
+
placeholderIcon: string;
|
|
53
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
type __VLS_WithDefaults<P, D> = {
|
|
65
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
66
|
+
default: D[K];
|
|
67
|
+
}> : P[K];
|
|
68
|
+
};
|
|
69
|
+
type __VLS_Prettify<T> = {
|
|
70
|
+
[K in keyof T]: T[K];
|
|
71
|
+
} & {};
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { defineComponent as Y, ref as d, computed as p, resolveComponent as l, openBlock as s, createElementBlock as W, createBlock as b, withCtx as a, createVNode as t, mergeProps as z, unref as c, toDisplayString as v, createCommentVNode as R, createElementVNode as r, createTextVNode as u } from "vue";
|
|
2
|
+
import Z, { cropper as U } from "../bt-core/core/node_modules/vue-picture-cropper/lib/index.mjs";
|
|
3
|
+
import { roundTo as ee, isNullOrEmpty as te } from "../composables/helpers.mjs";
|
|
4
|
+
import { useActions as oe } from "../composables/actions.mjs";
|
|
5
|
+
import { useFileDialog as ae } from "@vueuse/core";
|
|
6
|
+
const le = { class: "mx-auto" }, ne = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "my-1"
|
|
9
|
+
}, ie = { class: "d-flex flex-column align-center" }, de = { class: "text-white" }, se = { class: "d-flex align-center" }, ce = { class: "mr-4 text-caption" }, ge = /* @__PURE__ */ Y({
|
|
10
|
+
__name: "BT-Image-Select",
|
|
11
|
+
props: {
|
|
12
|
+
additionalURL: {},
|
|
13
|
+
canEdit: { type: Boolean, default: !0 },
|
|
14
|
+
color: {},
|
|
15
|
+
dialogWidth: { default: "auto" },
|
|
16
|
+
height: { default: 100 },
|
|
17
|
+
id: {},
|
|
18
|
+
imageHeight: { default: 256 },
|
|
19
|
+
imageWidth: { default: 256 },
|
|
20
|
+
label: {},
|
|
21
|
+
maxDialogWidth: { default: 600 },
|
|
22
|
+
minDialogWidth: { default: 100 },
|
|
23
|
+
nav: {},
|
|
24
|
+
placeholderIcon: { default: "$cube-outline" },
|
|
25
|
+
proxyID: {},
|
|
26
|
+
size: { default: "100" },
|
|
27
|
+
src: {}
|
|
28
|
+
},
|
|
29
|
+
emits: ["uploaded"],
|
|
30
|
+
setup(B, { emit: E }) {
|
|
31
|
+
const N = E, n = B, D = d(!0), $ = d(), T = p(() => Number.parseInt(n.size)), m = d(!1), { actionLoadingMsg: L, apiUpload: A } = oe(), i = d(), g = d(), I = d((/* @__PURE__ */ new Date()).getTime().toString()), k = p(() => `${n.src}?${I.value}`), h = p(() => ee(n.imageWidth / n.imageHeight, 2)), _ = p(() => n.height * h.value), { onChange: F, open: x } = ae({
|
|
32
|
+
accept: "image/*"
|
|
33
|
+
});
|
|
34
|
+
F((e) => {
|
|
35
|
+
if (g.value = "", e != null && e.length > 0 ? i.value = e[0] : i.value = void 0, i.value != null) {
|
|
36
|
+
const o = new FileReader();
|
|
37
|
+
o.readAsDataURL(i.value), o.onload = () => {
|
|
38
|
+
g.value = String(o.result);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
async function H() {
|
|
43
|
+
if (U)
|
|
44
|
+
try {
|
|
45
|
+
const e = await U.getBlob({
|
|
46
|
+
height: n.imageHeight,
|
|
47
|
+
width: n.imageWidth
|
|
48
|
+
});
|
|
49
|
+
await A({
|
|
50
|
+
additionalUrl: n.additionalURL,
|
|
51
|
+
data: e,
|
|
52
|
+
id: n.id,
|
|
53
|
+
nav: n.nav,
|
|
54
|
+
proxyID: n.proxyID
|
|
55
|
+
}), I.value = (/* @__PURE__ */ new Date()).getTime().toString(), N("uploaded"), m.value = !1;
|
|
56
|
+
} catch {
|
|
57
|
+
m.value = !1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return (e, o) => {
|
|
61
|
+
const f = l("v-icon"), C = l("v-img"), M = l("v-overlay"), S = l("v-container"), O = l("v-hover"), w = l("v-btn"), j = l("v-card-title"), V = l("v-spacer"), P = l("v-card-text"), q = l("v-card-actions"), G = l("v-card"), J = l("v-dialog");
|
|
62
|
+
return s(), W("div", le, [
|
|
63
|
+
e.canEdit ? (s(), b(J, {
|
|
64
|
+
key: 0,
|
|
65
|
+
modelValue: m.value,
|
|
66
|
+
"onUpdate:modelValue": o[1] || (o[1] = (y) => m.value = y),
|
|
67
|
+
"max-width": e.maxDialogWidth,
|
|
68
|
+
"min-width": e.minDialogWidth,
|
|
69
|
+
width: e.dialogWidth
|
|
70
|
+
}, {
|
|
71
|
+
activator: a(({ props: y }) => [
|
|
72
|
+
t(w, z({
|
|
73
|
+
onClick: c(x),
|
|
74
|
+
class: "mx-auto pa-1",
|
|
75
|
+
color: e.color,
|
|
76
|
+
height: e.height + 35,
|
|
77
|
+
width: _.value + 15
|
|
78
|
+
}, y), {
|
|
79
|
+
default: a(() => [
|
|
80
|
+
t(O, null, {
|
|
81
|
+
default: a(({ isHovering: K, props: Q }) => [
|
|
82
|
+
t(S, z({ class: "pa-0 ma-0" }, Q), {
|
|
83
|
+
default: a(() => [
|
|
84
|
+
c(te)(e.label) ? R("", !0) : (s(), W("div", ne, v(e.label), 1)),
|
|
85
|
+
t(C, {
|
|
86
|
+
height: e.height,
|
|
87
|
+
src: k.value,
|
|
88
|
+
width: _.value
|
|
89
|
+
}, {
|
|
90
|
+
placeholder: a(() => [
|
|
91
|
+
r("div", ie, [
|
|
92
|
+
t(f, {
|
|
93
|
+
size: T.value - 15
|
|
94
|
+
}, {
|
|
95
|
+
default: a(() => [
|
|
96
|
+
u(v(e.placeholderIcon), 1)
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["size"]),
|
|
100
|
+
o[2] || (o[2] = r("p", null, "Upload Image", -1))
|
|
101
|
+
])
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
}, 8, ["height", "src", "width"]),
|
|
105
|
+
K ? (s(), b(M, {
|
|
106
|
+
key: 1,
|
|
107
|
+
class: "align-center justify-center",
|
|
108
|
+
opacity: 0.75,
|
|
109
|
+
modelValue: D.value,
|
|
110
|
+
"onUpdate:modelValue": o[0] || (o[0] = (X) => D.value = X),
|
|
111
|
+
contained: ""
|
|
112
|
+
}, {
|
|
113
|
+
default: a(() => [
|
|
114
|
+
r("div", de, [
|
|
115
|
+
t(f, { start: "" }, {
|
|
116
|
+
default: a(() => o[3] || (o[3] = [
|
|
117
|
+
u("$pencil")
|
|
118
|
+
])),
|
|
119
|
+
_: 1
|
|
120
|
+
}),
|
|
121
|
+
o[4] || (o[4] = u("Edit Image "))
|
|
122
|
+
])
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
}, 8, ["modelValue"])) : R("", !0)
|
|
126
|
+
]),
|
|
127
|
+
_: 2
|
|
128
|
+
}, 1040)
|
|
129
|
+
]),
|
|
130
|
+
_: 2
|
|
131
|
+
}, 1024)
|
|
132
|
+
]),
|
|
133
|
+
_: 2
|
|
134
|
+
}, 1040, ["onClick", "color", "height", "width"])
|
|
135
|
+
]),
|
|
136
|
+
default: a(() => [
|
|
137
|
+
t(G, {
|
|
138
|
+
loading: c(L) != null,
|
|
139
|
+
width: "100%"
|
|
140
|
+
}, {
|
|
141
|
+
default: a(() => [
|
|
142
|
+
r("div", se, [
|
|
143
|
+
t(j, null, {
|
|
144
|
+
default: a(() => o[5] || (o[5] = [
|
|
145
|
+
u("Image Editor")
|
|
146
|
+
])),
|
|
147
|
+
_: 1
|
|
148
|
+
}),
|
|
149
|
+
t(V),
|
|
150
|
+
r("span", ce, "Aspect: " + v(h.value), 1)
|
|
151
|
+
]),
|
|
152
|
+
t(P, null, {
|
|
153
|
+
default: a(() => [
|
|
154
|
+
t(c(Z), {
|
|
155
|
+
boxStyle: {
|
|
156
|
+
height: "100%",
|
|
157
|
+
margin: "auto",
|
|
158
|
+
width: "100%"
|
|
159
|
+
},
|
|
160
|
+
img: g.value,
|
|
161
|
+
options: {
|
|
162
|
+
aspectRatio: h.value,
|
|
163
|
+
cropBoxResizable: !1,
|
|
164
|
+
dragMode: "move",
|
|
165
|
+
viewMode: 1
|
|
166
|
+
}
|
|
167
|
+
}, null, 8, ["img", "options"])
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}),
|
|
171
|
+
t(q, null, {
|
|
172
|
+
default: a(() => [
|
|
173
|
+
t(w, {
|
|
174
|
+
onClick: c(x),
|
|
175
|
+
"prepend-icon": "$pencil",
|
|
176
|
+
text: i.value != null ? "Change Image" : "Select Image"
|
|
177
|
+
}, null, 8, ["onClick", "text"]),
|
|
178
|
+
t(V),
|
|
179
|
+
t(w, {
|
|
180
|
+
onClick: H,
|
|
181
|
+
disabled: i.value == null && $.value == null,
|
|
182
|
+
"prepend-icon": "$content-save",
|
|
183
|
+
text: "Save"
|
|
184
|
+
}, null, 8, ["disabled"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 8, ["loading"])
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["modelValue", "max-width", "min-width", "width"])) : (s(), b(S, { key: 1 }, {
|
|
194
|
+
default: a(() => [
|
|
195
|
+
t(C, {
|
|
196
|
+
src: k.value,
|
|
197
|
+
height: e.height,
|
|
198
|
+
width: _.value
|
|
199
|
+
}, {
|
|
200
|
+
placeholder: a(() => [
|
|
201
|
+
t(f, { size: e.size }, {
|
|
202
|
+
default: a(() => [
|
|
203
|
+
u(v(e.placeholderIcon), 1)
|
|
204
|
+
]),
|
|
205
|
+
_: 1
|
|
206
|
+
}, 8, ["size"])
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
}, 8, ["src", "height", "width"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}))
|
|
213
|
+
]);
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
export {
|
|
218
|
+
ge as default
|
|
219
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
value?: any;
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
|
+
value?: any;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as _, computed as v, resolveComponent as a, openBlock as l, createBlock as g, withCtx as u, createVNode as m, createElementBlock as o, Fragment as y, renderList as x, createElementVNode as k } from "vue";
|
|
2
|
+
const b = ["innerHTML"], h = /* @__PURE__ */ _({
|
|
3
|
+
__name: "BT-Json",
|
|
4
|
+
props: ["value"],
|
|
5
|
+
setup(s) {
|
|
6
|
+
const n = s, c = v(() => n.value == null ? [] : Array.isArray(n.value) ? n.value : [n.value]);
|
|
7
|
+
function i(e) {
|
|
8
|
+
return typeof e != "string" && (e = JSON.stringify(e, void 0, 2)), e = e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), e.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function(t) {
|
|
9
|
+
var r = "number";
|
|
10
|
+
return /^"/.test(t) ? /:$/.test(t) ? r = "key" : r = "string" : /true|false/.test(t) ? r = "boolean" : /null/.test(t) && (r = "null"), '<span class="' + r + '">' + t + "</span>";
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
return (e, p) => {
|
|
14
|
+
const t = a("v-card-text"), r = a("v-card");
|
|
15
|
+
return l(), g(r, {
|
|
16
|
+
"max-height": "350",
|
|
17
|
+
class: "overflow-y-auto"
|
|
18
|
+
}, {
|
|
19
|
+
default: u(() => [
|
|
20
|
+
m(t, null, {
|
|
21
|
+
default: u(() => [
|
|
22
|
+
(l(!0), o(y, null, x(c.value, (f, d) => (l(), o("div", { key: d }, [
|
|
23
|
+
k("pre", {
|
|
24
|
+
innerHTML: i(f)
|
|
25
|
+
}, null, 8, b)
|
|
26
|
+
]))), 128))
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
})
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export {
|
|
37
|
+
h as default
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
loadingMsg?: any;
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
|
+
loadingMsg?: any;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as p, computed as _, resolveComponent as e, openBlock as m, createBlock as v, withCtx as t, createVNode as o, createElementVNode as g, toDisplayString as f } from "vue";
|
|
2
|
+
const V = /* @__PURE__ */ p({
|
|
3
|
+
__name: "BT-Loader",
|
|
4
|
+
props: ["loadingMsg"],
|
|
5
|
+
setup(n) {
|
|
6
|
+
const r = n, l = _(() => r.loadingMsg != null);
|
|
7
|
+
return (x, a) => {
|
|
8
|
+
const c = e("v-progress-circular"), s = e("v-card-text"), d = e("v-card"), u = e("v-overlay");
|
|
9
|
+
return m(), v(u, {
|
|
10
|
+
modelValue: l.value,
|
|
11
|
+
"onUpdate:modelValue": a[0] || (a[0] = (i) => l.value = i),
|
|
12
|
+
class: "align-center justify-center text-center overlay",
|
|
13
|
+
contained: "",
|
|
14
|
+
persistent: ""
|
|
15
|
+
}, {
|
|
16
|
+
default: t(() => [
|
|
17
|
+
o(d, null, {
|
|
18
|
+
default: t(() => [
|
|
19
|
+
o(s, null, {
|
|
20
|
+
default: t(() => [
|
|
21
|
+
o(c, { indeterminate: "" }),
|
|
22
|
+
g("p", null, f(n.loadingMsg), 1)
|
|
23
|
+
]),
|
|
24
|
+
_: 1
|
|
25
|
+
})
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
})
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["modelValue"]);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
V as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface SidebarProps {
|
|
2
|
+
iconSrc?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SidebarProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SidebarProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
"top-list"?(_: {}): any;
|
|
8
|
+
"middle-list"?(_: {}): any;
|
|
9
|
+
"bottom-list"?(_: {}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { defineComponent as L, resolveComponent as o, openBlock as n, createBlock as s, unref as l, withCtx as e, renderSlot as m, createVNode as a, createCommentVNode as y, createTextVNode as D, toDisplayString as M, createElementBlock as _, Fragment as v, renderList as N, mergeProps as P } from "vue";
|
|
2
|
+
import { useCosmetics as T } from "../composables/cosmetics.mjs";
|
|
3
|
+
import { useAuth as U } from "../composables/auth.mjs";
|
|
4
|
+
import { useMenu as h } from "../composables/menu.mjs";
|
|
5
|
+
const q = /* @__PURE__ */ L({
|
|
6
|
+
__name: "BT-Nav-Sidebar",
|
|
7
|
+
props: {
|
|
8
|
+
iconSrc: {},
|
|
9
|
+
title: {}
|
|
10
|
+
},
|
|
11
|
+
setup(A) {
|
|
12
|
+
const { state: c, toggleDrawerStick: k } = T(), { isLoggedIn: f, logout: w } = U(), $ = h();
|
|
13
|
+
return (r, d) => {
|
|
14
|
+
const b = o("v-img"), g = o("v-avatar"), C = o("v-icon"), S = o("v-btn"), V = o("v-row"), p = o("v-list-item"), u = o("v-list"), B = o("v-list-group"), z = o("v-navigation-drawer");
|
|
15
|
+
return n(), s(z, {
|
|
16
|
+
"disabled-resize-watcher": "",
|
|
17
|
+
"expand-on-hover": "",
|
|
18
|
+
rail: !l(c).drawerStick,
|
|
19
|
+
permanent: "",
|
|
20
|
+
modelValue: l(c).drawer,
|
|
21
|
+
"onUpdate:modelValue": d[1] || (d[1] = (t) => l(c).drawer = t)
|
|
22
|
+
}, {
|
|
23
|
+
append: e(() => [
|
|
24
|
+
m(r.$slots, "bottom-list", {}, () => [
|
|
25
|
+
l(f) ? (n(), s(u, {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "ma-0 pa-0"
|
|
28
|
+
}, {
|
|
29
|
+
default: e(() => [
|
|
30
|
+
a(p, {
|
|
31
|
+
class: "bg-primary",
|
|
32
|
+
nav: "",
|
|
33
|
+
"prepend-icon": "$logout",
|
|
34
|
+
title: "Logout",
|
|
35
|
+
onClick: d[0] || (d[0] = () => l(w)("/"))
|
|
36
|
+
})
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
})) : y("", !0)
|
|
40
|
+
])
|
|
41
|
+
]),
|
|
42
|
+
default: e(() => [
|
|
43
|
+
m(r.$slots, "default", {}, () => [
|
|
44
|
+
a(u, { class: "pt-1" }, {
|
|
45
|
+
default: e(() => [
|
|
46
|
+
a(p, {
|
|
47
|
+
nav: "",
|
|
48
|
+
title: r.title
|
|
49
|
+
}, {
|
|
50
|
+
prepend: e(() => [
|
|
51
|
+
a(g, { size: "36" }, {
|
|
52
|
+
default: e(() => [
|
|
53
|
+
a(b, { src: r.iconSrc }, null, 8, ["src"])
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
})
|
|
57
|
+
]),
|
|
58
|
+
append: e(() => [
|
|
59
|
+
a(V, { class: "mr-1" }, {
|
|
60
|
+
default: e(() => [
|
|
61
|
+
a(S, {
|
|
62
|
+
onClick: l(k),
|
|
63
|
+
flat: "",
|
|
64
|
+
icon: "",
|
|
65
|
+
size: "small",
|
|
66
|
+
title: "Pin/Unpin Menu"
|
|
67
|
+
}, {
|
|
68
|
+
default: e(() => [
|
|
69
|
+
a(C, null, {
|
|
70
|
+
default: e(() => [
|
|
71
|
+
D(M(l(c).drawerStick ? "$pin-off" : "$pin"), 1)
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
})
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["onClick"])
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
})
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}, 8, ["title"]),
|
|
84
|
+
m(r.$slots, "top-list")
|
|
85
|
+
]),
|
|
86
|
+
_: 3
|
|
87
|
+
}),
|
|
88
|
+
m(r.$slots, "middle-list", {}, () => [
|
|
89
|
+
l(f) ? (n(), s(u, {
|
|
90
|
+
key: 0,
|
|
91
|
+
nav: ""
|
|
92
|
+
}, {
|
|
93
|
+
default: e(() => [
|
|
94
|
+
(n(!0), _(v, null, N(l($).sidebarNavItems.value, (t) => (n(), _(v, null, [
|
|
95
|
+
t.isGroup ? (n(), s(B, {
|
|
96
|
+
key: `${t.displayName}a`
|
|
97
|
+
}, {
|
|
98
|
+
activator: e(({ props: i }) => [
|
|
99
|
+
a(p, P({ ref_for: !0 }, i, {
|
|
100
|
+
color: "primary",
|
|
101
|
+
"prepend-icon": t.icon,
|
|
102
|
+
title: t.displayName
|
|
103
|
+
}), null, 16, ["prepend-icon", "title"])
|
|
104
|
+
]),
|
|
105
|
+
default: e(() => [
|
|
106
|
+
(n(!0), _(v, null, N(t.items, (i) => (n(), s(p, {
|
|
107
|
+
key: i.displayName,
|
|
108
|
+
color: "primary",
|
|
109
|
+
"prepend-icon": i.icon,
|
|
110
|
+
title: i.displayName,
|
|
111
|
+
value: i.displayName,
|
|
112
|
+
to: { name: i.routeName }
|
|
113
|
+
}, null, 8, ["prepend-icon", "title", "value", "to"]))), 128))
|
|
114
|
+
]),
|
|
115
|
+
_: 2
|
|
116
|
+
}, 1024)) : (n(), s(p, {
|
|
117
|
+
key: `${t.displayName}b`,
|
|
118
|
+
color: "primary",
|
|
119
|
+
"prepend-icon": t.icon,
|
|
120
|
+
title: t.displayName,
|
|
121
|
+
value: t.displayName,
|
|
122
|
+
to: { name: t.routeName }
|
|
123
|
+
}, null, 8, ["prepend-icon", "title", "value", "to"]))
|
|
124
|
+
], 64))), 256))
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
})) : y("", !0)
|
|
128
|
+
])
|
|
129
|
+
])
|
|
130
|
+
]),
|
|
131
|
+
_: 3
|
|
132
|
+
}, 8, ["rail", "modelValue"]);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
export {
|
|
137
|
+
q as default
|
|
138
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface FieldProps {
|
|
2
|
+
negate?: boolean;
|
|
3
|
+
min?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
onSelect?: (item: any) => void;
|
|
6
|
+
modelValue?: any;
|
|
7
|
+
textCenter?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps>>> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|