overview-components 1.0.83 → 1.0.89
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/assets/generated/locales/de.js +72 -70
- package/dist/assets/generated/locales/en.js +72 -70
- package/dist/assets/generated/locales/fr.js +72 -70
- package/dist/assets/generated/locales/hr.js +72 -70
- package/dist/assets/generated/locales/it.js +72 -70
- package/dist/assets/generated/locales/pl.js +72 -70
- package/dist/assets/generated/locales/ro.js +72 -70
- package/dist/assets/generated/locales/sk.js +72 -70
- package/dist/assets/generated/locales/sr.js +72 -70
- package/dist/components/lit-attachments-tab.js +267 -432
- package/dist/components/lit-badge.js +37 -40
- package/dist/components/lit-case-variables-tab.js +378 -497
- package/dist/components/lit-chart.js +375 -406
- package/dist/components/lit-data-grid-tanstack.js +1145 -1663
- package/dist/components/lit-filter-modal.js +194 -230
- package/dist/components/lit-multiselect-item.js +297 -477
- package/dist/components/lit-section-tab.js +69 -85
- package/dist/components/lit-tabs-overview.js +187 -232
- package/dist/components/react-wrappers/attachments-tab.js +13 -8
- package/dist/components/react-wrappers/badge.js +13 -8
- package/dist/components/react-wrappers/button.js +13 -8
- package/dist/components/react-wrappers/case-variables-tab.js +13 -8
- package/dist/components/react-wrappers/chart.js +13 -8
- package/dist/components/react-wrappers/data-grid-tanstack.js +13 -8
- package/dist/components/react-wrappers/filter-modal.js +13 -8
- package/dist/components/react-wrappers/progress-bar.js +13 -8
- package/dist/components/react-wrappers/section-tab.js +13 -8
- package/dist/components/react-wrappers/tabs-overview.js +13 -8
- package/dist/index.d.ts +1 -64
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -4819
- package/dist/node_modules/@lit/reactive-element/css-tag.js +42 -0
- package/dist/node_modules/@lit/reactive-element/decorators/base.js +9 -0
- package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +13 -0
- package/dist/node_modules/@lit/reactive-element/decorators/property.js +37 -0
- package/dist/node_modules/@lit/reactive-element/decorators/query.js +20 -0
- package/dist/node_modules/@lit/reactive-element/decorators/state.js +12 -0
- package/dist/node_modules/@lit/reactive-element/reactive-element.js +249 -0
- package/dist/node_modules/lit-html/async-directive.js +69 -0
- package/dist/node_modules/lit-html/directive-helpers.js +45 -0
- package/dist/node_modules/lit-html/directive.js +27 -0
- package/dist/node_modules/lit-html/directives/ref.js +42 -0
- package/dist/node_modules/lit-html/directives/repeat.js +61 -0
- package/dist/node_modules/lit-html/directives/style-map.js +36 -0
- package/dist/node_modules/lit-html/directives/unsafe-html.js +27 -0
- package/dist/node_modules/lit-html/lit-html.js +242 -0
- package/dist/shared/lit-button.js +63 -80
- package/dist/shared/lit-icon-button.d.ts +1 -1
- package/dist/shared/lit-icon-button.d.ts.map +1 -1
- package/dist/shared/lit-loader.d.ts +1 -1
- package/dist/shared/lit-loader.d.ts.map +1 -1
- package/dist/shared/lit-loading-bar.d.ts +1 -1
- package/dist/shared/lit-loading-bar.d.ts.map +1 -1
- package/dist/shared/lit-menu-item.d.ts +1 -1
- package/dist/shared/lit-menu-item.d.ts.map +1 -1
- package/dist/shared/lit-progress-bar.js +32 -33
- package/dist/shared/lit-text-field.d.ts +1 -1
- package/dist/shared/lit-text-field.d.ts.map +1 -1
- package/dist/shared/simple-tooltip.js +122 -198
- package/dist/shared/styles/button-shared-styles.js +5 -4
- package/dist/utils/currency.js +12 -15
- package/dist/utils/custom-filters.js +45 -80
- package/dist/utils/date.js +13 -21
- package/dist/utils/getOperatorByType.js +50 -65
- package/dist/utils/localization.js +29 -431
- package/package.json +74 -87
- package/dist/assets/generated/locales/de.js.map +0 -1
- package/dist/assets/generated/locales/en.js.map +0 -1
- package/dist/assets/generated/locales/fr.js.map +0 -1
- package/dist/assets/generated/locales/hr.js.map +0 -1
- package/dist/assets/generated/locales/it.js.map +0 -1
- package/dist/assets/generated/locales/pl.js.map +0 -1
- package/dist/assets/generated/locales/ro.js.map +0 -1
- package/dist/assets/generated/locales/sk.js.map +0 -1
- package/dist/assets/generated/locales/sr.js.map +0 -1
- package/dist/assets/icons/iconGlyphs.js +0 -679
- package/dist/assets/icons/iconGlyphs.js.map +0 -1
- package/dist/assets/illustration/delete-illustration.js +0 -96
- package/dist/assets/illustration/delete-illustration.js.map +0 -1
- package/dist/assets/illustration/no-content.js +0 -167
- package/dist/assets/illustration/no-content.js.map +0 -1
- package/dist/assets/illustration/no-preview.js +0 -133
- package/dist/assets/illustration/no-preview.js.map +0 -1
- package/dist/assets/illustration/not-found.js +0 -106
- package/dist/assets/illustration/not-found.js.map +0 -1
- package/dist/assets/illustration/settings-illustration.js +0 -176
- package/dist/assets/illustration/settings-illustration.js.map +0 -1
- package/dist/components/components-settings/attachments-tab-settings.js +0 -226
- package/dist/components/components-settings/attachments-tab-settings.js.map +0 -1
- package/dist/components/components-settings/data-grid-settings.js +0 -318
- package/dist/components/components-settings/data-grid-settings.js.map +0 -1
- package/dist/components/components-settings/section-tab-settings.js +0 -269
- package/dist/components/components-settings/section-tab-settings.js.map +0 -1
- package/dist/components/components-settings/tabs-overview-settings.js +0 -439
- package/dist/components/components-settings/tabs-overview-settings.js.map +0 -1
- package/dist/components/lit-attachments-tab.js.map +0 -1
- package/dist/components/lit-badge.js.map +0 -1
- package/dist/components/lit-case-variables-tab.js.map +0 -1
- package/dist/components/lit-chart.js.map +0 -1
- package/dist/components/lit-data-grid-tanstack.js.map +0 -1
- package/dist/components/lit-filter-modal.js.map +0 -1
- package/dist/components/lit-multiselect-item.js.map +0 -1
- package/dist/components/lit-section-tab.js.map +0 -1
- package/dist/components/lit-tabs-overview.js.map +0 -1
- package/dist/components/modals/lit-confirm-modal.js +0 -120
- package/dist/components/modals/lit-confirm-modal.js.map +0 -1
- package/dist/components/modals/lit-delete-modal.js +0 -128
- package/dist/components/modals/lit-delete-modal.js.map +0 -1
- package/dist/components/react-wrappers/attachments-tab.js.map +0 -1
- package/dist/components/react-wrappers/badge.js.map +0 -1
- package/dist/components/react-wrappers/button.js.map +0 -1
- package/dist/components/react-wrappers/case-variables-tab.js.map +0 -1
- package/dist/components/react-wrappers/chart.js.map +0 -1
- package/dist/components/react-wrappers/data-grid-tanstack.js.map +0 -1
- package/dist/components/react-wrappers/filter-modal.js.map +0 -1
- package/dist/components/react-wrappers/progress-bar.js.map +0 -1
- package/dist/components/react-wrappers/section-tab.js.map +0 -1
- package/dist/components/react-wrappers/tabs-overview.js.map +0 -1
- package/dist/data/translations.js +0 -2763
- package/dist/data/translations.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/schemas/index.js +0 -17
- package/dist/schemas/index.js.map +0 -1
- package/dist/schemas/lit-attachments-tab-document.schema.js +0 -20
- package/dist/schemas/lit-attachments-tab-document.schema.js.map +0 -1
- package/dist/schemas/lit-attachments-tab-settings-value.schema.js +0 -15
- package/dist/schemas/lit-attachments-tab-settings-value.schema.js.map +0 -1
- package/dist/schemas/lit-attachments-tab.schema.js +0 -32
- package/dist/schemas/lit-attachments-tab.schema.js.map +0 -1
- package/dist/schemas/lit-case-variables-tab-cell.schema.js +0 -43
- package/dist/schemas/lit-case-variables-tab-cell.schema.js.map +0 -1
- package/dist/schemas/lit-case-variables-tab-rows.schema.js +0 -6
- package/dist/schemas/lit-case-variables-tab-rows.schema.js.map +0 -1
- package/dist/schemas/lit-case-variables-tab.schema.js +0 -24
- package/dist/schemas/lit-case-variables-tab.schema.js.map +0 -1
- package/dist/schemas/lit-data-grid-tanstack-column-array.schema.js +0 -6
- package/dist/schemas/lit-data-grid-tanstack-column-array.schema.js.map +0 -1
- package/dist/schemas/lit-data-grid-tanstack-column-custom-filter-array.schema.js +0 -6
- package/dist/schemas/lit-data-grid-tanstack-column-custom-filter-array.schema.js.map +0 -1
- package/dist/schemas/lit-data-grid-tanstack-column-custom-filter.schema.js +0 -11
- package/dist/schemas/lit-data-grid-tanstack-column-custom-filter.schema.js.map +0 -1
- package/dist/schemas/lit-data-grid-tanstack-column.schema.js +0 -55
- package/dist/schemas/lit-data-grid-tanstack-column.schema.js.map +0 -1
- package/dist/schemas/lit-data-grid-tanstack.schema.js +0 -99
- package/dist/schemas/lit-data-grid-tanstack.schema.js.map +0 -1
- package/dist/schemas/lit-section-tab-schema.js +0 -24
- package/dist/schemas/lit-section-tab-schema.js.map +0 -1
- package/dist/schemas/lit-tabs-overview-tab-array.schema.js +0 -6
- package/dist/schemas/lit-tabs-overview-tab-array.schema.js.map +0 -1
- package/dist/schemas/lit-tabs-overview-tab.schema.js +0 -32
- package/dist/schemas/lit-tabs-overview-tab.schema.js.map +0 -1
- package/dist/schemas/lit-tabs-overview.schema.js +0 -29
- package/dist/schemas/lit-tabs-overview.schema.js.map +0 -1
- package/dist/scripts/translate-locales.js +0 -69
- package/dist/scripts/translate-locales.js.map +0 -1
- package/dist/shared/filter-inputs.js +0 -427
- package/dist/shared/filter-inputs.js.map +0 -1
- package/dist/shared/lit-button.js.map +0 -1
- package/dist/shared/lit-case-variables-tab-cell.js +0 -226
- package/dist/shared/lit-case-variables-tab-cell.js.map +0 -1
- package/dist/shared/lit-checkbox.js +0 -171
- package/dist/shared/lit-checkbox.js.map +0 -1
- package/dist/shared/lit-custom-popper.js +0 -117
- package/dist/shared/lit-custom-popper.js.map +0 -1
- package/dist/shared/lit-data-grid-action-buttons-popover.js +0 -295
- package/dist/shared/lit-data-grid-action-buttons-popover.js.map +0 -1
- package/dist/shared/lit-data-grid-density-popover.js +0 -84
- package/dist/shared/lit-data-grid-density-popover.js.map +0 -1
- package/dist/shared/lit-data-grid-export-popover.js +0 -68
- package/dist/shared/lit-data-grid-export-popover.js.map +0 -1
- package/dist/shared/lit-data-grid-operators-popover.js +0 -114
- package/dist/shared/lit-data-grid-operators-popover.js.map +0 -1
- package/dist/shared/lit-data-grid-row-actions.js +0 -76
- package/dist/shared/lit-data-grid-row-actions.js.map +0 -1
- package/dist/shared/lit-date-picker.js +0 -606
- package/dist/shared/lit-date-picker.js.map +0 -1
- package/dist/shared/lit-icon-button.js +0 -105
- package/dist/shared/lit-icon-button.js.map +0 -1
- package/dist/shared/lit-icon.js +0 -284
- package/dist/shared/lit-icon.js.map +0 -1
- package/dist/shared/lit-input.js +0 -239
- package/dist/shared/lit-input.js.map +0 -1
- package/dist/shared/lit-label.js +0 -104
- package/dist/shared/lit-label.js.map +0 -1
- package/dist/shared/lit-loader.js +0 -69
- package/dist/shared/lit-loader.js.map +0 -1
- package/dist/shared/lit-loading-bar.js +0 -127
- package/dist/shared/lit-loading-bar.js.map +0 -1
- package/dist/shared/lit-menu-item.js +0 -99
- package/dist/shared/lit-menu-item.js.map +0 -1
- package/dist/shared/lit-menu.js +0 -42
- package/dist/shared/lit-menu.js.map +0 -1
- package/dist/shared/lit-modal-body.js +0 -22
- package/dist/shared/lit-modal-body.js.map +0 -1
- package/dist/shared/lit-modal-footer.js +0 -29
- package/dist/shared/lit-modal-footer.js.map +0 -1
- package/dist/shared/lit-modal-header.js +0 -36
- package/dist/shared/lit-modal-header.js.map +0 -1
- package/dist/shared/lit-modal.js +0 -169
- package/dist/shared/lit-modal.js.map +0 -1
- package/dist/shared/lit-overflow-tooltip.js +0 -103
- package/dist/shared/lit-overflow-tooltip.js.map +0 -1
- package/dist/shared/lit-pill.js +0 -88
- package/dist/shared/lit-pill.js.map +0 -1
- package/dist/shared/lit-progress-bar.js.map +0 -1
- package/dist/shared/lit-responsive-button.js +0 -94
- package/dist/shared/lit-responsive-button.js.map +0 -1
- package/dist/shared/lit-select-field.js +0 -459
- package/dist/shared/lit-select-field.js.map +0 -1
- package/dist/shared/lit-select.js +0 -413
- package/dist/shared/lit-select.js.map +0 -1
- package/dist/shared/lit-settings.js +0 -77
- package/dist/shared/lit-settings.js.map +0 -1
- package/dist/shared/lit-text-field.js +0 -222
- package/dist/shared/lit-text-field.js.map +0 -1
- package/dist/shared/lit-toggle.js +0 -222
- package/dist/shared/lit-toggle.js.map +0 -1
- package/dist/shared/lit-tooltip.js +0 -166
- package/dist/shared/lit-tooltip.js.map +0 -1
- package/dist/shared/simple-popper.js +0 -266
- package/dist/shared/simple-popper.js.map +0 -1
- package/dist/shared/simple-tooltip.js.map +0 -1
- package/dist/shared/styles/button-shared-styles.js.map +0 -1
- package/dist/style.css +0 -1
- package/dist/styles.js +0 -169
- package/dist/styles.js.map +0 -1
- package/dist/utils/currency.js.map +0 -1
- package/dist/utils/custom-filters.js.map +0 -1
- package/dist/utils/date.js.map +0 -1
- package/dist/utils/getOperatorByType.js.map +0 -1
- package/dist/utils/getOverviewValue.js +0 -177
- package/dist/utils/getOverviewValue.js.map +0 -1
- package/dist/utils/localization.js.map +0 -1
- package/dist/utils/utils.js +0 -13
- package/dist/utils/utils.js.map +0 -1
- package/dist/utils/validate-json-schema.js +0 -8
- package/dist/utils/validate-json-schema.js.map +0 -1
- package/dist/validators/validator.js +0 -7
- package/dist/validators/validator.js.map +0 -1
|
@@ -1,86 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { customElement as d } from "../node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
2
|
+
import { property as a } from "../node_modules/@lit/reactive-element/decorators/property.js";
|
|
3
|
+
import { state as g } from "../node_modules/@lit/reactive-element/decorators/state.js";
|
|
4
|
+
import { LitElement as m, html as c, css as h } from "lit";
|
|
5
|
+
import { styleMap as b } from "../node_modules/lit-html/directives/style-map.js";
|
|
6
|
+
import { msg as u } from "@lit/localize";
|
|
7
|
+
var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, s = (i, t, o, r) => {
|
|
8
|
+
for (var n = r > 1 ? void 0 : r ? y(t, o) : t, l = i.length - 1, p; l >= 0; l--)
|
|
9
|
+
(p = i[l]) && (n = (r ? p(t, o, n) : p(n)) || n);
|
|
10
|
+
return r && n && f(t, o, n), n;
|
|
6
11
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
this.onSettingsChanged = () => { };
|
|
29
|
-
this.isOpenModal = false;
|
|
30
|
-
}
|
|
31
|
-
connectedCallback() {
|
|
32
|
-
super.connectedCallback();
|
|
33
|
-
}
|
|
34
|
-
disconnectedCallback() {
|
|
35
|
-
super.disconnectedCallback();
|
|
36
|
-
}
|
|
37
|
-
onSettingsChangedCallback(value) {
|
|
38
|
-
this.settingsValue = { ...value };
|
|
39
|
-
this.onSettingsChanged?.(this.settingsValue);
|
|
40
|
-
}
|
|
41
|
-
toggleModal() {
|
|
42
|
-
this.isOpenModal = !this.isOpenModal;
|
|
43
|
-
}
|
|
44
|
-
render() {
|
|
45
|
-
return html ` <div part="section-header-settings" class="section-header">
|
|
12
|
+
let e = class extends m {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments), this.sx = {}, this.enableSettings = !1, this.userLang = "cs", this.allowedLang = ["cs"], this.onSettingsChanged = () => {
|
|
15
|
+
}, this.isOpenModal = !1;
|
|
16
|
+
}
|
|
17
|
+
connectedCallback() {
|
|
18
|
+
super.connectedCallback();
|
|
19
|
+
}
|
|
20
|
+
disconnectedCallback() {
|
|
21
|
+
super.disconnectedCallback();
|
|
22
|
+
}
|
|
23
|
+
onSettingsChangedCallback(i) {
|
|
24
|
+
var t;
|
|
25
|
+
this.settingsValue = { ...i }, (t = this.onSettingsChanged) == null || t.call(this, this.settingsValue);
|
|
26
|
+
}
|
|
27
|
+
toggleModal() {
|
|
28
|
+
this.isOpenModal = !this.isOpenModal;
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
var i, t, o;
|
|
32
|
+
return c` <div part="section-header-settings" class="section-header">
|
|
46
33
|
<lit-icon
|
|
47
34
|
size="1rem"
|
|
48
|
-
.icon="${this.settingsValue
|
|
35
|
+
.icon="${((i = this.settingsValue) == null ? void 0 : i.titleIcon) || "documents"}"
|
|
49
36
|
></lit-icon>
|
|
50
37
|
<div class="section-title">
|
|
51
|
-
${this.settingsValue
|
|
52
|
-
this.settingsValue?.titleLabel ||
|
|
53
|
-
msg('Zadejte název')}
|
|
38
|
+
${((t = this.settingsValue) == null ? void 0 : t[`titleLabel_${this.userLang}`]) || ((o = this.settingsValue) == null ? void 0 : o.titleLabel) || u("Zadejte název")}
|
|
54
39
|
</div>
|
|
55
|
-
${this.enableSettings
|
|
56
|
-
? html `
|
|
40
|
+
${this.enableSettings ? c`
|
|
57
41
|
<lit-icon
|
|
58
42
|
style="cursor: pointer"
|
|
59
43
|
@click="${this.toggleModal}"
|
|
60
44
|
icon="cog"
|
|
61
45
|
size="1rem"
|
|
62
46
|
></lit-icon>
|
|
63
|
-
`
|
|
64
|
-
: null}
|
|
47
|
+
` : null}
|
|
65
48
|
</div>
|
|
66
49
|
<section-tab-settings
|
|
67
50
|
.settingsValue="${this.settingsValue}"
|
|
68
51
|
.onSettingsChangedModal="${this.onSettingsChangedCallback.bind(this)}"
|
|
69
52
|
.allowedLang="${this.allowedLang}"
|
|
70
53
|
.onClose="${() => {
|
|
71
|
-
|
|
72
|
-
|
|
54
|
+
this.isOpenModal = !1;
|
|
55
|
+
}}"
|
|
73
56
|
.isOpenModal="${this.isOpenModal}"
|
|
74
57
|
>
|
|
75
58
|
</section-tab-settings>
|
|
76
59
|
|
|
77
|
-
<div class="section-tab" style=${
|
|
60
|
+
<div class="section-tab" style=${b(this.sx)}>
|
|
78
61
|
<slot></slot>
|
|
79
62
|
</div>`;
|
|
80
|
-
|
|
63
|
+
}
|
|
81
64
|
};
|
|
82
|
-
|
|
83
|
-
|
|
65
|
+
e.styles = [
|
|
66
|
+
h`
|
|
84
67
|
.section-tab {
|
|
85
68
|
background: var(--background-paper, #ffffff);
|
|
86
69
|
border-radius: 0.75rem;
|
|
@@ -115,31 +98,32 @@ LitSectionTab.styles = [
|
|
|
115
98
|
background-color: var(--background-paper, #fff);
|
|
116
99
|
z-index: 1;
|
|
117
100
|
}
|
|
118
|
-
|
|
101
|
+
`
|
|
119
102
|
];
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
],
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
],
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
],
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
],
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
],
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
],
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
],
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
],
|
|
144
|
-
export {
|
|
145
|
-
|
|
103
|
+
s([
|
|
104
|
+
a({ type: Object })
|
|
105
|
+
], e.prototype, "sx", 2);
|
|
106
|
+
s([
|
|
107
|
+
a({ type: Boolean })
|
|
108
|
+
], e.prototype, "enableSettings", 2);
|
|
109
|
+
s([
|
|
110
|
+
a({ type: String })
|
|
111
|
+
], e.prototype, "userLang", 2);
|
|
112
|
+
s([
|
|
113
|
+
a({ type: Array })
|
|
114
|
+
], e.prototype, "allowedLang", 2);
|
|
115
|
+
s([
|
|
116
|
+
a({ type: Object })
|
|
117
|
+
], e.prototype, "settingsValue", 2);
|
|
118
|
+
s([
|
|
119
|
+
a({ attribute: !1 })
|
|
120
|
+
], e.prototype, "onSettingsChanged", 2);
|
|
121
|
+
s([
|
|
122
|
+
g()
|
|
123
|
+
], e.prototype, "isOpenModal", 2);
|
|
124
|
+
e = s([
|
|
125
|
+
d("lit-section-tab")
|
|
126
|
+
], e);
|
|
127
|
+
export {
|
|
128
|
+
e as LitSectionTab
|
|
129
|
+
};
|