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.
Files changed (117) hide show
  1. package/dist/_virtual/FileSaver.min.js +4 -0
  2. package/dist/_virtual/___vite-browser-external.js +6 -0
  3. package/dist/_virtual/__vite-browser-external.js +4 -0
  4. package/dist/_virtual/_commonjs-dynamic-modules.js +6 -0
  5. package/dist/_virtual/_commonjsHelpers.js +28 -0
  6. package/dist/_virtual/index.js +4 -0
  7. package/dist/_virtual/lodash.js +4 -0
  8. package/dist/_virtual/pdf.js +4 -0
  9. package/dist/_virtual/react.production.js +4 -0
  10. package/dist/assets/generated/locales/de.js +73 -0
  11. package/dist/assets/generated/locales/en.js +73 -0
  12. package/dist/assets/generated/locales/fr.js +73 -0
  13. package/dist/assets/generated/locales/hr.js +73 -0
  14. package/dist/assets/generated/locales/it.js +73 -0
  15. package/dist/assets/generated/locales/pl.js +73 -0
  16. package/dist/assets/generated/locales/ro.js +73 -0
  17. package/dist/assets/generated/locales/sk.js +73 -0
  18. package/dist/assets/generated/locales/sr.js +73 -0
  19. package/dist/components/lit-attachments-tab.js +519 -0
  20. package/dist/components/lit-badge.js +100 -0
  21. package/dist/components/lit-case-variables-tab.js +727 -0
  22. package/dist/components/lit-chart.js +395 -0
  23. package/dist/components/lit-data-grid-tanstack.js +1733 -0
  24. package/dist/components/lit-filter-modal.js +312 -0
  25. package/dist/components/lit-multiselect-item.js +530 -0
  26. package/dist/components/lit-section-tab.js +133 -0
  27. package/dist/components/lit-tabs-overview.js +304 -0
  28. package/dist/components/react-wrappers/attachments-tab.js +14 -0
  29. package/dist/components/react-wrappers/badge.js +14 -0
  30. package/dist/components/react-wrappers/button.js +14 -0
  31. package/dist/components/react-wrappers/case-variables-tab.js +14 -0
  32. package/dist/components/react-wrappers/chart.js +14 -0
  33. package/dist/components/react-wrappers/data-grid-tanstack.js +14 -0
  34. package/dist/components/react-wrappers/filter-modal.js +14 -0
  35. package/dist/components/react-wrappers/progress-bar.js +14 -0
  36. package/dist/components/react-wrappers/section-tab.js +14 -0
  37. package/dist/components/react-wrappers/tabs-overview.js +14 -0
  38. package/dist/index.js +42 -0
  39. package/dist/libs/xlsx.mini.min.js +10 -0
  40. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +432 -0
  41. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +306 -0
  42. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +127 -0
  43. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +127 -0
  44. package/dist/node_modules/@kurkle/color/dist/color.esm.js +448 -0
  45. package/dist/node_modules/@lit/localize/init/install.js +11 -0
  46. package/dist/node_modules/@lit/localize/init/runtime.js +42 -0
  47. package/dist/node_modules/@lit/localize/internal/default-msg.js +10 -0
  48. package/dist/node_modules/@lit/localize/internal/deferred.js +21 -0
  49. package/dist/node_modules/@lit/localize/internal/fnv1a64.js +17 -0
  50. package/dist/node_modules/@lit/localize/internal/id-generation.js +14 -0
  51. package/dist/node_modules/@lit/localize/internal/locale-status-event.js +9 -0
  52. package/dist/node_modules/@lit/localize/internal/runtime-msg.js +42 -0
  53. package/dist/node_modules/@lit/localize/internal/str-tag.js +15 -0
  54. package/dist/node_modules/@lit/react/create-component.js +35 -0
  55. package/dist/node_modules/@lit/reactive-element/css-tag.js +50 -0
  56. package/dist/node_modules/@lit/reactive-element/decorators/base.js +9 -0
  57. package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +13 -0
  58. package/dist/node_modules/@lit/reactive-element/decorators/property.js +37 -0
  59. package/dist/node_modules/@lit/reactive-element/decorators/query.js +20 -0
  60. package/dist/node_modules/@lit/reactive-element/decorators/state.js +12 -0
  61. package/dist/node_modules/@lit/reactive-element/reactive-element.js +250 -0
  62. package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +104 -0
  63. package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +40 -0
  64. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1956 -0
  65. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +490 -0
  66. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
  67. package/dist/node_modules/chart.js/dist/chart.js +7122 -0
  68. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js +1691 -0
  69. package/dist/node_modules/file-saver/dist/FileSaver.min.js +74 -0
  70. package/dist/node_modules/lit-element/lit-element.js +51 -0
  71. package/dist/node_modules/lit-html/async-directive.js +69 -0
  72. package/dist/node_modules/lit-html/directive-helpers.js +45 -0
  73. package/dist/node_modules/lit-html/directive.js +27 -0
  74. package/dist/node_modules/lit-html/directives/ref.js +42 -0
  75. package/dist/node_modules/lit-html/directives/repeat.js +61 -0
  76. package/dist/node_modules/lit-html/directives/style-map.js +36 -0
  77. package/dist/node_modules/lit-html/directives/unsafe-html.js +27 -0
  78. package/dist/node_modules/lit-html/lit-html.js +243 -0
  79. package/dist/node_modules/lodash/lodash.js +3678 -0
  80. package/dist/node_modules/luxon/src/datetime.js +1793 -0
  81. package/dist/node_modules/luxon/src/duration.js +723 -0
  82. package/dist/node_modules/luxon/src/errors.js +40 -0
  83. package/dist/node_modules/luxon/src/impl/conversions.js +92 -0
  84. package/dist/node_modules/luxon/src/impl/diff.js +36 -0
  85. package/dist/node_modules/luxon/src/impl/digits.js +74 -0
  86. package/dist/node_modules/luxon/src/impl/english.js +138 -0
  87. package/dist/node_modules/luxon/src/impl/formats.js +150 -0
  88. package/dist/node_modules/luxon/src/impl/formatter.js +245 -0
  89. package/dist/node_modules/luxon/src/impl/invalid.js +11 -0
  90. package/dist/node_modules/luxon/src/impl/locale.js +282 -0
  91. package/dist/node_modules/luxon/src/impl/regexParser.js +202 -0
  92. package/dist/node_modules/luxon/src/impl/tokenParser.js +329 -0
  93. package/dist/node_modules/luxon/src/impl/util.js +206 -0
  94. package/dist/node_modules/luxon/src/impl/zoneUtil.js +19 -0
  95. package/dist/node_modules/luxon/src/info.js +180 -0
  96. package/dist/node_modules/luxon/src/interval.js +466 -0
  97. package/dist/node_modules/luxon/src/settings.js +150 -0
  98. package/dist/node_modules/luxon/src/zone.js +88 -0
  99. package/dist/node_modules/luxon/src/zones/IANAZone.js +178 -0
  100. package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +125 -0
  101. package/dist/node_modules/luxon/src/zones/invalidZone.js +41 -0
  102. package/dist/node_modules/luxon/src/zones/systemZone.js +47 -0
  103. package/dist/node_modules/pdfjs-dist/build/pdf.js +10310 -0
  104. package/dist/node_modules/react/cjs/react.production.js +417 -0
  105. package/dist/node_modules/react/index.js +10 -0
  106. package/dist/node_modules/sortablejs/modular/sortable.esm.js +1261 -0
  107. package/dist/shared/lit-button.js +142 -0
  108. package/dist/shared/lit-progress-bar.js +83 -0
  109. package/dist/shared/simple-tooltip.js +174 -0
  110. package/dist/shared/styles/button-shared-styles.js +205 -0
  111. package/dist/utils/currency.js +13 -0
  112. package/dist/utils/custom-filters.js +50 -0
  113. package/dist/utils/date.js +15 -0
  114. package/dist/utils/getOperatorByType.js +52 -0
  115. package/dist/utils/localization.js +30 -0
  116. package/dist/vite.svg +1 -0
  117. 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
- "name": "overview-components",
3
- "version": "1.0.92",
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": "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
- "lit": "^3.0.0",
29
- "@lit/localize": "^0.12.0",
30
- "@floating-ui/dom": "1.6.12",
31
- "@lit-labs/react": "2.1.3",
32
- "@tanstack/lit-table": "8.20.5",
33
- "@tanstack/lit-virtual": "3.13.8",
34
- "air-datepicker": "^3.6.0",
35
- "ajv": "^8.17.1",
36
- "chart.js": "4.4.7",
37
- "dotenv": "16.4.7",
38
- "file-saver": "^2.0.5",
39
- "json-schema-to-ts": "^3.1.1",
40
- "lodash": "4.17.21",
41
- "luxon": "3.5.0",
42
- "node-fetch": "3.3.2",
43
- "pdfjs-dist": "2.16.105",
44
- "sortablejs": "1.15.6"
45
- },
46
- "peerDependencies": {
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
- "@storybook/addon-essentials": "8.6.14",
54
- "@storybook/addon-links": "8.6.14",
55
- "@storybook/blocks": "8.6.14",
56
- "@storybook/jest": "^0.2.2",
57
- "@storybook/manager-api": "8.6.14",
58
- "@storybook/test": "8.6.14",
59
- "@storybook/test-runner": "^0.22.0",
60
- "@storybook/testing-library": "^0.2.1",
61
- "@storybook/theming": "8.6.14",
62
- "@storybook/web-components": "8.6.14",
63
- "@storybook/web-components-vite": "8.6.14",
64
- "@types/file-saver": "^2.0.7",
65
- "@types/lodash": "^4.17.13",
66
- "@types/luxon": "^3.4.2",
67
- "@types/node": "^22.10.7",
68
- "@types/sortablejs": "^1.15.8",
69
- "json-schema-to-ts": "^3.1.1",
70
- "prettier": "^3.3.3",
71
- "storybook": "8.6.14",
72
- "storybook-dark-mode": "^4.0.2",
73
- "typescript": "^5.5.3",
74
- "vite": "^5.4.8"
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
  }