overview-components 1.0.91 → 1.0.92
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/package.json +74 -76
- package/dist/assets/generated/locales/de.js +0 -73
- package/dist/assets/generated/locales/en.js +0 -73
- package/dist/assets/generated/locales/fr.js +0 -73
- package/dist/assets/generated/locales/hr.js +0 -73
- package/dist/assets/generated/locales/it.js +0 -73
- package/dist/assets/generated/locales/pl.js +0 -73
- package/dist/assets/generated/locales/ro.js +0 -73
- package/dist/assets/generated/locales/sk.js +0 -73
- package/dist/assets/generated/locales/sr.js +0 -73
- package/dist/components/lit-attachments-tab.js +0 -515
- package/dist/components/lit-badge.js +0 -97
- package/dist/components/lit-case-variables-tab.js +0 -723
- package/dist/components/lit-chart.js +0 -392
- package/dist/components/lit-data-grid-tanstack.js +0 -1728
- package/dist/components/lit-filter-modal.js +0 -308
- package/dist/components/lit-multiselect-item.js +0 -526
- package/dist/components/lit-section-tab.js +0 -129
- package/dist/components/lit-tabs-overview.js +0 -300
- package/dist/components/react-wrappers/attachments-tab.js +0 -14
- package/dist/components/react-wrappers/badge.js +0 -14
- package/dist/components/react-wrappers/button.js +0 -14
- package/dist/components/react-wrappers/case-variables-tab.js +0 -14
- package/dist/components/react-wrappers/chart.js +0 -14
- package/dist/components/react-wrappers/data-grid-tanstack.js +0 -14
- package/dist/components/react-wrappers/filter-modal.js +0 -14
- package/dist/components/react-wrappers/progress-bar.js +0 -14
- package/dist/components/react-wrappers/section-tab.js +0 -14
- package/dist/components/react-wrappers/tabs-overview.js +0 -14
- package/dist/index.js +0 -42
- package/dist/libs/xlsx.mini.min.js +0 -10
- package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -42
- package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
- package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
- package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
- package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
- package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
- package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -249
- package/dist/node_modules/lit-html/async-directive.js +0 -69
- package/dist/node_modules/lit-html/directive-helpers.js +0 -45
- package/dist/node_modules/lit-html/directive.js +0 -27
- package/dist/node_modules/lit-html/directives/ref.js +0 -42
- package/dist/node_modules/lit-html/directives/repeat.js +0 -61
- package/dist/node_modules/lit-html/directives/style-map.js +0 -36
- package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
- package/dist/node_modules/lit-html/lit-html.js +0 -242
- package/dist/shared/lit-button.js +0 -139
- package/dist/shared/lit-progress-bar.js +0 -80
- package/dist/shared/simple-tooltip.js +0 -172
- package/dist/shared/styles/button-shared-styles.js +0 -202
- package/dist/utils/currency.js +0 -13
- package/dist/utils/custom-filters.js +0 -49
- package/dist/utils/date.js +0 -14
- package/dist/utils/getOperatorByType.js +0 -51
- package/dist/utils/localization.js +0 -30
- package/dist/vite.svg +0 -1
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { customElement as d } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
2
|
-
import { property as n } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
3
|
-
import { LitElement as g, html as p, css as f } from "lit";
|
|
4
|
-
var u = Object.defineProperty, h = Object.getOwnPropertyDescriptor, o = (l, e, c, i) => {
|
|
5
|
-
for (var t = i > 1 ? void 0 : i ? h(e, c) : e, s = l.length - 1, a; s >= 0; s--)
|
|
6
|
-
(a = l[s]) && (t = (i ? a(e, c, t) : a(t)) || t);
|
|
7
|
-
return i && t && u(e, c, t), t;
|
|
8
|
-
};
|
|
9
|
-
let r = class extends g {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments), this.content = "highlighted", this.size = "medium", this.text = "";
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return p`<div class="badge ${this.size} ${this.content}">
|
|
15
|
-
<span class="text ${this.icon ? null : "noicon"}">${this.text}</span>
|
|
16
|
-
${this.icon ? p`<lit-icon size="0.75rem" icon="${this.icon}"></lit-icon>` : null}
|
|
17
|
-
</div>`;
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
r.styles = [
|
|
21
|
-
f`
|
|
22
|
-
.badge {
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
border-radius: 4px;
|
|
27
|
-
gap: 4px;
|
|
28
|
-
width: fit-content;
|
|
29
|
-
font-size: 10px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.text {
|
|
33
|
-
font-size: 10px;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.noicon {
|
|
38
|
-
line-height: 14px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.medium {
|
|
42
|
-
padding: 4px 10px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.small {
|
|
46
|
-
padding: 2px 6px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.highlighted {
|
|
50
|
-
background: var(--color-success-main, #76b703);
|
|
51
|
-
color: var(--color-success-light, #f0fadf);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.neutral {
|
|
55
|
-
background: var(--background-default, #eff3f4);
|
|
56
|
-
color: var(--text-secondary, #5d6371);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.success {
|
|
60
|
-
background: var(--color-success-light, #f0fadf);
|
|
61
|
-
color: var(--color-success-dark, #76b703);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.danger {
|
|
65
|
-
background: var(--color-error-light, #ffd6cd);
|
|
66
|
-
color: var(--color-error-main, #ca2d0a);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.warning {
|
|
70
|
-
background: var(--color-warning-light, #ffe1a8);
|
|
71
|
-
color: var(--color-warning-main, #875900);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.info {
|
|
75
|
-
background: var(--color-info-light, #d0e7ff);
|
|
76
|
-
color: var(--color-info-main, #0056b3);
|
|
77
|
-
}
|
|
78
|
-
`
|
|
79
|
-
];
|
|
80
|
-
o([
|
|
81
|
-
n({ type: String })
|
|
82
|
-
], r.prototype, "content", 2);
|
|
83
|
-
o([
|
|
84
|
-
n({ type: String })
|
|
85
|
-
], r.prototype, "size", 2);
|
|
86
|
-
o([
|
|
87
|
-
n({ type: String })
|
|
88
|
-
], r.prototype, "text", 2);
|
|
89
|
-
o([
|
|
90
|
-
n({ type: String })
|
|
91
|
-
], r.prototype, "icon", 2);
|
|
92
|
-
r = o([
|
|
93
|
-
d("lit-badge")
|
|
94
|
-
], r);
|
|
95
|
-
export {
|
|
96
|
-
r as LitBadge
|
|
97
|
-
};
|