bt-core-app 2.2.5 → 2.2.6
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/VCheckbox.sass.mjs +1 -0
- package/dist/_virtual/VChip.sass.mjs +1 -0
- package/dist/_virtual/VChipGroup.sass.mjs +1 -0
- package/dist/_virtual/VColorPicker.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerCanvas.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerEdit.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerPreview.sass.mjs +1 -0
- package/dist/_virtual/VColorPickerSwatches.sass.mjs +1 -0
- package/dist/_virtual/VCombobox.sass.mjs +1 -0
- package/dist/_virtual/VContainer.sass.mjs +1 -0
- package/dist/_virtual/VCounter.sass.mjs +1 -0
- package/dist/_virtual/VDialog.sass.mjs +1 -0
- package/dist/_virtual/VField.sass.mjs +1 -0
- package/dist/_virtual/VGrid.sass.mjs +1 -0
- package/dist/_virtual/VInput.sass.mjs +1 -0
- package/dist/_virtual/VLabel.sass.mjs +1 -0
- package/dist/_virtual/VMessages.sass.mjs +1 -0
- package/dist/_virtual/VNavigationDrawer.sass.mjs +1 -0
- package/dist/_virtual/VPagination.sass.mjs +1 -0
- package/dist/_virtual/VPicker.sass.mjs +1 -0
- package/dist/_virtual/VRating.sass.mjs +1 -0
- package/dist/_virtual/VSelect.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControl.sass.mjs +1 -0
- package/dist/_virtual/VSelectionControlGroup.sass.mjs +1 -0
- package/dist/_virtual/VSheet.sass.mjs +1 -0
- package/dist/_virtual/VSlideGroup.sass.mjs +1 -0
- package/dist/_virtual/VSlider.sass.mjs +1 -0
- package/dist/_virtual/VSliderThumb.sass.mjs +1 -0
- package/dist/_virtual/VSliderTrack.sass.mjs +1 -0
- package/dist/_virtual/VSpacer.sass.mjs +1 -0
- package/dist/_virtual/VSwitch.sass.mjs +1 -0
- package/dist/_virtual/VTab.sass.mjs +1 -0
- package/dist/_virtual/VTable.sass.mjs +1 -0
- package/dist/_virtual/VTabs.sass.mjs +1 -0
- package/dist/_virtual/VTextField.sass.mjs +1 -0
- package/dist/_virtual/VTextarea.sass.mjs +1 -0
- package/dist/_virtual/VVirtualScroll.sass.mjs +1 -0
- package/dist/_virtual/VWindow.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +14 -14
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs +74 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckboxBtn.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChip/VChip.mjs +263 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VChipGroup/VChipGroup.mjs +87 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs +161 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerCanvas.mjs +166 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerEdit.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerPreview.mjs +123 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPickerSwatches.mjs +72 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VColorPicker/util/index.mjs +193 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs +501 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCounter/VCounter.mjs +51 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDialog/VDialog.mjs +103 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VField.mjs +295 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VField/VFieldLabel.mjs +28 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs +98 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VContainer.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs +6 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VHover/VHover.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/InputIcon.mjs +40 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VInput/VInput.mjs +154 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VLabel/VLabel.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMessages/VMessages.mjs +55 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +247 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/sticky.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VNavigationDrawer/touch.mjs +100 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VPagination/VPagination.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VRating/VRating.mjs +217 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/VSelect.mjs +475 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelect/useScrolling.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControl/VSelectionControl.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSheet/VSheet.mjs +61 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/VSlideGroup.mjs +287 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlideGroup/helpers.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSlider.mjs +159 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderThumb.mjs +176 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/VSliderTrack.mjs +109 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSlider/slider.mjs +242 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs +172 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs +66 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTab.mjs +126 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabs.mjs +153 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindow.mjs +48 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/VTabsWindowItem.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTabs/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs +204 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs +258 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarItems.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs +106 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScrollItem.mjs +47 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs +211 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs +93 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -19
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autocomplete.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/autofocus.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +21 -12
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/filter.mjs +125 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focus.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusGroups.mjs +54 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/form.mjs +112 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/goto.mjs +86 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +4 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/layout.mjs +43 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +92 -5
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/menuActivator.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +1 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/refs.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/touch.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/validation.mjs +139 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/virtual.mjs +164 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/touch/index.mjs +89 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPicker.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/VPicker/VPickerTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/labs/rules/rules.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/transformSRGB.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +133 -50
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +20 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +2 -1
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +248 -141
- package/dist/components/BT-Assistant-Menu.vue.mjs +226 -211
- package/dist/components/BT-Avatar.vue.mjs +31 -31
- package/dist/components/BT-Background-Task.vue.mjs +30 -28
- package/dist/components/BT-Blade-Item.vue.mjs +111 -102
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +413 -402
- package/dist/components/BT-Blade-Steps.vue.mjs +1 -1
- package/dist/components/BT-Blade-Steps.vue2.mjs +597 -583
- package/dist/components/BT-Blade.vue.mjs +19 -19
- package/dist/components/BT-Btn.vue.mjs +23 -25
- package/dist/components/BT-Camera-Overlay.vue.mjs +72 -68
- package/dist/components/BT-Col.vue.mjs +17 -19
- package/dist/components/BT-Color-Picker-Menu.vue.mjs +51 -49
- package/dist/components/BT-Cosmetics-Menu.vue.mjs +180 -173
- package/dist/components/BT-Cron.vue.mjs +249 -235
- package/dist/components/BT-Date-Select.vue.mjs +46 -47
- package/dist/components/BT-Demo-Profile-Select.vue.mjs +40 -40
- package/dist/components/BT-Dialog-Confirm.vue.mjs +39 -39
- package/dist/components/BT-Dialog-Date.vue.mjs +22 -19
- package/dist/components/BT-Dialog-Number.vue.mjs +125 -121
- package/dist/components/BT-Dialog-Select.vue.mjs +107 -97
- package/dist/components/BT-Divider.vue.mjs +20 -21
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +58 -56
- package/dist/components/BT-Entity.vue.mjs +50 -48
- package/dist/components/BT-Error.vue.mjs +16 -15
- package/dist/components/BT-Field-Checkbox.vue.mjs +30 -31
- package/dist/components/BT-Field-Date.vue.mjs +87 -84
- package/dist/components/BT-Field-Entity.vue.mjs +20 -16
- package/dist/components/BT-Field-Select-Simple.vue.mjs +24 -26
- package/dist/components/BT-Field-Select.vue.mjs +32 -34
- package/dist/components/BT-Field-String.vue.mjs +54 -52
- package/dist/components/BT-Field-Switch.vue.mjs +44 -43
- package/dist/components/BT-Field-Tags.vue.mjs +57 -55
- package/dist/components/BT-Field-Textarea.vue.mjs +44 -43
- package/dist/components/BT-Field-Trigger.vue.mjs +276 -270
- package/dist/components/BT-Field.vue.mjs +39 -38
- package/dist/components/BT-Form-Builder.vue.mjs +342 -322
- package/dist/components/BT-Form-Field.vue.mjs +81 -75
- package/dist/components/BT-Form.vue.mjs +263 -253
- package/dist/components/BT-Header-Option.vue.mjs +10 -9
- package/dist/components/BT-Image-Select.vue.mjs +186 -177
- package/dist/components/BT-Json.vue.mjs +29 -30
- package/dist/components/BT-Loader.vue.mjs +32 -31
- package/dist/components/BT-Nav-Sidebar.vue.mjs +130 -124
- package/dist/components/BT-Number.vue.mjs +2 -2
- package/dist/components/BT-Number.vue2.mjs +17 -19
- package/dist/components/BT-Numpad.vue.mjs +71 -66
- package/dist/components/BT-Select-List-Box.vue.mjs +157 -144
- package/dist/components/BT-Select-Simple.vue.mjs +21 -23
- package/dist/components/BT-Select.vue.mjs +36 -37
- package/dist/components/BT-Signature-Overlay.vue.mjs +63 -60
- package/dist/components/BT-Signature.vue.mjs +66 -64
- package/dist/components/BT-Slider.vue.mjs +69 -61
- package/dist/components/BT-Square-Check.vue.mjs +24 -22
- package/dist/components/BT-Status-Item.vue.mjs +18 -16
- package/dist/components/BT-Tags.vue.mjs +21 -22
- package/dist/components/BT-Tour.vue.mjs +69 -65
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -5,17 +5,17 @@ import { useNavBack as ae } from "../composables/navigation.mjs";
|
|
|
5
5
|
import { useSpring as oe } from "../bt-core/core/node_modules/vue-use-spring/dist/index.mjs";
|
|
6
6
|
import { useDisplay as ie } from "vuetify";
|
|
7
7
|
import { useComponentConfig as re } from "../composables/component-config.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { VToolbar as D } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs";
|
|
10
|
-
import { VBtn as T } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
8
|
+
import { VToolbar as W } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs";
|
|
11
9
|
import { VToolbarTitle as ne } from "../bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs";
|
|
12
10
|
import { VListSubheader as se } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
11
|
+
import { VAlert as de } from "../bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs";
|
|
12
|
+
import { VOverlay as ue } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
|
|
13
|
+
import { VProgressCircular as fe } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
|
|
14
|
+
import { VCard as D } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
15
|
+
import { VBtn as T } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
16
|
+
import { VMenu as ve } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
|
|
17
|
+
import { VList as pe } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
18
|
+
import { VCardText as me } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs";
|
|
19
19
|
const We = /* @__PURE__ */ K({
|
|
20
20
|
__name: "BT-Blade",
|
|
21
21
|
props: {
|
|
@@ -115,7 +115,7 @@ const We = /* @__PURE__ */ K({
|
|
|
115
115
|
(s.value == "percent" || s.value == "auto") && b.value != null && (d.width = parseInt(window.getComputedStyle(b.value.$el).getPropertyValue("width")));
|
|
116
116
|
}), (e, o) => {
|
|
117
117
|
const $ = Y("v-slide-y-transition");
|
|
118
|
-
return f.value || !y.value ? (p(), m(l(
|
|
118
|
+
return f.value || !y.value ? (p(), m(l(D), {
|
|
119
119
|
class: Z(F.value),
|
|
120
120
|
color: e.transparent ? "transparent" : void 0,
|
|
121
121
|
density: e.density,
|
|
@@ -129,7 +129,7 @@ const We = /* @__PURE__ */ K({
|
|
|
129
129
|
default: a(() => [
|
|
130
130
|
n($, { "hide-on-leave": "" }, {
|
|
131
131
|
default: a(() => [
|
|
132
|
-
!f.value && !e.hideToolbar && e.variant != "pure" ? (p(), m(l(
|
|
132
|
+
!f.value && !e.hideToolbar && e.variant != "pure" ? (p(), m(l(W), {
|
|
133
133
|
key: 0,
|
|
134
134
|
class: "overflow-x-auto",
|
|
135
135
|
color: O.value,
|
|
@@ -180,7 +180,7 @@ const We = /* @__PURE__ */ K({
|
|
|
180
180
|
title: "Close",
|
|
181
181
|
onClick: o[3] || (o[3] = () => l(v).closeBlade({ bladeName: e.bladeName, mode: "remove" }))
|
|
182
182
|
}, null, 8, ["size"])) : i("", !0),
|
|
183
|
-
!e.hideToolbarSettings && !e.showOnlyTitleLeft ? (p(), m(l(
|
|
183
|
+
!e.hideToolbarSettings && !e.showOnlyTitleLeft ? (p(), m(l(ve), {
|
|
184
184
|
"close-on-content-click": !1,
|
|
185
185
|
density: e.density,
|
|
186
186
|
key: "7"
|
|
@@ -192,7 +192,7 @@ const We = /* @__PURE__ */ K({
|
|
|
192
192
|
}, h), null, 16, ["size"])
|
|
193
193
|
]),
|
|
194
194
|
default: a(() => [
|
|
195
|
-
n(l(
|
|
195
|
+
n(l(pe), { density: e.density }, {
|
|
196
196
|
default: a(() => [
|
|
197
197
|
u(e.$slots, "blade-settings")
|
|
198
198
|
]),
|
|
@@ -209,7 +209,7 @@ const We = /* @__PURE__ */ K({
|
|
|
209
209
|
}),
|
|
210
210
|
n($, { "hide-on-leave": "" }, {
|
|
211
211
|
default: a(() => [
|
|
212
|
-
!f.value && !e.hideSubtoolbar && e.variant != "pure" ? (p(), m(l(
|
|
212
|
+
!f.value && !e.hideSubtoolbar && e.variant != "pure" ? (p(), m(l(W), {
|
|
213
213
|
key: 0,
|
|
214
214
|
color: O.value,
|
|
215
215
|
density: e.density,
|
|
@@ -225,7 +225,7 @@ const We = /* @__PURE__ */ K({
|
|
|
225
225
|
}),
|
|
226
226
|
n($, null, {
|
|
227
227
|
default: a(() => [
|
|
228
|
-
n(l(
|
|
228
|
+
n(l(de), {
|
|
229
229
|
closable: "",
|
|
230
230
|
color: "red-lighten-1",
|
|
231
231
|
title: "Error",
|
|
@@ -245,7 +245,7 @@ const We = /* @__PURE__ */ K({
|
|
|
245
245
|
isMobile: l(v).isMobile.value,
|
|
246
246
|
bladeData: l(v).bladeData
|
|
247
247
|
}),
|
|
248
|
-
n(l(
|
|
248
|
+
n(l(ue), {
|
|
249
249
|
modelValue: L.value,
|
|
250
250
|
"onUpdate:modelValue": o[5] || (o[5] = (h) => L.value = h),
|
|
251
251
|
class: "align-center justify-center text-center overlay",
|
|
@@ -253,11 +253,11 @@ const We = /* @__PURE__ */ K({
|
|
|
253
253
|
persistent: ""
|
|
254
254
|
}, {
|
|
255
255
|
default: a(() => [
|
|
256
|
-
n(l(
|
|
256
|
+
n(l(D), null, {
|
|
257
257
|
default: a(() => [
|
|
258
|
-
n(l(
|
|
258
|
+
n(l(me), null, {
|
|
259
259
|
default: a(() => [
|
|
260
|
-
n(l(
|
|
260
|
+
n(l(fe), { indeterminate: "" }),
|
|
261
261
|
ee("p", null, B(e.loadingMsg), 1)
|
|
262
262
|
]),
|
|
263
263
|
_: 1
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as E, computed as
|
|
2
|
-
import { usePresets as
|
|
3
|
-
import { useBackgroundTask as
|
|
1
|
+
import { defineComponent as E, computed as t, inject as s, ref as a, openBlock as N, createElementBlock as _, createVNode as I, unref as l, mergeProps as T, withModifiers as V, createTextVNode as h, toDisplayString as y } from "vue";
|
|
2
|
+
import { usePresets as A } from "../composables/presets.mjs";
|
|
3
|
+
import { useBackgroundTask as C } from "../composables/background-tasks.mjs";
|
|
4
|
+
import { VBtn as S } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
4
5
|
const D = /* @__PURE__ */ E({
|
|
5
6
|
__name: "BT-Btn",
|
|
6
7
|
props: {
|
|
@@ -13,29 +14,26 @@ const D = /* @__PURE__ */ E({
|
|
|
13
14
|
variant: { default: void 0 }
|
|
14
15
|
},
|
|
15
16
|
emits: ["click"],
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
18
|
-
let
|
|
19
|
-
e.taskActionName != null && (
|
|
20
|
-
const
|
|
21
|
-
async function
|
|
22
|
-
|
|
17
|
+
setup(r, { emit: c }) {
|
|
18
|
+
const u = c, e = r, o = A(e.preset);
|
|
19
|
+
let i;
|
|
20
|
+
e.taskActionName != null && (i = C(e.taskActionName));
|
|
21
|
+
const d = t(() => e.icon ?? o.icon), m = t(() => e.color ?? o.color), p = s("isEditing", () => a(!1), !0), v = t(() => e.isEditing ?? o.isEditing ?? p.value), f = t(() => (i == null ? void 0 : i.task.value) != null && i.task.value.isFinished), g = s("size", () => a(e.size ?? "small"), !0), k = t(() => e.size ?? o.size ?? g.value), z = t(() => e.variant ?? o.variant);
|
|
22
|
+
async function B(n) {
|
|
23
|
+
i != null ? await i.startTask() : u("click", n);
|
|
23
24
|
}
|
|
24
|
-
return (n,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
h(" " + y(A(t)), 1)
|
|
37
|
-
]);
|
|
38
|
-
};
|
|
25
|
+
return (n, b) => (N(), _("div", null, [
|
|
26
|
+
I(l(S), T(n.$attrs, {
|
|
27
|
+
onClick: V(B, ["stop"]),
|
|
28
|
+
color: m.value,
|
|
29
|
+
disabled: !v.value,
|
|
30
|
+
icon: d.value,
|
|
31
|
+
loading: f.value,
|
|
32
|
+
size: k.value,
|
|
33
|
+
variant: z.value
|
|
34
|
+
}), null, 16, ["color", "disabled", "icon", "loading", "size", "variant"]),
|
|
35
|
+
h(" " + y(l(i)), 1)
|
|
36
|
+
]));
|
|
39
37
|
}
|
|
40
38
|
});
|
|
41
39
|
export {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as O, ref as i, computed as B, watch as P, onUnmounted as F, resolveComponent as $, openBlock as n, createElementBlock as _, createBlock as m, unref as t, mergeProps as A, withModifiers as R, createCommentVNode as f, createVNode as r, withCtx as p, normalizeStyle as W, renderSlot as q, createElementVNode as D } from "vue";
|
|
2
2
|
import { isLengthyArray as G } from "../composables/helpers.mjs";
|
|
3
|
-
|
|
3
|
+
import { VBtn as y } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
4
|
+
import { VOverlay as E } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
|
|
5
|
+
import { VCard as L } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
6
|
+
import { VProgressCircular as J } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
|
|
7
|
+
const K = ["src"], ae = /* @__PURE__ */ O({
|
|
4
8
|
__name: "BT-Camera-Overlay",
|
|
5
9
|
props: {
|
|
6
10
|
color: {},
|
|
@@ -10,151 +14,151 @@ const J = ["src"], X = /* @__PURE__ */ F({
|
|
|
10
14
|
usedHeight: { default: 0 }
|
|
11
15
|
},
|
|
12
16
|
emits: ["cancel", "change", "close", "open", "update:modelValue"],
|
|
13
|
-
setup(
|
|
14
|
-
const s =
|
|
15
|
-
|
|
16
|
-
await
|
|
17
|
+
setup(z, { emit: M }) {
|
|
18
|
+
const s = M, h = z, c = i(null), x = i("environment"), u = i(!0), g = i(), o = i(null), k = i([]), S = B(() => h.fullscreen == !0 ? `height: calc(100vh - ${h.usedHeight}px); width: 100%;` : ""), l = i(), v = i(!1), T = B(() => u.value ? !0 : l.value == null ? g.value == null : u.value);
|
|
19
|
+
P(() => h.openToggle, async () => {
|
|
20
|
+
await w();
|
|
17
21
|
});
|
|
18
22
|
function d() {
|
|
19
|
-
var
|
|
20
|
-
const e = (
|
|
21
|
-
G(e) && (e == null || e.forEach((
|
|
23
|
+
var a;
|
|
24
|
+
const e = (a = g.value) == null ? void 0 : a.getVideoTracks();
|
|
25
|
+
G(e) && (e == null || e.forEach((C) => C.stop()));
|
|
22
26
|
}
|
|
23
|
-
async function
|
|
24
|
-
|
|
27
|
+
async function V(e) {
|
|
28
|
+
o.value != null && (x.value = e, g.value = await navigator.mediaDevices.getUserMedia({
|
|
25
29
|
video: { facingMode: e }
|
|
26
|
-
}),
|
|
30
|
+
}), o.value.srcObject = g.value, await o.value.play());
|
|
27
31
|
}
|
|
28
|
-
async function
|
|
29
|
-
u.value = !0, d(), await
|
|
32
|
+
async function U() {
|
|
33
|
+
u.value = !0, d(), await V(x.value == "environment" ? "user" : "environment"), u.value = !1;
|
|
30
34
|
}
|
|
31
|
-
function
|
|
32
|
-
if (
|
|
35
|
+
function b() {
|
|
36
|
+
if (o.value == null || c.value == null)
|
|
33
37
|
return;
|
|
34
|
-
c.value.width =
|
|
38
|
+
c.value.width = o.value.videoWidth, c.value.height = o.value.videoHeight;
|
|
35
39
|
let e = c.value.getContext("2d");
|
|
36
|
-
e != null && (e.save(), e.drawImage(
|
|
40
|
+
e != null && (e.save(), e.drawImage(o.value, 0, 0), e.restore(), l.value = c.value.toDataURL("image/png"), d());
|
|
37
41
|
}
|
|
38
|
-
function
|
|
42
|
+
function j() {
|
|
39
43
|
d(), s("update:modelValue", l.value), s("change", l.value), s("close"), v.value = !1;
|
|
40
44
|
}
|
|
41
|
-
function
|
|
45
|
+
function H() {
|
|
42
46
|
d(), s("cancel"), s("close"), v.value = !1;
|
|
43
47
|
}
|
|
44
|
-
async function
|
|
48
|
+
async function w() {
|
|
45
49
|
u.value = !0, v.value = !0, l.value = void 0;
|
|
46
50
|
const e = await navigator.mediaDevices.enumerateDevices();
|
|
47
|
-
|
|
51
|
+
k.value = e.filter((a) => a.kind === "videoinput"), await V(k.value.length == 1 ? "user" : "environment"), s("open"), u.value = !1;
|
|
48
52
|
}
|
|
49
|
-
return
|
|
53
|
+
return F(() => {
|
|
50
54
|
d();
|
|
51
|
-
}), (e,
|
|
52
|
-
const
|
|
53
|
-
return
|
|
54
|
-
!e.hideButton && !v.value ? (
|
|
55
|
+
}), (e, a) => {
|
|
56
|
+
const C = $("v-slide-x-reverse-transition"), I = $("v-slide-x-transition");
|
|
57
|
+
return n(), _("div", null, [
|
|
58
|
+
!e.hideButton && !v.value ? (n(), m(t(y), A({
|
|
55
59
|
key: 0,
|
|
56
|
-
onClick: R(
|
|
57
|
-
}, e.$attrs), null, 16)) :
|
|
58
|
-
r(
|
|
59
|
-
"onClick:outside":
|
|
60
|
+
onClick: R(w, ["stop"])
|
|
61
|
+
}, e.$attrs), null, 16)) : f("", !0),
|
|
62
|
+
r(t(E), {
|
|
63
|
+
"onClick:outside": a[0] || (a[0] = () => d()),
|
|
60
64
|
modelValue: v.value,
|
|
61
|
-
"onUpdate:modelValue":
|
|
65
|
+
"onUpdate:modelValue": a[1] || (a[1] = (N) => v.value = N),
|
|
62
66
|
"z-index": "1001"
|
|
63
67
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
r(
|
|
68
|
+
default: p(() => [
|
|
69
|
+
r(t(L), {
|
|
66
70
|
class: "pa-0 ma-0 d-flex align-center justify-center",
|
|
67
71
|
color: e.color,
|
|
68
|
-
style: W(
|
|
72
|
+
style: W(S.value)
|
|
69
73
|
}, {
|
|
70
|
-
default:
|
|
74
|
+
default: p(() => [
|
|
71
75
|
q(e.$slots, "top"),
|
|
72
76
|
D("canvas", {
|
|
73
77
|
style: { display: "none" },
|
|
74
78
|
ref_key: "canva",
|
|
75
79
|
ref: c
|
|
76
80
|
}, null, 512),
|
|
77
|
-
r(
|
|
81
|
+
r(t(L), {
|
|
78
82
|
class: "d-flex flex-column align-center justify-center",
|
|
79
83
|
color: "primary",
|
|
80
84
|
style: { position: "fixed", opacity: "0.75", right: "0" },
|
|
81
85
|
width: "60"
|
|
82
86
|
}, {
|
|
83
|
-
default:
|
|
84
|
-
r(
|
|
87
|
+
default: p(() => [
|
|
88
|
+
r(C, {
|
|
85
89
|
"hide-on-leave": "",
|
|
86
90
|
group: ""
|
|
87
91
|
}, {
|
|
88
|
-
default:
|
|
89
|
-
l.value == null ? (
|
|
92
|
+
default: p(() => [
|
|
93
|
+
l.value == null ? (n(), m(t(y), {
|
|
90
94
|
class: "my-3",
|
|
91
|
-
onClick:
|
|
95
|
+
onClick: H,
|
|
92
96
|
icon: "$close",
|
|
93
97
|
key: "1",
|
|
94
98
|
variant: "tonal"
|
|
95
|
-
})) :
|
|
96
|
-
l.value != null ? (
|
|
99
|
+
})) : f("", !0),
|
|
100
|
+
l.value != null ? (n(), m(t(y), {
|
|
97
101
|
class: "my-3",
|
|
98
|
-
onClick:
|
|
102
|
+
onClick: w,
|
|
99
103
|
icon: "$close",
|
|
100
104
|
key: "2",
|
|
101
105
|
variant: "tonal"
|
|
102
|
-
})) :
|
|
103
|
-
l.value == null ? (
|
|
106
|
+
})) : f("", !0),
|
|
107
|
+
l.value == null ? (n(), m(t(y), {
|
|
104
108
|
class: "text-error my-3",
|
|
105
|
-
onClick:
|
|
109
|
+
onClick: b,
|
|
106
110
|
icon: "$circle",
|
|
107
111
|
key: "3",
|
|
108
112
|
variant: "tonal"
|
|
109
|
-
})) :
|
|
110
|
-
l.value != null ? (
|
|
113
|
+
})) : f("", !0),
|
|
114
|
+
l.value != null ? (n(), m(t(y), {
|
|
111
115
|
class: "my-3",
|
|
112
|
-
onClick:
|
|
116
|
+
onClick: j,
|
|
113
117
|
icon: "$check",
|
|
114
118
|
key: "4",
|
|
115
119
|
variant: "tonal"
|
|
116
|
-
})) :
|
|
117
|
-
l.value == null ? (
|
|
120
|
+
})) : f("", !0),
|
|
121
|
+
l.value == null ? (n(), m(t(y), {
|
|
118
122
|
key: 4,
|
|
119
123
|
class: "my-3",
|
|
120
|
-
onClick:
|
|
121
|
-
disabled: u.value ||
|
|
124
|
+
onClick: U,
|
|
125
|
+
disabled: u.value || k.value.length < 2,
|
|
122
126
|
icon: "$camera-flip",
|
|
123
127
|
variant: "tonal"
|
|
124
|
-
}, null, 8, ["disabled"])) :
|
|
128
|
+
}, null, 8, ["disabled"])) : f("", !0)
|
|
125
129
|
]),
|
|
126
130
|
_: 1
|
|
127
131
|
})
|
|
128
132
|
]),
|
|
129
133
|
_: 1
|
|
130
134
|
}),
|
|
131
|
-
r(
|
|
132
|
-
default:
|
|
133
|
-
l.value == null ? (
|
|
135
|
+
r(I, null, {
|
|
136
|
+
default: p(() => [
|
|
137
|
+
l.value == null ? (n(), _("video", {
|
|
134
138
|
key: 0,
|
|
135
139
|
ref_key: "videoEl",
|
|
136
|
-
ref:
|
|
140
|
+
ref: o,
|
|
137
141
|
style: { height: "100vh", width: "100vw" }
|
|
138
|
-
}, null, 512)) : (
|
|
142
|
+
}, null, 512)) : (n(), _("img", {
|
|
139
143
|
key: 1,
|
|
140
144
|
cover: "",
|
|
141
145
|
src: l.value,
|
|
142
146
|
style: { "max-height": "100vh", "max-width": "100vw" }
|
|
143
|
-
}, null, 8,
|
|
147
|
+
}, null, 8, K))
|
|
144
148
|
]),
|
|
145
149
|
_: 1
|
|
146
150
|
}),
|
|
147
|
-
r(
|
|
148
|
-
value:
|
|
151
|
+
r(t(E), {
|
|
152
|
+
value: T.value,
|
|
149
153
|
class: "text-center",
|
|
150
154
|
"z-index": "1002"
|
|
151
155
|
}, {
|
|
152
|
-
default:
|
|
153
|
-
r(
|
|
156
|
+
default: p(() => [
|
|
157
|
+
r(t(J), {
|
|
154
158
|
indeterminate: "",
|
|
155
159
|
size: "32"
|
|
156
160
|
}),
|
|
157
|
-
|
|
161
|
+
a[2] || (a[2] = D("p", null, "Loading Image", -1))
|
|
158
162
|
]),
|
|
159
163
|
_: 1
|
|
160
164
|
}, 8, ["value"])
|
|
@@ -169,5 +173,5 @@ const J = ["src"], X = /* @__PURE__ */ F({
|
|
|
169
173
|
}
|
|
170
174
|
});
|
|
171
175
|
export {
|
|
172
|
-
|
|
176
|
+
ae as default
|
|
173
177
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as i, inject as m, ref as u, computed as s, openBlock as f, createBlock as c, unref as p, normalizeClass as d, withCtx as g, renderSlot as B } from "vue";
|
|
2
|
+
import { VCol as M } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
|
|
3
|
+
const S = /* @__PURE__ */ i({
|
|
3
4
|
__name: "BT-Col",
|
|
4
5
|
props: {
|
|
5
6
|
cols: { type: [String, Boolean], default: "12" },
|
|
@@ -10,24 +11,21 @@ const b = /* @__PURE__ */ r({
|
|
|
10
11
|
noGutters: { type: Boolean }
|
|
11
12
|
},
|
|
12
13
|
setup(t) {
|
|
13
|
-
const e = t,
|
|
14
|
-
return (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_: 3
|
|
27
|
-
}, 8, ["lg", "md", "sm", "cols", "class"]);
|
|
28
|
-
};
|
|
14
|
+
const e = t, l = m("isMobile", () => u(!1), !0), a = s(() => e.isMobile ?? l.value ? !1 : e.lg), n = s(() => e.isMobile ?? l.value ? !1 : e.md), r = s(() => e.isMobile ?? l.value ? !1 : e.sm);
|
|
15
|
+
return (o, b) => (f(), c(p(M), {
|
|
16
|
+
lg: a.value,
|
|
17
|
+
md: n.value,
|
|
18
|
+
sm: r.value,
|
|
19
|
+
cols: o.cols,
|
|
20
|
+
class: d(o.noGutters ? "px-0" : "")
|
|
21
|
+
}, {
|
|
22
|
+
default: g(() => [
|
|
23
|
+
B(o.$slots, "default")
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
}, 8, ["lg", "md", "sm", "cols", "class"]));
|
|
29
27
|
}
|
|
30
28
|
});
|
|
31
29
|
export {
|
|
32
|
-
|
|
30
|
+
S as default
|
|
33
31
|
};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as g, ref as d, watch as i, openBlock as c, createBlock as s, unref as o, withCtx as a, mergeProps as k, createCommentVNode as C, createVNode as n, createTextVNode as y } from "vue";
|
|
2
|
+
import { VColorPicker as T } from "../bt-core/core/node_modules/vuetify/lib/components/VColorPicker/VColorPicker.mjs";
|
|
3
|
+
import { VMenu as w } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
|
|
4
|
+
import { VBtn as V } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
5
|
+
import { VCard as N } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
6
|
+
import { VSpacer as P } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
|
|
7
|
+
const S = /* @__PURE__ */ g({
|
|
3
8
|
__name: "BT-Color-Picker-Menu",
|
|
4
9
|
props: {
|
|
5
10
|
color: {},
|
|
@@ -8,56 +13,53 @@ const h = /* @__PURE__ */ y({
|
|
|
8
13
|
openToggle: { type: Boolean }
|
|
9
14
|
},
|
|
10
15
|
emits: ["update:modelValue", "change"],
|
|
11
|
-
setup(
|
|
12
|
-
const u =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}),
|
|
16
|
-
|
|
16
|
+
setup(f, { emit: v }) {
|
|
17
|
+
const u = f, p = v, l = d(u.color), m = d(!1);
|
|
18
|
+
i(() => u.modelValue, (r) => {
|
|
19
|
+
l.value = r;
|
|
20
|
+
}), i(() => u.openToggle, () => {
|
|
21
|
+
m.value = !0;
|
|
17
22
|
});
|
|
18
|
-
function
|
|
19
|
-
p("update:modelValue",
|
|
23
|
+
function B() {
|
|
24
|
+
p("update:modelValue", l.value), p("change", l.value);
|
|
20
25
|
}
|
|
21
|
-
return (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
_: 1
|
|
57
|
-
}, 8, ["modelValue"]);
|
|
58
|
-
};
|
|
26
|
+
return (r, e) => (c(), s(o(w), {
|
|
27
|
+
"close-on-content-click": !1,
|
|
28
|
+
modelValue: m.value,
|
|
29
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => m.value = t)
|
|
30
|
+
}, {
|
|
31
|
+
activator: a(({ props: t }) => [
|
|
32
|
+
r.hideButton ? C("", !0) : (c(), s(o(V), k({
|
|
33
|
+
key: 0,
|
|
34
|
+
color: r.color,
|
|
35
|
+
icon: "",
|
|
36
|
+
size: "small"
|
|
37
|
+
}, t), null, 16, ["color"]))
|
|
38
|
+
]),
|
|
39
|
+
default: a(() => [
|
|
40
|
+
n(o(N), null, {
|
|
41
|
+
default: a(() => [
|
|
42
|
+
n(o(T), {
|
|
43
|
+
modelValue: l.value,
|
|
44
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => l.value = t)
|
|
45
|
+
}, null, 8, ["modelValue"])
|
|
46
|
+
]),
|
|
47
|
+
actions: a(() => [
|
|
48
|
+
n(o(P)),
|
|
49
|
+
n(o(V), { onClick: B }, {
|
|
50
|
+
default: a(() => e[2] || (e[2] = [
|
|
51
|
+
y("Apply")
|
|
52
|
+
])),
|
|
53
|
+
_: 1
|
|
54
|
+
})
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
})
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["modelValue"]));
|
|
59
61
|
}
|
|
60
62
|
});
|
|
61
63
|
export {
|
|
62
|
-
|
|
64
|
+
S as default
|
|
63
65
|
};
|