@nubisco/ui 5.54.0 → 5.55.0

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 (207) hide show
  1. package/dist/{AccordionItem--XeLRz2P.js → AccordionItem-BY-p8UkV.js} +1 -1
  2. package/dist/{AccordionItem-BYSH6dZK.cjs → AccordionItem-p0mYXIj8.cjs} +1 -1
  3. package/dist/{ActionGroup-Cn22xj1t.js → ActionGroup-CjRSKyOa.js} +1 -1
  4. package/dist/{ActionGroup-0rG92kFk.cjs → ActionGroup-DIMZhC7N.cjs} +1 -1
  5. package/dist/AiLabel-BDccQ2iQ.js +242 -0
  6. package/dist/AiLabel-jRrBTu6c.cjs +1 -0
  7. package/dist/{AiProvider-CLtCD_UR.cjs → AiProvider-CGB9EiSf.cjs} +1 -1
  8. package/dist/{AiProvider-gprbR5ts.js → AiProvider-CMbPWtU-.js} +2 -2
  9. package/dist/{BatchActions-Ckx8kyZt.js → BatchActions-Kr2S6CJI.js} +1 -1
  10. package/dist/{BatchActions-6IO5GRFm.cjs → BatchActions-jfvfpZeT.cjs} +1 -1
  11. package/dist/{Board-BdqGOVNF.js → Board-C3_cXRl6.js} +177 -176
  12. package/dist/Board-D6A-irdx.cjs +1 -0
  13. package/dist/{Breadcrumbs-BzyDVvEk.cjs → Breadcrumbs-0rRFiO31.cjs} +1 -1
  14. package/dist/{Breadcrumbs-Bc-acmPE.js → Breadcrumbs-DqagVknq.js} +1 -1
  15. package/dist/{Briefing-DwKWCOGm.cjs → Briefing-B-O-9bhN.cjs} +1 -1
  16. package/dist/{Briefing-BiEICh1u.js → Briefing-DNH-707q.js} +1 -1
  17. package/dist/{ChatMessage-1L_xCXZF.cjs → ChatMessage-B45Xhl8x.cjs} +1 -1
  18. package/dist/{ChatMessage-C2Ecm175.js → ChatMessage-BDOdvI4h.js} +1 -1
  19. package/dist/{ChatThread-B_F3xTdE.cjs → ChatThread-B7F1r4t4.cjs} +1 -1
  20. package/dist/{ChatThread-COdOb1rH.js → ChatThread-DqvsnVOr.js} +1 -1
  21. package/dist/CommandPalette-BaRqoURY.cjs +1 -0
  22. package/dist/CommandPalette-DWv1UV8r.js +294 -0
  23. package/dist/{Confirm-Baz2WG7b.cjs → Confirm-B5vMzPbN.cjs} +1 -1
  24. package/dist/{Confirm-CvMuXK9Q.js → Confirm-C4lT-6HD.js} +1 -1
  25. package/dist/{DataTable-B8THDBLS.js → DataTable-CcwD0PSJ.js} +2 -2
  26. package/dist/{DataTable-DeFzOlcP.cjs → DataTable-xEw-NvHM.cjs} +1 -1
  27. package/dist/{DatePicker-BrUXcNUj.js → DatePicker-3pCNky8d.js} +234 -230
  28. package/dist/DatePicker-BrMicYUx.cjs +1 -0
  29. package/dist/FloatingToolbar-BV-iGNxe.js +120 -0
  30. package/dist/FloatingToolbar-C8xB4BzH.cjs +1 -0
  31. package/dist/{ImagePicker-vhg7b-UL.cjs → ImagePicker-5qPI77Jo.cjs} +1 -1
  32. package/dist/{ImagePicker-LhpR7jjR.js → ImagePicker-BnHg403Q.js} +1 -1
  33. package/dist/InfoHint-CdluaJqE.cjs +1 -0
  34. package/dist/InfoHint-zMuSw_99.js +182 -0
  35. package/dist/{InlineLoading-CA0_IT29.cjs → InlineLoading-CqGrNWHf.cjs} +1 -1
  36. package/dist/{InlineLoading-Cknqq0vv.js → InlineLoading-_j2KKhNQ.js} +1 -1
  37. package/dist/Menu-CWxBEMC4.js +193 -0
  38. package/dist/Menu-D0TerdRm.cjs +1 -0
  39. package/dist/{MenuBarItem-yr5aizl3.js → MenuBarItem-BYh4YWR4.js} +1 -1
  40. package/dist/{MenuBarItem-DlnIAhRw.cjs → MenuBarItem-DTOqacvg.cjs} +1 -1
  41. package/dist/Modal-CmGFLEo4.cjs +1 -0
  42. package/dist/{Modal-CESCi2dE.js → Modal-DwL90AoV.js} +73 -69
  43. package/dist/NotificationCenter-EMlV-oPh.cjs +1 -0
  44. package/dist/{NotificationCenter-DkGc0ETD.js → NotificationCenter-YZnPMH7c.js} +217 -213
  45. package/dist/{OverflowMenu-BWZ7c8oI.js → OverflowMenu-DliuDrTK.js} +1 -1
  46. package/dist/{OverflowMenu-C8q28FrD.cjs → OverflowMenu-DuRgj1DU.cjs} +1 -1
  47. package/dist/{PageHeader-DElq_kdh.cjs → PageHeader-BoEdR_T5.cjs} +1 -1
  48. package/dist/{PageHeader-DOYN9sto.js → PageHeader-c6117xYf.js} +1 -1
  49. package/dist/{Pagination-9mPN8ych.cjs → Pagination-B3lmxggo.cjs} +1 -1
  50. package/dist/{Pagination-CxBHFwy0.js → Pagination-DwAc-4d9.js} +1 -1
  51. package/dist/Select-CDs-7QtW.js +619 -0
  52. package/dist/Select-CJqwMI69.cjs +1 -0
  53. package/dist/{SidebarCollapseToggle-DraqbhwM.js → SidebarCollapseToggle-C38R19gG.js} +1 -1
  54. package/dist/{SidebarCollapseToggle-CABmF-PC.cjs → SidebarCollapseToggle-DOck3Txy.cjs} +1 -1
  55. package/dist/SidebarMenuItem-DzJ_R2__.cjs +1 -0
  56. package/dist/SidebarMenuItem-E410HTei.js +302 -0
  57. package/dist/Spinner-BlzVODzE.js +161 -0
  58. package/dist/Spinner-Bpfgl-mN.cjs +1 -0
  59. package/dist/{Stat-BCvXYr-z.cjs → Stat-BByeMKkT.cjs} +1 -1
  60. package/dist/{Stat-No3RhGB3.js → Stat-DWliDbWE.js} +1 -1
  61. package/dist/Submenu-BkHGYo7X.js +168 -0
  62. package/dist/Submenu-CCQnBpln.cjs +1 -0
  63. package/dist/{SuggestionList-Cxy4jjjd.cjs → SuggestionList-C61Dj6en.cjs} +1 -1
  64. package/dist/{SuggestionList-Dv4yQAi-.js → SuggestionList-D48Ojcf3.js} +1 -1
  65. package/dist/Toaster-Dwjm0bsR.js +285 -0
  66. package/dist/Toaster-aJJvxlEr.cjs +1 -0
  67. package/dist/{UserMenu-CjmhyTwN.js → UserMenu-BTihjCKC.js} +94 -90
  68. package/dist/UserMenu-CHkbByFS.cjs +1 -0
  69. package/dist/{Walkthrough-DYYqtpwJ.js → Walkthrough-BqGB1yaX.js} +63 -59
  70. package/dist/Walkthrough-sGAypY5d.cjs +1 -0
  71. package/dist/all.cjs +1 -1
  72. package/dist/all.mjs +284 -283
  73. package/dist/components/AccordionItem.cjs +1 -1
  74. package/dist/components/AccordionItem.mjs +1 -1
  75. package/dist/components/ActionGroup.cjs +1 -1
  76. package/dist/components/ActionGroup.mjs +1 -1
  77. package/dist/components/AiLabel.cjs +1 -1
  78. package/dist/components/AiLabel.mjs +1 -1
  79. package/dist/components/AiLabel.vue.d.ts.map +1 -1
  80. package/dist/components/AiProvider.cjs +1 -1
  81. package/dist/components/AiProvider.mjs +1 -1
  82. package/dist/components/BatchActions.cjs +1 -1
  83. package/dist/components/BatchActions.mjs +1 -1
  84. package/dist/components/Board.cjs +1 -1
  85. package/dist/components/Board.mjs +1 -1
  86. package/dist/components/Board.vue.d.ts.map +1 -1
  87. package/dist/components/Breadcrumbs.cjs +1 -1
  88. package/dist/components/Breadcrumbs.mjs +1 -1
  89. package/dist/components/Briefing.cjs +1 -1
  90. package/dist/components/Briefing.mjs +1 -1
  91. package/dist/components/ChatMessage.cjs +1 -1
  92. package/dist/components/ChatMessage.mjs +1 -1
  93. package/dist/components/ChatThread.cjs +1 -1
  94. package/dist/components/ChatThread.mjs +1 -1
  95. package/dist/components/CommandPalette.cjs +1 -1
  96. package/dist/components/CommandPalette.mjs +1 -1
  97. package/dist/components/CommandPalette.vue.d.ts.map +1 -1
  98. package/dist/components/Confirm.cjs +1 -1
  99. package/dist/components/Confirm.mjs +1 -1
  100. package/dist/components/DataTable.cjs +1 -1
  101. package/dist/components/DataTable.mjs +1 -1
  102. package/dist/components/DatePicker.cjs +1 -1
  103. package/dist/components/DatePicker.mjs +1 -1
  104. package/dist/components/DatePicker.vue.d.ts.map +1 -1
  105. package/dist/components/FloatingToolbar.cjs +1 -1
  106. package/dist/components/FloatingToolbar.mjs +1 -1
  107. package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
  108. package/dist/components/ImagePicker.cjs +1 -1
  109. package/dist/components/ImagePicker.mjs +1 -1
  110. package/dist/components/InfoHint.cjs +1 -1
  111. package/dist/components/InfoHint.mjs +1 -1
  112. package/dist/components/InfoHint.vue.d.ts.map +1 -1
  113. package/dist/components/InlineLoading.cjs +1 -1
  114. package/dist/components/InlineLoading.mjs +1 -1
  115. package/dist/components/Menu.cjs +1 -1
  116. package/dist/components/Menu.mjs +1 -1
  117. package/dist/components/Menu.vue.d.ts.map +1 -1
  118. package/dist/components/MenuBarItem.cjs +1 -1
  119. package/dist/components/MenuBarItem.mjs +1 -1
  120. package/dist/components/Modal.cjs +1 -1
  121. package/dist/components/Modal.mjs +1 -1
  122. package/dist/components/Modal.vue.d.ts.map +1 -1
  123. package/dist/components/NotificationCenter.cjs +1 -1
  124. package/dist/components/NotificationCenter.mjs +1 -1
  125. package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
  126. package/dist/components/OverflowMenu.cjs +1 -1
  127. package/dist/components/OverflowMenu.mjs +1 -1
  128. package/dist/components/PageHeader.cjs +1 -1
  129. package/dist/components/PageHeader.mjs +1 -1
  130. package/dist/components/Pagination.cjs +1 -1
  131. package/dist/components/Pagination.mjs +1 -1
  132. package/dist/components/Select.cjs +1 -1
  133. package/dist/components/Select.mjs +1 -1
  134. package/dist/components/Select.vue.d.ts.map +1 -1
  135. package/dist/components/SidebarCollapseToggle.cjs +1 -1
  136. package/dist/components/SidebarCollapseToggle.mjs +1 -1
  137. package/dist/components/SidebarMenuItem.cjs +1 -1
  138. package/dist/components/SidebarMenuItem.mjs +1 -1
  139. package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
  140. package/dist/components/Spinner.cjs +1 -1
  141. package/dist/components/Spinner.mjs +1 -1
  142. package/dist/components/Spinner.vue.d.ts.map +1 -1
  143. package/dist/components/Stat.cjs +1 -1
  144. package/dist/components/Stat.mjs +1 -1
  145. package/dist/components/Submenu.cjs +1 -1
  146. package/dist/components/Submenu.mjs +1 -1
  147. package/dist/components/Submenu.vue.d.ts.map +1 -1
  148. package/dist/components/SuggestionList.cjs +1 -1
  149. package/dist/components/SuggestionList.mjs +1 -1
  150. package/dist/components/Toaster.cjs +1 -1
  151. package/dist/components/Toaster.mjs +1 -1
  152. package/dist/components/Toaster.vue.d.ts.map +1 -1
  153. package/dist/components/UserMenu.cjs +1 -1
  154. package/dist/components/UserMenu.mjs +1 -1
  155. package/dist/components/UserMenu.vue.d.ts.map +1 -1
  156. package/dist/components/Walkthrough.cjs +1 -1
  157. package/dist/components/Walkthrough.mjs +1 -1
  158. package/dist/components/Walkthrough.vue.d.ts.map +1 -1
  159. package/dist/composables/useConfirm.composable.cjs +1 -1
  160. package/dist/composables/useConfirm.composable.mjs +2 -2
  161. package/dist/composables/useTeleportReady.composable.cjs +1 -0
  162. package/dist/composables/useTeleportReady.composable.d.ts +30 -0
  163. package/dist/composables/useTeleportReady.composable.d.ts.map +1 -0
  164. package/dist/composables/useTeleportReady.composable.mjs +11 -0
  165. package/dist/index.cjs +1 -1
  166. package/dist/index.mjs +152 -151
  167. package/dist/main-BMIeIxGV.cjs +4 -0
  168. package/dist/{main-D6qY7QeE.js → main-BXz7vG2i.js} +167 -157
  169. package/dist/main.d.ts +10 -1
  170. package/dist/main.d.ts.map +1 -1
  171. package/dist/styles/AiLabel.css +1 -1
  172. package/dist/styles/FloatingToolbar.css +1 -1
  173. package/dist/styles/InfoHint.css +1 -1
  174. package/dist/styles/Modal.css +1 -1
  175. package/dist/styles/SidebarMenuItem.css +1 -1
  176. package/dist/styles/Spinner.css +1 -1
  177. package/dist/styles/Toaster.css +1 -1
  178. package/dist/styles/Walkthrough.css +1 -1
  179. package/dist/ui.css +8 -8
  180. package/package.json +1 -1
  181. package/dist/AiLabel-AGSSBanb.cjs +0 -1
  182. package/dist/AiLabel-D32aNf1F.js +0 -240
  183. package/dist/Board-DtOWyvKh.cjs +0 -1
  184. package/dist/CommandPalette-CC_Aj4Uh.cjs +0 -1
  185. package/dist/CommandPalette-zqTMjpm8.js +0 -290
  186. package/dist/DatePicker-B5YRb64p.cjs +0 -1
  187. package/dist/FloatingToolbar-BikX_AsP.js +0 -116
  188. package/dist/FloatingToolbar-DWVY8Fxo.cjs +0 -1
  189. package/dist/InfoHint-BEzkNQTM.cjs +0 -1
  190. package/dist/InfoHint-BlHxrTw6.js +0 -178
  191. package/dist/Menu-7EgnchVu.js +0 -189
  192. package/dist/Menu-Bs2Co1sl.cjs +0 -1
  193. package/dist/Modal-C_EWDvmH.cjs +0 -1
  194. package/dist/NotificationCenter-DxZgHQyt.cjs +0 -1
  195. package/dist/Select-7gJ3_fWh.js +0 -615
  196. package/dist/Select-Dg4HSHOu.cjs +0 -1
  197. package/dist/SidebarMenuItem-DQRQtqrp.js +0 -300
  198. package/dist/SidebarMenuItem-Dwk7vKN5.cjs +0 -1
  199. package/dist/Spinner-DYFhiTB1.js +0 -160
  200. package/dist/Spinner-j13gRoUF.cjs +0 -1
  201. package/dist/Submenu-BDs-yAqv.js +0 -164
  202. package/dist/Submenu-BLjx2kWl.cjs +0 -1
  203. package/dist/Toaster-ByObLDkk.js +0 -284
  204. package/dist/Toaster-CJAbZ9pv.cjs +0 -1
  205. package/dist/UserMenu-BjSO_Uml.cjs +0 -1
  206. package/dist/Walkthrough-DxAIdo3M.cjs +0 -1
  207. package/dist/main-Cs0FFBfV.cjs +0 -4
@@ -1,9 +1,10 @@
1
- import { useStableId as e } from "./composables/useStableId.composable.mjs";
2
- import { useSurfaceLayer as t } from "./composables/useSurfaceLayer.composable.mjs";
3
- import { usePhoneLayout as n } from "./composables/usePhoneLayout.composable.mjs";
4
- import { useNbStrings as r } from "./composables/useNbStrings.composable.mjs";
5
- import { t as i } from "./BatchActions-Ckx8kyZt.js";
6
- import { Fragment as a, Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, defineComponent as p, mergeProps as ee, nextTick as te, normalizeClass as m, normalizeStyle as ne, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useSlots as re, withCtx as ie, withModifiers as x } from "vue";
1
+ import { useTeleportReady as e } from "./composables/useTeleportReady.composable.mjs";
2
+ import { useStableId as t } from "./composables/useStableId.composable.mjs";
3
+ import { useSurfaceLayer as n } from "./composables/useSurfaceLayer.composable.mjs";
4
+ import { usePhoneLayout as r } from "./composables/usePhoneLayout.composable.mjs";
5
+ import { useNbStrings as i } from "./composables/useNbStrings.composable.mjs";
6
+ import { t as a } from "./BatchActions-Kr2S6CJI.js";
7
+ import { Fragment as o, Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, defineComponent as m, mergeProps as ee, nextTick as te, normalizeClass as h, normalizeStyle as ne, openBlock as g, ref as _, renderList as v, renderSlot as y, toDisplayString as b, unref as x, useSlots as re, withCtx as ie, withModifiers as S } from "vue";
7
8
  //#region src/components/Board.vue?vue&type=script&setup=true&lang.ts
8
9
  var ae = [
9
10
  "draggable",
@@ -29,7 +30,7 @@ var ae = [
29
30
  }, _e = ["id"], ve = {
30
31
  class: "nb-board__sr",
31
32
  "aria-live": "assertive"
32
- }, ye = .5, be = 44, xe = /* @__PURE__ */ p({
33
+ }, ye = .5, be = 44, C = /* @__PURE__ */ m({
33
34
  __name: "Board",
34
35
  props: {
35
36
  columns: {},
@@ -61,36 +62,36 @@ var ae = [
61
62
  "update:selected",
62
63
  "update:selectMode"
63
64
  ],
64
- setup(p, { emit: xe }) {
65
- let S = r(), C = p, { phone: w } = n(), Se = re(), { layerProps: Ce } = t(), T = xe, E = s(() => C.selectable ? C.selected ?? [] : []), we = s(() => new Set(E.value)), D = null;
66
- function O(e) {
65
+ setup(m, { emit: C }) {
66
+ let xe = e(), w = i(), T = m, { phone: E } = r(), Se = re(), { layerProps: Ce } = n(), D = C, O = c(() => T.selectable ? T.selected ?? [] : []), we = c(() => new Set(O.value)), k = null;
67
+ function A(e) {
67
68
  return we.value.has(e);
68
69
  }
69
- function k(e) {
70
- T("update:selected", e), W.value = e.length === 0 ? S.value.boardSelectionCleared : S.value.boardCardsSelected(e.length);
70
+ function j(e) {
71
+ D("update:selected", e), W.value = e.length === 0 ? w.value.boardSelectionCleared : w.value.boardCardsSelected(e.length);
71
72
  }
72
- function A() {
73
- D = null, k([]), M.value && T("update:selectMode", !1);
73
+ function M() {
74
+ k = null, j([]), N.value && D("update:selectMode", !1);
74
75
  }
75
- let j = s(() => C.selectable && E.value.length > 0 && !!Se["batch-actions"]), M = s(() => C.selectable && C.selectMode);
76
- function N(e) {
77
- D = e, k(O(e) ? E.value.filter((t) => t !== e) : [...E.value, e]);
76
+ let Te = c(() => T.selectable && O.value.length > 0 && !!Se["batch-actions"]), N = c(() => T.selectable && T.selectMode);
77
+ function P(e) {
78
+ k = e, j(A(e) ? O.value.filter((t) => t !== e) : [...O.value, e]);
78
79
  }
79
- function Te(e, t, n) {
80
- let r = R(t, n), i = D ? r.findIndex((e) => e.id === D) : -1, a = r.findIndex((t) => t.id === e.id);
81
- if (i === -1 || a === -1) return N(e.id);
80
+ function Ee(e, t, n) {
81
+ let r = R(t, n), i = k ? r.findIndex((e) => e.id === k) : -1, a = r.findIndex((t) => t.id === e.id);
82
+ if (i === -1 || a === -1) return P(e.id);
82
83
  let o = r.slice(Math.min(i, a), Math.max(i, a) + 1).map((e) => e.id);
83
- k([...new Set([...E.value, ...o])]);
84
+ j([...new Set([...O.value, ...o])]);
84
85
  }
85
- function Ee(e, t, n, r) {
86
- C.selectable && (!M.value && !(e.metaKey || e.ctrlKey || e.shiftKey) || (e.preventDefault(), e.stopPropagation(), e.shiftKey ? Te(t, I(n), r) : N(t.id)));
86
+ function De(e, t, n, r) {
87
+ T.selectable && (!N.value && !(e.metaKey || e.ctrlKey || e.shiftKey) || (e.preventDefault(), e.stopPropagation(), e.shiftKey ? Ee(t, I(n), r) : P(t.id)));
87
88
  }
88
- function P() {
89
+ function Oe() {
89
90
  let e = [];
90
- for (let t of C.columns) for (let n of F.value) for (let r of R(I(n), t.id)) O(r.id) && !e.includes(r.id) && e.push(r.id);
91
+ for (let t of T.columns) for (let n of F.value) for (let r of R(I(n), t.id)) A(r.id) && !e.includes(r.id) && e.push(r.id);
91
92
  return e;
92
93
  }
93
- function De(e, t, n, r, i) {
94
+ function ke(e, t, n, r, i) {
94
95
  let a = new Set(e), o = R(n, r).filter((e) => e.id !== t), s = null;
95
96
  for (let e = Math.min(i, o.length) - 1; e >= 0; e--) if (!a.has(o[e].id)) {
96
97
  s = o[e].id;
@@ -101,43 +102,43 @@ var ae = [
101
102
  c = o[e].id;
102
103
  break;
103
104
  }
104
- T("move-many", {
105
+ D("move-many", {
105
106
  itemIds: e,
106
107
  toColumnId: r,
107
- ...C.lanes ? { toLaneId: n } : {},
108
+ ...T.lanes ? { toLaneId: n } : {},
108
109
  beforeItemId: s,
109
110
  afterItemId: c
110
111
  });
111
112
  let l = z(r);
112
113
  W.value = `${e.length} cards moved to ${l?.label ?? r}`;
113
114
  }
114
- let Oe = e({}), ke = g(null), Ae = s(() => ({
115
- gridTemplateColumns: `repeat(${C.columns.length}, var(--nb-board-column-track, minmax(200px, 1fr)))`,
116
- ...w.value ? { "--nb-board-cols": String(C.columns.length) } : {}
117
- })), F = s(() => C.lanes && C.lanes.length > 0 ? C.lanes : [null]);
115
+ let Ae = t({}), je = _(null), Me = c(() => ({
116
+ gridTemplateColumns: `repeat(${T.columns.length}, var(--nb-board-column-track, minmax(200px, 1fr)))`,
117
+ ...E.value ? { "--nb-board-cols": String(T.columns.length) } : {}
118
+ })), F = c(() => T.lanes && T.lanes.length > 0 ? T.lanes : [null]);
118
119
  function I(e) {
119
120
  return e ? e.id ?? null : null;
120
121
  }
121
- function je(e) {
122
+ function Ne(e) {
122
123
  return e ? L(e.id) : "__flat__";
123
124
  }
124
- function Me(e) {
125
- return C.items.filter((t) => t.columnId === e).length;
125
+ function Pe(e) {
126
+ return T.items.filter((t) => t.columnId === e).length;
126
127
  }
127
128
  function L(e) {
128
129
  return e ?? "__none__";
129
130
  }
130
- function Ne(e) {
131
- return C.lanes ? C.items.filter((t) => (t.laneId ?? null) === e).length : 0;
131
+ function Fe(e) {
132
+ return T.lanes ? T.items.filter((t) => (t.laneId ?? null) === e).length : 0;
132
133
  }
133
134
  function R(e, t) {
134
- return !C.lanes || C.lanes.length === 0 ? C.items.filter((e) => e.columnId === t) : C.items.filter((n) => n.columnId === t && (n.laneId ?? null) === e);
135
+ return !T.lanes || T.lanes.length === 0 ? T.items.filter((e) => e.columnId === t) : T.items.filter((n) => n.columnId === t && (n.laneId ?? null) === e);
135
136
  }
136
137
  function z(e) {
137
- return C.columns.find((t) => t.id === e);
138
+ return T.columns.find((t) => t.id === e);
138
139
  }
139
- let B = g(/* @__PURE__ */ new Set());
140
- function Pe(e) {
140
+ let B = _(/* @__PURE__ */ new Set());
141
+ function Ie(e) {
141
142
  let t = L(e), n = new Set(B.value);
142
143
  n.has(t) ? n.delete(t) : n.add(t), B.value = n;
143
144
  }
@@ -151,17 +152,17 @@ var ae = [
151
152
  function U(e, t) {
152
153
  return e ? `${t.label}, ${e.label}` : t.label;
153
154
  }
154
- function Fe(e, t) {
155
+ function Le(e, t) {
155
156
  return U(e, t);
156
157
  }
157
- function Ie(e, t, n) {
158
+ function Re(e, t, n) {
158
159
  let r = R(I(t), n.id), i = r.findIndex((t) => t.id === e.id), a = `${H(e)}, ${i + 1} of ${r.length} in ${U(t, n)}`;
159
160
  return Y.value?.item.id === e.id ? `${a}, picked up` : a;
160
161
  }
161
- let W = g("");
162
- function Le(e, t, n, r) {
162
+ let W = _("");
163
+ function ze(e, t, n, r) {
163
164
  let i = R(t, n).filter((t) => t.id !== e.item.id), a = Math.max(0, Math.min(r, i.length));
164
- return e.fromColumnId === n && e.fromLaneId === t && a === R(t, n).findIndex((t) => t.id === e.item.id) ? !1 : (T("move", {
165
+ return e.fromColumnId === n && e.fromLaneId === t && a === R(t, n).findIndex((t) => t.id === e.item.id) ? !1 : (D("move", {
165
166
  itemId: e.item.id,
166
167
  fromColumnId: e.fromColumnId,
167
168
  toColumnId: n,
@@ -172,10 +173,10 @@ var ae = [
172
173
  afterItemId: i[a]?.id ?? null
173
174
  }), !0);
174
175
  }
175
- let G = g(null), K = g(null), q = g(null);
176
- function Re(e, t, n) {
176
+ let G = _(null), K = _(null), q = _(null);
177
+ function Be(e, t, n) {
177
178
  Y.value = null;
178
- let r = O(e.id) && E.value.length > 1 ? P() : void 0;
179
+ let r = A(e.id) && O.value.length > 1 ? Oe() : void 0;
179
180
  G.value = {
180
181
  item: e,
181
182
  fromLaneId: I(t),
@@ -183,10 +184,10 @@ var ae = [
183
184
  group: r
184
185
  }, r && (W.value = `Moving ${r.length} cards`);
185
186
  }
186
- function ze(e, t, n, r, i) {
187
+ function Ve(e, t, n, r, i) {
187
188
  if (!G.value) return;
188
189
  let a = e.currentTarget.getBoundingClientRect();
189
- if (C.nestable && !G.value.group && a.height >= be) {
190
+ if (T.nestable && !G.value.group && a.height >= be) {
190
191
  let r = (e.clientY - a.top) / a.height, o = (1 - ye) / 2;
191
192
  if (r > o && r < 1 - o && i.id !== G.value.item.id) {
192
193
  q.value = {
@@ -205,7 +206,7 @@ var ae = [
205
206
  index: r + (o ? 1 : 0)
206
207
  };
207
208
  }
208
- function Be(e, t) {
209
+ function He(e, t) {
209
210
  if (!G.value) return;
210
211
  let n = I(e);
211
212
  K.value = {
@@ -214,13 +215,13 @@ var ae = [
214
215
  index: R(n, t).length
215
216
  };
216
217
  }
217
- function Ve() {
218
+ function Ue() {
218
219
  K.value = null, q.value = null;
219
220
  }
220
- function He() {
221
+ function We() {
221
222
  G.value = null, K.value = null, q.value = null;
222
223
  }
223
- function Ue(e, t) {
224
+ function Ge(e, t) {
224
225
  return J(e, t) !== null;
225
226
  }
226
227
  function J(e, t) {
@@ -233,45 +234,45 @@ var ae = [
233
234
  }
234
235
  return null;
235
236
  }
236
- function We(e, t, n) {
237
+ function Ke(e, t, n) {
237
238
  let r = q.value;
238
239
  return r !== null && r.laneId === I(e) && r.colId === t && r.itemId === n.id;
239
240
  }
240
- function Ge(e, t, n) {
241
+ function qe(e, t, n) {
241
242
  return n === R(I(e), t).length - 1 && J(e, t) === n + 1;
242
243
  }
243
- function Ke(e, t) {
244
+ function Je(e, t) {
244
245
  if (Z.value !== null) return;
245
246
  let n = K.value, r = q.value;
246
247
  K.value = null, q.value = null;
247
248
  let i = G.value;
248
249
  if (G.value = null, !i) return;
249
250
  if (r) {
250
- T("nest", {
251
+ D("nest", {
251
252
  itemId: i.item.id,
252
253
  ontoItemId: r.itemId,
253
254
  fromColumnId: i.fromColumnId,
254
- ...C.lanes ? { fromLaneId: i.fromLaneId } : {}
255
- }), W.value = `${H(i.item)} dropped onto ${H(C.items.find((e) => e.id === r.itemId) ?? i.item)}`;
255
+ ...T.lanes ? { fromLaneId: i.fromLaneId } : {}
256
+ }), W.value = `${H(i.item)} dropped onto ${H(T.items.find((e) => e.id === r.itemId) ?? i.item)}`;
256
257
  return;
257
258
  }
258
259
  let a = I(e), o = R(a, t), s = n && n.laneId === a && n.colId === t ? n.index : o.length, c = o.findIndex((e) => e.id === i.item.id), l = c !== -1 && c < s ? s - 1 : s;
259
260
  if (i.group) {
260
- De(i.group, i.item.id, a, t, l);
261
+ ke(i.group, i.item.id, a, t, l);
261
262
  return;
262
263
  }
263
- Le(i, a, t, l);
264
+ ze(i, a, t, l);
264
265
  }
265
- let Y = g(null);
266
- function qe(e, t, n, r) {
266
+ let Y = _(null);
267
+ function Ye(e, t, n, r) {
267
268
  let i = I(n);
268
- if (C.selectable && (e.key === "x" || e.key === "X") && !Y.value) {
269
- e.preventDefault(), N(t.id);
269
+ if (T.selectable && (e.key === "x" || e.key === "X") && !Y.value) {
270
+ e.preventDefault(), P(t.id);
270
271
  return;
271
272
  }
272
273
  if (e.key === "Escape") {
273
274
  if (!Y.value) {
274
- C.selectable && E.value.length > 0 && (e.preventDefault(), A());
275
+ T.selectable && O.value.length > 0 && (e.preventDefault(), M());
275
276
  return;
276
277
  }
277
278
  e.preventDefault(), Y.value = null, W.value = "Move cancelled";
@@ -279,14 +280,14 @@ var ae = [
279
280
  }
280
281
  if (e.key === " " || e.key === "Enter") {
281
282
  if (e.preventDefault(), Y.value?.item.id !== t.id) {
282
- Je(t, i, r);
283
+ Xe(t, i, r);
283
284
  return;
284
285
  }
285
- if (C.nestable && e.shiftKey && Qe()) {
286
- $e();
286
+ if (T.nestable && e.shiftKey && et()) {
287
+ tt();
287
288
  return;
288
289
  }
289
- et();
290
+ nt();
290
291
  return;
291
292
  }
292
293
  [
@@ -294,9 +295,9 @@ var ae = [
294
295
  "ArrowDown",
295
296
  "ArrowLeft",
296
297
  "ArrowRight"
297
- ].includes(e.key) && (e.preventDefault(), Y.value?.item.id === t.id ? Ze(e.key) : tt(e.key, t, i, r));
298
+ ].includes(e.key) && (e.preventDefault(), Y.value?.item.id === t.id ? $e(e.key) : rt(e.key, t, i, r));
298
299
  }
299
- function Je(e, t, n) {
300
+ function Xe(e, t, n) {
300
301
  Y.value = {
301
302
  item: e,
302
303
  fromLaneId: t,
@@ -304,18 +305,18 @@ var ae = [
304
305
  laneId: t,
305
306
  colId: n,
306
307
  index: R(t, n).findIndex((t) => t.id === e.id)
307
- }, W.value = `${H(e)} picked up, ${Ye()}`;
308
+ }, W.value = `${H(e)} picked up, ${Ze()}`;
308
309
  }
309
- function Ye() {
310
+ function Ze() {
310
311
  let e = Y.value;
311
312
  if (!e) return "";
312
- let t = R(e.laneId, e.colId).filter((t) => t.id !== e.item.id), n = z(e.colId), r = C.lanes?.find((t) => (t.id ?? null) === e.laneId) ?? null, i = n ? U(r, n) : e.colId;
313
+ let t = R(e.laneId, e.colId).filter((t) => t.id !== e.item.id), n = z(e.colId), r = T.lanes?.find((t) => (t.id ?? null) === e.laneId) ?? null, i = n ? U(r, n) : e.colId;
313
314
  return `position ${e.index + 1} of ${t.length + 1} in ${i}`;
314
315
  }
315
- function Xe() {
316
- return !C.lanes || C.lanes.length === 0 ? [null] : C.lanes.filter((e) => !V(e.id)).map((e) => e.id ?? null);
316
+ function Qe() {
317
+ return !T.lanes || T.lanes.length === 0 ? [null] : T.lanes.filter((e) => !V(e.id)).map((e) => e.id ?? null);
317
318
  }
318
- function Ze(e) {
319
+ function $e(e) {
319
320
  let t = Y.value;
320
321
  if (!t) return;
321
322
  let n = R(t.laneId, t.colId).filter((e) => e.id !== t.item.id);
@@ -323,56 +324,56 @@ var ae = [
323
324
  let r = e === "ArrowUp" ? -1 : 1, i = t.index + r;
324
325
  if (i >= 0 && i <= n.length) t.index = i;
325
326
  else {
326
- let e = Xe(), n = e.indexOf(t.laneId), i = n + r;
327
+ let e = Qe(), n = e.indexOf(t.laneId), i = n + r;
327
328
  if (n === -1 || i < 0 || i >= e.length) return;
328
329
  let a = e[i];
329
330
  t.laneId = a, t.index = r === 1 ? 0 : R(a, t.colId).filter((e) => e.id !== t.item.id).length;
330
331
  }
331
332
  } else {
332
- let n = e === "ArrowLeft" ? -1 : 1, r = C.columns.findIndex((e) => e.id === t.colId), i = C.columns[r + n];
333
+ let n = e === "ArrowLeft" ? -1 : 1, r = T.columns.findIndex((e) => e.id === t.colId), i = T.columns[r + n];
333
334
  if (r === -1 || !i) return;
334
335
  t.colId = i.id;
335
336
  let a = R(t.laneId, t.colId).filter((e) => e.id !== t.item.id);
336
337
  t.index = Math.min(t.index, a.length);
337
338
  }
338
- W.value = `${H(t.item)}, ${Ye()}`;
339
+ W.value = `${H(t.item)}, ${Ze()}`;
339
340
  }
340
- function Qe() {
341
+ function et() {
341
342
  let e = Y.value;
342
343
  if (!e) return null;
343
344
  let t = R(e.laneId, e.colId).filter((t) => t.id !== e.item.id);
344
345
  return t.length === 0 ? null : t[Math.min(e.index, t.length - 1)] ?? null;
345
346
  }
346
- function $e() {
347
- let e = Y.value, t = Qe();
348
- !e || !t || (Y.value = null, T("nest", {
347
+ function tt() {
348
+ let e = Y.value, t = et();
349
+ !e || !t || (Y.value = null, D("nest", {
349
350
  itemId: e.item.id,
350
351
  ontoItemId: t.id,
351
352
  fromColumnId: e.fromColumnId,
352
- ...C.lanes ? { fromLaneId: e.fromLaneId } : {}
353
+ ...T.lanes ? { fromLaneId: e.fromLaneId } : {}
353
354
  }), W.value = `${H(e.item)} dropped onto ${H(t)}`);
354
355
  }
355
- function et() {
356
+ function nt() {
356
357
  let e = Y.value;
357
358
  if (!e) return;
358
- if (Y.value = null, O(e.item.id) && E.value.length > 1) {
359
- De(P(), e.item.id, e.laneId, e.colId, e.index), nt(e.item.id);
359
+ if (Y.value = null, A(e.item.id) && O.value.length > 1) {
360
+ ke(Oe(), e.item.id, e.laneId, e.colId, e.index), it(e.item.id);
360
361
  return;
361
362
  }
362
- let t = Le({
363
+ let t = ze({
363
364
  item: e.item,
364
365
  fromLaneId: e.fromLaneId,
365
366
  fromColumnId: e.fromColumnId
366
- }, e.laneId, e.colId, e.index), n = z(e.colId), r = C.lanes?.find((t) => (t.id ?? null) === e.laneId) ?? null, i = n ? U(r, n) : e.colId;
367
- W.value = t ? `${H(e.item)} dropped, position ${e.index + 1} in ${i}` : `${H(e.item)} dropped`, nt(e.item.id);
367
+ }, e.laneId, e.colId, e.index), n = z(e.colId), r = T.lanes?.find((t) => (t.id ?? null) === e.laneId) ?? null, i = n ? U(r, n) : e.colId;
368
+ W.value = t ? `${H(e.item)} dropped, position ${e.index + 1} in ${i}` : `${H(e.item)} dropped`, it(e.item.id);
368
369
  }
369
- function tt(e, t, n, r) {
370
+ function rt(e, t, n, r) {
370
371
  let i = R(n, r), a = i.findIndex((e) => e.id === t.id);
371
372
  if (e === "ArrowUp" || e === "ArrowDown") {
372
373
  let t = a + (e === "ArrowDown" ? 1 : -1);
373
374
  t >= 0 && t < i.length && X(i[t].id);
374
375
  } else {
375
- let t = C.columns.findIndex((e) => e.id === r), i = C.columns[t + (e === "ArrowRight" ? 1 : -1)];
376
+ let t = T.columns.findIndex((e) => e.id === r), i = T.columns[t + (e === "ArrowRight" ? 1 : -1)];
376
377
  if (t === -1 || !i) return;
377
378
  let o = R(n, i.id);
378
379
  if (o.length === 0) return;
@@ -380,7 +381,7 @@ var ae = [
380
381
  }
381
382
  }
382
383
  function X(e) {
383
- let t = ke.value?.querySelectorAll("[data-item-id]");
384
+ let t = je.value?.querySelectorAll("[data-item-id]");
384
385
  if (t) {
385
386
  for (let n of t) if (n.dataset.itemId === e) {
386
387
  n.focus();
@@ -388,155 +389,155 @@ var ae = [
388
389
  }
389
390
  }
390
391
  }
391
- async function nt(e) {
392
+ async function it(e) {
392
393
  await te(), await te(), X(e);
393
394
  }
394
- function rt(e) {
395
+ function at(e) {
395
396
  Y.value?.item.id === e.id && (Y.value = null);
396
397
  }
397
- let Z = g(null), Q = g(null);
398
- function it(e, t) {
399
- if (!C.reorderableColumns) {
398
+ let Z = _(null), Q = _(null);
399
+ function ot(e, t) {
400
+ if (!T.reorderableColumns) {
400
401
  t.preventDefault();
401
402
  return;
402
403
  }
403
404
  Z.value = e, Q.value = e;
404
405
  }
405
- function at(e, t) {
406
+ function st(e, t) {
406
407
  if (Z.value === null) return;
407
408
  t.preventDefault();
408
409
  let n = t.currentTarget.getBoundingClientRect();
409
410
  Q.value = t.clientX < n.left + n.width / 2 ? e : e + 1;
410
411
  }
411
- function ot(e) {
412
+ function ct(e) {
412
413
  let t = Z.value, n = Q.value;
413
414
  if ($(), t === null || n === null) return;
414
415
  e.preventDefault();
415
416
  let r = n > t ? n - 1 : n;
416
- r !== t && T("column-move", {
417
- columnId: C.columns[t].id,
417
+ r !== t && D("column-move", {
418
+ columnId: T.columns[t].id,
418
419
  toIndex: r
419
420
  });
420
421
  }
421
422
  function $() {
422
423
  Z.value = null, Q.value = null;
423
424
  }
424
- return (e, t) => (h(), u("div", ee({
425
+ return (e, t) => (g(), d("div", ee({
425
426
  ref_key: "boardRef",
426
- ref: ke,
427
+ ref: je,
427
428
  class: ["nb-board", {
428
- "nb-board--flat": b(w) && F.value[0] === null,
429
- "nb-board--batching": b(w) && j.value,
430
- "nb-board--select-mode": M.value
429
+ "nb-board--flat": x(E) && F.value[0] === null,
430
+ "nb-board--batching": x(E) && Te.value,
431
+ "nb-board--select-mode": N.value
431
432
  }]
432
- }, b(Ce)), [
433
- d("div", {
433
+ }, x(Ce)), [
434
+ f("div", {
434
435
  class: "nb-board__grid",
435
- style: ne(Ae.value)
436
- }, [(h(!0), u(a, null, _(p.columns, (t, n) => (h(), u("div", {
436
+ style: ne(Me.value)
437
+ }, [(g(!0), d(o, null, v(m.columns, (t, n) => (g(), d("div", {
437
438
  key: t.id,
438
- class: m(["nb-board__col-header", {
439
- "nb-board__col-header--reorderable": p.reorderableColumns,
439
+ class: h(["nb-board__col-header", {
440
+ "nb-board__col-header--reorderable": m.reorderableColumns,
440
441
  "nb-board__col-header--dragging": Z.value === n,
441
442
  "nb-board__col-header--drop-before": Q.value === n,
442
- "nb-board__col-header--drop-after": Q.value === n + 1 && n === p.columns.length - 1
443
+ "nb-board__col-header--drop-after": Q.value === n + 1 && n === m.columns.length - 1
443
444
  }]),
444
445
  style: ne(t.color ? { borderTopColor: t.color } : void 0),
445
- draggable: p.reorderableColumns || void 0,
446
- onDragstart: (e) => it(n, e),
447
- onDragover: (e) => at(n, e),
448
- onDrop: ot,
446
+ draggable: m.reorderableColumns || void 0,
447
+ onDragstart: (e) => ot(n, e),
448
+ onDragover: (e) => st(n, e),
449
+ onDrop: ct,
449
450
  onDragend: $
450
- }, [v(e.$slots, "column-header", {
451
+ }, [y(e.$slots, "column-header", {
451
452
  column: t,
452
- count: Me(t.id)
453
- }, () => [d("span", oe, y(t.label), 1), d("span", se, y(Me(t.id)), 1)])], 46, ae))), 128)), (h(!0), u(a, null, _(F.value, (t) => (h(), u(a, { key: je(t) }, [t ? (h(), u("div", {
453
+ count: Pe(t.id)
454
+ }, () => [f("span", oe, b(t.label), 1), f("span", se, b(Pe(t.id)), 1)])], 46, ae))), 128)), (g(!0), d(o, null, v(F.value, (t) => (g(), d(o, { key: Ne(t) }, [t ? (g(), d("div", {
454
455
  key: 0,
455
456
  class: "nb-board__lane-header",
456
- onClick: (e) => Pe(t.id)
457
+ onClick: (e) => Ie(t.id)
457
458
  }, [
458
- d("button", {
459
+ f("button", {
459
460
  class: "nb-board__collapse-btn",
460
461
  "aria-label": V(t.id) ? "Expand" : "Collapse"
461
- }, y(V(t.id) ? "▶" : "▼"), 9, le),
462
- d("span", ue, [v(e.$slots, "lane-header", { lane: t }, () => [f(y(t.label), 1)])]),
463
- d("span", de, y(Ne(t.id)), 1)
464
- ], 8, ce)) : l("", !0), !t || !V(t.id) ? (h(!0), u(a, { key: 1 }, _(p.columns, (n) => (h(), u("div", {
465
- key: je(t) + "-" + n.id,
466
- class: m(["nb-board__cell", { "nb-board__cell--drag-over": Ue(t, n.id) }]),
467
- onDragover: x((e) => Be(t, n.id), ["prevent"]),
468
- onDragleave: Ve,
469
- onDrop: x((e) => Ke(t, n.id), ["prevent"])
470
- }, [d("div", {
462
+ }, b(V(t.id) ? "▶" : "▼"), 9, le),
463
+ f("span", ue, [y(e.$slots, "lane-header", { lane: t }, () => [p(b(t.label), 1)])]),
464
+ f("span", de, b(Fe(t.id)), 1)
465
+ ], 8, ce)) : u("", !0), !t || !V(t.id) ? (g(!0), d(o, { key: 1 }, v(m.columns, (n) => (g(), d("div", {
466
+ key: Ne(t) + "-" + n.id,
467
+ class: h(["nb-board__cell", { "nb-board__cell--drag-over": Ge(t, n.id) }]),
468
+ onDragover: S((e) => He(t, n.id), ["prevent"]),
469
+ onDragleave: Ue,
470
+ onDrop: S((e) => Je(t, n.id), ["prevent"])
471
+ }, [f("div", {
471
472
  class: "nb-board__cell-items",
472
473
  role: "list",
473
- "aria-label": Fe(t, n)
474
- }, [(h(!0), u(a, null, _(R(I(t), n.id), (r, i) => (h(), u("div", {
474
+ "aria-label": Le(t, n)
475
+ }, [(g(!0), d(o, null, v(R(I(t), n.id), (r, i) => (g(), d("div", {
475
476
  key: r.id,
476
- class: m(["nb-board__card", {
477
+ class: h(["nb-board__card", {
477
478
  "nb-board__card--lifted": Y.value?.item.id === r.id,
478
- "nb-board__card--selected": O(r.id),
479
- "nb-board__card--carried": !!G.value?.group && O(r.id),
479
+ "nb-board__card--selected": A(r.id),
480
+ "nb-board__card--carried": !!G.value?.group && A(r.id),
480
481
  "nb-board__card--drop-before": J(t, n.id) === i,
481
- "nb-board__card--drop-after": Ge(t, n.id, i),
482
- "nb-board__card--drop-into": We(t, n.id, r)
482
+ "nb-board__card--drop-after": qe(t, n.id, i),
483
+ "nb-board__card--drop-into": Ke(t, n.id, r)
483
484
  }]),
484
485
  role: "listitem",
485
486
  tabindex: "0",
486
487
  "data-item-id": r.id,
487
- "aria-selected": p.selectable ? O(r.id) : void 0,
488
- "aria-label": Ie(r, t, n),
489
- "aria-describedby": `${b(Oe)}-hint`,
488
+ "aria-selected": m.selectable ? A(r.id) : void 0,
489
+ "aria-label": Re(r, t, n),
490
+ "aria-describedby": `${x(Ae)}-hint`,
490
491
  draggable: "true",
491
- onDragstart: (e) => Re(r, t, n.id),
492
- onDragover: x((e) => ze(e, t, n.id, i, r), ["prevent", "stop"]),
493
- onDragend: He,
494
- onKeydown: (e) => qe(e, r, t, n.id),
495
- onClickCapture: (e) => Ee(e, r, t, n.id),
496
- onBlur: (e) => rt(r)
497
- }, [v(e.$slots, "card", {
492
+ onDragstart: (e) => Be(r, t, n.id),
493
+ onDragover: S((e) => Ve(e, t, n.id, i, r), ["prevent", "stop"]),
494
+ onDragend: We,
495
+ onKeydown: (e) => Ye(e, r, t, n.id),
496
+ onClickCapture: (e) => De(e, r, t, n.id),
497
+ onBlur: (e) => at(r)
498
+ }, [y(e.$slots, "card", {
498
499
  item: r,
499
500
  column: n,
500
501
  lane: t ?? void 0
501
- })], 42, me))), 128)), R(I(t), n.id).length === 0 ? (h(), u("div", he)) : l("", !0)], 8, pe), e.$slots["column-footer"] ? (h(), u("div", ge, [v(e.$slots, "column-footer", {
502
+ })], 42, me))), 128)), R(I(t), n.id).length === 0 ? (g(), d("div", he)) : u("", !0)], 8, pe), e.$slots["column-footer"] ? (g(), d("div", ge, [y(e.$slots, "column-footer", {
502
503
  column: n,
503
504
  lane: t ?? void 0
504
- })])) : l("", !0)], 42, fe))), 128)) : l("", !0)], 64))), 128))], 4),
505
- (h(), c(o, {
505
+ })])) : u("", !0)], 42, fe))), 128)) : u("", !0)], 64))), 128))], 4),
506
+ (g(), l(s, {
506
507
  to: "body",
507
- disabled: !b(w)
508
- }, [j.value ? (h(), c(i, {
508
+ disabled: !x(xe) || !x(E)
509
+ }, [Te.value ? (g(), l(a, {
509
510
  key: 0,
510
511
  class: "nb-board__batch",
511
512
  variant: "floating",
512
- count: E.value.length,
513
- label: b(S).boardSelectionActions,
514
- "cancel-label": b(S).boardClearSelection,
515
- onCancel: A
513
+ count: O.value.length,
514
+ label: x(w).boardSelectionActions,
515
+ "cancel-label": x(w).boardClearSelection,
516
+ onCancel: M
516
517
  }, {
517
- default: ie(() => [v(e.$slots, "batch-actions", {
518
- selected: E.value,
519
- clear: A,
520
- phone: b(w)
518
+ default: ie(() => [y(e.$slots, "batch-actions", {
519
+ selected: O.value,
520
+ clear: M,
521
+ phone: x(E)
521
522
  })]),
522
523
  _: 3
523
524
  }, 8, [
524
525
  "count",
525
526
  "label",
526
527
  "cancel-label"
527
- ])) : l("", !0)], 8, ["disabled"])),
528
- d("span", {
529
- id: `${b(Oe)}-hint`,
528
+ ])) : u("", !0)], 8, ["disabled"])),
529
+ f("span", {
530
+ id: `${x(Ae)}-hint`,
530
531
  class: "nb-board__sr"
531
532
  }, [
532
- t[0] ||= f(" Press Space or Enter to pick up, arrow keys to move, Space or Enter to drop, Escape to cancel.", -1),
533
- p.nestable ? (h(), u(a, { key: 0 }, [f(" Shift with Space or Enter drops onto the card below instead, putting this one inside it.")], 64)) : l("", !0),
534
- p.selectable ? (h(), u(a, { key: 1 }, [f(" X selects the card, or removes it from the selection. Picking up a selected card moves every selected card. Escape clears the selection.")], 64)) : l("", !0),
535
- M.value ? (h(), u(a, { key: 2 }, [f(" Selecting: activating a card selects it, or removes it from the selection.")], 64)) : l("", !0)
533
+ t[0] ||= p(" Press Space or Enter to pick up, arrow keys to move, Space or Enter to drop, Escape to cancel.", -1),
534
+ m.nestable ? (g(), d(o, { key: 0 }, [p(" Shift with Space or Enter drops onto the card below instead, putting this one inside it.")], 64)) : u("", !0),
535
+ m.selectable ? (g(), d(o, { key: 1 }, [p(" X selects the card, or removes it from the selection. Picking up a selected card moves every selected card. Escape clears the selection.")], 64)) : u("", !0),
536
+ N.value ? (g(), d(o, { key: 2 }, [p(" Selecting: activating a card selects it, or removes it from the selection.")], 64)) : u("", !0)
536
537
  ], 8, _e),
537
- d("span", ve, y(W.value), 1)
538
+ f("span", ve, b(W.value), 1)
538
539
  ], 16));
539
540
  }
540
541
  });
541
542
  //#endregion
542
- export { xe as t };
543
+ export { C as t };