overview-components 1.0.92 → 1.0.95
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/___vite-browser-external.js +6 -0
- package/dist/_virtual/__vite-browser-external.js +4 -0
- package/dist/_virtual/_commonjs-dynamic-modules.js +6 -0
- package/dist/_virtual/_commonjsHelpers.js +28 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/lodash.js +4 -0
- package/dist/_virtual/pdf.js +4 -0
- package/dist/_virtual/react.production.js +4 -0
- package/dist/assets/generated/locales/de.js +73 -0
- package/dist/assets/generated/locales/en.js +73 -0
- package/dist/assets/generated/locales/fr.js +73 -0
- package/dist/assets/generated/locales/hr.js +73 -0
- package/dist/assets/generated/locales/it.js +73 -0
- package/dist/assets/generated/locales/pl.js +73 -0
- package/dist/assets/generated/locales/ro.js +73 -0
- package/dist/assets/generated/locales/sk.js +73 -0
- package/dist/assets/generated/locales/sr.js +73 -0
- package/dist/components/lit-attachments-tab.js +519 -0
- package/dist/components/lit-badge.js +100 -0
- package/dist/components/lit-case-variables-tab.js +727 -0
- package/dist/components/lit-chart.js +395 -0
- package/dist/components/lit-data-grid-tanstack.js +1733 -0
- package/dist/components/lit-filter-modal.js +312 -0
- package/dist/components/lit-multiselect-item.js +530 -0
- package/dist/components/lit-section-tab.js +133 -0
- package/dist/components/lit-tabs-overview.js +304 -0
- package/dist/components/react-wrappers/attachments-tab.js +14 -0
- package/dist/components/react-wrappers/badge.js +14 -0
- package/dist/components/react-wrappers/button.js +14 -0
- package/dist/components/react-wrappers/case-variables-tab.js +14 -0
- package/dist/components/react-wrappers/chart.js +14 -0
- package/dist/components/react-wrappers/data-grid-tanstack.js +14 -0
- package/dist/components/react-wrappers/filter-modal.js +14 -0
- package/dist/components/react-wrappers/progress-bar.js +14 -0
- package/dist/components/react-wrappers/section-tab.js +14 -0
- package/dist/components/react-wrappers/tabs-overview.js +14 -0
- package/dist/index.js +42 -0
- package/dist/libs/xlsx.mini.min.js +10 -0
- 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/@kurkle/color/dist/color.esm.js +448 -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 +50 -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 +250 -0
- 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/chart.js/dist/chart.js +7122 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js +1691 -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/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 +243 -0
- package/dist/node_modules/lodash/lodash.js +3678 -0
- 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/pdfjs-dist/build/pdf.js +10310 -0
- package/dist/node_modules/react/cjs/react.production.js +417 -0
- package/dist/node_modules/react/index.js +10 -0
- package/dist/node_modules/sortablejs/modular/sortable.esm.js +1261 -0
- package/dist/shared/lit-button.js +142 -0
- package/dist/shared/lit-progress-bar.js +83 -0
- package/dist/shared/simple-tooltip.js +174 -0
- package/dist/shared/styles/button-shared-styles.js +205 -0
- package/dist/utils/currency.js +13 -0
- package/dist/utils/custom-filters.js +50 -0
- package/dist/utils/date.js +15 -0
- package/dist/utils/getOperatorByType.js +52 -0
- package/dist/utils/localization.js +30 -0
- package/dist/vite.svg +1 -0
- package/package.json +76 -74
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { configureLocalization as s } from "../node_modules/@lit/localize/init/runtime.js";
|
|
2
|
+
import * as o from "../assets/generated/locales/en.js";
|
|
3
|
+
import * as t from "../assets/generated/locales/pl.js";
|
|
4
|
+
import * as a from "../assets/generated/locales/de.js";
|
|
5
|
+
import * as e from "../assets/generated/locales/sk.js";
|
|
6
|
+
import * as m from "../assets/generated/locales/fr.js";
|
|
7
|
+
import * as i from "../assets/generated/locales/hr.js";
|
|
8
|
+
import * as p from "../assets/generated/locales/it.js";
|
|
9
|
+
import * as c from "../assets/generated/locales/ro.js";
|
|
10
|
+
import * as f from "../assets/generated/locales/sr.js";
|
|
11
|
+
const l = "cs", n = ["en", "de", "sk", "pl", "fr", "hr", "it", "ro", "ru", "sr"], L = /* @__PURE__ */ new Map([
|
|
12
|
+
["en", o],
|
|
13
|
+
["sk", e],
|
|
14
|
+
["pl", t],
|
|
15
|
+
["de", a],
|
|
16
|
+
["fr", m],
|
|
17
|
+
["hr", i],
|
|
18
|
+
["it", p],
|
|
19
|
+
["ro", c],
|
|
20
|
+
["ru", o],
|
|
21
|
+
["sr", f]
|
|
22
|
+
]), { getLocale: g, setLocale: u } = s({
|
|
23
|
+
sourceLocale: l,
|
|
24
|
+
targetLocales: n,
|
|
25
|
+
loadLocale: async (r) => L.get(r)
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
g as getLocale,
|
|
29
|
+
u as setLocale
|
|
30
|
+
};
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
CHANGED
|
@@ -1,76 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
2
|
+
"name": "overview-components",
|
|
3
|
+
"version": "1.0.95",
|
|
4
|
+
"description": "A reusable design Lit components for case overview section.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"dist/**/*.js",
|
|
11
|
+
"dist/**/*.d.ts"
|
|
12
|
+
],
|
|
13
|
+
"sideEffects": false,
|
|
14
|
+
"type": "module",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "vite",
|
|
17
|
+
"preview": "vite preview",
|
|
18
|
+
"storybook": "storybook dev -p 6006",
|
|
19
|
+
"build-storybook": "storybook build",
|
|
20
|
+
"build": "vite build && tsc --emitDeclarationOnly",
|
|
21
|
+
"prepublishOnly": "npm run build",
|
|
22
|
+
"extract": "lit-localize extract --config=src/assets/lit-localize.json",
|
|
23
|
+
"build:localize": "lit-localize build --config=src/assets/lit-localize.json",
|
|
24
|
+
"translate:localize": "node ./src/scripts/translate-locales.js",
|
|
25
|
+
"test-storybook": "test-storybook"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@floating-ui/dom": "1.6.12",
|
|
29
|
+
"@lit-labs/react": "2.1.3",
|
|
30
|
+
"@tanstack/lit-table": "8.20.5",
|
|
31
|
+
"@tanstack/lit-virtual": "3.13.8",
|
|
32
|
+
"air-datepicker": "^3.6.0",
|
|
33
|
+
"ajv": "^8.17.1",
|
|
34
|
+
"chart.js": "4.4.7",
|
|
35
|
+
"dotenv": "16.4.7",
|
|
36
|
+
"file-saver": "^2.0.5",
|
|
37
|
+
"json-schema-to-ts": "^3.1.1",
|
|
38
|
+
"lodash": "4.17.21",
|
|
39
|
+
"luxon": "3.5.0",
|
|
40
|
+
"node-fetch": "3.3.2",
|
|
41
|
+
"pdfjs-dist": "2.16.105",
|
|
42
|
+
"sortablejs": "1.15.6"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"lit": "^3.0.0",
|
|
46
|
+
"@lit/localize": "^0.12.0",
|
|
47
|
+
"react": ">=16.8.0",
|
|
48
|
+
"react-dom": ">=16.8.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
52
|
+
"@lit/localize-tools": "^0.8.0",
|
|
53
|
+
"lit": "3.2.0",
|
|
54
|
+
"@lit/localize": "0.12.2",
|
|
55
|
+
"@storybook/addon-essentials": "8.6.14",
|
|
56
|
+
"@storybook/addon-links": "8.6.14",
|
|
57
|
+
"@storybook/blocks": "8.6.14",
|
|
58
|
+
"@storybook/jest": "^0.2.2",
|
|
59
|
+
"@storybook/manager-api": "8.6.14",
|
|
60
|
+
"@storybook/test": "8.6.14",
|
|
61
|
+
"@storybook/test-runner": "^0.22.0",
|
|
62
|
+
"@storybook/testing-library": "^0.2.1",
|
|
63
|
+
"@storybook/theming": "8.6.14",
|
|
64
|
+
"@storybook/web-components": "8.6.14",
|
|
65
|
+
"@storybook/web-components-vite": "8.6.14",
|
|
66
|
+
"@types/file-saver": "^2.0.7",
|
|
67
|
+
"@types/lodash": "^4.17.13",
|
|
68
|
+
"@types/luxon": "^3.4.2",
|
|
69
|
+
"@types/node": "^22.10.7",
|
|
70
|
+
"@types/sortablejs": "^1.15.8",
|
|
71
|
+
"json-schema-to-ts": "^3.1.1",
|
|
72
|
+
"prettier": "^3.3.3",
|
|
73
|
+
"storybook": "8.6.14",
|
|
74
|
+
"storybook-dark-mode": "^4.0.2",
|
|
75
|
+
"typescript": "^5.5.3",
|
|
76
|
+
"vite": "^5.4.8"
|
|
77
|
+
}
|
|
76
78
|
}
|