overview-components 1.0.98 → 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 (123) hide show
  1. package/dist/index.js +10178 -76
  2. package/package.json +1 -1
  3. package/dist/_virtual/FileSaver.min.js +0 -4
  4. package/dist/_virtual/_commonjsHelpers.js +0 -8
  5. package/dist/_virtual/lodash.js +0 -4
  6. package/dist/assets/generated/locales/de.js +0 -73
  7. package/dist/assets/generated/locales/en.js +0 -73
  8. package/dist/assets/generated/locales/fr.js +0 -73
  9. package/dist/assets/generated/locales/hr.js +0 -73
  10. package/dist/assets/generated/locales/it.js +0 -73
  11. package/dist/assets/generated/locales/pl.js +0 -73
  12. package/dist/assets/generated/locales/ro.js +0 -73
  13. package/dist/assets/generated/locales/sk.js +0 -73
  14. package/dist/assets/generated/locales/sr.js +0 -73
  15. package/dist/assets/icons/iconGlyphs.js +0 -680
  16. package/dist/assets/illustration/not-found.js +0 -109
  17. package/dist/components/components-settings/data-grid-settings.js +0 -288
  18. package/dist/components/lit-attachments-tab.js +0 -519
  19. package/dist/components/lit-badge.js +0 -100
  20. package/dist/components/lit-case-variables-tab.js +0 -727
  21. package/dist/components/lit-chart.js +0 -395
  22. package/dist/components/lit-data-grid-tanstack.js +0 -1733
  23. package/dist/components/lit-filter-modal.js +0 -312
  24. package/dist/components/lit-multiselect-item.js +0 -530
  25. package/dist/components/lit-section-tab.js +0 -133
  26. package/dist/components/lit-tabs-overview.js +0 -304
  27. package/dist/components/react-wrappers/attachments-tab.js +0 -14
  28. package/dist/components/react-wrappers/badge.js +0 -14
  29. package/dist/components/react-wrappers/button.js +0 -14
  30. package/dist/components/react-wrappers/case-variables-tab.js +0 -14
  31. package/dist/components/react-wrappers/chart.js +0 -14
  32. package/dist/components/react-wrappers/data-grid-tanstack.js +0 -14
  33. package/dist/components/react-wrappers/filter-modal.js +0 -14
  34. package/dist/components/react-wrappers/progress-bar.js +0 -14
  35. package/dist/components/react-wrappers/section-tab.js +0 -14
  36. package/dist/components/react-wrappers/tabs-overview.js +0 -14
  37. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -432
  38. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -306
  39. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -127
  40. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -127
  41. package/dist/node_modules/@kurkle/color/dist/color.esm.js +0 -448
  42. package/dist/node_modules/@lit/localize/init/install.js +0 -11
  43. package/dist/node_modules/@lit/localize/init/runtime.js +0 -42
  44. package/dist/node_modules/@lit/localize/internal/default-msg.js +0 -10
  45. package/dist/node_modules/@lit/localize/internal/deferred.js +0 -21
  46. package/dist/node_modules/@lit/localize/internal/fnv1a64.js +0 -17
  47. package/dist/node_modules/@lit/localize/internal/id-generation.js +0 -14
  48. package/dist/node_modules/@lit/localize/internal/locale-status-event.js +0 -9
  49. package/dist/node_modules/@lit/localize/internal/runtime-msg.js +0 -42
  50. package/dist/node_modules/@lit/localize/internal/str-tag.js +0 -15
  51. package/dist/node_modules/@lit/react/create-component.js +0 -35
  52. package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -50
  53. package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
  54. package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
  55. package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
  56. package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
  57. package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
  58. package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -250
  59. package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +0 -104
  60. package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +0 -40
  61. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -1956
  62. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -490
  63. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  64. package/dist/node_modules/chart.js/dist/chart.js +0 -7122
  65. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js +0 -1691
  66. package/dist/node_modules/file-saver/dist/FileSaver.min.js +0 -74
  67. package/dist/node_modules/lit-element/lit-element.js +0 -51
  68. package/dist/node_modules/lit-html/async-directive.js +0 -69
  69. package/dist/node_modules/lit-html/directive-helpers.js +0 -45
  70. package/dist/node_modules/lit-html/directive.js +0 -27
  71. package/dist/node_modules/lit-html/directives/class-map.js +0 -34
  72. package/dist/node_modules/lit-html/directives/ref.js +0 -42
  73. package/dist/node_modules/lit-html/directives/repeat.js +0 -61
  74. package/dist/node_modules/lit-html/directives/style-map.js +0 -36
  75. package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
  76. package/dist/node_modules/lit-html/lit-html.js +0 -243
  77. package/dist/node_modules/lodash/lodash.js +0 -3678
  78. package/dist/node_modules/luxon/src/datetime.js +0 -1793
  79. package/dist/node_modules/luxon/src/duration.js +0 -723
  80. package/dist/node_modules/luxon/src/errors.js +0 -40
  81. package/dist/node_modules/luxon/src/impl/conversions.js +0 -92
  82. package/dist/node_modules/luxon/src/impl/diff.js +0 -36
  83. package/dist/node_modules/luxon/src/impl/digits.js +0 -74
  84. package/dist/node_modules/luxon/src/impl/english.js +0 -138
  85. package/dist/node_modules/luxon/src/impl/formats.js +0 -150
  86. package/dist/node_modules/luxon/src/impl/formatter.js +0 -245
  87. package/dist/node_modules/luxon/src/impl/invalid.js +0 -11
  88. package/dist/node_modules/luxon/src/impl/locale.js +0 -282
  89. package/dist/node_modules/luxon/src/impl/regexParser.js +0 -202
  90. package/dist/node_modules/luxon/src/impl/tokenParser.js +0 -329
  91. package/dist/node_modules/luxon/src/impl/util.js +0 -206
  92. package/dist/node_modules/luxon/src/impl/zoneUtil.js +0 -19
  93. package/dist/node_modules/luxon/src/info.js +0 -180
  94. package/dist/node_modules/luxon/src/interval.js +0 -466
  95. package/dist/node_modules/luxon/src/settings.js +0 -150
  96. package/dist/node_modules/luxon/src/zone.js +0 -88
  97. package/dist/node_modules/luxon/src/zones/IANAZone.js +0 -178
  98. package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -125
  99. package/dist/node_modules/luxon/src/zones/invalidZone.js +0 -41
  100. package/dist/node_modules/luxon/src/zones/systemZone.js +0 -47
  101. package/dist/node_modules/sortablejs/modular/sortable.esm.js +0 -1261
  102. package/dist/shared/filter-inputs.js +0 -326
  103. package/dist/shared/lit-button.js +0 -142
  104. package/dist/shared/lit-checkbox.js +0 -155
  105. package/dist/shared/lit-data-grid-action-buttons-popover.js +0 -258
  106. package/dist/shared/lit-data-grid-density-popover.js +0 -79
  107. package/dist/shared/lit-data-grid-export-popover.js +0 -66
  108. package/dist/shared/lit-data-grid-row-actions.js +0 -73
  109. package/dist/shared/lit-icon-button.js +0 -91
  110. package/dist/shared/lit-icon.js +0 -282
  111. package/dist/shared/lit-loading-bar.js +0 -94
  112. package/dist/shared/lit-overflow-tooltip.js +0 -85
  113. package/dist/shared/lit-progress-bar.js +0 -83
  114. package/dist/shared/lit-responsive-button.js +0 -84
  115. package/dist/shared/simple-tooltip.js +0 -174
  116. package/dist/shared/styles/button-shared-styles.js +0 -205
  117. package/dist/styles.js +0 -174
  118. package/dist/utils/currency.js +0 -13
  119. package/dist/utils/custom-filters.js +0 -50
  120. package/dist/utils/date.js +0 -15
  121. package/dist/utils/getOperatorByType.js +0 -52
  122. package/dist/utils/localization.js +0 -30
  123. package/dist/utils/utils.js +0 -11
@@ -1,174 +0,0 @@
1
- import "../node_modules/@lit/reactive-element/reactive-element.js";
2
- import { html as d, render as p } 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) => {
10
- for (var o = r > 1 ? void 0 : r ? L(t, n) : t, e = i.length - 1, s; e >= 0; e--)
11
- (s = i[e]) && (o = (r ? s(t, n, o) : s(o)) || o);
12
- return r && o && k(t, n, o), o;
13
- };
14
- const m = ["pointerenter", "mouseenter"], c = ["pointerleave", "mouseleave", "blur", "keydown", "click", "scroll"];
15
- let l = class extends f {
16
- constructor() {
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 = () => {
18
- this.clearOpenTimeout(), this.openTimeout = window.setTimeout(() => {
19
- this._target && this.isHoveringTarget && this.showTooltipNow();
20
- }, this.openDelayMs);
21
- }, this.showTooltipNow = () => {
22
- this.style.removeProperty("display"), this.style.zIndex = "100000", this.showing = !0, !(!this.target || !this.arrowElement) && w(this.target, this, {
23
- placement: this.placement,
24
- strategy: "absolute",
25
- middleware: [
26
- y(this.offset),
27
- E(),
28
- b({ padding: 8 }),
29
- x({ padding: 8 }),
30
- T({ element: this.arrowElement })
31
- ]
32
- }).then(({ x: i, y: t, placement: n, middlewareData: r }) => {
33
- r.hide && Object.assign(this.style, {
34
- display: r.hide.referenceHidden || !this.showing ? "none" : "block"
35
- }), Object.assign(this.style, {
36
- left: `${i}px`,
37
- top: `${t}px`
38
- });
39
- const o = {
40
- top: "bottom",
41
- bottom: "top",
42
- left: "right",
43
- right: "left"
44
- }[n.split("-")[0]], { x: e, y: s } = r.arrow || {};
45
- Object.assign(this.arrowElement.style, {
46
- left: e != null ? `${e}px` : "",
47
- top: s != null ? `${s}px` : "",
48
- right: "",
49
- bottom: "",
50
- [o]: "-4px"
51
- });
52
- });
53
- }, this.clearOpenTimeout = () => {
54
- this.openTimeout !== null && (clearTimeout(this.openTimeout), this.openTimeout = null);
55
- }, this.markHovering = () => {
56
- this.isHoveringTarget = !0;
57
- }, this.markNotHovering = () => {
58
- this.isHoveringTarget = !1, this.clearOpenTimeout();
59
- }, this.hide = () => {
60
- this.showing = !1, this.style.display = "none";
61
- };
62
- }
63
- get target() {
64
- return this._target;
65
- }
66
- set target(i) {
67
- this._target && (m.forEach((t) => {
68
- this._target.removeEventListener(t, this.scheduleShow), this._target.removeEventListener(t, this.markHovering);
69
- }), c.forEach((t) => this._target.removeEventListener(t, this.hide))), i && (m.forEach((t) => {
70
- i.addEventListener(t, this.scheduleShow), i.addEventListener(t, this.markHovering);
71
- }), c.forEach((t) => {
72
- i.addEventListener(t, this.markNotHovering), i.addEventListener(t, this.hide);
73
- })), this._target = i;
74
- }
75
- connectedCallback() {
76
- super.connectedCallback(), this.style.display = "none";
77
- }
78
- firstUpdated() {
79
- this.arrowElement = this.shadowRoot.getElementById("arrow");
80
- }
81
- render() {
82
- return d`
83
- <div id="arrow"></div>
84
- <slot></slot>
85
- `;
86
- }
87
- };
88
- l.styles = _`
89
- :host {
90
- position: absolute;
91
- display: inline-block;
92
- background: black;
93
- color: white;
94
- font-size: 12px;
95
- padding: 4px 8px;
96
- border-radius: 6px;
97
- line-height: 1.5;
98
- pointer-events: none;
99
- z-index: 9999;
100
- opacity: 0;
101
- transform: scale(0.85);
102
- transition:
103
- opacity 0.2s ease,
104
- transform 0.2s ease;
105
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
106
- max-width: 300px;
107
- width: max-content;
108
- }
109
-
110
- :host([showing]) {
111
- opacity: 1;
112
- transform: scale(1);
113
- }
114
-
115
- #arrow {
116
- position: absolute;
117
- width: 8px;
118
- height: 8px;
119
- background: black;
120
- transform: rotate(45deg);
121
- }
122
- slot {
123
- display: -webkit-box;
124
- -webkit-line-clamp: 30; /* Limit to 3 lines */
125
- -webkit-box-orient: vertical;
126
- overflow: hidden;
127
- text-overflow: ellipsis;
128
- word-wrap: break-word;
129
- max-height: 70vh;
130
- }
131
- `;
132
- a([
133
- h({ type: Boolean, reflect: !0 })
134
- ], l.prototype, "showing", 2);
135
- a([
136
- h({ type: String, reflect: !0 })
137
- ], l.prototype, "placement", 2);
138
- a([
139
- h({ type: Number })
140
- ], l.prototype, "offset", 2);
141
- a([
142
- h({ type: Number })
143
- ], l.prototype, "openDelayMs", 2);
144
- l = a([
145
- u("simple-tooltip")
146
- ], l);
147
- class H extends v {
148
- constructor() {
149
- super(...arguments), this.initialized = !1;
150
- }
151
- disconnect() {
152
- this.tooltip && (this.tooltip.hide(), this.tooltip.parentElement && this.tooltip.parentElement.removeChild(this.tooltip), this.tooltip = void 0, this.initialized = !1);
153
- }
154
- render() {
155
- }
156
- // required override
157
- update(t, [n, r = "top", o = 200]) {
158
- this.part = t, this.content = n, this.placement = r, this.delay = o;
159
- const e = this.part.element;
160
- if (!this.initialized) {
161
- this.initialized = !0;
162
- const s = () => {
163
- this.tooltip || (this.tooltip = document.createElement("simple-tooltip"), this.tooltip.placement = this.placement, this.tooltip.openDelayMs = this.delay, document.body.appendChild(this.tooltip), p(this.content, this.tooltip, this.part.options)), this.tooltip.target = e, this.tooltip.openDelayMs = this.delay, this.tooltip.placement = this.placement, this.tooltip.scheduleShow(), e.removeEventListener("mouseenter", s), e.removeEventListener("pointerenter", s);
164
- };
165
- e.addEventListener("mouseenter", s), e.addEventListener("pointerenter", s);
166
- }
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());
168
- }
169
- }
170
- const j = g(H);
171
- export {
172
- l as SimpleTooltip,
173
- j as tooltip
174
- };
@@ -1,205 +0,0 @@
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`
6
- button {
7
- font-family: inherit;
8
- border-radius: var(--border-radius-small, 0.5rem);
9
- cursor: pointer;
10
- transition:
11
- background-color 0.3s,
12
- color 0.3s,
13
- border 0.3s;
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
17
- }
18
- /* Disabled button state */
19
-
20
- .button--contained:disabled {
21
- background-color: var(--color-primary-disabled, #d0d3db);
22
- cursor: not-allowed;
23
- }
24
-
25
- .button--outlined:disabled {
26
- color: var(--color-primary-disabled);
27
- border: 1px solid var(--color-primary-disabled, #d0d3db);
28
- cursor: not-allowed;
29
- }
30
-
31
- .button--text:disabled {
32
- color: var(--color-primary-disabled, #d0d3db);
33
- cursor: not-allowed;
34
- }
35
-
36
- .button--dashed:disabled {
37
- color: var(--color-primary-disabled, #d0d3db);
38
- cursor: not-allowed;
39
- border: 1px dashed var(--color-primary-disabled, #d0d3db);
40
- }
41
-
42
- .button--error:disabled {
43
- background-color: var(--color-primary-disabled, #d0d3db);
44
- cursor: not-allowed;
45
- }
46
-
47
- .button--ai:disabled {
48
- background: var(--color-primary-disabled, #d0d3db);
49
- cursor: not-allowed;
50
- }
51
-
52
- .button--outlined-ai:disabled {
53
- color: var(--color-primary-disabled);
54
- cursor: not-allowed;
55
- }
56
-
57
- .button--outlined-ai:disabled::before {
58
- background: var(--color-primary-disabled);
59
- }
60
-
61
- .button--outlined-ai:disabled .button-inner {
62
- background: none;
63
- color: var(--color-primary-disabled);
64
- -webkit-text-fill-color: var(--color-primary-disabled);
65
- -webkit-background-clip: border-box;
66
- }
67
-
68
- /* Button Variants */
69
- .button--outlined {
70
- color: var(--text-primary);
71
- border: 1px solid var(--text-primary, #111827);
72
- background-color: var(--background-paper, #fff);
73
- }
74
- .button--outlined:not(:disabled):hover {
75
- background-color: var(--color-primary-light, #f0fadf);
76
- }
77
-
78
- .button--contained {
79
- border: none;
80
- color: #fff;
81
- background-color: var(--color-primary-main, #76b703);
82
- }
83
- .button--contained:not(:disabled):hover {
84
- background-color: var(--color-primary-dark, #5f9402);
85
- }
86
-
87
- .button--error {
88
- border: none;
89
- color: var(--color-error-light, #ffd6cd);
90
- background-color: var(--color-error-main, #ca2d0a);
91
- }
92
-
93
- .button--error:not(:disabled):hover {
94
- background-color: var(--color-error-dark, #a52103);
95
- }
96
-
97
- .button--ai {
98
- border: none;
99
- color: #fff;
100
- background: linear-gradient(to right, #573493, #e78047);
101
- }
102
-
103
- .button--ai:not(:disabled):hover {
104
- opacity: 80%;
105
- }
106
-
107
- .button--outlined-ai {
108
- position: relative;
109
- background-color: var(--background-paper, #fff);
110
- border: none;
111
- z-index: 0;
112
- color: transparent;
113
-
114
- background-image: linear-gradient(to right, #573493, #e78047);
115
- -webkit-background-clip: text;
116
- -webkit-text-fill-color: transparent;
117
- }
118
-
119
- .button--outlined-ai::before {
120
- content: '';
121
- position: absolute;
122
- top: -1px;
123
- left: -1px;
124
- right: -1px;
125
- bottom: -1px;
126
- z-index: -1;
127
- background: linear-gradient(to right, #573493, #e78047);
128
- border-radius: inherit;
129
- padding: 1px;
130
- -webkit-mask:
131
- linear-gradient(#fff 0 0) content-box,
132
- linear-gradient(#fff 0 0);
133
- mask-composite: exclude;
134
- }
135
- .button--outlined-ai .button-inner {
136
- background: linear-gradient(to right, #573493, #e78047);
137
- -webkit-background-clip: text;
138
- -webkit-text-fill-color: transparent;
139
- display: inline-flex;
140
- align-items: center;
141
- gap: 0.5rem;
142
- }
143
-
144
- .button--outlined-ai:not(:disabled) .out-ai {
145
- color: #573493;
146
- }
147
-
148
- .button--outlined-ai:not(:disabled) .start-icon {
149
- color: #573493;
150
- }
151
-
152
- .button--outlined-ai:not(:disabled):hover {
153
- opacity: 80%;
154
- }
155
-
156
- .button--text {
157
- border: none;
158
- color: var(--text-primary, #111827);
159
- background-color: var(--background-paper, #fff);
160
- }
161
-
162
- .button--text:not(:disabled):hover {
163
- background-color: var(--color-primary-light, #f0fadf);
164
- }
165
-
166
- .button--dashed {
167
- position: relative;
168
- border: none;
169
- color: var(--text-primary, #111827);
170
- background-color: var(--background-paper, #fff);
171
- display: flex !important;
172
- }
173
-
174
- .button--dashed::before {
175
- content: '';
176
- top: 1px;
177
- left: 1px;
178
- right: 1px;
179
- bottom: 1px;
180
- position: absolute;
181
- border: 1px dashed var(--color-divider, #d0d3db);
182
- border-radius: 6px; /* 2px less than main radius */
183
- box-sizing: border-box;
184
- z-index: 1;
185
- }
186
-
187
- .button--dashed:not(:disabled):hover {
188
- background-color: var(--color-primary-light, #f0fadf);
189
- }
190
-
191
- .button--text.active {
192
- background-color: var(--color-primary-light, #f0fadf);
193
- }
194
- .button--dashed.active {
195
- background-color: var(--color-primary-light, #f0fadf);
196
- }
197
- .button--inherit {
198
- background-color: inherit;
199
- color: var(--text-primary, #111827);
200
- border: none;
201
- }
202
- `;
203
- export {
204
- e as default
205
- };
package/dist/styles.js DELETED
@@ -1,174 +0,0 @@
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 n = o`
6
- :host {
7
- --breakpoint-sm: 600px;
8
- --breakpoint-md: 960px;
9
- --breakpoint-lg: 1280px;
10
- --breakpoint-xl: 1536px;
11
-
12
- --color-primary-main: #76b703;
13
- --color-primary-light: #f0fadf;
14
- --color-primary-dark: #5f9402;
15
- --color-primary-disabled: #d0d3db;
16
-
17
- --color-secondary-main: #111827;
18
- --color-secondary-light: #d0d3db;
19
- --color-secondary-dark: #010204;
20
-
21
- --color-info-main: #00687e;
22
- --color-info-light: #cbf6ff;
23
- --color-info-dark: #004452;
24
-
25
- --color-warning-main: #875900;
26
- --color-warning-light: #ffe1a8;
27
- --color-warning-dark: #684500;
28
-
29
- --color-error-main: #ca2d0a;
30
- --color-error-light: #ffd6cd;
31
- --color-error-dark: #a52103;
32
-
33
- --color-success-main: #76b703;
34
- --color-success-light: #f0fadf;
35
- --color-success-dark: #5f9402;
36
-
37
- --color-divider: #d0d3db;
38
-
39
- --text-primary: #111827;
40
- --text-secondary: #5d6371;
41
- --text-disabled: #d0d3db;
42
-
43
- --background-paper: #ffffff;
44
- --background-default: #eff3f4;
45
-
46
- --border-radius-small: 0.5rem;
47
- --border-radius-medium: 0.75rem;
48
-
49
- --box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
50
-
51
- --section-padding: 0.75rem 1rem;
52
-
53
- font-family: Inter, sans-serif;
54
- box-sizing: border-box;
55
-
56
- *,
57
- *::before,
58
- *::after {
59
- margin: 0;
60
- padding: 0;
61
- box-sizing: border-box;
62
- }
63
-
64
- * {
65
- box-sizing: border-box;
66
- }
67
-
68
- article,
69
- aside,
70
- details,
71
- figcaption,
72
- figure,
73
- footer,
74
- header,
75
- hgroup,
76
- main,
77
- menu,
78
- nav,
79
- section {
80
- display: block;
81
- }
82
-
83
- ol,
84
- ul {
85
- list-style: none;
86
- }
87
- a {
88
- text-decoration: none;
89
- color: inherit;
90
- }
91
-
92
- img,
93
- video {
94
- max-width: 100%;
95
- height: auto;
96
- }
97
-
98
- button,
99
- input,
100
- optgroup,
101
- select,
102
- textarea {
103
- font: inherit;
104
- color: inherit;
105
- margin: 0;
106
- border: none;
107
- background: none;
108
- padding: 0;
109
- appearance: none;
110
- -webkit-appearance: none;
111
- -moz-appearance: none;
112
- }
113
-
114
- table {
115
- border-collapse: collapse;
116
- border-spacing: 0;
117
- width: 100%;
118
- }
119
-
120
- html {
121
- font-size: 100%; /* 16px base */
122
- line-height: 1.5;
123
- scroll-behavior: smooth;
124
- -webkit-text-size-adjust: 100%; /* Prevent font scaling in Safari */
125
- }
126
-
127
- body {
128
- font-family:
129
- system-ui,
130
- -apple-system,
131
- BlinkMacSystemFont,
132
- 'Segoe UI',
133
- Roboto,
134
- Oxygen,
135
- Ubuntu,
136
- Cantarell,
137
- 'Open Sans',
138
- 'Helvetica Neue',
139
- sans-serif;
140
- line-height: 1.6;
141
- color: #333;
142
- background-color: #fff;
143
- }
144
-
145
- strong {
146
- font-weight: bold;
147
- }
148
-
149
- h1,
150
- h2,
151
- h3,
152
- h4,
153
- h5,
154
- h6 {
155
- font-size: inherit;
156
- font-weight: inherit;
157
- }
158
-
159
- blockquote,
160
- q {
161
- quotes: none;
162
- }
163
-
164
- blockquote::before,
165
- blockquote::after,
166
- q::before,
167
- q::after {
168
- content: '';
169
- }
170
- }
171
- `;
172
- export {
173
- n as default
174
- };
@@ -1,13 +0,0 @@
1
- const e = (r, t) => {
2
- if (r === null)
3
- return null;
4
- if (r === "")
5
- return "";
6
- const n = typeof r == "string" ? parseFloat(r) : r;
7
- return isNaN(n) ? "Invalid number" : new Intl.NumberFormat(t, {
8
- style: "decimal"
9
- }).format(n);
10
- };
11
- export {
12
- e as formatCurrency
13
- };
@@ -1,50 +0,0 @@
1
- import M from "../node_modules/luxon/src/datetime.js";
2
- import "../node_modules/luxon/src/duration.js";
3
- const l = (e, r, y) => {
4
- const t = e.getValue(r);
5
- if (!t) return !1;
6
- const s = a(t), d = y.startDate, n = y.endDate;
7
- return d && n ? s >= d && s <= n : d ? s >= d : n ? s <= n : !0;
8
- };
9
- function u(e, r, y) {
10
- const t = e.getValue(r);
11
- if (!t) return !1;
12
- const s = a(t), d = y;
13
- return !s || !d ? !1 : s === d;
14
- }
15
- const f = (e, r, y) => {
16
- const t = e.getValue(r);
17
- return t ? y.includes(t) : !1;
18
- };
19
- function a(e) {
20
- if (!e) return null;
21
- const r = [
22
- "yyyy-MM-dd",
23
- "dd-MM-yyyy",
24
- "MM-dd-yyyy",
25
- "d. M. yyyy",
26
- "d. M. yyyy.",
27
- "d.M.yyyy",
28
- "yyyy/MM/dd",
29
- "dd/MM/yyyy",
30
- "M/d/yyyy",
31
- "MM/dd/yyyy",
32
- "dd MMMM yyyy",
33
- "yyyy-MM-dd'T'HH:mm:ss",
34
- "yyyy-MM-dd'T'HH:mm:ss.SSS",
35
- "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
36
- "dd.MM.yyyy",
37
- "MM.dd.yyyy",
38
- "EEE, d MMM yyyy",
39
- "EEE, d MMM yyyy HH:mm:ss Z"
40
- ];
41
- let y;
42
- for (const t of r)
43
- if (y = M.fromFormat(e, t), y.isValid) break;
44
- return (!y || !y.isValid) && (y = M.fromISO(e)), y.isValid ? y.toJSDate().toISOString() : null;
45
- }
46
- export {
47
- u as dateFilterFn,
48
- l as dateRangeFilterFn,
49
- f as multiselectFilterFn
50
- };
@@ -1,15 +0,0 @@
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) => {
4
- if (r === null)
5
- return null;
6
- if (r === "")
7
- return "";
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(
10
- n ? t.DATETIME_SHORT : void 0
11
- );
12
- };
13
- export {
14
- u as formatDate
15
- };
@@ -1,52 +0,0 @@
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) {
4
- switch (l) {
5
- case "string":
6
- return [
7
- { label: e("obsahuje"), value: "contains" },
8
- { label: e("rovná se"), value: "=" },
9
- { label: e("nerovná se"), value: "!=" },
10
- { label: e("začíná na"), value: "startsWith" },
11
- { label: e("končí na"), value: "endsWith" },
12
- { label: e("neobsahuje"), value: "doesNotContain" },
13
- { label: e("je prázdné"), value: "isEmpty" },
14
- { label: e("není prázdné"), value: "isNotEmpty" }
15
- ];
16
- case "select":
17
- return [
18
- { value: "is", label: e("Je") },
19
- { value: "not", label: e("Není") }
20
- ];
21
- case "multiselect":
22
- return [{ value: "isAnyOfValue", label: e("Je libovolná hodnota z") }];
23
- case "number":
24
- return [
25
- { label: e("rovná se"), value: "=" },
26
- { label: e("nerovná se"), value: "!=" },
27
- { label: e("větší než"), value: ">" },
28
- { label: e("větší nebo rovné"), value: ">=" },
29
- { label: e("menší než"), value: "<" },
30
- { label: e("menší nebo rovné"), value: "<=" },
31
- { label: e("je prázdné"), value: "isEmpty" },
32
- { label: e("není prázdné"), value: "isNotEmpty" }
33
- ];
34
- case "date":
35
- return [
36
- { label: e("rovná se"), value: "=" },
37
- { label: e("nerovná se"), value: "!=" },
38
- { label: e("větší než"), value: ">" },
39
- { label: e("větší nebo rovné"), value: ">=" },
40
- { label: e("menší než"), value: "<" },
41
- { label: e("menší nebo rovné"), value: "<=" },
42
- { label: e("je prázdné"), value: "isEmpty" },
43
- { label: e("není prázdné"), value: "isNotEmpty" },
44
- { label: e("od - do"), value: "fromTo" }
45
- ];
46
- default:
47
- return [];
48
- }
49
- }
50
- export {
51
- v as getOperatorsByColumnType
52
- };