@nxgt/material 2.8.0 → 2.10.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 (86) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +2 -2
  3. package/dist/{_Uint8Array-CALbCR7W.js → _Uint8Array-azThpjEP.js} +1 -1
  4. package/dist/{_overRest-BQ8agsDH.js → _overRest-DMn4Dt71.js} +1 -1
  5. package/dist/{async-slice-BHMdvnqm.js → async-slice-DhZDjEtw.js} +2 -2
  6. package/dist/{blockDiagram-BEXU5L5S-D4gI6nqs.js → blockDiagram-BEXU5L5S-B8_AJyBb.js} +2 -2
  7. package/dist/{chunk-3FUC2YCW-BLMCnCFE.js → chunk-3FUC2YCW-AfTluaJD.js} +2 -2
  8. package/dist/{chunk-7M6MHVWA-CUtKEeuL.js → chunk-7M6MHVWA-B2FTOUoo.js} +1 -1
  9. package/dist/{chunk-GNY47TPC-CB_83G7J.js → chunk-GNY47TPC-CscSFMWi.js} +4 -4
  10. package/dist/{chunk-NETBCI7D-Cywmx0rz.js → chunk-NETBCI7D-iu8QN4Le.js} +1 -1
  11. package/dist/{chunk-Z7XXMR3K-Ccb3Rfjl.js → chunk-Z7XXMR3K-BICnZMWs.js} +1 -1
  12. package/dist/{classDiagram-v2-NBCMYWYE-CRgxPgLD.js → classDiagram-v2-NBCMYWYE-Cg2qBPTZ.js} +2 -2
  13. package/dist/{components-Bg1bqGbc.js → components-BfXTx1uS.js} +20734 -20660
  14. package/dist/components.js +5 -5
  15. package/dist/{dagre-6A5THRUB-c8yG3_vh.js → dagre-6A5THRUB-B9m4hqWN.js} +11 -11
  16. package/dist/{diagram-22UHCM2B-C3Xcfy6D.js → diagram-22UHCM2B-ChYYeBFB.js} +2 -2
  17. package/dist/{diagram-3UASUU5V-maEO61Bh.js → diagram-3UASUU5V-BoEmx9Kd.js} +1 -1
  18. package/dist/dnd.js +1 -1
  19. package/dist/{elk-276RUBZZ-BoWoJr6K.js → elk-276RUBZZ-CxNgT7Wb.js} +3 -3
  20. package/dist/{erDiagram-OPXOYQCR-CVvgZCSJ.js → erDiagram-OPXOYQCR-DiqLuL4t.js} +2 -2
  21. package/dist/{field-blur-Bwa48QBk.js → field-blur--x_n3oMy.js} +1 -1
  22. package/dist/{flowDiagram-KWPJA3E3-RdU0csul.js → flowDiagram-KWPJA3E3-CcUm8XN5.js} +3 -3
  23. package/dist/{ganttDiagram-FUAMR5RP-DPLDPJtJ.js → ganttDiagram-FUAMR5RP-fN1MVB5K.js} +1 -1
  24. package/dist/{graphlib-DHgEBs83.js → graphlib-DLjE3QPd.js} +6 -6
  25. package/dist/hooks.js +2 -2
  26. package/dist/{i18n-provider-CA8YAlje.js → i18n-provider-CQL7fqLy.js} +1 -1
  27. package/dist/i18n.js +6 -6
  28. package/dist/{isArrayLikeObject-BSfDsA7T.js → isArrayLikeObject-CO-5KAzG.js} +3 -3
  29. package/dist/{isEmpty-BEe-nNXw.js → isEmpty-Bl1drJE7.js} +3 -3
  30. package/dist/{journeyDiagram-ZHPQQLJL-CTGnr-JY.js → journeyDiagram-ZHPQQLJL-Cj7Vcat2.js} +1 -1
  31. package/dist/lib/components/ui/feedback/toast/index.d.ts +1 -0
  32. package/dist/lib/components/ui/feedback/toast/partials/toast-actions.d.ts +12 -2
  33. package/dist/lib/components/ui/feedback/toast/toast-data.d.ts +26 -0
  34. package/dist/lib/components/ui/feedback/toast/toast.d.ts +6 -3
  35. package/dist/lib/components/ui/feedback/toast/toasts.d.ts +18 -6
  36. package/dist/lib/components/ui/primitives/tabs/partials/tabs-content.d.ts +3 -0
  37. package/dist/lib/components/ui/primitives/tabs/partials/tabs-indicator.d.ts +13 -0
  38. package/dist/lib/components/ui/primitives/tabs/partials/tabs-list.d.ts +3 -0
  39. package/dist/lib/components/ui/primitives/tabs/partials/tabs-trigger.d.ts +6 -0
  40. package/dist/lib/components/ui/primitives/tabs/tabs-classes.d.ts +27 -0
  41. package/dist/lib/components/ui/primitives/tabs/tabs-variant.d.ts +5 -0
  42. package/dist/lib/components/ui/primitives/tabs/tabs.d.ts +11 -7
  43. package/dist/lib/components/ui/widgets/emoji/types.d.ts +1 -6
  44. package/dist/lib/i18n/resources/en/en.d.ts +14 -0
  45. package/dist/lib/i18n/resources/en/material.json.d.ts +15 -1
  46. package/dist/lib/i18n/resources/fr/fr.d.ts +14 -0
  47. package/dist/lib/i18n/resources/fr/material.json.d.ts +15 -1
  48. package/dist/lib/i18n/resources/resources.d.ts +28 -0
  49. package/dist/lib/i18n/translator.d.ts +1 -1
  50. package/dist/lib.js +3 -3
  51. package/dist/main.js +11 -11
  52. package/dist/map.js +2 -2
  53. package/dist/material.css +1 -1
  54. package/dist/{merge-CRXQ4NSv.js → merge-CwwtONfp.js} +4 -4
  55. package/dist/{mermaid.core-C_JPRVNa.js → mermaid.core-Be3u4qna.js} +21 -21
  56. package/dist/{mindmap-definition-NLK3R4M7-OTZIWZah.js → mindmap-definition-NLK3R4M7-Dw8Z4Lyy.js} +2 -2
  57. package/dist/{pieDiagram-5QR66LMP-BpmwlCYh.js → pieDiagram-5QR66LMP-Cv_V3nnp.js} +1 -1
  58. package/dist/print.js +2 -2
  59. package/dist/{quadrantDiagram-O4NWA36T-CIFt4MgA.js → quadrantDiagram-O4NWA36T-Bavlu0dy.js} +1 -1
  60. package/dist/{requirementDiagram-PLB6GJNP-BJaiDsKj.js → requirementDiagram-PLB6GJNP-6fInAtPO.js} +2 -2
  61. package/dist/{sankeyDiagram-IPEJSGJF-XDAIB5as.js → sankeyDiagram-IPEJSGJF-wzaUoPP7.js} +1 -1
  62. package/dist/{sortable-provider-MCgOzfRp.js → sortable-provider-WZT5I34N.js} +1 -1
  63. package/dist/{stateDiagram-v2-GCMORJYK-CGo16q99.js → stateDiagram-v2-GCMORJYK-BRIjnDU3.js} +2 -2
  64. package/dist/{stored-language-Cz89IYZX.js → stored-language-BW32owje.js} +30 -2
  65. package/dist/{swimlanes-2SLR337P-DXZt0zyd.js → swimlanes-2SLR337P-BNephno6.js} +3 -3
  66. package/dist/{swimlanesDiagram-TC7HE7FX-Cno6MSMH.js → swimlanesDiagram-TC7HE7FX-CUARDUGc.js} +3 -3
  67. package/dist/{timeline-definition-EJHVYXUP-CbPIZcT7.js → timeline-definition-EJHVYXUP-By2gWxfd.js} +1 -1
  68. package/dist/{translate-material-Caxsy0bp.js → translate-material-ZEzF-LKH.js} +2 -2
  69. package/dist/{translator-B85Q_O55.js → translator-BfqVlNGW.js} +1 -1
  70. package/dist/{use-heading-spy-C4yWEr5c.js → use-heading-spy-DvZVu15k.js} +2 -2
  71. package/dist/{use-material-translation-Cm3Ej3bT.js → use-material-translation-B2GUtxUY.js} +2 -2
  72. package/dist/{usecaseDiagram-POWQR4AR-D_gyFA3m.js → usecaseDiagram-POWQR4AR-CleiKWa8.js} +2 -2
  73. package/dist/{xychartDiagram-PMCCYNJV-W-fXV6iN.js → xychartDiagram-PMCCYNJV-gwrRH4uJ.js} +1 -1
  74. package/docs/components/data-display.md +1 -1
  75. package/docs/components/feedback-and-status.md +35 -6
  76. package/docs/components/primitives.md +80 -5
  77. package/docs/components/rich-widgets.md +10 -0
  78. package/docs/guides/i18n.md +19 -2
  79. package/docs/guides/theming.md +17 -3
  80. package/docs/previews/data-display-codegroup.webp +0 -0
  81. package/docs/previews/primitives-tabs.webp +0 -0
  82. package/docs/previews/rich-widgets-emojipicker.webp +0 -0
  83. package/docs/roadmap.md +12 -0
  84. package/docs/troubleshooting.md +82 -0
  85. package/package.json +2 -2
  86. package/dist/lib/components/ui/widgets/emoji/emoji.groups.d.ts +0 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # @nxgt/material
2
2
 
3
+ ## 2.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#475](https://github.com/softistx/nxgt-material/pull/475) [`2fcfa35`](https://github.com/softistx/nxgt-material/commit/2fcfa35d5bff9d46392247440a82f0bc3638f104) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Toasts: every preset takes sonner's own call, and an action that opens a dialog keeps the focus in it ([#472](https://github.com/softistx/nxgt-material/issues/472), [#473](https://github.com/softistx/nxgt-material/issues/473)).
8
+
9
+ - **`toasts.*(message, data)`.** `toasts.custom`, `success`, `info`, `warning`, `error` and `loading` also take sonner's (vue-sonner's) `(message, data)`: the message is the title, `data.description` and `data.action` are shown, and the rest of `data` (`id`, `duration`, `onDismiss`…) is passed as the options. Before, `toasts.success('Staff member restored', { action })` showed the preset's "Success" title and "Close" button, and dropped the message, the description and the action. `data` is typed `ToastData` (exported with `ToastArgs`): sonner's `ExternalToast` without `icon` (a preset draws its own) and `cancel` (the X button stands for it). The props object (`toasts.success({ title, action })`) works as before.
10
+ - **An action that opens a dialog keeps the focus there.** A click on a toast's action first gives the focus back to the control that had it before the toast, then runs `onClick`, then closes the toast; a function action's `dismiss` does the same. In `@nxgt/material`, sonner used to focus that control again as soon as the focus left the `Toaster`, which pulled it out of the dialog the action had just opened (WCAG 2.4.3); in both packages, the dialog gave the focus back, once closed, to the toast's button, gone with its toast, so to `document.body`. Now the dialog keeps the control it focused, and returns the focus to the control that had it before the toast. `ToastAction`'s `onClick` now receives the click event, optional so code that calls it directly still compiles (`() => void` handlers still fit). A toast reached by Tab from another toast hands the focus back to the same control. In `@nxgt/material-vue`, the message of `(message, data)` and a `ToastAction`'s `label` may also be a component, as in vue-sonner.
11
+ - **Migration.** `Parameters<typeof toasts.success>[0]` (and `warning`, `info`, `error`) is now the union of both call forms: use the exported `PresetProps` (or `CustomToastProps` for `custom`) for the props. Search for a blur of `document.activeElement` followed by `requestAnimationFrame` (or a `setTimeout`) around a toast action that opens a dialog, and for `toasts.custom` calls standing in for `toasts.success` only to keep an `action`: both can go. A button rendered by a function action that opens a dialog should call the `dismiss` it is given first.
12
+
13
+ ### Patch Changes
14
+
15
+ - [#476](https://github.com/softistx/nxgt-material/pull/476) [`464883e`](https://github.com/softistx/nxgt-material/commit/464883e825e4601f17395c9586d0ac01dd392162) Thanks [@SteveGT96](https://github.com/SteveGT96)! - The roadmap names the release that ships the toast action and focus fixes.
16
+ - Updated dependencies [[`2fcfa35`](https://github.com/softistx/nxgt-material/commit/2fcfa35d5bff9d46392247440a82f0bc3638f104), [`464883e`](https://github.com/softistx/nxgt-material/commit/464883e825e4601f17395c9586d0ac01dd392162)]:
17
+ - @nxgt/material-core@0.7.0
18
+
19
+ ## 2.9.0
20
+
21
+ ### Minor Changes
22
+
23
+ - [#468](https://github.com/softistx/nxgt-material/pull/468) [`5d57954`](https://github.com/softistx/nxgt-material/commit/5d57954d477f81d02872382b8ba54a97168dd191) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `Tabs` has two looks: `underline`, the new default (tabs over a border, the active one in the primary colour with a bar under it that slides to the tab clicked or reached with the arrow keys), and `segmented` (a neutral pill track whose raised surface slides to the active tab, whose label also turns foreground and semibold). `TabsVariant` is `'underline' | 'segmented' | 'bar' | 'line'`; `bar` is a deprecated alias of `underline` and `line` of `segmented`, so no call site or type breaks. The list scrolls sideways when the tabs overflow (its scrollbar hidden), `orientation="vertical"` puts the indicator on the side, and the focus ring is a primary outline inside the tab. Server HTML and pages without JavaScript show a static indicator under the active tab; once measured, the list carries `data-indicator="ready"` and the sliding one takes over, with no hydration mismatch. In the dark theme the active label is the primary colour mixed with white (it was the bare primary, 2.7:1 on the page). `TabsTrigger`'s `icon` now renders in a `<span data-slot="tabs-trigger-icon">` (it was a `<div>` inside the `<button>`). `CodeGroup` and the emoji lists use `underline`.
24
+
25
+ The indicator jumps instead of sliding under `prefers-reduced-motion: reduce`, and `dir="rtl"` runs the tabs and the indicator from the right. The `segmented` track scrolls sideways on a phone too, rather than widening the page. The emoji list's icon-only group tabs are named (`aria-label` and `title`, from the new `material.emoji.groups.*` keys, in English and French); an icon-only `TabsTrigger` of your own needs an `aria-label` the same way.
26
+
27
+ `TabsList` accepts `asChild` (it threw in React with two children; the sliding indicator now sits inside the child, and in Vue a list with `asChild` keeps the static indicator), and the indicator follows a tab inserted or removed before the active one.
28
+
29
+ **Deprecated:** `variant="bar"` and `variant="line"`. They still type-check and render, as `underline` and `segmented`; write those instead.
30
+
31
+ **Visible change:** a `Tabs` with no `variant`, or with `variant="bar"`, no longer renders the boxed look (equal-width triggers, a primary ring and tint around the active one, a 10px label under its icon on the phone); it renders `underline`. `variant="line"` renders `segmented` (a rounded pill, not the muted strip).
32
+
33
+ ### Migration
34
+
35
+ - Search for `variant="bar"` and replace it with `variant="underline"` (or remove it: `underline` is the default). Search for `variant="line"` and replace it with `variant="segmented"`. Search for `variant: 'bar'` / `variant: 'line'` in objects and typed props the same way.
36
+ - The old `bar` look is gone. The closest is `underline`; to keep its equal-width triggers, add `className="w-full"` to `TabsList` and `className="flex-1"` to each `TabsTrigger`. To keep a boxed active tab, `segmented` is the closest.
37
+ - Tests that queried the old classes must change: `ring-primary`, `ring-1`, `bg-primary/10`, `text-primary` on the active trigger, `text-[10px]` / `md:text-xs` on its label, `bg-muted/60` on the `line` list. Query the state instead: `getByRole('tab', { selected: true })`, or `toHaveAttribute('data-state', 'active')`, and `data-variant` on `[data-slot="tabs"]` for the look (it holds the variant as written: `bar` stays `bar`).
38
+ - A test that looked for the icon as a `div` inside the trigger must look for `[data-slot="tabs-trigger-icon"]`.
39
+
40
+ ### Patch Changes
41
+
42
+ - [#470](https://github.com/softistx/nxgt-material/pull/470) [`853d093`](https://github.com/softistx/nxgt-material/commit/853d093f0620dc6940ea1ce69e025b61e3b0094d) Thanks [@SteveGT96](https://github.com/SteveGT96)! - The roadmap names the release that ships the two Tabs looks and the emoji groups.
43
+ - Updated dependencies [[`5f984fa`](https://github.com/softistx/nxgt-material/commit/5f984fa95a2944e6c71acd81d0272730d87c2c0a), [`853d093`](https://github.com/softistx/nxgt-material/commit/853d093f0620dc6940ea1ce69e025b61e3b0094d)]:
44
+ - @nxgt/material-core@0.6.0
45
+
3
46
  ## 2.8.0
4
47
 
5
48
  ### Minor Changes
package/README.md CHANGED
@@ -290,7 +290,7 @@ React-only today: `Combobox` (not planned in Vue) and `StepperIndicator`.
290
290
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-separator.webp" width="120" alt="Separator"> | [`Separator`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#separator) | Horizontal or vertical divider. | `Separator` |
291
291
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-scrollarea.webp" width="120" alt="ScrollArea"> | [`ScrollArea`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#scrollarea), `ScrollBar` | Scroll container with a thin custom scrollbar that matches the theme. | `ScrollArea`, `ScrollBar` |
292
292
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-table.webp" width="120" alt="Table"> | [`Table`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#table), `TableHeader`, `TableBody`, `TableFooter`, `TableRow`, `TableHead`, `TableCell`, `TableCaption`, `TableEmpty` | Styled semantic table inside a scrollable wrapper; `TableEmpty` is the full-width "nothing here" row. | `Table` (same parts) |
293
- | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-tabs.webp" width="120" alt="Tabs"> | [`Tabs`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#tabs), `TabsList`, `TabsTrigger`, `TabsContent` | Tabs whose triggers can take an icon. `variant="line"` is the quieter pill style. | `Tabs` (same parts) |
293
+ | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-tabs.webp" width="120" alt="Tabs"> | [`Tabs`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#tabs), `TabsList`, `TabsTrigger`, `TabsContent` | Tabs whose triggers can take an icon, in two looks: `underline` (the default) and the `segmented` pill. | `Tabs` (same parts) |
294
294
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-toggle.webp" width="120" alt="Toggle"> | [`Toggle`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#toggle) | Pressable on / off button: default or outlined, three sizes. | `Toggle` |
295
295
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/primitives-togglegroup.webp" width="120" alt="ToggleGroup"> | [`ToggleGroup`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#togglegroup), `ToggleGroupItem`, `ToggleGroupSeparator` | Single or multiple toggle group sharing variant and size. | `ToggleGroup`, `ToggleGroupItem` |
296
296
  | — | [`Activity`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/primitives.md#activity) | React `<Activity>` switched by a boolean `visible`. | `Activity` |
@@ -393,7 +393,7 @@ React-only today: `Combobox` (not planned in Vue) and `StepperIndicator`.
393
393
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-accordioncard.webp" width="120" alt="AccordionCard"> | [`AccordionCard`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#accordioncard) | Renders `items` (title, content) as a styled accordion. | `AccordionCard` |
394
394
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-timeline.webp" width="120" alt="Timeline"> | [`Timeline`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#timeline), `TimelineItem`, `RelativeTime` | Vertical event timeline with toned icons and relative times. | `Timeline`, `TimelineItem`, `RelativeTime` |
395
395
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-eventchip.webp" width="120" alt="EventChip"> | [`EventChip`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#eventchip) | Calendar event pill with time, all-day and continuation edges. | `EventChip` |
396
- | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-codeblock.webp" width="120" alt="CodeBlock"> | [`CodeBlock`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#codeblock), `CodeDiff`, `JsonViewer`, `CodeGroup` | Highlighted code with line numbers and copy, a Monaco diff, a collapsible JSON tree, and tabbed samples (`Tabs variant="line"`). | `CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeGroup` |
396
+ | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-codeblock.webp" width="120" alt="CodeBlock"> | [`CodeBlock`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#codeblock), `CodeDiff`, `JsonViewer`, `CodeGroup` | Highlighted code with line numbers and copy, a Monaco diff, a collapsible JSON tree, and tabbed samples (`Tabs`, underlined). | `CodeBlock`, `CodeDiff`, `JsonViewer`, `CodeGroup` |
397
397
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-markdown.webp" width="120" alt="Markdown"> | [`Markdown`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#markdown), `MermaidDiagram` | GFM markdown with KaTeX math and mermaid diagrams (`clientOnly`). Fences reuse `CodeBlock`. `ChatMarkdown` renders through it. | `Markdown`, `MermaidDiagram` |
398
398
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-terminal.webp" width="120" alt="Terminal"> | [`Terminal`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#terminal) | Display-only log with prompt, copy, and error/input tones. Container queries. | `Terminal` |
399
399
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/previews/data-display-figure.webp" width="120" alt="Figure"> | [`Figure`](https://cdn.jsdelivr.net/npm/@nxgt/material@2/docs/components/data-display.md#figure) | Framed media with an optional caption. | `Figure` |
@@ -1,4 +1,4 @@
1
- import { S as e, T as t, d as n, g as r, l as i, u as a, v as o, w as s, x as c } from "./translator-B85Q_O55.js";
1
+ import { S as e, T as t, d as n, g as r, l as i, u as a, v as o, w as s, x as c } from "./translator-BfqVlNGW.js";
2
2
  //#region ../../node_modules/lodash-es/_isIndex.js
3
3
  var l = 9007199254740991, u = /^(?:0|[1-9]\d*)$/;
4
4
  function d(e, t) {
@@ -1,4 +1,4 @@
1
- import { m as e, p as t } from "./translator-B85Q_O55.js";
1
+ import { m as e, p as t } from "./translator-BfqVlNGW.js";
2
2
  //#region ../../node_modules/lodash-es/identity.js
3
3
  function n(e) {
4
4
  return e;
@@ -1,5 +1,5 @@
1
- import { C as e, S as t, h as n, l as r, m as i, p as a, u as o, v as s, w as c, x as l } from "./translator-B85Q_O55.js";
2
- import { a as u, c as d, d as f, i as p, n as m, r as h, t as g, u as _ } from "./_Uint8Array-CALbCR7W.js";
1
+ import { C as e, S as t, h as n, l as r, m as i, p as a, u as o, v as s, w as c, x as l } from "./translator-BfqVlNGW.js";
2
+ import { a as u, c as d, d as f, i as p, n as m, r as h, t as g, u as _ } from "./_Uint8Array-azThpjEP.js";
3
3
  import { L as v } from "./number.utils-BiBN2hWJ.js";
4
4
  import { Suspense as y, createContext as b, createElement as x, useContext as ee, useEffect as te, useMemo as S, useReducer as ne, useState as re, useSyncExternalStore as ie } from "react";
5
5
  import { asyncThunkCreator as ae, buildCreateSlice as oe } from "@reduxjs/toolkit";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./graphlib-DHgEBs83.js";
1
+ import { t as e } from "./graphlib-DLjE3QPd.js";
2
2
  import { n as t, t as n } from "./src-CsLQInsN.js";
3
3
  import { A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, L as f, M as p, N as m, O as h, P as g, R as _, T as v, U as ee, V as y, W as b, b as x, j as S, k as C, l as w, v as T, w as E, z as D } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { n as O } from "./chunk-Y2CYZVJY-BAad7w_K.js";
@@ -12,7 +12,7 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
12
12
  import { i as se, n as ce, o as le, r as ue, s as de } from "./chunk-J5ZVWO5B-DmRRmhon.js";
13
13
  import "./chunk-7INBJB4K-k-I67NSP.js";
14
14
  import { i as fe, r as pe } from "./chunk-5DYCD2WN-Cd1zazNp.js";
15
- import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-Ccb3Rfjl.js";
15
+ import { a as me, c as he, i as ge, l as _e } from "./chunk-Z7XXMR3K-BICnZMWs.js";
16
16
  //#region ../../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
17
17
  function ve(e) {
18
18
  return Array.isArray(e);
@@ -1,11 +1,11 @@
1
- import { t as e } from "./graphlib-DHgEBs83.js";
1
+ import { t as e } from "./graphlib-DLjE3QPd.js";
2
2
  import { n as t } from "./src-CsLQInsN.js";
3
3
  import { g as n } from "./chunk-ZIGJFQKS-9VXArDKF.js";
4
4
  import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
5
5
  import { b as i, x as a } from "./chunk-O7XYJQB3-BChweQ_V.js";
6
6
  import { o } from "./chunk-7INBJB4K-k-I67NSP.js";
7
7
  import { i as s, n as c, r as l, t as u } from "./chunk-5DYCD2WN-Cd1zazNp.js";
8
- import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-Ccb3Rfjl.js";
8
+ import { a as d, c as f, i as p, n as m, r as h, t as g, u as _ } from "./chunk-Z7XXMR3K-BICnZMWs.js";
9
9
  import { r as v, t as y } from "./chunk-UA2S7LBM-ChuksCDg.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-3FUC2YCW.mjs
11
11
  function b(e, { edgePathsClass: t = "edges edgePaths" } = {}) {
@@ -9,7 +9,7 @@ import { a as b } from "./chunk-7INBJB4K-k-I67NSP.js";
9
9
  import { t as x } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
10
10
  import { t as S } from "./chunk-XXDRQBXY-dKXxu_aj.js";
11
11
  import { t as C } from "./chunk-WEXAMYUT-CbFOhEve.js";
12
- import { r as w, t as T } from "./chunk-GNY47TPC-CB_83G7J.js";
12
+ import { r as w, t as T } from "./chunk-GNY47TPC-CscSFMWi.js";
13
13
  import { n as E, t as D } from "./chunk-LNGE3PJU-DJjGTS7O.js";
14
14
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-7M6MHVWA.mjs
15
15
  var ie = "flowchart-", ae = class {
@@ -5,7 +5,7 @@ import { b as r, s as i } from "./chunk-O7XYJQB3-BChweQ_V.js";
5
5
  import { t as a } from "./chunk-DUW6YSOI-9R-v-IIp.js";
6
6
  import { o } from "./chunk-7INBJB4K-k-I67NSP.js";
7
7
  import { r as s } from "./chunk-5DYCD2WN-Cd1zazNp.js";
8
- import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-Ccb3Rfjl.js";
8
+ import { a as c, c as l, i as u, l as d } from "./chunk-Z7XXMR3K-BICnZMWs.js";
9
9
  import { r as f } from "./chunk-UA2S7LBM-ChuksCDg.js";
10
10
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-GNY47TPC.mjs
11
11
  var p = {
@@ -30,7 +30,7 @@ var p = {
30
30
  ], h = /* @__PURE__ */ Object.create(null), g = /* @__PURE__ */ n((e) => {
31
31
  for (let t of e) h[t.name] = t;
32
32
  }, "registerLayoutLoaders"), _ = /* @__PURE__ */ n(() => {
33
- let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-BoWoJr6K.js"), "loader");
33
+ let e = /* @__PURE__ */ n(async () => await import("./elk-276RUBZZ-CxNgT7Wb.js"), "loader");
34
34
  return [{
35
35
  name: "elk",
36
36
  loader: e,
@@ -45,11 +45,11 @@ var p = {
45
45
  g([
46
46
  {
47
47
  name: "dagre",
48
- loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-c8yG3_vh.js"), "loader")
48
+ loader: /* @__PURE__ */ n(async () => await import("./dagre-6A5THRUB-B9m4hqWN.js"), "loader")
49
49
  },
50
50
  {
51
51
  name: "swimlane",
52
- loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-DXZt0zyd.js"), "loader")
52
+ loader: /* @__PURE__ */ n(async () => await import("./swimlanes-2SLR337P-BNephno6.js"), "loader")
53
53
  },
54
54
  {
55
55
  name: "cose-bilkent",
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
2
- import { o as t } from "./chunk-Z7XXMR3K-Ccb3Rfjl.js";
2
+ import { o as t } from "./chunk-Z7XXMR3K-BICnZMWs.js";
3
3
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-NETBCI7D.mjs
4
4
  var n = 5, r = 1e-5, i = 2, a = .6, o = 1e-6;
5
5
  function s(e) {
@@ -1,4 +1,4 @@
1
- import { st as e } from "./components-Bg1bqGbc.js";
1
+ import { st as e } from "./components-BfXTx1uS.js";
2
2
  import { n as t, t as n } from "./src-CsLQInsN.js";
3
3
  import { _ as r, a as i, i as a, n as o, o as s, p as c, r as l, t as u, u as d, v as f } from "./step-Dt43c9X4.js";
4
4
  import { K as p, g as m, q as h, u as g } from "./chunk-ZIGJFQKS-9VXArDKF.js";
@@ -9,12 +9,12 @@ import "./chunk-7PRAP22T-0C6_H8Li.js";
9
9
  import { i as v, n as y, o as b, r as x } from "./chunk-J5ZVWO5B-DmRRmhon.js";
10
10
  import "./chunk-7INBJB4K-k-I67NSP.js";
11
11
  import "./chunk-5DYCD2WN-Cd1zazNp.js";
12
- import "./chunk-Z7XXMR3K-Ccb3Rfjl.js";
12
+ import "./chunk-Z7XXMR3K-BICnZMWs.js";
13
13
  import { t as S } from "./chunk-GWA4HPMP-B8jXI0Tl.js";
14
14
  import { t as C } from "./chunk-XXDRQBXY-dKXxu_aj.js";
15
15
  import { t as w } from "./chunk-WEXAMYUT-CbFOhEve.js";
16
16
  import "./chunk-UA2S7LBM-ChuksCDg.js";
17
- import { r as T, t as E } from "./chunk-GNY47TPC-CB_83G7J.js";
17
+ import { r as T, t as E } from "./chunk-GNY47TPC-CscSFMWi.js";
18
18
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-NBCMYWYE.mjs
19
19
  var D = (function() {
20
20
  var e = /* @__PURE__ */ i(function(e, t, n, r) {