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,943 @@
|
|
|
1
|
+
import { defineComponent as Ie, ref as J, computed as k, watch as we, onMounted as Ee, resolveComponent as g, openBlock as i, createBlock as c, unref as l, withCtx as o, renderSlot as y, createElementBlock as p, createVNode as u, withKeys as ue, withModifiers as m, createCommentVNode as v, normalizeStyle as U, mergeProps as O, Fragment as $, renderList as z, createTextVNode as G, toDisplayString as X, createElementVNode as R, normalizeClass as F, createSlots as Pe, nextTick as Ve } from "vue";
|
|
2
|
+
import { isLengthyArray as A, isNullOrEmpty as de, capitalizeWords as ce } from "../composables/helpers.mjs";
|
|
3
|
+
import { useAuth as Te } from "../composables/auth.mjs";
|
|
4
|
+
import { useList as Fe } from "../composables/list.mjs";
|
|
5
|
+
import { useNavigation as He } from "../composables/navigation.mjs";
|
|
6
|
+
import { useNested as Me } from "../composables/nested.mjs";
|
|
7
|
+
import { usePresets as Ne } from "../composables/presets.mjs";
|
|
8
|
+
import { useRoute as Ue, useRouter as De } from "vue-router";
|
|
9
|
+
import { useHeights as Le } from "../composables/heights.mjs";
|
|
10
|
+
import { useDisplay as Oe } from "vuetify";
|
|
11
|
+
const Ge = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "d-flex"
|
|
14
|
+
}, Re = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "d-flex align-center mr-2"
|
|
17
|
+
}, Ke = { key: "0" }, qe = {
|
|
18
|
+
class: "d-flex",
|
|
19
|
+
key: "a1"
|
|
20
|
+
}, Ye = {
|
|
21
|
+
key: "itemActions",
|
|
22
|
+
class: "text-right"
|
|
23
|
+
}, Qe = ["onClick"], We = { key: "0" }, je = {
|
|
24
|
+
class: "d-flex",
|
|
25
|
+
key: "a1"
|
|
26
|
+
}, Je = { key: 0 }, st = /* @__PURE__ */ Ie({
|
|
27
|
+
__name: "BT-Blade-Items",
|
|
28
|
+
props: {
|
|
29
|
+
actionButtonSize: { default: "x-small" },
|
|
30
|
+
activeClass: { default: "text-primary" },
|
|
31
|
+
actualHeight: {},
|
|
32
|
+
actualUsedHeight: {},
|
|
33
|
+
archiveBladeName: {},
|
|
34
|
+
bordered: { type: Boolean },
|
|
35
|
+
canAdd: { type: Boolean, default: !0 },
|
|
36
|
+
canDelete: { type: Boolean, default: !0 },
|
|
37
|
+
canEdit: { type: Boolean },
|
|
38
|
+
canExportCSV: { type: Boolean },
|
|
39
|
+
canRestore: { type: Boolean },
|
|
40
|
+
canSearch: { type: Boolean, default: !0 },
|
|
41
|
+
canShowInactive: { type: Boolean },
|
|
42
|
+
density: { default: "compact" },
|
|
43
|
+
dividers: { type: Boolean, default: !0 },
|
|
44
|
+
fadingActions: { type: Boolean, default: void 0 },
|
|
45
|
+
fixedHeader: { type: Boolean, default: !0 },
|
|
46
|
+
flat: { type: Boolean },
|
|
47
|
+
heightStrat: { default: "fixed" },
|
|
48
|
+
hideColumns: { type: Boolean },
|
|
49
|
+
hideFilters: { type: Boolean },
|
|
50
|
+
hideFooter: { type: Boolean },
|
|
51
|
+
hideIntegrations: { type: Boolean, default: !1 },
|
|
52
|
+
hideRefresh: { type: Boolean },
|
|
53
|
+
hideSubtoolbar: { type: Boolean, default: void 0 },
|
|
54
|
+
hideSubtoolbarSettings: { type: Boolean, default: !1 },
|
|
55
|
+
hideToolbar: { type: Boolean },
|
|
56
|
+
itemValue: {},
|
|
57
|
+
label: {},
|
|
58
|
+
lines: {},
|
|
59
|
+
onFocusSearch: {},
|
|
60
|
+
opacity: {},
|
|
61
|
+
paginate: {},
|
|
62
|
+
preset: {},
|
|
63
|
+
returnCSV: { type: Boolean },
|
|
64
|
+
returnIndex: { type: Boolean },
|
|
65
|
+
ripple: { type: Boolean, default: !0 },
|
|
66
|
+
showCount: { type: Boolean, default: !1 },
|
|
67
|
+
scrollY: { type: Boolean },
|
|
68
|
+
selectMulti: { type: Boolean, default: !1 },
|
|
69
|
+
selectSingle: { type: Boolean, default: !1 },
|
|
70
|
+
selected: {},
|
|
71
|
+
showListOnly: { type: Boolean },
|
|
72
|
+
showTableOnly: { type: Boolean },
|
|
73
|
+
size: { default: "small" },
|
|
74
|
+
transparent: { type: Boolean },
|
|
75
|
+
addBladeName: {},
|
|
76
|
+
additionalUrl: {},
|
|
77
|
+
bladeGroup: {},
|
|
78
|
+
bladeName: {},
|
|
79
|
+
bladeStartShowing: { type: Boolean },
|
|
80
|
+
canSelect: { type: Boolean, default: !0 },
|
|
81
|
+
canUnselect: { type: Boolean, default: !0 },
|
|
82
|
+
closeBladeNames: {},
|
|
83
|
+
confirmOnDelete: { type: Boolean },
|
|
84
|
+
customFilters: {},
|
|
85
|
+
dateFrom: {},
|
|
86
|
+
dateTo: {},
|
|
87
|
+
defaultFilters: {},
|
|
88
|
+
eager: { type: Boolean, default: !0 },
|
|
89
|
+
errorMsg: {},
|
|
90
|
+
filterToggle: { type: Boolean },
|
|
91
|
+
headers: {},
|
|
92
|
+
hideActions: { type: Boolean },
|
|
93
|
+
idSelector: {},
|
|
94
|
+
ignoreID: { type: Boolean },
|
|
95
|
+
inactiveProp: {},
|
|
96
|
+
isSingle: { type: Boolean },
|
|
97
|
+
itemBladeName: {},
|
|
98
|
+
itemID: {},
|
|
99
|
+
items: {},
|
|
100
|
+
itemsPerPage: { default: 75 },
|
|
101
|
+
itemText: {},
|
|
102
|
+
keyStrategy: {},
|
|
103
|
+
loadingMsg: {},
|
|
104
|
+
localFilters: {},
|
|
105
|
+
localOnly: { type: Boolean },
|
|
106
|
+
nav: {},
|
|
107
|
+
navType: {},
|
|
108
|
+
onCanDelete: {},
|
|
109
|
+
onCanDeleteAsync: {},
|
|
110
|
+
onCanIntegrate: {},
|
|
111
|
+
onCanRestore: {},
|
|
112
|
+
onCanRestoreAsync: {},
|
|
113
|
+
onCanSave: {},
|
|
114
|
+
onCanSaveAsync: {},
|
|
115
|
+
onCanSelectItem: {},
|
|
116
|
+
onDeleteAsync: {},
|
|
117
|
+
onDeleteSuccessAsync: {},
|
|
118
|
+
onError: {},
|
|
119
|
+
onFilter: {},
|
|
120
|
+
onFinished: {},
|
|
121
|
+
onGetAsync: {},
|
|
122
|
+
onGetSingleAsync: {},
|
|
123
|
+
onGetSaveAsync: {},
|
|
124
|
+
onGetSingleSuccessAsync: {},
|
|
125
|
+
onGetSuccessAsync: {},
|
|
126
|
+
onRestoreAsync: {},
|
|
127
|
+
onRestoreSuccessAsync: {},
|
|
128
|
+
onSaveAsync: {},
|
|
129
|
+
onSaveSuccessAsync: {},
|
|
130
|
+
onSelectItem: {},
|
|
131
|
+
onSyncAsync: {},
|
|
132
|
+
onUpdateAsyncItem: {},
|
|
133
|
+
params: {},
|
|
134
|
+
proxyID: {},
|
|
135
|
+
proxyKey: {},
|
|
136
|
+
refreshOnChange: { type: Boolean },
|
|
137
|
+
queryParams: {},
|
|
138
|
+
refreshLiteToggle: { type: Boolean },
|
|
139
|
+
refreshToggle: { type: Boolean },
|
|
140
|
+
searchKey: {},
|
|
141
|
+
searchProps: {},
|
|
142
|
+
searchStr: {},
|
|
143
|
+
selectProps: {},
|
|
144
|
+
sortDirection: {},
|
|
145
|
+
sortProp: {},
|
|
146
|
+
startEditing: { type: Boolean },
|
|
147
|
+
startShowingInactive: { type: Boolean },
|
|
148
|
+
startShowingSearch: { type: Boolean },
|
|
149
|
+
storeMode: {},
|
|
150
|
+
storageMode: {},
|
|
151
|
+
trackSearchQuery: { type: Boolean },
|
|
152
|
+
useBladeSrc: { type: Boolean, default: void 0 },
|
|
153
|
+
useRouteSrc: { type: Boolean, default: void 0 },
|
|
154
|
+
variant: { default: "page" }
|
|
155
|
+
},
|
|
156
|
+
emits: ["update:selected", "change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item"],
|
|
157
|
+
setup(ve, { emit: pe }) {
|
|
158
|
+
const K = pe, s = ve, Z = J(null), x = J(null), { getValue: _ } = Me(), { xs: ye } = Oe(), D = Ue(), T = Ne(s.preset), { findDisplay: he } = He(), P = Te(), ee = Le(), t = Fe(s, K, {
|
|
159
|
+
hideActions: !0,
|
|
160
|
+
onError: (e) => {
|
|
161
|
+
if (e.code == 401)
|
|
162
|
+
P.logout(), P.login(location.pathname);
|
|
163
|
+
else
|
|
164
|
+
return e;
|
|
165
|
+
},
|
|
166
|
+
router: De(),
|
|
167
|
+
route: D
|
|
168
|
+
}), f = k(() => s.actionButtonSize ?? s.size), me = k(() => T.canAdd ?? s.canAdd), te = k(() => {
|
|
169
|
+
const e = T.fadingActions ?? s.fadingActions;
|
|
170
|
+
return t.currentExternalParty.value == null && (e ?? !ye.value);
|
|
171
|
+
}), ge = k(() => T.hideColumns ?? s.hideColumns), fe = k(() => T.hideFilters ?? s.hideFilters), q = k(() => (T.hideIntegrations ?? s.hideIntegrations) || t.proxyID.value != null), Se = k(() => T.hideRefresh ?? s.hideRefresh), le = k(() => !!s.hideSubtoolbar || s.variant == "inline"), ke = k(() => {
|
|
172
|
+
var n, r, S;
|
|
173
|
+
let e = s.label ?? (s.variant == "page" ? (n = D == null ? void 0 : D.meta) == null ? void 0 : n.displayName : void 0) ?? he(s.nav);
|
|
174
|
+
return s.showCount && (s.paginate == "server" ? t.totalCount.value != null && (e = `${e} (${t.totalCount.value})`) : ((r = t.filteredItems.value) == null ? void 0 : r.length) != null && ((S = t.asyncItems.value) == null ? void 0 : S.length) != null && (e = `${e} (${t.filteredItems.value.length} of ${t.asyncItems.value.length})`)), e;
|
|
175
|
+
}), Y = k(() => s.variant == "inline" && (s.canSearch || A(s.searchProps))), H = k(() => {
|
|
176
|
+
let e = s.opacity != null ? `opacity: ${s.opacity};` : "";
|
|
177
|
+
if (s.actualHeight != null)
|
|
178
|
+
return `${e} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(${s.actualHeight})`;
|
|
179
|
+
if (s.actualUsedHeight != null)
|
|
180
|
+
return `${e} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${ee.getUsedHeight(s.actualUsedHeight)}px)`;
|
|
181
|
+
{
|
|
182
|
+
let n = 154;
|
|
183
|
+
return s.bordered ? n += 26 : s.variant == "page" && (n += 16), s.variant == "pure" && (n -= 96), le.value && (n -= 48), s.hideToolbar == !0 && (n -= 48), de(s.paginate) && (n -= 58), `${e} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${ee.getUsedHeight(n)}px)`;
|
|
184
|
+
}
|
|
185
|
+
}), M = J([]), ne = k({
|
|
186
|
+
get() {
|
|
187
|
+
const e = s.selected ?? M.value;
|
|
188
|
+
let n = s.returnCSV ? e.split(",") : e;
|
|
189
|
+
if (s.selectSingle && !Array.isArray(n) && (n = [n]), s.returnIndex && s.returnCSV)
|
|
190
|
+
return n.map((S) => Number.parseInt(S));
|
|
191
|
+
let r = [];
|
|
192
|
+
return s.itemValue != null && A(n) ? t.filteredItems.value.forEach((S) => {
|
|
193
|
+
const V = _(S, s.itemValue);
|
|
194
|
+
n.some((C) => C == V) && r.push(S);
|
|
195
|
+
}) : s.itemValue == null && r.push(...n), s.selectSingle ? A(r) ? [r[0]] : [] : r;
|
|
196
|
+
},
|
|
197
|
+
set(e) {
|
|
198
|
+
if (e == null)
|
|
199
|
+
K("update:selected", e), M.value = [];
|
|
200
|
+
else {
|
|
201
|
+
let n = e;
|
|
202
|
+
s.returnIndex ? n = e.map((r) => t.filteredItems.value.indexOf((S) => S === r)) : s.itemValue != null && (n = e.map((r) => _(r, s.itemValue))), s.selectSingle ? (n = A(n) ? n[0] : void 0, M.value = n != null ? [n] : []) : M.value = n, s.returnCSV && n != null && (n = n.toString()), K("update:selected", n), M.value = n;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
function ae() {
|
|
207
|
+
s.onFocusSearch != null ? s.onFocusSearch() : Ve(() => {
|
|
208
|
+
var n, r;
|
|
209
|
+
let e;
|
|
210
|
+
Y.value ? e = (n = x.value) == null ? void 0 : n.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])") : t.showSearch.value && (e = (r = Z.value) == null ? void 0 : r.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])")), e == null || e.focus();
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function $e() {
|
|
214
|
+
(s.canSearch !== !1 || A(s.searchProps)) && !t.showSearch.value && t.toggleSearch();
|
|
215
|
+
}
|
|
216
|
+
return we(t.showSearch, (e) => {
|
|
217
|
+
e && ae();
|
|
218
|
+
}), Ee(() => {
|
|
219
|
+
ae();
|
|
220
|
+
}), (e, n) => {
|
|
221
|
+
const r = g("v-btn"), S = g("v-text-field"), V = g("v-slide-x-transition"), C = g("v-list-item"), N = g("v-list"), L = g("v-menu"), be = g("v-slide-y-transition"), ie = g("v-spacer"), se = g("v-icon"), oe = g("v-fade-transition"), Q = g("v-slide-y-reverse-transition"), W = g("bt-header-option"), re = g("v-row"), ze = g("v-divider"), Ce = g("v-table"), Be = g("v-pagination"), Ae = g("bt-blade");
|
|
222
|
+
return i(), c(Ae, {
|
|
223
|
+
onTitled: $e,
|
|
224
|
+
bladeBasic: "",
|
|
225
|
+
bladeName: e.bladeName,
|
|
226
|
+
bladeStartShowing: e.bladeStartShowing,
|
|
227
|
+
bordered: e.bordered,
|
|
228
|
+
density: e.density,
|
|
229
|
+
flat: e.flat,
|
|
230
|
+
errorMsg: l(t).errorMsg.value,
|
|
231
|
+
hideSubtoolbar: le.value,
|
|
232
|
+
hideToolbar: e.hideToolbar,
|
|
233
|
+
label: ke.value,
|
|
234
|
+
loadingMsg: l(t).loadingMsg.value,
|
|
235
|
+
opacity: e.opacity,
|
|
236
|
+
preset: e.preset,
|
|
237
|
+
showOnlyTitleLeft: Y.value && l(t).showSearch.value,
|
|
238
|
+
size: e.size,
|
|
239
|
+
transparent: e.transparent,
|
|
240
|
+
variant: e.variant
|
|
241
|
+
}, {
|
|
242
|
+
"blade-toolbar": o(() => [
|
|
243
|
+
y(e.$slots, "blade-toolbar", {
|
|
244
|
+
refresh: l(t).refresh,
|
|
245
|
+
searchString: l(t).searchString,
|
|
246
|
+
showSearch: l(t).showSearch,
|
|
247
|
+
toggleSearch: l(t).toggleSearch,
|
|
248
|
+
ui: l(t)
|
|
249
|
+
}, void 0, !0)
|
|
250
|
+
]),
|
|
251
|
+
"blade-toolbar-left": o(() => [
|
|
252
|
+
y(e.$slots, "toolbar-left", { ui: l(t) }, void 0, !0)
|
|
253
|
+
]),
|
|
254
|
+
"blade-title-left": o(() => [
|
|
255
|
+
Y.value ? (i(), p("div", Ge, [
|
|
256
|
+
y(e.$slots, "search-box", { ui: l(t) }, () => [
|
|
257
|
+
u(r, {
|
|
258
|
+
icon: l(t).showSearch.value ? "$close" : "$magnify",
|
|
259
|
+
size: e.size,
|
|
260
|
+
onClick: l(t).toggleSearch,
|
|
261
|
+
variant: "text"
|
|
262
|
+
}, null, 8, ["icon", "size", "onClick"]),
|
|
263
|
+
u(V, { "hide-on-leave": "" }, {
|
|
264
|
+
default: o(() => [
|
|
265
|
+
l(t).showSearch.value ? (i(), c(S, {
|
|
266
|
+
key: 0,
|
|
267
|
+
"onClick:appendInner": n[0] || (n[0] = () => l(t).refresh({ deepRefresh: !0 })),
|
|
268
|
+
onKeyup: n[1] || (n[1] = ue(m(() => {
|
|
269
|
+
console.log("kk");
|
|
270
|
+
}, ["stop"]), ["native", "enter"])),
|
|
271
|
+
"append-inner-icon": "$magnify",
|
|
272
|
+
autofocus: "",
|
|
273
|
+
density: e.density,
|
|
274
|
+
flat: "",
|
|
275
|
+
"hide-details": "",
|
|
276
|
+
placeholder: "Find",
|
|
277
|
+
ref_key: "inlineSearchEl",
|
|
278
|
+
ref: x,
|
|
279
|
+
style: { width: "200px" },
|
|
280
|
+
variant: "solo",
|
|
281
|
+
modelValue: l(t).searchString.value,
|
|
282
|
+
"onUpdate:modelValue": n[2] || (n[2] = (d) => l(t).searchString.value = d)
|
|
283
|
+
}, null, 8, ["density", "modelValue"])) : v("", !0)
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
})
|
|
287
|
+
], !0)
|
|
288
|
+
])) : v("", !0)
|
|
289
|
+
]),
|
|
290
|
+
"blade-toolbar-right": o(() => [
|
|
291
|
+
y(e.$slots, "toolbar-right", {
|
|
292
|
+
style: U(H.value),
|
|
293
|
+
ui: l(t)
|
|
294
|
+
}, void 0, !0),
|
|
295
|
+
Se.value ? v("", !0) : (i(), c(r, {
|
|
296
|
+
key: 0,
|
|
297
|
+
icon: "$refresh",
|
|
298
|
+
onClick: n[3] || (n[3] = m((d) => l(t).refresh({ deepRefresh: !0 }), ["stop"])),
|
|
299
|
+
size: e.size,
|
|
300
|
+
title: "Refresh",
|
|
301
|
+
variant: "text"
|
|
302
|
+
}, null, 8, ["size"])),
|
|
303
|
+
me.value ? (i(), c(r, {
|
|
304
|
+
key: 1,
|
|
305
|
+
icon: "$plus",
|
|
306
|
+
onClick: n[4] || (n[4] = m((d) => l(t).add(e.variant), ["stop"])),
|
|
307
|
+
size: e.size,
|
|
308
|
+
disabled: !l(P).canEdit(e.nav),
|
|
309
|
+
title: "Add",
|
|
310
|
+
variant: "text"
|
|
311
|
+
}, null, 8, ["size", "disabled"])) : v("", !0)
|
|
312
|
+
]),
|
|
313
|
+
subtoolbar: o(() => [
|
|
314
|
+
y(e.$slots, "subtoolbar", {}, () => [
|
|
315
|
+
e.hideSubtoolbarSettings ? v("", !0) : (i(), c(L, {
|
|
316
|
+
key: 0,
|
|
317
|
+
"close-on-content-click": !1,
|
|
318
|
+
density: e.density
|
|
319
|
+
}, {
|
|
320
|
+
activator: o(({ props: d }) => [
|
|
321
|
+
u(r, O({
|
|
322
|
+
icon: "$cog",
|
|
323
|
+
size: e.size
|
|
324
|
+
}, d, { variant: "text" }), null, 16, ["size"])
|
|
325
|
+
]),
|
|
326
|
+
default: o(() => [
|
|
327
|
+
u(N, {
|
|
328
|
+
density: e.density,
|
|
329
|
+
"min-width": "300"
|
|
330
|
+
}, {
|
|
331
|
+
default: o(() => [
|
|
332
|
+
ge.value ? v("", !0) : (i(), c(L, {
|
|
333
|
+
key: 0,
|
|
334
|
+
"close-on-content-click": !1,
|
|
335
|
+
density: e.density,
|
|
336
|
+
location: "end"
|
|
337
|
+
}, {
|
|
338
|
+
activator: o(({ props: d }) => [
|
|
339
|
+
u(C, O(d, {
|
|
340
|
+
"prepend-icon": "$view-column",
|
|
341
|
+
subtitle: "Columns"
|
|
342
|
+
}), null, 16)
|
|
343
|
+
]),
|
|
344
|
+
default: o(() => [
|
|
345
|
+
u(N, null, {
|
|
346
|
+
default: o(() => [
|
|
347
|
+
(i(!0), p($, null, z(l(t).headerOptions.value, (d, B) => (i(), c(C, {
|
|
348
|
+
key: B,
|
|
349
|
+
"prepend-icon": d.hide === !0 ? "mdi" : "$check",
|
|
350
|
+
subtitle: d.title,
|
|
351
|
+
onClick: m((a) => d.hide = !d.hide, ["stop"])
|
|
352
|
+
}, null, 8, ["prepend-icon", "subtitle", "onClick"]))), 128))
|
|
353
|
+
]),
|
|
354
|
+
_: 1
|
|
355
|
+
})
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
}, 8, ["density"])),
|
|
359
|
+
e.archiveBladeName != null ? (i(), c(C, {
|
|
360
|
+
key: 1,
|
|
361
|
+
density: e.density,
|
|
362
|
+
"prepend-icon": "$archive-outline",
|
|
363
|
+
subtitle: "Archives",
|
|
364
|
+
to: { name: e.archiveBladeName }
|
|
365
|
+
}, null, 8, ["density", "to"])) : v("", !0),
|
|
366
|
+
e.canShowInactive ? (i(), c(C, {
|
|
367
|
+
key: 2,
|
|
368
|
+
density: e.density,
|
|
369
|
+
"prepend-icon": "$eraser",
|
|
370
|
+
subtitle: l(t).showInactive.value ? "Hide Inactive" : "Show Inactive",
|
|
371
|
+
onClick: n[5] || (n[5] = m((d) => l(t).showInactive.value = !l(t).showInactive.value, ["stop"]))
|
|
372
|
+
}, null, 8, ["density", "subtitle"])) : v("", !0),
|
|
373
|
+
e.canExportCSV ? (i(), c(C, {
|
|
374
|
+
key: 3,
|
|
375
|
+
density: e.density,
|
|
376
|
+
"prepend-icon": "$file-delimited-outline",
|
|
377
|
+
subtitle: "Export To CSV",
|
|
378
|
+
onClick: l(t).exportToCSV
|
|
379
|
+
}, null, 8, ["density", "onClick"])) : v("", !0),
|
|
380
|
+
y(e.$slots, "settings", {
|
|
381
|
+
items: l(t).filteredItems.value,
|
|
382
|
+
allItems: l(t).asyncItems.value,
|
|
383
|
+
size: e.size,
|
|
384
|
+
ui: l(t)
|
|
385
|
+
}, void 0, !0)
|
|
386
|
+
]),
|
|
387
|
+
_: 3
|
|
388
|
+
}, 8, ["density"])
|
|
389
|
+
]),
|
|
390
|
+
_: 3
|
|
391
|
+
}, 8, ["density"])),
|
|
392
|
+
y(e.$slots, "search-box", { ui: l(t) }, () => [
|
|
393
|
+
u(be, { "hide-on-leave": "" }, {
|
|
394
|
+
default: o(() => [
|
|
395
|
+
(e.canSearch !== !1 || l(A)(e.searchProps)) && !l(t).showSearch.value ? (i(), c(r, {
|
|
396
|
+
icon: "$magnify",
|
|
397
|
+
key: "11",
|
|
398
|
+
size: e.size,
|
|
399
|
+
onClick: m(l(t).toggleSearch, ["stop"])
|
|
400
|
+
}, null, 8, ["size", "onClick"])) : (e.canSearch !== !1 || l(A)(e.searchProps)) && l(t).showSearch.value ? (i(), c(S, {
|
|
401
|
+
"onClick:appendInner": n[6] || (n[6] = () => l(t).refresh({ deepRefresh: !0 })),
|
|
402
|
+
"onClick:prependInner": n[7] || (n[7] = () => l(t).toggleSearch()),
|
|
403
|
+
onKeyup: n[8] || (n[8] = ue(m(() => l(t).refresh({ deepRefresh: !0 }), ["stop"]), ["native", "enter"])),
|
|
404
|
+
"append-inner-icon": "$magnify",
|
|
405
|
+
"prepend-inner-icon": "$close",
|
|
406
|
+
density: e.density,
|
|
407
|
+
flat: "",
|
|
408
|
+
"hide-details": "",
|
|
409
|
+
ref_key: "searchEl",
|
|
410
|
+
ref: Z,
|
|
411
|
+
key: "12",
|
|
412
|
+
placeholder: "Find",
|
|
413
|
+
variant: "outlined",
|
|
414
|
+
modelValue: l(t).searchString.value,
|
|
415
|
+
"onUpdate:modelValue": n[9] || (n[9] = (d) => l(t).searchString.value = d)
|
|
416
|
+
}, null, 8, ["density", "modelValue"])) : v("", !0)
|
|
417
|
+
]),
|
|
418
|
+
_: 1
|
|
419
|
+
})
|
|
420
|
+
], !0),
|
|
421
|
+
y(e.$slots, "actions", {
|
|
422
|
+
ui: l(t),
|
|
423
|
+
allItems: l(t).asyncItems.value,
|
|
424
|
+
size: e.size
|
|
425
|
+
}, void 0, !0),
|
|
426
|
+
u(ie),
|
|
427
|
+
y(e.$slots, "actions-right", {
|
|
428
|
+
ui: l(t),
|
|
429
|
+
allItems: l(t).asyncItems.value,
|
|
430
|
+
size: e.size
|
|
431
|
+
}, void 0, !0),
|
|
432
|
+
!fe.value && l(A)(l(t).filters.value) ? (i(), c(L, {
|
|
433
|
+
key: 1,
|
|
434
|
+
"close-on-content-click": !1,
|
|
435
|
+
density: e.density,
|
|
436
|
+
location: "start"
|
|
437
|
+
}, {
|
|
438
|
+
activator: o(({ props: d }) => [
|
|
439
|
+
u(r, O({
|
|
440
|
+
icon: "$filter",
|
|
441
|
+
size: e.size
|
|
442
|
+
}, d, { variant: "text" }), null, 16, ["size"])
|
|
443
|
+
]),
|
|
444
|
+
default: o(() => [
|
|
445
|
+
u(N, {
|
|
446
|
+
class: "pa-0",
|
|
447
|
+
density: e.density,
|
|
448
|
+
"open-strategy": "multiple",
|
|
449
|
+
"select-strategy": "classic",
|
|
450
|
+
selected: l(t).selectedFilters.value,
|
|
451
|
+
"onUpdate:selected": n[10] || (n[10] = (d) => l(t).selectedFilters.value = d)
|
|
452
|
+
}, {
|
|
453
|
+
default: o(() => [
|
|
454
|
+
(i(!0), p($, null, z(l(t).filters.value, (d, B) => (i(), c(C, {
|
|
455
|
+
key: B,
|
|
456
|
+
subtitle: d,
|
|
457
|
+
value: B
|
|
458
|
+
}, {
|
|
459
|
+
prepend: o(({ isActive: a }) => [
|
|
460
|
+
u(V, null, {
|
|
461
|
+
default: o(() => [
|
|
462
|
+
u(se, { size: e.size }, {
|
|
463
|
+
default: o(() => [
|
|
464
|
+
G(X(a ? "$check" : ""), 1)
|
|
465
|
+
]),
|
|
466
|
+
_: 2
|
|
467
|
+
}, 1032, ["size"])
|
|
468
|
+
]),
|
|
469
|
+
_: 2
|
|
470
|
+
}, 1024)
|
|
471
|
+
]),
|
|
472
|
+
_: 2
|
|
473
|
+
}, 1032, ["subtitle", "value"]))), 128)),
|
|
474
|
+
u(oe, { "hide-on-leave": "" }, {
|
|
475
|
+
default: o(() => [
|
|
476
|
+
l(t).filtersChanged.value ? (i(), c(r, {
|
|
477
|
+
key: 0,
|
|
478
|
+
block: "",
|
|
479
|
+
onClick: m(l(t).applyFilters, ["stop"]),
|
|
480
|
+
size: e.size
|
|
481
|
+
}, {
|
|
482
|
+
default: o(() => [
|
|
483
|
+
u(se, {
|
|
484
|
+
start: "",
|
|
485
|
+
size: e.size
|
|
486
|
+
}, {
|
|
487
|
+
default: o(() => n[16] || (n[16] = [
|
|
488
|
+
G("$filter")
|
|
489
|
+
])),
|
|
490
|
+
_: 1
|
|
491
|
+
}, 8, ["size"]),
|
|
492
|
+
n[17] || (n[17] = G("Apply "))
|
|
493
|
+
]),
|
|
494
|
+
_: 1
|
|
495
|
+
}, 8, ["onClick", "size"])) : v("", !0)
|
|
496
|
+
]),
|
|
497
|
+
_: 1
|
|
498
|
+
})
|
|
499
|
+
]),
|
|
500
|
+
_: 1
|
|
501
|
+
}, 8, ["density", "selected"])
|
|
502
|
+
]),
|
|
503
|
+
_: 1
|
|
504
|
+
}, 8, ["density"])) : v("", !0),
|
|
505
|
+
!q.value && l(A)(l(t).externalParties.value) ? (i(), c(L, {
|
|
506
|
+
key: 2,
|
|
507
|
+
density: e.density,
|
|
508
|
+
location: "bottom"
|
|
509
|
+
}, {
|
|
510
|
+
activator: o(({ props: d }) => [
|
|
511
|
+
u(Q, { "hide-on-leave": "" }, {
|
|
512
|
+
default: o(() => [
|
|
513
|
+
l(t).currentExternalParty.value != null ? (i(), p("div", Re, [
|
|
514
|
+
u(r, {
|
|
515
|
+
icon: "$close",
|
|
516
|
+
onClick: n[11] || (n[11] = m((B) => l(t).selectExternalParty(void 0), ["stop"]))
|
|
517
|
+
}),
|
|
518
|
+
R("span", null, "Sync: " + X(l(ce)(l(t).currentExternalParty.value.party)), 1)
|
|
519
|
+
])) : (i(), c(r, O({
|
|
520
|
+
key: 1,
|
|
521
|
+
icon: "$cloud-sync",
|
|
522
|
+
size: e.size
|
|
523
|
+
}, d, {
|
|
524
|
+
title: "Open sync options",
|
|
525
|
+
variant: "text"
|
|
526
|
+
}), null, 16, ["size"]))
|
|
527
|
+
]),
|
|
528
|
+
_: 2
|
|
529
|
+
}, 1024)
|
|
530
|
+
]),
|
|
531
|
+
default: o(() => [
|
|
532
|
+
u(N, {
|
|
533
|
+
density: e.density,
|
|
534
|
+
"min-width": "150"
|
|
535
|
+
}, {
|
|
536
|
+
default: o(() => [
|
|
537
|
+
(i(!0), p($, null, z(l(t).externalParties.value, (d, B) => (i(), c(C, {
|
|
538
|
+
onClick: m((a) => l(t).selectExternalParty(d), ["stop"]),
|
|
539
|
+
key: (d.party ?? "") + B,
|
|
540
|
+
title: l(ce)(d.party)
|
|
541
|
+
}, null, 8, ["onClick", "title"]))), 128))
|
|
542
|
+
]),
|
|
543
|
+
_: 1
|
|
544
|
+
}, 8, ["density"])
|
|
545
|
+
]),
|
|
546
|
+
_: 1
|
|
547
|
+
}, 8, ["density"])) : v("", !0)
|
|
548
|
+
], !0)
|
|
549
|
+
]),
|
|
550
|
+
content: o(({ bladeData: d, isMobile: B }) => [
|
|
551
|
+
y(e.$slots, "d", {
|
|
552
|
+
items: l(t).asyncItems
|
|
553
|
+
}, void 0, !0),
|
|
554
|
+
y(e.$slots, "body", {
|
|
555
|
+
bladeData: d,
|
|
556
|
+
items: l(t).filteredItems.value,
|
|
557
|
+
allItems: l(t).asyncItems.value,
|
|
558
|
+
refresh: l(t).refresh,
|
|
559
|
+
searchString: l(t).searchString,
|
|
560
|
+
showSearch: l(t).showSearch,
|
|
561
|
+
size: e.size,
|
|
562
|
+
style: U(H.value),
|
|
563
|
+
toggleSearch: l(t).toggleSearch,
|
|
564
|
+
ui: l(t)
|
|
565
|
+
}, () => [
|
|
566
|
+
y(e.$slots, "top", {
|
|
567
|
+
refresh: l(t).refresh,
|
|
568
|
+
searchString: l(t).searchString,
|
|
569
|
+
showSearch: l(t).showSearch,
|
|
570
|
+
toggleSearch: l(t).toggleSearch,
|
|
571
|
+
size: e.size,
|
|
572
|
+
allItems: l(t).asyncItems.value,
|
|
573
|
+
items: l(t).filteredItems.value,
|
|
574
|
+
ui: l(t)
|
|
575
|
+
}, void 0, !0),
|
|
576
|
+
l(A)(l(t).asyncItems.value) ? e.selectSingle || e.selectMulti || e.showListOnly === !0 || B ? (i(), c(N, {
|
|
577
|
+
key: 1,
|
|
578
|
+
"active-class": e.activeClass,
|
|
579
|
+
class: F(["pt-0", e.scrollY ? "overflow-y-auto" : ""]),
|
|
580
|
+
"bg-color": e.transparent ? "transparent" : void 0,
|
|
581
|
+
flat: "",
|
|
582
|
+
density: e.density,
|
|
583
|
+
lines: e.lines,
|
|
584
|
+
mandatory: !e.canUnselect,
|
|
585
|
+
selectable: e.selectSingle || e.selectMulti,
|
|
586
|
+
"select-strategy": e.selectSingle ? "single-independent" : "independent",
|
|
587
|
+
style: U(H.value),
|
|
588
|
+
selected: ne.value,
|
|
589
|
+
"onUpdate:selected": n[13] || (n[13] = (a) => ne.value = a)
|
|
590
|
+
}, {
|
|
591
|
+
default: o(() => [
|
|
592
|
+
u(V, {
|
|
593
|
+
group: "",
|
|
594
|
+
"hide-on-leave": ""
|
|
595
|
+
}, {
|
|
596
|
+
default: o(() => [
|
|
597
|
+
(i(!0), p($, null, z(l(t).filteredItems.value, (a, I) => (i(), p($, {
|
|
598
|
+
key: `${a.id}${I}-table-list-item`
|
|
599
|
+
}, [
|
|
600
|
+
y(e.$slots, "listItem", {
|
|
601
|
+
bladeData: d,
|
|
602
|
+
deleteItem: () => l(t).deleteItem(a),
|
|
603
|
+
item: a,
|
|
604
|
+
index: I,
|
|
605
|
+
size: e.size,
|
|
606
|
+
select: () => l(t).selectItem(a, e.variant),
|
|
607
|
+
ui: l(t)
|
|
608
|
+
}, () => [
|
|
609
|
+
u(C, {
|
|
610
|
+
class: "mouse-item",
|
|
611
|
+
density: e.density,
|
|
612
|
+
ripple: e.ripple,
|
|
613
|
+
value: a,
|
|
614
|
+
onClick: (h) => l(t).selectItem(a, e.variant),
|
|
615
|
+
onMouseover: (h) => e.$emit("mouse-over-item", a)
|
|
616
|
+
}, Pe({
|
|
617
|
+
title: o(() => [
|
|
618
|
+
y(e.$slots, "itemTitle", {
|
|
619
|
+
item: a,
|
|
620
|
+
index: I,
|
|
621
|
+
size: e.size
|
|
622
|
+
}, () => [
|
|
623
|
+
(i(!0), p($, null, z(l(t).titleOptions.value, (h, w) => (i(), p("span", { key: w }, [
|
|
624
|
+
(i(!0), p($, null, z(h.values, (b, E) => y(e.$slots, b.value, {
|
|
625
|
+
key: E,
|
|
626
|
+
item: a,
|
|
627
|
+
class: "mr-1"
|
|
628
|
+
}, () => [
|
|
629
|
+
u(W, {
|
|
630
|
+
option: b,
|
|
631
|
+
data: a
|
|
632
|
+
}, null, 8, ["option", "data"])
|
|
633
|
+
], !0)), 128))
|
|
634
|
+
]))), 128))
|
|
635
|
+
], !0)
|
|
636
|
+
]),
|
|
637
|
+
subtitle: o(() => [
|
|
638
|
+
y(e.$slots, "itemSubtitle", {
|
|
639
|
+
item: a,
|
|
640
|
+
index: I,
|
|
641
|
+
size: e.size
|
|
642
|
+
}, () => [
|
|
643
|
+
(i(!0), p($, null, z(l(t).subtitleOptions.value, (h, w) => (i(), p("span", { key: w }, [
|
|
644
|
+
(i(!0), p($, null, z(h.values, (b, E) => y(e.$slots, b.value, {
|
|
645
|
+
key: E,
|
|
646
|
+
item: a,
|
|
647
|
+
class: "mr-1"
|
|
648
|
+
}, () => [
|
|
649
|
+
u(W, {
|
|
650
|
+
option: b,
|
|
651
|
+
data: a
|
|
652
|
+
}, null, 8, ["option", "data"])
|
|
653
|
+
], !0)), 128))
|
|
654
|
+
]))), 128))
|
|
655
|
+
], !0)
|
|
656
|
+
]),
|
|
657
|
+
prepend: o(() => [
|
|
658
|
+
y(e.$slots, "itemPrepend", {
|
|
659
|
+
item: a,
|
|
660
|
+
index: I,
|
|
661
|
+
size: e.size
|
|
662
|
+
}, void 0, !0)
|
|
663
|
+
]),
|
|
664
|
+
_: 2
|
|
665
|
+
}, [
|
|
666
|
+
e.hideActions ? void 0 : {
|
|
667
|
+
name: "append",
|
|
668
|
+
fn: o(() => [
|
|
669
|
+
u(re, {
|
|
670
|
+
"no-gutters": "",
|
|
671
|
+
class: F(te.value ? "actionButtons" : null)
|
|
672
|
+
}, {
|
|
673
|
+
default: o(() => [
|
|
674
|
+
y(e.$slots, "itemActions", {
|
|
675
|
+
item: a,
|
|
676
|
+
index: I,
|
|
677
|
+
items: l(t).asyncItems.value,
|
|
678
|
+
size: f.value
|
|
679
|
+
}, void 0, !0),
|
|
680
|
+
u(V, {
|
|
681
|
+
group: "",
|
|
682
|
+
"hide-on-leave": ""
|
|
683
|
+
}, {
|
|
684
|
+
default: o(() => [
|
|
685
|
+
!q.value && l(t).isIntegratable.value(a) ? (i(), p("div", Ke, [
|
|
686
|
+
u(Q, { "hide-on-leave": "" }, {
|
|
687
|
+
default: o(() => {
|
|
688
|
+
var h, w, b, E;
|
|
689
|
+
return [
|
|
690
|
+
l(t).isIntegrated.value(a) ? (i(), p("div", qe, [
|
|
691
|
+
u(r, {
|
|
692
|
+
class: "text-success",
|
|
693
|
+
icon: "$cloud-check",
|
|
694
|
+
size: f.value,
|
|
695
|
+
title: `Synced with ${(h = l(t).currentExternalParty.value) == null ? void 0 : h.party}`,
|
|
696
|
+
variant: "text"
|
|
697
|
+
}, null, 8, ["size", "title"]),
|
|
698
|
+
(w = l(t).currentExternalParty.value) != null && w.canUnlink ? (i(), c(r, {
|
|
699
|
+
key: 0,
|
|
700
|
+
onClick: m((j) => l(t).unlinkFromExternalParty(a), ["stop"]),
|
|
701
|
+
class: "text-error",
|
|
702
|
+
icon: "$cloud-remove",
|
|
703
|
+
size: f.value,
|
|
704
|
+
title: `Unlink from ${(b = l(t).currentExternalParty.value) == null ? void 0 : b.party}`,
|
|
705
|
+
variant: "text"
|
|
706
|
+
}, null, 8, ["onClick", "size", "title"])) : v("", !0)
|
|
707
|
+
])) : (i(), c(r, {
|
|
708
|
+
onClick: m((j) => l(t).pushToExternalParty(a), ["stop"]),
|
|
709
|
+
icon: "$cloud-upload",
|
|
710
|
+
key: "a2",
|
|
711
|
+
size: f.value,
|
|
712
|
+
title: `Send to ${(E = l(t).currentExternalParty.value) == null ? void 0 : E.party}`,
|
|
713
|
+
variant: "text"
|
|
714
|
+
}, null, 8, ["onClick", "size", "title"]))
|
|
715
|
+
];
|
|
716
|
+
}),
|
|
717
|
+
_: 2
|
|
718
|
+
}, 1024)
|
|
719
|
+
])) : v("", !0),
|
|
720
|
+
a.errorMsg != null ? (i(), c(r, {
|
|
721
|
+
onClick: n[12] || (n[12] = m(() => {
|
|
722
|
+
}, ["stop"])),
|
|
723
|
+
class: "text-warning",
|
|
724
|
+
icon: "$alert-circle",
|
|
725
|
+
key: "1",
|
|
726
|
+
size: f.value,
|
|
727
|
+
title: a.errorMsg
|
|
728
|
+
}, null, 8, ["size", "title"])) : v("", !0),
|
|
729
|
+
e.canDelete && l(t).isDeletable.value(a) ? (i(), c(r, {
|
|
730
|
+
onClick: m((h) => l(t).deleteItem(a), ["stop"]),
|
|
731
|
+
class: "text-error",
|
|
732
|
+
disabled: !l(P).canEdit(e.nav),
|
|
733
|
+
icon: "$delete",
|
|
734
|
+
key: "2",
|
|
735
|
+
loading: a.loadingCount > 0,
|
|
736
|
+
size: f.value,
|
|
737
|
+
variant: "text"
|
|
738
|
+
}, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0),
|
|
739
|
+
e.canRestore && l(t).isRestorable.value(a) ? (i(), c(r, {
|
|
740
|
+
onClick: m((h) => l(t).restoreItem(a), ["stop"]),
|
|
741
|
+
disabled: !l(P).canEdit(e.nav),
|
|
742
|
+
key: "3",
|
|
743
|
+
icon: "$eraser-variant",
|
|
744
|
+
loading: a.loadingCount > 0,
|
|
745
|
+
size: f.value,
|
|
746
|
+
variant: "text"
|
|
747
|
+
}, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0)
|
|
748
|
+
]),
|
|
749
|
+
_: 2
|
|
750
|
+
}, 1024)
|
|
751
|
+
]),
|
|
752
|
+
_: 2
|
|
753
|
+
}, 1032, ["class"])
|
|
754
|
+
]),
|
|
755
|
+
key: "0"
|
|
756
|
+
}
|
|
757
|
+
]), 1032, ["density", "ripple", "value", "onClick", "onMouseover"])
|
|
758
|
+
], !0),
|
|
759
|
+
e.dividers ? (i(), c(ze, {
|
|
760
|
+
key: "d" + I.toString()
|
|
761
|
+
})) : v("", !0)
|
|
762
|
+
], 64))), 128))
|
|
763
|
+
]),
|
|
764
|
+
_: 2
|
|
765
|
+
}, 1024),
|
|
766
|
+
y(e.$slots, "bottomItem", {}, void 0, !0)
|
|
767
|
+
]),
|
|
768
|
+
_: 2
|
|
769
|
+
}, 1032, ["active-class", "class", "bg-color", "density", "lines", "mandatory", "selectable", "select-strategy", "style", "selected"])) : e.showTableOnly === !0 || !B ? (i(), c(Ce, {
|
|
770
|
+
key: 2,
|
|
771
|
+
class: "text-body-2 overflow-y-auto",
|
|
772
|
+
density: e.density,
|
|
773
|
+
"fixed-header": e.fixedHeader,
|
|
774
|
+
hover: "",
|
|
775
|
+
style: U(H.value)
|
|
776
|
+
}, {
|
|
777
|
+
default: o(() => [
|
|
778
|
+
R("thead", null, [
|
|
779
|
+
R("tr", null, [
|
|
780
|
+
(i(!0), p($, null, z(l(t).tableHeaders.value, (a) => (i(), p("th", {
|
|
781
|
+
key: a.value,
|
|
782
|
+
class: F(`d-none d-${a.showSize ?? "sm"}-table-cell ${a.align == "end" ? "text-right" : void 0}`)
|
|
783
|
+
}, [
|
|
784
|
+
y(e.$slots, `${a.value}-header`, { options: a }, () => [
|
|
785
|
+
G(X(a.title), 1)
|
|
786
|
+
], !0)
|
|
787
|
+
], 2))), 128)),
|
|
788
|
+
e.hideActions ? v("", !0) : (i(), p("th", Ye, " Actions "))
|
|
789
|
+
])
|
|
790
|
+
]),
|
|
791
|
+
R("tbody", null, [
|
|
792
|
+
u(V, {
|
|
793
|
+
group: "",
|
|
794
|
+
"hide-on-leave": ""
|
|
795
|
+
}, {
|
|
796
|
+
default: o(() => [
|
|
797
|
+
(i(!0), p($, null, z(l(t).filteredItems.value, (a, I) => (i(), p("tr", {
|
|
798
|
+
key: `${a.id}${I}`,
|
|
799
|
+
onClick: (h) => l(t).selectItem(a, e.variant)
|
|
800
|
+
}, [
|
|
801
|
+
(i(!0), p($, null, z(l(t).tableHeaders.value, (h) => (i(), p("td", {
|
|
802
|
+
key: "1" + h.value,
|
|
803
|
+
class: F(`d-none d-${h.showSize ?? "sm"}-table-cell ${h.align == "end" ? "text-right" : void 0}`)
|
|
804
|
+
}, [
|
|
805
|
+
y(e.$slots, h.value, {
|
|
806
|
+
item: a,
|
|
807
|
+
options: h
|
|
808
|
+
}, () => [
|
|
809
|
+
u(W, {
|
|
810
|
+
option: h,
|
|
811
|
+
data: a
|
|
812
|
+
}, null, 8, ["option", "data"])
|
|
813
|
+
], !0)
|
|
814
|
+
], 2))), 128)),
|
|
815
|
+
e.hideActions ? v("", !0) : (i(), p("td", {
|
|
816
|
+
key: "itemActions" + a.id,
|
|
817
|
+
class: "text-right"
|
|
818
|
+
}, [
|
|
819
|
+
u(oe, { "hide-on-leave": "" }, {
|
|
820
|
+
default: o(() => [
|
|
821
|
+
u(re, {
|
|
822
|
+
"no-gutters": "",
|
|
823
|
+
class: F([te.value ? "actionButtons" : null, "flex-nowrap"])
|
|
824
|
+
}, {
|
|
825
|
+
default: o(() => [
|
|
826
|
+
u(ie),
|
|
827
|
+
y(e.$slots, "itemActions", {
|
|
828
|
+
item: a,
|
|
829
|
+
allItems: l(t).asyncItems.value,
|
|
830
|
+
items: l(t).filteredItems.value,
|
|
831
|
+
size: f.value,
|
|
832
|
+
density: e.density,
|
|
833
|
+
ui: l(t)
|
|
834
|
+
}, void 0, !0),
|
|
835
|
+
!q.value && l(t).isIntegratable.value(a) ? (i(), p("div", We, [
|
|
836
|
+
u(Q, { "hide-on-leave": "" }, {
|
|
837
|
+
default: o(() => {
|
|
838
|
+
var h, w, b, E;
|
|
839
|
+
return [
|
|
840
|
+
l(t).isIntegrated.value(a) ? (i(), p("div", je, [
|
|
841
|
+
u(r, {
|
|
842
|
+
class: "text-success",
|
|
843
|
+
icon: "$cloud-check",
|
|
844
|
+
size: f.value,
|
|
845
|
+
title: `Synced with ${(h = l(t).currentExternalParty.value) == null ? void 0 : h.party}`,
|
|
846
|
+
variant: "text"
|
|
847
|
+
}, null, 8, ["size", "title"]),
|
|
848
|
+
(w = l(t).currentExternalParty.value) != null && w.canUnlink ? (i(), c(r, {
|
|
849
|
+
key: 0,
|
|
850
|
+
onClick: m((j) => l(t).unlinkFromExternalParty(a), ["stop"]),
|
|
851
|
+
class: "text-error",
|
|
852
|
+
icon: "$cloud-remove",
|
|
853
|
+
size: f.value,
|
|
854
|
+
title: `Unlink from ${(b = l(t).currentExternalParty.value) == null ? void 0 : b.party}`,
|
|
855
|
+
variant: "text"
|
|
856
|
+
}, null, 8, ["onClick", "size", "title"])) : v("", !0)
|
|
857
|
+
])) : (i(), c(r, {
|
|
858
|
+
onClick: m((j) => l(t).pushToExternalParty(a), ["stop"]),
|
|
859
|
+
icon: "$cloud-upload",
|
|
860
|
+
key: "a2",
|
|
861
|
+
size: f.value,
|
|
862
|
+
title: `Send to ${(E = l(t).currentExternalParty.value) == null ? void 0 : E.party}`,
|
|
863
|
+
variant: "text"
|
|
864
|
+
}, null, 8, ["onClick", "size", "title"]))
|
|
865
|
+
];
|
|
866
|
+
}),
|
|
867
|
+
_: 2
|
|
868
|
+
}, 1024)
|
|
869
|
+
])) : v("", !0),
|
|
870
|
+
a.errorMsg != null ? (i(), c(r, {
|
|
871
|
+
onClick: n[14] || (n[14] = m(() => {
|
|
872
|
+
}, ["stop"])),
|
|
873
|
+
class: "text-warning",
|
|
874
|
+
icon: "$alert-circle",
|
|
875
|
+
key: "1",
|
|
876
|
+
size: f.value,
|
|
877
|
+
title: a.errorMsg
|
|
878
|
+
}, null, 8, ["size", "title"])) : v("", !0),
|
|
879
|
+
e.canDelete && l(t).isDeletable.value(a) ? (i(), c(r, {
|
|
880
|
+
onClick: m((h) => l(t).deleteItem(a), ["stop"]),
|
|
881
|
+
class: "text-error",
|
|
882
|
+
disabled: !l(P).canEdit(e.nav),
|
|
883
|
+
icon: "$delete",
|
|
884
|
+
key: "2",
|
|
885
|
+
size: f.value,
|
|
886
|
+
variant: "text"
|
|
887
|
+
}, null, 8, ["onClick", "disabled", "size"])) : v("", !0),
|
|
888
|
+
e.canRestore && l(t).isRestorable.value(a) ? (i(), c(r, {
|
|
889
|
+
onClick: m((h) => l(t).restoreItem(a), ["stop"]),
|
|
890
|
+
disabled: !l(P).canEdit(e.nav),
|
|
891
|
+
key: "3",
|
|
892
|
+
icon: "$eraser-variant",
|
|
893
|
+
size: f.value,
|
|
894
|
+
variant: "text"
|
|
895
|
+
}, null, 8, ["onClick", "disabled", "size"])) : v("", !0)
|
|
896
|
+
]),
|
|
897
|
+
_: 2
|
|
898
|
+
}, 1032, ["class"])
|
|
899
|
+
]),
|
|
900
|
+
_: 2
|
|
901
|
+
}, 1024)
|
|
902
|
+
]))
|
|
903
|
+
], 8, Qe))), 128))
|
|
904
|
+
]),
|
|
905
|
+
_: 3
|
|
906
|
+
})
|
|
907
|
+
])
|
|
908
|
+
]),
|
|
909
|
+
_: 3
|
|
910
|
+
}, 8, ["density", "fixed-header", "style"])) : v("", !0) : (i(), p("div", {
|
|
911
|
+
key: 0,
|
|
912
|
+
class: F(e.scrollY ? "overflow-y-auto" : ""),
|
|
913
|
+
style: U(H.value)
|
|
914
|
+
}, [
|
|
915
|
+
y(e.$slots, "notFound", {
|
|
916
|
+
ui: l(t),
|
|
917
|
+
bladeData: d,
|
|
918
|
+
refresh: l(t).refresh,
|
|
919
|
+
size: e.size
|
|
920
|
+
}, void 0, !0)
|
|
921
|
+
], 6)),
|
|
922
|
+
y(e.$slots, "bottom", {
|
|
923
|
+
size: e.size,
|
|
924
|
+
allItems: l(t).asyncItems.value,
|
|
925
|
+
items: l(t).filteredItems.value
|
|
926
|
+
}, void 0, !0)
|
|
927
|
+
], !0),
|
|
928
|
+
l(de)(e.paginate) ? v("", !0) : (i(), p("div", Je, [
|
|
929
|
+
u(Be, {
|
|
930
|
+
modelValue: l(t).currentPage.value,
|
|
931
|
+
"onUpdate:modelValue": n[15] || (n[15] = (a) => l(t).currentPage.value = a),
|
|
932
|
+
length: l(t).totalPages.value
|
|
933
|
+
}, null, 8, ["modelValue", "length"])
|
|
934
|
+
]))
|
|
935
|
+
]),
|
|
936
|
+
_: 3
|
|
937
|
+
}, 8, ["bladeName", "bladeStartShowing", "bordered", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "opacity", "preset", "showOnlyTitleLeft", "size", "transparent", "variant"]);
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
export {
|
|
942
|
+
st as default
|
|
943
|
+
};
|