bitboss-ui 2.1.11 → 2.1.13

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 (180) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index106.js +9 -9
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index121.js +12 -12
  6. package/dist/index129.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index131.js +4 -4
  9. package/dist/index133.js +1 -1
  10. package/dist/index136.js +1 -1
  11. package/dist/index138.js +1 -1
  12. package/dist/index15.js +8 -8
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +8 -8
  15. package/dist/index207.js +2 -2
  16. package/dist/index208.js +2 -2
  17. package/dist/index209.js +33 -12
  18. package/dist/index21.js +16 -16
  19. package/dist/index210.js +85 -12
  20. package/dist/index212.js +29 -2
  21. package/dist/index213.js +17 -4
  22. package/dist/index214.js +51 -2
  23. package/dist/index215.js +15 -66
  24. package/dist/index216.js +5 -0
  25. package/dist/index217.js +12 -13
  26. package/dist/index218.js +15 -182
  27. package/dist/index219.js +4 -5
  28. package/dist/index220.js +13 -5
  29. package/dist/index221.js +11 -5
  30. package/dist/index222.js +20 -5
  31. package/dist/index223.js +197 -5
  32. package/dist/index225.js +66 -2
  33. package/dist/index227.js +13 -2
  34. package/dist/index228.js +111 -18
  35. package/dist/index23.js +15 -15
  36. package/dist/index230.js +15 -0
  37. package/dist/index231.js +3 -4
  38. package/dist/index232.js +2 -197
  39. package/dist/index233.js +6 -0
  40. package/dist/index234.js +2 -86
  41. package/dist/index235.js +4 -0
  42. package/dist/index236.js +5 -29
  43. package/dist/index237.js +5 -17
  44. package/dist/index238.js +5 -51
  45. package/dist/index239.js +5 -15
  46. package/dist/index240.js +5 -3
  47. package/dist/index241.js +5 -12
  48. package/dist/index242.js +2 -16
  49. package/dist/index243.js +2 -10
  50. package/dist/index244.js +17 -2
  51. package/dist/index245.js +12 -2
  52. package/dist/index246.js +6 -9
  53. package/dist/index247.js +106 -23
  54. package/dist/index249.js +99 -7
  55. package/dist/index25.js +3 -3
  56. package/dist/index251.js +214 -89
  57. package/dist/index252.js +7 -0
  58. package/dist/index253.js +5 -100
  59. package/dist/index254.js +10 -0
  60. package/dist/index255.js +250 -6
  61. package/dist/index256.js +50 -14
  62. package/dist/index257.js +42 -32
  63. package/dist/index258.js +5 -3
  64. package/dist/index259.js +60 -5
  65. package/dist/index260.js +2 -5
  66. package/dist/index261.js +182 -7
  67. package/dist/index262.js +10 -250
  68. package/dist/index263.js +3 -52
  69. package/dist/index264.js +2 -44
  70. package/dist/index265.js +7 -5
  71. package/dist/index266.js +7 -60
  72. package/dist/index267.js +9 -9
  73. package/dist/index268.js +23 -18
  74. package/dist/index269.js +3 -12
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +6 -6
  77. package/dist/index271.js +15 -229
  78. package/dist/index272.js +9 -2
  79. package/dist/index273.js +9 -7
  80. package/dist/index274.js +8 -7
  81. package/dist/index275.js +67 -2
  82. package/dist/index276.js +2 -5
  83. package/dist/index277.js +5 -67
  84. package/dist/index278.js +1 -1
  85. package/dist/index279.js +1 -1
  86. package/dist/index280.js +2 -4
  87. package/dist/index281.js +3 -7
  88. package/dist/index282.js +17 -11
  89. package/dist/index283.js +28 -3
  90. package/dist/{index286.js → index284.js} +1 -1
  91. package/dist/index285.js +3 -7
  92. package/dist/index287.js +7 -3
  93. package/dist/index288.js +3 -4
  94. package/dist/index289.js +7 -280
  95. package/dist/index29.js +4 -4
  96. package/dist/index290.js +11 -2
  97. package/dist/index291.js +3 -124
  98. package/dist/index292.js +4 -2
  99. package/dist/index293.js +5 -15
  100. package/dist/index294.js +280 -2
  101. package/dist/index295.js +2 -16
  102. package/dist/index296.js +125 -2
  103. package/dist/index297.js +2 -16
  104. package/dist/index298.js +15 -2
  105. package/dist/index299.js +2 -19
  106. package/dist/index300.js +16 -2
  107. package/dist/index301.js +2 -3
  108. package/dist/index302.js +16 -17
  109. package/dist/index303.js +2 -28
  110. package/dist/index304.js +18 -5
  111. package/dist/index305.js +2 -5
  112. package/dist/index306.js +19 -3
  113. package/dist/index307.js +2 -3
  114. package/dist/index308.js +27 -718
  115. package/dist/index309.js +2 -366
  116. package/dist/index31.js +2 -2
  117. package/dist/index310.js +2 -58
  118. package/dist/index311.js +1 -1
  119. package/dist/index312.js +2 -5
  120. package/dist/index313.js +2 -19
  121. package/dist/index314.js +22 -2
  122. package/dist/index316.js +6 -2
  123. package/dist/index317.js +3 -2
  124. package/dist/index318.js +3 -2
  125. package/dist/index319.js +1 -1
  126. package/dist/index320.js +5 -2
  127. package/dist/index321.js +718 -22
  128. package/dist/index322.js +368 -0
  129. package/dist/index323.js +58 -2
  130. package/dist/index324.js +1 -1
  131. package/dist/index325.js +128 -32
  132. package/dist/index326.js +369 -28
  133. package/dist/index327.js +35 -0
  134. package/dist/index328.js +27 -128
  135. package/dist/index33.js +8 -8
  136. package/dist/index330.js +8 -58
  137. package/dist/index331.js +6 -58
  138. package/dist/index332.js +8 -8
  139. package/dist/index333.js +58 -6
  140. package/dist/index334.js +57 -7
  141. package/dist/index335.js +221 -86
  142. package/dist/index336.js +6 -227
  143. package/dist/index337.js +18 -6
  144. package/dist/index338.js +5 -17
  145. package/dist/index339.js +46 -6
  146. package/dist/index340.js +92 -46
  147. package/dist/index341.js +131 -0
  148. package/dist/index343.js +3 -129
  149. package/dist/index35.js +4 -4
  150. package/dist/index37.js +92 -89
  151. package/dist/index39.js +8 -8
  152. package/dist/index41.js +2 -2
  153. package/dist/index43.js +8 -8
  154. package/dist/index45.js +8 -8
  155. package/dist/index47.js +2 -2
  156. package/dist/index49.js +3 -3
  157. package/dist/index53.js +1 -1
  158. package/dist/index55.js +1 -1
  159. package/dist/index57.js +2 -2
  160. package/dist/index61.js +3 -3
  161. package/dist/index67.js +1 -1
  162. package/dist/index79.js +4 -4
  163. package/dist/index81.js +1 -1
  164. package/dist/index83.js +2 -2
  165. package/dist/index85.js +1 -1
  166. package/dist/index87.js +1 -1
  167. package/dist/index90.js +3 -3
  168. package/dist/index92.js +2 -2
  169. package/dist/index94.js +3 -3
  170. package/dist/index96.js +1 -1
  171. package/package.json +2 -2
  172. package/dist/index211.js +0 -13
  173. package/dist/index224.js +0 -7
  174. package/dist/index226.js +0 -4
  175. package/dist/index229.js +0 -115
  176. package/dist/index248.js +0 -11
  177. package/dist/index250.js +0 -5
  178. package/dist/index315.js +0 -29
  179. package/dist/index329.js +0 -371
  180. package/dist/index342.js +0 -5
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index217.js";
3
- import G from "./index215.js";
2
+ import E from "./index227.js";
3
+ import G from "./index225.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index215.js";
2
+ import E from "./index225.js";
3
3
  /* empty css */
4
- import I from "./index217.js";
4
+ import I from "./index227.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index218.js";
6
+ import { MaskInput as z } from "./index261.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index210.js";
6
+ import { useLocale as g } from "./index220.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index212.js";
2
+ import { isCssColor as y } from "./index232.js";
3
3
  import { wait as C } from "./index135.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index212.js";
3
- import { isNil as B } from "./index245.js";
2
+ import { isCssColor as l } from "./index232.js";
3
+ import { isNil as B } from "./index260.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index243.js";
11
- import { noop as w } from "./index244.js";
12
- import { useLocale as D } from "./index210.js";
10
+ import { pickBy as W } from "./index262.js";
11
+ import { noop as w } from "./index263.js";
12
+ import { useLocale as D } from "./index220.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index210.js";
2
+ import { useLocale as f } from "./index220.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index79.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as T } from "./index246.js";
2
+ import { findRightIndex as T } from "./index267.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index211.js";
4
+ import { useUntil as ne } from "./index221.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index229.js";
10
+ import le from "./index228.js";
11
11
  /* empty css */
12
- import K from "./index247.js";
12
+ import K from "./index268.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index210.js";
12
+ import { useLocale as M } from "./index220.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index256.js";
2
+ import { findInTree as ae } from "./index271.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index255.js")).default);
56
+ b || (b = (await import("./index270.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index212.js";
2
+ import { isCssColor as I } from "./index232.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index258.js";
2
+ import { throttle as c } from "./index269.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as O, mergeModels as E, useModel as P, computed as p, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as v, createCommentVNode as y, Fragment as U, createElementVNode as l, renderSlot as s, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
2
- import { parseSize as J } from "./index209.js";
2
+ import { parseSize as J } from "./index230.js";
3
3
  import { useId as D } from "./index8.js";
4
- import { useLocale as Q } from "./index210.js";
4
+ import { useLocale as Q } from "./index220.js";
5
5
  import { useMobile as X } from "./index9.js";
6
- import { useUntil as Y } from "./index211.js";
6
+ import { useUntil as Y } from "./index221.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index267.js";
7
- import { useLocale as H } from "./index210.js";
6
+ import { debounce as X } from "./index272.js";
7
+ import { useLocale as H } from "./index220.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index210.js";
5
- import { useUntil as W } from "./index211.js";
4
+ import { useLocale as U } from "./index220.js";
5
+ import { useUntil as W } from "./index221.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index229.js";
8
+ import A from "./index228.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index208.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.11",
3
+ "version": "2.1.13",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -92,4 +92,4 @@
92
92
  "lint-staged": {
93
93
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
94
94
  }
95
- }
95
+ }
package/dist/index211.js DELETED
@@ -1,13 +0,0 @@
1
- import { ref as a, watch as c, toValue as u } from "vue";
2
- const i = (e, { initialValue: o = !1, nextValue: r = !0 } = {}) => {
3
- const t = a(o), n = c(
4
- () => u(e),
5
- (s) => {
6
- s && (t.value = r, n());
7
- }
8
- );
9
- return t;
10
- };
11
- export {
12
- i as useUntil
13
- };
package/dist/index224.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index304.js";
2
- import { __require as t } from "./index299.js";
3
- var o = t();
4
- const a = /* @__PURE__ */ r(o);
5
- export {
6
- a as default
7
- };
package/dist/index226.js DELETED
@@ -1,4 +0,0 @@
1
- const n = (t) => t == null || Number.isNaN(t) || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || t instanceof Map && [...t.keys()].length === 0 || t instanceof Set && [...t.keys()].length === 0;
2
- export {
3
- n as isEmpty
4
- };
package/dist/index229.js DELETED
@@ -1,115 +0,0 @@
1
- import { defineComponent as P, mergeModels as D, useModel as V, ref as r, watch as A, onMounted as x, computed as S, createBlock as b, openBlock as v, resolveDynamicComponent as g, normalizeStyle as z, normalizeClass as E, unref as n, withCtx as w, renderSlot as y, createCommentVNode as N, mergeProps as h, createElementVNode as C } from "vue";
2
- import { wait as F } from "./index135.js";
3
- import { useFloating as U, arrow as j } from "./index328.js";
4
- import { flip as q, offset as G, shift as H, hide as I, autoUpdate as J } from "./index329.js";
5
- const K = { class: "bb-common-popover__bubble" }, W = /* @__PURE__ */ P({
6
- __name: "CommonPopover",
7
- props: /* @__PURE__ */ D({
8
- arrowPadding: {},
9
- offset: {},
10
- block: { type: Boolean },
11
- padding: { default: 0 },
12
- placement: {},
13
- transitionDuration: { default: 250 },
14
- containerAttributes: {},
15
- dialog: { type: Boolean },
16
- renderContent: { type: Boolean, default: !0 },
17
- tag: { default: "span" }
18
- }, {
19
- modelValue: { type: Boolean, default: !1 },
20
- modelModifiers: {}
21
- }),
22
- emits: ["update:modelValue"],
23
- setup(s) {
24
- const o = s, a = V(s, "modelValue"), i = r(), t = r(), p = r(), { floatingStyles: k, placement: _, middlewareData: l, update: M } = U(
25
- i,
26
- t,
27
- {
28
- placement: o.placement,
29
- whileElementsMounted: J,
30
- middleware: [
31
- q(),
32
- G(o.offset),
33
- H({ padding: o.padding }),
34
- I(),
35
- j({
36
- element: p,
37
- padding: o.arrowPadding
38
- })
39
- ],
40
- strategy: "fixed"
41
- }
42
- ), d = (e) => {
43
- e ? (M(), o.dialog ? t.value.showModal() : t.value.showPopover()) : F(o.transitionDuration).then(() => {
44
- t.value && (o.dialog ? t.value.close() : t.value.hidePopover());
45
- });
46
- };
47
- A(a, d, { flush: "post" }), x(() => {
48
- a.value && d(a.value);
49
- });
50
- const $ = S(() => {
51
- if (l.value.arrow) {
52
- const { x: e, y: u } = l.value.arrow;
53
- return {
54
- style: {
55
- left: `${e}px`,
56
- top: `${u}px`
57
- }
58
- };
59
- }
60
- }), B = () => {
61
- a.value = !1;
62
- };
63
- return (e, u) => (v(), b(g(e.dialog ? "div" : e.tag), {
64
- ref_key: "wrapper",
65
- ref: i,
66
- class: E(["bb-common-popover", {
67
- "bb-common-popover--open": a.value && !!t.value,
68
- "bb-common-popover--block": o.block,
69
- [`bb-common-popover--${n(_)}`]: !0
70
- }]),
71
- style: z({
72
- "--transition-duration": `${o.transitionDuration}ms`
73
- })
74
- }, {
75
- default: w(() => {
76
- var m, c, f;
77
- return [
78
- y(e.$slots, "activator"),
79
- e.renderContent ? (v(), b(g(e.dialog ? "dialog" : e.tag), h({
80
- key: 0,
81
- ref_key: "content",
82
- ref: t,
83
- class: ["bb-common-popover__bubble-container", {
84
- "bb-common-popover__bubble-container--open": a.value && !!t.value
85
- }],
86
- popover: "manual",
87
- style: {
88
- ...((m = e.containerAttributes) == null ? void 0 : m.style) ?? {},
89
- ...n(k),
90
- "--arrow-offset-x": Math.round(((f = (c = n(l)) == null ? void 0 : c.arrow) == null ? void 0 : f.x) ?? 0) + "px",
91
- "--page-padding": `${e.padding}px`
92
- },
93
- tabindex: a.value ? void 0 : -1
94
- }, e.containerAttributes, { onClose: n(B) }), {
95
- default: w(() => [
96
- C("span", h({
97
- ref_key: "bubblearrow",
98
- ref: p,
99
- class: "bb-common-popover__arrow"
100
- }, $.value), null, 16),
101
- C("span", K, [
102
- y(e.$slots, "default")
103
- ])
104
- ]),
105
- _: 3
106
- }, 16, ["class", "style", "tabindex", "onClose"])) : N("", !0)
107
- ];
108
- }),
109
- _: 3
110
- }, 8, ["class", "style"]));
111
- }
112
- });
113
- export {
114
- W as default
115
- };
package/dist/index248.js DELETED
@@ -1,11 +0,0 @@
1
- import { get as o } from "./index282.js";
2
- const e = () => ({
3
- getItemValue(n, f) {
4
- if (typeof f > "u") return n;
5
- if (typeof f == "function") return f(n);
6
- if (typeof f == "string") return o(n, f);
7
- }
8
- });
9
- export {
10
- e as useItemValue
11
- };
package/dist/index250.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index305.js";
2
- const t = r;
3
- export {
4
- t as deburr
5
- };
package/dist/index315.js DELETED
@@ -1,29 +0,0 @@
1
- import { __module as i } from "./index316.js";
2
- var k = i.exports, o;
3
- function O() {
4
- return o ? i.exports : (o = 1, function(u, p) {
5
- (function(r, t) {
6
- u.exports = t();
7
- })(k, function() {
8
- var r = "week", t = "year";
9
- return function(v, d, a) {
10
- var n = d.prototype;
11
- n.week = function(e) {
12
- if (e === void 0 && (e = null), e !== null) return this.add(7 * (e - this.week()), "day");
13
- var s = this.$locale().yearStart || 1;
14
- if (this.month() === 11 && this.date() > 25) {
15
- var h = a(this).startOf(t).add(1, t).date(s), l = a(this).endOf(r);
16
- if (h.isBefore(l)) return 1;
17
- }
18
- var c = a(this).startOf(t).date(s).startOf(r).subtract(1, "millisecond"), f = this.diff(c, r, !0);
19
- return f < 0 ? a(this).startOf("week").week() : Math.ceil(f);
20
- }, n.weeks = function(e) {
21
- return e === void 0 && (e = null), this.week(e);
22
- };
23
- };
24
- });
25
- }(i), i.exports);
26
- }
27
- export {
28
- O as __require
29
- };