overview-components 1.0.97 → 1.0.99

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 (113) hide show
  1. package/dist/index.d.ts +27 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +10180 -40
  4. package/dist/shared/lit-icon-button.d.ts +1 -1
  5. package/dist/shared/lit-icon-button.d.ts.map +1 -1
  6. package/dist/shared/lit-loading-bar.d.ts +3 -3
  7. package/dist/shared/lit-loading-bar.d.ts.map +1 -1
  8. package/dist/style.css +1 -0
  9. package/package.json +1 -1
  10. package/dist/_virtual/FileSaver.min.js +0 -4
  11. package/dist/_virtual/_commonjsHelpers.js +0 -8
  12. package/dist/_virtual/lodash.js +0 -4
  13. package/dist/assets/generated/locales/de.js +0 -73
  14. package/dist/assets/generated/locales/en.js +0 -73
  15. package/dist/assets/generated/locales/fr.js +0 -73
  16. package/dist/assets/generated/locales/hr.js +0 -73
  17. package/dist/assets/generated/locales/it.js +0 -73
  18. package/dist/assets/generated/locales/pl.js +0 -73
  19. package/dist/assets/generated/locales/ro.js +0 -73
  20. package/dist/assets/generated/locales/sk.js +0 -73
  21. package/dist/assets/generated/locales/sr.js +0 -73
  22. package/dist/components/lit-attachments-tab.js +0 -519
  23. package/dist/components/lit-badge.js +0 -100
  24. package/dist/components/lit-case-variables-tab.js +0 -727
  25. package/dist/components/lit-chart.js +0 -395
  26. package/dist/components/lit-data-grid-tanstack.js +0 -1733
  27. package/dist/components/lit-filter-modal.js +0 -312
  28. package/dist/components/lit-multiselect-item.js +0 -530
  29. package/dist/components/lit-section-tab.js +0 -133
  30. package/dist/components/lit-tabs-overview.js +0 -304
  31. package/dist/components/react-wrappers/attachments-tab.js +0 -14
  32. package/dist/components/react-wrappers/badge.js +0 -14
  33. package/dist/components/react-wrappers/button.js +0 -14
  34. package/dist/components/react-wrappers/case-variables-tab.js +0 -14
  35. package/dist/components/react-wrappers/chart.js +0 -14
  36. package/dist/components/react-wrappers/data-grid-tanstack.js +0 -14
  37. package/dist/components/react-wrappers/filter-modal.js +0 -14
  38. package/dist/components/react-wrappers/progress-bar.js +0 -14
  39. package/dist/components/react-wrappers/section-tab.js +0 -14
  40. package/dist/components/react-wrappers/tabs-overview.js +0 -14
  41. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -432
  42. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -306
  43. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -127
  44. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -127
  45. package/dist/node_modules/@kurkle/color/dist/color.esm.js +0 -448
  46. package/dist/node_modules/@lit/localize/init/install.js +0 -11
  47. package/dist/node_modules/@lit/localize/init/runtime.js +0 -42
  48. package/dist/node_modules/@lit/localize/internal/default-msg.js +0 -10
  49. package/dist/node_modules/@lit/localize/internal/deferred.js +0 -21
  50. package/dist/node_modules/@lit/localize/internal/fnv1a64.js +0 -17
  51. package/dist/node_modules/@lit/localize/internal/id-generation.js +0 -14
  52. package/dist/node_modules/@lit/localize/internal/locale-status-event.js +0 -9
  53. package/dist/node_modules/@lit/localize/internal/runtime-msg.js +0 -42
  54. package/dist/node_modules/@lit/localize/internal/str-tag.js +0 -15
  55. package/dist/node_modules/@lit/react/create-component.js +0 -35
  56. package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -50
  57. package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
  58. package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
  59. package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
  60. package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
  61. package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
  62. package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -250
  63. package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +0 -104
  64. package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +0 -40
  65. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -1956
  66. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -490
  67. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  68. package/dist/node_modules/chart.js/dist/chart.js +0 -7122
  69. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js +0 -1691
  70. package/dist/node_modules/file-saver/dist/FileSaver.min.js +0 -74
  71. package/dist/node_modules/lit-element/lit-element.js +0 -51
  72. package/dist/node_modules/lit-html/async-directive.js +0 -69
  73. package/dist/node_modules/lit-html/directive-helpers.js +0 -45
  74. package/dist/node_modules/lit-html/directive.js +0 -27
  75. package/dist/node_modules/lit-html/directives/ref.js +0 -42
  76. package/dist/node_modules/lit-html/directives/repeat.js +0 -61
  77. package/dist/node_modules/lit-html/directives/style-map.js +0 -36
  78. package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
  79. package/dist/node_modules/lit-html/lit-html.js +0 -243
  80. package/dist/node_modules/lodash/lodash.js +0 -3678
  81. package/dist/node_modules/luxon/src/datetime.js +0 -1793
  82. package/dist/node_modules/luxon/src/duration.js +0 -723
  83. package/dist/node_modules/luxon/src/errors.js +0 -40
  84. package/dist/node_modules/luxon/src/impl/conversions.js +0 -92
  85. package/dist/node_modules/luxon/src/impl/diff.js +0 -36
  86. package/dist/node_modules/luxon/src/impl/digits.js +0 -74
  87. package/dist/node_modules/luxon/src/impl/english.js +0 -138
  88. package/dist/node_modules/luxon/src/impl/formats.js +0 -150
  89. package/dist/node_modules/luxon/src/impl/formatter.js +0 -245
  90. package/dist/node_modules/luxon/src/impl/invalid.js +0 -11
  91. package/dist/node_modules/luxon/src/impl/locale.js +0 -282
  92. package/dist/node_modules/luxon/src/impl/regexParser.js +0 -202
  93. package/dist/node_modules/luxon/src/impl/tokenParser.js +0 -329
  94. package/dist/node_modules/luxon/src/impl/util.js +0 -206
  95. package/dist/node_modules/luxon/src/impl/zoneUtil.js +0 -19
  96. package/dist/node_modules/luxon/src/info.js +0 -180
  97. package/dist/node_modules/luxon/src/interval.js +0 -466
  98. package/dist/node_modules/luxon/src/settings.js +0 -150
  99. package/dist/node_modules/luxon/src/zone.js +0 -88
  100. package/dist/node_modules/luxon/src/zones/IANAZone.js +0 -178
  101. package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -125
  102. package/dist/node_modules/luxon/src/zones/invalidZone.js +0 -41
  103. package/dist/node_modules/luxon/src/zones/systemZone.js +0 -47
  104. package/dist/node_modules/sortablejs/modular/sortable.esm.js +0 -1261
  105. package/dist/shared/lit-button.js +0 -142
  106. package/dist/shared/lit-progress-bar.js +0 -83
  107. package/dist/shared/simple-tooltip.js +0 -174
  108. package/dist/shared/styles/button-shared-styles.js +0 -205
  109. package/dist/utils/currency.js +0 -13
  110. package/dist/utils/custom-filters.js +0 -50
  111. package/dist/utils/date.js +0 -15
  112. package/dist/utils/getOperatorByType.js +0 -52
  113. package/dist/utils/localization.js +0 -30
@@ -1,306 +0,0 @@
1
- import { offset as Z, flip as X, shift as tt, size as et, arrow as it, computePosition as ot } from "../../core/dist/floating-ui.core.js";
2
- import { createCoords as d, round as W, max as v, min as k, rectToClientRect as S } from "../../utils/dist/floating-ui.utils.js";
3
- import { isElement as g, getDocumentElement as y, getComputedStyle as a, isHTMLElement as w, getWindow as m, isTopLayer as F, getParentNode as O, isLastTraversableNode as E, isTableElement as nt, isContainingBlock as P, getContainingBlock as st, getNodeName as N, isOverflowElement as H, getNodeScroll as B, getOverflowAncestors as rt, getFrameElement as I, isWebKit as _ } from "../../utils/dist/floating-ui.utils.dom.js";
4
- function K(t) {
5
- const e = a(t);
6
- let o = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
7
- const n = w(t), r = n ? t.offsetWidth : o, s = n ? t.offsetHeight : i, c = W(o) !== r || W(i) !== s;
8
- return c && (o = r, i = s), {
9
- width: o,
10
- height: i,
11
- $: c
12
- };
13
- }
14
- function j(t) {
15
- return g(t) ? t : t.contextElement;
16
- }
17
- function T(t) {
18
- const e = j(t);
19
- if (!w(e))
20
- return d(1);
21
- const o = e.getBoundingClientRect(), {
22
- width: i,
23
- height: n,
24
- $: r
25
- } = K(e);
26
- let s = (r ? W(o.width) : o.width) / i, c = (r ? W(o.height) : o.height) / n;
27
- return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
28
- x: s,
29
- y: c
30
- };
31
- }
32
- const ct = /* @__PURE__ */ d(0);
33
- function q(t) {
34
- const e = m(t);
35
- return !_() || !e.visualViewport ? ct : {
36
- x: e.visualViewport.offsetLeft,
37
- y: e.visualViewport.offsetTop
38
- };
39
- }
40
- function ft(t, e, o) {
41
- return e === void 0 && (e = !1), !o || e && o !== m(t) ? !1 : e;
42
- }
43
- function R(t, e, o, i) {
44
- e === void 0 && (e = !1), o === void 0 && (o = !1);
45
- const n = t.getBoundingClientRect(), r = j(t);
46
- let s = d(1);
47
- e && (i ? g(i) && (s = T(i)) : s = T(t));
48
- const c = ft(r, o, i) ? q(r) : d(0);
49
- let f = (n.left + c.x) / s.x, l = (n.top + c.y) / s.y, u = n.width / s.x, h = n.height / s.y;
50
- if (r) {
51
- const x = m(r), L = i && g(i) ? m(i) : i;
52
- let b = x, p = I(b);
53
- for (; p && i && L !== b; ) {
54
- const C = T(p), $ = p.getBoundingClientRect(), A = a(p), U = $.left + (p.clientLeft + parseFloat(A.paddingLeft)) * C.x, Y = $.top + (p.clientTop + parseFloat(A.paddingTop)) * C.y;
55
- f *= C.x, l *= C.y, u *= C.x, h *= C.y, f += U, l += Y, b = m(p), p = I(b);
56
- }
57
- }
58
- return S({
59
- width: u,
60
- height: h,
61
- x: f,
62
- y: l
63
- });
64
- }
65
- function V(t, e) {
66
- const o = B(t).scrollLeft;
67
- return e ? e.left + o : R(y(t)).left + o;
68
- }
69
- function G(t, e, o) {
70
- o === void 0 && (o = !1);
71
- const i = t.getBoundingClientRect(), n = i.left + e.scrollLeft - (o ? 0 : (
72
- // RTL <body> scrollbar.
73
- V(t, i)
74
- )), r = i.top + e.scrollTop;
75
- return {
76
- x: n,
77
- y: r
78
- };
79
- }
80
- function lt(t) {
81
- let {
82
- elements: e,
83
- rect: o,
84
- offsetParent: i,
85
- strategy: n
86
- } = t;
87
- const r = n === "fixed", s = y(i), c = e ? F(e.floating) : !1;
88
- if (i === s || c && r)
89
- return o;
90
- let f = {
91
- scrollLeft: 0,
92
- scrollTop: 0
93
- }, l = d(1);
94
- const u = d(0), h = w(i);
95
- if ((h || !h && !r) && ((N(i) !== "body" || H(s)) && (f = B(i)), w(i))) {
96
- const L = R(i);
97
- l = T(i), u.x = L.x + i.clientLeft, u.y = L.y + i.clientTop;
98
- }
99
- const x = s && !h && !r ? G(s, f, !0) : d(0);
100
- return {
101
- width: o.width * l.x,
102
- height: o.height * l.y,
103
- x: o.x * l.x - f.scrollLeft * l.x + u.x + x.x,
104
- y: o.y * l.y - f.scrollTop * l.y + u.y + x.y
105
- };
106
- }
107
- function ut(t) {
108
- return Array.from(t.getClientRects());
109
- }
110
- function ht(t) {
111
- const e = y(t), o = B(t), i = t.ownerDocument.body, n = v(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = v(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
112
- let s = -o.scrollLeft + V(t);
113
- const c = -o.scrollTop;
114
- return a(i).direction === "rtl" && (s += v(e.clientWidth, i.clientWidth) - n), {
115
- width: n,
116
- height: r,
117
- x: s,
118
- y: c
119
- };
120
- }
121
- function dt(t, e) {
122
- const o = m(t), i = y(t), n = o.visualViewport;
123
- let r = i.clientWidth, s = i.clientHeight, c = 0, f = 0;
124
- if (n) {
125
- r = n.width, s = n.height;
126
- const l = _();
127
- (!l || l && e === "fixed") && (c = n.offsetLeft, f = n.offsetTop);
128
- }
129
- return {
130
- width: r,
131
- height: s,
132
- x: c,
133
- y: f
134
- };
135
- }
136
- function gt(t, e) {
137
- const o = R(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, r = w(t) ? T(t) : d(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = n * r.x, l = i * r.y;
138
- return {
139
- width: s,
140
- height: c,
141
- x: f,
142
- y: l
143
- };
144
- }
145
- function z(t, e, o) {
146
- let i;
147
- if (e === "viewport")
148
- i = dt(t, o);
149
- else if (e === "document")
150
- i = ht(y(t));
151
- else if (g(e))
152
- i = gt(e, o);
153
- else {
154
- const n = q(t);
155
- i = {
156
- x: e.x - n.x,
157
- y: e.y - n.y,
158
- width: e.width,
159
- height: e.height
160
- };
161
- }
162
- return S(i);
163
- }
164
- function J(t, e) {
165
- const o = O(t);
166
- return o === e || !g(o) || E(o) ? !1 : a(o).position === "fixed" || J(o, e);
167
- }
168
- function at(t, e) {
169
- const o = e.get(t);
170
- if (o)
171
- return o;
172
- let i = rt(t, []).filter((c) => g(c) && N(c) !== "body"), n = null;
173
- const r = a(t).position === "fixed";
174
- let s = r ? O(t) : t;
175
- for (; g(s) && !E(s); ) {
176
- const c = a(s), f = P(s);
177
- !f && c.position === "fixed" && (n = null), (r ? !f && !n : !f && c.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || H(s) && !f && J(t, s)) ? i = i.filter((u) => u !== s) : n = c, s = O(s);
178
- }
179
- return e.set(t, i), i;
180
- }
181
- function pt(t) {
182
- let {
183
- element: e,
184
- boundary: o,
185
- rootBoundary: i,
186
- strategy: n
187
- } = t;
188
- const s = [...o === "clippingAncestors" ? F(e) ? [] : at(e, this._c) : [].concat(o), i], c = s[0], f = s.reduce((l, u) => {
189
- const h = z(e, u, n);
190
- return l.top = v(h.top, l.top), l.right = k(h.right, l.right), l.bottom = k(h.bottom, l.bottom), l.left = v(h.left, l.left), l;
191
- }, z(e, c, n));
192
- return {
193
- width: f.right - f.left,
194
- height: f.bottom - f.top,
195
- x: f.left,
196
- y: f.top
197
- };
198
- }
199
- function wt(t) {
200
- const {
201
- width: e,
202
- height: o
203
- } = K(t);
204
- return {
205
- width: e,
206
- height: o
207
- };
208
- }
209
- function yt(t, e, o) {
210
- const i = w(e), n = y(e), r = o === "fixed", s = R(t, !0, r, e);
211
- let c = {
212
- scrollLeft: 0,
213
- scrollTop: 0
214
- };
215
- const f = d(0);
216
- if (i || !i && !r)
217
- if ((N(e) !== "body" || H(n)) && (c = B(e)), i) {
218
- const x = R(e, !0, r, e);
219
- f.x = x.x + e.clientLeft, f.y = x.y + e.clientTop;
220
- } else n && (f.x = V(n));
221
- const l = n && !i && !r ? G(n, c) : d(0), u = s.left + c.scrollLeft - f.x - l.x, h = s.top + c.scrollTop - f.y - l.y;
222
- return {
223
- x: u,
224
- y: h,
225
- width: s.width,
226
- height: s.height
227
- };
228
- }
229
- function D(t) {
230
- return a(t).position === "static";
231
- }
232
- function M(t, e) {
233
- if (!w(t) || a(t).position === "fixed")
234
- return null;
235
- if (e)
236
- return e(t);
237
- let o = t.offsetParent;
238
- return y(t) === o && (o = o.ownerDocument.body), o;
239
- }
240
- function Q(t, e) {
241
- const o = m(t);
242
- if (F(t))
243
- return o;
244
- if (!w(t)) {
245
- let n = O(t);
246
- for (; n && !E(n); ) {
247
- if (g(n) && !D(n))
248
- return n;
249
- n = O(n);
250
- }
251
- return o;
252
- }
253
- let i = M(t, e);
254
- for (; i && nt(i) && D(i); )
255
- i = M(i, e);
256
- return i && E(i) && D(i) && !P(i) ? o : i || st(t) || o;
257
- }
258
- const xt = async function(t) {
259
- const e = this.getOffsetParent || Q, o = this.getDimensions, i = await o(t.floating);
260
- return {
261
- reference: yt(t.reference, await e(t.floating), t.strategy),
262
- floating: {
263
- x: 0,
264
- y: 0,
265
- width: i.width,
266
- height: i.height
267
- }
268
- };
269
- };
270
- function mt(t) {
271
- return a(t).direction === "rtl";
272
- }
273
- const Ct = {
274
- convertOffsetParentRelativeRectToViewportRelativeRect: lt,
275
- getDocumentElement: y,
276
- getClippingRect: pt,
277
- getOffsetParent: Q,
278
- getElementRects: xt,
279
- getClientRects: ut,
280
- getDimensions: wt,
281
- getScale: T,
282
- isElement: g,
283
- isRTL: mt
284
- }, Rt = Z, Lt = tt, bt = X, Wt = et, Et = it, Bt = (t, e, o) => {
285
- const i = /* @__PURE__ */ new Map(), n = {
286
- platform: Ct,
287
- ...o
288
- }, r = {
289
- ...n.platform,
290
- _c: i
291
- };
292
- return ot(t, e, {
293
- ...n,
294
- platform: r
295
- });
296
- };
297
- export {
298
- Et as arrow,
299
- Bt as computePosition,
300
- bt as flip,
301
- rt as getOverflowAncestors,
302
- Rt as offset,
303
- Ct as platform,
304
- Lt as shift,
305
- Wt as size
306
- };
@@ -1,127 +0,0 @@
1
- function c() {
2
- return typeof window < "u";
3
- }
4
- function u(e) {
5
- return a(e) ? (e.nodeName || "").toLowerCase() : "#document";
6
- }
7
- function i(e) {
8
- var t;
9
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
- }
11
- function h(e) {
12
- var t;
13
- return (t = (a(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
14
- }
15
- function a(e) {
16
- return c() ? e instanceof Node || e instanceof i(e).Node : !1;
17
- }
18
- function d(e) {
19
- return c() ? e instanceof Element || e instanceof i(e).Element : !1;
20
- }
21
- function m(e) {
22
- return c() ? e instanceof HTMLElement || e instanceof i(e).HTMLElement : !1;
23
- }
24
- function f(e) {
25
- return !c() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof i(e).ShadowRoot;
26
- }
27
- function p(e) {
28
- const {
29
- overflow: t,
30
- overflowX: n,
31
- overflowY: o,
32
- display: r
33
- } = y(e);
34
- return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(r);
35
- }
36
- function L(e) {
37
- return ["table", "td", "th"].includes(u(e));
38
- }
39
- function S(e) {
40
- return [":popover-open", ":modal"].some((t) => {
41
- try {
42
- return e.matches(t);
43
- } catch {
44
- return !1;
45
- }
46
- });
47
- }
48
- function N(e) {
49
- const t = E(), n = d(e) ? y(e) : e;
50
- return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
51
- }
52
- function D(e) {
53
- let t = s(e);
54
- for (; m(t) && !w(t); ) {
55
- if (N(t))
56
- return t;
57
- if (S(t))
58
- return null;
59
- t = s(t);
60
- }
61
- return null;
62
- }
63
- function E() {
64
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
- }
66
- function w(e) {
67
- return ["html", "body", "#document"].includes(u(e));
68
- }
69
- function y(e) {
70
- return i(e).getComputedStyle(e);
71
- }
72
- function k(e) {
73
- return d(e) ? {
74
- scrollLeft: e.scrollLeft,
75
- scrollTop: e.scrollTop
76
- } : {
77
- scrollLeft: e.scrollX,
78
- scrollTop: e.scrollY
79
- };
80
- }
81
- function s(e) {
82
- if (u(e) === "html")
83
- return e;
84
- const t = (
85
- // Step into the shadow DOM of the parent of a slotted node.
86
- e.assignedSlot || // DOM Element detected.
87
- e.parentNode || // ShadowRoot detected.
88
- f(e) && e.host || // Fallback.
89
- h(e)
90
- );
91
- return f(t) ? t.host : t;
92
- }
93
- function g(e) {
94
- const t = s(e);
95
- return w(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : m(t) && p(t) ? t : g(t);
96
- }
97
- function v(e, t, n) {
98
- var o;
99
- t === void 0 && (t = []);
100
- const r = g(e), b = r === ((o = e.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
- return b ? (T(l), t.concat(l, l.visualViewport || [], p(r) ? r : [], [])) : t.concat(r, v(r, []));
102
- }
103
- function T(e) {
104
- return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
105
- }
106
- export {
107
- y as getComputedStyle,
108
- D as getContainingBlock,
109
- h as getDocumentElement,
110
- T as getFrameElement,
111
- g as getNearestOverflowAncestor,
112
- u as getNodeName,
113
- k as getNodeScroll,
114
- v as getOverflowAncestors,
115
- s as getParentNode,
116
- i as getWindow,
117
- N as isContainingBlock,
118
- d as isElement,
119
- m as isHTMLElement,
120
- w as isLastTraversableNode,
121
- a as isNode,
122
- p as isOverflowElement,
123
- f as isShadowRoot,
124
- L as isTableElement,
125
- S as isTopLayer,
126
- E as isWebKit
127
- };
@@ -1,127 +0,0 @@
1
- const l = Math.min, m = Math.max, P = Math.round, O = (t) => ({
2
- x: t,
3
- y: t
4
- }), p = {
5
- left: "right",
6
- right: "left",
7
- bottom: "top",
8
- top: "bottom"
9
- }, a = {
10
- start: "end",
11
- end: "start"
12
- };
13
- function M(t, n, e) {
14
- return m(t, l(n, e));
15
- }
16
- function S(t, n) {
17
- return typeof t == "function" ? t(n) : t;
18
- }
19
- function f(t) {
20
- return t.split("-")[0];
21
- }
22
- function g(t) {
23
- return t.split("-")[1];
24
- }
25
- function h(t) {
26
- return t === "x" ? "y" : "x";
27
- }
28
- function x(t) {
29
- return t === "y" ? "height" : "width";
30
- }
31
- function b(t) {
32
- return ["top", "bottom"].includes(f(t)) ? "y" : "x";
33
- }
34
- function d(t) {
35
- return h(b(t));
36
- }
37
- function w(t, n, e) {
38
- e === void 0 && (e = !1);
39
- const r = g(t), o = d(t), i = x(o);
40
- let c = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
41
- return n.reference[i] > n.floating[i] && (c = u(c)), [c, u(c)];
42
- }
43
- function j(t) {
44
- const n = u(t);
45
- return [s(t), n, s(n)];
46
- }
47
- function s(t) {
48
- return t.replace(/start|end/g, (n) => a[n]);
49
- }
50
- function A(t, n, e) {
51
- const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], c = ["bottom", "top"];
52
- switch (t) {
53
- case "top":
54
- case "bottom":
55
- return e ? n ? o : r : n ? r : o;
56
- case "left":
57
- case "right":
58
- return n ? i : c;
59
- default:
60
- return [];
61
- }
62
- }
63
- function C(t, n, e, r) {
64
- const o = g(t);
65
- let i = A(f(t), e === "start", r);
66
- return o && (i = i.map((c) => c + "-" + o), n && (i = i.concat(i.map(s)))), i;
67
- }
68
- function u(t) {
69
- return t.replace(/left|right|bottom|top/g, (n) => p[n]);
70
- }
71
- function y(t) {
72
- return {
73
- top: 0,
74
- right: 0,
75
- bottom: 0,
76
- left: 0,
77
- ...t
78
- };
79
- }
80
- function L(t) {
81
- return typeof t != "number" ? y(t) : {
82
- top: t,
83
- right: t,
84
- bottom: t,
85
- left: t
86
- };
87
- }
88
- function E(t) {
89
- const {
90
- x: n,
91
- y: e,
92
- width: r,
93
- height: o
94
- } = t;
95
- return {
96
- width: r,
97
- height: o,
98
- top: e,
99
- left: n,
100
- right: n + r,
101
- bottom: e + o,
102
- x: n,
103
- y: e
104
- };
105
- }
106
- export {
107
- M as clamp,
108
- O as createCoords,
109
- S as evaluate,
110
- y as expandPaddingObject,
111
- g as getAlignment,
112
- d as getAlignmentAxis,
113
- w as getAlignmentSides,
114
- x as getAxisLength,
115
- j as getExpandedPlacements,
116
- s as getOppositeAlignmentPlacement,
117
- h as getOppositeAxis,
118
- C as getOppositeAxisPlacements,
119
- u as getOppositePlacement,
120
- L as getPaddingObject,
121
- f as getSide,
122
- b as getSideAxis,
123
- m as max,
124
- l as min,
125
- E as rectToClientRect,
126
- P as round
127
- };