bitboss-ui 2.0.106 → 2.0.108

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 (174) hide show
  1. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -0
  3. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
  4. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
  5. package/dist/components/BbRows/BbRows.vue.d.ts +1 -0
  6. package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
  7. package/dist/components/BbTable/types.d.ts +13 -0
  8. package/dist/components/BbTeleport.vue.d.ts +4 -1
  9. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
  10. package/dist/components/CommonFloating.vue.d.ts +4 -0
  11. package/dist/index100.js +46 -45
  12. package/dist/index101.js +22 -20
  13. package/dist/index111.js +224 -207
  14. package/dist/index119.js +2 -2
  15. package/dist/index121.js +19 -17
  16. package/dist/index123.js +1 -1
  17. package/dist/index125.js +1 -1
  18. package/dist/index127.js +1 -1
  19. package/dist/index128.js +1 -1
  20. package/dist/index129.js +1 -1
  21. package/dist/index13.js +2 -2
  22. package/dist/index131.js +1 -1
  23. package/dist/index132.js +2 -2
  24. package/dist/index15.js +5 -5
  25. package/dist/index17.js +3 -3
  26. package/dist/index19.js +8 -8
  27. package/dist/index205.js +115 -2
  28. package/dist/index206.js +125 -85
  29. package/dist/index207.js +283 -0
  30. package/dist/index208.js +123 -23
  31. package/dist/index209.js +15 -16
  32. package/dist/index21.js +16 -16
  33. package/dist/index210.js +15 -47
  34. package/dist/index211.js +19 -15
  35. package/dist/index212.js +15 -3
  36. package/dist/index213.js +2 -12
  37. package/dist/index214.js +2 -16
  38. package/dist/index215.js +41 -2
  39. package/dist/index216.js +13 -4
  40. package/dist/index217.js +20 -2
  41. package/dist/index218.js +5 -7
  42. package/dist/index219.js +15 -3
  43. package/dist/index220.js +53 -41
  44. package/dist/index222.js +13 -7
  45. package/dist/index223.js +5 -12
  46. package/dist/index224.js +369 -13
  47. package/dist/index225.js +4 -53
  48. package/dist/index226.js +10 -0
  49. package/dist/index227.js +3 -13
  50. package/dist/index228.js +2 -5
  51. package/dist/index229.js +4 -16
  52. package/dist/index23.js +48 -44
  53. package/dist/index230.js +2 -16
  54. package/dist/index231.js +2 -19
  55. package/dist/index232.js +17 -13
  56. package/dist/index233.js +22 -14
  57. package/dist/index234.js +248 -25
  58. package/dist/index235.js +52 -2
  59. package/dist/index236.js +36 -242
  60. package/dist/index237.js +5 -52
  61. package/dist/index238.js +47 -31
  62. package/dist/index239.js +3 -5
  63. package/dist/index240.js +3 -60
  64. package/dist/index241.js +7 -20
  65. package/dist/index242.js +86 -4
  66. package/dist/index244.js +23 -123
  67. package/dist/index245.js +17 -2
  68. package/dist/index246.js +48 -5
  69. package/dist/index247.js +12 -366
  70. package/dist/index248.js +10 -113
  71. package/dist/index249.js +16 -3
  72. package/dist/index25.js +7 -7
  73. package/dist/index250.js +2 -2
  74. package/dist/index251.js +2 -18
  75. package/dist/index252.js +2 -2
  76. package/dist/index254.js +2 -2
  77. package/dist/index256.js +2 -12
  78. package/dist/index257.js +18 -2
  79. package/dist/index258.js +12 -2
  80. package/dist/index261.js +9 -3
  81. package/dist/index262.js +23 -17
  82. package/dist/index263.js +88 -7
  83. package/dist/index265.js +3 -4
  84. package/dist/index267.js +7 -2
  85. package/dist/index268.js +171 -84
  86. package/dist/index269.js +2 -2
  87. package/dist/index27.js +1 -1
  88. package/dist/index271.js +6 -3
  89. package/dist/index272.js +18 -0
  90. package/dist/index273.js +9 -7
  91. package/dist/index274.js +8 -200
  92. package/dist/index275.js +27 -280
  93. package/dist/index276.js +4 -6
  94. package/dist/index277.js +6 -2
  95. package/dist/index278.js +2 -2
  96. package/dist/index279.js +2 -2
  97. package/dist/index284.js +126 -2
  98. package/dist/index285.js +431 -2
  99. package/dist/index286.js +1 -1
  100. package/dist/index287.js +21 -1
  101. package/dist/index289.js +11 -0
  102. package/dist/index29.js +3 -3
  103. package/dist/index290.js +2 -9
  104. package/dist/index291.js +2 -23
  105. package/dist/index292.js +2 -89
  106. package/dist/index293.js +4 -0
  107. package/dist/index294.js +2 -176
  108. package/dist/index295.js +2 -2
  109. package/dist/index296.js +21 -125
  110. package/dist/index298.js +438 -0
  111. package/dist/index299.js +125 -7
  112. package/dist/index300.js +200 -6
  113. package/dist/index301.js +224 -16
  114. package/dist/index302.js +3 -8
  115. package/dist/index303.js +17 -224
  116. package/dist/index304.js +81 -428
  117. package/dist/index305.js +3 -127
  118. package/dist/index306.js +1 -1
  119. package/dist/index307.js +214 -3
  120. package/dist/index308.js +2 -214
  121. package/dist/index309.js +5 -67
  122. package/dist/index31.js +2 -2
  123. package/dist/index310.js +67 -2
  124. package/dist/index311.js +3 -5
  125. package/dist/index312.js +1 -1
  126. package/dist/index313.js +1 -1
  127. package/dist/index314.js +32 -6
  128. package/dist/index315.js +52 -18
  129. package/dist/index316.js +28 -28
  130. package/dist/index317.js +4 -53
  131. package/dist/index318.js +3 -7
  132. package/dist/index319.js +3 -33
  133. package/dist/index320.js +57 -3
  134. package/dist/index321.js +7 -3
  135. package/dist/index322.js +19 -3
  136. package/dist/index323.js +7 -3
  137. package/dist/index324.js +45 -56
  138. package/dist/index325.js +2 -47
  139. package/dist/index326.js +480 -2
  140. package/dist/index328.js +426 -0
  141. package/dist/index329.js +43 -420
  142. package/dist/index33.js +8 -8
  143. package/dist/index330.js +2 -47
  144. package/dist/index35.js +4 -4
  145. package/dist/index37.js +74 -70
  146. package/dist/index39.js +5 -5
  147. package/dist/index41.js +2 -2
  148. package/dist/index43.js +8 -8
  149. package/dist/index45.js +5 -5
  150. package/dist/index47.js +2 -2
  151. package/dist/index49.js +2 -2
  152. package/dist/index53.js +1 -1
  153. package/dist/index55.js +1 -1
  154. package/dist/index57.js +2 -2
  155. package/dist/index61.js +1 -1
  156. package/dist/index75.js +22 -20
  157. package/dist/index77.js +1 -1
  158. package/dist/index79.js +2 -2
  159. package/dist/index81.js +1 -1
  160. package/dist/index84.js +4 -4
  161. package/dist/index86.js +2 -2
  162. package/dist/index88.js +41 -39
  163. package/dist/index90.js +1 -1
  164. package/dist/style.css +1 -1
  165. package/dist/types/CommonProps.d.ts +4 -0
  166. package/package.json +1 -1
  167. package/dist/index221.js +0 -8
  168. package/dist/index243.js +0 -128
  169. package/dist/index264.js +0 -30
  170. package/dist/index266.js +0 -433
  171. package/dist/index288.js +0 -24
  172. package/dist/index297.js +0 -24
  173. package/dist/index327.js +0 -482
  174. package/dist/index331.js +0 -4
@@ -83,6 +83,10 @@ export type BaseDatePickerInputProps = {
83
83
  * @param date
84
84
  */
85
85
  selectable?: (date: Date) => boolean;
86
+ /**
87
+ * Target element to teleport the calendar to.
88
+ */
89
+ teleportTarget?: string;
86
90
  /**
87
91
  * Width of the calendar
88
92
  */
@@ -151,6 +151,10 @@ export type BaseSelectProps = {
151
151
  * you either always return the previous items or you stash them passing `true` to this option.
152
152
  */
153
153
  stash?: boolean;
154
+ /**
155
+ * Target to teleport the listbox to.
156
+ */
157
+ teleportTarget?: string;
154
158
  /**
155
159
  * How long the transition has to last in milliseconds
156
160
  */
@@ -1,6 +1,6 @@
1
1
  import { BaseButtonProps } from '../BaseButton/BaseButton.vue';
2
2
  import { CommonProps } from '../../types/CommonProps';
3
- export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration'> & {
3
+ export type BbDropdownProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration' | 'teleportTarget'> & {
4
4
  /**
5
5
  * Array used to render each dropdown button.
6
6
  * They can act as `button`, as `a`, or as `router-link`
@@ -1,6 +1,6 @@
1
1
  import { CommonProps } from '../../types/CommonProps';
2
2
  import { Placement } from '@floating-ui/vue';
3
- export type BbPopoverProps = Pick<CommonProps, 'arrowPadding' | 'closeLabel' | 'block' | 'disabled' | 'eager' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'> & {
3
+ export type BbPopoverProps = Pick<CommonProps, 'arrowPadding' | 'closeLabel' | 'block' | 'disabled' | 'eager' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration' | 'teleportTarget'> & {
4
4
  /**
5
5
  * Elements that obtains focus immediately after opening the popover.
6
6
  * By default it's the first tabbable item.
@@ -70,6 +70,7 @@ declare function __VLS_template(): {
70
70
  checked: boolean | undefined;
71
71
  columns: Record<string, ItemColumn>;
72
72
  disabled: boolean | undefined;
73
+ index: number;
73
74
  item: any;
74
75
  select: () => void;
75
76
  unselect: () => void;
@@ -180,6 +180,10 @@ export type BbSelectProps<T> = {
180
180
  * you either always return the previous items or you stash them passing `true` to this option.
181
181
  */
182
182
  stash?: boolean;
183
+ /**
184
+ * Target to teleport the listbox to.
185
+ */
186
+ teleportTarget?: string;
183
187
  /**
184
188
  * How long the transition has to last in milliseconds
185
189
  */
@@ -150,6 +150,14 @@ export type BbTableProps = {
150
150
  * String displayed when there are no items to display.
151
151
  */
152
152
  noDataText?: string;
153
+ /**
154
+ * Current page number starting from 1
155
+ */
156
+ page?: number;
157
+ /**
158
+ * Number of items per page.
159
+ */
160
+ perPage?: number;
153
161
  /**
154
162
  * Sets the input in a readonly state.
155
163
  */
@@ -176,6 +184,10 @@ export type BbTableProps = {
176
184
  * Defines the classes to be passed to the `<th>`.
177
185
  */
178
186
  thClass?: Classes;
187
+ /**
188
+ * Total number of items there is.
189
+ */
190
+ totalItems?: number;
179
191
  };
180
192
  /**
181
193
  * We allow table data classes to be a function so it can depend on the item
@@ -191,6 +203,7 @@ export type MappedItem = Option & {
191
203
  onRowClick: (event: MouseEvent) => void;
192
204
  onRowContextMenu: (event: MouseEvent) => void;
193
205
  onRowDblClick: (event: MouseEvent) => void;
206
+ rowIndex: number | undefined;
194
207
  };
195
208
  /**
196
209
  * Projection that represnets a header
@@ -1,3 +1,6 @@
1
+ type Props = {
2
+ target?: string;
3
+ };
1
4
  declare function __VLS_template(): {
2
5
  slots: {
3
6
  default?(_: {}): any;
@@ -6,7 +9,7 @@ declare function __VLS_template(): {
6
9
  attrs: Partial<{}>;
7
10
  };
8
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
14
  export default _default;
12
15
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  import { CommonProps } from '../../types/CommonProps';
2
2
  import { Placement } from '@floating-ui/vue';
3
- export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'>;
3
+ export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | 'teleportTarget' | 'theme' | 'transitionDuration'>;
4
4
  type BbTooltipSlots = {
5
5
  activator?: (props: {
6
6
  props: {
@@ -5,6 +5,10 @@ export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'eager' | 'offset'
5
5
  wrapper: any | undefined;
6
6
  baseClass: string;
7
7
  open?: boolean;
8
+ /**
9
+ * Target to teleport the floating element to.
10
+ */
11
+ teleportTarget?: string;
8
12
  };
9
13
  declare function __VLS_template(): {
10
14
  slots: {
package/dist/index100.js CHANGED
@@ -1,16 +1,16 @@
1
- import { defineComponent as L, mergeModels as V, computed as b, toRef as m, reactive as P, useModel as I, watch as R, openBlock as B, createElementBlock as g, Fragment as k, renderSlot as r, unref as j, createCommentVNode as E, renderList as G } from "vue";
2
- import { useItemValue as U } from "./index263.js";
3
- import { isNil as x } from "./index258.js";
4
- import { indexBy as W } from "./index302.js";
5
- import { hash as H } from "./index212.js";
6
- import { useItemsGetter as q } from "./index208.js";
7
- import { usePrefill as z } from "./index214.js";
8
- import { useIndexById as J } from "./index209.js";
9
- import { useBaseOptions as K } from "./index210.js";
10
- import { useHashedWatcher as Q } from "./index213.js";
11
- const ne = /* @__PURE__ */ L({
1
+ import { defineComponent as P, mergeModels as b, computed as I, toRef as m, reactive as R, useModel as B, watch as j, openBlock as g, createElementBlock as k, Fragment as x, renderSlot as r, unref as E, createCommentVNode as G, renderList as U } from "vue";
2
+ import { useItemValue as W } from "./index273.js";
3
+ import { isNil as H } from "./index251.js";
4
+ import { indexBy as q } from "./index274.js";
5
+ import { hash as w } from "./index227.js";
6
+ import { useItemsGetter as z } from "./index244.js";
7
+ import { usePrefill as J } from "./index249.js";
8
+ import { useIndexById as K } from "./index245.js";
9
+ import { useBaseOptions as Q } from "./index246.js";
10
+ import { useHashedWatcher as X } from "./index248.js";
11
+ const ne = /* @__PURE__ */ P({
12
12
  __name: "BbRows",
13
- props: /* @__PURE__ */ V({
13
+ props: /* @__PURE__ */ b({
14
14
  columns: { default: () => [] },
15
15
  dependencies: { default: () => [] },
16
16
  depsDebounceTime: { default: 0 },
@@ -30,24 +30,24 @@ const ne = /* @__PURE__ */ L({
30
30
  "select-all": { type: Boolean, default: !1 },
31
31
  "select-allModifiers": {}
32
32
  }),
33
- emits: /* @__PURE__ */ V(["update:modelValue"], ["update:unselected-items", "update:select-all"]),
34
- setup(d, { emit: w }) {
35
- const l = d, u = w, { getItemValue: M } = U(), p = b(() => !!(l.loading || O.value)), {
33
+ emits: /* @__PURE__ */ b(["update:modelValue"], ["update:unselected-items", "update:select-all"]),
34
+ setup(d, { emit: M }) {
35
+ const l = d, u = M, { getItemValue: O } = W(), p = I(() => !!(l.loading || S.value)), {
36
36
  getter: f,
37
37
  items: v,
38
- loading: O
39
- } = q({
38
+ loading: S
39
+ } = z({
40
40
  items: m(l, "items")
41
- }), { hasPrefilled: S } = z({
41
+ }), { hasPrefilled: F } = J({
42
42
  onStart: !0,
43
43
  currentValue: l.modelValue,
44
44
  multiple: l.multiple,
45
45
  fn: async ({ prefill: e }) => {
46
46
  await f(e, l.modelValue);
47
47
  }
48
- }), { data: y } = J({
48
+ }), { data: y } = K({
49
49
  items: m(l, "modelValue")
50
- }), { options: F } = K({
50
+ }), { options: N } = Q({
51
51
  disabled: m(l, "disabled"),
52
52
  items: v,
53
53
  itemText: void 0,
@@ -55,36 +55,36 @@ const ne = /* @__PURE__ */ L({
55
55
  max: l.max,
56
56
  selectable: !0,
57
57
  selectedIndexedByHash: y
58
- }), N = async (e) => {
58
+ }), T = async (e) => {
59
59
  l.multiple ? u("update:modelValue", l.modelValue.concat(e.value)) : u("update:modelValue", e.value);
60
- }, T = async (e) => {
60
+ }, $ = async (e) => {
61
61
  if (l.multiple) {
62
62
  const t = { ...y.value };
63
63
  delete t[e.valueHash], u("update:modelValue", Object.values(t));
64
64
  } else
65
65
  u("update:modelValue", null);
66
66
  };
67
- Q(
67
+ X(
68
68
  () => [l.dependencies, l.items],
69
69
  async () => {
70
- S.value && await f(!1, l.modelValue);
70
+ F.value && await f(!1, l.modelValue);
71
71
  },
72
72
  {
73
73
  debounce: l.depsDebounceTime
74
74
  }
75
75
  );
76
- const h = b(() => F.value.map((e) => {
76
+ const h = I(() => N.value.map((e) => {
77
77
  let t = !l.selectable;
78
78
  return typeof l.selectable == "function" && (t = !l.selectable(e.item)), t = t || !!e.disabled, {
79
- columns: W(
79
+ columns: q(
80
80
  l.columns.map((a) => {
81
- const { label: C, key: D } = a;
82
- let o = M(e.item, a.key);
81
+ const { label: D, key: L } = a;
82
+ let o = O(e.item, a.key);
83
83
  return a.formatter && // By default the formatter runs anyway
84
- (!x(o) || a.formatOnNull !== !1) && (o = a.formatter(o, a.key, e.item)), a.placeholder && x(o) && (o = a.placeholder), {
84
+ (!H(o) || a.formatOnNull !== !1) && (o = a.formatter(o, a.key, e.item)), a.placeholder && H(o) && (o = a.placeholder), {
85
85
  value: o,
86
- key: D,
87
- label: C
86
+ key: L,
87
+ label: D
88
88
  };
89
89
  }),
90
90
  (a) => a.key
@@ -96,29 +96,30 @@ const ne = /* @__PURE__ */ L({
96
96
  selected: !!(e.selected || i.value),
97
97
  disabled: t
98
98
  };
99
- })), $ = (e) => {
100
- i.value || N(e), c.delete(e.valueHash), n.value = n.value.filter(
101
- (t) => H(t) !== H(e.item)
99
+ })), A = (e) => {
100
+ i.value || T(e), c.delete(e.valueHash), n.value = n.value.filter(
101
+ (t) => w(t) !== w(e.item)
102
102
  );
103
- }, A = (e) => {
104
- c.add(e.valueHash), n.value.push(e.item), T(e);
105
- }, c = P(/* @__PURE__ */ new Set()), n = I(d, "unselected-items");
106
- let i = I(d, "select-all");
107
- return R(i, () => {
103
+ }, C = (e) => {
104
+ c.add(e.valueHash), n.value.push(e.item), $(e);
105
+ }, c = R(/* @__PURE__ */ new Set()), n = B(d, "unselected-items");
106
+ let i = B(d, "select-all");
107
+ return j(i, () => {
108
108
  c.clear(), n.value = [], u("update:modelValue", []);
109
- }), (e, t) => (B(), g(k, null, [
109
+ }), (e, t) => (g(), k(x, null, [
110
110
  p.value ? r(e.$slots, "loading", {
111
111
  key: 0,
112
- items: j(v)
113
- }) : E("", !0),
114
- h.value.length ? (B(!0), g(k, { key: 2 }, G(h.value, (s) => r(e.$slots, "default", {
112
+ items: E(v)
113
+ }) : G("", !0),
114
+ h.value.length ? (g(!0), k(x, { key: 2 }, U(h.value, (s, V) => r(e.$slots, "default", {
115
115
  key: s.valueHash,
116
116
  checked: s.selected,
117
117
  columns: s.columns,
118
118
  disabled: s.disabled,
119
+ index: V,
119
120
  item: s.item,
120
- select: () => $(s),
121
- unselect: () => A(s),
121
+ select: () => A(s),
122
+ unselect: () => C(s),
122
123
  value: s.value
123
124
  })), 128)) : r(e.$slots, "no-data", {
124
125
  key: 1,
package/dist/index101.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as y, computed as v, openBlock as B, createBlock as g, withCtx as n, renderSlot as a, normalizeProps as i, guardReactiveProps as l, createVNode as $, mergeProps as T } from "vue";
1
+ import { defineComponent as h, ref as y, computed as g, openBlock as v, createBlock as B, withCtx as n, renderSlot as a, normalizeProps as l, guardReactiveProps as i, createVNode as $, mergeProps as T } from "vue";
2
2
  import V from "./index27.js";
3
3
  /* empty css */
4
4
  import w from "./index37.js";
@@ -46,12 +46,13 @@ const P = /* @__PURE__ */ h({
46
46
  readonly: { type: Boolean },
47
47
  reverse: { type: Boolean },
48
48
  stash: { type: Boolean },
49
+ teleportTarget: {},
49
50
  transitionDuration: {},
50
51
  updateOnAnimationFrame: { type: Boolean }
51
52
  },
52
53
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue", "option:add"],
53
54
  setup(d, { emit: m }) {
54
- const r = d, t = m, p = y(!1), u = v(() => r.persistentHint || p.value), c = {
55
+ const r = d, t = m, p = y(!1), u = g(() => r.persistentHint || p.value), c = {
55
56
  onBlur: (e) => t("blur", e),
56
57
  onChange: (e) => t("change", e),
57
58
  onClick: (e) => t("click", e),
@@ -65,7 +66,7 @@ const P = /* @__PURE__ */ h({
65
66
  onInput: (e) => t("input", e),
66
67
  "onUpdate:modelValue": (e) => t("update:modelValue", e)
67
68
  };
68
- return (e, D) => (B(), g(V, {
69
+ return (e, D) => (v(), B(V, {
69
70
  id: e.id,
70
71
  class: "bb-select",
71
72
  compact: e.compact,
@@ -82,7 +83,7 @@ const P = /* @__PURE__ */ h({
82
83
  "show-hint": u.value
83
84
  }, {
84
85
  label: n((s) => [
85
- a(e.$slots, "label", i(l(s)))
86
+ a(e.$slots, "label", l(i(s)))
86
87
  ]),
87
88
  input: n(({ id: s, hasErrors: b, ariaDescribedby: f }) => [
88
89
  $(w, T({
@@ -119,56 +120,57 @@ const P = /* @__PURE__ */ h({
119
120
  readonly: e.readonly,
120
121
  required: e.required,
121
122
  stash: e.stash,
123
+ "teleport-target": e.teleportTarget,
122
124
  "transition-duration": e.transitionDuration,
123
125
  "update-on-animation-frame": e.updateOnAnimationFrame
124
126
  }, c), {
125
127
  "append-outer": n((o) => [
126
- a(e.$slots, "append-outer", i(l(o)))
128
+ a(e.$slots, "append-outer", l(i(o)))
127
129
  ]),
128
130
  append: n((o) => [
129
- a(e.$slots, "append", i(l(o)))
131
+ a(e.$slots, "append", l(i(o)))
130
132
  ]),
131
133
  prefix: n((o) => [
132
- a(e.$slots, "prefix", i(l(o)))
134
+ a(e.$slots, "prefix", l(i(o)))
133
135
  ]),
134
136
  chevron: n((o) => [
135
- a(e.$slots, "chevron", i(l(o)))
137
+ a(e.$slots, "chevron", l(i(o)))
136
138
  ]),
137
139
  loading: n((o) => [
138
- a(e.$slots, "loading", i(l(o)))
140
+ a(e.$slots, "loading", l(i(o)))
139
141
  ]),
140
142
  "no-data": n((o) => [
141
- a(e.$slots, "no-data", i(l(o)))
143
+ a(e.$slots, "no-data", l(i(o)))
142
144
  ]),
143
145
  "option:append": n((o) => [
144
- a(e.$slots, "option:append", i(l(o)))
146
+ a(e.$slots, "option:append", l(i(o)))
145
147
  ]),
146
148
  "option:prepend": n((o) => [
147
- a(e.$slots, "option:prepend", i(l(o)))
149
+ a(e.$slots, "option:prepend", l(i(o)))
148
150
  ]),
149
151
  option: n((o) => [
150
- a(e.$slots, "option", i(l(o)))
152
+ a(e.$slots, "option", l(i(o)))
151
153
  ]),
152
154
  "options:append": n((o) => [
153
- a(e.$slots, "options:append", i(l(o)))
155
+ a(e.$slots, "options:append", l(i(o)))
154
156
  ]),
155
157
  "options:prepend": n((o) => [
156
- a(e.$slots, "options:prepend", i(l(o)))
158
+ a(e.$slots, "options:prepend", l(i(o)))
157
159
  ]),
158
160
  "prepend-outer": n((o) => [
159
- a(e.$slots, "prepend-outer", i(l(o)))
161
+ a(e.$slots, "prepend-outer", l(i(o)))
160
162
  ]),
161
163
  prepend: n((o) => [
162
- a(e.$slots, "prepend", i(l(o)))
164
+ a(e.$slots, "prepend", l(i(o)))
163
165
  ]),
164
166
  suffix: n((o) => [
165
- a(e.$slots, "suffix", i(l(o)))
167
+ a(e.$slots, "suffix", l(i(o)))
166
168
  ]),
167
169
  spinner: n((o) => [
168
- a(e.$slots, "spinner", i(l(o)))
170
+ a(e.$slots, "spinner", l(i(o)))
169
171
  ]),
170
172
  _: 2
171
- }, 1040, ["id", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "stash", "transition-duration", "update-on-animation-frame"])
173
+ }, 1040, ["id", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "stash", "teleport-target", "transition-duration", "update-on-animation-frame"])
172
174
  ]),
173
175
  _: 3
174
176
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));