bt-core-app 2.2.3 → 2.2.5

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 (126) hide show
  1. package/dist/_virtual/VAlert.sass.mjs +1 -0
  2. package/dist/_virtual/VAvatar.sass.mjs +1 -0
  3. package/dist/_virtual/VBtn.sass.mjs +1 -0
  4. package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
  5. package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
  6. package/dist/_virtual/VCard.sass.mjs +1 -0
  7. package/dist/_virtual/VDivider.sass.mjs +1 -0
  8. package/dist/_virtual/VIcon.sass.mjs +1 -0
  9. package/dist/_virtual/VImg.sass.mjs +1 -0
  10. package/dist/_virtual/VList.sass.mjs +1 -0
  11. package/dist/_virtual/VListItem.sass.mjs +1 -0
  12. package/dist/_virtual/VMenu.sass.mjs +1 -0
  13. package/dist/_virtual/VOverlay.sass.mjs +1 -0
  14. package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
  15. package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
  16. package/dist/_virtual/VResponsive.sass.mjs +1 -0
  17. package/dist/_virtual/VRipple.sass.mjs +1 -0
  18. package/dist/_virtual/VToolbar.sass.mjs +1 -0
  19. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
  20. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
  21. package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
  22. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
  23. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
  24. package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
  25. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
  26. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
  27. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
  28. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
  29. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
  30. package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
  31. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
  32. package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
  33. package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
  34. package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
  35. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
  36. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
  37. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
  38. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
  39. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
  40. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
  41. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
  42. package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
  43. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
  44. package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
  45. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
  46. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
  47. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
  48. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
  49. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
  50. package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
  51. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
  52. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
  53. package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
  54. package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
  55. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
  56. package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
  57. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
  58. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
  59. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
  60. package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -0
  61. package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
  62. package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
  63. package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
  64. package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
  65. package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
  66. package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
  67. package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
  68. package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +23 -0
  69. package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
  70. package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
  71. package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
  72. package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
  73. package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
  74. package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
  75. package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
  76. package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
  77. package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
  78. package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +33 -0
  79. package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
  80. package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
  81. package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
  82. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
  83. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
  84. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
  85. package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
  86. package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
  87. package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
  88. package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
  89. package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
  90. package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
  91. package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
  92. package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
  93. package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
  94. package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
  95. package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
  96. package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
  97. package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
  98. package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
  99. package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
  100. package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
  101. package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
  102. package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
  103. package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
  104. package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
  105. package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
  106. package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
  107. package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
  108. package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
  109. package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
  110. package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
  111. package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +141 -0
  112. package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
  113. package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
  114. package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
  115. package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
  116. package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +7 -0
  117. package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
  118. package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
  119. package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +7 -0
  120. package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +301 -28
  121. package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
  122. package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
  123. package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
  124. package/dist/components/BT-Blade.vue.mjs +108 -97
  125. package/dist/style.css +1 -1
  126. package/package.json +4 -4
@@ -0,0 +1,141 @@
1
+ import { APCAcontrast as g } from "./color/APCA.mjs";
2
+ import { consoleWarn as h } from "./console.mjs";
3
+ import { has as l, chunk as c, padEnd as m } from "./helpers.mjs";
4
+ function v(t) {
5
+ return !!t && /^(#|var\(--|(rgb|hsl)a?\()/.test(t);
6
+ }
7
+ function w(t) {
8
+ return v(t) && !/^((rgb|hsl)a?\()?var\(--/.test(t);
9
+ }
10
+ const b = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, C = {
11
+ rgb: (t, n, e, s) => ({
12
+ r: t,
13
+ g: n,
14
+ b: e,
15
+ a: s
16
+ }),
17
+ rgba: (t, n, e, s) => ({
18
+ r: t,
19
+ g: n,
20
+ b: e,
21
+ a: s
22
+ }),
23
+ hsl: (t, n, e, s) => o({
24
+ h: t,
25
+ s: n,
26
+ l: e,
27
+ a: s
28
+ }),
29
+ hsla: (t, n, e, s) => o({
30
+ h: t,
31
+ s: n,
32
+ l: e,
33
+ a: s
34
+ }),
35
+ hsv: (t, n, e, s) => f({
36
+ h: t,
37
+ s: n,
38
+ v: e,
39
+ a: s
40
+ }),
41
+ hsva: (t, n, e, s) => f({
42
+ h: t,
43
+ s: n,
44
+ v: e,
45
+ a: s
46
+ })
47
+ };
48
+ function u(t) {
49
+ if (typeof t == "number")
50
+ return (isNaN(t) || t < 0 || t > 16777215) && h(`'${t}' is not a valid hex color`), {
51
+ r: (t & 16711680) >> 16,
52
+ g: (t & 65280) >> 8,
53
+ b: t & 255
54
+ };
55
+ if (typeof t == "string" && b.test(t)) {
56
+ const {
57
+ groups: n
58
+ } = t.match(b), {
59
+ fn: e,
60
+ values: s
61
+ } = n, r = s.split(/,\s*|\s*\/\s*|\s+/).map((a, i) => a.endsWith("%") || // unitless slv are %
62
+ i > 0 && i < 3 && ["hsl", "hsla", "hsv", "hsva"].includes(e) ? parseFloat(a) / 100 : parseFloat(a));
63
+ return C[e](...r);
64
+ } else if (typeof t == "string") {
65
+ let n = t.startsWith("#") ? t.slice(1) : t;
66
+ [3, 4].includes(n.length) ? n = n.split("").map((s) => s + s).join("") : [6, 8].includes(n.length) || h(`'${t}' is not a valid hex(a) color`);
67
+ const e = parseInt(n, 16);
68
+ return (isNaN(e) || e < 0 || e > 4294967295) && h(`'${t}' is not a valid hex(a) color`), M(n);
69
+ } else if (typeof t == "object") {
70
+ if (l(t, ["r", "g", "b"]))
71
+ return t;
72
+ if (l(t, ["h", "s", "l"]))
73
+ return f(d(t));
74
+ if (l(t, ["h", "s", "v"]))
75
+ return f(t);
76
+ }
77
+ throw new TypeError(`Invalid color: ${t == null ? t : String(t) || t.constructor.name}
78
+ Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`);
79
+ }
80
+ function f(t) {
81
+ const {
82
+ h: n,
83
+ s: e,
84
+ v: s,
85
+ a: r
86
+ } = t, a = (p) => {
87
+ const F = (p + n / 60) % 6;
88
+ return s - s * e * Math.max(Math.min(F, 4 - F, 1), 0);
89
+ }, i = [a(5), a(3), a(1)].map((p) => Math.round(p * 255));
90
+ return {
91
+ r: i[0],
92
+ g: i[1],
93
+ b: i[2],
94
+ a: r
95
+ };
96
+ }
97
+ function o(t) {
98
+ return f(d(t));
99
+ }
100
+ function d(t) {
101
+ const {
102
+ h: n,
103
+ s: e,
104
+ l: s,
105
+ a: r
106
+ } = t, a = s + e * Math.min(s, 1 - s), i = a === 0 ? 0 : 2 - 2 * s / a;
107
+ return {
108
+ h: n,
109
+ s: i,
110
+ v: a,
111
+ a: r
112
+ };
113
+ }
114
+ function M(t) {
115
+ t = H(t);
116
+ let [n, e, s, r] = c(t, 2).map((a) => parseInt(a, 16));
117
+ return r = r === void 0 ? r : r / 255, {
118
+ r: n,
119
+ g: e,
120
+ b: s,
121
+ a: r
122
+ };
123
+ }
124
+ function H(t) {
125
+ return t.startsWith("#") && (t = t.slice(1)), t = t.replace(/([^0-9a-f])/gi, "F"), (t.length === 3 || t.length === 4) && (t = t.split("").map((n) => n + n).join("")), t.length !== 6 && (t = m(m(t, 6), 8, "F")), t;
126
+ }
127
+ function N(t) {
128
+ const n = Math.abs(g(u(0), u(t)));
129
+ return Math.abs(g(u(16777215), u(t))) > Math.min(n, 50) ? "#fff" : "#000";
130
+ }
131
+ export {
132
+ d as HSLtoHSV,
133
+ o as HSLtoRGB,
134
+ f as HSVtoRGB,
135
+ M as HexToRGB,
136
+ N as getForeground,
137
+ v as isCssColor,
138
+ w as isParsableColor,
139
+ u as parseColor,
140
+ H as parseHex
141
+ };
@@ -1,7 +1,15 @@
1
- import { warn as n } from "vue";
2
- function t(o) {
3
- n(`Vuetify: ${o}`);
1
+ import { warn as i } from "vue";
2
+ function s(r) {
3
+ i(`Vuetify: ${r}`);
4
+ }
5
+ function t(r) {
6
+ i(`Vuetify error: ${r}`);
7
+ }
8
+ function u(r, o) {
9
+ o = Array.isArray(o) ? o.slice(0, -1).map((f) => `'${f}'`).join(", ") + ` or '${o.at(-1)}'` : `'${o}'`, i(`[Vuetify UPGRADE] '${r}' is deprecated, use ${o} instead.`);
4
10
  }
5
11
  export {
6
- t as consoleWarn
12
+ t as consoleError,
13
+ s as consoleWarn,
14
+ u as deprecate
7
15
  };
@@ -0,0 +1,31 @@
1
+ import { makeComponentProps as i } from "../composables/component.mjs";
2
+ import { capitalize as l, camelize as g, h as o } from "vue";
3
+ import { genericComponent as p } from "./defineComponent.mjs";
4
+ function d(n) {
5
+ let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", m = arguments.length > 2 ? arguments[2] : void 0;
6
+ return p()({
7
+ name: m ?? l(g(n.replace(/__/g, "-"))),
8
+ props: {
9
+ tag: {
10
+ type: String,
11
+ default: a
12
+ },
13
+ ...i()
14
+ },
15
+ setup(e, u) {
16
+ let {
17
+ slots: t
18
+ } = u;
19
+ return () => {
20
+ var r;
21
+ return o(e.tag, {
22
+ class: [n, e.class],
23
+ style: e.style
24
+ }, (r = t.default) == null ? void 0 : r.call(t));
25
+ };
26
+ }
27
+ });
28
+ }
29
+ export {
30
+ d as createSimpleFunctional
31
+ };
@@ -0,0 +1,37 @@
1
+ import { isPrimitive as s } from "./helpers.mjs";
2
+ function f(e, t, n, r) {
3
+ if (!n || s(e) || s(t))
4
+ return;
5
+ const i = n.get(e);
6
+ if (i)
7
+ i.set(t, r);
8
+ else {
9
+ const o = /* @__PURE__ */ new WeakMap();
10
+ o.set(t, r), n.set(e, o);
11
+ }
12
+ }
13
+ function c(e, t, n) {
14
+ var o, u;
15
+ if (!n || s(e) || s(t))
16
+ return null;
17
+ const r = (o = n.get(e)) == null ? void 0 : o.get(t);
18
+ if (typeof r == "boolean")
19
+ return r;
20
+ const i = (u = n.get(t)) == null ? void 0 : u.get(e);
21
+ return typeof i == "boolean" ? i : null;
22
+ }
23
+ function l(e, t) {
24
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : /* @__PURE__ */ new WeakMap();
25
+ if (e === t)
26
+ return !0;
27
+ if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t))
28
+ return !1;
29
+ const r = Object.keys(e);
30
+ if (r.length !== Object.keys(t).length)
31
+ return !1;
32
+ const i = c(e, t, n);
33
+ return i || (f(e, t, n, !0), r.every((o) => l(e[o], t[o], n)));
34
+ }
35
+ export {
36
+ l as deepEqual
37
+ };
@@ -0,0 +1,14 @@
1
+ function e(t) {
2
+ if (typeof t.getRootNode != "function") {
3
+ for (; t.parentNode; )
4
+ t = t.parentNode;
5
+ return t !== document ? null : document;
6
+ }
7
+ const o = t.getRootNode();
8
+ return o !== document && o.getRootNode({
9
+ composed: !0
10
+ }) !== document ? null : o;
11
+ }
12
+ export {
13
+ e as attachedRoot
14
+ };
@@ -0,0 +1,7 @@
1
+ import "vue";
2
+ const c = "cubic-bezier(0.4, 0, 0.2, 1)", i = "cubic-bezier(0.0, 0, 0.2, 1)", a = "cubic-bezier(0.4, 0, 1, 1)";
3
+ export {
4
+ a as acceleratedEasing,
5
+ i as deceleratedEasing,
6
+ c as standardEasing
7
+ };
@@ -1,10 +1,17 @@
1
1
  import { getCurrentInstance as r } from "vue";
2
- function u(e, n) {
3
- const t = r();
4
- if (!t)
5
- throw new Error(`[Vuetify] ${e} ${n || "must be called from inside a setup function"}`);
6
- return t;
2
+ import { toKebabCase as a } from "./helpers.mjs";
3
+ function s(t, e) {
4
+ const n = r();
5
+ if (!n)
6
+ throw new Error(`[Vuetify] ${t} ${e || "must be called from inside a setup function"}`);
7
+ return n;
8
+ }
9
+ function m() {
10
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables";
11
+ const e = s(t).type;
12
+ return a((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name));
7
13
  }
8
14
  export {
9
- u as getCurrentInstance
15
+ s as getCurrentInstance,
16
+ m as getCurrentInstanceName
10
17
  };
@@ -0,0 +1,34 @@
1
+ function i(t) {
2
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
3
+ for (; t; ) {
4
+ if (n ? l(t) : r(t))
5
+ return t;
6
+ t = t.parentElement;
7
+ }
8
+ return document.scrollingElement;
9
+ }
10
+ function c(t, n) {
11
+ const e = [];
12
+ if (n && t && !n.contains(t))
13
+ return e;
14
+ for (; t && (r(t) && e.push(t), t !== n); )
15
+ t = t.parentElement;
16
+ return e;
17
+ }
18
+ function r(t) {
19
+ if (!t || t.nodeType !== Node.ELEMENT_NODE)
20
+ return !1;
21
+ const n = window.getComputedStyle(t), e = n.overflowY === "scroll" || n.overflowY === "auto" && t.scrollHeight > t.clientHeight, o = n.overflowX === "scroll" || n.overflowX === "auto" && t.scrollWidth > t.clientWidth;
22
+ return e || o;
23
+ }
24
+ function l(t) {
25
+ if (!t || t.nodeType !== Node.ELEMENT_NODE)
26
+ return !1;
27
+ const n = window.getComputedStyle(t);
28
+ return ["scroll", "auto"].includes(n.overflowY);
29
+ }
30
+ export {
31
+ i as getScrollParent,
32
+ c as getScrollParents,
33
+ r as hasScrollbar
34
+ };
@@ -0,0 +1,7 @@
1
+ const e = typeof window < "u", o = e && "IntersectionObserver" in window, n = e && "matchMedia" in window && typeof window.matchMedia == "function", t = () => n && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
2
+ export {
3
+ e as IN_BROWSER,
4
+ t as PREFERS_REDUCED_MOTION,
5
+ o as SUPPORTS_INTERSECTION,
6
+ n as SUPPORTS_MATCH_MEDIA
7
+ };
@@ -1,44 +1,317 @@
1
- import "vue";
2
- function s(e) {
1
+ import { Fragment as O, reactive as P, watchEffect as A, toRef as C, capitalize as S, shallowRef as b } from "vue";
2
+ import { consoleError as v } from "./console.mjs";
3
+ import { IN_BROWSER as p } from "./globals.mjs";
4
+ function g(e, t, n) {
5
+ x(e, t), t.set(e, n);
6
+ }
7
+ function x(e, t) {
8
+ if (t.has(e))
9
+ throw new TypeError("Cannot initialize the same private elements twice on an object");
10
+ }
11
+ function m(e, t, n) {
12
+ return e.set(y(e, t), n), n;
13
+ }
14
+ function o(e, t) {
15
+ return e.get(y(e, t));
16
+ }
17
+ function y(e, t, n) {
18
+ if (typeof e == "function" ? e === t : e.has(t))
19
+ return arguments.length < 3 ? t : n;
20
+ throw new TypeError("Private element is not present on this object");
21
+ }
22
+ function w(e, t, n) {
23
+ const r = t.length - 1;
24
+ if (r < 0)
25
+ return e === void 0 ? n : e;
26
+ for (let i = 0; i < r; i++) {
27
+ if (e == null)
28
+ return n;
29
+ e = e[t[i]];
30
+ }
31
+ return e == null || e[t[r]] === void 0 ? n : e[t[r]];
32
+ }
33
+ function T(e, t, n) {
34
+ return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""), w(e, t.split("."), n));
35
+ }
36
+ function L(e, t, n) {
37
+ if (t === !0)
38
+ return e === void 0 ? n : e;
39
+ if (t == null || typeof t == "boolean")
40
+ return n;
41
+ if (e !== Object(e)) {
42
+ if (typeof t != "function")
43
+ return n;
44
+ const i = t(e, n);
45
+ return typeof i > "u" ? n : i;
46
+ }
47
+ if (typeof t == "string")
48
+ return T(e, t, n);
49
+ if (Array.isArray(t))
50
+ return w(e, t, n);
51
+ if (typeof t != "function")
52
+ return n;
53
+ const r = t(e, n);
54
+ return typeof r > "u" ? n : r;
55
+ }
56
+ function W(e) {
57
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px";
58
+ if (e == null || e === "")
59
+ return;
60
+ const n = Number(e);
61
+ return isNaN(n) ? String(e) : isFinite(n) ? `${n}${t}` : void 0;
62
+ }
63
+ function X(e) {
64
+ return e !== null && typeof e == "object" && !Array.isArray(e);
65
+ }
66
+ function h(e) {
3
67
  let t;
4
68
  return e !== null && typeof e == "object" && ((t = Object.getPrototypeOf(e)) === Object.prototype || t === null);
5
69
  }
6
- function f(e, t) {
7
- const o = {};
8
- for (const n of t)
9
- Object.prototype.hasOwnProperty.call(e, n) && (o[n] = e[n]);
10
- return o;
70
+ function $(e) {
71
+ if (e && "$el" in e) {
72
+ const t = e.$el;
73
+ return (t == null ? void 0 : t.nodeType) === Node.TEXT_NODE ? t.nextElementSibling : t;
74
+ }
75
+ return e;
11
76
  }
12
- function i() {
13
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 ? arguments[2] : void 0;
77
+ function Y(e, t) {
78
+ return t.every((n) => e.hasOwnProperty(n));
79
+ }
80
+ function U(e, t) {
14
81
  const n = {};
15
- for (const r in e)
16
- n[r] = e[r];
17
- for (const r in t) {
18
- const c = e[r], a = t[r];
19
- if (s(c) && s(a)) {
20
- n[r] = i(c, a, o);
82
+ for (const r of t)
83
+ Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
84
+ return n;
85
+ }
86
+ function V(e, t) {
87
+ const n = {
88
+ ...e
89
+ };
90
+ return t.forEach((r) => delete n[r]), n;
91
+ }
92
+ const R = /^on[^a-z]/, j = (e) => R.test(e);
93
+ function q(e) {
94
+ return e == null ? [] : Array.isArray(e) ? e : [e];
95
+ }
96
+ function G(e) {
97
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1;
98
+ return Math.max(t, Math.min(n, e));
99
+ }
100
+ function K(e, t) {
101
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
102
+ return e + n.repeat(Math.max(0, t - e.length));
103
+ }
104
+ function Z(e) {
105
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
106
+ const n = [];
107
+ let r = 0;
108
+ for (; r < e.length; )
109
+ n.push(e.substr(r, t)), r += t;
110
+ return n;
111
+ }
112
+ function _() {
113
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
114
+ const r = {};
115
+ for (const i in e)
116
+ r[i] = e[i];
117
+ for (const i in t) {
118
+ const u = e[i], s = t[i];
119
+ if (h(u) && h(s)) {
120
+ r[i] = _(u, s, n);
21
121
  continue;
22
122
  }
23
- if (o && Array.isArray(c) && Array.isArray(a)) {
24
- n[r] = o(c, a);
123
+ if (n && Array.isArray(u) && Array.isArray(s)) {
124
+ r[i] = n(u, s);
25
125
  continue;
26
126
  }
27
- n[r] = a;
127
+ r[i] = s;
28
128
  }
29
- return n;
129
+ return r;
130
+ }
131
+ function F(e) {
132
+ return e.map((t) => t.type === O ? F(t.children) : t).flat();
30
133
  }
31
- function u() {
134
+ function d() {
32
135
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
33
- if (u.cache.has(e))
34
- return u.cache.get(e);
136
+ if (d.cache.has(e))
137
+ return d.cache.get(e);
35
138
  const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase();
36
- return u.cache.set(e, t), t;
139
+ return d.cache.set(e, t), t;
140
+ }
141
+ d.cache = /* @__PURE__ */ new Map();
142
+ function a(e, t) {
143
+ if (!t || typeof t != "object")
144
+ return [];
145
+ if (Array.isArray(t))
146
+ return t.map((n) => a(e, n)).flat(1);
147
+ if (t.suspense)
148
+ return a(e, t.ssContent);
149
+ if (Array.isArray(t.children))
150
+ return t.children.map((n) => a(e, n)).flat(1);
151
+ if (t.component) {
152
+ if (Object.getOwnPropertyDescriptor(t.component.provides, e))
153
+ return [t.component];
154
+ if (t.component.subTree)
155
+ return a(e, t.component.subTree).flat(1);
156
+ }
157
+ return [];
158
+ }
159
+ var f = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap();
160
+ class H {
161
+ constructor(t) {
162
+ g(this, f, []), g(this, c, 0), this.size = t;
163
+ }
164
+ get isFull() {
165
+ return o(f, this).length === this.size;
166
+ }
167
+ push(t) {
168
+ o(f, this)[o(c, this)] = t, m(c, this, (o(c, this) + 1) % this.size);
169
+ }
170
+ values() {
171
+ return o(f, this).slice(o(c, this)).concat(o(f, this).slice(0, o(c, this)));
172
+ }
173
+ clear() {
174
+ o(f, this).length = 0, m(c, this, 0);
175
+ }
176
+ }
177
+ function J(e) {
178
+ const t = P({});
179
+ A(() => {
180
+ const r = e();
181
+ for (const i in r)
182
+ t[i] = r[i];
183
+ }, {
184
+ flush: "sync"
185
+ });
186
+ const n = {};
187
+ for (const r in t)
188
+ n[r] = C(() => t[r]);
189
+ return n;
190
+ }
191
+ function Q(e, t) {
192
+ return e.includes(t);
193
+ }
194
+ function k(e) {
195
+ return e[2].toLowerCase() + e.slice(3);
196
+ }
197
+ const ee = () => [Function, Array];
198
+ function te(e, t) {
199
+ return t = "on" + S(t), !!(e[t] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]);
200
+ }
201
+ function N(e) {
202
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
203
+ const n = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "details:not(:has(> summary))", "details > summary", "[tabindex]", '[contenteditable]:not([contenteditable="false"])', "audio[controls]", "video[controls]"].map((i) => `${i}${t ? ':not([tabindex="-1"])' : ""}:not([disabled], [inert])`).join(", ");
204
+ let r;
205
+ try {
206
+ r = [...e.querySelectorAll(n)];
207
+ } catch (i) {
208
+ return v(String(i)), [];
209
+ }
210
+ return r.filter((i) => !i.closest("[inert]")).filter((i) => !!i.offsetParent || i.getClientRects().length > 0).filter((i) => {
211
+ var u, s;
212
+ return !((u = i.parentElement) != null && u.closest("details:not([open])")) || i.tagName === "SUMMARY" && ((s = i.parentElement) == null ? void 0 : s.tagName) === "DETAILS";
213
+ });
214
+ }
215
+ function z(e, t, n) {
216
+ let r, i = e.indexOf(document.activeElement);
217
+ const u = t === "next" ? 1 : -1;
218
+ do
219
+ i += u, r = e[i];
220
+ while ((!r || r.offsetParent == null || !((n == null ? void 0 : n(r)) ?? !0)) && i < e.length && i >= 0);
221
+ return r;
222
+ }
223
+ function B(e, t) {
224
+ var r, i, u, s;
225
+ const n = N(e);
226
+ if (t == null)
227
+ (e === document.activeElement || !e.contains(document.activeElement)) && ((r = n[0]) == null || r.focus());
228
+ else if (t === "first")
229
+ (i = n[0]) == null || i.focus();
230
+ else if (t === "last")
231
+ (u = n.at(-1)) == null || u.focus();
232
+ else if (typeof t == "number")
233
+ (s = n[t]) == null || s.focus();
234
+ else {
235
+ const l = z(n, t);
236
+ l ? l.focus() : B(e, t === "next" ? "first" : "last");
237
+ }
238
+ }
239
+ function ne(e, t) {
240
+ if (!(p && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports(`selector(${t})`)))
241
+ return null;
242
+ try {
243
+ return !!e && e.matches(t);
244
+ } catch {
245
+ return null;
246
+ }
247
+ }
248
+ function re(e, t) {
249
+ if (!p || e === 0)
250
+ return t(), () => {
251
+ };
252
+ const n = window.setTimeout(t, e);
253
+ return () => window.clearTimeout(n);
254
+ }
255
+ function ie(e, t) {
256
+ const n = e.clientX, r = e.clientY, i = t.getBoundingClientRect(), u = i.left, s = i.top, l = i.right, E = i.bottom;
257
+ return n >= u && n <= l && r >= s && r <= E;
258
+ }
259
+ function ue() {
260
+ const e = b(), t = (n) => {
261
+ e.value = n;
262
+ };
263
+ return Object.defineProperty(t, "value", {
264
+ enumerable: !0,
265
+ get: () => e.value,
266
+ set: (n) => e.value = n
267
+ }), Object.defineProperty(t, "el", {
268
+ enumerable: !0,
269
+ get: () => $(e.value)
270
+ }), t;
271
+ }
272
+ function se(e) {
273
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint";
274
+ }
275
+ function oe(e) {
276
+ const t = ["checked", "disabled"];
277
+ return Object.fromEntries(Object.entries(e).filter((n) => {
278
+ let [r, i] = n;
279
+ return t.includes(r) ? !!i : i !== void 0;
280
+ }));
37
281
  }
38
- u.cache = /* @__PURE__ */ new Map();
39
282
  export {
40
- s as isPlainObject,
41
- i as mergeDeep,
42
- f as pick,
43
- u as toKebabCase
283
+ H as CircularBuffer,
284
+ ee as EventProp,
285
+ Z as chunk,
286
+ G as clamp,
287
+ W as convertToUnit,
288
+ re as defer,
289
+ J as destructComputed,
290
+ k as eventName,
291
+ a as findChildrenWithProvide,
292
+ F as flattenFragments,
293
+ B as focusChild,
294
+ N as focusableChildren,
295
+ w as getNestedValue,
296
+ z as getNextElement,
297
+ T as getObjectValueByPath,
298
+ L as getPropertyFromItem,
299
+ Y as has,
300
+ te as hasEvent,
301
+ Q as includes,
302
+ ie as isClickInsideElement,
303
+ X as isObject,
304
+ j as isOn,
305
+ h as isPlainObject,
306
+ se as isPrimitive,
307
+ ne as matchesSelector,
308
+ _ as mergeDeep,
309
+ V as omit,
310
+ oe as onlyDefinedProps,
311
+ K as padEnd,
312
+ U as pick,
313
+ $ as refElement,
314
+ ue as templateRef,
315
+ d as toKebabCase,
316
+ q as wrapInArray
44
317
  };
@@ -0,0 +1,11 @@
1
+ function i(t) {
2
+ for (; t; ) {
3
+ if (window.getComputedStyle(t).position === "fixed")
4
+ return !0;
5
+ t = t.offsetParent;
6
+ }
7
+ return !1;
8
+ }
9
+ export {
10
+ i as isFixedPosition
11
+ };