@nxgt/material 3.80.0 → 3.81.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.
- package/CHANGELOG.md +46 -0
- package/README.md +3 -2
- package/dist/{alert-dialog-DgHtXZuB.js → alert-dialog-DOZ0SfQs.js} +1 -1
- package/dist/{async-slice-YBQsGtQT.js → async-slice-BfVokA46.js} +1 -1
- package/dist/{button-_vm-xSBU.js → button-CSKUtMI3.js} +2 -2
- package/dist/{calculator-CTd_S23A.js → calculator-Cv00UQgR.js} +10 -10
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-OI1BT3bA.js → calculator-segment-CwnC2cV_.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-DumcVzUO.js → chip-BGn0V6Pt.js} +3 -3
- package/dist/{code-editor-CiwgfSOK.js → code-editor-B25-mWhb.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-Dip0xnmc.js → code-language-items-oRjtO3qV.js} +2 -2
- package/dist/components/base-content.css +11 -0
- package/dist/components/components.css +2 -0
- package/dist/components/ui/collections/data-table/data-table-items-tiles.css +27 -1
- package/dist/components/ui/display/tube-cap/tube-cap.css +87 -0
- package/dist/{components-CJFHhkZv.js → components-B00kDHzJ.js} +19168 -18815
- package/dist/components.js +37 -37
- package/dist/{conversion-variant-CqrPwPjC.js → conversion-variant-wZd-G6xR.js} +3 -3
- package/dist/{currency-field-CMFvctye.js → currency-field-DizBTAat.js} +4 -4
- package/dist/{date.utils-DUvqcjan.js → date.utils-JTEIo3mM.js} +98 -98
- package/dist/{dialog-B0iU3fmh.js → dialog-B-3s-oXt.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-CPOgcajv.js → dropdown-menu-C6rcYGB9.js} +1 -1
- package/dist/editor.js +19 -19
- package/dist/{empty-state-D3Jggupu.js → empty-state-CSkghnD9.js} +1 -1
- package/dist/{financial-variant-BdyfYhnp.js → financial-variant-igpGRbGw.js} +5 -5
- package/dist/{hooks-Z7KKbv4G.js → hooks-DvIsom2p.js} +2 -2
- package/dist/hooks.js +9 -8
- package/dist/{hover-card-CFGIX6kg.js → hover-card-DuaVVKMb.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-kxGWUvcO.js → icon-badge-3ThP6EOl.js} +1 -1
- package/dist/{icon-button-BamxMwZs.js → icon-button-4PKlaI1g.js} +2 -2
- package/dist/lib/components/ui/actions/button/button-tones.d.ts +17 -16
- package/dist/lib/components/ui/collections/day-grouped-list/day-grouped-list.d.ts +6 -1
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +2 -0
- package/dist/lib/components/ui/collections/server-table/types-states.d.ts +5 -1
- package/dist/lib/components/ui/display/index.d.ts +1 -0
- package/dist/lib/components/ui/display/tube-cap/index.d.ts +2 -0
- package/dist/lib/components/ui/display/tube-cap/tube-cap.d.ts +27 -0
- package/dist/lib/components/ui/display/tube-cap/tube-cap.kinds.d.ts +7 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-row.d.ts +3 -1
- package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-rows.d.ts +2 -1
- package/dist/lib/components/ui/fields/repeatable-group/repeatable-group.d.ts +1 -1
- package/dist/lib/components/ui/fields/repeatable-group/types.d.ts +7 -0
- package/dist/lib/components/ui/media/galleries/gallery.d.ts +1 -1
- package/dist/lib/components/ui/media/galleries/lightbox-gallery.d.ts +1 -1
- package/dist/lib/components/ui/media/galleries/mini-gallery.d.ts +1 -1
- package/dist/lib/components/ui/overlays/dialog/dialog-parts.d.ts +1 -1
- package/dist/lib/components/ui/overlays/sheet/sheet-parts.d.ts +5 -0
- package/dist/lib/components/ui/selection/choice-card-group/choice-card-balance.d.ts +4 -0
- package/dist/lib/components/ui/selection/choice-card-group/choice-card-group.d.ts +3 -1
- package/dist/lib/components/ui/selection/choice-card-group/choice-card-group.types.d.ts +7 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-body.d.ts +5 -1
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +2 -1
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +8 -5
- package/dist/lib/components/ui/selection/sortable-list/partials/use-owed-focus.d.ts +10 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list-context.d.ts +2 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list.keyboard.d.ts +1 -1
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-context.d.ts +3 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-shell.d.ts +15 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-template.d.ts +9 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.d.ts +7 -3
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.template.d.ts +41 -0
- package/dist/lib/components/ui/widgets/event-calendar/index.d.ts +1 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-date-nav.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-lane-toggle.d.ts +5 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/time-grid-header-template.d.ts +7 -0
- package/dist/lib/components/ui/widgets/event-calendar/template.types.d.ts +73 -0
- package/dist/lib/components/ui/widgets/event-calendar/types.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-chip-event.d.ts +1 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-drawn-events.d.ts +4 -3
- package/dist/lib/components/ui/widgets/event-calendar/use-template-calendar.d.ts +18 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-template-lane.d.ts +17 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/i18n/resources/en/en.d.ts +2 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +2 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +2 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +2 -0
- package/dist/lib/i18n/resources/resources.d.ts +4 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +2 -2
- package/dist/main.js +53 -52
- package/dist/map.js +7 -7
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-C2LNr8NA.js → percent-field-QwU1l2Q4.js} +1 -1
- package/dist/{picker-surface-BUCFMoAZ.js → picker-surface-CiTycWgV.js} +4 -4
- package/dist/{popover-DFRwQF12.js → popover-YmbzbKQG.js} +1 -1
- package/dist/{pos-types-CXnEdjdy.js → pos-types-BFrapNmx.js} +1 -1
- package/dist/{pos-variant-DMwn_7is.js → pos-variant-CctfqieO.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-Bo4eiDFi.js → programmer-variant-Dd0YOixn.js} +2 -2
- package/dist/{public-CyQPkkSR.js → public-CshR_aW7.js} +10 -10
- package/dist/{rich-code-block-iK7UcZdc.js → rich-code-block-BuJLDoBu.js} +5 -5
- package/dist/{scientific-variant-B9ScTgfx.js → scientific-variant-CjErQxuZ.js} +2 -2
- package/dist/{sortable-provider-BZwVjSVU.js → sortable-provider-DU2nvpFc.js} +2 -2
- package/dist/{spinner-RITOxvpH.js → spinner-DH1mm8hH.js} +1 -1
- package/dist/{tabs-DSo4eCUn.js → tabs-Um0SFyf1.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-3gbzQX0x.js → theme-toggle-C-Ih4uQU.js} +1 -1
- package/dist/{toolbar-items-Bt5RK-Nx.js → toolbar-items-BoEY5bkt.js} +4 -4
- package/dist/{translate-material-CZTGqgen.js → translate-material-D4rn5UaQ.js} +1 -1
- package/dist/{translator-DTlOlIoq.js → translator-CcEgQ-H7.js} +4 -0
- package/dist/{use-chat-composer-DBY01IpX.js → use-chat-composer-BBF1BI_s.js} +46 -42
- package/dist/{use-click-lock-BZYtTmVt.js → use-click-lock-Bwg_caHO.js} +14 -14
- package/dist/{use-heading-spy-Dt48bBts.js → use-heading-spy-BgyA6SJl.js} +19 -19
- package/dist/{use-material-translation-BJucC_xe.js → use-material-translation-DYrfV_JJ.js} +1 -1
- package/dist/{use-return-focus-BS1JLcnq.js → use-return-focus-C_Qz_yTk.js} +1 -1
- package/docs/components/data-display.md +36 -8
- package/docs/components/data-table-filter-and-lists.md +7 -3
- package/docs/components/form-fields.md +1 -0
- package/docs/components/media-and-files.md +1 -0
- package/docs/components/navigation-and-layout.md +2 -1
- package/docs/components/overlays-and-menus.md +11 -5
- package/docs/components/rich-widgets.md +85 -1
- package/docs/components/selection-and-choice.md +49 -10
- package/docs/guides/forms.md +7 -0
- package/docs/guides/helpers.md +23 -0
- package/docs/guides/layouts.md +2 -2
- package/docs/guides/theming.md +7 -7
- package/docs/previews/data-display-tubecap.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/roadmap.md +3 -1
- package/docs/troubleshooting.md +50 -2
- package/lib/components/base-content.css +11 -0
- package/lib/components/components.css +2 -0
- package/lib/components/ui/collections/data-table/data-table-items-tiles.css +27 -1
- package/lib/components/ui/display/tube-cap/tube-cap.css +87 -0
- package/lib/themes/ambre.css +1 -1
- package/lib/themes/ardoise.css +1 -1
- package/lib/themes/bleumono.css +1 -1
- package/lib/themes/bluemoon.css +1 -1
- package/lib/themes/corail.css +2 -2
- package/lib/themes/foret.css +1 -1
- package/lib/themes/lavande.css +1 -1
- package/lib/themes/menthe.css +2 -2
- package/lib/themes/ocean.css +1 -1
- package/lib/themes/pink.css +2 -2
- package/lib/themes/prune.css +1 -1
- package/lib/themes/sable.css +1 -1
- package/lib/themes/slate.css +1 -1
- package/lib/themes/teal.css +2 -2
- package/package.json +2 -2
package/dist/pdf-reader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./currency-field-
|
|
1
|
+
import { r as e } from "./currency-field-DizBTAat.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region lib/components/ui/fields/percent-field/percent-field.tsx
|
|
4
4
|
function n({ min: n = 0, max: r = 100, step: i = 1, ...a }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { r as t, t as n } from "./in-dialog-D61Yeaol.js";
|
|
3
|
-
import { a as r, c as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d, u as f } from "./use-return-focus-
|
|
4
|
-
import { i as p, o as m, r as h, t as g } from "./popover-
|
|
5
|
-
import { t as _ } from "./use-material-translation-
|
|
6
|
-
import { n as v, t as y } from "./icon-button-
|
|
3
|
+
import { a as r, c as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d, u as f } from "./use-return-focus-C_Qz_yTk.js";
|
|
4
|
+
import { i as p, o as m, r as h, t as g } from "./popover-YmbzbKQG.js";
|
|
5
|
+
import { t as _ } from "./use-material-translation-DYrfV_JJ.js";
|
|
6
|
+
import { n as v, t as y } from "./icon-button-4PKlaI1g.js";
|
|
7
7
|
import { t as b } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
8
8
|
import { i as x } from "./escape-owner-DpaP0lm1.js";
|
|
9
9
|
import * as S from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t, r as n } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { i as r, r as i, t as a } from "./dist-DWZXlCZR.js";
|
|
4
|
-
import { S as o, d as s, f as c, l, p as u, u as d, x as f } from "./spinner-
|
|
4
|
+
import { S as o, d as s, f as c, l, p as u, u as d, x as f } from "./spinner-DH1mm8hH.js";
|
|
5
5
|
import { a as p, i as m, r as h } from "./dist-DHdUUM1w.js";
|
|
6
6
|
import { a as g, c as _, l as v, o as y, r as b, s as x, t as S } from "./in-dialog-D61Yeaol.js";
|
|
7
7
|
import { i as C } from "./escape-owner-DpaP0lm1.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-DYrfV_JJ.js";
|
|
2
2
|
import { n as t } from "./calculator-context-BugcKuVG.js";
|
|
3
3
|
import { t as n } from "./calculator-announce-DRd2c6Dq.js";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { t } from "./use-material-translation-
|
|
3
|
-
import { t as n } from "./icon-button-
|
|
2
|
+
import { t } from "./use-material-translation-DYrfV_JJ.js";
|
|
3
|
+
import { t as n } from "./icon-button-4PKlaI1g.js";
|
|
4
4
|
import { n as r } from "./calculator-context-BugcKuVG.js";
|
|
5
|
-
import { a as i, n as a, r as o, t as s } from "./pos-types-
|
|
5
|
+
import { a as i, n as a, r as o, t as s } from "./pos-types-BFrapNmx.js";
|
|
6
6
|
import { i as c, n as l, s as u } from "./key-layout-cR79xfGE.js";
|
|
7
7
|
import { n as d, t as f } from "./currency-B-r3ig11.js";
|
|
8
|
-
import { t as p } from "./calculator-segment-
|
|
8
|
+
import { t as p } from "./calculator-segment-CwnC2cV_.js";
|
|
9
9
|
import { useId as m, useState as h } from "react";
|
|
10
10
|
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
11
11
|
import { ChevronDown as y, X as b } from "lucide-react";
|
package/dist/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, t } from "./translate-material-
|
|
1
|
+
import { i as e, t } from "./translate-material-D4rn5UaQ.js";
|
|
2
2
|
import { Children as n, createContext as r, isValidElement as i, useCallback as a, useContext as o, useEffect as s, useMemo as c, useState as l } from "react";
|
|
3
3
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
4
4
|
import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-DYrfV_JJ.js";
|
|
2
2
|
import { t } from "./toggle-FeCCJqbg.js";
|
|
3
3
|
import { n } from "./calculator-context-BugcKuVG.js";
|
|
4
4
|
import { i as r, n as i, s as a } from "./key-layout-cR79xfGE.js";
|
|
5
5
|
import { t as o } from "./programmer-word-CNCF7DJF.js";
|
|
6
|
-
import { t as s } from "./calculator-segment-
|
|
6
|
+
import { t as s } from "./calculator-segment-CwnC2cV_.js";
|
|
7
7
|
import { useId as c, useState as l } from "react";
|
|
8
8
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
9
|
import { calculate as f, formatExpression as p, sessionOptions as m, toCanonical as h, tokenize as g } from "@nxgt/material-core/calculator";
|
|
@@ -3,25 +3,25 @@ import { n as t } from "./ui.utils-CAnKTCw5.js";
|
|
|
3
3
|
import { t as n } from "./utils-BLfntITJ.js";
|
|
4
4
|
import { o as r } from "./dist-DVRQkaTK.js";
|
|
5
5
|
import { i, n as a, r as o } from "./dist-DWZXlCZR.js";
|
|
6
|
-
import { o as s } from "./spinner-
|
|
6
|
+
import { o as s } from "./spinner-DH1mm8hH.js";
|
|
7
7
|
import { a as c, i as l, n as u } from "./dist-DHdUUM1w.js";
|
|
8
8
|
import { i as d } from "./dist-DOK3zo5C.js";
|
|
9
9
|
import { r as f, t as p } from "./in-dialog-D61Yeaol.js";
|
|
10
|
-
import { a as m, c as h, i as g, l as _, n as v, o as ee, r as y, s as b, t as te, u as ne } from "./use-return-focus-
|
|
11
|
-
import { c as x, d as S, f as C, i as w, l as T, n as E, o as D, t as re, u as O } from "./dropdown-menu-
|
|
12
|
-
import { a as k, b as ie, d as ae, f as oe, i as se, n as A, o as ce, r as le, s as j, t as M, u as ue, v as de } from "./toolbar-items-
|
|
10
|
+
import { a as m, c as h, i as g, l as _, n as v, o as ee, r as y, s as b, t as te, u as ne } from "./use-return-focus-C_Qz_yTk.js";
|
|
11
|
+
import { c as x, d as S, f as C, i as w, l as T, n as E, o as D, t as re, u as O } from "./dropdown-menu-C6rcYGB9.js";
|
|
12
|
+
import { a as k, b as ie, d as ae, f as oe, i as se, n as A, o as ce, r as le, s as j, t as M, u as ue, v as de } from "./toolbar-items-BoEY5bkt.js";
|
|
13
13
|
import { t as fe } from "./dist-DkQbkF9T.js";
|
|
14
|
-
import { t as pe } from "./button-
|
|
15
|
-
import { t as N } from "./use-material-translation-
|
|
16
|
-
import { n as me, t as he } from "./icon-button-
|
|
14
|
+
import { t as pe } from "./button-CSKUtMI3.js";
|
|
15
|
+
import { t as N } from "./use-material-translation-DYrfV_JJ.js";
|
|
16
|
+
import { n as me, t as he } from "./icon-button-4PKlaI1g.js";
|
|
17
17
|
import { t as ge } from "./useEvent-2fKq-6w8.js";
|
|
18
18
|
import { n as _e, t as ve } from "./toggle-group-CVMxEpWi.js";
|
|
19
19
|
import { i as ye } from "./escape-owner-DpaP0lm1.js";
|
|
20
20
|
import { n as be } from "./use-slice-reducer-BGkeGtML.js";
|
|
21
21
|
import { t as xe } from "./input-CC2joTjB.js";
|
|
22
22
|
import { r as Se } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
23
|
-
import { n as Ce, t as we } from "./empty-state-
|
|
24
|
-
import { r as Te, t as Ee, u as De } from "./dialog-
|
|
23
|
+
import { n as Ce, t as we } from "./empty-state-CSkghnD9.js";
|
|
24
|
+
import { r as Te, t as Ee, u as De } from "./dialog-B-3s-oXt.js";
|
|
25
25
|
import { t as Oe } from "./client-only.utils-3nHNzCki.js";
|
|
26
26
|
import { t as ke } from "./use-scroll-away-PQRFZkT2.js";
|
|
27
27
|
import * as P from "react";
|
|
@@ -649,7 +649,7 @@ function Yn({ className: e, ...t }) {
|
|
|
649
649
|
function Xn({ className: e, ...t }) {
|
|
650
650
|
return /* @__PURE__ */ H("div", {
|
|
651
651
|
"data-slot": "sheet-footer",
|
|
652
|
-
className: n("mt-auto flex flex-col gap-2 p-4 *:w-full", e),
|
|
652
|
+
className: n("mt-auto flex flex-col-reverse gap-2 p-4 *:w-full", e),
|
|
653
653
|
...t
|
|
654
654
|
});
|
|
655
655
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./spinner-
|
|
2
|
-
import { c as t, n, t as r } from "./dropdown-menu-
|
|
3
|
-
import { t as i } from "./use-material-translation-
|
|
4
|
-
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-
|
|
1
|
+
import { n as e } from "./spinner-DH1mm8hH.js";
|
|
2
|
+
import { c as t, n, t as r } from "./dropdown-menu-C6rcYGB9.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-DYrfV_JJ.js";
|
|
4
|
+
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-oRjtO3qV.js";
|
|
5
5
|
import { i as u, n as d, r as f, s as p } from "./dist-C3GR7kJd.js";
|
|
6
6
|
import { t as m } from "./code-block-spec-CGLKRhwD.js";
|
|
7
7
|
import { Suspense as h, lazy as g, useEffect as _, useRef as v, useState as y } from "react";
|
|
@@ -143,7 +143,7 @@ function M({ node: e, editor: t, updateAttributes: n, editable: r, wrap: a, onWr
|
|
|
143
143
|
}
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region lib/components/ui/widgets/editor/extensions/code/code-block-open.tsx
|
|
146
|
-
var N = g(() => import("./code-editor-
|
|
146
|
+
var N = g(() => import("./code-editor-B25-mWhb.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
|
|
147
147
|
function P() {
|
|
148
148
|
let { t: e } = i();
|
|
149
149
|
return /* @__PURE__ */ b("div", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-DYrfV_JJ.js";
|
|
2
2
|
import { t } from "./toggle-FeCCJqbg.js";
|
|
3
3
|
import { n } from "./calculator-context-BugcKuVG.js";
|
|
4
4
|
import { i as r, o as i } from "./key-layout-cR79xfGE.js";
|
|
5
5
|
import { t as a } from "./standard-layout-BuSRr3TY.js";
|
|
6
|
-
import { t as o } from "./calculator-segment-
|
|
6
|
+
import { t as o } from "./calculator-segment-CwnC2cV_.js";
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { scientificOptions as l } from "@nxgt/material-core/calculator/scientific";
|
|
9
9
|
//#region lib/components/ui/widgets/calculator/variants/scientific/scientific-layout.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./dist-DVRQkaTK.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
4
|
-
import { t as r } from "./icon-button-
|
|
3
|
+
import { t as n } from "./use-material-translation-DYrfV_JJ.js";
|
|
4
|
+
import { t as r } from "./icon-button-4PKlaI1g.js";
|
|
5
5
|
import { t as i } from "./compose-refs-G4J4kaUA.js";
|
|
6
6
|
import a, { cloneElement as o, createContext as s, forwardRef as c, memo as l, useCallback as u, useContext as d, useEffect as f, useId as p, useLayoutEffect as m, useMemo as h, useReducer as g, useRef as _, useState as v } from "react";
|
|
7
7
|
import { jsx as y } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import { a as i, i as a, n as o, r as s, t as c } from "./dist-DWZXlCZR.js";
|
|
|
5
5
|
import { a as l, i as u, n as d, r as f, t as p } from "./dist-DHdUUM1w.js";
|
|
6
6
|
import { a as m, c as h, d as g, i as _, l as v, o as y, r as b, t as x, u as S } from "./floating-ui.dom-KkZSW8_E.js";
|
|
7
7
|
import { t as C } from "./dist-DkQbkF9T.js";
|
|
8
|
-
import { t as w } from "./use-material-translation-
|
|
8
|
+
import { t as w } from "./use-material-translation-DYrfV_JJ.js";
|
|
9
9
|
import * as T from "react";
|
|
10
10
|
import { useLayoutEffect as E, useRef as D, useSyncExternalStore as O } from "react";
|
|
11
11
|
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ import { n as t } from "./dist-DVRQkaTK.js";
|
|
|
3
3
|
import { i as n, r, t as i } from "./dist-DWZXlCZR.js";
|
|
4
4
|
import { a, i as o, r as s } from "./dist-DHdUUM1w.js";
|
|
5
5
|
import { i as c, n as l, r as u, t as d } from "./dist-DOK3zo5C.js";
|
|
6
|
-
import { t as f } from "./use-material-translation-
|
|
6
|
+
import { t as f } from "./use-material-translation-DYrfV_JJ.js";
|
|
7
7
|
import * as p from "react";
|
|
8
8
|
import { createContext as m, useCallback as h, useContext as g, useEffect as ee, useLayoutEffect as _, useRef as v, useState as te } from "react";
|
|
9
9
|
import { Fragment as ne, jsx as y, jsxs as b } from "react/jsx-runtime";
|
package/dist/theme-picker.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./bubble-input-CQwVSoU3.js";
|
|
3
3
|
import { a as s, r as c } from "./icon-sprites-CaYXzOL4.js";
|
|
4
|
-
import { t as l } from "./use-material-translation-
|
|
4
|
+
import { t as l } from "./use-material-translation-DYrfV_JJ.js";
|
|
5
5
|
import { t as u } from "./use-theme-BCLireTd.js";
|
|
6
6
|
import { a as d, r as f } from "./theme-context-Cofk6vgs.js";
|
|
7
|
-
import { t as p } from "./theme-toggle-
|
|
7
|
+
import { t as p } from "./theme-toggle-C-Ih4uQU.js";
|
|
8
8
|
import { n as m, t as h } from "./nxgt-theme-DA1IQe0O.js";
|
|
9
9
|
import { useContext as g } from "react";
|
|
10
10
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-DYrfV_JJ.js";
|
|
2
2
|
import { i as t } from "./theme-store-BdPp43cV.js";
|
|
3
3
|
import { n, t as r } from "./use-theme-BCLireTd.js";
|
|
4
4
|
import { r as i } from "./theme-context-Cofk6vgs.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t, t as n } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { i as r, r as i } from "./dist-DWZXlCZR.js";
|
|
4
|
-
import { n as a } from "./spinner-
|
|
4
|
+
import { n as a } from "./spinner-DH1mm8hH.js";
|
|
5
5
|
import { a as o } from "./dist-DHdUUM1w.js";
|
|
6
6
|
import { i as s, n as c, r as l, t as u } from "./dist-DOK3zo5C.js";
|
|
7
7
|
import { t as d } from "./in-dialog-D61Yeaol.js";
|
|
8
|
-
import { A as f, M as p, N as m, b as h, d as g, f as _, i as v, j as y, l as b, n as x, o as S, r as C, t as w, u as T, y as ee } from "./dropdown-menu-
|
|
9
|
-
import { a as te, n as ne } from "./popover-
|
|
8
|
+
import { A as f, M as p, N as m, b as h, d as g, f as _, i as v, j as y, l as b, n as x, o as S, r as C, t as w, u as T, y as ee } from "./dropdown-menu-C6rcYGB9.js";
|
|
9
|
+
import { a as te, n as ne } from "./popover-YmbzbKQG.js";
|
|
10
10
|
import { i as re, n as ie, r as ae, t as oe } from "./dist-BZe2evxL.js";
|
|
11
11
|
import { t as se } from "./warn-once-C_e47JM8.js";
|
|
12
|
-
import { t as ce } from "./use-material-translation-
|
|
12
|
+
import { t as ce } from "./use-material-translation-DYrfV_JJ.js";
|
|
13
13
|
import * as E from "react";
|
|
14
14
|
import { createContext as D, useCallback as le, useContext as O, useEffect as k, useId as ue, useLayoutEffect as A, useMemo as j, useReducer as de, useRef as M, useState as N } from "react";
|
|
15
15
|
import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, l as t, r as n, s as r, t as i, u as a } from "./translator-
|
|
1
|
+
import { a as e, l as t, r as n, s as r, t as i, u as a } from "./translator-CcEgQ-H7.js";
|
|
2
2
|
import { createContext as o, useCallback as s, useContext as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
3
3
|
import { jsx as p } from "react/jsx-runtime";
|
|
4
4
|
//#region lib/i18n/material-resources-registry.ts
|
|
@@ -1761,6 +1761,8 @@ var r = {
|
|
|
1761
1761
|
sidebar: "Calendar navigation",
|
|
1762
1762
|
unassigned: "Unassigned",
|
|
1763
1763
|
resource: "Resource",
|
|
1764
|
+
lane: "Week",
|
|
1765
|
+
"lane-all": "All weeks",
|
|
1764
1766
|
"time-zone": "Time zone: {zone}"
|
|
1765
1767
|
},
|
|
1766
1768
|
dnd: { drag: "Drag" },
|
|
@@ -5203,6 +5205,8 @@ var r = {
|
|
|
5203
5205
|
sidebar: "Navigation du calendrier",
|
|
5204
5206
|
unassigned: "Non assigné",
|
|
5205
5207
|
resource: "Ressource",
|
|
5208
|
+
lane: "Semaine",
|
|
5209
|
+
"lane-all": "Toutes les semaines",
|
|
5206
5210
|
"time-zone": "Fuseau horaire : {zone}"
|
|
5207
5211
|
},
|
|
5208
5212
|
dnd: { drag: "Déplacer" },
|
|
@@ -4,28 +4,28 @@ import { t as n } from "./utils-BLfntITJ.js";
|
|
|
4
4
|
import { n as r } from "./use-shape-morph-BKA_R5P5.js";
|
|
5
5
|
import { n as i, o as a, t as o } from "./dist-DVRQkaTK.js";
|
|
6
6
|
import { i as s, n as c, r as l, t as u } from "./dist-DWZXlCZR.js";
|
|
7
|
-
import { _ as d, a as f, b as p, g as m, h, i as g, m as _, n as v, o as y, r as b, s as x, t as S, v as C, y as w } from "./spinner-
|
|
7
|
+
import { _ as d, a as f, b as p, g as m, h, i as g, m as _, n as v, o as y, r as b, s as x, t as S, v as C, y as w } from "./spinner-DH1mm8hH.js";
|
|
8
8
|
import { a as T, i as E, n as D, r as O, t as k } from "./dist-DHdUUM1w.js";
|
|
9
9
|
import { a as A, i as ee } from "./dist-DOK3zo5C.js";
|
|
10
10
|
import { i as j, n as M } from "./in-dialog-D61Yeaol.js";
|
|
11
|
-
import { c as N, l as P, n as te, r as F, t as ne } from "./alert-dialog-
|
|
11
|
+
import { c as N, l as P, n as te, r as F, t as ne } from "./alert-dialog-DOZ0SfQs.js";
|
|
12
12
|
import { A as re, C as ie, D as ae, E as oe, O as se, S as I, T as ce, _ as le, a as ue, b as de, d as fe, f as pe, g as me, h as he, i as ge, k as _e, l as ve, m as ye, n as be, o as xe, p as Se, r as Ce, s as we, t as Te, u as Ee, v as De, w as Oe, x as ke, y as Ae } from "./floating-ui.dom-KkZSW8_E.js";
|
|
13
|
-
import { D as je, E as Me, N as Ne, O as Pe, c as Fe, d as Ie, f as Le, i as Re, k as ze, m as Be, n as Ve, o as He, p as Ue, t as We, u as Ge } from "./dropdown-menu-
|
|
13
|
+
import { D as je, E as Me, N as Ne, O as Pe, c as Fe, d as Ie, f as Le, i as Re, k as ze, m as Be, n as Ve, o as He, p as Ue, t as We, u as Ge } from "./dropdown-menu-C6rcYGB9.js";
|
|
14
14
|
import { a as Ke, i as qe, n as Je } from "./field-blur-context-BLGgf_3z.js";
|
|
15
|
-
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./popover-
|
|
15
|
+
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./popover-YmbzbKQG.js";
|
|
16
16
|
import { a as $e, i as et, n as tt, o as nt, t as rt } from "./bubble-input-CQwVSoU3.js";
|
|
17
|
-
import { n as it, r as at, t as ot, u as st } from "./tabs-
|
|
18
|
-
import { a as ct, n as lt, o as ut, s as dt, v as ft, y as pt } from "./toolbar-items-
|
|
17
|
+
import { n as it, r as at, t as ot, u as st } from "./tabs-Um0SFyf1.js";
|
|
18
|
+
import { a as ct, n as lt, o as ut, s as dt, v as ft, y as pt } from "./toolbar-items-BoEY5bkt.js";
|
|
19
19
|
import { t as mt } from "./dist-DkQbkF9T.js";
|
|
20
|
-
import { o as ht, s as gt, t as _t } from "./use-click-lock-
|
|
20
|
+
import { o as ht, s as gt, t as _t } from "./use-click-lock-Bwg_caHO.js";
|
|
21
21
|
import { a as vt, r as yt } from "./icon-sprites-CaYXzOL4.js";
|
|
22
22
|
import { t as bt } from "./warn-once-C_e47JM8.js";
|
|
23
|
-
import { r as xt, t as St } from "./button-
|
|
24
|
-
import { a as Ct } from "./translator-
|
|
23
|
+
import { r as xt, t as St } from "./button-CSKUtMI3.js";
|
|
24
|
+
import { a as Ct } from "./translator-CcEgQ-H7.js";
|
|
25
25
|
import { h as wt } from "./get-CTzJAwfc.js";
|
|
26
26
|
import { t as Tt } from "./isEmpty-F_g3jLf8.js";
|
|
27
|
-
import { t as L } from "./use-material-translation-
|
|
28
|
-
import { t as R } from "./icon-button-
|
|
27
|
+
import { t as L } from "./use-material-translation-DYrfV_JJ.js";
|
|
28
|
+
import { t as R } from "./icon-button-4PKlaI1g.js";
|
|
29
29
|
import { t as Et } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
30
30
|
import { n as Dt, t as Ot } from "./typography-CYEquVeb.js";
|
|
31
31
|
import { n as kt, t as At } from "./util-4heV2LPI.js";
|
|
@@ -36,14 +36,14 @@ import { a as Bt } from "./toggle-group-CVMxEpWi.js";
|
|
|
36
36
|
import { n as Vt } from "./use-slice-reducer-BGkeGtML.js";
|
|
37
37
|
import { t as Ht } from "./browser-only-DQ94lWF8.js";
|
|
38
38
|
import { t as Ut } from "./compose-refs-G4J4kaUA.js";
|
|
39
|
-
import { n as Wt, r as Gt, t as Kt } from "./chip-
|
|
39
|
+
import { n as Wt, r as Gt, t as Kt } from "./chip-BGn0V6Pt.js";
|
|
40
40
|
import { a as qt, c as Jt, o as Yt, r as Xt, s as Zt, t as Qt } from "./input-CC2joTjB.js";
|
|
41
41
|
import { t as $t } from "./text-field-BAdY-kpO.js";
|
|
42
42
|
import { r as en } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
43
|
-
import { t as tn } from "./empty-state-
|
|
43
|
+
import { t as tn } from "./empty-state-CSkghnD9.js";
|
|
44
44
|
import { t as nn } from "./skeleton-DSdtr2qc.js";
|
|
45
|
-
import { l as rn, n as an, o as on, r as sn, s as cn, t as ln, u as un } from "./dialog-
|
|
46
|
-
import { t as dn } from "./icon-badge-
|
|
45
|
+
import { l as rn, n as an, o as on, r as sn, s as cn, t as ln, u as un } from "./dialog-B-3s-oXt.js";
|
|
46
|
+
import { t as dn } from "./icon-badge-3ThP6EOl.js";
|
|
47
47
|
import { H as fn, V as pn, X as mn, bt as hn, it as gn, lt as _n, n as vn, t as yn, xt as bn, yt as xn } from "./dist-moutbfbd.js";
|
|
48
48
|
import { t as Sn } from "./markdown-Dw_uH7j7.js";
|
|
49
49
|
import { r as Cn, t as wn } from "./create-store-Dqp-PLLn.js";
|
|
@@ -1474,7 +1474,7 @@ function Ul({ label: e, helperText: t, className: r, ...i }) {
|
|
|
1474
1474
|
let a = Hr(), o = Hr(), s = i["aria-invalid"] === !0 || i["aria-invalid"] === "true", c = [i["aria-describedby"], t ? o : void 0].filter(Boolean).join(" ") || void 0;
|
|
1475
1475
|
return e || t ? /* @__PURE__ */ K("div", {
|
|
1476
1476
|
"data-slot": "checkbox-field",
|
|
1477
|
-
className: n("flex gap-1.5 w-full min-w-[280px] pointer-coarse:py-3", r),
|
|
1477
|
+
className: n("flex gap-1.5 w-full min-w-[min(280px,100%)] pointer-coarse:py-3", r),
|
|
1478
1478
|
children: [/* @__PURE__ */ G(Wl, {
|
|
1479
1479
|
...i,
|
|
1480
1480
|
"aria-describedby": c,
|
|
@@ -7124,7 +7124,7 @@ function F_({ className: e, ...t }) {
|
|
|
7124
7124
|
return /* @__PURE__ */ G("textarea", {
|
|
7125
7125
|
"data-slot": "input-group-control",
|
|
7126
7126
|
"data-pw": t.name ?? "textarea",
|
|
7127
|
-
className: n("field-sizing-content min-h-16 w-full min-w-[280px] flex-1 resize-none bg-transparent px-3 py-3 text-base outline-none md:text-sm", "placeholder:text-muted-foreground disabled:pointer-events-none", e),
|
|
7127
|
+
className: n("field-sizing-content min-h-16 w-full min-w-[min(280px,100%)] flex-1 resize-none bg-transparent px-3 py-3 text-base outline-none md:text-sm", "placeholder:text-muted-foreground disabled:pointer-events-none", e),
|
|
7128
7128
|
...t,
|
|
7129
7129
|
placeholder: qt(t.placeholder, "text")
|
|
7130
7130
|
});
|
|
@@ -8781,7 +8781,7 @@ function eb({ className: e, ...t }) {
|
|
|
8781
8781
|
return /* @__PURE__ */ G("textarea", {
|
|
8782
8782
|
"data-slot": "textarea",
|
|
8783
8783
|
"data-pw": t.name ?? "textarea",
|
|
8784
|
-
className: n(Yt, "placeholder:text-muted-foreground flex resize-none outline-none", "field-sizing-content min-h-16 w-full min-w-[280px] px-3 py-2 text-base md:text-sm", e),
|
|
8784
|
+
className: n(Yt, "placeholder:text-muted-foreground flex resize-none outline-none", "field-sizing-content min-h-16 w-full min-w-[min(280px,100%)] px-3 py-2 text-base md:text-sm", e),
|
|
8785
8785
|
...t,
|
|
8786
8786
|
placeholder: t.placeholder || " "
|
|
8787
8787
|
});
|
|
@@ -11229,7 +11229,7 @@ var aS = (e = {}) => Cn({
|
|
|
11229
11229
|
let [{ default: t }, { lowlight: n }, { richCodeBlock: r }] = await Promise.all([
|
|
11230
11230
|
import("./dist-CRMFGjng.js"),
|
|
11231
11231
|
import("./lowlight-OtcjU2Sa.js"),
|
|
11232
|
-
import("./rich-code-block-
|
|
11232
|
+
import("./rich-code-block-BuJLDoBu.js")
|
|
11233
11233
|
]);
|
|
11234
11234
|
return [r(t, {
|
|
11235
11235
|
lowlight: n,
|
|
@@ -20376,36 +20376,40 @@ function iP(e) {
|
|
|
20376
20376
|
}
|
|
20377
20377
|
//#endregion
|
|
20378
20378
|
//#region lib/components/ui/media/galleries/gallery.tsx
|
|
20379
|
-
function aP(
|
|
20379
|
+
function aP(e) {
|
|
20380
|
+
let t = iP(e), { items: n, preset: r, layout: i, columns: a, aspect: o, loop: s, maxItems: c, lightbox: l, captions: u, shape: d, carousel: f, carouselAlign: p, carouselOrientation: m, defaultIndex: h, currentIndex: g, onIndexChange: _, open: v, defaultOpen: y, onOpenChange: b, onDelete: x, selectable: S, onSelectionChange: C, trigger: w, ...T } = e;
|
|
20380
20381
|
return /* @__PURE__ */ G(GC, {
|
|
20381
|
-
value:
|
|
20382
|
-
children: /* @__PURE__ */ G(oP, {
|
|
20382
|
+
value: t,
|
|
20383
|
+
children: /* @__PURE__ */ G(oP, { ...T })
|
|
20383
20384
|
});
|
|
20384
20385
|
}
|
|
20385
|
-
function oP({ className: e }) {
|
|
20386
|
-
let { items:
|
|
20386
|
+
function oP({ className: e, onKeyDown: t, ...r }) {
|
|
20387
|
+
let { items: i, resolved: a, trigger: o, openAt: s, onKeyDown: c } = KC(), { t: l } = L(), u = a.layout, d = i.length === 0 && u !== "none", f = r["aria-label"] ?? (r["aria-labelledby"] ? void 0 : l("material.gallery.label", "Gallery"));
|
|
20387
20388
|
return /* @__PURE__ */ K("div", {
|
|
20388
|
-
|
|
20389
|
-
|
|
20389
|
+
tabIndex: 0,
|
|
20390
|
+
...r,
|
|
20390
20391
|
role: "application",
|
|
20391
|
-
"
|
|
20392
|
+
"data-slot": "gallery",
|
|
20393
|
+
"data-layout": u,
|
|
20394
|
+
"aria-label": f,
|
|
20392
20395
|
className: n("@container outline-none", e),
|
|
20393
|
-
|
|
20394
|
-
|
|
20396
|
+
onKeyDown: (e) => {
|
|
20397
|
+
t?.(e), e.defaultPrevented || c(e);
|
|
20398
|
+
},
|
|
20395
20399
|
children: [
|
|
20396
20400
|
/* @__PURE__ */ G(IN, {}),
|
|
20397
|
-
|
|
20398
|
-
!
|
|
20399
|
-
!
|
|
20400
|
-
!
|
|
20401
|
-
!
|
|
20402
|
-
!
|
|
20403
|
-
!
|
|
20404
|
-
!
|
|
20405
|
-
!
|
|
20406
|
-
|
|
20407
|
-
trigger:
|
|
20408
|
-
onOpen: () =>
|
|
20401
|
+
d && /* @__PURE__ */ G(NM, {}),
|
|
20402
|
+
!d && u === "grid" && /* @__PURE__ */ G(IM, {}),
|
|
20403
|
+
!d && u === "masonry" && /* @__PURE__ */ G(PN, {}),
|
|
20404
|
+
!d && u === "justified" && /* @__PURE__ */ G(LM, {}),
|
|
20405
|
+
!d && u === "featured" && /* @__PURE__ */ G(FM, {}),
|
|
20406
|
+
!d && u === "carousel" && /* @__PURE__ */ G(jM, {}),
|
|
20407
|
+
!d && u === "strip" && /* @__PURE__ */ G(LN, {}),
|
|
20408
|
+
!d && u === "quilted" && /* @__PURE__ */ G(FN, {}),
|
|
20409
|
+
!d && u === "woven" && /* @__PURE__ */ G(zN, {}),
|
|
20410
|
+
u === "none" && o && /* @__PURE__ */ G(RN, {
|
|
20411
|
+
trigger: o,
|
|
20412
|
+
onOpen: () => s(0)
|
|
20409
20413
|
}),
|
|
20410
20414
|
/* @__PURE__ */ G(NN, {})
|
|
20411
20415
|
]
|
|
@@ -23881,4 +23885,4 @@ function IL({ value: e, onSend: t, placeholder: n, disabled: r, isLoading: i, se
|
|
|
23881
23885
|
};
|
|
23882
23886
|
}
|
|
23883
23887
|
//#endregion
|
|
23884
|
-
export { aP as $, xv as $n,
|
|
23888
|
+
export { aP as $, xv as $n, Hg as $r, zT as $t, VF as A, Ql as Ai, yb as An, O_ as Ar, hk as At, pF as B, bl as Bi, Ky as Bn, c_ as Br, TD as Bt, qI as C, zf as Ci, ix as Cn, I_ as Cr, tA as Ct, aI as D, Ju as Di, xb as Dn, P_ as Dr, Mk as Dt, cI as E, sd as Ei, Eb as En, M_ as Er, Ik as Et, SF as F, Vl as Fi, Yy as Fn, y_ as Fr, PD as Ft, NP as G, Ms as Gi, ry as Gn, t_ as Gr, FE as Gt, cF as H, vl as Hi, Fy as Hn, s_ as Hr, HE as Ht, yF as I, Bl as Ii, Qy as In, v_ as Ir, AD as It, OP as J, ms as Ji, Av as Jn, Qg as Jr, gE as Jt, MP as K, Ls as Ki, ey as Kn, e_ as Kr, vE as Kt, _F as L, Nl as Li, Xy as Ln, b_ as Lr, jD as Lt, wF as M, ql as Mi, nb as Mn, D_ as Mr, UO as Mt, TF as N, Ul as Ni, eb as Nn, x_ as Nr, ND as Nt, XF as O, J as Oi, vb as On, N_ as Or, kk as Ot, xF as P, Hl as Pi, $y as Pn, C_ as Pr, FD as Pt, fP as Q, Tv as Qn, Ug as Qr, BT as Qt, mF as R, Ml as Ri, Zy as Rn, g_ as Rr, MD as Rt, YI as S, Rf as Si, sx as Sn, L_ as Sr, nA as St, fI as T, Id as Ti, zb as Tn, j_ as Tr, Bk as Tt, uF as U, Bs as Ui, oy as Un, o_ as Ur, zE as Ut, dF as V, yl as Vi, Ly as Vn, l_ as Vr, CD as Vt, lF as W, Ps as Wi, dy as Wn, r_ as Wr, RE as Wt, CP as X, Pv as Xn, Xg as Xr, $ as Xt, wP as Y, hs as Yi, Ov as Yn, Zg as Yr, hE as Yt, bP as Z, Dv as Zn, Kg as Zr, VT as Zt, vL as _, Z as _i, Zx as _n, z_ as _r, mA as _t, ML as a, gg as ai, HC as an, _v as ar, Nj as at, lL as b, Xm as bi, vx as bn, R_ as br, cA as bt, kL as c, lg as ci, FC as cn, uv as cr, bj as ct, EL as d, eg as di, CC as dn, $_ as dr, dj as dt, zg as ei, RT as en, Cv as er, eP as et, wL as f, Qh as fi, xC as fn, X_ as fr, aj as ft, SL as g, Ah as gi, rS as gn, B_ as gr, yA as gt, CL as h, Nh as hi, aS as hn, H_ as hr, xA as ht, PL as i, _g as ii, JC as in, gv as ir, Pj as it, AF as j, Yl as ji, db as jn, w_ as jr, rk as jt, qF as k, q as ki, bb as kn, F_ as kr, vk as kt, OL as l, sg as li, MC as ln, ev as lr, yj as lt, xL as m, Rh as mi, gC as mn, G_ as mr, zA as mt, IL as n, Cg as ni, FT as nn, bv as nr, dM as nt, jL as o, fg as oi, LC as on, dv as or, Mj as ot, bL as p, qh as pi, _C as pn, Z_ as pr, tj as pt, kP as q, xs as qi, kv as qn, $g as qr, _E as qt, NL as r, bg as ri, PT as rn, hv as rr, Wj as rt, AL as s, ug as si, IC as sn, fv as sr, jj as st, FL as t, Lg as ti, IT as tn, yv as tr, fM as tt, DL as u, rg as ui, kC as un, Q_ as ur, gj as ut, yL as v, dh as vi, Dx as vn, V_ as vr, pA as vt, KI as w, Kd as wi, Yb as wn, k_ as wr, Kk as wt, eL as x, X as xi, hx as xn, W_ as xr, aA as xt, _L as y, lh as yi, Ex as yn, U_ as yr, fA as yt, fF as z, jl as zi, qy as zn, m_ as zr, kD as zt };
|
|
@@ -16,35 +16,35 @@ function o(e, t, n) {
|
|
|
16
16
|
//#region lib/components/ui/actions/button/button-tones.ts
|
|
17
17
|
var s = {
|
|
18
18
|
primary: "text-primary-text",
|
|
19
|
-
secondary: "text-secondary",
|
|
20
|
-
success: "text-success dark:text-[color-mix(in_oklab,var(--color-success)
|
|
21
|
-
info: "text-info",
|
|
19
|
+
secondary: "text-[color-mix(in_oklab,var(--color-secondary)_90%,black)] dark:text-[color-mix(in_oklab,var(--color-secondary)_80%,white)]",
|
|
20
|
+
success: "text-[color-mix(in_oklab,var(--color-success)_90%,black)] dark:text-[color-mix(in_oklab,var(--color-success)_70%,white)]",
|
|
21
|
+
info: "text-[color-mix(in_oklab,var(--color-info)_90%,black)] dark:text-[color-mix(in_oklab,var(--color-info)_85%,white)]",
|
|
22
22
|
warning: "text-[color-mix(in_oklab,var(--color-warning)_85%,black)] dark:text-[color-mix(in_oklab,var(--color-warning)_85%,white)]",
|
|
23
|
-
error: "text-[color-mix(in_oklab,var(--color-error)
|
|
23
|
+
error: "text-[color-mix(in_oklab,var(--color-error)_80%,black)] dark:text-[color-mix(in_oklab,var(--color-error)_70%,white)]",
|
|
24
24
|
default: "text-foreground"
|
|
25
25
|
}, c = {
|
|
26
26
|
primary: "[&_svg]:data-[slot=icon]:text-primary-text",
|
|
27
|
-
secondary: "[&_svg]:data-[slot=icon]:text-secondary",
|
|
28
|
-
success: "[&_svg]:data-[slot=icon]:text-success dark:[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-success)
|
|
29
|
-
info: "[&_svg]:data-[slot=icon]:text-info",
|
|
27
|
+
secondary: "[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-secondary)_90%,black)] dark:[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-secondary)_80%,white)]",
|
|
28
|
+
success: "[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-success)_90%,black)] dark:[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-success)_70%,white)]",
|
|
29
|
+
info: "[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-info)_90%,black)] dark:[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-info)_85%,white)]",
|
|
30
30
|
warning: "[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-warning)_85%,black)] dark:[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-warning)_85%,white)]",
|
|
31
|
-
error: "[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-error)
|
|
31
|
+
error: "[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-error)_80%,black)] dark:[&_svg]:data-[slot=icon]:text-[color-mix(in_oklab,var(--color-error)_70%,white)]",
|
|
32
32
|
default: "[&_svg]:data-[slot=icon]:text-foreground"
|
|
33
33
|
}, l = {
|
|
34
34
|
primary: "[&_svg]:stroke-primary-text",
|
|
35
|
-
secondary: "[&_svg]:stroke-secondary",
|
|
36
|
-
success: "[&_svg]:stroke-success dark:[&_svg]:stroke-[color-mix(in_oklab,var(--color-success)
|
|
37
|
-
info: "[&_svg]:stroke-info",
|
|
35
|
+
secondary: "[&_svg]:stroke-[color-mix(in_oklab,var(--color-secondary)_90%,black)] dark:[&_svg]:stroke-[color-mix(in_oklab,var(--color-secondary)_80%,white)]",
|
|
36
|
+
success: "[&_svg]:stroke-[color-mix(in_oklab,var(--color-success)_90%,black)] dark:[&_svg]:stroke-[color-mix(in_oklab,var(--color-success)_70%,white)]",
|
|
37
|
+
info: "[&_svg]:stroke-[color-mix(in_oklab,var(--color-info)_90%,black)] dark:[&_svg]:stroke-[color-mix(in_oklab,var(--color-info)_85%,white)]",
|
|
38
38
|
warning: "[&_svg]:stroke-[color-mix(in_oklab,var(--color-warning)_85%,black)] dark:[&_svg]:stroke-[color-mix(in_oklab,var(--color-warning)_85%,white)]",
|
|
39
|
-
error: "[&_svg]:stroke-[color-mix(in_oklab,var(--color-error)
|
|
39
|
+
error: "[&_svg]:stroke-[color-mix(in_oklab,var(--color-error)_80%,black)] dark:[&_svg]:stroke-[color-mix(in_oklab,var(--color-error)_70%,white)]",
|
|
40
40
|
default: "[&_svg]:stroke-foreground"
|
|
41
41
|
}, u = {
|
|
42
42
|
primary: "[--morph-on:var(--color-primary)] [--morph-on-fg:var(--color-primary-foreground)] [--btn-focus:var(--color-primary-text)] [--btn-line:var(--color-primary)]",
|
|
43
43
|
secondary: "[--morph-on:var(--color-secondary)] dark:[--morph-on:color-mix(in_oklab,var(--color-secondary)_70%,var(--color-background))] [--morph-on-fg:var(--color-secondary-foreground)] [--btn-focus:var(--color-secondary)] [--btn-line:var(--color-secondary)]",
|
|
44
|
-
success: "[--morph-on:var(--color-success)] dark:[--morph-on:color-mix(in_oklab,var(--color-success)_60%,var(--color-background))] [--morph-on-fg:var(--color-success-foreground)] [--btn-focus:var(--color-success)] dark:[--btn-focus:color-mix(in_oklab,var(--color-success)
|
|
44
|
+
success: "[--morph-on:var(--color-success)] dark:[--morph-on:color-mix(in_oklab,var(--color-success)_60%,var(--color-background))] [--morph-on-fg:var(--color-success-foreground)] [--btn-focus:var(--color-success)] dark:[--btn-focus:color-mix(in_oklab,var(--color-success)_70%,white)] [--btn-line:var(--color-success)]",
|
|
45
45
|
info: "[--morph-on:var(--color-info)] dark:[--morph-on:color-mix(in_oklab,var(--color-info)_60%,var(--color-background))] [--morph-on-fg:var(--color-info-foreground)] [--btn-focus:var(--color-info)] [--btn-line:var(--color-info)]",
|
|
46
46
|
warning: "[--morph-on:var(--color-warning)] dark:[--morph-on:color-mix(in_oklab,var(--color-warning)_60%,var(--color-background))] [--morph-on-fg:var(--color-warning-foreground)] [--btn-focus:color-mix(in_oklab,var(--color-warning)_85%,black)] dark:[--btn-focus:color-mix(in_oklab,var(--color-warning)_85%,white)] [--btn-line:var(--color-warning)]",
|
|
47
|
-
error: "[--morph-on:var(--color-error)] [--morph-on-fg:var(--color-error-foreground)] [--btn-focus:color-mix(in_oklab,var(--color-error)
|
|
47
|
+
error: "[--morph-on:var(--color-error)] [--morph-on-fg:var(--color-error-foreground)] [--btn-focus:color-mix(in_oklab,var(--color-error)_80%,black)] dark:[--btn-focus:color-mix(in_oklab,var(--color-error)_70%,white)] [--btn-line:var(--color-error)]",
|
|
48
48
|
default: "[--morph-on:var(--color-foreground)] [--morph-on-fg:var(--color-background)] [--btn-focus:var(--color-foreground)] [--btn-line:var(--color-foreground)]"
|
|
49
49
|
}, d = 1e3;
|
|
50
50
|
function f(e, a) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { a as t, c as n, d as r, i, n as a, r as o, t as s, u as c } from "./alert-dialog-
|
|
3
|
-
import { a as l } from "./button-
|
|
4
|
-
import { i as u } from "./translate-material-
|
|
5
|
-
import { t as d } from "./use-material-translation-
|
|
6
|
-
import { _ as f, g as p, h as m,
|
|
2
|
+
import { a as t, c as n, d as r, i, n as a, r as o, t as s, u as c } from "./alert-dialog-DOZ0SfQs.js";
|
|
3
|
+
import { a as l } from "./button-CSKUtMI3.js";
|
|
4
|
+
import { i as u } from "./translate-material-D4rn5UaQ.js";
|
|
5
|
+
import { t as d } from "./use-material-translation-DYrfV_JJ.js";
|
|
6
|
+
import { _ as f, g as p, h as m, t as h, v as g, y as _ } from "./date.utils-JTEIo3mM.js";
|
|
7
7
|
import { useCallback as v, useEffect as y, useMemo as b, useRef as x, useState as S } from "react";
|
|
8
8
|
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
9
9
|
import { busySettler as E, busySettler as D, createSubmitGuard as O, createSubmitGuard as k } from "@nxgt/material-core/submit-guard";
|
|
@@ -254,7 +254,7 @@ var A = {
|
|
|
254
254
|
], a;
|
|
255
255
|
return a = n === 1 ? r && i.includes(r) ? "ère" : "er" : "ème", n + a;
|
|
256
256
|
}, z = ["MMM", "MMMM"], B = {
|
|
257
|
-
en:
|
|
257
|
+
en: m,
|
|
258
258
|
fr: {
|
|
259
259
|
code: "fr",
|
|
260
260
|
formatDistance: j,
|
|
@@ -266,35 +266,35 @@ var A = {
|
|
|
266
266
|
value: "d"
|
|
267
267
|
} : e),
|
|
268
268
|
ordinalNumber: R,
|
|
269
|
-
era:
|
|
269
|
+
era: g({
|
|
270
270
|
values: ee,
|
|
271
271
|
defaultWidth: "wide"
|
|
272
272
|
}),
|
|
273
|
-
quarter:
|
|
273
|
+
quarter: g({
|
|
274
274
|
values: te,
|
|
275
275
|
defaultWidth: "wide",
|
|
276
276
|
argumentCallback: (e) => e - 1
|
|
277
277
|
}),
|
|
278
|
-
month:
|
|
278
|
+
month: g({
|
|
279
279
|
values: F,
|
|
280
280
|
defaultWidth: "wide"
|
|
281
281
|
}),
|
|
282
|
-
day:
|
|
282
|
+
day: g({
|
|
283
283
|
values: I,
|
|
284
284
|
defaultWidth: "wide"
|
|
285
285
|
}),
|
|
286
|
-
dayPeriod:
|
|
286
|
+
dayPeriod: g({
|
|
287
287
|
values: L,
|
|
288
288
|
defaultWidth: "wide"
|
|
289
289
|
})
|
|
290
290
|
},
|
|
291
291
|
match: {
|
|
292
|
-
ordinalNumber:
|
|
292
|
+
ordinalNumber: p({
|
|
293
293
|
matchPattern: /^(\d+)(ième|ère|ème|er|e)?/i,
|
|
294
294
|
parsePattern: /\d+/i,
|
|
295
295
|
valueCallback: (e) => parseInt(e)
|
|
296
296
|
}),
|
|
297
|
-
era:
|
|
297
|
+
era: f({
|
|
298
298
|
matchPatterns: {
|
|
299
299
|
narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,
|
|
300
300
|
abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,
|
|
@@ -304,7 +304,7 @@ var A = {
|
|
|
304
304
|
parsePatterns: { any: [/^av/i, /^ap/i] },
|
|
305
305
|
defaultParseWidth: "any"
|
|
306
306
|
}),
|
|
307
|
-
quarter:
|
|
307
|
+
quarter: f({
|
|
308
308
|
matchPatterns: {
|
|
309
309
|
narrow: /^T?[1234]/i,
|
|
310
310
|
abbreviated: /^[1234](er|ème|e)? trim\.?/i,
|
|
@@ -320,7 +320,7 @@ var A = {
|
|
|
320
320
|
defaultParseWidth: "any",
|
|
321
321
|
valueCallback: (e) => e + 1
|
|
322
322
|
}),
|
|
323
|
-
month:
|
|
323
|
+
month: f({
|
|
324
324
|
matchPatterns: {
|
|
325
325
|
narrow: /^[jfmasond]/i,
|
|
326
326
|
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
@@ -359,7 +359,7 @@ var A = {
|
|
|
359
359
|
},
|
|
360
360
|
defaultParseWidth: "any"
|
|
361
361
|
}),
|
|
362
|
-
day:
|
|
362
|
+
day: f({
|
|
363
363
|
matchPatterns: {
|
|
364
364
|
narrow: /^[lmjvsd]/i,
|
|
365
365
|
short: /^(di|lu|ma|me|je|ve|sa)/i,
|
|
@@ -389,7 +389,7 @@ var A = {
|
|
|
389
389
|
},
|
|
390
390
|
defaultParseWidth: "any"
|
|
391
391
|
}),
|
|
392
|
-
dayPeriod:
|
|
392
|
+
dayPeriod: f({
|
|
393
393
|
matchPatterns: {
|
|
394
394
|
narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,
|
|
395
395
|
any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i
|
|
@@ -415,11 +415,11 @@ var A = {
|
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
417
|
function V() {
|
|
418
|
-
let e = u()?.language ?? "en", t = b(() => B[e] ??
|
|
418
|
+
let e = u()?.language ?? "en", t = b(() => B[e] ?? m, [e]);
|
|
419
419
|
return {
|
|
420
420
|
language: e,
|
|
421
421
|
locale: t,
|
|
422
|
-
format: v((e, n) =>
|
|
422
|
+
format: v((e, n) => h.format(e, n, t), [t])
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
425
|
//#endregion
|