bt-core-app 2.1.37 → 2.2.1
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 +13 -1
- package/dist/bt-core-app.js +0 -81355
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { defineComponent as h, computed as A, resolveComponent as p, openBlock as C, createBlock as I, mergeProps as R, unref as n, withCtx as m, renderSlot as u, normalizeProps as a, guardReactiveProps as l, createVNode as d } from "vue";
|
|
2
|
+
import { useList as T } from "../composables/list.mjs";
|
|
3
|
+
import { useNavigation as P } from "../composables/navigation.mjs";
|
|
4
|
+
import { TestRequired as D } from "../composables/rules.mjs";
|
|
5
|
+
const k = /* @__PURE__ */ h({
|
|
6
|
+
__name: "BT-Select",
|
|
7
|
+
props: {
|
|
8
|
+
additionalUrl: {},
|
|
9
|
+
canRefresh: { type: Boolean },
|
|
10
|
+
canSelectNone: { type: Boolean },
|
|
11
|
+
fieldVariant: {},
|
|
12
|
+
items: {},
|
|
13
|
+
itemText: {},
|
|
14
|
+
itemValue: {},
|
|
15
|
+
multiple: { type: Boolean },
|
|
16
|
+
nav: {},
|
|
17
|
+
required: { type: Boolean },
|
|
18
|
+
rules: {},
|
|
19
|
+
textFilter: {},
|
|
20
|
+
addBladeName: {},
|
|
21
|
+
bladeGroup: {},
|
|
22
|
+
bladeName: {},
|
|
23
|
+
bladeStartShowing: { type: Boolean },
|
|
24
|
+
canSelect: { type: Boolean },
|
|
25
|
+
canUnselect: { type: Boolean },
|
|
26
|
+
closeBladeNames: {},
|
|
27
|
+
confirmOnDelete: { type: Boolean },
|
|
28
|
+
customFilters: {},
|
|
29
|
+
dateFrom: {},
|
|
30
|
+
dateTo: {},
|
|
31
|
+
defaultFilters: {},
|
|
32
|
+
eager: { type: Boolean, default: !0 },
|
|
33
|
+
errorMsg: {},
|
|
34
|
+
filterToggle: { type: Boolean },
|
|
35
|
+
headers: {},
|
|
36
|
+
hideActions: { type: Boolean },
|
|
37
|
+
idSelector: {},
|
|
38
|
+
ignoreID: { type: Boolean },
|
|
39
|
+
inactiveProp: {},
|
|
40
|
+
isSingle: { type: Boolean },
|
|
41
|
+
itemBladeName: {},
|
|
42
|
+
itemID: {},
|
|
43
|
+
itemsPerPage: {},
|
|
44
|
+
keyStrategy: {},
|
|
45
|
+
loadingMsg: {},
|
|
46
|
+
localFilters: {},
|
|
47
|
+
localOnly: { type: Boolean },
|
|
48
|
+
navType: {},
|
|
49
|
+
onCanDelete: {},
|
|
50
|
+
onCanDeleteAsync: {},
|
|
51
|
+
onCanIntegrate: {},
|
|
52
|
+
onCanRestore: {},
|
|
53
|
+
onCanRestoreAsync: {},
|
|
54
|
+
onCanSave: {},
|
|
55
|
+
onCanSaveAsync: {},
|
|
56
|
+
onCanSelectItem: {},
|
|
57
|
+
onDeleteAsync: {},
|
|
58
|
+
onDeleteSuccessAsync: {},
|
|
59
|
+
onError: {},
|
|
60
|
+
onFilter: {},
|
|
61
|
+
onFinished: {},
|
|
62
|
+
onGetAsync: {},
|
|
63
|
+
onGetSingleAsync: {},
|
|
64
|
+
onGetSaveAsync: {},
|
|
65
|
+
onGetSingleSuccessAsync: {},
|
|
66
|
+
onGetSuccessAsync: {},
|
|
67
|
+
onRestoreAsync: {},
|
|
68
|
+
onRestoreSuccessAsync: {},
|
|
69
|
+
onSaveAsync: {},
|
|
70
|
+
onSaveSuccessAsync: {},
|
|
71
|
+
onSelectItem: {},
|
|
72
|
+
onSyncAsync: {},
|
|
73
|
+
onUpdateAsyncItem: {},
|
|
74
|
+
paginate: {},
|
|
75
|
+
params: {},
|
|
76
|
+
proxyID: {},
|
|
77
|
+
proxyKey: {},
|
|
78
|
+
refreshOnChange: { type: Boolean },
|
|
79
|
+
queryParams: {},
|
|
80
|
+
refreshLiteToggle: { type: Boolean },
|
|
81
|
+
refreshToggle: { type: Boolean },
|
|
82
|
+
searchKey: {},
|
|
83
|
+
searchProps: {},
|
|
84
|
+
searchStr: {},
|
|
85
|
+
selectProps: {},
|
|
86
|
+
sortDirection: {},
|
|
87
|
+
sortProp: {},
|
|
88
|
+
startEditing: { type: Boolean },
|
|
89
|
+
startShowingInactive: { type: Boolean },
|
|
90
|
+
startShowingSearch: { type: Boolean },
|
|
91
|
+
storeMode: {},
|
|
92
|
+
storageMode: {},
|
|
93
|
+
trackSearchQuery: { type: Boolean },
|
|
94
|
+
useBladeSrc: { type: Boolean },
|
|
95
|
+
useRouteSrc: { type: Boolean },
|
|
96
|
+
variant: {}
|
|
97
|
+
},
|
|
98
|
+
emits: ["change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item"],
|
|
99
|
+
setup(y, { emit: v }) {
|
|
100
|
+
const g = v, S = P(), t = y, B = t.itemText ?? (t.nav != null ? S.findItemText(t.nav) : void 0) ?? void 0, r = T(t, g), s = A(() => {
|
|
101
|
+
var e = [
|
|
102
|
+
...t.rules ?? []
|
|
103
|
+
];
|
|
104
|
+
return t.required && e.push(D), e.length > 0 ? e : void 0;
|
|
105
|
+
});
|
|
106
|
+
return (e, i) => {
|
|
107
|
+
const c = p("v-list-item"), f = p("v-select");
|
|
108
|
+
return C(), I(f, R({
|
|
109
|
+
"append-icon": e.canRefresh ? "$refresh" : void 0,
|
|
110
|
+
clearable: e.canSelectNone,
|
|
111
|
+
"onClick:appendIcon": i[0] || (i[0] = (o) => n(r).refresh({ deepRefresh: !0 })),
|
|
112
|
+
"hide-details": s.value == null,
|
|
113
|
+
items: n(r).filteredItems.value,
|
|
114
|
+
"item-title": n(B),
|
|
115
|
+
"item-value": e.itemValue,
|
|
116
|
+
loading: n(r).isLoading.value,
|
|
117
|
+
multiple: e.multiple,
|
|
118
|
+
rules: s.value,
|
|
119
|
+
variant: e.fieldVariant
|
|
120
|
+
}, e.$attrs), {
|
|
121
|
+
item: m((o) => [
|
|
122
|
+
u(e.$slots, "item", a(l(o)), () => [
|
|
123
|
+
d(c, a(l(o.props)), null, 16)
|
|
124
|
+
])
|
|
125
|
+
]),
|
|
126
|
+
selection: m((o) => [
|
|
127
|
+
u(e.$slots, "selection", a(l(o)), () => [
|
|
128
|
+
d(c, a(l(o.item.props)), null, 16)
|
|
129
|
+
])
|
|
130
|
+
]),
|
|
131
|
+
_: 3
|
|
132
|
+
}, 16, ["append-icon", "clearable", "hide-details", "items", "item-title", "item-value", "loading", "multiple", "rules", "variant"]);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
export {
|
|
137
|
+
k as default
|
|
138
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
interface SignProps {
|
|
2
|
+
canEdit?: boolean;
|
|
3
|
+
color?: string;
|
|
4
|
+
fullscreen?: boolean;
|
|
5
|
+
hideButton?: boolean;
|
|
6
|
+
lineColor?: string;
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
openToggle?: boolean;
|
|
9
|
+
signature?: string;
|
|
10
|
+
transparent?: boolean;
|
|
11
|
+
usedHeight?: number;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SignProps>, {
|
|
14
|
+
fullscreen: boolean;
|
|
15
|
+
hideButton: boolean;
|
|
16
|
+
transparent: boolean;
|
|
17
|
+
usedHeight: number;
|
|
18
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
close: (...args: any[]) => void;
|
|
20
|
+
cancel: (...args: any[]) => void;
|
|
21
|
+
change: (...args: any[]) => void;
|
|
22
|
+
open: (...args: any[]) => void;
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SignProps>, {
|
|
25
|
+
fullscreen: boolean;
|
|
26
|
+
hideButton: boolean;
|
|
27
|
+
transparent: boolean;
|
|
28
|
+
usedHeight: number;
|
|
29
|
+
}>>> & Readonly<{
|
|
30
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
transparent: boolean;
|
|
37
|
+
fullscreen: boolean;
|
|
38
|
+
hideButton: boolean;
|
|
39
|
+
usedHeight: number;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
41
|
+
top?(_: {}): any;
|
|
42
|
+
}>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
type __VLS_WithDefaults<P, D> = {
|
|
54
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
+
default: D[K];
|
|
56
|
+
}> : P[K];
|
|
57
|
+
};
|
|
58
|
+
type __VLS_Prettify<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { defineComponent as O, computed as g, ref as h, watch as p, toValue as f, resolveComponent as m, openBlock as B, createElementBlock as P, createBlock as T, mergeProps as M, withModifiers as j, createCommentVNode as z, createVNode as n, withCtx as v, normalizeStyle as H, renderSlot as J, unref as A } from "vue";
|
|
2
|
+
import { VueSignaturePad as L } from "../bt-core/core/node_modules/vue-signature-pad/dist/vue-signature-pad.esm.mjs";
|
|
3
|
+
import { useTheme as U } from "vuetify";
|
|
4
|
+
const F = /* @__PURE__ */ O({
|
|
5
|
+
__name: "BT-Signature-Overlay",
|
|
6
|
+
props: {
|
|
7
|
+
canEdit: { type: Boolean },
|
|
8
|
+
color: {},
|
|
9
|
+
fullscreen: { type: Boolean, default: !0 },
|
|
10
|
+
hideButton: { type: Boolean, default: !1 },
|
|
11
|
+
lineColor: {},
|
|
12
|
+
modelValue: {},
|
|
13
|
+
openToggle: { type: Boolean },
|
|
14
|
+
signature: {},
|
|
15
|
+
transparent: { type: Boolean, default: !1 },
|
|
16
|
+
usedHeight: { default: 0 }
|
|
17
|
+
},
|
|
18
|
+
emits: ["cancel", "change", "close", "open", "update:modelValue"],
|
|
19
|
+
setup(E, { emit: S }) {
|
|
20
|
+
const r = S, o = E, x = g(() => o.fullscreen == !0 ? `height: calc(100vh - ${o.usedHeight}px); width: 100%;` : ""), i = h(), s = h(!1), u = h(null), b = U(), _ = g(() => o.lineColor ?? (b.name.value == "dark" ? "white" : "black")), w = g(() => ({
|
|
21
|
+
penColor: _.value
|
|
22
|
+
}));
|
|
23
|
+
function y(e, a) {
|
|
24
|
+
if (e != null)
|
|
25
|
+
if (a == null)
|
|
26
|
+
e.clearSignature();
|
|
27
|
+
else {
|
|
28
|
+
const l = JSON.parse(a);
|
|
29
|
+
l != null && l.length > 0 && e.fromData([{ color: _.value, points: l }]);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
p(u, (e) => {
|
|
33
|
+
y(e, o.modelValue ?? o.signature);
|
|
34
|
+
}), p(() => o.openToggle, () => {
|
|
35
|
+
k();
|
|
36
|
+
}), p(() => o.modelValue, (e) => {
|
|
37
|
+
y(f(u), e);
|
|
38
|
+
}), p(() => o.signature, (e) => {
|
|
39
|
+
y(f(u), e);
|
|
40
|
+
});
|
|
41
|
+
function $() {
|
|
42
|
+
const e = f(u);
|
|
43
|
+
if (e != null && !e.isEmpty()) {
|
|
44
|
+
const a = e.toData(), l = [];
|
|
45
|
+
a.forEach((t) => {
|
|
46
|
+
t.points.forEach((C) => {
|
|
47
|
+
l.push({ x: C.x, y: C.y });
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
let d = Math.min(...l.map((t) => t.x)), c = Math.min(...l.map((t) => t.y));
|
|
51
|
+
d > 1 && l.forEach((t) => {
|
|
52
|
+
t.x -= d;
|
|
53
|
+
}), c > 1 && l.forEach((t) => {
|
|
54
|
+
t.y -= c;
|
|
55
|
+
}), i.value = JSON.stringify(l), (o.modelValue ?? o.signature) != i.value && (r("update:modelValue", i.value), r("change", i.value), r("close"), s.value = !1);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function D() {
|
|
59
|
+
r("cancel"), r("close"), s.value = !1;
|
|
60
|
+
}
|
|
61
|
+
function N() {
|
|
62
|
+
const e = f(u);
|
|
63
|
+
e != null && !e.isEmpty() && e.clearSignature(), i.value = void 0;
|
|
64
|
+
}
|
|
65
|
+
function k() {
|
|
66
|
+
i.value = o.modelValue ?? o.signature, s.value = !0, r("open");
|
|
67
|
+
}
|
|
68
|
+
return (e, a) => {
|
|
69
|
+
const l = m("v-btn"), d = m("v-slide-x-reverse-transition"), c = m("v-card"), V = m("v-overlay");
|
|
70
|
+
return B(), P("div", null, [
|
|
71
|
+
!e.hideButton && !s.value ? (B(), T(l, M({
|
|
72
|
+
key: 0,
|
|
73
|
+
onClick: j(k, ["stop"])
|
|
74
|
+
}, e.$attrs), null, 16)) : z("", !0),
|
|
75
|
+
n(V, {
|
|
76
|
+
modelValue: s.value,
|
|
77
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => s.value = t),
|
|
78
|
+
"z-index": "1001"
|
|
79
|
+
}, {
|
|
80
|
+
default: v(() => [
|
|
81
|
+
n(c, {
|
|
82
|
+
class: "pa-0 ma-0 d-flex align-center justify-center",
|
|
83
|
+
color: e.color,
|
|
84
|
+
style: H(x.value)
|
|
85
|
+
}, {
|
|
86
|
+
default: v(() => [
|
|
87
|
+
J(e.$slots, "top"),
|
|
88
|
+
n(A(L), {
|
|
89
|
+
options: w.value,
|
|
90
|
+
ref_key: "signaturePad",
|
|
91
|
+
ref: u
|
|
92
|
+
}, null, 8, ["options"]),
|
|
93
|
+
n(c, {
|
|
94
|
+
class: "d-flex flex-column align-center justify-center",
|
|
95
|
+
color: "primary",
|
|
96
|
+
style: { position: "fixed", opacity: "0.75", right: "0" },
|
|
97
|
+
width: "60"
|
|
98
|
+
}, {
|
|
99
|
+
default: v(() => [
|
|
100
|
+
n(d, {
|
|
101
|
+
"hide-on-leave": "",
|
|
102
|
+
group: ""
|
|
103
|
+
}, {
|
|
104
|
+
default: v(() => [
|
|
105
|
+
n(l, {
|
|
106
|
+
class: "my-3",
|
|
107
|
+
onClick: D,
|
|
108
|
+
icon: "$close",
|
|
109
|
+
key: "1",
|
|
110
|
+
variant: "tonal"
|
|
111
|
+
}),
|
|
112
|
+
n(l, {
|
|
113
|
+
class: "my-3",
|
|
114
|
+
onClick: N,
|
|
115
|
+
disabled: !e.canEdit,
|
|
116
|
+
icon: "$eraser",
|
|
117
|
+
key: "3",
|
|
118
|
+
variant: "tonal"
|
|
119
|
+
}, null, 8, ["disabled"]),
|
|
120
|
+
n(l, {
|
|
121
|
+
class: "my-3",
|
|
122
|
+
onClick: $,
|
|
123
|
+
disabled: !e.canEdit,
|
|
124
|
+
icon: "$check",
|
|
125
|
+
key: "4",
|
|
126
|
+
variant: "tonal"
|
|
127
|
+
}, null, 8, ["disabled"])
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
})
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
})
|
|
134
|
+
]),
|
|
135
|
+
_: 3
|
|
136
|
+
}, 8, ["color", "style"])
|
|
137
|
+
]),
|
|
138
|
+
_: 3
|
|
139
|
+
}, 8, ["modelValue"])
|
|
140
|
+
]);
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
export {
|
|
145
|
+
F as default
|
|
146
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
interface SignProps {
|
|
2
|
+
canEdit?: boolean;
|
|
3
|
+
clearOnOk?: boolean;
|
|
4
|
+
color?: string;
|
|
5
|
+
fullscreen?: boolean;
|
|
6
|
+
height?: string;
|
|
7
|
+
hideToolbar?: boolean;
|
|
8
|
+
lineColor?: string;
|
|
9
|
+
modelValue?: string;
|
|
10
|
+
refreshToggle?: boolean;
|
|
11
|
+
usedHeight?: number;
|
|
12
|
+
width?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function apply(): void;
|
|
15
|
+
declare function clear(): void;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SignProps>, {
|
|
17
|
+
color: string;
|
|
18
|
+
fullscreen: boolean;
|
|
19
|
+
height: string;
|
|
20
|
+
usedHeight: number;
|
|
21
|
+
width: string;
|
|
22
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
change: (...args: any[]) => void;
|
|
24
|
+
"update:modelValue": (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SignProps>, {
|
|
26
|
+
color: string;
|
|
27
|
+
fullscreen: boolean;
|
|
28
|
+
height: string;
|
|
29
|
+
usedHeight: number;
|
|
30
|
+
width: string;
|
|
31
|
+
}>>> & Readonly<{
|
|
32
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
width: string;
|
|
36
|
+
height: string;
|
|
37
|
+
color: string;
|
|
38
|
+
fullscreen: boolean;
|
|
39
|
+
usedHeight: number;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
41
|
+
top?(_: {
|
|
42
|
+
apply: typeof apply;
|
|
43
|
+
canApply: boolean;
|
|
44
|
+
canEdit: boolean;
|
|
45
|
+
clear: typeof clear;
|
|
46
|
+
}): any;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { defineComponent as R, ref as g, computed as v, toValue as c, watch as y, onMounted as A, onUnmounted as D, resolveComponent as x, openBlock as _, createBlock as k, normalizeStyle as z, withCtx as S, renderSlot as J, createVNode as w, createCommentVNode as B, unref as W } from "vue";
|
|
2
|
+
import { VueSignaturePad as j } from "../bt-core/core/node_modules/vue-signature-pad/dist/vue-signature-pad.esm.mjs";
|
|
3
|
+
import { useTheme as L } from "vuetify";
|
|
4
|
+
const q = /* @__PURE__ */ R({
|
|
5
|
+
__name: "BT-Signature",
|
|
6
|
+
props: {
|
|
7
|
+
canEdit: { type: Boolean },
|
|
8
|
+
clearOnOk: { type: Boolean },
|
|
9
|
+
color: { default: "transparent" },
|
|
10
|
+
fullscreen: { type: Boolean, default: !1 },
|
|
11
|
+
height: { default: "400px" },
|
|
12
|
+
hideToolbar: { type: Boolean },
|
|
13
|
+
lineColor: {},
|
|
14
|
+
modelValue: {},
|
|
15
|
+
refreshToggle: { type: Boolean },
|
|
16
|
+
usedHeight: { default: 0 },
|
|
17
|
+
width: { default: "100%" }
|
|
18
|
+
},
|
|
19
|
+
emits: ["change", "update:modelValue"],
|
|
20
|
+
setup(O, { emit: T }) {
|
|
21
|
+
const V = T, l = O, t = g(), m = g(!1), n = g(null), $ = L(), p = v(() => {
|
|
22
|
+
const e = c(n);
|
|
23
|
+
if (e != null)
|
|
24
|
+
return e.signaturePad.canvas.height / window.devicePixelRatio;
|
|
25
|
+
}), h = v(() => {
|
|
26
|
+
const e = c(n);
|
|
27
|
+
if (e != null)
|
|
28
|
+
return e.signaturePad.canvas.width / window.devicePixelRatio;
|
|
29
|
+
}), M = v(() => l.fullscreen == !0 ? `height: calc(100vh - ${l.usedHeight}px); width: ${l.width};` : `height: ${l.height}; width: ${l.width};`), d = v(() => !!l.canEdit), b = v(() => l.lineColor ?? ($.name.value == "dark" ? "white" : "black")), C = v(() => t.value != null && t.value != l.modelValue), H = v(() => ({
|
|
30
|
+
dotSize: 0.5,
|
|
31
|
+
onEnd: () => {
|
|
32
|
+
const e = c(n);
|
|
33
|
+
if (e != null && !e.isEmpty()) {
|
|
34
|
+
const o = e.toData(), a = [];
|
|
35
|
+
o.forEach((u) => {
|
|
36
|
+
u.points.forEach((i) => {
|
|
37
|
+
a.push({ x: i.x, y: i.y });
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
let s = Math.min(...a.map((u) => u.x)), r = Math.min(...a.map((u) => u.y));
|
|
41
|
+
s > 1 && a.forEach((u) => {
|
|
42
|
+
u.x -= s;
|
|
43
|
+
}), r > 1 && a.forEach((u) => {
|
|
44
|
+
u.y -= r;
|
|
45
|
+
}), t.value = JSON.stringify(a);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
penColor: b.value
|
|
49
|
+
}));
|
|
50
|
+
function f(e, o) {
|
|
51
|
+
if (e != null)
|
|
52
|
+
if (o == null)
|
|
53
|
+
e.clearSignature();
|
|
54
|
+
else {
|
|
55
|
+
const a = JSON.parse(o);
|
|
56
|
+
a != null && a.length > 0 && e.fromData([{ color: b.value, points: N(a) }]);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
y(n, (e) => {
|
|
60
|
+
var o;
|
|
61
|
+
t.value = l.modelValue, f(e, l.modelValue), d.value || (o = n.value) == null || o.lockSignaturePad();
|
|
62
|
+
}), y(() => l.refreshToggle, () => {
|
|
63
|
+
var e;
|
|
64
|
+
t.value = l.modelValue, f(c(n), t.value), d.value || (e = n.value) == null || e.lockSignaturePad();
|
|
65
|
+
}), y(() => l.modelValue, (e) => {
|
|
66
|
+
var o;
|
|
67
|
+
t.value = e, f(c(n), e), d.value || (o = n.value) == null || o.lockSignaturePad();
|
|
68
|
+
});
|
|
69
|
+
function N(e) {
|
|
70
|
+
if (p.value != null && h.value != null) {
|
|
71
|
+
let o = Math.max(...e.map((i) => i.y)), a = Math.max(...e.map((i) => i.x)), s = 1, r = 1;
|
|
72
|
+
o > p.value && (s = p.value / o), a > h.value && (r = h.value / a);
|
|
73
|
+
let u = Math.min(s, r);
|
|
74
|
+
if (u < 1)
|
|
75
|
+
return e.map((i) => ({
|
|
76
|
+
x: i.x * u,
|
|
77
|
+
y: i.y * u
|
|
78
|
+
}));
|
|
79
|
+
}
|
|
80
|
+
return e;
|
|
81
|
+
}
|
|
82
|
+
function E() {
|
|
83
|
+
V("change", t.value), V("update:modelValue", t.value), l.clearOnOk && (t.value = void 0, f(c(n), t.value));
|
|
84
|
+
}
|
|
85
|
+
function P() {
|
|
86
|
+
const e = c(n);
|
|
87
|
+
e != null && !e.isEmpty() && e.clearSignature(), t.value = void 0;
|
|
88
|
+
}
|
|
89
|
+
return A(() => {
|
|
90
|
+
var e;
|
|
91
|
+
t.value = l.modelValue, f(c(n), t.value), d.value || (e = n.value) == null || e.lockSignaturePad(), m.value = !0;
|
|
92
|
+
}), D(() => {
|
|
93
|
+
m.value = !1;
|
|
94
|
+
}), (e, o) => {
|
|
95
|
+
const a = x("v-btn"), s = x("v-slide-x-reverse-transition"), r = x("v-card");
|
|
96
|
+
return _(), k(r, {
|
|
97
|
+
color: e.color,
|
|
98
|
+
style: z(M.value),
|
|
99
|
+
variant: "elevated"
|
|
100
|
+
}, {
|
|
101
|
+
default: S(() => [
|
|
102
|
+
J(e.$slots, "top", {
|
|
103
|
+
apply: E,
|
|
104
|
+
canApply: C.value,
|
|
105
|
+
canEdit: d.value,
|
|
106
|
+
clear: P
|
|
107
|
+
}, () => [
|
|
108
|
+
!e.hideToolbar && d.value ? (_(), k(r, {
|
|
109
|
+
key: 0,
|
|
110
|
+
class: "d-flex align-center justify-end mx-4",
|
|
111
|
+
flat: ""
|
|
112
|
+
}, {
|
|
113
|
+
default: S(() => [
|
|
114
|
+
w(s, {
|
|
115
|
+
"hide-on-leave": "",
|
|
116
|
+
group: ""
|
|
117
|
+
}, {
|
|
118
|
+
default: S(() => [
|
|
119
|
+
w(a, {
|
|
120
|
+
class: "my-3",
|
|
121
|
+
onClick: P,
|
|
122
|
+
disabled: t.value == null,
|
|
123
|
+
icon: "$eraser",
|
|
124
|
+
key: "3"
|
|
125
|
+
}, null, 8, ["disabled"]),
|
|
126
|
+
w(a, {
|
|
127
|
+
onClick: E,
|
|
128
|
+
class: "my-3",
|
|
129
|
+
disabled: !C.value,
|
|
130
|
+
icon: "$check",
|
|
131
|
+
key: "4"
|
|
132
|
+
}, null, 8, ["disabled"])
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
})
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
})) : B("", !0)
|
|
139
|
+
]),
|
|
140
|
+
m.value ? (_(), k(W(j), {
|
|
141
|
+
key: 0,
|
|
142
|
+
disabled: !d.value,
|
|
143
|
+
options: H.value,
|
|
144
|
+
ref_key: "signaturePad",
|
|
145
|
+
ref: n
|
|
146
|
+
}, null, 8, ["disabled", "options"])) : B("", !0)
|
|
147
|
+
]),
|
|
148
|
+
_: 3
|
|
149
|
+
}, 8, ["color", "style"]);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
export {
|
|
154
|
+
q as default
|
|
155
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
interface SliderOption {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
hide?: boolean;
|
|
4
|
+
hideHeader?: boolean;
|
|
5
|
+
navHistory?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
value: any;
|
|
8
|
+
}
|
|
9
|
+
interface SliderProps {
|
|
10
|
+
hideHeader?: boolean;
|
|
11
|
+
options: SliderOption[];
|
|
12
|
+
modelValue?: number;
|
|
13
|
+
width?: number;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SliderProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SliderProps>>> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`${any}-top`, (_: {}) => any>> & Partial<Record<`${any}-toolbar`, (_: {
|
|
20
|
+
back: () => void;
|
|
21
|
+
title: string | undefined;
|
|
22
|
+
}) => any>> & Partial<Record<`${any}-toolbar-right`, (_: {}) => any>> & Partial<Record<any, (_: {}) => any>>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|