bt-core-app 2.2.5 → 2.2.7

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 +20 -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 +52 -52
  125. package/dist/components/BT-Blade-Item.vue.mjs +110 -100
  126. package/dist/components/BT-Blade-Items.vue.mjs +2 -2
  127. package/dist/components/BT-Blade-Items.vue2.mjs +411 -399
  128. package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
  129. package/dist/components/BT-Blade-Steps.vue2.mjs +641 -626
  130. package/dist/components/BT-Blade.vue.mjs +190 -192
  131. package/dist/components/BT-Btn.vue.mjs +23 -25
  132. package/dist/components/BT-Camera-Overlay.vue.mjs +144 -142
  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 +264 -249
  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 +96 -85
  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 +89 -89
  146. package/dist/components/BT-Entity.vue.mjs +82 -82
  147. package/dist/components/BT-Error.vue.mjs +26 -27
  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 +346 -325
  160. package/dist/components/BT-Form-Field.vue.mjs +88 -81
  161. package/dist/components/BT-Form.vue.mjs +280 -269
  162. package/dist/components/BT-Header-Option.vue.mjs +21 -19
  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 +147 -144
  170. package/dist/components/BT-Select-List-Box.vue.mjs +287 -276
  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 +113 -112
  174. package/dist/components/BT-Signature.vue.mjs +96 -96
  175. package/dist/components/BT-Slider.vue.mjs +109 -103
  176. package/dist/components/BT-Square-Check.vue.mjs +65 -65
  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,8 +1,22 @@
1
- import { defineComponent as ne, ref as k, inject as I, computed as v, resolveComponent as a, openBlock as s, createBlock as r, normalizeClass as oe, withCtx as o, createElementVNode as T, renderSlot as d, createVNode as u, createTextVNode as m, mergeProps as E, unref as i, createCommentVNode as p, toDisplayString as g, createElementBlock as L, Fragment as O, renderList as se } from "vue";
2
- import { useList as ie } from "../composables/list.mjs";
3
- import { useFilters as ae } from "../composables/filters.mjs";
4
- import { nestedValue as H, isLengthyArray as re } from "../composables/helpers.mjs";
5
- const ue = { class: "d-flex align-center" }, de = { class: "d-flex align-center" }, ge = /* @__PURE__ */ ne({
1
+ import { defineComponent as Y, ref as V, inject as C, computed as m, openBlock as a, createBlock as s, unref as t, normalizeClass as J, withCtx as i, createElementVNode as $, renderSlot as u, createVNode as r, createTextVNode as c, mergeProps as z, createCommentVNode as p, toDisplayString as f, createElementBlock as P, Fragment as O, renderList as W } from "vue";
2
+ import { useList as Z } from "../composables/list.mjs";
3
+ import { useFilters as x } from "../composables/filters.mjs";
4
+ import { nestedValue as R, isLengthyArray as _ } from "../composables/helpers.mjs";
5
+ import { VVirtualScroll as ee } from "../bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs";
6
+ import { VCol as te } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
7
+ import { VListItem as S } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
8
+ import { VIcon as E } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
9
+ import { VMenu as H } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
10
+ import { VBtn as A } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
11
+ import { VList as I } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
12
+ import { VSlideYTransition as le, VSlideXTransition as ne } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
13
+ import { VTextField as oe } from "../bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs";
14
+ import { VListItemTitle as T } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs";
15
+ import { VListItemSubtitle as w } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs";
16
+ import { VDivider as ie } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
17
+ import { VOverlay as ae } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
18
+ import { VProgressCircular as se } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
19
+ const re = { class: "d-flex align-center" }, ue = { class: "d-flex align-center" }, Te = /* @__PURE__ */ Y({
6
20
  inheritAttrs: !1,
7
21
  __name: "BT-Select-List-Box",
8
22
  props: {
@@ -119,296 +133,293 @@ const ue = { class: "d-flex align-center" }, de = { class: "d-flex align-center"
119
133
  },
120
134
  emits: ["update:modelValue", "change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item"],
121
135
  setup(G, { emit: U }) {
122
- const F = U, l = G, y = k((l.alwaysOpen || l.isSelecting) ?? !1), f = I("size", () => k("small"), !0), j = I("isEditing", () => k(!1), !0), K = v(() => l.isEditing ?? j.value), c = ie(l, F, {
136
+ const b = U, n = G, y = V((n.alwaysOpen || n.isSelecting) ?? !1), g = C("size", () => V("small"), !0), j = C("isEditing", () => V(!1), !0), K = m(() => n.isEditing ?? j.value), d = Z(n, b, {
123
137
  // useBladeSrc: false,
124
138
  // useRouteSrc: false
125
- }), D = ae(), M = v(() => (e) => {
126
- let t = l.subtextFunction != null ? l.subtextFunction(e) : e;
127
- return t = l.itemSubtext != null ? H(t, l.itemSubtext) : t, l.subtextFilter != null ? D.findFilter(l.subtextFilter)(t) : t;
128
- }), C = v(() => (e) => {
129
- let t = l.textFunction != null ? l.textFunction(e) : e;
130
- return t = l.itemText != null ? H(t, l.itemText) : t, l.textFilter != null ? D.findFilter(l.textFilter)(t) : t;
131
- }), B = v(() => (e) => (l.itemValue ? e[l.itemValue] : e) == l.modelValue);
132
- function N() {
139
+ }), D = x(), L = m(() => (e) => {
140
+ let l = n.subtextFunction != null ? n.subtextFunction(e) : e;
141
+ return l = n.itemSubtext != null ? R(l, n.itemSubtext) : l, n.subtextFilter != null ? D.findFilter(n.subtextFilter)(l) : l;
142
+ }), k = m(() => (e) => {
143
+ let l = n.textFunction != null ? n.textFunction(e) : e;
144
+ return l = n.itemText != null ? R(l, n.itemText) : l, n.textFilter != null ? D.findFilter(n.textFilter)(l) : l;
145
+ }), h = m(() => (e) => (n.itemValue ? e[n.itemValue] : e) == n.modelValue);
146
+ function M() {
133
147
  K.value && (y.value = !0);
134
148
  }
135
- function S(e) {
136
- if (y.value = !1, e != null || l.canSelectNone) {
137
- let t = e;
138
- e != null && l.itemValue != null && (t = e[l.itemValue]), F("update:modelValue", t), F("change", t);
149
+ function v(e) {
150
+ if (y.value = !1, e != null || n.canSelectNone) {
151
+ let l = e;
152
+ e != null && n.itemValue != null && (l = e[n.itemValue]), b("update:modelValue", l), b("change", l);
139
153
  }
140
154
  }
141
- const z = v(() => {
142
- const e = l.itemValue ?? "id";
143
- return l.modelValue != null && c.asyncItems.value != null ? c.asyncItems.value.find((t) => t[e] == l.modelValue) : null;
144
- }), V = I("isMobile", () => k(!1), !0), q = v(() => l.isMobile ?? V.value ? !1 : l.lg), x = v(() => l.isMobile ?? V.value ? !1 : l.md), Q = v(() => l.isMobile ?? V.value ? !1 : l.sm);
145
- return (e, t) => {
146
- const P = a("v-icon"), $ = a("v-btn"), A = a("v-list"), R = a("v-menu"), h = a("v-list-item"), J = a("v-text-field"), _ = a("v-list-item-title"), w = a("v-list-item-subtitle"), W = a("v-virtual-scroll"), X = a("v-divider"), Y = a("v-slide-x-transition"), Z = a("v-slide-y-transition"), ee = a("v-progress-circular"), te = a("v-overlay"), le = a("v-col");
147
- return s(), r(le, {
148
- class: oe(e.colClass),
149
- lg: q.value,
150
- md: x.value,
151
- sm: Q.value,
152
- cols: e.cols
153
- }, {
154
- default: o(() => [
155
- !e.alwaysOpen && y.value ? (s(), r(h, {
156
- key: 0,
157
- onClick: t[0] || (t[0] = (n) => y.value = !1),
158
- density: e.density,
159
- subtitle: e.label
160
- }, {
161
- append: o(() => [
162
- T("div", ue, [
163
- d(e.$slots, "actions"),
164
- u(P, null, {
165
- default: o(() => t[6] || (t[6] = [
166
- m("$chevron-up")
167
- ])),
168
- _: 1
169
- }),
170
- d(e.$slots, "actionsRight"),
171
- e.showSettings ? (s(), r(R, {
172
- key: 0,
173
- "offset-y": "",
174
- "close-on-content-click": !1
175
- }, {
176
- activator: o(({ props: n }) => [
177
- u($, E({
178
- icon: "$cog",
179
- size: i(f),
180
- title: "Settings"
181
- }, n), null, 16, ["size"])
182
- ]),
183
- default: o(() => [
184
- u(A, null, {
185
- default: o(() => [
186
- d(e.$slots, "settings")
187
- ]),
188
- _: 3
189
- })
190
- ]),
191
- _: 3
192
- })) : p("", !0)
193
- ])
194
- ]),
195
- _: 3
196
- }, 8, ["density", "subtitle"])) : p("", !0),
197
- u(Z, {
198
- "hide-on-leave": "",
199
- group: ""
200
- }, {
201
- default: o(() => [
202
- (e.alwaysOpen || y.value) && i(re)(e.searchProps) ? (s(), r(J, {
203
- "onClick:prependInner": t[2] || (t[2] = (n) => i(c).searchString.value = void 0),
204
- "hide-details": "",
205
- key: "1",
206
- placeholder: "Search",
207
- "prepend-inner-icon": i(c).searchString.value != null ? "$close" : void 0,
208
- modelValue: i(c).searchString.value,
209
- "onUpdate:modelValue": t[3] || (t[3] = (n) => i(c).searchString.value = n)
210
- }, {
211
- "append-inner": o(() => [
212
- e.canRefresh ? (s(), r($, {
213
- key: 0,
214
- onClick: t[1] || (t[1] = (n) => i(c).refresh({ deepRefresh: !0 })),
215
- icon: "$refresh",
216
- size: i(f),
217
- variant: "text"
218
- }, null, 8, ["size"])) : p("", !0)
219
- ]),
155
+ const N = m(() => {
156
+ const e = n.itemValue ?? "id";
157
+ return n.modelValue != null && d.asyncItems.value != null ? d.asyncItems.value.find((l) => l[e] == n.modelValue) : null;
158
+ }), F = C("isMobile", () => V(!1), !0), q = m(() => n.isMobile ?? F.value ? !1 : n.lg), Q = m(() => n.isMobile ?? F.value ? !1 : n.md), X = m(() => n.isMobile ?? F.value ? !1 : n.sm);
159
+ return (e, l) => (a(), s(t(te), {
160
+ class: J(e.colClass),
161
+ lg: q.value,
162
+ md: Q.value,
163
+ sm: X.value,
164
+ cols: e.cols
165
+ }, {
166
+ default: i(() => [
167
+ !e.alwaysOpen && y.value ? (a(), s(t(S), {
168
+ key: 0,
169
+ onClick: l[0] || (l[0] = (o) => y.value = !1),
170
+ density: e.density,
171
+ subtitle: e.label
172
+ }, {
173
+ append: i(() => [
174
+ $("div", re, [
175
+ u(e.$slots, "actions"),
176
+ r(t(E), null, {
177
+ default: i(() => l[6] || (l[6] = [
178
+ c("$chevron-up")
179
+ ])),
220
180
  _: 1
221
- }, 8, ["prepend-inner-icon", "modelValue"])) : p("", !0),
222
- (e.alwaysOpen || y.value) && e.useVirtualScroller ? (s(), r(W, {
223
- height: e.height,
224
- "item-height": "50",
225
- items: i(c).filteredItems.value,
226
- key: "2",
227
- maxHeight: e.maxHeight
181
+ }),
182
+ u(e.$slots, "actionsRight"),
183
+ e.showSettings ? (a(), s(t(H), {
184
+ key: 0,
185
+ "offset-y": "",
186
+ "close-on-content-click": !1
228
187
  }, {
229
- default: o(({ item: n }) => [
230
- d(e.$slots, "item", {
231
- item: n,
232
- selectItem: S(n),
233
- active: B.value(n)
234
- }, () => [
235
- u(h, {
236
- onClick: (b) => S(n),
237
- active: B.value(n),
238
- color: "primary",
239
- density: e.density
240
- }, {
241
- default: o(() => [
242
- d(e.$slots, "default", { item: n }, () => [
243
- e.itemText != null || e.textFilter != null || e.textFunction != null ? (s(), r(_, { key: 0 }, {
244
- default: o(() => [
245
- m(g(C.value(n)), 1)
246
- ]),
247
- _: 2
248
- }, 1024)) : p("", !0),
249
- e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (s(), r(w, { key: 1 }, {
250
- default: o(() => [
251
- m(g(M.value(n)), 1)
252
- ]),
253
- _: 2
254
- }, 1024)) : p("", !0)
255
- ])
256
- ]),
257
- _: 2
258
- }, 1032, ["onClick", "active", "density"])
259
- ])
188
+ activator: i(({ props: o }) => [
189
+ r(t(A), z({
190
+ icon: "$cog",
191
+ size: t(g),
192
+ title: "Settings"
193
+ }, o), null, 16, ["size"])
260
194
  ]),
261
- _: 3
262
- }, 8, ["height", "items", "maxHeight"])) : e.alwaysOpen || y.value ? (s(), r(A, {
263
- "bg-color": e.transparent ? "transparent" : void 0,
264
- height: e.height,
265
- maxHeight: e.maxHeight,
266
- key: "3",
267
- width: "100%"
268
- }, {
269
- default: o(() => [
270
- d(e.$slots, "topItem"),
271
- e.canSelectNone ? (s(), r(h, {
272
- key: "-1",
273
- density: e.density,
274
- onClick: t[4] || (t[4] = (n) => S(null)),
275
- subtitle: "(Select None)"
276
- }, null, 8, ["density"])) : p("", !0),
277
- u(Y, {
278
- group: "",
279
- "hide-on-leave": ""
280
- }, {
281
- default: o(() => [
282
- (s(!0), L(O, null, se(i(c).filteredItems.value, (n, b) => (s(), L(O, {
283
- key: `${n.id ?? b}-list-item`
284
- }, [
285
- d(e.$slots, "item", {
286
- item: n,
287
- index: b,
288
- size: i(f),
289
- isActive: B.value(n),
290
- selectItem: S
291
- }, () => [
292
- u(h, {
293
- active: B.value(n),
294
- density: e.density,
295
- "prepend-icon": e.prependIcon,
296
- value: n,
297
- onClick: (ce) => S(n)
298
- }, {
299
- default: o(() => [
300
- d(e.$slots, "default", {
301
- item: n,
302
- index: b,
303
- size: i(f)
304
- }, () => [
305
- e.itemText != null || e.textFilter != null || e.textFunction != null ? (s(), r(_, { key: 0 }, {
306
- default: o(() => [
307
- m(g(C.value(n)), 1)
308
- ]),
309
- _: 2
310
- }, 1024)) : p("", !0),
311
- e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (s(), r(w, { key: 1 }, {
312
- default: o(() => [
313
- m(g(M.value(n)), 1)
314
- ]),
315
- _: 2
316
- }, 1024)) : p("", !0)
317
- ])
318
- ]),
319
- _: 2
320
- }, 1032, ["active", "density", "prepend-icon", "value", "onClick"])
321
- ]),
322
- e.hideDividers !== !0 ? (s(), r(X, { key: 0 })) : p("", !0)
323
- ], 64))), 128))
195
+ default: i(() => [
196
+ r(t(I), null, {
197
+ default: i(() => [
198
+ u(e.$slots, "settings")
324
199
  ]),
325
200
  _: 3
326
- }),
327
- d(e.$slots, "bottomItem")
201
+ })
328
202
  ]),
329
203
  _: 3
330
- }, 8, ["bg-color", "height", "maxHeight"])) : d(e.$slots, "selected", {
331
- key: 3,
332
- item: z.value,
333
- open: N
334
- }, () => [
335
- u(h, {
336
- onClick: N,
204
+ })) : p("", !0)
205
+ ])
206
+ ]),
207
+ _: 3
208
+ }, 8, ["density", "subtitle"])) : p("", !0),
209
+ r(t(le), {
210
+ "hide-on-leave": "",
211
+ group: ""
212
+ }, {
213
+ default: i(() => [
214
+ (e.alwaysOpen || y.value) && t(_)(e.searchProps) ? (a(), s(t(oe), {
215
+ "onClick:prependInner": l[2] || (l[2] = (o) => t(d).searchString.value = void 0),
216
+ "hide-details": "",
217
+ key: "1",
218
+ placeholder: "Search",
219
+ "prepend-inner-icon": t(d).searchString.value != null ? "$close" : void 0,
220
+ modelValue: t(d).searchString.value,
221
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => t(d).searchString.value = o)
222
+ }, {
223
+ "append-inner": i(() => [
224
+ e.canRefresh ? (a(), s(t(A), {
225
+ key: 0,
226
+ onClick: l[1] || (l[1] = (o) => t(d).refresh({ deepRefresh: !0 })),
227
+ icon: "$refresh",
228
+ size: t(g),
229
+ variant: "text"
230
+ }, null, 8, ["size"])) : p("", !0)
231
+ ]),
232
+ _: 1
233
+ }, 8, ["prepend-inner-icon", "modelValue"])) : p("", !0),
234
+ (e.alwaysOpen || y.value) && e.useVirtualScroller ? (a(), s(t(ee), {
235
+ height: e.height,
236
+ "item-height": "50",
237
+ items: t(d).filteredItems.value,
238
+ key: "2",
239
+ maxHeight: e.maxHeight
240
+ }, {
241
+ default: i(({ item: o }) => [
242
+ u(e.$slots, "item", {
243
+ item: o,
244
+ selectItem: v(o),
245
+ active: h.value(o)
246
+ }, () => [
247
+ r(t(S), {
248
+ onClick: (B) => v(o),
249
+ active: h.value(o),
250
+ color: "primary",
251
+ density: e.density
252
+ }, {
253
+ default: i(() => [
254
+ u(e.$slots, "default", { item: o }, () => [
255
+ e.itemText != null || e.textFilter != null || e.textFunction != null ? (a(), s(t(T), { key: 0 }, {
256
+ default: i(() => [
257
+ c(f(k.value(o)), 1)
258
+ ]),
259
+ _: 2
260
+ }, 1024)) : p("", !0),
261
+ e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (a(), s(t(w), { key: 1 }, {
262
+ default: i(() => [
263
+ c(f(L.value(o)), 1)
264
+ ]),
265
+ _: 2
266
+ }, 1024)) : p("", !0)
267
+ ])
268
+ ]),
269
+ _: 2
270
+ }, 1032, ["onClick", "active", "density"])
271
+ ])
272
+ ]),
273
+ _: 3
274
+ }, 8, ["height", "items", "maxHeight"])) : e.alwaysOpen || y.value ? (a(), s(t(I), {
275
+ "bg-color": e.transparent ? "transparent" : void 0,
276
+ height: e.height,
277
+ maxHeight: e.maxHeight,
278
+ key: "3",
279
+ width: "100%"
280
+ }, {
281
+ default: i(() => [
282
+ u(e.$slots, "topItem"),
283
+ e.canSelectNone ? (a(), s(t(S), {
284
+ key: "-1",
337
285
  density: e.density,
338
- key: "4"
286
+ onClick: l[4] || (l[4] = (o) => v(null)),
287
+ subtitle: "(Select None)"
288
+ }, null, 8, ["density"])) : p("", !0),
289
+ r(t(ne), {
290
+ group: "",
291
+ "hide-on-leave": ""
339
292
  }, {
340
- default: o(() => [
341
- e.label != null ? (s(), r(w, { key: 0 }, {
342
- default: o(() => [
343
- m(g(e.label), 1)
344
- ]),
345
- _: 1
346
- })) : p("", !0),
347
- u(_, null, {
348
- default: o(() => [
349
- m(g(C.value(z.value) ?? e.placeholder), 1)
293
+ default: i(() => [
294
+ (a(!0), P(O, null, W(t(d).filteredItems.value, (o, B) => (a(), P(O, {
295
+ key: `${o.id ?? B}-list-item`
296
+ }, [
297
+ u(e.$slots, "item", {
298
+ item: o,
299
+ index: B,
300
+ size: t(g),
301
+ isActive: h.value(o),
302
+ selectItem: v
303
+ }, () => [
304
+ r(t(S), {
305
+ active: h.value(o),
306
+ density: e.density,
307
+ "prepend-icon": e.prependIcon,
308
+ value: o,
309
+ onClick: (de) => v(o)
310
+ }, {
311
+ default: i(() => [
312
+ u(e.$slots, "default", {
313
+ item: o,
314
+ index: B,
315
+ size: t(g)
316
+ }, () => [
317
+ e.itemText != null || e.textFilter != null || e.textFunction != null ? (a(), s(t(T), { key: 0 }, {
318
+ default: i(() => [
319
+ c(f(k.value(o)), 1)
320
+ ]),
321
+ _: 2
322
+ }, 1024)) : p("", !0),
323
+ e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (a(), s(t(w), { key: 1 }, {
324
+ default: i(() => [
325
+ c(f(L.value(o)), 1)
326
+ ]),
327
+ _: 2
328
+ }, 1024)) : p("", !0)
329
+ ])
330
+ ]),
331
+ _: 2
332
+ }, 1032, ["active", "density", "prepend-icon", "value", "onClick"])
350
333
  ]),
351
- _: 1
352
- })
353
- ]),
354
- append: o(() => [
355
- T("div", de, [
356
- d(e.$slots, "actions"),
357
- u(P, null, {
358
- default: o(() => t[7] || (t[7] = [
359
- m("$chevron-down")
360
- ])),
361
- _: 1
362
- }),
363
- d(e.$slots, "actionsRight"),
364
- e.showSettings ? (s(), r(R, {
365
- key: 0,
366
- "offset-y": "",
367
- "close-on-content-click": !1
368
- }, {
369
- activator: o(({ props: n }) => [
370
- u($, E({ icon: "" }, n, {
371
- size: i(f),
372
- title: "Settings"
373
- }), null, 16, ["size"])
374
- ]),
375
- default: o(() => [
376
- u(A, null, {
377
- default: o(() => [
378
- d(e.$slots, "settings")
379
- ]),
380
- _: 3
381
- })
382
- ]),
383
- _: 3
384
- })) : p("", !0)
385
- ])
334
+ e.hideDividers !== !0 ? (a(), s(t(ie), { key: 0 })) : p("", !0)
335
+ ], 64))), 128))
386
336
  ]),
387
337
  _: 3
388
- }, 8, ["density"])
389
- ])
390
- ]),
391
- _: 3
392
- }),
393
- u(te, {
394
- modelValue: i(c).isLoading.value,
395
- "onUpdate:modelValue": t[5] || (t[5] = (n) => i(c).isLoading.value = n),
396
- class: "align-center justify-center text-center",
397
- contained: "",
398
- persistent: ""
399
- }, {
400
- default: o(() => [
401
- u(ee, { indeterminate: "" }),
402
- T("p", null, g(i(c).loadingMsg.value), 1)
403
- ]),
404
- _: 1
405
- }, 8, ["modelValue"])
406
- ]),
407
- _: 3
408
- }, 8, ["class", "lg", "md", "sm", "cols"]);
409
- };
338
+ }),
339
+ u(e.$slots, "bottomItem")
340
+ ]),
341
+ _: 3
342
+ }, 8, ["bg-color", "height", "maxHeight"])) : u(e.$slots, "selected", {
343
+ key: 3,
344
+ item: N.value,
345
+ open: M
346
+ }, () => [
347
+ r(t(S), {
348
+ onClick: M,
349
+ density: e.density,
350
+ key: "4"
351
+ }, {
352
+ default: i(() => [
353
+ e.label != null ? (a(), s(t(w), { key: 0 }, {
354
+ default: i(() => [
355
+ c(f(e.label), 1)
356
+ ]),
357
+ _: 1
358
+ })) : p("", !0),
359
+ r(t(T), null, {
360
+ default: i(() => [
361
+ c(f(k.value(N.value) ?? e.placeholder), 1)
362
+ ]),
363
+ _: 1
364
+ })
365
+ ]),
366
+ append: i(() => [
367
+ $("div", ue, [
368
+ u(e.$slots, "actions"),
369
+ r(t(E), null, {
370
+ default: i(() => l[7] || (l[7] = [
371
+ c("$chevron-down")
372
+ ])),
373
+ _: 1
374
+ }),
375
+ u(e.$slots, "actionsRight"),
376
+ e.showSettings ? (a(), s(t(H), {
377
+ key: 0,
378
+ "offset-y": "",
379
+ "close-on-content-click": !1
380
+ }, {
381
+ activator: i(({ props: o }) => [
382
+ r(t(A), z({ icon: "" }, o, {
383
+ size: t(g),
384
+ title: "Settings"
385
+ }), null, 16, ["size"])
386
+ ]),
387
+ default: i(() => [
388
+ r(t(I), null, {
389
+ default: i(() => [
390
+ u(e.$slots, "settings")
391
+ ]),
392
+ _: 3
393
+ })
394
+ ]),
395
+ _: 3
396
+ })) : p("", !0)
397
+ ])
398
+ ]),
399
+ _: 3
400
+ }, 8, ["density"])
401
+ ])
402
+ ]),
403
+ _: 3
404
+ }),
405
+ r(t(ae), {
406
+ modelValue: t(d).isLoading.value,
407
+ "onUpdate:modelValue": l[5] || (l[5] = (o) => t(d).isLoading.value = o),
408
+ class: "align-center justify-center text-center",
409
+ contained: "",
410
+ persistent: ""
411
+ }, {
412
+ default: i(() => [
413
+ r(t(se), { indeterminate: "" }),
414
+ $("p", null, f(t(d).loadingMsg.value), 1)
415
+ ]),
416
+ _: 1
417
+ }, 8, ["modelValue"])
418
+ ]),
419
+ _: 3
420
+ }, 8, ["class", "lg", "md", "sm", "cols"]));
410
421
  }
411
422
  });
412
423
  export {
413
- ge as default
424
+ Te as default
414
425
  };