@nxgt/material 2.4.1 → 2.5.0

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 (170) hide show
  1. package/README.md +28 -19
  2. package/dist/{_Uint8Array-DEXn42kj.js → _Uint8Array-DuTT6911.js} +1 -1
  3. package/dist/_overRest-93z6TD9V.js +81 -0
  4. package/dist/{abnfDiagram-O67JEVCF-C7NxOWqd.js → abnfDiagram-O67JEVCF-Cl4ukf6a.js} +4 -4
  5. package/dist/{architectureDiagram-NJMV4G6O-BIvwyzEh.js → architectureDiagram-NJMV4G6O-WmFlBQF5.js} +7 -7
  6. package/dist/{client-only.utils-DhcBUmau.js → async-slice-B8Xv2BLH.js} +164 -93
  7. package/dist/{blockDiagram-BEXU5L5S-CD5PW_mQ.js → blockDiagram-BEXU5L5S-C8UXdLfB.js} +11 -11
  8. package/dist/{c4Diagram-YGBWAQC7-WgqlRIL5.js → c4Diagram-YGBWAQC7-D9xSt2QO.js} +8 -8
  9. package/dist/{channel-Ba8pEAWx.js → channel-Dg92Hoym.js} +1 -1
  10. package/dist/{chunk-3FUC2YCW-CNBUvTSg.js → chunk-3FUC2YCW-4gCRt6fO.js} +8 -8
  11. package/dist/{chunk-5DYCD2WN-Bqi3iL5i.js → chunk-5DYCD2WN-Cja1INgd.js} +3 -3
  12. package/dist/{chunk-6AEJRKK7-DDXoGWDs.js → chunk-6AEJRKK7-3YWRP4aV.js} +2 -2
  13. package/dist/{chunk-742MDFTN-nG_ROTnT.js → chunk-742MDFTN-Cs1qGiTK.js} +2 -2
  14. package/dist/{chunk-7INBJB4K-Dg64CbhT.js → chunk-7INBJB4K-BY5n77ka.js} +6 -6
  15. package/dist/{chunk-7M6MHVWA-DEh1Crrc.js → chunk-7M6MHVWA-DnPXbiTM.js} +9 -9
  16. package/dist/{chunk-7PRAP22T-DIiYRAce.js → chunk-7PRAP22T-_Av9vcXz.js} +1 -1
  17. package/dist/{chunk-GNY47TPC-vOPvRE_8.js → chunk-GNY47TPC-DLqgU2SJ.js} +11 -11
  18. package/dist/{chunk-GTNCS2PH-CzDYTYNy.js → chunk-GTNCS2PH-BZ9WMD1v.js} +3 -3
  19. package/dist/{chunk-GWA4HPMP-CmsxMX3A.js → chunk-GWA4HPMP-Co-A6dtV.js} +3 -3
  20. package/dist/{chunk-MBY4JIJT-IA2XBafa.js → chunk-MBY4JIJT-C3RQP_Nk.js} +4 -4
  21. package/dist/{chunk-NETBCI7D-CQV8lo68.js → chunk-NETBCI7D-CBowDvwz.js} +1 -1
  22. package/dist/{chunk-O7XYJQB3-C87zK8E5.js → chunk-O7XYJQB3-A66QSOPA.js} +1 -1
  23. package/dist/{chunk-UA2S7LBM-B0LGFGu3.js → chunk-UA2S7LBM-BNeHeMx9.js} +6 -6
  24. package/dist/{chunk-WEXAMYUT-C-QP0DFq.js → chunk-WEXAMYUT-CucJfehv.js} +2 -2
  25. package/dist/{chunk-XXDRQBXY-Bq4sFnO2.js → chunk-XXDRQBXY-FgXU14Bh.js} +1 -1
  26. package/dist/{chunk-Z7XXMR3K-DcqSgI9Q.js → chunk-Z7XXMR3K-dRJc1Z30.js} +8 -8
  27. package/dist/{chunk-ZIGJFQKS-HDJ6e6OJ.js → chunk-ZIGJFQKS-C3xUAXJq.js} +3 -3
  28. package/dist/{classDiagram-v2-NBCMYWYE-tU42Be-2.js → classDiagram-v2-NBCMYWYE-CQmePeL4.js} +14 -14
  29. package/dist/{components-NLbPtyeB.js → components-CUkJhBwK.js} +26367 -25835
  30. package/dist/components.js +6 -6
  31. package/dist/{cose-bilkent-JH36ORCC-11-T1rfk.js → cose-bilkent-JH36ORCC-DRUT3qBb.js} +2 -2
  32. package/dist/{cynefinDiagram-VND7K2PF-1kHi2rGa.js → cynefinDiagram-VND7K2PF-B9HrdQW8.js} +4 -4
  33. package/dist/{dagre-6A5THRUB-CXwkkHFr.js → dagre-6A5THRUB-BhyJENrD.js} +574 -615
  34. package/dist/{diagram-22UHCM2B-BswK7SlD.js → diagram-22UHCM2B-CJc0JoTV.js} +15 -15
  35. package/dist/{diagram-3UASUU5V-5p5ra9Yi.js → diagram-3UASUU5V-0P3Cnq5H.js} +7 -7
  36. package/dist/{diagram-ATOU4E4O-Clju_0RY.js → diagram-ATOU4E4O-CNY-8kl0.js} +3 -3
  37. package/dist/{diagram-CDSNMT55-w7kkJ6MU.js → diagram-CDSNMT55-C8Mk1smi.js} +5 -5
  38. package/dist/{diagram-MLGK6HIB-mUOtRVmm.js → diagram-MLGK6HIB-CpfeILwW.js} +4 -4
  39. package/dist/{diagram-MPIPVDR6-DEUw58dq.js → diagram-MPIPVDR6-Do7bUnTd.js} +4 -4
  40. package/dist/{dist-gYpAi-su.js → dist-C3YK_ean.js} +1 -1
  41. package/dist/{dist-CeHNxLJG.js → dist-CRbPtqwD.js} +1 -1
  42. package/dist/dnd.js +1 -1
  43. package/dist/{ebnfDiagram-ZINNZB2B-BYfatie5.js → ebnfDiagram-ZINNZB2B-1GewX9Zq.js} +4 -4
  44. package/dist/{elk-276RUBZZ-CuGpDp18.js → elk-276RUBZZ-CvgDuHoY.js} +13 -13
  45. package/dist/{erDiagram-OPXOYQCR-vpNBbFgR.js → erDiagram-OPXOYQCR-BFgRy8E9.js} +14 -14
  46. package/dist/{field-blur-EUOqpHbF.js → field-blur-D1eQk-49.js} +1109 -1083
  47. package/dist/flowDiagram-KWPJA3E3-DGaa9iT2.js +17 -0
  48. package/dist/{ganttDiagram-FUAMR5RP-DC1sfzgs.js → ganttDiagram-FUAMR5RP-CDGrtGHY.js} +6 -6
  49. package/dist/{gitGraphDiagram-X574FWY7-DcGaPSwy.js → gitGraphDiagram-X574FWY7-80yOq8dE.js} +3 -3
  50. package/dist/{graphlib-DvOFXJbI.js → graphlib-Dt-isUVV.js} +103 -139
  51. package/dist/hooks.js +2 -2
  52. package/dist/{i18n-provider-XTTU9ArK.js → i18n-provider-Drsc2YXX.js} +1 -1
  53. package/dist/i18n.js +6 -6
  54. package/dist/{icon-button-Dl9PDYCE.js → icon-button-BxySFfrr.js} +581 -581
  55. package/dist/{infoDiagram-VRGFBTTK-Cvj167dl.js → infoDiagram-VRGFBTTK-Cboh-B9n.js} +3 -3
  56. package/dist/isArrayLikeObject-BhWbq65y.js +28 -0
  57. package/dist/isEmpty-DdlzV8Ue.js +53 -0
  58. package/dist/{ishikawaDiagram-OU5B5YK6-ChBwjCfr.js → ishikawaDiagram-OU5B5YK6-DwTd1YxL.js} +4 -4
  59. package/dist/{journeyDiagram-ZHPQQLJL-C6djNSgq.js → journeyDiagram-ZHPQQLJL-BuLKqWS3.js} +4 -4
  60. package/dist/{kanban-definition-PNTS6WVX-BRoa-Yp5.js → kanban-definition-PNTS6WVX-S8plI4wn.js} +10 -10
  61. package/dist/lib/components/ui/actions/button/button.compound-variants.d.ts +114 -0
  62. package/dist/lib/components/ui/actions/button/button.d.ts +4 -7
  63. package/dist/lib/components/ui/actions/button/button.variants.d.ts +7 -0
  64. package/dist/lib/components/ui/actions/button/has-text-content.d.ts +10 -0
  65. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +1 -1
  66. package/dist/lib/components/ui/collections/data-table/data-table-context.d.ts +4 -0
  67. package/dist/lib/components/ui/collections/data-table/data-table-pagination.d.ts +3 -1
  68. package/dist/lib/components/ui/collections/data-table/data-table.d.ts +12 -2
  69. package/dist/lib/components/ui/collections/data-table/hooks.d.ts +13 -13
  70. package/dist/lib/components/ui/collections/data-table/partials/data-table-body.d.ts +9 -5
  71. package/dist/lib/components/ui/collections/data-table/partials/data-table-empty-row.d.ts +14 -0
  72. package/dist/lib/components/ui/collections/data-table/partials/data-table-skeleton-rows.d.ts +7 -0
  73. package/dist/lib/components/ui/collections/filter/filter-field-number-range.d.ts +15 -0
  74. package/dist/lib/components/ui/collections/pagination/index.d.ts +1 -1
  75. package/dist/lib/components/ui/collections/pagination/pagination.d.ts +9 -1
  76. package/dist/lib/components/ui/display/chip/chip.d.ts +1 -1
  77. package/dist/lib/components/ui/feedback/toast/toast.d.ts +9 -4
  78. package/dist/lib/components/ui/fields/otp-field/index.d.ts +1 -0
  79. package/dist/lib/components/ui/fields/otp-field/input-otp.d.ts +1 -1
  80. package/dist/lib/components/ui/fields/slider/slider-header.d.ts +15 -0
  81. package/dist/lib/components/ui/fields/slider/slider.d.ts +7 -0
  82. package/dist/lib/components/ui/fields/switch/switch.d.ts +7 -0
  83. package/dist/lib/components/ui/layout/stepper/stepper-step.d.ts +17 -0
  84. package/dist/lib/components/ui/media/camera/camera-content.d.ts +1 -2
  85. package/dist/lib/components/ui/media/camera/camera-context.d.ts +4 -0
  86. package/dist/lib/components/ui/media/camera/camera-provider.d.ts +2 -0
  87. package/dist/lib/components/ui/media/camera/camera.d.ts +6 -3
  88. package/dist/lib/components/ui/media/camera/capture-photo.d.ts +13 -0
  89. package/dist/lib/components/ui/media/camera/index.d.ts +9 -1
  90. package/dist/lib/components/ui/media/camera/state/camera.reducers.d.ts +1 -1
  91. package/dist/lib/components/ui/media/camera/state/camera.slice.d.ts +4 -9
  92. package/dist/lib/components/ui/media/camera/state/camera.store.d.ts +11 -5
  93. package/dist/lib/components/ui/media/camera/state/camera.thunks.d.ts +4 -4
  94. package/dist/lib/components/ui/media/camera/types.d.ts +19 -9
  95. package/dist/lib/components/ui/media/camera/use-camera.d.ts +5 -11
  96. package/dist/lib/components/ui/media/camera/utils/camera.utils.d.ts +0 -1
  97. package/dist/lib/components/ui/media/index.d.ts +1 -0
  98. package/dist/lib/components/ui/overlays/dialog/dialog-outside.d.ts +5 -0
  99. package/dist/lib/components/ui/overlays/dialog/dialog-scroll-content.d.ts +9 -0
  100. package/dist/lib/components/ui/overlays/dialog/index.d.ts +1 -0
  101. package/dist/lib/components/ui/primitives/icon/icon-context.d.ts +1 -1
  102. package/dist/lib/components/ui/primitives/table/table.d.ts +6 -1
  103. package/dist/lib/components/ui/selection/index.d.ts +1 -0
  104. package/dist/lib/components/ui/selection/native-select/index.d.ts +1 -0
  105. package/dist/lib/components/ui/selection/native-select/native-select.d.ts +11 -0
  106. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +8 -1
  107. package/dist/lib/i18n/resources/en/en.d.ts +7 -0
  108. package/dist/lib/i18n/resources/en/material.json.d.ts +8 -1
  109. package/dist/lib/i18n/resources/fr/fr.d.ts +7 -0
  110. package/dist/lib/i18n/resources/fr/material.json.d.ts +8 -1
  111. package/dist/lib/i18n/resources/resources.d.ts +14 -0
  112. package/dist/lib/i18n/translator.d.ts +1 -1
  113. package/dist/lib/lib/redux/status-slice.d.ts +1 -1
  114. package/dist/lib.js +295 -4
  115. package/dist/main.js +16 -16
  116. package/dist/map.js +5 -5
  117. package/dist/material.css +1 -1
  118. package/dist/merge-a7J0YkZX.js +156 -0
  119. package/dist/{mermaid.core-CEDjsxgL.js → mermaid.core-CE34byhz.js} +49 -49
  120. package/dist/{mindmap-definition-NLK3R4M7-BYtcw4Io.js → mindmap-definition-NLK3R4M7-emoij-nW.js} +13 -13
  121. package/dist/{pegDiagram-GJSIUBJH-Dcm3LCQX.js → pegDiagram-GJSIUBJH-CAO6aYvj.js} +4 -4
  122. package/dist/{pieDiagram-5QR66LMP-8ETWucra.js → pieDiagram-5QR66LMP-BdG1tWLn.js} +5 -5
  123. package/dist/print.js +2 -2
  124. package/dist/{quadrantDiagram-O4NWA36T-X05JG-jZ.js → quadrantDiagram-O4NWA36T-BCd-NwsO.js} +3 -3
  125. package/dist/{railroadDiagram-XR7U4H2S-CzOJlTUA.js → railroadDiagram-XR7U4H2S-DmKDXg8V.js} +4 -4
  126. package/dist/{requirementDiagram-PLB6GJNP-BwWSE7Fn.js → requirementDiagram-PLB6GJNP-CCcH5uSr.js} +13 -13
  127. package/dist/{sankeyDiagram-IPEJSGJF-B6YxyZMn.js → sankeyDiagram-IPEJSGJF-78cK-bfe.js} +3 -3
  128. package/dist/{sequenceDiagram-PO4LG4MO-DMLeIQ03.js → sequenceDiagram-PO4LG4MO-B2qb55A5.js} +5 -5
  129. package/dist/{sortable-provider-DuRzFvwe.js → sortable-provider-VCxPasNp.js} +17 -17
  130. package/dist/{src-CJ8DNrI1.js → src-C9kQSo6K.js} +1 -1
  131. package/dist/{stateDiagram-v2-GCMORJYK-CAqcgA-x.js → stateDiagram-v2-GCMORJYK-B4ghJrhD.js} +14 -14
  132. package/dist/{stored-language-BP90Ydtg.js → stored-language-CeD7kHui.js} +20 -2
  133. package/dist/{swimlanes-2SLR337P-DRQ2gho_.js → swimlanes-2SLR337P-DmHm2yJS.js} +12 -12
  134. package/dist/swimlanesDiagram-TC7HE7FX-Dq3gGsPj.js +28 -0
  135. package/dist/{timeline-definition-EJHVYXUP-BtvpCePa.js → timeline-definition-EJHVYXUP-EqJV_QKn.js} +5 -5
  136. package/dist/{translate-material-Ctzt0Y2N.js → translate-material-DgRdhz5d.js} +2 -2
  137. package/dist/{translator-Cfug7hC5.js → translator-B4zUVm7j.js} +1 -1
  138. package/dist/{use-heading-spy-DtVo2HBk.js → use-heading-spy-1BHMXjIn.js} +2 -2
  139. package/dist/{use-material-translation-CJswHOmK.js → use-material-translation-UbARR81K.js} +2 -2
  140. package/dist/{usecaseDiagram-POWQR4AR-DsYqBvQ-.js → usecaseDiagram-POWQR4AR-CvCl0p5N.js} +13 -13
  141. package/dist/{vennDiagram-UO4OBE2U-Aql8mhcy.js → vennDiagram-UO4OBE2U-CO0yFCI8.js} +4 -4
  142. package/dist/{wardleyDiagram-VNRHLVJA-tknlhG_t.js → wardleyDiagram-VNRHLVJA-QkwghAYo.js} +4 -4
  143. package/dist/{xychartDiagram-PMCCYNJV-CEf5bvG1.js → xychartDiagram-PMCCYNJV-BphsHFKA.js} +7 -7
  144. package/docs/components/buttons-and-actions.md +8 -3
  145. package/docs/components/data-display.md +1 -1
  146. package/docs/components/data-table-filter-and-lists.md +95 -6
  147. package/docs/components/feedback-and-status.md +3 -2
  148. package/docs/components/form-fields.md +48 -4
  149. package/docs/components/media-and-files.md +46 -7
  150. package/docs/components/navigation-and-layout.md +6 -1
  151. package/docs/components/overlays-and-menus.md +27 -2
  152. package/docs/components/primitives.md +33 -2
  153. package/docs/components/rich-widgets.md +1 -1
  154. package/docs/components/selection-and-choice.md +32 -6
  155. package/docs/guides/i18n.md +14 -8
  156. package/docs/guides/ssr.md +3 -1
  157. package/docs/previews/buttons-actions-actioncard.webp +0 -0
  158. package/docs/previews/media-files-camera.webp +0 -0
  159. package/docs/previews/navigation-layout-stepper.webp +0 -0
  160. package/docs/roadmap.md +37 -3
  161. package/docs/troubleshooting.md +109 -0
  162. package/package.json +1 -1
  163. package/dist/flowDiagram-KWPJA3E3-PC80XOp8.js +0 -17
  164. package/dist/isArrayLikeObject-CCJDO2RL.js +0 -86
  165. package/dist/lib/components/ui/media/camera/camera.provider.d.ts +0 -6
  166. package/dist/lib/components/ui/media/camera/state/index.d.ts +0 -2
  167. package/dist/lib/components/ui/media/camera/utils/index.d.ts +0 -1
  168. package/dist/lib-DIj5dvbb.js +0 -367
  169. package/dist/merge-Dm-kHFxo.js +0 -172
  170. package/dist/swimlanesDiagram-TC7HE7FX-DaXG362E.js +0 -28
@@ -1,86 +0,0 @@
1
- import { m as e, x as t } from "./translator-Cfug7hC5.js";
2
- import { d as n } from "./_Uint8Array-DEXn42kj.js";
3
- //#region ../../node_modules/lodash-es/identity.js
4
- function r(e) {
5
- return e;
6
- }
7
- //#endregion
8
- //#region ../../node_modules/lodash-es/_apply.js
9
- function i(e, t, n) {
10
- switch (n.length) {
11
- case 0: return e.call(t);
12
- case 1: return e.call(t, n[0]);
13
- case 2: return e.call(t, n[0], n[1]);
14
- case 3: return e.call(t, n[0], n[1], n[2]);
15
- }
16
- return e.apply(t, n);
17
- }
18
- //#endregion
19
- //#region ../../node_modules/lodash-es/_shortOut.js
20
- var a = 800, o = 16, s = Date.now;
21
- function c(e) {
22
- var t = 0, n = 0;
23
- return function() {
24
- var r = s(), i = o - (r - n);
25
- if (n = r, i > 0) {
26
- if (++t >= a) return arguments[0];
27
- } else t = 0;
28
- return e.apply(void 0, arguments);
29
- };
30
- }
31
- //#endregion
32
- //#region ../../node_modules/lodash-es/constant.js
33
- function l(e) {
34
- return function() {
35
- return e;
36
- };
37
- }
38
- //#endregion
39
- //#region ../../node_modules/lodash-es/_defineProperty.js
40
- var u = function() {
41
- try {
42
- var t = e(Object, "defineProperty");
43
- return t({}, "", {}), t;
44
- } catch {}
45
- }(), d = c(u ? function(e, t) {
46
- return u(e, "toString", {
47
- configurable: !0,
48
- enumerable: !1,
49
- value: l(t),
50
- writable: !0
51
- });
52
- } : r), f = Math.max;
53
- function p(e, t, n) {
54
- return t = f(t === void 0 ? e.length - 1 : t, 0), function() {
55
- for (var r = arguments, a = -1, o = f(r.length - t, 0), s = Array(o); ++a < o;) s[a] = r[t + a];
56
- a = -1;
57
- for (var c = Array(t + 1); ++a < t;) c[a] = r[a];
58
- return c[t] = n(s), i(e, this, c);
59
- };
60
- }
61
- //#endregion
62
- //#region ../../node_modules/lodash-es/_baseRest.js
63
- function m(e, t) {
64
- return d(p(e, t, r), e + "");
65
- }
66
- //#endregion
67
- //#region ../../node_modules/lodash-es/_createBaseFor.js
68
- function h(e) {
69
- return function(t, n, r) {
70
- for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
71
- var c = o[e ? s : ++i];
72
- if (n(a[c], c, a) === !1) break;
73
- }
74
- return t;
75
- };
76
- }
77
- //#endregion
78
- //#region ../../node_modules/lodash-es/_baseFor.js
79
- var g = h();
80
- //#endregion
81
- //#region ../../node_modules/lodash-es/isArrayLikeObject.js
82
- function _(e) {
83
- return t(e) && n(e);
84
- }
85
- //#endregion
86
- export { d as a, r as c, p as i, g as n, u as o, m as r, l as s, _ as t };
@@ -1,6 +0,0 @@
1
- import { PropsWithChildren } from 'react';
2
- import { CameraContextValue } from './types';
3
- export declare const CameraContext: import('react').Context<CameraContextValue>;
4
- type CameraProviderProps = PropsWithChildren;
5
- export declare function CameraProvider({ children }: CameraProviderProps): import("react").JSX.Element;
6
- export {};
@@ -1,2 +0,0 @@
1
- export * from './camera.slice';
2
- export * from './camera.store';
@@ -1 +0,0 @@
1
- export * from './camera.utils';
@@ -1,367 +0,0 @@
1
- import { a as e, i as t, t as n } from "./stored-language-BP90Ydtg.js";
2
- import { i as r, r as i, v as a } from "./translator-Cfug7hC5.js";
3
- import { c as o, h as s, m as c } from "./client-only.utils-DhcBUmau.js";
4
- import { useCallback as l, useMemo as u } from "react";
5
- import { asyncThunkCreator as ee, buildCreateSlice as d, createSlice as f } from "@reduxjs/toolkit";
6
- import { createFormatters as p, formatAmount as m, formatDate as h } from "@nxgt/material-core/print-format";
7
- import { useDispatch as g } from "react-redux";
8
- //#region lib/lib/array.utils.ts
9
- function _(e) {
10
- return Array.from(new Set(e));
11
- }
12
- function v(e, t, n) {
13
- return e.find((e) => e[t] === n);
14
- }
15
- function y(e, t, n) {
16
- return e.filter((e) => n.includes(e[t]));
17
- }
18
- function b(e, t) {
19
- return {
20
- findByKey: l((n) => v(e, t, n), [e, t]),
21
- findByKeyIn: l((n) => y(e, t, n), [e, t])
22
- };
23
- }
24
- function x(e) {
25
- return b(e, "id");
26
- }
27
- //#endregion
28
- //#region lib/lib/build-field-options.ts
29
- function S(e, { valueKey: t, label: n }) {
30
- return e.map((e) => ({
31
- value: r(e, t),
32
- label: typeof n == "function" ? n(e) : r(e, n)
33
- }));
34
- }
35
- //#endregion
36
- //#region lib/lib/format.utils.ts
37
- function C(e, t) {
38
- return e?.length ? e : t;
39
- }
40
- function w(e, t) {
41
- return e?.length ? e : t;
42
- }
43
- function T(e) {
44
- let t = new FormData();
45
- return typeof e == "object" && Object.entries(e).forEach(([e, n]) => {
46
- c(n) || t.append(e, n);
47
- }), t;
48
- }
49
- function E(e) {
50
- let t = {};
51
- for (let [n, r] of e.entries()) t[n] = r;
52
- return t;
53
- }
54
- //#endregion
55
- //#region lib/lib/object.utils.ts
56
- function D(e, t) {
57
- let n = {};
58
- if (!Array.isArray(t)) n[t] = e?.[t];
59
- else for (let r of t) n[r] = e?.[r];
60
- return n;
61
- }
62
- function O(e, t) {
63
- let n = { ...e };
64
- if (Array.isArray(t)) for (let e of t) delete n?.[e];
65
- else delete n?.[t];
66
- return n ?? {};
67
- }
68
- function k(e) {
69
- return e;
70
- }
71
- async function A(e) {
72
- return await e;
73
- }
74
- function j(e, t = !1) {
75
- return Object.fromEntries(Object.entries(e).filter(([e, n]) => t ? n != null && n !== void 0 : n !== void 0));
76
- }
77
- //#endregion
78
- //#region lib/lib/promise.utils.ts
79
- function M(e) {
80
- return new Promise((t) => setTimeout(t, e));
81
- }
82
- //#endregion
83
- //#region lib/lib/redux/async-slice.ts
84
- var N = d({ creators: { asyncThunk: ee } });
85
- //#endregion
86
- //#region lib/lib/redux/filter-slice.ts
87
- function P({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) {
88
- return f({
89
- name: e,
90
- initialState: t,
91
- reducers: (e) => ({
92
- updateFilter: e.reducer((e, t) => {
93
- let { filter: n, sort: r } = t.payload;
94
- n && (e.filter = {
95
- ...e.filter,
96
- ...n
97
- }), r && (e.sort = {
98
- ...e.sort,
99
- ...r
100
- });
101
- }),
102
- resetFilter: e.reducer((e) => {
103
- e.filter = t.filter, e.sort = t.sort;
104
- }),
105
- ...n?.(e)
106
- }),
107
- selectors: { ...r }
108
- });
109
- }
110
- //#endregion
111
- //#region lib/lib/redux/status-slice.ts
112
- var F = ({ name: e, initialState: t = { status: "idle" }, reducers: n = {}, selectors: r = {} }) => f({
113
- name: e,
114
- initialState: t,
115
- reducers: {
116
- reset(e) {
117
- e.status = t.status;
118
- },
119
- start(e) {
120
- e.status = "loading";
121
- },
122
- success(e, t) {
123
- e.data = t.payload, e.status = "success";
124
- },
125
- error(e, t) {
126
- e.error = t.payload, e.status = "error";
127
- },
128
- ...n
129
- },
130
- selectors: { ...r }
131
- }), te = ({ name: e, initialState: t, reducers: n = {}, selectors: r = {} }) => f({
132
- name: e,
133
- initialState: t,
134
- reducers: {
135
- reset(e, n) {
136
- e[n.payload] = t[n.payload];
137
- },
138
- start(e, t) {
139
- e[t.payload].status = "loading";
140
- },
141
- success(e, t) {
142
- let n = t.payload.path;
143
- e[n].data = t.payload.data, e[n].status = "success";
144
- },
145
- error(e, t) {
146
- let n = t.payload.path;
147
- e[n].error = t.payload.message, e[n].status = "error";
148
- },
149
- ...n
150
- },
151
- selectors: {
152
- ...r,
153
- status(e, t) {
154
- return e[t].status;
155
- }
156
- }
157
- });
158
- //#endregion
159
- //#region lib/lib/storage.utils.ts
160
- function I(e, t) {
161
- try {
162
- let n = localStorage.getItem(e);
163
- if (n) return typeof t == "string" ? n : JSON.parse(n);
164
- } catch (t) {
165
- console.warn(`Failed to restore state for key "${e}":`, t);
166
- }
167
- return t;
168
- }
169
- function L(e, t) {
170
- try {
171
- localStorage.setItem(e, typeof t == "string" ? t : JSON.stringify(t));
172
- } catch (t) {
173
- console.warn(`Failed to store state for key "${e}":`, t);
174
- }
175
- }
176
- function R(e) {
177
- try {
178
- localStorage.removeItem(e);
179
- } catch (t) {
180
- console.warn(`Failed to remove state for key "${e}":`, t);
181
- }
182
- }
183
- var z = {
184
- safeGetItem: I,
185
- safeSetItem: L,
186
- safeRemoveItem: R
187
- }, B = {
188
- isDirty: !1,
189
- step: 0,
190
- values: {}
191
- }, V = ({ name: e, initialState: t, reducers: n = void 0, selectors: r = {} }) => {
192
- let i = () => ({
193
- ...B,
194
- values: t ?? B.values
195
- }), a = f({
196
- name: e,
197
- initialState: () => {
198
- if (typeof localStorage > "u") return i();
199
- let t = I(e, null);
200
- if (!t || typeof t.step != "number" || typeof t.values != "object" || t.values === null) return i();
201
- let n = i();
202
- return {
203
- isDirty: !!t.isDirty,
204
- step: t.step,
205
- values: {
206
- ...n.values,
207
- ...t.values
208
- }
209
- };
210
- },
211
- reducers: (t) => ({
212
- updateStep: t.reducer((t, n) => {
213
- t.step = typeof n.payload == "function" ? n.payload(t.step) : n.payload, L(e, t);
214
- }),
215
- updateFormValues: t.reducer((e, t) => {
216
- e.values = {
217
- ...e.values,
218
- ...typeof t.payload == "function" ? t.payload(e.values) : t.payload
219
- }, e.isDirty = !s(e.values, B.values);
220
- }),
221
- reset: t.reducer((t) => {
222
- R(e), Object.assign(t, i());
223
- }),
224
- ...n?.(t)
225
- }),
226
- selectors: { ...r }
227
- });
228
- return o(a, i), a;
229
- };
230
- //#endregion
231
- //#region ../../node_modules/redux/dist/redux.mjs
232
- function H(e) {
233
- return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
234
- }
235
- var U = () => Math.random().toString(36).substring(7).split("").join(".");
236
- `${/* @__PURE__ */ U()}`, `${/* @__PURE__ */ U()}`;
237
- function W(e) {
238
- if (e === void 0) return "undefined";
239
- if (e === null) return "null";
240
- let t = typeof e;
241
- switch (t) {
242
- case "boolean":
243
- case "string":
244
- case "number":
245
- case "symbol":
246
- case "function": return t;
247
- }
248
- if (Array.isArray(e)) return "array";
249
- if (q(e)) return "date";
250
- if (K(e)) return "error";
251
- let n = G(e);
252
- switch (n) {
253
- case "Symbol":
254
- case "Promise":
255
- case "WeakMap":
256
- case "WeakSet":
257
- case "Map":
258
- case "Set": return n;
259
- }
260
- return Object.prototype.toString.call(e).slice(8, -1).toLowerCase().replace(/\s/g, "");
261
- }
262
- function G(e) {
263
- return typeof e.constructor == "function" ? e.constructor.name : null;
264
- }
265
- function K(e) {
266
- return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
267
- }
268
- function q(e) {
269
- return e instanceof Date || typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
270
- }
271
- function J(e) {
272
- let t = typeof e;
273
- return process.env.NODE_ENV !== "production" && (t = W(e)), t;
274
- }
275
- function Y(e, t) {
276
- return function(...n) {
277
- return t(e.apply(this, n));
278
- };
279
- }
280
- function X(e, t) {
281
- if (typeof e == "function") return Y(e, t);
282
- if (typeof e != "object" || !e) throw Error(process.env.NODE_ENV === "production" ? H(16) : `bindActionCreators expected an object or a function, but instead received: '${J(e)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
283
- let n = {};
284
- for (let r in e) {
285
- let i = e[r];
286
- typeof i == "function" && (n[r] = Y(i, t));
287
- }
288
- return n;
289
- }
290
- //#endregion
291
- //#region lib/lib/redux/use-actions.ts
292
- function Z(e, t) {
293
- let n = g();
294
- return u(() => X(e, n), t ? [n, ...t] : [n]);
295
- }
296
- //#endregion
297
- //#region lib/lib/styles.utils.ts
298
- var Q = { colorFromVariable(e, t = 1) {
299
- return `rgb(from var(--${e}) r g b / ${t})`;
300
- } }, ne = (e, t) => typeof e == "function" ? e(t) : e, re = (e, t = "files") => {
301
- let n = new FormData();
302
- return (a(e) ? e.filter(Boolean) : [e]).forEach((e) => {
303
- n.append(t, e, e.name);
304
- }), n;
305
- }, $ = (e) => {
306
- let t = typeof e;
307
- switch (t) {
308
- case "number": return Number.isNaN(e) ? "NaN" : "number";
309
- case "object":
310
- if (Array.isArray(e)) return "array";
311
- if (e === null) return "null";
312
- if (Object.getPrototypeOf(e) !== Object.prototype && e.constructor) return e.constructor.name;
313
- }
314
- return t;
315
- }, ie = ({ storageKey: r = t, language: a, translate: o = i } = {}) => {
316
- let s = () => typeof a == "function" ? a() : a ?? n(r, "en", e);
317
- return (e) => {
318
- let t = s(), n = (e, n) => o(e, n, t), r = (e, t) => {
319
- let r = n(e, t);
320
- return r === e ? void 0 : r;
321
- }, i = r(`material.zod.sizing.${e.origin}.unit`);
322
- switch (e.code) {
323
- case "invalid_type": {
324
- let t = {
325
- expected: e.expected,
326
- received: $(e.input)
327
- };
328
- return e.input ? r(`material.zod.invalid_type.${e.expected}`, t) ?? n("material.zod.invalid_type.default", t) : n("material.zod.required", t);
329
- }
330
- case "invalid_value": return e.values.length === 1 ? n("material.zod.invalid_value_single", { value: e.values[0] }) : n("material.zod.invalid_value_multiple", { values: e.values.join(" | ") });
331
- case "too_big": {
332
- let t = e.inclusive ? "inclusive" : "exclusive", r = e.maximum.toString(), a = e.origin ?? "value";
333
- return i ? n(`material.zod.too_big_${t}`, {
334
- origin: a,
335
- maximum: r,
336
- unit: i
337
- }) : n(`material.zod.too_big_no_unit_${t}`, {
338
- origin: a,
339
- maximum: r
340
- });
341
- }
342
- case "too_small": {
343
- let t = e.inclusive ? "inclusive" : "exclusive", r = e.minimum.toString(), a = e.origin;
344
- return i ? n(`material.zod.too_small_${t}`, {
345
- origin: a,
346
- minimum: r,
347
- unit: i
348
- }) : n(`material.zod.too_small_no_unit_${t}`, {
349
- origin: a,
350
- minimum: r
351
- });
352
- }
353
- case "invalid_format": {
354
- let { format: t } = e;
355
- return t === "starts_with" ? n("material.zod.invalid_format.starts_with", { prefix: e.prefix }) : t === "ends_with" ? n("material.zod.invalid_format.ends_with", { suffix: e.suffix }) : t === "includes" ? n("material.zod.invalid_format.includes", { includes: e.includes }) : t === "regex" ? n("material.zod.invalid_format.regex", { pattern: e.pattern }) : n("material.zod.invalid_format.default", { noun: r(`material.zod.nouns.${t}`) ?? t });
356
- }
357
- case "not_multiple_of": return n("material.zod.not_multiple_of", { divisor: e.divisor });
358
- case "unrecognized_keys": return n(`material.zod.unrecognized_keys_${e.keys.length > 1 ? "multiple" : "single"}`, { keys: e.keys.join(", ") });
359
- case "invalid_key": return n("material.zod.invalid_key", { origin: e.origin });
360
- case "invalid_union": return n("material.zod.invalid_union");
361
- case "invalid_element": return n("material.zod.invalid_element", { origin: e.origin });
362
- default: return n("material.zod.default");
363
- }
364
- };
365
- };
366
- //#endregion
367
- export { v as A, O as C, C as D, w as E, _ as M, x as N, T as O, b as P, j as S, E as T, P as _, ie as a, k as b, Q as c, z as d, I as f, te as g, F as h, $ as i, y as j, S as k, Z as l, L as m, m as n, re as o, R as p, h as r, ne as s, p as t, V as u, N as v, D as w, A as x, M as y };
@@ -1,172 +0,0 @@
1
- import { S as e, _ as t, g as n, p as r, v as i, w as a, x as o } from "./translator-Cfug7hC5.js";
2
- import { n as s, o as c, r as l, t as u } from "./isArrayLikeObject-CCJDO2RL.js";
3
- import { a as d, c as f, d as p, i as m, l as h, n as g, p as _, r as v, t as y, u as b } from "./_Uint8Array-DEXn42kj.js";
4
- //#region ../../node_modules/lodash-es/_baseCreate.js
5
- var x = Object.create, S = function() {
6
- function e() {}
7
- return function(n) {
8
- if (!t(n)) return {};
9
- if (x) return x(n);
10
- e.prototype = n;
11
- var r = new e();
12
- return e.prototype = void 0, r;
13
- };
14
- }();
15
- //#endregion
16
- //#region ../../node_modules/lodash-es/_copyArray.js
17
- function C(e, t) {
18
- var n = -1, r = e.length;
19
- for (t ||= Array(r); ++n < r;) t[n] = e[n];
20
- return t;
21
- }
22
- //#endregion
23
- //#region ../../node_modules/lodash-es/_baseAssignValue.js
24
- function w(e, t, n) {
25
- t == "__proto__" && c ? c(e, t, {
26
- configurable: !0,
27
- enumerable: !0,
28
- value: n,
29
- writable: !0
30
- }) : e[t] = n;
31
- }
32
- //#endregion
33
- //#region ../../node_modules/lodash-es/_assignValue.js
34
- var T = Object.prototype.hasOwnProperty;
35
- function E(e, t, n) {
36
- var i = e[t];
37
- (!(T.call(e, t) && r(i, n)) || n === void 0 && !(t in e)) && w(e, t, n);
38
- }
39
- //#endregion
40
- //#region ../../node_modules/lodash-es/_copyObject.js
41
- function D(e, t, n, r) {
42
- var i = !n;
43
- n ||= {};
44
- for (var a = -1, o = t.length; ++a < o;) {
45
- var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
46
- c === void 0 && (c = e[s]), i ? w(n, s, c) : E(n, s, c);
47
- }
48
- return n;
49
- }
50
- //#endregion
51
- //#region ../../node_modules/lodash-es/_isIterateeCall.js
52
- function O(e, n, i) {
53
- if (!t(i)) return !1;
54
- var a = typeof n;
55
- return (a == "number" ? p(i) && _(n, i.length) : a == "string" && n in i) ? r(i[n], e) : !1;
56
- }
57
- //#endregion
58
- //#region ../../node_modules/lodash-es/_createAssigner.js
59
- function k(e) {
60
- return l(function(t, n) {
61
- var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
62
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && O(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
63
- var s = n[r];
64
- s && e(t, s, r, a);
65
- }
66
- return t;
67
- });
68
- }
69
- //#endregion
70
- //#region ../../node_modules/lodash-es/_nativeKeysIn.js
71
- function A(e) {
72
- var t = [];
73
- if (e != null) for (var n in Object(e)) t.push(n);
74
- return t;
75
- }
76
- //#endregion
77
- //#region ../../node_modules/lodash-es/_baseKeysIn.js
78
- var j = Object.prototype.hasOwnProperty;
79
- function M(e) {
80
- if (!t(e)) return A(e);
81
- var n = b(e), r = [];
82
- for (var i in e) i == "constructor" && (n || !j.call(e, i)) || r.push(i);
83
- return r;
84
- }
85
- //#endregion
86
- //#region ../../node_modules/lodash-es/keysIn.js
87
- function N(e) {
88
- return p(e) ? m(e, !0) : M(e);
89
- }
90
- //#endregion
91
- //#region ../../node_modules/lodash-es/_getPrototype.js
92
- var P = v(Object.getPrototypeOf, Object), F = "[object Object]", I = Function.prototype, L = Object.prototype, R = I.toString, z = L.hasOwnProperty, B = R.call(Object);
93
- function V(t) {
94
- if (!o(t) || e(t) != F) return !1;
95
- var n = P(t);
96
- if (n === null) return !0;
97
- var r = z.call(n, "constructor") && n.constructor;
98
- return typeof r == "function" && r instanceof r && R.call(r) == B;
99
- }
100
- //#endregion
101
- //#region ../../node_modules/lodash-es/_cloneBuffer.js
102
- var H = typeof exports == "object" && exports && !exports.nodeType && exports, U = H && typeof module == "object" && module && !module.nodeType && module, W = U && U.exports === H ? a.Buffer : void 0, G = W ? W.allocUnsafe : void 0;
103
- function K(e, t) {
104
- if (t) return e.slice();
105
- var n = e.length, r = G ? G(n) : new e.constructor(n);
106
- return e.copy(r), r;
107
- }
108
- //#endregion
109
- //#region ../../node_modules/lodash-es/_cloneArrayBuffer.js
110
- function q(e) {
111
- var t = new e.constructor(e.byteLength);
112
- return new y(t).set(new y(e)), t;
113
- }
114
- //#endregion
115
- //#region ../../node_modules/lodash-es/_cloneTypedArray.js
116
- function J(e, t) {
117
- var n = t ? q(e.buffer) : e.buffer;
118
- return new e.constructor(n, e.byteOffset, e.length);
119
- }
120
- //#endregion
121
- //#region ../../node_modules/lodash-es/_initCloneObject.js
122
- function Y(e) {
123
- return typeof e.constructor == "function" && !b(e) ? S(P(e)) : {};
124
- }
125
- //#endregion
126
- //#region ../../node_modules/lodash-es/_assignMergeValue.js
127
- function X(e, t, n) {
128
- (n !== void 0 && !r(e[t], n) || n === void 0 && !(t in e)) && w(e, t, n);
129
- }
130
- //#endregion
131
- //#region ../../node_modules/lodash-es/_safeGet.js
132
- function Z(e, t) {
133
- if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
134
- }
135
- //#endregion
136
- //#region ../../node_modules/lodash-es/toPlainObject.js
137
- function Q(e) {
138
- return D(e, N(e));
139
- }
140
- //#endregion
141
- //#region ../../node_modules/lodash-es/_baseMergeDeep.js
142
- function ee(e, r, a, o, s, c, l) {
143
- var p = Z(e, a), m = Z(r, a), g = l.get(m);
144
- if (g) {
145
- X(e, a, g);
146
- return;
147
- }
148
- var _ = c ? c(p, m, a + "", e, r, l) : void 0, v = _ === void 0;
149
- if (v) {
150
- var y = i(m), b = !y && f(m), x = !y && !b && d(m);
151
- _ = m, y || b || x ? i(p) ? _ = p : u(p) ? _ = C(p) : b ? (v = !1, _ = K(m, !0)) : x ? (v = !1, _ = J(m, !0)) : _ = [] : V(m) || h(m) ? (_ = p, h(p) ? _ = Q(p) : (!t(p) || n(p)) && (_ = Y(m))) : v = !1;
152
- }
153
- v && (l.set(m, _), s(_, m, o, c, l), l.delete(m)), X(e, a, _);
154
- }
155
- //#endregion
156
- //#region ../../node_modules/lodash-es/_baseMerge.js
157
- function $(e, n, r, i, a) {
158
- e !== n && s(n, function(o, s) {
159
- if (a ||= new g(), t(o)) ee(e, n, s, r, $, i, a);
160
- else {
161
- var c = i ? i(Z(e, s), o, s + "", e, n, a) : void 0;
162
- c === void 0 && (c = o), X(e, s, c);
163
- }
164
- }, N);
165
- }
166
- //#endregion
167
- //#region ../../node_modules/lodash-es/merge.js
168
- var te = k(function(e, t, n) {
169
- $(e, t, n);
170
- });
171
- //#endregion
172
- export { K as a, N as c, E as d, w as f, q as i, O as l, Y as n, V as o, C as p, J as r, P as s, te as t, D as u };
@@ -1,28 +0,0 @@
1
- import "./src-CJ8DNrI1.js";
2
- import "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
- import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
4
- import "./chunk-O7XYJQB3-C87zK8E5.js";
5
- import "./chunk-742MDFTN-nG_ROTnT.js";
6
- import "./chunk-MBY4JIJT-IA2XBafa.js";
7
- import "./chunk-7PRAP22T-DIiYRAce.js";
8
- import "./chunk-7INBJB4K-Dg64CbhT.js";
9
- import "./chunk-5DYCD2WN-Bqi3iL5i.js";
10
- import "./chunk-Z7XXMR3K-DcqSgI9Q.js";
11
- import "./chunk-GWA4HPMP-CmsxMX3A.js";
12
- import "./chunk-XXDRQBXY-Bq4sFnO2.js";
13
- import "./chunk-WEXAMYUT-C-QP0DFq.js";
14
- import "./chunk-UA2S7LBM-B0LGFGu3.js";
15
- import "./chunk-GNY47TPC-vOPvRE_8.js";
16
- import "./chunk-LNGE3PJU-DJjGTS7O.js";
17
- import { r as t, t as n } from "./chunk-7M6MHVWA-DEh1Crrc.js";
18
- //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-TC7HE7FX.mjs
19
- var r = n({ styles: /* @__PURE__ */ e((e) => `${t(e)}
20
- .swimlane.cluster:not([data-color-id]) rect {
21
- stroke: ${e.clusterBorder} !important;
22
- }
23
- [data-look="neo"].cluster rect {
24
- filter: none;
25
- }
26
- `, "getStyles") });
27
- //#endregion
28
- export { r as diagram };