overview-components 1.0.75 → 1.0.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.
- package/dist/_virtual/FileSaver.min.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +4 -0
- package/dist/components/lit-attachments-tab.js +11 -7
- package/dist/components/lit-badge.js +10 -7
- package/dist/components/lit-case-variables-tab.js +23 -19
- package/dist/components/lit-chart.js +24 -21
- package/dist/components/lit-data-grid-tanstack.js +42 -37
- package/dist/components/lit-filter-modal.js +6 -2
- package/dist/components/lit-multiselect-item.js +7 -3
- package/dist/components/lit-section-tab.js +15 -11
- package/dist/components/lit-tabs-overview.js +9 -5
- package/dist/components/react-wrappers/attachments-tab.js +1 -1
- package/dist/components/react-wrappers/badge.js +1 -1
- package/dist/components/react-wrappers/button.js +3 -3
- package/dist/components/react-wrappers/case-variables-tab.js +3 -3
- package/dist/components/react-wrappers/chart.js +3 -3
- package/dist/components/react-wrappers/data-grid-tanstack.js +1 -1
- package/dist/components/react-wrappers/filter-modal.js +4 -4
- package/dist/components/react-wrappers/progress-bar.js +5 -5
- package/dist/components/react-wrappers/section-tab.js +4 -4
- package/dist/components/react-wrappers/tabs-overview.js +3 -3
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +432 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +306 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +127 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +127 -0
- package/dist/node_modules/@lit/localize/init/install.js +11 -0
- package/dist/node_modules/@lit/localize/init/runtime.js +42 -0
- package/dist/node_modules/@lit/localize/internal/default-msg.js +10 -0
- package/dist/node_modules/@lit/localize/internal/deferred.js +21 -0
- package/dist/node_modules/@lit/localize/internal/fnv1a64.js +17 -0
- package/dist/node_modules/@lit/localize/internal/id-generation.js +14 -0
- package/dist/node_modules/@lit/localize/internal/locale-status-event.js +9 -0
- package/dist/node_modules/@lit/localize/internal/runtime-msg.js +42 -0
- package/dist/node_modules/@lit/localize/internal/str-tag.js +15 -0
- package/dist/node_modules/@lit/react/create-component.js +35 -0
- package/dist/node_modules/@lit/reactive-element/css-tag.js +32 -24
- package/dist/node_modules/@lit/reactive-element/reactive-element.js +4 -3
- package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +104 -0
- package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +40 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1956 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +490 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
- package/dist/node_modules/file-saver/dist/FileSaver.min.js +74 -0
- package/dist/node_modules/lit-element/lit-element.js +51 -0
- package/dist/node_modules/lit-html/lit-html.js +75 -74
- package/dist/node_modules/luxon/src/datetime.js +1793 -0
- package/dist/node_modules/luxon/src/duration.js +723 -0
- package/dist/node_modules/luxon/src/errors.js +40 -0
- package/dist/node_modules/luxon/src/impl/conversions.js +92 -0
- package/dist/node_modules/luxon/src/impl/diff.js +36 -0
- package/dist/node_modules/luxon/src/impl/digits.js +74 -0
- package/dist/node_modules/luxon/src/impl/english.js +138 -0
- package/dist/node_modules/luxon/src/impl/formats.js +150 -0
- package/dist/node_modules/luxon/src/impl/formatter.js +245 -0
- package/dist/node_modules/luxon/src/impl/invalid.js +11 -0
- package/dist/node_modules/luxon/src/impl/locale.js +282 -0
- package/dist/node_modules/luxon/src/impl/regexParser.js +202 -0
- package/dist/node_modules/luxon/src/impl/tokenParser.js +329 -0
- package/dist/node_modules/luxon/src/impl/util.js +206 -0
- package/dist/node_modules/luxon/src/impl/zoneUtil.js +19 -0
- package/dist/node_modules/luxon/src/info.js +180 -0
- package/dist/node_modules/luxon/src/interval.js +466 -0
- package/dist/node_modules/luxon/src/settings.js +150 -0
- package/dist/node_modules/luxon/src/zone.js +88 -0
- package/dist/node_modules/luxon/src/zones/IANAZone.js +178 -0
- package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +125 -0
- package/dist/node_modules/luxon/src/zones/invalidZone.js +41 -0
- package/dist/node_modules/luxon/src/zones/systemZone.js +47 -0
- package/dist/node_modules/sortablejs/modular/sortable.esm.js +1261 -0
- package/dist/shared/lit-button.js +11 -8
- package/dist/shared/lit-progress-bar.js +10 -7
- package/dist/shared/simple-tooltip.js +33 -31
- package/dist/shared/styles/button-shared-styles.js +6 -3
- package/dist/utils/custom-filters.js +8 -7
- package/dist/utils/date.js +6 -5
- package/dist/utils/getOperatorByType.js +4 -3
- package/dist/utils/localization.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import { html as r } from "../node_modules/lit-html/lit-html.js";
|
|
3
|
+
import { LitElement as d } from "../node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { customElement as u } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
3
5
|
import { property as e } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
import m from "./styles/button-shared-styles.js";
|
|
7
|
+
import { css as h } from "../node_modules/@lit/reactive-element/css-tag.js";
|
|
8
|
+
var b = Object.defineProperty, f = Object.getOwnPropertyDescriptor, i = (s, n, a, l) => {
|
|
9
|
+
for (var o = l > 1 ? void 0 : l ? f(n, a) : n, p = s.length - 1, c; p >= 0; p--)
|
|
7
10
|
(c = s[p]) && (o = (l ? c(n, a, o) : c(o)) || o);
|
|
8
11
|
return l && o && b(n, a, o), o;
|
|
9
12
|
};
|
|
@@ -40,8 +43,8 @@ let t = class extends d {
|
|
|
40
43
|
};
|
|
41
44
|
t.styles = [
|
|
42
45
|
// styles,
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
m,
|
|
47
|
+
h`
|
|
45
48
|
/* Basic button styles */
|
|
46
49
|
button {
|
|
47
50
|
line-height: 1.5rem;
|
|
@@ -132,7 +135,7 @@ i([
|
|
|
132
135
|
e({ type: Boolean })
|
|
133
136
|
], t.prototype, "isLoading", 2);
|
|
134
137
|
t = i([
|
|
135
|
-
|
|
138
|
+
u("lit-button")
|
|
136
139
|
], t);
|
|
137
140
|
export {
|
|
138
141
|
t as LitButton
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { customElement as c } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
2
2
|
import { property as n } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
4
|
+
import { html as g } from "../node_modules/lit-html/lit-html.js";
|
|
5
|
+
import { LitElement as d } from "../node_modules/lit-element/lit-element.js";
|
|
6
|
+
import { css as m } from "../node_modules/@lit/reactive-element/css-tag.js";
|
|
7
|
+
var f = Object.defineProperty, v = Object.getOwnPropertyDescriptor, l = (e, t, i, o) => {
|
|
8
|
+
for (var r = o > 1 ? void 0 : o ? v(t, i) : t, a = e.length - 1, p; a >= 0; a--)
|
|
6
9
|
(p = e[a]) && (r = (o ? p(t, i, r) : p(r)) || r);
|
|
7
|
-
return o && r &&
|
|
10
|
+
return o && r && f(t, i, r), r;
|
|
8
11
|
};
|
|
9
|
-
let s = class extends
|
|
12
|
+
let s = class extends d {
|
|
10
13
|
constructor() {
|
|
11
14
|
super(...arguments), this.label = "", this.progress = 0;
|
|
12
15
|
}
|
|
13
16
|
render() {
|
|
14
17
|
const e = Math.min(100, Math.max(0, this.progress));
|
|
15
|
-
return
|
|
18
|
+
return g`
|
|
16
19
|
<div class="container">
|
|
17
20
|
<div class="label">${this.label}</div>
|
|
18
21
|
<div class="progress-bar-container">
|
|
@@ -26,7 +29,7 @@ let s = class extends g {
|
|
|
26
29
|
}
|
|
27
30
|
};
|
|
28
31
|
s.styles = [
|
|
29
|
-
|
|
32
|
+
m`
|
|
30
33
|
.container {
|
|
31
34
|
gap: 4px;
|
|
32
35
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import "../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import { render as p, html as d } from "../node_modules/lit-html/lit-html.js";
|
|
3
|
+
import { LitElement as f } from "../node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { customElement as u } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
+
import { property as h } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
6
|
+
import { directive as g, Directive as v } from "../node_modules/lit-html/directive.js";
|
|
7
|
+
import { computePosition as w, offset as y, flip as E, shift as b, size as x, arrow as T } from "../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
8
|
+
import { css as _ } from "../node_modules/@lit/reactive-element/css-tag.js";
|
|
9
|
+
var k = Object.defineProperty, L = Object.getOwnPropertyDescriptor, a = (i, t, n, r) => {
|
|
8
10
|
for (var o = r > 1 ? void 0 : r ? L(t, n) : t, e = i.length - 1, s; e >= 0; e--)
|
|
9
11
|
(s = i[e]) && (o = (r ? s(t, n, o) : s(o)) || o);
|
|
10
12
|
return r && o && k(t, n, o), o;
|
|
11
13
|
};
|
|
12
|
-
const
|
|
14
|
+
const m = ["pointerenter", "mouseenter"], c = ["pointerleave", "mouseleave", "blur", "keydown", "click", "scroll"];
|
|
13
15
|
let l = class extends f {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments), this.showing = !1, this.placement = "top", this.offset = 8, this.openDelayMs = 300, this._target = null, this.openTimeout = null, this.isHoveringTarget = !1, this.scheduleShow = () => {
|
|
@@ -17,15 +19,15 @@ let l = class extends f {
|
|
|
17
19
|
this._target && this.isHoveringTarget && this.showTooltipNow();
|
|
18
20
|
}, this.openDelayMs);
|
|
19
21
|
}, this.showTooltipNow = () => {
|
|
20
|
-
this.style.removeProperty("display"), this.style.zIndex = "100000", this.showing = !0, !(!this.target || !this.arrowElement) &&
|
|
22
|
+
this.style.removeProperty("display"), this.style.zIndex = "100000", this.showing = !0, !(!this.target || !this.arrowElement) && w(this.target, this, {
|
|
21
23
|
placement: this.placement,
|
|
22
24
|
strategy: "absolute",
|
|
23
25
|
middleware: [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
y(this.offset),
|
|
27
|
+
E(),
|
|
28
|
+
b({ padding: 8 }),
|
|
26
29
|
x({ padding: 8 }),
|
|
27
|
-
T({
|
|
28
|
-
_({ element: this.arrowElement })
|
|
30
|
+
T({ element: this.arrowElement })
|
|
29
31
|
]
|
|
30
32
|
}).then(({ x: i, y: t, placement: n, middlewareData: r }) => {
|
|
31
33
|
r.hide && Object.assign(this.style, {
|
|
@@ -62,11 +64,11 @@ let l = class extends f {
|
|
|
62
64
|
return this._target;
|
|
63
65
|
}
|
|
64
66
|
set target(i) {
|
|
65
|
-
this._target && (
|
|
67
|
+
this._target && (m.forEach((t) => {
|
|
66
68
|
this._target.removeEventListener(t, this.scheduleShow), this._target.removeEventListener(t, this.markHovering);
|
|
67
|
-
}),
|
|
69
|
+
}), c.forEach((t) => this._target.removeEventListener(t, this.hide))), i && (m.forEach((t) => {
|
|
68
70
|
i.addEventListener(t, this.scheduleShow), i.addEventListener(t, this.markHovering);
|
|
69
|
-
}),
|
|
71
|
+
}), c.forEach((t) => {
|
|
70
72
|
i.addEventListener(t, this.markNotHovering), i.addEventListener(t, this.hide);
|
|
71
73
|
})), this._target = i;
|
|
72
74
|
}
|
|
@@ -77,13 +79,13 @@ let l = class extends f {
|
|
|
77
79
|
this.arrowElement = this.shadowRoot.getElementById("arrow");
|
|
78
80
|
}
|
|
79
81
|
render() {
|
|
80
|
-
return
|
|
82
|
+
return d`
|
|
81
83
|
<div id="arrow"></div>
|
|
82
84
|
<slot></slot>
|
|
83
85
|
`;
|
|
84
86
|
}
|
|
85
87
|
};
|
|
86
|
-
l.styles =
|
|
88
|
+
l.styles = _`
|
|
87
89
|
:host {
|
|
88
90
|
position: absolute;
|
|
89
91
|
display: inline-block;
|
|
@@ -127,22 +129,22 @@ l.styles = m`
|
|
|
127
129
|
max-height: 70vh;
|
|
128
130
|
}
|
|
129
131
|
`;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
a([
|
|
133
|
+
h({ type: Boolean, reflect: !0 })
|
|
132
134
|
], l.prototype, "showing", 2);
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
a([
|
|
136
|
+
h({ type: String, reflect: !0 })
|
|
135
137
|
], l.prototype, "placement", 2);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
a([
|
|
139
|
+
h({ type: Number })
|
|
138
140
|
], l.prototype, "offset", 2);
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
a([
|
|
142
|
+
h({ type: Number })
|
|
141
143
|
], l.prototype, "openDelayMs", 2);
|
|
142
|
-
l =
|
|
143
|
-
|
|
144
|
+
l = a([
|
|
145
|
+
u("simple-tooltip")
|
|
144
146
|
], l);
|
|
145
|
-
class H extends
|
|
147
|
+
class H extends v {
|
|
146
148
|
constructor() {
|
|
147
149
|
super(...arguments), this.initialized = !1;
|
|
148
150
|
}
|
|
@@ -165,8 +167,8 @@ class H extends w {
|
|
|
165
167
|
this.tooltip && (this.tooltip.openDelayMs = this.delay, this.tooltip.placement = this.placement, p(this.content, this.tooltip, this.part.options), document.body.contains(e) || this.tooltip.hide());
|
|
166
168
|
}
|
|
167
169
|
}
|
|
168
|
-
const
|
|
170
|
+
const j = g(H);
|
|
169
171
|
export {
|
|
170
172
|
l as SimpleTooltip,
|
|
171
|
-
|
|
173
|
+
j as tooltip
|
|
172
174
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import "../../node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
+
import "../../node_modules/lit-html/lit-html.js";
|
|
3
|
+
import "../../node_modules/lit-element/lit-element.js";
|
|
4
|
+
import { css as o } from "../../node_modules/@lit/reactive-element/css-tag.js";
|
|
5
|
+
const e = o`
|
|
3
6
|
button {
|
|
4
7
|
font-family: inherit;
|
|
5
8
|
border-radius: var(--border-radius-small, 0.5rem);
|
|
@@ -198,5 +201,5 @@ const t = o`
|
|
|
198
201
|
}
|
|
199
202
|
`;
|
|
200
203
|
export {
|
|
201
|
-
|
|
204
|
+
e as default
|
|
202
205
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import M from "../node_modules/luxon/src/datetime.js";
|
|
2
|
+
import "../node_modules/luxon/src/duration.js";
|
|
3
|
+
const l = (e, r, y) => {
|
|
3
4
|
const t = e.getValue(r);
|
|
4
5
|
if (!t) return !1;
|
|
5
6
|
const s = a(t), d = y.startDate, n = y.endDate;
|
|
6
7
|
return d && n ? s >= d && s <= n : d ? s >= d : n ? s <= n : !0;
|
|
7
8
|
};
|
|
8
|
-
function
|
|
9
|
+
function u(e, r, y) {
|
|
9
10
|
const t = e.getValue(r);
|
|
10
11
|
if (!t) return !1;
|
|
11
12
|
const s = a(t), d = y;
|
|
12
13
|
return !s || !d ? !1 : s === d;
|
|
13
14
|
}
|
|
14
|
-
const
|
|
15
|
+
const f = (e, r, y) => {
|
|
15
16
|
const t = e.getValue(r);
|
|
16
17
|
return t ? y.includes(t) : !1;
|
|
17
18
|
};
|
|
@@ -43,7 +44,7 @@ function a(e) {
|
|
|
43
44
|
return (!y || !y.isValid) && (y = M.fromISO(e)), y.isValid ? y.toJSDate().toISOString() : null;
|
|
44
45
|
}
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
u as dateFilterFn,
|
|
48
|
+
l as dateRangeFilterFn,
|
|
49
|
+
f as multiselectFilterFn
|
|
49
50
|
};
|
package/dist/utils/date.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import t from "../node_modules/luxon/src/datetime.js";
|
|
2
|
+
import "../node_modules/luxon/src/duration.js";
|
|
3
|
+
const u = (r, e, n = !1, o) => {
|
|
3
4
|
if (r === null)
|
|
4
5
|
return null;
|
|
5
6
|
if (r === "")
|
|
6
7
|
return "";
|
|
7
|
-
const
|
|
8
|
-
return isNaN(
|
|
8
|
+
const i = n ? `${o} HH:mm` : `${o}`, f = new Date(r);
|
|
9
|
+
return isNaN(f.getTime()) ? "Invalid date" : o ? t.fromISO(r).toFormat(i) : t.fromISO(r).setLocale(e).toLocaleString(
|
|
9
10
|
n ? t.DATETIME_SHORT : void 0
|
|
10
11
|
);
|
|
11
12
|
};
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
u as formatDate
|
|
14
15
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { msg as e } from "
|
|
2
|
-
|
|
1
|
+
import { msg as e } from "../node_modules/@lit/localize/init/install.js";
|
|
2
|
+
import "../node_modules/@lit/localize/init/runtime.js";
|
|
3
|
+
function v(l) {
|
|
3
4
|
switch (l) {
|
|
4
5
|
case "string":
|
|
5
6
|
return [
|
|
@@ -47,5 +48,5 @@ function n(l) {
|
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
export {
|
|
50
|
-
|
|
51
|
+
v as getOperatorsByColumnType
|
|
51
52
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configureLocalization as s } from "
|
|
1
|
+
import { configureLocalization as s } from "../node_modules/@lit/localize/init/runtime.js";
|
|
2
2
|
import * as o from "../assets/generated/locales/en.js";
|
|
3
3
|
import * as t from "../assets/generated/locales/pl.js";
|
|
4
4
|
import * as a from "../assets/generated/locales/de.js";
|