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
@@ -1,29 +1,28 @@
1
- import { defineComponent as i, computed as a, resolveComponent as n, openBlock as d, createElementBlock as p, createVNode as e, normalizeStyle as _, renderSlot as m, withCtx as u, createTextVNode as v, toDisplayString as f } from "vue";
2
- const x = { class: "d-flex align-center" }, B = /* @__PURE__ */ i({
1
+ import { defineComponent as i, computed as a, openBlock as c, createElementBlock as d, createVNode as e, unref as t, normalizeStyle as m, renderSlot as p, withCtx as f, createTextVNode as u, toDisplayString as x } from "vue";
2
+ import { VDivider as r } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
3
+ import { VListSubheader as _ } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs";
4
+ const h = { class: "d-flex align-center" }, B = /* @__PURE__ */ i({
3
5
  __name: "BT-Divider",
4
6
  props: {
5
7
  left: {},
6
8
  text: {}
7
9
  },
8
- setup(s) {
9
- const l = s, r = a(() => l.left ?? 25);
10
- return (t, h) => {
11
- const o = n("v-divider"), c = n("v-list-subheader");
12
- return d(), p("div", x, [
13
- e(o, {
14
- style: _(`max-width: ${r.value}%`)
15
- }, null, 8, ["style"]),
16
- m(t.$slots, "text", {}, () => [
17
- e(c, { class: "ml-3" }, {
18
- default: u(() => [
19
- v(f(t.text), 1)
20
- ]),
21
- _: 1
22
- })
23
- ]),
24
- e(o)
25
- ]);
26
- };
10
+ setup(l) {
11
+ const n = l, s = a(() => n.left ?? 25);
12
+ return (o, v) => (c(), d("div", h, [
13
+ e(t(r), {
14
+ style: m(`max-width: ${s.value}%`)
15
+ }, null, 8, ["style"]),
16
+ p(o.$slots, "text", {}, () => [
17
+ e(t(_), { class: "ml-3" }, {
18
+ default: f(() => [
19
+ u(x(o.text), 1)
20
+ ]),
21
+ _: 1
22
+ })
23
+ ]),
24
+ e(t(r))
25
+ ]));
27
26
  }
28
27
  });
29
28
  export {
@@ -1,7 +1,7 @@
1
1
  import o from "./BT-Drag-Counter.vue2.mjs";
2
2
  import "./BT-Drag-Counter.vue3.mjs";
3
3
  import r from "../_virtual/_plugin-vue_export-helper.mjs";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0ced1f0e"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-54956d38"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,10 +1,12 @@
1
- import { defineComponent as j, ref as m, computed as b, watch as F, resolveComponent as T, openBlock as v, createElementBlock as g, normalizeClass as G, createVNode as h, withCtx as D, renderSlot as w, createCommentVNode as y, mergeProps as H, withModifiers as E, normalizeStyle as I, toDisplayString as P } from "vue";
2
- import { watchDebounced as J, useEventListener as _ } from "@vueuse/core";
3
- import { t as K } from "../bt-core/core/node_modules/thenby/thenBy.module.mjs";
4
- const Q = { key: 0 }, R = {
1
+ import { defineComponent as I, ref as d, computed as $, watch as F, resolveComponent as w, openBlock as p, createElementBlock as c, normalizeClass as G, createVNode as m, withCtx as T, renderSlot as E, createCommentVNode as h, unref as P, mergeProps as H, withModifiers as b, normalizeStyle as J, toDisplayString as q } from "vue";
2
+ import { watchDebounced as K, useEventListener as D } from "@vueuse/core";
3
+ import { t as Q } from "../bt-core/core/node_modules/thenby/thenBy.module.mjs";
4
+ import { VBtn as R } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
5
+ import { VIcon as U } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
6
+ const W = { key: 0 }, Z = {
5
7
  class: "mr-1",
6
8
  key: "2"
7
- }, U = { key: "3" }, W = { key: 0 }, ae = /* @__PURE__ */ j({
9
+ }, ee = { key: "3" }, te = { key: 0 }, se = /* @__PURE__ */ I({
8
10
  __name: "BT-Drag-Counter",
9
11
  props: {
10
12
  applyOnEnd: { type: Boolean },
@@ -33,15 +35,15 @@ const Q = { key: 0 }, R = {
33
35
  "startDragging",
34
36
  "stopDragging"
35
37
  ],
36
- setup(q, { emit: A }) {
37
- const t = q, l = A, a = m(0), d = m("x1"), o = m(!1), L = m(!1), s = m(!1), Y = b(() => {
38
+ setup(A, { emit: Y }) {
39
+ const t = A, l = Y, a = d(0), f = d("x1"), o = d(!1), L = d(!1), s = d(!1), N = $(() => {
38
40
  var e = "position: absolute;";
39
41
  return t.popupDirection == "top" ? e = `${e} bottom: 130%` : t.popupDirection == "bottom" ? e = `${e} top: 130%` : t.popupDirection == "left" ? e = `${e} right: 130%` : t.popupDirection == "right" && (e = `${e} left: 130%`), e;
40
- }), N = b(() => {
42
+ }), j = $(() => {
41
43
  if (t.centerOfParent)
42
44
  return t.opaque && !o.value ? "center-of-parent-opaque" : "center-of-parent";
43
45
  });
44
- let O = 0, z, V, u = [], x = { x: 0, y: 0 }, S = t.mathOptions ?? [
46
+ let O = 0, _, V, r = [], y = { x: 0, y: 0 }, z = t.mathOptions ?? [
45
47
  { yLevelLessThan: 25, xDifTrigger: 40, valOnTrigger: 1, txt: "x1" },
46
48
  { yLevelLessThan: 50, xDifTrigger: 30, valOnTrigger: 1, txt: "x2" },
47
49
  { yLevelLessThan: 75, xDifTrigger: 20, valOnTrigger: 1, txt: "x3" },
@@ -50,99 +52,99 @@ const Q = { key: 0 }, R = {
50
52
  { yLevelLessThan: 400, xDifTrigger: 1, valOnTrigger: 10, txt: "x50" },
51
53
  { yLevelLessThan: 4e3, xDifTrigger: 1, valOnTrigger: 100, txt: "x100" }
52
54
  ];
53
- S = S.sort(K.firstBy((e) => e.yLevelLessThan, "asc")), F(o, (e) => {
55
+ z = z.sort(Q.firstBy((e) => e.yLevelLessThan, "asc")), F(o, (e) => {
54
56
  l(e ? "startDragging" : "stopDragging");
55
57
  });
56
58
  function B() {
57
- u.push(_("mousemove", C)), u.push(_("touchmove", C)), o.value = !0, s.value = !0, a.value = t.modelValue ?? 0, d.value = "x1", O = x.x;
59
+ r.push(D("mousemove", k)), r.push(D("touchmove", k)), o.value = !0, s.value = !0, a.value = t.modelValue ?? 0, f.value = "x1", O = y.x;
58
60
  }
59
- function M(e) {
61
+ function S(e) {
60
62
  L.value = !0;
61
63
  const n = e.type === "touchstart" && e.touches.length > 0 ? e.touches[0] : e;
62
- x = { x: n.clientX, y: n.clientY }, u.push(_("mouseup", k)), u.push(_("touchend", k));
64
+ y = { x: n.clientX, y: n.clientY }, r.push(D("mouseup", M)), r.push(D("touchend", M));
63
65
  const i = t.delay ?? 0;
64
66
  i <= 0 ? B() : setTimeout(() => {
65
67
  L.value && B();
66
68
  }, i), e.preventDefault(), e.stopPropagation();
67
69
  }
68
- function k() {
69
- L.value = !1, u.forEach((e) => {
70
+ function M() {
71
+ L.value = !1, r.forEach((e) => {
70
72
  e();
71
- }), u.length = 0, o.value && t.applyOnEnd ? (l("update:modelValue", a.value), l("change", a.value)) : o.value || l("click", a.value), o.value = !1, t.clearOnLastChange && (a.value = 0), z = void 0, V = void 0;
73
+ }), r.length = 0, o.value && t.applyOnEnd ? (l("update:modelValue", a.value), l("change", a.value)) : o.value || l("click", a.value), o.value = !1, t.clearOnLastChange && (a.value = 0), _ = void 0, V = void 0;
72
74
  }
73
- function C(e) {
75
+ function k(e) {
74
76
  const n = e.type == "touchmove" && e.touches.length > 0 ? e.touches[0] : e;
75
- if (x ?? (x = {
77
+ if (y ?? (y = {
76
78
  x: n.clientX,
77
79
  y: n.clientY
78
80
  }), o.value)
79
- if (z ?? (z = e.timeStamp), V ?? (V = n.clientX), t.max != null && t.useMaxer && e.timeStamp - z < t.toMaxSpeed && n.clientX - V > t.toMaxDistance)
80
- a.value < t.max && (d.value = "MAX", a.value = t.max, t.applyOnEnd || (l("update:modelValue", a.value), l("change", a.value)), l("dragging"));
81
+ if (_ ?? (_ = e.timeStamp), V ?? (V = n.clientX), t.max != null && t.useMaxer && e.timeStamp - _ < t.toMaxSpeed && n.clientX - V > t.toMaxDistance)
82
+ a.value < t.max && (f.value = "MAX", a.value = t.max, t.applyOnEnd || (l("update:modelValue", a.value), l("change", a.value)), l("dragging"));
81
83
  else {
82
84
  let i = n.clientX - O;
83
- if (i > 0 && d.value == "MAX")
85
+ if (i > 0 && f.value == "MAX")
84
86
  return;
85
87
  {
86
- let r = n.clientY - x.y;
87
- r = r < 0 ? 0 - r : r;
88
- const c = S.find((f) => r < f.yLevelLessThan);
89
- if (c != null) {
90
- d.value = c.txt;
91
- let f = c.xDifTrigger, $ = c.valOnTrigger;
92
- if (i > f || i < 0 - f) {
88
+ let g = n.clientY - y.y;
89
+ g = g < 0 ? 0 - g : g;
90
+ const x = z.find((v) => g < v.yLevelLessThan);
91
+ if (x != null) {
92
+ f.value = x.txt;
93
+ let v = x.xDifTrigger, X = x.valOnTrigger;
94
+ if (i > v || i < 0 - v) {
93
95
  O = n.clientX;
94
- let p = a.value + (i > f ? $ : 0 - $);
95
- t.max != null && p > t.max && (p = t.max), t.min != null && p < t.min && (p = t.min), a.value != p && (a.value = p, t.applyOnEnd || (l("update:modelValue", a.value), l("change", a.value)), l("dragging"));
96
+ let u = a.value + (i > v ? X : 0 - X);
97
+ t.max != null && u > t.max && (u = t.max), t.min != null && u < t.min && (u = t.min), a.value != u && (a.value = u, t.applyOnEnd || (l("update:modelValue", a.value), l("change", a.value)), l("dragging"));
96
98
  }
97
99
  }
98
100
  }
99
101
  }
100
102
  }
101
- return J(o, (e) => {
103
+ return K(o, (e) => {
102
104
  e || (s.value = !1);
103
- }, { debounce: 1e3 }), (e, X) => {
104
- const n = T("v-slide-y-reverse-transition"), i = T("v-icon"), r = T("v-slide-y-transition"), c = T("v-btn");
105
- return v(), g("div", {
106
- class: G([N.value, "d-flex"])
105
+ }, { debounce: 1e3 }), (e, C) => {
106
+ const n = w("v-slide-y-reverse-transition"), i = w("v-slide-y-transition");
107
+ return p(), c("div", {
108
+ class: G([j.value, "d-flex"])
107
109
  }, [
108
- h(n, null, {
109
- default: D(() => [
110
- s.value ? y("", !0) : (v(), g("div", Q, [
111
- w(e.$slots, "prepend", { size: e.size }, void 0, !0)
110
+ m(n, null, {
111
+ default: T(() => [
112
+ s.value ? h("", !0) : (p(), c("div", W, [
113
+ E(e.$slots, "prepend", { size: e.size }, void 0, !0)
112
114
  ]))
113
115
  ]),
114
116
  _: 3
115
117
  }),
116
- h(c, H(e.$attrs, {
118
+ m(P(R), H(e.$attrs, {
117
119
  icon: e.icon,
118
120
  size: e.size,
119
- onMousedown: E(M, ["stop"]),
120
- onTouchstart: E(M, ["stop"])
121
+ onMousedown: b(S, ["stop"]),
122
+ onTouchstart: b(S, ["stop"])
121
123
  }), {
122
- default: D(() => [
123
- h(i, {
124
+ default: T(() => [
125
+ m(P(U), {
124
126
  icon: e.icon,
125
127
  size: e.iconSize
126
128
  }, null, 8, ["icon", "size"]),
127
- h(r, null, {
128
- default: D(() => [
129
- s.value ? (v(), g("span", {
129
+ m(i, null, {
130
+ default: T(() => [
131
+ s.value ? (p(), c("span", {
130
132
  key: 0,
131
- style: I(Y.value)
133
+ style: J(N.value)
132
134
  }, [
133
- s.value ? (v(), g("span", R, "(" + P(d.value) + ")", 1)) : y("", !0),
134
- s.value ? (v(), g("span", U, P(a.value), 1)) : y("", !0)
135
- ], 4)) : y("", !0)
135
+ s.value ? (p(), c("span", Z, "(" + q(f.value) + ")", 1)) : h("", !0),
136
+ s.value ? (p(), c("span", ee, q(a.value), 1)) : h("", !0)
137
+ ], 4)) : h("", !0)
136
138
  ]),
137
139
  _: 1
138
140
  })
139
141
  ]),
140
142
  _: 1
141
143
  }, 16, ["icon", "size"]),
142
- h(n, null, {
143
- default: D(() => [
144
- s.value ? y("", !0) : (v(), g("div", W, [
145
- w(e.$slots, "append", { size: e.size }, void 0, !0)
144
+ m(n, null, {
145
+ default: T(() => [
146
+ s.value ? h("", !0) : (p(), c("div", te, [
147
+ E(e.$slots, "append", { size: e.size }, void 0, !0)
146
148
  ]))
147
149
  ]),
148
150
  _: 3
@@ -152,5 +154,5 @@ const Q = { key: 0 }, R = {
152
154
  }
153
155
  });
154
156
  export {
155
- ae as default
157
+ se as default
156
158
  };
@@ -1,12 +1,14 @@
1
- import { defineComponent as N, computed as V, toValue as D, resolveComponent as i, openBlock as a, createElementBlock as r, normalizeClass as c, createVNode as p, withCtx as f, unref as t, createBlock as v, createCommentVNode as g, normalizeStyle as E, renderSlot as l, createTextVNode as d, toDisplayString as s, createElementVNode as B } from "vue";
2
- import { useItem as F } from "../composables/item.mjs";
3
- import { useFilters as L } from "../composables/filters.mjs";
4
- import { nestedValue as b } from "../composables/helpers.mjs";
1
+ import { defineComponent as x, computed as V, toValue as G, resolveComponent as N, openBlock as a, createElementBlock as r, normalizeClass as l, createVNode as y, withCtx as m, unref as n, createBlock as p, createCommentVNode as f, normalizeStyle as D, renderSlot as i, createTextVNode as c, toDisplayString as s, createElementVNode as g } from "vue";
2
+ import { useItem as E } from "../composables/item.mjs";
3
+ import { useFilters as F } from "../composables/filters.mjs";
4
+ import { nestedValue as L } from "../composables/helpers.mjs";
5
5
  import { useNavigation as P } from "../composables/navigation.mjs";
6
+ import { VProgressCircular as v } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
7
+ import { VOverlay as b } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
6
8
  const w = {
7
9
  key: 0,
8
10
  class: "align-center justify-center text-center"
9
- }, R = { key: "3" }, z = /* @__PURE__ */ N({
11
+ }, O = { key: "3" }, K = /* @__PURE__ */ x({
10
12
  __name: "BT-Entity",
11
13
  props: {
12
14
  alternateText: {},
@@ -87,86 +89,86 @@ const w = {
87
89
  variant: {}
88
90
  },
89
91
  emits: ["fetched", "saved"],
90
- setup(h, { emit: I }) {
91
- const S = I, o = h, A = L(), n = F(o, S, {
92
+ setup(B, { emit: h }) {
93
+ const I = h, o = B, S = F(), t = E(o, I, {
92
94
  onGetItem: (e) => {
93
95
  o.assignToObject != null && o.assignToProp != null && (o.assignToObject[o.assignToProp] = e);
94
96
  }
95
- }), T = P(), u = o.itemText ?? (o.nav != null ? T.findItemText(o.nav) : void 0) ?? void 0, C = V(() => {
96
- var e = D(n.asyncItem);
97
- return o.textFunction != null && (e = o.textFunction(e)), u != null && (e = b(n.asyncItem.value, u)), o.textFilter != null ? A.findFilter(o.textFilter)(e) : e;
97
+ }), A = P(), d = o.itemText ?? (o.nav != null ? A.findItemText(o.nav) : void 0) ?? void 0, T = V(() => {
98
+ var e = G(t.asyncItem);
99
+ return o.textFunction != null && (e = o.textFunction(e)), d != null && (e = L(t.asyncItem.value, d)), o.textFilter != null ? S.findFilter(o.textFilter)(e) : e;
98
100
  });
99
- return (e, y) => {
100
- const m = i("v-progress-circular"), k = i("v-slide-x-transition"), x = i("v-overlay");
101
+ return (e, u) => {
102
+ const C = N("v-slide-x-transition");
101
103
  return a(), r("div", {
102
- class: c(e.inline ? "d-inline" : "")
104
+ class: l(e.inline ? "d-inline" : "")
103
105
  }, [
104
- p(k, { "hide-on-leave": "" }, {
105
- default: f(() => [
106
- e.inline && t(n).isLoading.value ? (a(), r("div", w, [
107
- e.hideLoader ? g("", !0) : (a(), v(m, {
106
+ y(C, { "hide-on-leave": "" }, {
107
+ default: m(() => [
108
+ e.inline && n(t).isLoading.value ? (a(), r("div", w, [
109
+ e.hideLoader ? f("", !0) : (a(), p(n(v), {
108
110
  key: 0,
109
111
  indeterminate: "",
110
112
  size: "20"
111
113
  }))
112
- ])) : t(n).asyncItem.value != null ? (a(), r("div", {
114
+ ])) : n(t).asyncItem.value != null ? (a(), r("div", {
113
115
  key: "1",
114
- class: c({ "d-inline": e.inline, "text-truncate": e.truncate }),
115
- style: E(e.truncate == !0 ? "display: inline-block;" : "")
116
+ class: l({ "d-inline": e.inline, "text-truncate": e.truncate }),
117
+ style: D(e.truncate == !0 ? "display: inline-block;" : "")
116
118
  }, [
117
- l(e.$slots, "prepend", {
118
- item: t(n).asyncItem.value,
119
- refresh: t(n).refresh
119
+ i(e.$slots, "prepend", {
120
+ item: n(t).asyncItem.value,
121
+ refresh: n(t).refresh
120
122
  }, () => [
121
- d(s(e.prefix), 1)
123
+ c(s(e.prefix), 1)
122
124
  ]),
123
- l(e.$slots, "default", {
124
- isChanged: t(n).isChanged,
125
- item: t(n).asyncItem.value,
126
- deleteItem: t(n).deleteItem,
127
- refresh: t(n).refresh,
128
- save: () => t(n).saveItem(t(n).asyncItem.value)
125
+ i(e.$slots, "default", {
126
+ isChanged: n(t).isChanged,
127
+ item: n(t).asyncItem.value,
128
+ deleteItem: n(t).deleteItem,
129
+ refresh: n(t).refresh,
130
+ save: () => n(t).saveItem(n(t).asyncItem.value)
129
131
  }, () => [
130
- d(s(C.value), 1)
132
+ c(s(T.value), 1)
131
133
  ]),
132
- l(e.$slots, "append", {
133
- item: t(n).asyncItem.value,
134
- refresh: t(n).refresh
134
+ i(e.$slots, "append", {
135
+ item: n(t).asyncItem.value,
136
+ refresh: n(t).refresh
135
137
  }, () => [
136
- d(s(e.suffix), 1)
138
+ c(s(e.suffix), 1)
137
139
  ])
138
140
  ], 6)) : (a(), r("div", {
139
141
  key: "2",
140
- class: c(e.inline ? "d-inline" : "")
142
+ class: l(e.inline ? "d-inline" : "")
141
143
  }, [
142
- l(e.$slots, "alternate", {
143
- item: t(n).asyncItem.value,
144
- refresh: t(n).refresh
144
+ i(e.$slots, "alternate", {
145
+ item: n(t).asyncItem.value,
146
+ refresh: n(t).refresh
145
147
  }, () => [
146
- B("span", R, s(e.alternateText), 1)
148
+ g("span", O, s(e.alternateText), 1)
147
149
  ])
148
150
  ], 2))
149
151
  ]),
150
152
  _: 3
151
153
  }),
152
- !e.inline && !e.hideLoader ? (a(), v(x, {
154
+ !e.inline && !e.hideLoader ? (a(), p(n(b), {
153
155
  key: 0,
154
- modelValue: t(n).isLoading.value,
155
- "onUpdate:modelValue": y[0] || (y[0] = (G) => t(n).isLoading.value = G),
156
+ modelValue: n(t).isLoading.value,
157
+ "onUpdate:modelValue": u[0] || (u[0] = (k) => n(t).isLoading.value = k),
156
158
  class: "align-center justify-center text-center",
157
159
  contained: "",
158
160
  persistent: ""
159
161
  }, {
160
- default: f(() => [
161
- p(m, { indeterminate: "" }),
162
- B("p", null, s(t(n).loadingMsg), 1)
162
+ default: m(() => [
163
+ y(n(v), { indeterminate: "" }),
164
+ g("p", null, s(n(t).loadingMsg), 1)
163
165
  ]),
164
166
  _: 1
165
- }, 8, ["modelValue"])) : g("", !0)
167
+ }, 8, ["modelValue"])) : f("", !0)
166
168
  ], 2);
167
169
  };
168
170
  }
169
171
  });
170
172
  export {
171
- z as default
173
+ K as default
172
174
  };
@@ -1,26 +1,27 @@
1
- import { defineComponent as p, ref as u, watch as d, resolveComponent as t, openBlock as _, createBlock as m, withCtx as l, createVNode as f, createTextVNode as v, toDisplayString as g } from "vue";
2
- const h = /* @__PURE__ */ p({
1
+ import { defineComponent as i, ref as u, watch as p, resolveComponent as d, openBlock as c, createBlock as m, withCtx as t, createVNode as f, unref as _, createTextVNode as v, toDisplayString as V } from "vue";
2
+ import { VAlert as g } from "../bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs";
3
+ const x = /* @__PURE__ */ i({
3
4
  __name: "BT-Error",
4
5
  props: {
5
6
  errorMsg: {}
6
7
  },
7
- setup(n) {
8
- const a = n, e = u(!1);
9
- return d(() => a.errorMsg, (o) => {
10
- e.value = o != null;
11
- }), (o, r) => {
12
- const s = t("v-alert"), c = t("v-slide-y-transition");
13
- return _(), m(c, null, {
14
- default: l(() => [
15
- f(s, {
8
+ setup(l) {
9
+ const n = l, e = u(!1);
10
+ return p(() => n.errorMsg, (r) => {
11
+ e.value = r != null;
12
+ }), (r, o) => {
13
+ const a = d("v-slide-y-transition");
14
+ return c(), m(a, null, {
15
+ default: t(() => [
16
+ f(_(g), {
16
17
  closable: "",
17
18
  title: "Error",
18
19
  color: "red-lighten-1",
19
20
  modelValue: e.value,
20
- "onUpdate:modelValue": r[0] || (r[0] = (i) => e.value = i)
21
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => e.value = s)
21
22
  }, {
22
- default: l(() => [
23
- v(g(o.errorMsg), 1)
23
+ default: t(() => [
24
+ v(V(r.errorMsg), 1)
24
25
  ]),
25
26
  _: 1
26
27
  }, 8, ["modelValue"])
@@ -31,5 +32,5 @@ const h = /* @__PURE__ */ p({
31
32
  }
32
33
  });
33
34
  export {
34
- h as default
35
+ x as default
35
36
  };
@@ -1,6 +1,8 @@
1
- import { defineComponent as V, computed as o, inject as i, ref as u, resolveComponent as r, openBlock as _, createBlock as M, withCtx as k, createVNode as E, mergeProps as S } from "vue";
2
- import { TestRequired as C } from "../composables/rules.mjs";
3
- const I = /* @__PURE__ */ V({
1
+ import { defineComponent as B, computed as o, inject as r, ref as n, openBlock as V, createBlock as h, unref as u, withCtx as M, createVNode as C, mergeProps as E } from "vue";
2
+ import { TestRequired as S } from "../composables/rules.mjs";
3
+ import { VCheckbox as k } from "../bt-core/core/node_modules/vuetify/lib/components/VCheckbox/VCheckbox.mjs";
4
+ import { VCol as q } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
5
+ const _ = /* @__PURE__ */ B({
4
6
  inheritAttrs: !1,
5
7
  __name: "BT-Field-Checkbox",
6
8
  props: {
@@ -19,43 +21,40 @@ const I = /* @__PURE__ */ V({
19
21
  },
20
22
  emits: ["update:modelValue"],
21
23
  setup(d, { emit: m }) {
22
- const e = d, c = m, a = o({
24
+ const e = d, p = m, a = o({
23
25
  get() {
24
26
  return e.modelValue;
25
27
  },
26
28
  set(l) {
27
- c("update:modelValue", l);
29
+ p("update:modelValue", l);
28
30
  }
29
- }), p = i("isEditing", () => u(!1), !0), f = o(() => e.isEditing ?? p.value), t = i("isMobile", () => u(!1), !0), s = o(() => {
31
+ }), f = r("isEditing", () => n(!1), !0), c = o(() => e.isEditing ?? f.value), t = r("isMobile", () => n(!1), !0), s = o(() => {
30
32
  var l = [
31
33
  ...e.rules ?? []
32
34
  ];
33
- return e.required && l.push(C), l.length > 0 ? l : void 0;
34
- }), v = o(() => e.isMobile ?? t.value ? !1 : e.lg), g = o(() => e.isMobile ?? t.value ? !1 : e.md), b = o(() => e.isMobile ?? t.value ? !1 : e.sm);
35
- return (l, n) => {
36
- const y = r("v-checkbox"), B = r("v-col");
37
- return _(), M(B, {
38
- lg: v.value,
39
- md: g.value,
40
- sm: b.value,
41
- cols: l.cols
42
- }, {
43
- default: k(() => [
44
- E(y, S(l.$attrs, {
45
- modelValue: a.value,
46
- "onUpdate:modelValue": n[0] || (n[0] = (h) => a.value = h),
47
- color: "primary",
48
- "hide-details": s.value == null,
49
- label: l.label,
50
- readonly: !f.value,
51
- rules: s.value
52
- }), null, 16, ["modelValue", "hide-details", "label", "readonly", "rules"])
53
- ]),
54
- _: 1
55
- }, 8, ["lg", "md", "sm", "cols"]);
56
- };
35
+ return e.required && l.push(S), l.length > 0 ? l : void 0;
36
+ }), g = o(() => e.isMobile ?? t.value ? !1 : e.lg), v = o(() => e.isMobile ?? t.value ? !1 : e.md), b = o(() => e.isMobile ?? t.value ? !1 : e.sm);
37
+ return (l, i) => (V(), h(u(q), {
38
+ lg: g.value,
39
+ md: v.value,
40
+ sm: b.value,
41
+ cols: l.cols
42
+ }, {
43
+ default: M(() => [
44
+ C(u(k), E(l.$attrs, {
45
+ modelValue: a.value,
46
+ "onUpdate:modelValue": i[0] || (i[0] = (y) => a.value = y),
47
+ color: "primary",
48
+ "hide-details": s.value == null,
49
+ label: l.label,
50
+ readonly: !c.value,
51
+ rules: s.value
52
+ }), null, 16, ["modelValue", "hide-details", "label", "readonly", "rules"])
53
+ ]),
54
+ _: 1
55
+ }, 8, ["lg", "md", "sm", "cols"]));
57
56
  }
58
57
  });
59
58
  export {
60
- I as default
59
+ _ as default
61
60
  };