@nxgt/material 3.59.0 → 3.60.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 +16 -0
- package/README.md +1 -1
- package/dist/{async-slice-Cmvxrvn9.js → async-slice-HJY_VJjD.js} +2 -2
- package/dist/{button-Deo7l4wM.js → button-7BuUCGRm.js} +47 -46
- package/dist/charts.js +92 -92
- package/dist/{chip-BlmIjpiD.js → chip-kQOrHlDX.js} +2 -2
- package/dist/{code-editor-BYEpBp_U.js → code-editor-Ckc9TTCM.js} +6 -6
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-Cqk4Fq61.js → code-language-items-rCPB0Xee.js} +2 -2
- package/dist/components/ui/actions/split-button/split-button-states.css +6 -0
- package/dist/{components-BsKpeqVX.js → components-BSM-h5IQ.js} +11115 -11085
- package/dist/components.js +20 -20
- package/dist/{dialog-1BstKBvt.js → dialog-yfPkLqUQ.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-hoaocAS7.js → dropdown-menu-CiobN1wi.js} +1 -1
- package/dist/editor.js +9 -9
- package/dist/{empty-state-DEG9h7xk.js → empty-state-DA517HAb.js} +2 -2
- package/dist/{escape-owner-BvLBo_Al.js → escape-owner-r57kuPjn.js} +1 -1
- package/dist/{field-blur-BkeYPaWi.js → field-blur-DdvY0NQQ.js} +1 -1
- package/dist/{field-blur-context-Ba7iZVm_.js → field-blur-context-DbJQZkEB.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-C5DTU9P_.js → hover-card-DPs9huSs.js} +2 -2
- package/dist/{i18n-provider-BJDI-A5w.js → i18n-provider-BehR6cU7.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-9ZE6k7cn.js → icon-badge-C646JTOI.js} +3 -3
- package/dist/{icon-button-AwJtCkV5.js → icon-button-DvP0Gy3j.js} +1 -1
- package/dist/lib/components/ui/actions/button/button-busy.d.ts +5 -0
- package/dist/lib/components/ui/actions/load-more-footer/load-more-footer.d.ts +4 -2
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +0 -2
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/editors/custom-types.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +2 -1
- package/dist/lib/components/ui/collections/filter/query/filter-query-model.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +0 -1
- package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +0 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-error.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/partials/server-table-hosted.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/server-table.d.ts +3 -1
- package/dist/lib/components/ui/collections/server-table/types.d.ts +0 -2
- package/dist/lib/components/ui/collections/server-table/use-filter-params.d.ts +2 -1
- package/dist/lib/components/ui/collections/server-table/use-table-answer.d.ts +2 -1
- package/dist/lib/components/ui/dates/date-field/{date-field-parts.d.ts → date-field-props.d.ts} +2 -40
- package/dist/lib/components/ui/dates/date-field/use-date-field-model.d.ts +28 -0
- package/dist/lib/components/ui/dates/date-field/use-date-field-open.d.ts +11 -0
- package/dist/lib/components/ui/display/cards/index.d.ts +3 -1
- package/dist/lib/components/ui/display/cards/partials/album-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/checklist-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/crew-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/event-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/feature-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/file-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/link-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/media-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/message-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/notice-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/offer-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/overlay-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/place-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/pricing-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/profile-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/quote-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/receipt-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/review-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/score-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/shortcut-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/split-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/spotlight-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/status-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/tag-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/ticket-card.d.ts +1 -1
- package/dist/lib/components/ui/display/cards/partials/timeline-card.d.ts +1 -1
- package/dist/lib/components/ui/feedback/notifications/notifications-provider.d.ts +1 -1
- package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +0 -1
- package/dist/lib/components/ui/feedback/step-dots/index.d.ts +2 -1
- package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +0 -1
- package/dist/lib/components/ui/fields/country-field/iso-codes.d.ts +2 -0
- package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +0 -2
- package/dist/lib/components/ui/fields/field/types.d.ts +2 -2
- package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
- package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +0 -2
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +0 -3
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +0 -2
- package/dist/lib/components/ui/layout/doc/index.d.ts +2 -1
- package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +0 -1
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -1
- package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +0 -2
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -1
- package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +0 -1
- package/dist/lib/components/ui/selection/color-swatches/index.d.ts +2 -1
- package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +0 -1
- package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/combobox-field/index.d.ts +1 -1
- package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +1 -1
- package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +4 -3
- package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +0 -1
- package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/{use-node-list.d.ts → node-list.d.ts} +1 -1
- package/dist/lib/components/ui/widgets/education/quizzes/quiz.utils.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +0 -1
- package/dist/lib/components/ui/widgets/native-charts/core/heat-model.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +2 -2
- package/dist/lib/components/ui/widgets/native-charts/core/scatter-text.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/core/slice-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +0 -2
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/funnel-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/partials/funnel-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/funnel-chart/use-funnel-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/gauge/gauge-types.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/heatmap-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/partials/heat-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heat-nav.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heatmap-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-slice-model.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/index.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +3 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-frame.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-shell.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/partials/point-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/pie-chart/partials/slice-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/pie-chart/slice-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/radial-bar-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/use-radial-model.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/partials/scatter-tip.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/scatter-chart-types.d.ts +2 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-active.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-model.d.ts +1 -1
- package/dist/lib/i18n/resources/en/material.json.d.ts +1 -1
- package/dist/lib/i18n/resources/fr/material.json.d.ts +1 -1
- package/dist/lib/print/components/print-document/print-document.d.ts +2 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +26 -26
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +2 -2
- package/dist/{public-CLkf8uky.js → public-BYsrhyPW.js} +9 -9
- package/dist/{rich-code-block-hJexXOdk.js → rich-code-block-WJxDWPPY.js} +5 -5
- package/dist/{sortable-provider-DE-MSfeJ.js → sortable-provider-oPjlhlZo.js} +2 -2
- package/dist/{spinner-CquTUxzt.js → spinner-C5lObWXT.js} +1 -1
- package/dist/{stored-language-BDzGeEAm.js → stored-language-B-tiWZU2.js} +2 -2
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-DBgsBw8S.js → theme-toggle-CPEq5JG-.js} +1 -1
- package/dist/{toolbar-items-Bm1baIp6.js → toolbar-items-ByvXcMHm.js} +4 -4
- package/dist/{translate-material-Q67GD4co.js → translate-material-tUaLZUmT.js} +2 -2
- package/dist/{translator-CBhGdYun.js → translator-B9XjUDRu.js} +1 -1
- package/dist/{use-chat-composer-Cx7Q_KOV.js → use-chat-composer-CzOVaIed.js} +54 -54
- package/dist/{use-heading-spy-COxCWqWF.js → use-heading-spy-BOtygPFu.js} +1 -1
- package/dist/{use-material-translation-BZAy_ffS.js → use-material-translation-B5j3jZs7.js} +2 -2
- package/docs/components/buttons-and-actions.md +1 -0
- package/docs/components/rich-widgets.md +5 -1
- package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
- package/docs/previews/buttons-actions-loadmorefooter.webp +0 -0
- package/docs/previews/rich-widgets-barcode.webp +0 -0
- package/docs/previews/rich-widgets-labelsheet.webp +0 -0
- package/lib/components/ui/actions/split-button/split-button-states.css +6 -0
- package/package.json +1 -1
- package/dist/lib/components/ui/display/cards/types.d.ts +0 -3
- package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +0 -2
- package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +0 -2
- package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +0 -2
package/dist/pdf-reader.js
CHANGED
package/dist/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./translate-material-
|
|
1
|
+
import { r as e } from "./i18n-provider-BehR6cU7.js";
|
|
2
|
+
import { t } from "./translate-material-tUaLZUmT.js";
|
|
3
3
|
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";
|
|
4
4
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
|
|
@@ -3,21 +3,21 @@ 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 { c as i, i as a, l as o, n as s, o as c, s as l } from "./dist-lmHmz_bu.js";
|
|
6
|
-
import { n as u, s as d } from "./spinner-
|
|
6
|
+
import { n as u, s as d } from "./spinner-C5lObWXT.js";
|
|
7
7
|
import { i as f } from "./dist-C4wtXCjf.js";
|
|
8
8
|
import { r as p, t as m } from "./in-dialog-Vwkyp-M5.js";
|
|
9
|
-
import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-
|
|
10
|
-
import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-
|
|
11
|
-
import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-
|
|
12
|
-
import { t as _e } from "./button-
|
|
13
|
-
import { t as N } from "./use-material-translation-
|
|
14
|
-
import { n as ve, t as ye } from "./icon-button-
|
|
15
|
-
import { i as be } from "./escape-owner-
|
|
9
|
+
import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-yfPkLqUQ.js";
|
|
10
|
+
import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-CiobN1wi.js";
|
|
11
|
+
import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-ByvXcMHm.js";
|
|
12
|
+
import { t as _e } from "./button-7BuUCGRm.js";
|
|
13
|
+
import { t as N } from "./use-material-translation-B5j3jZs7.js";
|
|
14
|
+
import { n as ve, t as ye } from "./icon-button-DvP0Gy3j.js";
|
|
15
|
+
import { i as be } from "./escape-owner-r57kuPjn.js";
|
|
16
16
|
import { t as xe } from "./useEvent-2fKq-6w8.js";
|
|
17
17
|
import { n as Se, t as Ce } from "./toggle-group-BkH23Jk4.js";
|
|
18
18
|
import { n as we } from "./use-slice-reducer-BGkeGtML.js";
|
|
19
19
|
import { r as Te } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
20
|
-
import { n as Ee, t as De } from "./empty-state-
|
|
20
|
+
import { n as Ee, t as De } from "./empty-state-DA517HAb.js";
|
|
21
21
|
import { t as Oe } from "./client-only.utils-3nHNzCki.js";
|
|
22
22
|
import { t as ke } from "./use-scroll-away-PQRFZkT2.js";
|
|
23
23
|
import * as P from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r 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 { r as e } from "./spinner-C5lObWXT.js";
|
|
2
|
+
import { c as t, n, t as r } from "./dropdown-menu-CiobN1wi.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-B5j3jZs7.js";
|
|
4
|
+
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-rCPB0Xee.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-Ckc9TTCM.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,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-B5j3jZs7.js";
|
|
4
|
+
import { t as r } from "./icon-button-DvP0Gy3j.js";
|
|
5
5
|
import { t as i } from "./compose-refs-DZ0iIVF-.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";
|
|
@@ -3,7 +3,7 @@ import { n as t, t as n } from "./utils-BLfntITJ.js";
|
|
|
3
3
|
import { i as r, o as i } from "./dist-DVRQkaTK.js";
|
|
4
4
|
import { a, c as o, i as s, l as c, n as l, o as u, r as d, s as f, t as p, u as m } from "./dist-lmHmz_bu.js";
|
|
5
5
|
import { a as h, c as g, d as _, i as v, l as y, o as b, r as x, t as S, u as C } from "./floating-ui.dom-KkZSW8_E.js";
|
|
6
|
-
import { t as w } from "./use-material-translation-
|
|
6
|
+
import { t as w } from "./use-material-translation-B5j3jZs7.js";
|
|
7
7
|
import * as T from "react";
|
|
8
8
|
import { useLayoutEffect as E, useRef as D, useSyncExternalStore as O } from "react";
|
|
9
9
|
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
@@ -1298,7 +1298,7 @@ var t = {
|
|
|
1298
1298
|
"load-more": {
|
|
1299
1299
|
shown: "Showing {shown} of {total}",
|
|
1300
1300
|
"shown-count": "{shown, plural, one {# shown} other {# shown}}",
|
|
1301
|
-
failed: "The next
|
|
1301
|
+
failed: "The next page could not be loaded",
|
|
1302
1302
|
retry: "Try again",
|
|
1303
1303
|
"page-failed-title": "This page could not be loaded",
|
|
1304
1304
|
"back-to-start": "Back to the start"
|
|
@@ -4181,7 +4181,7 @@ var t = {
|
|
|
4181
4181
|
"load-more": {
|
|
4182
4182
|
shown: "Affichage de {shown} sur {total}",
|
|
4183
4183
|
"shown-count": "{shown, plural, one {# affiché} other {# affichés}}",
|
|
4184
|
-
failed: "La
|
|
4184
|
+
failed: "La page suivante n’a pas pu être chargée",
|
|
4185
4185
|
retry: "Réessayer",
|
|
4186
4186
|
"page-failed-title": "Cette page n’a pas pu être chargée",
|
|
4187
4187
|
"back-to-start": "Retour au début"
|
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-B7BVd9fX.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-B5j3jZs7.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-CPEq5JG-.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-B5j3jZs7.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,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t, r as n, t as r } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { a as i, c as a, i as o, l as s, r as c, s as l } from "./dist-lmHmz_bu.js";
|
|
4
|
-
import { C as u, S as d, d as f, f as p, m, p as h, r as g, u as _ } from "./spinner-
|
|
4
|
+
import { C as u, S as d, d as f, f as p, m, p as h, r as g, u as _ } from "./spinner-C5lObWXT.js";
|
|
5
5
|
import { i as v, n as y, r as b, t as x } from "./dist-C4wtXCjf.js";
|
|
6
6
|
import { a as S, c as C, l as w, o as T, r as ee, s as te, t as ne } from "./in-dialog-Vwkyp-M5.js";
|
|
7
|
-
import { A as re, M as ie, N as ae, b as oe, d as se, f as ce, i as le, j as ue, l as de, n as fe, o as pe, r as me, t as he, u as ge, y as _e } from "./dropdown-menu-
|
|
7
|
+
import { A as re, M as ie, N as ae, b as oe, d as se, f as ce, i as le, j as ue, l as de, n as fe, o as pe, r as me, t as he, u as ge, y as _e } from "./dropdown-menu-CiobN1wi.js";
|
|
8
8
|
import { a as ve, n as ye, r as be, t as xe } from "./dist-B7RjY7SL.js";
|
|
9
9
|
import { t as Se } from "./warn-once-C_e47JM8.js";
|
|
10
|
-
import { t as Ce } from "./use-material-translation-
|
|
11
|
-
import { i as we } from "./escape-owner-
|
|
10
|
+
import { t as Ce } from "./use-material-translation-B5j3jZs7.js";
|
|
11
|
+
import { i as we } from "./escape-owner-r57kuPjn.js";
|
|
12
12
|
import * as E from "react";
|
|
13
13
|
import { createContext as D, useCallback as Te, useContext as O, useEffect as k, useId as Ee, useLayoutEffect as A, useMemo as j, useReducer as De, useRef as M, useState as N } from "react";
|
|
14
14
|
import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./stored-language-
|
|
2
|
-
import { a as e, r as t, t as n } from "./translator-
|
|
1
|
+
import "./stored-language-B-tiWZU2.js";
|
|
2
|
+
import { a as e, r as t, t as n } from "./translator-B9XjUDRu.js";
|
|
3
3
|
//#region lib/i18n/translate-material.ts
|
|
4
4
|
var r = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function i(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./is-production-GLw59WU8.js";
|
|
2
|
-
import { a as t, i as n, r, t as i } from "./stored-language-
|
|
2
|
+
import { a as t, i as n, r, t as i } from "./stored-language-B-tiWZU2.js";
|
|
3
3
|
import { t as a } from "./get-CTzJAwfc.js";
|
|
4
4
|
//#region ../../node_modules/@formatjs/fast-memoize/index.js
|
|
5
5
|
function o(e, t) {
|
|
@@ -4,40 +4,40 @@ 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 { a as s, c, i as l, l as u, n as d, o as f, r as p, s as m, t as h } from "./dist-lmHmz_bu.js";
|
|
7
|
-
import { _ as g, a as _, b as v, c as y, g as b, h as x, i as S, n as C, o as w, r as T, s as E, t as D, v as O, x as k, y as A } from "./spinner-
|
|
7
|
+
import { _ as g, a as _, b as v, c as y, g as b, h as x, i as S, n as C, o as w, r as T, s as E, t as D, v as O, x as k, y as A } from "./spinner-C5lObWXT.js";
|
|
8
8
|
import { a as ee, i as j, n as te, r as M, t as ne } from "./dist-C4wtXCjf.js";
|
|
9
9
|
import { i as re, n as N, t as ie } from "./in-dialog-Vwkyp-M5.js";
|
|
10
|
-
import { A as ae, C as P, D as oe, E as se, O as ce, S as F, T as le, _ as ue, b as de, f as fe, g as pe, k as me, l as he, m as ge, n as _e, o as ve, r as ye, s as be, t as xe, u as Se, v as Ce, w as we, x as Te, y as Ee } from "./dialog-
|
|
10
|
+
import { A as ae, C as P, D as oe, E as se, O as ce, S as F, T as le, _ as ue, b as de, f as fe, g as pe, k as me, l as he, m as ge, n as _e, o as ve, r as ye, s as be, t as xe, u as Se, v as Ce, w as we, x as Te, y as Ee } from "./dialog-yfPkLqUQ.js";
|
|
11
11
|
import { A as De, C as Oe, D as ke, E as Ae, O as je, S as Me, T as Ne, _ as Pe, a as Fe, b as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, k as He, l as Ue, m as We, n as Ge, o as Ke, p as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, w as $e, x as et, y as tt } from "./floating-ui.dom-KkZSW8_E.js";
|
|
12
|
-
import { D as nt, E as rt, N as it, O as at, c as ot, d as I, f as st, i as ct, k as lt, m as ut, n as dt, o as ft, p as pt, t as mt, u as ht } from "./dropdown-menu-
|
|
13
|
-
import { a as gt, i as _t, n as vt } from "./field-blur-context-
|
|
14
|
-
import { C as yt, S as bt, a as xt, c as St, d as Ct, l as wt, n as Tt, o as Et, s as Dt, u as Ot } from "./toolbar-items-
|
|
12
|
+
import { D as nt, E as rt, N as it, O as at, c as ot, d as I, f as st, i as ct, k as lt, m as ut, n as dt, o as ft, p as pt, t as mt, u as ht } from "./dropdown-menu-CiobN1wi.js";
|
|
13
|
+
import { a as gt, i as _t, n as vt } from "./field-blur-context-DbJQZkEB.js";
|
|
14
|
+
import { C as yt, S as bt, a as xt, c as St, d as Ct, l as wt, n as Tt, o as Et, s as Dt, u as Ot } from "./toolbar-items-ByvXcMHm.js";
|
|
15
15
|
import { a as kt, i as At, n as jt, o as Mt, t as Nt } from "./bubble-input-B7BVd9fX.js";
|
|
16
16
|
import { i as Pt } from "./dist-B7RjY7SL.js";
|
|
17
17
|
import { o as Ft, s as It, t as Lt } from "./use-click-lock-BZYtTmVt.js";
|
|
18
18
|
import { a as Rt, r as zt } from "./icon-sprites-CaYXzOL4.js";
|
|
19
19
|
import { t as Bt } from "./warn-once-C_e47JM8.js";
|
|
20
|
-
import { r as Vt, t as Ht } from "./button-
|
|
21
|
-
import "./stored-language-
|
|
22
|
-
import { a as Ut } from "./translator-
|
|
20
|
+
import { r as Vt, t as Ht } from "./button-7BuUCGRm.js";
|
|
21
|
+
import "./stored-language-B-tiWZU2.js";
|
|
22
|
+
import { a as Ut } from "./translator-B9XjUDRu.js";
|
|
23
23
|
import { h as Wt } from "./get-CTzJAwfc.js";
|
|
24
24
|
import { t as Gt } from "./isEmpty-F_g3jLf8.js";
|
|
25
|
-
import { t as L } from "./use-material-translation-
|
|
26
|
-
import { t as R } from "./icon-button-
|
|
25
|
+
import { t as L } from "./use-material-translation-B5j3jZs7.js";
|
|
26
|
+
import { t as R } from "./icon-button-DvP0Gy3j.js";
|
|
27
27
|
import { t as Kt } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
28
|
-
import { a as qt, i as Jt, o as Yt } from "./escape-owner-
|
|
28
|
+
import { a as qt, i as Jt, o as Yt } from "./escape-owner-r57kuPjn.js";
|
|
29
29
|
import { n as Xt, t as Zt } from "./util-4heV2LPI.js";
|
|
30
30
|
import { t as Qt } from "./useEvent-2fKq-6w8.js";
|
|
31
|
-
import { f as $t } from "./field-blur-
|
|
31
|
+
import { f as $t } from "./field-blur-DdvY0NQQ.js";
|
|
32
32
|
import { c as en, i as tn, l as nn, o as rn, r as an, s as on, t as sn } from "./dist-C3GR7kJd.js";
|
|
33
33
|
import { i as cn } from "./toggle-group-BkH23Jk4.js";
|
|
34
34
|
import { n as ln } from "./use-slice-reducer-BGkeGtML.js";
|
|
35
35
|
import { t as un } from "./browser-only-DQ94lWF8.js";
|
|
36
36
|
import { t as dn } from "./compose-refs-DZ0iIVF-.js";
|
|
37
|
-
import { n as fn, r as pn, t as mn } from "./chip-
|
|
38
|
-
import { n as hn, t as gn } from "./icon-badge-
|
|
37
|
+
import { n as fn, r as pn, t as mn } from "./chip-kQOrHlDX.js";
|
|
38
|
+
import { n as hn, t as gn } from "./icon-badge-C646JTOI.js";
|
|
39
39
|
import { r as _n } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
40
|
-
import { t as vn } from "./empty-state-
|
|
40
|
+
import { t as vn } from "./empty-state-DA517HAb.js";
|
|
41
41
|
import { t as yn } from "./skeleton-DSdtr2qc.js";
|
|
42
42
|
import { H as bn, V as xn, X as Sn, bt as Cn, it as wn, lt as Tn, n as En, t as Dn, xt as On, yt as kn } from "./dist-moutbfbd.js";
|
|
43
43
|
import { t as An } from "./markdown-Dw_uH7j7.js";
|
|
@@ -9582,7 +9582,7 @@ function Ax({ editor: e }) {
|
|
|
9582
9582
|
});
|
|
9583
9583
|
}
|
|
9584
9584
|
//#endregion
|
|
9585
|
-
//#region lib/components/ui/widgets/editor/extensions/custom/shared/
|
|
9585
|
+
//#region lib/components/ui/widgets/editor/extensions/custom/shared/node-list.ts
|
|
9586
9586
|
function jx(e, t, n) {
|
|
9587
9587
|
let r = e.node.attrs[t] ?? [], i = (n) => e.updateAttributes({ [t]: n });
|
|
9588
9588
|
return {
|
|
@@ -11424,7 +11424,7 @@ var dC = (e = {}) => jn({
|
|
|
11424
11424
|
let [{ default: t }, { lowlight: n }, { richCodeBlock: r }] = await Promise.all([
|
|
11425
11425
|
import("./dist-CRMFGjng.js"),
|
|
11426
11426
|
import("./lowlight-OtcjU2Sa.js"),
|
|
11427
|
-
import("./rich-code-block-
|
|
11427
|
+
import("./rich-code-block-WJxDWPPY.js")
|
|
11428
11428
|
]);
|
|
11429
11429
|
return [r(t, {
|
|
11430
11430
|
lowlight: n,
|
|
@@ -20181,8 +20181,34 @@ function cF(e, t, n = null) {
|
|
|
20181
20181
|
]);
|
|
20182
20182
|
}
|
|
20183
20183
|
//#endregion
|
|
20184
|
+
//#region lib/components/ui/media/galleries/partials/gallery-viewer-button.ts
|
|
20185
|
+
var lF = "bg-black/45 text-white backdrop-blur-sm hover:bg-black/60 focus:bg-black/60 active:bg-black/70 [&_svg]:stroke-white [&_svg]:data-[slot=icon]:text-white";
|
|
20186
|
+
//#endregion
|
|
20187
|
+
//#region lib/components/ui/media/galleries/partials/gallery-chrome-arrows.tsx
|
|
20188
|
+
function uF() {
|
|
20189
|
+
let { items: e, next: t, prev: r, canNext: i, canPrev: a } = jT(), { t: o } = L();
|
|
20190
|
+
return e.length < 2 ? null : /* @__PURE__ */ K("div", {
|
|
20191
|
+
className: "pointer-events-none absolute inset-x-3 top-1/2 flex -translate-y-1/2 items-center justify-between [&>*]:pointer-events-auto",
|
|
20192
|
+
children: [/* @__PURE__ */ G(R, {
|
|
20193
|
+
variant: "tonal",
|
|
20194
|
+
className: n(lF, "disabled:opacity-0"),
|
|
20195
|
+
tooltip: o("material.gallery.previous", "Previous"),
|
|
20196
|
+
disabled: !a,
|
|
20197
|
+
onClick: r,
|
|
20198
|
+
children: /* @__PURE__ */ G(Si, { className: "rtl:-scale-x-100" })
|
|
20199
|
+
}), /* @__PURE__ */ G(R, {
|
|
20200
|
+
variant: "tonal",
|
|
20201
|
+
className: n(lF, "disabled:opacity-0"),
|
|
20202
|
+
tooltip: o("material.gallery.next", "Next"),
|
|
20203
|
+
disabled: !i,
|
|
20204
|
+
onClick: t,
|
|
20205
|
+
children: /* @__PURE__ */ G(Ci, { className: "rtl:-scale-x-100" })
|
|
20206
|
+
})]
|
|
20207
|
+
});
|
|
20208
|
+
}
|
|
20209
|
+
//#endregion
|
|
20184
20210
|
//#region lib/components/ui/media/galleries/partials/gallery-chrome-status.tsx
|
|
20185
|
-
function
|
|
20211
|
+
function dF() {
|
|
20186
20212
|
let { items: e, current: t, state: n } = jT(), { t: r } = L(), i = r("material.gallery.of", "{current} of {total}", {
|
|
20187
20213
|
current: n.currentIndex + 1,
|
|
20188
20214
|
total: e.length
|
|
@@ -20207,22 +20233,19 @@ function lF() {
|
|
|
20207
20233
|
});
|
|
20208
20234
|
}
|
|
20209
20235
|
//#endregion
|
|
20210
|
-
//#region lib/components/ui/media/galleries/partials/gallery-viewer-button.ts
|
|
20211
|
-
var uF = "bg-black/45 text-white backdrop-blur-sm hover:bg-black/60 focus:bg-black/60 active:bg-black/70 [&_svg]:stroke-white [&_svg]:data-[slot=icon]:text-white";
|
|
20212
|
-
//#endregion
|
|
20213
20236
|
//#region lib/components/ui/media/galleries/partials/gallery-chrome-zoom.tsx
|
|
20214
|
-
function
|
|
20237
|
+
function fF() {
|
|
20215
20238
|
let { state: e, setZoom: t } = jT(), { t: n } = L();
|
|
20216
20239
|
return /* @__PURE__ */ K(ei, { children: [/* @__PURE__ */ G(R, {
|
|
20217
20240
|
variant: "tonal",
|
|
20218
|
-
className:
|
|
20241
|
+
className: lF,
|
|
20219
20242
|
tooltip: n("material.gallery.zoom-out", "Zoom out"),
|
|
20220
20243
|
disabled: e.zoom <= 1,
|
|
20221
20244
|
onClick: () => t(e.zoom - .25),
|
|
20222
20245
|
children: /* @__PURE__ */ G(po, {})
|
|
20223
20246
|
}), /* @__PURE__ */ G(R, {
|
|
20224
20247
|
variant: "tonal",
|
|
20225
|
-
className:
|
|
20248
|
+
className: lF,
|
|
20226
20249
|
tooltip: n("material.gallery.zoom-in", "Zoom in"),
|
|
20227
20250
|
disabled: e.zoom >= 4,
|
|
20228
20251
|
onClick: () => t(e.zoom + .25),
|
|
@@ -20231,17 +20254,17 @@ function dF() {
|
|
|
20231
20254
|
}
|
|
20232
20255
|
//#endregion
|
|
20233
20256
|
//#region lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.tsx
|
|
20234
|
-
function
|
|
20257
|
+
function pF() {
|
|
20235
20258
|
let { current: e, state: t, closeLightbox: r, toggleLoop: i, downloadCurrent: a } = jT(), { t: o } = L(), s = e?.kind !== "video", c = o("material.gallery.close", "Close");
|
|
20236
20259
|
return /* @__PURE__ */ K("div", {
|
|
20237
20260
|
className: n("pointer-events-auto -m-3 flex flex-wrap items-start justify-between gap-2 p-3", t.zoom > 1 && "bg-gradient-to-b from-black/60 to-transparent pb-8"),
|
|
20238
|
-
children: [/* @__PURE__ */ G(
|
|
20261
|
+
children: [/* @__PURE__ */ G(dF, {}), /* @__PURE__ */ K("div", {
|
|
20239
20262
|
className: "flex max-w-full flex-wrap justify-end gap-1",
|
|
20240
20263
|
children: [
|
|
20241
|
-
s && /* @__PURE__ */ G(
|
|
20264
|
+
s && /* @__PURE__ */ G(fF, {}),
|
|
20242
20265
|
/* @__PURE__ */ G(R, {
|
|
20243
20266
|
variant: "tonal",
|
|
20244
|
-
className:
|
|
20267
|
+
className: lF,
|
|
20245
20268
|
tooltip: o("material.gallery.download", "Download"),
|
|
20246
20269
|
onClick: a,
|
|
20247
20270
|
disabled: !e,
|
|
@@ -20249,7 +20272,7 @@ function fF() {
|
|
|
20249
20272
|
}),
|
|
20250
20273
|
/* @__PURE__ */ G(R, {
|
|
20251
20274
|
variant: "tonal",
|
|
20252
|
-
className: n(
|
|
20275
|
+
className: n(lF, "[--ib-on:white]! [--ib-on-fg:black]!"),
|
|
20253
20276
|
tooltip: t.loop ? o("material.gallery.repeat-off", "Repeat off") : o("material.gallery.repeat", "Repeat"),
|
|
20254
20277
|
"aria-pressed": t.loop,
|
|
20255
20278
|
onClick: i,
|
|
@@ -20257,7 +20280,7 @@ function fF() {
|
|
|
20257
20280
|
}),
|
|
20258
20281
|
/* @__PURE__ */ G(R, {
|
|
20259
20282
|
variant: "tonal",
|
|
20260
|
-
className:
|
|
20283
|
+
className: lF,
|
|
20261
20284
|
"aria-label": c,
|
|
20262
20285
|
tooltip: c,
|
|
20263
20286
|
onClick: r,
|
|
@@ -20268,34 +20291,11 @@ function fF() {
|
|
|
20268
20291
|
});
|
|
20269
20292
|
}
|
|
20270
20293
|
//#endregion
|
|
20271
|
-
//#region lib/components/ui/media/galleries/partials/gallery-chrome-arrows.tsx
|
|
20272
|
-
function pF() {
|
|
20273
|
-
let { items: e, next: t, prev: r, canNext: i, canPrev: a } = jT(), { t: o } = L();
|
|
20274
|
-
return e.length < 2 ? null : /* @__PURE__ */ K("div", {
|
|
20275
|
-
className: "pointer-events-none absolute inset-x-3 top-1/2 flex -translate-y-1/2 items-center justify-between [&>*]:pointer-events-auto",
|
|
20276
|
-
children: [/* @__PURE__ */ G(R, {
|
|
20277
|
-
variant: "tonal",
|
|
20278
|
-
className: n(uF, "disabled:opacity-0"),
|
|
20279
|
-
tooltip: o("material.gallery.previous", "Previous"),
|
|
20280
|
-
disabled: !a,
|
|
20281
|
-
onClick: r,
|
|
20282
|
-
children: /* @__PURE__ */ G(Si, { className: "rtl:-scale-x-100" })
|
|
20283
|
-
}), /* @__PURE__ */ G(R, {
|
|
20284
|
-
variant: "tonal",
|
|
20285
|
-
className: n(uF, "disabled:opacity-0"),
|
|
20286
|
-
tooltip: o("material.gallery.next", "Next"),
|
|
20287
|
-
disabled: !i,
|
|
20288
|
-
onClick: t,
|
|
20289
|
-
children: /* @__PURE__ */ G(Ci, { className: "rtl:-scale-x-100" })
|
|
20290
|
-
})]
|
|
20291
|
-
});
|
|
20292
|
-
}
|
|
20293
|
-
//#endregion
|
|
20294
20294
|
//#region lib/components/ui/media/galleries/partials/gallery-chrome.tsx
|
|
20295
20295
|
function mF() {
|
|
20296
20296
|
return /* @__PURE__ */ K("div", {
|
|
20297
20297
|
className: "pointer-events-none absolute inset-0 z-10 flex flex-col justify-between p-3",
|
|
20298
|
-
children: [/* @__PURE__ */ G(
|
|
20298
|
+
children: [/* @__PURE__ */ G(pF, {}), /* @__PURE__ */ G(uF, {})]
|
|
20299
20299
|
});
|
|
20300
20300
|
}
|
|
20301
20301
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
1
|
+
import { r as e } from "./i18n-provider-BehR6cU7.js";
|
|
2
2
|
import { _ as t, g as n, h as r, n as i, v as a, y as o } from "./number.utils-BG_eEt5g.js";
|
|
3
3
|
import { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
|
|
4
4
|
import { busySettler as f, busySettler as p, createSubmitGuard as m, createSubmitGuard as h } from "@nxgt/material-core/submit-guard";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./translate-material-
|
|
1
|
+
import { r as e } from "./i18n-provider-BehR6cU7.js";
|
|
2
|
+
import { t } from "./translate-material-tUaLZUmT.js";
|
|
3
3
|
import { useCallback as n } from "react";
|
|
4
4
|
//#region lib/i18n/use-material-translation.ts
|
|
5
5
|
function r() {
|
|
@@ -997,6 +997,7 @@ import { LoadMoreFooter } from '@nxgt/material/components';
|
|
|
997
997
|
| `hasMore` | `boolean` | — | `false` renders nothing, not even the count |
|
|
998
998
|
| `loading` | `boolean` | `false` | the button (or the retry) spins and ignores clicks |
|
|
999
999
|
| `failed` | `boolean` | `false` | an error alert with a tonal "Try again" replaces the button |
|
|
1000
|
+
| `showCount` | `boolean` | `true` | `false` hides the "Showing N of M" line (keep it for a list whose header already announces the count in its own `role="status"`); the button and the failed alert stay |
|
|
1000
1001
|
| `label` | `string` | `"Load more"` (translated) | the load button's text; the button is expanded here |
|
|
1001
1002
|
| `onLoad` | `() => void` | — | loads the next page; the retry calls it too |
|
|
1002
1003
|
|
|
@@ -11,7 +11,7 @@ the app owns the data.
|
|
|
11
11
|
| <img src="../previews/rich-widgets-eventcalendar.webp" width="96" alt=""> | [EventCalendar](#eventcalendar) | Month / week / day / agenda calendar, a day view split by resource, a named time zone, phone to desktop |
|
|
12
12
|
| <img src="../previews/rich-widgets-native-charts-linechart.webp" width="96" alt=""> | [Charts](#charts) | Native SVG charts (line, area, bar, pie, donut, gauge, radial, funnel, heat map, radar, scatter, combo) with keyboard, summary and View data; the Nivo ones were removed in 3.0 |
|
|
13
13
|
| <img src="../previews/rich-widgets-drawing.webp" width="96" alt=""> | [Drawing](#drawing) | Vector drawing from a scene of plain data or JSX primitives: theme colours, accessible, focusable nodes, strict-CSP safe |
|
|
14
|
-
| | [Barcode](#barcode) | Code 128 and Data Matrix as accessible SVG, themed and dark-aware, black on white in print, with `LabelSheet` for a printed sheet of labels |
|
|
14
|
+
| <img src="../previews/rich-widgets-barcode.webp" width="96" alt=""> | [Barcode](#barcode) | Code 128 and Data Matrix as accessible SVG, themed and dark-aware, black on white in print, with `LabelSheet` for a printed sheet of labels |
|
|
15
15
|
| <img src="../previews/rich-widgets-emojipicker.webp" width="96" alt=""> | [EmojiPicker](#emojipicker) | Shared emoji picker and list |
|
|
16
16
|
| <img src="../previews/rich-widgets-mentionlist.webp" width="96" alt=""> | [MentionList](#mentionlist) | `@` mention list with local search |
|
|
17
17
|
| <img src="../previews/rich-widgets-documenteditor.webp" width="96" alt=""> | [DocumentEditor](#documenteditor) | Rich text editor for long-form writing, built on a headless core |
|
|
@@ -618,6 +618,8 @@ How to use it in an app (server rendering, CSP, colours, events, PNG, PDF, e-mai
|
|
|
618
618
|
|
|
619
619
|
## Barcode
|
|
620
620
|
|
|
621
|
+

|
|
622
|
+
|
|
621
623
|
Code 128 and Data Matrix from `@nxgt/material/barcode`, drawn as SVG by the
|
|
622
624
|
package (no runtime dependency). The symbol follows the theme and dark mode on
|
|
623
625
|
screen (`appearance="paper"` keeps it dark on light), is black on white in
|
|
@@ -640,6 +642,8 @@ import { Barcode, Label, LabelSheet } from '@nxgt/material/barcode';
|
|
|
640
642
|
</LabelSheet>
|
|
641
643
|
```
|
|
642
644
|
|
|
645
|
+

|
|
646
|
+
|
|
643
647
|
`LabelSheet` takes `label` (`{ width, height }`), `columns`, `rows` (labels per
|
|
644
648
|
page), `gap`, `offset` (margin before the first label) and `skip` (blank labels
|
|
645
649
|
first); lengths are millimetres or a string with a unit. A value a symbology cannot hold throws a `BarcodeError`; `barcodeGeometry(value, options)` returns the `viewBox` size and path for an SVG of your own. See the
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -48,6 +48,12 @@
|
|
|
48
48
|
.nxgt-split-button-part[aria-busy="true"] {
|
|
49
49
|
cursor: progress;
|
|
50
50
|
}
|
|
51
|
+
/* Busy: the spinner takes the action icon's place (the icon passed as a
|
|
52
|
+
* child), the same room, so there is one icon and no change of size. */
|
|
53
|
+
.nxgt-split-button-part[aria-busy="true"]
|
|
54
|
+
> svg:not([data-slot="spinner"], .nxgt-split-button-spinner) {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
51
57
|
/* Busy: the chevron waits too but keeps its colour (only the chevron
|
|
52
58
|
* fades), so the pair still reads as one control. */
|
|
53
59
|
.nxgt-split-button:has([aria-busy="true"])
|
package/package.json
CHANGED