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,5 +1,9 @@
1
- import { defineComponent as C, computed as l, inject as o, ref as r, resolveComponent as a, openBlock as I, createBlock as k, withCtx as i, createVNode as s, mergeProps as N, unref as c, createTextVNode as T, toDisplayString as j } from "vue";
2
- const A = /* @__PURE__ */ C({
1
+ import { defineComponent as M, computed as a, inject as o, ref as m, openBlock as w, createBlock as E, unref as t, withCtx as i, createVNode as s, mergeProps as I, createTextVNode as h, toDisplayString as _ } from "vue";
2
+ import { VSwitch as C } from "../bt-core/core/node_modules/vuetify/lib/components/VSwitch/VSwitch.mjs";
3
+ import { VCol as L } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
4
+ import { VListItem as k } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
5
+ import { VListItemSubtitle as N } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs";
6
+ const F = /* @__PURE__ */ M({
3
7
  inheritAttrs: !1,
4
8
  __name: "BT-Field-Switch",
5
9
  props: {
@@ -13,52 +17,49 @@ const A = /* @__PURE__ */ C({
13
17
  sm: { type: [String, Boolean], default: "6" }
14
18
  },
15
19
  emits: ["update:modelValue"],
16
- setup(p, { emit: v }) {
17
- const e = p, f = v, d = l({
20
+ setup(p, { emit: f }) {
21
+ const e = p, c = f, d = a({
18
22
  get() {
19
23
  return e.modelValue;
20
24
  },
21
- set(t) {
22
- f("update:modelValue", t);
25
+ set(l) {
26
+ c("update:modelValue", l);
23
27
  }
24
- }), _ = o("isEditing", () => r(!1), !0), u = l(() => e.isEditing ?? _.value), n = o("isMobile", () => r(!1), !0), g = o("viewVariant", "underlined"), V = o("editVariant", "outlined"), b = l(() => e.isMobile ?? n.value ? !1 : e.lg), y = l(() => e.isMobile ?? n.value ? !1 : e.md), B = l(() => e.isMobile ?? n.value ? !1 : e.sm);
25
- return (t, m) => {
26
- const M = a("v-list-item-subtitle"), S = a("v-switch"), w = a("v-list-item"), h = a("v-col");
27
- return I(), k(h, {
28
- lg: b.value,
29
- md: y.value,
30
- sm: B.value,
31
- cols: t.cols
32
- }, {
33
- default: i(() => [
34
- s(w, { density: "compact" }, {
35
- append: i(() => [
36
- s(S, N({
37
- "hide-details": "",
38
- inset: ""
39
- }, t.$attrs, {
40
- readonly: !u.value,
41
- variant: u.value ? c(V) : c(g),
42
- modelValue: d.value,
43
- "onUpdate:modelValue": m[0] || (m[0] = (E) => d.value = E)
44
- }), null, 16, ["readonly", "variant", "modelValue"])
45
- ]),
46
- default: i(() => [
47
- s(M, null, {
48
- default: i(() => [
49
- T(j(t.label), 1)
50
- ]),
51
- _: 1
52
- })
53
- ]),
54
- _: 1
55
- })
56
- ]),
57
- _: 1
58
- }, 8, ["lg", "md", "sm", "cols"]);
59
- };
28
+ }), g = o("isEditing", () => m(!1), !0), r = a(() => e.isEditing ?? g.value), n = o("isMobile", () => m(!1), !0), v = o("viewVariant", "underlined"), V = o("editVariant", "outlined"), y = a(() => e.isMobile ?? n.value ? !1 : e.lg), b = a(() => e.isMobile ?? n.value ? !1 : e.md), B = a(() => e.isMobile ?? n.value ? !1 : e.sm);
29
+ return (l, u) => (w(), E(t(L), {
30
+ lg: y.value,
31
+ md: b.value,
32
+ sm: B.value,
33
+ cols: l.cols
34
+ }, {
35
+ default: i(() => [
36
+ s(t(k), { density: "compact" }, {
37
+ append: i(() => [
38
+ s(t(C), I({
39
+ "hide-details": "",
40
+ inset: ""
41
+ }, l.$attrs, {
42
+ readonly: !r.value,
43
+ variant: r.value ? t(V) : t(v),
44
+ modelValue: d.value,
45
+ "onUpdate:modelValue": u[0] || (u[0] = (S) => d.value = S)
46
+ }), null, 16, ["readonly", "variant", "modelValue"])
47
+ ]),
48
+ default: i(() => [
49
+ s(t(N), null, {
50
+ default: i(() => [
51
+ h(_(l.label), 1)
52
+ ]),
53
+ _: 1
54
+ })
55
+ ]),
56
+ _: 1
57
+ })
58
+ ]),
59
+ _: 1
60
+ }, 8, ["lg", "md", "sm", "cols"]));
60
61
  }
61
62
  });
62
63
  export {
63
- A as default
64
+ F as default
64
65
  };
@@ -1,7 +1,12 @@
1
- import { defineComponent as T, computed as t, inject as n, ref as g, resolveComponent as o, openBlock as d, createBlock as p, withCtx as u, unref as c, mergeProps as b, createVNode as v, createTextVNode as $, toDisplayString as L } from "vue";
2
- import { isLengthyArray as N } from "../composables/helpers.mjs";
3
- import P from "./BT-Tags.vue.mjs";
4
- const D = /* @__PURE__ */ T({
1
+ import { defineComponent as A, computed as o, inject as r, ref as g, openBlock as d, createBlock as p, unref as t, withCtx as n, mergeProps as v, createVNode as f, createTextVNode as E, toDisplayString as L } from "vue";
2
+ import { isLengthyArray as h } from "../composables/helpers.mjs";
3
+ import k from "./BT-Tags.vue.mjs";
4
+ import { VCombobox as T } from "../bt-core/core/node_modules/vuetify/lib/components/VCombobox/VCombobox.mjs";
5
+ import { VCol as w } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
6
+ import { VListItem as _ } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
7
+ import { VListItemSubtitle as $ } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs";
8
+ import { VListItemTitle as N } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs";
9
+ const G = /* @__PURE__ */ A({
5
10
  inheritAttrs: !1,
6
11
  __name: "BT-Field-Tags",
7
12
  props: {
@@ -17,64 +22,61 @@ const D = /* @__PURE__ */ T({
17
22
  sm: { type: [String, Boolean], default: "6" }
18
23
  },
19
24
  emits: ["update:modelValue"],
20
- setup(y, { emit: V }) {
21
- const l = y, f = V, a = t({
25
+ setup(y, { emit: b }) {
26
+ const l = y, V = b, a = o({
22
27
  get() {
23
28
  var e;
24
29
  return l.isArray ? l.modelValue : (e = l.modelValue) == null ? void 0 : e.split(",");
25
30
  },
26
31
  set(e) {
27
- l.isArray ? f("update:modelValue", e) : f("update:modelValue", N(e) ? e.toString() : null);
32
+ l.isArray ? V("update:modelValue", e) : V("update:modelValue", h(e) ? e.toString() : null);
28
33
  }
29
- }), B = n("isEditing", () => g(!1), !0), i = t(() => l.isEditing ?? B.value), m = n("isMobile", () => g(!1), !0), _ = n("viewVariant", "underlined"), M = n("editVariant", "outlined"), S = t(() => l.isMobile ?? m.value ? !1 : l.lg), A = t(() => l.isMobile ?? m.value ? !1 : l.md), C = t(() => l.isMobile ?? m.value ? !1 : l.sm);
30
- return (e, s) => {
31
- const E = o("v-list-item-subtitle"), h = o("v-list-item-title"), k = o("v-list-item"), w = o("v-combobox"), I = o("v-col");
32
- return d(), p(I, {
33
- lg: S.value,
34
- md: A.value,
35
- sm: C.value,
36
- cols: e.cols
37
- }, {
38
- default: u(() => [
39
- !i.value && c(_) == "list-item" ? (d(), p(k, b({
40
- key: 0,
41
- density: "compact"
42
- }, e.$attrs), {
43
- default: u(() => [
44
- v(E, null, {
45
- default: u(() => [
46
- $(L(e.label), 1)
47
- ]),
48
- _: 1
49
- }),
50
- v(h, null, {
51
- default: u(() => [
52
- v(P, {
53
- chipProps: "",
54
- modelValue: a.value,
55
- "onUpdate:modelValue": s[0] || (s[0] = (r) => a.value = r)
56
- }, null, 8, ["modelValue"])
57
- ]),
58
- _: 1
59
- })
60
- ]),
61
- _: 1
62
- }, 16)) : (d(), p(w, b({ key: 1 }, e.$attrs, {
63
- chips: "",
64
- closableChips: i.value,
65
- label: e.label,
66
- multiple: "",
67
- readonly: !i.value,
68
- variant: i.value ? c(M) : c(_),
69
- modelValue: a.value,
70
- "onUpdate:modelValue": s[1] || (s[1] = (r) => a.value = r)
71
- }), null, 16, ["closableChips", "label", "readonly", "variant", "modelValue"]))
72
- ]),
73
- _: 1
74
- }, 8, ["lg", "md", "sm", "cols"]);
75
- };
34
+ }), B = r("isEditing", () => g(!1), !0), i = o(() => l.isEditing ?? B.value), m = r("isMobile", () => g(!1), !0), c = r("viewVariant", "underlined"), S = r("editVariant", "outlined"), M = o(() => l.isMobile ?? m.value ? !1 : l.lg), C = o(() => l.isMobile ?? m.value ? !1 : l.md), I = o(() => l.isMobile ?? m.value ? !1 : l.sm);
35
+ return (e, s) => (d(), p(t(w), {
36
+ lg: M.value,
37
+ md: C.value,
38
+ sm: I.value,
39
+ cols: e.cols
40
+ }, {
41
+ default: n(() => [
42
+ !i.value && t(c) == "list-item" ? (d(), p(t(_), v({
43
+ key: 0,
44
+ density: "compact"
45
+ }, e.$attrs), {
46
+ default: n(() => [
47
+ f(t($), null, {
48
+ default: n(() => [
49
+ E(L(e.label), 1)
50
+ ]),
51
+ _: 1
52
+ }),
53
+ f(t(N), null, {
54
+ default: n(() => [
55
+ f(k, {
56
+ chipProps: "",
57
+ modelValue: a.value,
58
+ "onUpdate:modelValue": s[0] || (s[0] = (u) => a.value = u)
59
+ }, null, 8, ["modelValue"])
60
+ ]),
61
+ _: 1
62
+ })
63
+ ]),
64
+ _: 1
65
+ }, 16)) : (d(), p(t(T), v({ key: 1 }, e.$attrs, {
66
+ chips: "",
67
+ closableChips: i.value,
68
+ label: e.label,
69
+ multiple: "",
70
+ readonly: !i.value,
71
+ variant: i.value ? t(S) : t(c),
72
+ modelValue: a.value,
73
+ "onUpdate:modelValue": s[1] || (s[1] = (u) => a.value = u)
74
+ }), null, 16, ["closableChips", "label", "readonly", "variant", "modelValue"]))
75
+ ]),
76
+ _: 1
77
+ }, 8, ["lg", "md", "sm", "cols"]));
76
78
  }
77
79
  });
78
80
  export {
79
- D as default
81
+ G as default
80
82
  };
@@ -1,5 +1,9 @@
1
- import { defineComponent as N, computed as l, inject as a, ref as v, resolveComponent as o, openBlock as u, createBlock as r, withCtx as d, unref as m, mergeProps as f, createVNode as $, createTextVNode as g, toDisplayString as _ } from "vue";
2
- const x = /* @__PURE__ */ N({
1
+ import { defineComponent as T, computed as a, inject as o, ref as f, openBlock as r, createBlock as u, unref as t, withCtx as m, mergeProps as c, createVNode as w, createTextVNode as v, toDisplayString as g } from "vue";
2
+ import { VTextarea as C } from "../bt-core/core/node_modules/vuetify/lib/components/VTextarea/VTextarea.mjs";
3
+ import { VCol as L } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
4
+ import { VListItem as h } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
5
+ import { VListItemSubtitle as N } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs";
6
+ const F = /* @__PURE__ */ T({
3
7
  inheritAttrs: !1,
4
8
  __name: "BT-Field-Textarea",
5
9
  props: {
@@ -15,52 +19,49 @@ const x = /* @__PURE__ */ N({
15
19
  sm: { type: [String, Boolean], default: "6" }
16
20
  },
17
21
  emits: ["update:modelValue"],
18
- setup(b, { emit: y }) {
19
- const e = b, V = y, n = l({
22
+ setup(V, { emit: b }) {
23
+ const e = V, y = b, i = a({
20
24
  get() {
21
25
  return e.modelValue;
22
26
  },
23
- set(t) {
24
- V("update:modelValue", t);
27
+ set(l) {
28
+ y("update:modelValue", l);
25
29
  }
26
- }), B = a("isEditing", () => v(!1), !0), s = l(() => e.isEditing ?? B.value), i = a("isMobile", () => v(!1), !0), c = a("viewVariant", "underlined"), M = a("editVariant", "outlined"), S = l(() => e.isMobile ?? i.value ? !1 : e.lg), E = l(() => e.isMobile ?? i.value ? !1 : e.md), k = l(() => e.isMobile ?? i.value ? !1 : e.sm);
27
- return (t, p) => {
28
- const w = o("v-list-item-subtitle"), C = o("v-list-item"), I = o("v-textarea"), T = o("v-col");
29
- return u(), r(T, {
30
- lg: S.value,
31
- md: E.value,
32
- sm: k.value,
33
- cols: t.cols
34
- }, {
35
- default: d(() => [
36
- !s.value && m(c) == "list-item" ? (u(), r(C, f({
37
- key: 0,
38
- density: "compact"
39
- }, t.$attrs), {
40
- default: d(() => [
41
- $(w, { class: "mb-2" }, {
42
- default: d(() => [
43
- g(_(t.label), 1)
44
- ]),
45
- _: 1
46
- }),
47
- g(" " + _(n.value), 1)
48
- ]),
49
- _: 1
50
- }, 16)) : (u(), r(I, f({ key: 1 }, t.$attrs, {
51
- label: t.label,
52
- readonly: !s.value,
53
- rules: t.rules,
54
- variant: s.value ? m(M) : m(c),
55
- modelValue: n.value,
56
- "onUpdate:modelValue": p[0] || (p[0] = (h) => n.value = h)
57
- }), null, 16, ["label", "readonly", "rules", "variant", "modelValue"]))
58
- ]),
59
- _: 1
60
- }, 8, ["lg", "md", "sm", "cols"]);
61
- };
30
+ }), B = o("isEditing", () => f(!1), !0), s = a(() => e.isEditing ?? B.value), n = o("isMobile", () => f(!1), !0), d = o("viewVariant", "underlined"), M = o("editVariant", "outlined"), S = a(() => e.isMobile ?? n.value ? !1 : e.lg), E = a(() => e.isMobile ?? n.value ? !1 : e.md), I = a(() => e.isMobile ?? n.value ? !1 : e.sm);
31
+ return (l, p) => (r(), u(t(L), {
32
+ lg: S.value,
33
+ md: E.value,
34
+ sm: I.value,
35
+ cols: l.cols
36
+ }, {
37
+ default: m(() => [
38
+ !s.value && t(d) == "list-item" ? (r(), u(t(h), c({
39
+ key: 0,
40
+ density: "compact"
41
+ }, l.$attrs), {
42
+ default: m(() => [
43
+ w(t(N), { class: "mb-2" }, {
44
+ default: m(() => [
45
+ v(g(l.label), 1)
46
+ ]),
47
+ _: 1
48
+ }),
49
+ v(" " + g(i.value), 1)
50
+ ]),
51
+ _: 1
52
+ }, 16)) : (r(), u(t(C), c({ key: 1 }, l.$attrs, {
53
+ label: l.label,
54
+ readonly: !s.value,
55
+ rules: l.rules,
56
+ variant: s.value ? t(M) : t(d),
57
+ modelValue: i.value,
58
+ "onUpdate:modelValue": p[0] || (p[0] = (k) => i.value = k)
59
+ }), null, 16, ["label", "readonly", "rules", "variant", "modelValue"]))
60
+ ]),
61
+ _: 1
62
+ }, 8, ["lg", "md", "sm", "cols"]));
62
63
  }
63
64
  });
64
65
  export {
65
- x as default
66
+ F as default
66
67
  };