bitboss-ui 3.0.0-beta.75 → 3.0.0-beta.76

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 (169) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbBreadcrumbs.md +1 -1
  5. package/dist/ai/BbButton.md +2 -2
  6. package/dist/ai/BbColorInput.md +1 -1
  7. package/dist/ai/BbColorPalette.md +1 -1
  8. package/dist/ai/BbConfirm.md +1 -1
  9. package/dist/ai/BbDatePicker.md +1 -1
  10. package/dist/ai/BbDatePickerInput.md +1 -1
  11. package/dist/ai/BbDialog.md +3 -2
  12. package/dist/ai/BbDropdown.md +23 -21
  13. package/dist/ai/BbDropdownButton.md +13 -11
  14. package/dist/ai/BbGallery.md +3 -2
  15. package/dist/ai/BbIcon.md +10 -10
  16. package/dist/ai/BbOffCanvas.md +3 -2
  17. package/dist/ai/BbPopover.md +1 -1
  18. package/dist/ai/BbSelect.md +153 -43
  19. package/dist/ai/BbSelectPopover.md +115 -9
  20. package/dist/ai/BbTable.md +1 -1
  21. package/dist/ai/BbTimePicker.md +1 -1
  22. package/dist/ai/BbTimePickerInput.md +1 -1
  23. package/dist/ai/GroupedListBox.md +2 -2
  24. package/dist/ai/ListBox.md +3 -2
  25. package/dist/ai/changelog.json +153 -7
  26. package/dist/ai/components.json +12 -12
  27. package/dist/ai/guides/agent-contract.md +1 -1
  28. package/dist/ai/guides/calendars-and-digits.md +1 -1
  29. package/dist/ai/guides/eslint-rules.md +1 -1
  30. package/dist/ai/guides/icons-policy.md +32 -11
  31. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  32. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  33. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  34. package/dist/ai/guides/migration/v2-to-v3.md +48 -19
  35. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  36. package/dist/ai/guides/passthrough.md +58 -58
  37. package/dist/ai/helpers/inertia/manifest.json +1 -1
  38. package/dist/ai/manifest/components/BbDialog.tree.json +1 -1
  39. package/dist/ai/manifest/components/BbDropdown.json +19 -17
  40. package/dist/ai/manifest/components/BbDropdown.tree.json +9 -9
  41. package/dist/ai/manifest/components/BbDropdownButton.json +12 -10
  42. package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
  43. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  44. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  45. package/dist/ai/manifest/components/BbSelect.json +44 -40
  46. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  47. package/dist/ai/manifest/components/BbSelectPopover.json +10 -6
  48. package/dist/ai/manifest/components/BbSelectPopover.tree.json +4 -1
  49. package/dist/ai/manifest/components/BbTable.tree.json +5 -1
  50. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  51. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  52. package/dist/ai/manifest/components/ListBox.json +1 -1
  53. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  54. package/dist/ai/manifest/index.json +2 -2
  55. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  56. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  57. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  58. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  59. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  60. package/dist/ai/recipes/vue/onboarding.md +2 -2
  61. package/dist/ai/source/BbAccordion.md +4 -5
  62. package/dist/ai/source/BbAvatar.md +9 -2
  63. package/dist/ai/source/BbBadge.md +6 -2
  64. package/dist/ai/source/BbBreadcrumbs.md +5 -2
  65. package/dist/ai/source/BbCalendar.md +8 -6
  66. package/dist/ai/source/BbCarousel.md +10 -6
  67. package/dist/ai/source/BbColorPalette.md +5 -2
  68. package/dist/ai/source/BbDatePickerInput.md +7 -2
  69. package/dist/ai/source/BbDropdown.md +91 -66
  70. package/dist/ai/source/BbDropdownButton.md +36 -19
  71. package/dist/ai/source/BbDropdownGroup.md +91 -66
  72. package/dist/ai/source/BbGallery.md +6 -5
  73. package/dist/ai/source/BbPagination.md +12 -28
  74. package/dist/ai/source/BbRating.md +4 -4
  75. package/dist/ai/source/BbSelect.md +130 -106
  76. package/dist/ai/source/BbSelectPopover.md +128 -21
  77. package/dist/ai/source/BbTable.md +42 -9
  78. package/dist/ai/source/BbTimePickerInput.md +6 -2
  79. package/dist/ai/source/ClearableButton.md +4 -2
  80. package/dist/ai/source/ErrorIcon.md +4 -3
  81. package/dist/ai/source/FlatListBox.md +7 -2
  82. package/dist/ai/source/GroupedListBox.md +22 -3
  83. package/dist/ai/source/ListBox.md +7 -1
  84. package/dist/ai/source/WarningIcon.md +4 -3
  85. package/dist/assets/svgs/close.svg_raw.js +1 -1
  86. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  87. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  88. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +48 -47
  89. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -59
  90. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +128 -127
  91. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  92. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  93. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +500 -499
  94. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  95. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +175 -174
  96. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
  97. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +2 -2
  98. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +263 -262
  99. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +81 -80
  100. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +4 -0
  101. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +318 -312
  102. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +47 -46
  103. package/dist/components/BbDropdown/ptKeys.generated.d.ts +36 -20
  104. package/dist/components/BbDropdown/types.d.ts +51 -53
  105. package/dist/components/BbDropdown/types.js +2 -0
  106. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -1
  107. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +74 -59
  108. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +111 -63
  109. package/dist/components/BbDropdownButton/types.d.ts +12 -10
  110. package/dist/components/BbDropdownButton/types.js +2 -0
  111. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  112. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +204 -203
  113. package/dist/components/BbIcon/iconCache.js +1 -1
  114. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  115. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  116. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  117. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  118. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  119. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  120. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  121. package/dist/components/BbSelect/BbSelect.vue.d.ts +30 -20
  122. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +201 -184
  123. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  124. package/dist/components/BbSelect/types.d.ts +101 -105
  125. package/dist/components/BbSelect/types.js +1 -27
  126. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +6 -3
  127. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +617 -585
  128. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  129. package/dist/components/BbSelectPopover/types.d.ts +22 -13
  130. package/dist/components/BbSelectPopover/types.js +3 -1
  131. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  132. package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
  133. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1092 -1090
  134. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  135. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  136. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +2 -2
  137. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +2 -2
  138. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +225 -224
  139. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +76 -75
  140. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  141. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  142. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  143. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  144. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +69 -68
  145. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +166 -165
  146. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  147. package/dist/composables/useInternalIcon.js +25 -0
  148. package/dist/icon-scan.d.ts +1 -1
  149. package/dist/llms-full.txt +477 -187
  150. package/dist/llms-medium.txt +25 -24
  151. package/dist/llms.txt +1 -1
  152. package/dist/nuxt.js +1 -1
  153. package/dist/styles.css +2 -2
  154. package/dist/types/Config.d.ts +8 -1
  155. package/dist/types/ConfigDefaults.d.ts +10 -2
  156. package/dist/types/internalIcons.d.ts +89 -0
  157. package/dist/types/internalIcons.js +158 -0
  158. package/dist/types/ptComponentMap.d.ts +4 -4
  159. package/dist/utils/configDefaults.js +75 -64
  160. package/dist/utils/iconsOption.js +48 -0
  161. package/dist/utils/versionCheck.js +1 -1
  162. package/dist/vite-plugin.d.ts +10 -16
  163. package/dist/vite.js +319 -306
  164. package/llms.txt +1 -1
  165. package/package.json +1 -1
  166. package/scripts/lib/adoption-checklist.json +1 -1
  167. package/scripts/lib/update-install.mjs +48 -0
  168. package/scripts/lib/validate-bb-markup.mjs +73 -12
  169. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -20,24 +20,25 @@ import { BB_COLOR_PALETTE_PT as de } from "./types.js";
20
20
  import { usePassthrough as fe } from "../../composables/usePassthrough.js";
21
21
  import { withoutPt as pe } from "../../utils/passthrough.js";
22
22
  import { transitions as c } from "../../utilities/misc/transitions.js";
23
- import { Fragment as me, computed as l, createBlock as he, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as ge, guardReactiveProps as _e, mergeProps as m, nextTick as ve, normalizeClass as ye, normalizeProps as be, normalizeStyle as h, onBeforeUnmount as xe, onDeactivated as Se, openBlock as g, ref as _, renderList as Ce, renderSlot as we, toDisplayString as Te, unref as v, useAttrs as Ee, watch as y, withCtx as De } from "vue";
24
- import { createReusableTemplate as Oe } from "@vueuse/core";
23
+ import { useInternalIcon as me } from "../../composables/useInternalIcon.js";
24
+ import { Fragment as he, computed as l, createBlock as ge, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as _e, guardReactiveProps as ve, mergeProps as m, nextTick as ye, normalizeClass as be, normalizeProps as xe, normalizeStyle as h, onBeforeUnmount as Se, onDeactivated as Ce, openBlock as g, ref as _, renderList as we, renderSlot as Te, toDisplayString as Ee, unref as v, useAttrs as De, watch as y, withCtx as Oe } from "vue";
25
+ import { createReusableTemplate as ke } from "@vueuse/core";
25
26
  // src/components/BbColorPalette/BbColorPalette.vue?vue&type=script&setup=true&lang.ts
26
- var ke = ["aria-label"], Ae = {
27
+ var Ae = ["aria-label"], je = {
27
28
  "aria-live": "polite",
28
29
  class: "bb-color-palette__canvas-announcer",
29
30
  role: "status"
30
- }, je = { class: "bb-color-palette__controls" }, Me = { class: "bb-color-palette__preview-wrap" }, Ne = { class: "bb-color-palette__sliders" }, Pe = ["aria-label", "aria-valuenow"], Fe = ["aria-label", "aria-valuenow"], Ie = ["aria-label", "disabled"], Le = {
31
+ }, Me = { class: "bb-color-palette__controls" }, Ne = { class: "bb-color-palette__preview-wrap" }, Pe = { class: "bb-color-palette__sliders" }, Fe = ["aria-label", "aria-valuenow"], Ie = ["aria-label", "aria-valuenow"], Le = ["aria-label", "disabled"], Re = {
31
32
  key: 0,
32
33
  class: "bb-color-palette__swatches"
33
- }, Re = [
34
+ }, ze = [
34
35
  "aria-label",
35
36
  "aria-pressed",
36
37
  "tabindex",
37
38
  "onClick",
38
39
  "onFocus",
39
40
  "onKeydown"
40
- ], b = /*@__PURE__*/ ge({
41
+ ], b = /*@__PURE__*/ _e({
41
42
  inheritAttrs: !1,
42
43
  __name: "BbColorPalette",
43
44
  props: {
@@ -88,87 +89,87 @@ var ke = ["aria-label"], Ae = {
88
89
  "hidden",
89
90
  "update:modelValue"
90
91
  ],
91
- setup(c, { emit: ge }) {
92
- let b = c, x = ge, { model: ze, set: Be } = te(b, "modelValue", (e, t) => t !== null && x(e, t), () => null), Ve = a(null, "popoverOffset"), S = fe({
92
+ setup(c, { emit: _e }) {
93
+ let b = c, x = _e, Be = me("eyedropper", n), { model: Ve, set: He } = te(b, "modelValue", (e, t) => t !== null && x(e, t), () => null), Ue = a(null, "popoverOffset"), S = fe({
93
94
  component: "BbColorPalette",
94
95
  props: b,
95
96
  parts: de.parts,
96
97
  states: de.states,
97
- active: { open: () => T.value },
98
- attrs: Ee()
98
+ active: { open: () => E.value },
99
+ attrs: De()
99
100
  });
100
101
  process.env.NODE_ENV !== "production" && ue("BbColorPalette", le("BbColorPalette"));
101
- let { t: C } = re(), { isMobile: He } = ae(), Ue = ee().id.value, We = `${Ue}_panel`, [Ge, Ke] = Oe(), w = _(), qe = _(), Je = l(() => b.activator != null), Ye = (e) => {
102
- w.value = o(e) ?? void 0;
103
- }, Xe = (e) => {
104
- qe.value = o(e) ?? void 0;
102
+ let { t: C } = re(), { isMobile: We } = ae(), w = ee().id.value, Ge = `${w}_panel`, [Ke, qe] = ke(), T = _(), Je = _(), Ye = l(() => b.activator != null), Xe = (e) => {
103
+ T.value = o(e) ?? void 0;
104
+ }, Ze = (e) => {
105
+ Je.value = o(e) ?? void 0;
105
106
  };
106
107
  y(() => b.activator, (e) => {
107
- w.value = o(e) ?? void 0;
108
+ T.value = o(e) ?? void 0;
108
109
  }, { immediate: !0 }), y(() => b.anchor, (e) => {
109
- qe.value = e == null ? void 0 : o(e) ?? void 0;
110
+ Je.value = e == null ? void 0 : o(e) ?? void 0;
110
111
  }, { immediate: !0 });
111
- let Ze = l(() => qe.value ?? w.value), T = _(!1), Qe = s(T, () => b.transitionDuration), $e = null, et = (e) => {
112
- b.disabled || b.readonly || (e.stopPropagation(), T.value = !T.value);
112
+ let Qe = l(() => Je.value ?? T.value), E = _(!1), $e = s(E, () => b.transitionDuration), et = null, tt = (e) => {
113
+ b.disabled || b.readonly || (e.stopPropagation(), E.value = !E.value);
113
114
  };
114
115
  ne(b, x, {
115
- isOpen: () => T.value,
116
+ isOpen: () => E.value,
116
117
  open: () => {
117
- b.disabled || b.readonly || (T.value = !0);
118
+ b.disabled || b.readonly || (E.value = !0);
118
119
  },
119
- close: () => T.value = !1
120
+ close: () => E.value = !1
120
121
  });
121
- let tt = (e) => {
122
+ let nt = (e) => {
122
123
  let t = e.target;
123
- t instanceof Node && ((H.value?.closest(".bb-common-popover"))?.contains(t) || w.value?.contains(t) || (T.value = !1));
124
+ t instanceof Node && ((H.value?.closest(".bb-common-popover"))?.contains(t) || T.value?.contains(t) || (E.value = !1));
124
125
  };
125
- y(T, async (e) => {
126
- e ? (E.value = rt(), $e = document.activeElement instanceof HTMLElement ? document.activeElement : null, D.value || document.addEventListener("click", tt, {
126
+ y(E, async (e) => {
127
+ e ? (at.value = it(), et = document.activeElement instanceof HTMLElement ? document.activeElement : null, D.value || document.addEventListener("click", nt, {
127
128
  passive: !0,
128
129
  capture: !0
129
- }), await ve(), H.value?.focus()) : (document.removeEventListener("click", tt, { capture: !0 }), $e?.focus(), $e = null);
130
+ }), await ye(), H.value?.focus()) : (document.removeEventListener("click", nt, { capture: !0 }), et?.focus(), et = null);
130
131
  });
131
- let nt = i("BbColorPalette", b, { adaptive: !0 }), rt = () => nt.adaptive && He.value ? "canvas" : "popover", E = _(rt()), D = l(() => E.value === "canvas");
132
+ let rt = i("BbColorPalette", b, { adaptive: !0 }), it = () => rt.adaptive && We.value ? "canvas" : "popover", at = _(it()), D = l(() => at.value === "canvas");
132
133
  y([
133
- () => nt.adaptive,
134
- He,
135
- T
134
+ () => rt.adaptive,
135
+ We,
136
+ E
136
137
  ], () => {
137
- T.value || (E.value = rt());
138
- }), ie(() => T.value && !D.value, () => T.value = !1);
139
- let it = l(() => ({
138
+ E.value || (at.value = it());
139
+ }), ie(() => E.value && !D.value, () => E.value = !1);
140
+ let ot = l(() => ({
140
141
  side: "bottom",
141
142
  size: "auto",
142
143
  draggable: !0,
143
144
  hideClose: !0,
144
145
  eager: b.eager,
145
146
  transitionDuration: b.transitionDuration,
146
- ...b.offCanvasProps?.title ? {} : { "aria-labelledby": st.value },
147
+ ...b.offCanvasProps?.title ? {} : { "aria-labelledby": lt.value },
147
148
  ...pe(b.offCanvasProps)
148
- })), at = () => {
149
- w.value?.focus(), x("hidden");
149
+ })), st = () => {
150
+ T.value?.focus(), x("hidden");
150
151
  }, O = null, k = _();
151
- y(w, (e) => {
152
+ y(T, (e) => {
152
153
  if (O?.(), O = null, !e) return;
153
154
  let t = !e.id;
154
- t && (e.id = `${Ue}_activator`), k.value = e.id, e.addEventListener("click", et), O = () => {
155
- e.removeEventListener("click", et), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-labelledby"), e.removeAttribute("aria-controls"), j.has(e) && (e.removeAttribute("disabled"), e.removeAttribute("aria-disabled"), j.delete(e)), t && e.removeAttribute("id"), k.value = void 0;
155
+ t && (e.id = `${w}_activator`), k.value = e.id, e.addEventListener("click", tt), O = () => {
156
+ e.removeEventListener("click", tt), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-labelledby"), e.removeAttribute("aria-controls"), j.has(e) && (e.removeAttribute("disabled"), e.removeAttribute("aria-disabled"), j.delete(e)), t && e.removeAttribute("id"), k.value = void 0;
156
157
  };
157
158
  }, { immediate: !0 });
158
- let ot = l(() => b.label ?? C("colorInput.openPicker").value), A = `${Ue}_label`, st = l(() => k.value ? `${A} ${k.value}` : A), j = /* @__PURE__ */ new WeakSet(), ct = l(() => b.disabled ? {
159
- ref: Ye,
159
+ let ct = l(() => b.label ?? C("colorInput.openPicker").value), A = `${w}_label`, lt = l(() => k.value ? `${A} ${k.value}` : A), j = /* @__PURE__ */ new WeakSet(), ut = l(() => b.disabled ? {
160
+ ref: Xe,
160
161
  disabled: !0,
161
162
  "aria-disabled": "true"
162
- } : { ref: Ye });
163
+ } : { ref: Xe });
163
164
  y([
164
- w,
165
165
  T,
166
+ E,
166
167
  () => b.disabled,
167
168
  () => b.readonly
168
169
  ], ([e, t, n, r]) => {
169
- e && (e.setAttribute("aria-labelledby", `${A} ${e.id}`), n ? (e.setAttribute("disabled", ""), e.setAttribute("aria-disabled", "true"), j.add(e)) : j.has(e) && (e.removeAttribute("disabled"), e.removeAttribute("aria-disabled"), j.delete(e)), n || r ? (e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-controls")) : (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", t ? "true" : "false"), t ? e.setAttribute("aria-controls", We) : e.removeAttribute("aria-controls")));
170
- }, { immediate: !0 }), xe(() => {
171
- O?.(), document.removeEventListener("click", tt, { capture: !0 });
170
+ e && (e.setAttribute("aria-labelledby", `${A} ${e.id}`), n ? (e.setAttribute("disabled", ""), e.setAttribute("aria-disabled", "true"), j.add(e)) : j.has(e) && (e.removeAttribute("disabled"), e.removeAttribute("aria-disabled"), j.delete(e)), n || r ? (e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-controls")) : (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", t ? "true" : "false"), t ? e.setAttribute("aria-controls", Ge) : e.removeAttribute("aria-controls")));
171
+ }, { immediate: !0 }), Se(() => {
172
+ O?.(), document.removeEventListener("click", nt, { capture: !0 });
172
173
  });
173
174
  function M(e, t, n) {
174
175
  let r = (r) => {
@@ -181,7 +182,7 @@ var ke = ["aria-label"], Ae = {
181
182
  Math.round(r(1) * 255)
182
183
  ];
183
184
  }
184
- function lt(e, t, n) {
185
+ function dt(e, t, n) {
185
186
  let r = e / 255, i = t / 255, a = n / 255, o = Math.max(r, i, a), s = o - Math.min(r, i, a), ee = o === 0 ? 0 : s / o, te = o, ne = 0;
186
187
  return s !== 0 && (ne = o === r ? ((i - a) / s + (i < a ? 6 : 0)) / 6 : o === i ? ((a - r) / s + 2) / 6 : ((r - i) / s + 4) / 6), [
187
188
  ne * 360,
@@ -189,7 +190,7 @@ var ke = ["aria-label"], Ae = {
189
190
  te
190
191
  ];
191
192
  }
192
- function ut(e) {
193
+ function ft(e) {
193
194
  let t = e.replace(/^#/, "");
194
195
  return t.length === 3 ? [
195
196
  parseInt(t[0] + t[0], 16),
@@ -216,11 +217,11 @@ var ke = ["aria-label"], Ae = {
216
217
  function N(e) {
217
218
  return Math.round(Math.max(0, Math.min(255, e))).toString(16).padStart(2, "0");
218
219
  }
219
- function dt(e, t, n, r, i) {
220
+ function pt(e, t, n, r, i) {
220
221
  let a = `#${N(e)}${N(t)}${N(n)}`;
221
222
  return i ? a + N(r * 255) : a;
222
223
  }
223
- let ft = [
224
+ let mt = [
224
225
  [
225
226
  "#FFCDD2",
226
227
  "#EF9A9A",
@@ -265,11 +266,11 @@ var ke = ["aria-label"], Ae = {
265
266
  ]
266
267
  ], P = _(0), F = _(1), I = _(1), L = _(1), R = l(() => {
267
268
  let [e, t, n] = M(P.value, F.value, I.value);
268
- return dt(e, t, n, L.value, b.alpha);
269
- }), pt = l(() => {
269
+ return pt(e, t, n, L.value, b.alpha);
270
+ }), ht = l(() => {
270
271
  let [e, t, n] = M(P.value, F.value, I.value);
271
272
  return b.alpha ? `rgba(${e},${t},${n},${L.value})` : `rgb(${e},${t},${n})`;
272
- }), mt = l(() => !!b.swatches), z = l(() => Array.isArray(b.swatches) ? b.swatches : ft), B = _(null), ht = _(null), V = _(null), H = _(null), U = _(null), W = _(null), G = () => {
273
+ }), gt = l(() => !!b.swatches), z = l(() => Array.isArray(b.swatches) ? b.swatches : mt), B = _(null), _t = _(null), V = _(null), H = _(null), U = _(null), W = _(null), G = () => {
273
274
  let e = B.value;
274
275
  if (!e || e.width === 0 || e.height === 0) return;
275
276
  let t = e.getContext("2d");
@@ -278,8 +279,8 @@ var ke = ["aria-label"], Ae = {
278
279
  a.addColorStop(0, "#ffffff"), a.addColorStop(1, `rgb(${n},${r},${i})`), t.fillStyle = a, t.fillRect(0, 0, e.width, e.height);
279
280
  let o = t.createLinearGradient(0, 0, 0, e.height);
280
281
  o.addColorStop(0, "rgba(0,0,0,0)"), o.addColorStop(1, "rgba(0,0,0,1)"), t.fillStyle = o, t.fillRect(0, 0, e.width, e.height);
281
- }, gt = () => {
282
- let e = ht.value;
282
+ }, vt = () => {
283
+ let e = _t.value;
283
284
  if (!e || e.width === 0 || e.height === 0) return;
284
285
  let t = e.getContext("2d");
285
286
  if (!t) return;
@@ -294,33 +295,33 @@ var ke = ["aria-label"], Ae = {
294
295
  t.clearRect(0, 0, e.width, e.height);
295
296
  let [n, r, i] = M(P.value, F.value, I.value), a = t.createLinearGradient(0, 0, e.width, 0);
296
297
  a.addColorStop(0, `rgba(${n},${r},${i},0)`), a.addColorStop(1, `rgba(${n},${r},${i},1)`), t.fillStyle = a, t.fillRect(0, 0, e.width, e.height);
297
- }, _t = () => {
298
- G(), gt(), b.alpha && K();
299
- }, q = null, vt = (e) => {
300
- e.width = e.offsetWidth, e.height = e.offsetHeight;
301
298
  }, yt = () => {
302
- let e = B.value, t = ht.value;
303
- e && t && e.offsetWidth !== 0 && (vt(e), vt(t), b.alpha && V.value && vt(V.value), _t());
304
- }, bt = !1, xt = () => {
305
- P.value = 0, F.value = 1, I.value = 1, L.value = 1, kt.value = "", Y.value = !1, X.value = !1, Z.value = !1, Q.value = !1, Ut = void 0;
306
- }, St = () => {
307
- bt = !0, q = new ResizeObserver(yt), B.value && q.observe(B.value), Tt(ze.value), yt();
308
- }, Ct = () => {
309
- bt = !1, q?.disconnect(), q = null, xt();
310
- }, wt = l(() => m({
311
- id: We,
299
+ G(), vt(), b.alpha && K();
300
+ }, q = null, bt = (e) => {
301
+ e.width = e.offsetWidth, e.height = e.offsetHeight;
302
+ }, xt = () => {
303
+ let e = B.value, t = _t.value;
304
+ e && t && e.offsetWidth !== 0 && (bt(e), bt(t), b.alpha && V.value && bt(V.value), yt());
305
+ }, St = !1, Ct = () => {
306
+ P.value = 0, F.value = 1, I.value = 1, L.value = 1, jt.value = "", Y.value = !1, X.value = !1, Z.value = !1, Q.value = !1, Gt = void 0;
307
+ }, wt = () => {
308
+ St = !0, q = new ResizeObserver(xt), B.value && q.observe(B.value), Dt(Ve.value), xt();
309
+ }, Tt = () => {
310
+ St = !1, q?.disconnect(), q = null, Ct();
311
+ }, Et = l(() => m({
312
+ id: Ge,
312
313
  class: "bb-color-palette__panel",
313
- inert: Qe.value
314
- }, D.value ? {} : S.panel ?? {})), Tt = (e) => {
314
+ inert: $e.value
315
+ }, D.value ? {} : S.panel ?? {})), Dt = (e) => {
315
316
  if (e) try {
316
- let [t, n, r, i] = ut(e), [a, o, s] = lt(t, n, r);
317
+ let [t, n, r, i] = ft(e), [a, o, s] = dt(t, n, r);
317
318
  o > .01 && (P.value = a), F.value = o, I.value = s, L.value = i;
318
319
  } catch {}
319
320
  };
320
- y(() => ze.value, (e) => {
321
- bt && (e && e === R.value || (e ? Tt(e) : (P.value = 0, F.value = 1, I.value = 1, L.value = 1), G(), b.alpha && K()));
321
+ y(() => Ve.value, (e) => {
322
+ St && (e && e === R.value || (e ? Dt(e) : (P.value = 0, F.value = 1, I.value = 1, L.value = 1), G(), b.alpha && K()));
322
323
  });
323
- let J = () => Be(R.value), Y = _(!1), Et = (e) => {
324
+ let J = () => He(R.value), Y = _(!1), Ot = (e) => {
324
325
  let t = H.value;
325
326
  if (!t) return {
326
327
  s: F.value,
@@ -331,19 +332,19 @@ var ke = ["aria-label"], Ae = {
331
332
  s: Math.max(0, Math.min(1, (e.clientX - n.left) / n.width)),
332
333
  v: Math.max(0, Math.min(1, 1 - (e.clientY - n.top) / n.height))
333
334
  };
334
- }, Dt = (e) => {
335
+ }, kt = (e) => {
335
336
  H.value?.setPointerCapture(e.pointerId), Y.value = !0;
336
- let { s: t, v: n } = Et(e);
337
+ let { s: t, v: n } = Ot(e);
337
338
  F.value = t, I.value = n, b.alpha && K(), J();
338
- }, Ot = (e) => {
339
+ }, At = (e) => {
339
340
  if (!Y.value) return;
340
- let { s: t, v: n } = Et(e);
341
+ let { s: t, v: n } = Ot(e);
341
342
  F.value = t, I.value = n, b.alpha && K(), J();
342
- }, kt = _(""), At = () => {
343
- kt.value = C("colorInput.mainCanvasSelectedColor", R.value).value;
344
- }, jt = (e) => {
345
- H.value?.releasePointerCapture(e.pointerId), Y.value && At(), Y.value = !1;
346
- }, Mt = (e) => {
343
+ }, jt = _(""), Mt = () => {
344
+ jt.value = C("colorInput.mainCanvasSelectedColor", R.value).value;
345
+ }, Nt = (e) => {
346
+ H.value?.releasePointerCapture(e.pointerId), Y.value && Mt(), Y.value = !1;
347
+ }, Pt = (e) => {
347
348
  let t = e.shiftKey ? .05 : .01;
348
349
  switch (e.key) {
349
350
  case "ArrowLeft":
@@ -360,19 +361,19 @@ var ke = ["aria-label"], Ae = {
360
361
  break;
361
362
  default: return;
362
363
  }
363
- b.alpha && K(), J(), At(), e.preventDefault();
364
- }, X = _(!1), Nt = (e) => {
364
+ b.alpha && K(), J(), Mt(), e.preventDefault();
365
+ }, X = _(!1), Ft = (e) => {
365
366
  let t = U.value;
366
367
  if (!t) return P.value;
367
368
  let n = t.getBoundingClientRect();
368
369
  return Math.max(0, Math.min(360, (e.clientX - n.left) / n.width * 360));
369
- }, Pt = (e) => {
370
- U.value?.setPointerCapture(e.pointerId), X.value = !0, P.value = Nt(e), G(), b.alpha && K(), J();
371
- }, Ft = (e) => {
372
- X.value && (P.value = Nt(e), G(), b.alpha && K(), J());
373
370
  }, It = (e) => {
374
- U.value?.releasePointerCapture(e.pointerId), X.value = !1;
371
+ U.value?.setPointerCapture(e.pointerId), X.value = !0, P.value = Ft(e), G(), b.alpha && K(), J();
375
372
  }, Lt = (e) => {
373
+ X.value && (P.value = Ft(e), G(), b.alpha && K(), J());
374
+ }, Rt = (e) => {
375
+ U.value?.releasePointerCapture(e.pointerId), X.value = !1;
376
+ }, zt = (e) => {
376
377
  let t = e.shiftKey ? 10 : 1;
377
378
  switch (e.key) {
378
379
  case "ArrowLeft":
@@ -384,18 +385,18 @@ var ke = ["aria-label"], Ae = {
384
385
  default: return;
385
386
  }
386
387
  G(), b.alpha && K(), J(), e.preventDefault();
387
- }, Z = _(!1), Rt = (e) => {
388
+ }, Z = _(!1), Bt = (e) => {
388
389
  let t = W.value;
389
390
  if (!t) return L.value;
390
391
  let n = t.getBoundingClientRect();
391
392
  return Math.max(0, Math.min(1, (e.clientX - n.left) / n.width));
392
- }, zt = (e) => {
393
- W.value?.setPointerCapture(e.pointerId), Z.value = !0, L.value = Rt(e), J();
394
- }, Bt = (e) => {
395
- Z.value && (L.value = Rt(e), J());
396
393
  }, Vt = (e) => {
397
- W.value?.releasePointerCapture(e.pointerId), Z.value = !1;
394
+ W.value?.setPointerCapture(e.pointerId), Z.value = !0, L.value = Bt(e), J();
398
395
  }, Ht = (e) => {
396
+ Z.value && (L.value = Bt(e), J());
397
+ }, Ut = (e) => {
398
+ W.value?.releasePointerCapture(e.pointerId), Z.value = !1;
399
+ }, Wt = (e) => {
399
400
  let t = e.shiftKey ? .05 : .01;
400
401
  switch (e.key) {
401
402
  case "ArrowLeft":
@@ -407,16 +408,16 @@ var ke = ["aria-label"], Ae = {
407
408
  default: return;
408
409
  }
409
410
  J(), e.preventDefault();
410
- }, Ut, Wt = () => Ut ??= typeof window < "u" && "EyeDropper" in window, Q = _(!1), Gt = async () => {
411
- if (Wt()) try {
411
+ }, Gt, Kt = () => Gt ??= typeof window < "u" && "EyeDropper" in window, Q = _(!1), qt = async () => {
412
+ if (Kt()) try {
412
413
  Q.value = !0;
413
414
  let e = await new window.EyeDropper().open();
414
- Zt(e.sRGBHex);
415
+ $t(e.sRGBHex);
415
416
  } catch {} finally {
416
417
  Q.value = !1;
417
418
  }
418
- }, Kt = _(null), qt = (e) => e && z.value[e[0]]?.[e[1]] !== void 0 ? e : null, Jt = l(() => {
419
- let e = qt(Kt.value);
419
+ }, Jt = _(null), Yt = (e) => e && z.value[e[0]]?.[e[1]] !== void 0 ? e : null, Xt = l(() => {
420
+ let e = Yt(Jt.value);
420
421
  if (e) return e;
421
422
  let t = z.value;
422
423
  for (let e = 0; e < t.length; e++) {
@@ -425,7 +426,7 @@ var ke = ["aria-label"], Ae = {
425
426
  }
426
427
  let n = t.findIndex((e) => e.length > 0);
427
428
  return [Math.max(n, 0), 0];
428
- }), Yt = (e, t) => Jt.value[0] === e && Jt.value[1] === t ? 0 : -1, Xt = (t, n, r) => {
429
+ }), Zt = (e, t) => Xt.value[0] === e && Xt.value[1] === t ? 0 : -1, Qt = (t, n, r) => {
429
430
  if (t.altKey || t.ctrlKey || t.metaKey || t.shiftKey) return;
430
431
  let i = z.value, a = e(t.key, t.currentTarget), o = null;
431
432
  if (a) {
@@ -445,26 +446,26 @@ var ke = ["aria-label"], Ae = {
445
446
  e !== -1 && (o = [e, i[e].length - 1]);
446
447
  } else return;
447
448
  t.preventDefault(), o && (t.currentTarget.closest(".bb-color-palette__swatches")?.children[o[0]]?.children[o[1]])?.focus();
448
- }, $ = (e) => R.value.slice(0, 7).toLowerCase() === e.slice(0, 7).toLowerCase(), Zt = (e) => {
449
- let [t, n, r, i] = ut(e), [a, o, s] = lt(t, n, r);
449
+ }, $ = (e) => R.value.slice(0, 7).toLowerCase() === e.slice(0, 7).toLowerCase(), $t = (e) => {
450
+ let [t, n, r, i] = ft(e), [a, o, s] = dt(t, n, r);
450
451
  o > .01 && (P.value = a), F.value = o, I.value = s, L.value = i, G(), b.alpha && K(), J();
451
452
  };
452
- return Se(() => {
453
- T.value = !1;
454
- }), (e, i) => (g(), d(me, null, [
455
- Je.value ? u("", !0) : we(e.$slots, "activator", be(_e({
456
- props: ct.value,
457
- anchorProps: { ref: Xe },
458
- open: T.value,
459
- value: v(ze),
453
+ return Ce(() => {
454
+ E.value = !1;
455
+ }), (e, n) => (g(), d(he, null, [
456
+ Ye.value ? u("", !0) : Te(e.$slots, "activator", xe(ve({
457
+ props: ut.value,
458
+ anchorProps: { ref: Ze },
459
+ open: E.value,
460
+ value: v(Ve),
460
461
  disabled: c.disabled
461
462
  })), void 0, void 0, 0),
462
463
  f("span", {
463
464
  id: A,
464
465
  hidden: ""
465
- }, Te(ot.value), 1),
466
- p(v(Ge), null, {
467
- default: De(() => [
466
+ }, Ee(ct.value), 1),
467
+ p(v(Ke), null, {
468
+ default: Oe(() => [
468
469
  f("div", {
469
470
  ref_key: "canvasWrapRef",
470
471
  ref: H,
@@ -473,13 +474,13 @@ var ke = ["aria-label"], Ae = {
473
474
  "data-bb-no-drag": "",
474
475
  role: "application",
475
476
  tabindex: "0",
476
- onKeydown: Mt,
477
- onPointercancel: jt,
478
- onPointerdown: Dt,
479
- onPointermove: Ot,
480
- onPointerup: jt,
481
- onVnodeBeforeUnmount: Ct,
482
- onVnodeMounted: St
477
+ onKeydown: Pt,
478
+ onPointercancel: Nt,
479
+ onPointerdown: kt,
480
+ onPointermove: At,
481
+ onPointerup: Nt,
482
+ onVnodeBeforeUnmount: Tt,
483
+ onVnodeMounted: wt
483
484
  }, [f("canvas", {
484
485
  ref_key: "mainCanvasRef",
485
486
  ref: B,
@@ -492,14 +493,14 @@ var ke = ["aria-label"], Ae = {
492
493
  left: `${F.value * 100}%`,
493
494
  top: `${(1 - I.value) * 100}%`
494
495
  })
495
- }, null, 4)], 40, ke),
496
- f("div", Ae, Te(kt.value), 1),
497
- f("div", je, [
498
- f("div", Me, [f("div", {
499
- class: ye(["bb-color-palette__preview", { "bb-color-palette__preview--alpha": c.alpha }]),
500
- style: h({ "--picker-preview-color": pt.value })
501
- }, null, 6)]),
496
+ }, null, 4)], 40, Ae),
497
+ f("div", je, Ee(jt.value), 1),
498
+ f("div", Me, [
502
499
  f("div", Ne, [f("div", {
500
+ class: be(["bb-color-palette__preview", { "bb-color-palette__preview--alpha": c.alpha }]),
501
+ style: h({ "--picker-preview-color": ht.value })
502
+ }, null, 6)]),
503
+ f("div", Pe, [f("div", {
503
504
  ref_key: "hueWrapRef",
504
505
  ref: U,
505
506
  "aria-label": v(C)("colorInput.hueCanvasDesc").value,
@@ -510,21 +511,21 @@ var ke = ["aria-label"], Ae = {
510
511
  "data-bb-no-drag": "",
511
512
  role: "slider",
512
513
  tabindex: "0",
513
- onKeydown: Lt,
514
- onPointercancel: It,
515
- onPointerdown: Pt,
516
- onPointermove: Ft,
517
- onPointerup: It
514
+ onKeydown: zt,
515
+ onPointercancel: Rt,
516
+ onPointerdown: It,
517
+ onPointermove: Lt,
518
+ onPointerup: Rt
518
519
  }, [f("canvas", {
519
520
  ref_key: "hueCanvasRef",
520
- ref: ht,
521
+ ref: _t,
521
522
  "aria-hidden": "true",
522
523
  class: "bb-color-palette__slider-track"
523
524
  }, null, 512), f("div", {
524
525
  "aria-hidden": "true",
525
526
  class: "bb-color-palette__slider-thumb",
526
527
  style: h({ left: `${P.value / 360 * 100}%` })
527
- }, null, 4)], 40, Pe), c.alpha ? (g(), d("div", {
528
+ }, null, 4)], 40, Fe), c.alpha ? (g(), d("div", {
528
529
  key: 0,
529
530
  ref_key: "alphaWrapRef",
530
531
  ref: W,
@@ -536,11 +537,11 @@ var ke = ["aria-label"], Ae = {
536
537
  "data-bb-no-drag": "",
537
538
  role: "slider",
538
539
  tabindex: "0",
539
- onKeydown: Ht,
540
- onPointercancel: Vt,
541
- onPointerdown: zt,
542
- onPointermove: Bt,
543
- onPointerup: Vt
540
+ onKeydown: Wt,
541
+ onPointercancel: Ut,
542
+ onPointerdown: Vt,
543
+ onPointermove: Ht,
544
+ onPointerup: Ut
544
545
  }, [f("canvas", {
545
546
  ref_key: "alphaCanvasRef",
546
547
  ref: V,
@@ -550,77 +551,77 @@ var ke = ["aria-label"], Ae = {
550
551
  "aria-hidden": "true",
551
552
  class: "bb-color-palette__slider-thumb",
552
553
  style: h({ left: `${L.value * 100}%` })
553
- }, null, 4)], 40, Fe)) : u("", !0)]),
554
- Wt() && c.eyeDropper ? (g(), d("button", {
554
+ }, null, 4)], 40, Ie)) : u("", !0)]),
555
+ Kt() && c.eyeDropper ? (g(), d("button", {
555
556
  key: 0,
556
557
  "aria-label": v(C)("colorInput.eyeDropper").value,
557
558
  class: "bb-color-palette__eyedropper",
558
559
  disabled: Q.value || void 0,
559
560
  type: "button",
560
- onClick: Gt
561
+ onClick: qt
561
562
  }, [p(t, {
562
- icon: v(n),
563
+ icon: v(Be),
563
564
  size: "16"
564
- }, null, 8, ["icon"])], 8, Ie)) : u("", !0)
565
+ }, null, 8, ["icon"])], 8, Le)) : u("", !0)
565
566
  ]),
566
- mt.value ? (g(), d("div", Le, [(g(!0), d(me, null, Ce(z.value, (e, t) => (g(), d("div", {
567
+ gt.value ? (g(), d("div", Re, [(g(!0), d(he, null, we(z.value, (e, t) => (g(), d("div", {
567
568
  key: t,
568
569
  class: "bb-color-palette__swatch-group"
569
- }, [(g(!0), d(me, null, Ce(e, (e, n) => (g(), d("button", m({
570
+ }, [(g(!0), d(he, null, we(e, (e, n) => (g(), d("button", m({
570
571
  key: e,
571
572
  "aria-label": e,
572
573
  "aria-pressed": $(e),
573
574
  class: ["bb-color-palette__swatch", { "bb-color-palette__swatch--active": $(e) }],
574
575
  style: { background: e },
575
- tabindex: Yt(t, n),
576
+ tabindex: Zt(t, n),
576
577
  type: "button",
577
- onClick: (t) => Zt(e),
578
- onFocus: (e) => Kt.value = [t, n],
579
- onKeydown: (e) => Xt(e, t, n)
580
- }, { ref_for: !0 }, v(S).part?.("swatch", { selected: $(e) })), null, 16, Re))), 128))]))), 128))])) : u("", !0)
578
+ onClick: (t) => $t(e),
579
+ onFocus: (e) => Jt.value = [t, n],
580
+ onKeydown: (e) => Qt(e, t, n)
581
+ }, { ref_for: !0 }, v(S).part?.("swatch", { selected: $(e) })), null, 16, ze))), 128))]))), 128))])) : u("", !0)
581
582
  ]),
582
583
  _: 1
583
584
  }),
584
- D.value ? (g(), he(oe, m({
585
+ D.value ? (g(), ge(oe, m({
585
586
  key: 1,
586
- modelValue: T.value,
587
- "onUpdate:modelValue": i[0] ||= (e) => T.value = e,
587
+ modelValue: E.value,
588
+ "onUpdate:modelValue": n[0] ||= (e) => E.value = e,
588
589
  class: "bb-color-palette__sheet",
589
590
  pt: v(S).forward({
590
591
  panel: "root",
591
592
  sheet: "root"
592
593
  }, v(se).states, () => c.offCanvasProps?.pt)
593
- }, m(it.value, v(r)(v(S).forwardAttrs)), {
594
- onHidden: at,
595
- onHide: i[1] ||= (e) => x("hide"),
596
- onShow: i[2] ||= (e) => x("show"),
597
- onShown: i[3] ||= (e) => x("shown")
594
+ }, m(ot.value, v(r)(v(S).forwardAttrs)), {
595
+ onHidden: st,
596
+ onHide: n[1] ||= (e) => x("hide"),
597
+ onShow: n[2] ||= (e) => x("show"),
598
+ onShown: n[3] ||= (e) => x("shown")
598
599
  }), {
599
- default: De(() => [f("div", be(_e(wt.value)), [p(v(Ke))], 16)]),
600
+ default: Oe(() => [f("div", xe(ve(Et.value)), [p(v(qe))], 16)]),
600
601
  _: 1
601
- }, 16, ["modelValue", "pt"])) : (g(), he(ce, m({
602
+ }, 16, ["modelValue", "pt"])) : (g(), ge(ce, m({
602
603
  key: 2,
603
- modelValue: T.value,
604
- "onUpdate:modelValue": i[4] ||= (e) => T.value = e,
605
- anchor: Ze.value,
604
+ modelValue: E.value,
605
+ "onUpdate:modelValue": n[4] ||= (e) => E.value = e,
606
+ anchor: Qe.value,
606
607
  "aria-label": v(C)("colorInput.dialogLabel").value,
607
608
  boundary: c.boundary,
608
- "bubble-attrs": wt.value,
609
+ "bubble-attrs": Et.value,
609
610
  class: "bb-color-palette",
610
611
  dialog: "",
611
612
  "disable-flip": c.disableFlip,
612
613
  eager: c.eager,
613
614
  "hide-arrow": "",
614
- offset: c.offset ?? v(Ve)() ?? 4,
615
+ offset: c.offset ?? v(Ue)() ?? 4,
615
616
  padding: c.padding,
616
617
  placement: c.placement,
617
618
  "transition-duration": c.transitionDuration,
618
- onHidden: i[5] ||= (e) => x("hidden"),
619
- onHide: i[6] ||= (e) => x("hide"),
620
- onShow: i[7] ||= (e) => x("show"),
621
- onShown: i[8] ||= (e) => x("shown")
619
+ onHidden: n[5] ||= (e) => x("hidden"),
620
+ onHide: n[6] ||= (e) => x("hide"),
621
+ onShow: n[7] ||= (e) => x("show"),
622
+ onShown: n[8] ||= (e) => x("shown")
622
623
  }, v(S).rootAttrs), {
623
- default: De(() => [p(v(Ke))]),
624
+ default: Oe(() => [p(v(qe))]),
624
625
  _: 1
625
626
  }, 16, [
626
627
  "modelValue",
@@ -53,7 +53,7 @@ declare const __VLS_export: <R extends boolean = false, M extends boolean = fals
53
53
  disableFlip?: boolean;
54
54
  eager?: boolean;
55
55
  label?: string;
56
- } & BbDatePickerModelProps<R, M> & Omit<import('vue').DialogHTMLAttributes, "label" | `pt:${string}&${string}` | "anchor" | "readonly" | "disabled" | "open" | "step" | "type" | "pt" | "adaptive" | "floating" | "transitionDuration" | "clearable" | "max" | "selectable" | "offCanvasProps" | "activator" | "boundary" | "disableFlip" | "eager" | "offset" | "padding" | "placement" | keyof import('./ptKeys.generated.js').BbDatePickerPtKeys | "activeSegment" | "numberOfMonths" | "seconds" | "ampm" | "min" | "firstDayOfWeek" | "utc" | keyof BbDatePickerModelProps<R, M>> & {}) & {
56
+ } & BbDatePickerModelProps<R, M> & Omit<import('vue').DialogHTMLAttributes, "label" | `pt:${string}&${string}` | "anchor" | "readonly" | "disabled" | "open" | "step" | "type" | "pt" | "adaptive" | "floating" | "transitionDuration" | "clearable" | "offCanvasProps" | "activator" | "boundary" | "disableFlip" | "eager" | "offset" | "padding" | "placement" | keyof import('./ptKeys.generated.js').BbDatePickerPtKeys | "activeSegment" | "numberOfMonths" | "seconds" | "ampm" | "min" | "max" | "selectable" | "firstDayOfWeek" | "utc" | keyof BbDatePickerModelProps<R, M>> & {}) & {
57
57
  "onUpdate:modelValue"?: ((value: import('../../index.js').BbDateValue<R, M>) => any) | undefined;
58
58
  onHide?: (() => any) | undefined;
59
59
  onShow?: (() => any) | undefined;