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