@nxgt/material 3.12.1 → 3.13.1
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 +45 -0
- package/README.md +15 -13
- package/dist/{async-slice-4qbER86I.js → async-slice-ChtlTP8W.js} +2 -2
- package/dist/{background-cEqcZQ3v.js → background-Ce7M5V42.js} +2 -1
- package/dist/backgrounds/css-react/icons-quiet.css +43 -0
- package/dist/backgrounds/css-react/icons.css +2 -0
- package/dist/backgrounds.js +1 -1
- package/dist/{button-BNjw-pnE.js → button-BrgyWw7T.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-DLgQTJBZ.js → chip-BZu-bvAJ.js} +1 -1
- package/dist/{code-editor-BZbaYLvo.js → code-editor-DjY7_8TH.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-BT5BO5w6.js → code-language-items-D1lpNQ6J.js} +2 -2
- package/dist/components/components.css +2 -0
- package/dist/components/ui/display/avatar/avatar.css +17 -0
- package/dist/components/ui/feedback/alert/alert.css +16 -0
- package/dist/{components-yx1t_5_P.js → components-BhGc4Bj7.js} +15147 -14990
- package/dist/components.js +26 -26
- package/dist/{dialog-BQp5IdFl.js → dialog-rOMjlKJ7.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/draw-animate.js +1 -1
- package/dist/draw.js +1 -1
- package/dist/{drawing-B8VuG7nx.js → drawing-iP1SDjdL.js} +60 -54
- package/dist/{dropdown-menu-BsH9W_3C.js → dropdown-menu-BEyP-A0J.js} +1 -1
- package/dist/editor.js +527 -527
- package/dist/{empty-state-WaU4-T2c.js → empty-state-ZtqqpX0S.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{i18n-provider-C6HhBw34.js → i18n-provider-GV4Ukoe2.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-DUAq9f7H.js → icon-badge-_tY1MwU9.js} +1 -1
- package/dist/lib/backgrounds/background/types.d.ts +2 -1
- package/dist/lib/backgrounds/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/numeric-class.d.ts +2 -0
- package/dist/lib/components/ui/collections/data-table/table-meta.d.ts +8 -3
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +8 -2
- package/dist/lib/components/ui/display/entity-header/entity-stats.d.ts +1 -1
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-body.d.ts +2 -1
- package/dist/lib/components/ui/display/list-tile/list-tile.d.ts +43 -8
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-body.d.ts +4 -1
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-line.d.ts +3 -0
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-toggle.d.ts +20 -0
- package/dist/lib/components/ui/display/stat-card/index.d.ts +2 -0
- package/dist/lib/components/ui/display/stat-card/stat-card-group.d.ts +12 -0
- package/dist/lib/components/ui/feedback/alert/alert-tone-icon.d.ts +9 -0
- package/dist/lib/components/ui/feedback/alert/alert.d.ts +4 -0
- package/dist/lib/components/ui/fields/form-section/form-section-heading-classes.d.ts +4 -0
- package/dist/lib/components/ui/fields/form-section/form-section.d.ts +9 -1
- package/dist/lib/components/ui/layout/app-shell/use-truncated-title.d.ts +11 -1
- package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +12 -2
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-back.d.ts +16 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-details.d.ts +11 -3
- package/dist/lib/components/ui/layout/list-details-layout/partials/pane-opener.d.ts +15 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-container-narrow.d.ts +7 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-pane-focus.d.ts +13 -0
- package/dist/lib/components/ui/widgets/drawing/drawing-types.d.ts +6 -0
- package/dist/lib/components/ui/widgets/drawing/partials/drawing-root.d.ts +5 -1
- package/dist/lib/draw-animate/morph-drawing.d.ts +2 -8
- package/dist/lib/i18n/resources/en/en.d.ts +3 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -0
- package/dist/lib/i18n/resources/resources.d.ts +6 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/print/components/print-document/print-document.d.ts +12 -2
- package/dist/lib/print/index.d.ts +2 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +43 -43
- package/dist/map.js +4 -4
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +101 -98
- package/dist/{public-B0Nq_yYV.js → public-D_Gz7wgr.js} +6 -6
- package/dist/{rich-code-block-v7WmeZp9.js → rich-code-block-RN-EpeTA.js} +4 -4
- package/dist/{sortable-provider-CgDTolQR.js → sortable-provider-Iej7IS4n.js} +1 -1
- package/dist/{spinner-BtSIYVrC.js → spinner-BwWDXIbg.js} +1 -1
- package/dist/{stored-language-BeIKw3-K.js → stored-language-BAAP7qS3.js} +4 -2
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-B2Pehdhn.js → theme-toggle-8zHeXSD1.js} +1 -1
- package/dist/{toolbar-items-rUHdVqAq.js → toolbar-items-CVQBYp4K.js} +2 -2
- package/dist/{translate-material-Bd_KgfB8.js → translate-material-C0aOnHpZ.js} +2 -2
- package/dist/{translator-Dje8HrNz.js → translator-BU07gNva.js} +1 -1
- package/dist/{use-chat-composer-B0_STpQN.js → use-chat-composer-P4GxmCHa.js} +14 -14
- package/dist/{use-heading-spy-DXo6IOX9.js → use-heading-spy-DETdqnB6.js} +1 -1
- package/dist/{use-material-translation-B3V_bz-5.js → use-material-translation-DGeVp-qP.js} +2 -2
- package/docs/components/data-display.md +60 -8
- package/docs/components/data-table-filter-and-lists.md +1 -1
- package/docs/components/feedback-and-status.md +22 -4
- package/docs/components/form-fields.md +14 -3
- package/docs/components/navigation-and-layout.md +8 -3
- package/docs/guides/backgrounds.md +35 -2
- package/docs/guides/drawing.md +15 -0
- package/docs/guides/printing.md +113 -2
- package/docs/guides/server-lists-url.md +3 -0
- package/docs/previews/feedback-status-alert.webp +0 -0
- package/docs/roadmap.md +5 -3
- package/docs/troubleshooting.md +59 -0
- package/lib/backgrounds/css-react/icons-quiet.css +43 -0
- package/lib/backgrounds/css-react/icons.css +2 -0
- package/lib/components/components.css +2 -0
- package/lib/components/ui/display/avatar/avatar.css +17 -0
- package/lib/components/ui/feedback/alert/alert.css +16 -0
- package/package.json +6 -2
package/dist/pdf-reader.js
CHANGED
package/dist/print.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./translate-material-
|
|
1
|
+
import { r as e } from "./i18n-provider-GV4Ukoe2.js";
|
|
2
|
+
import { t } from "./translate-material-C0aOnHpZ.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";
|
|
6
6
|
import { OBJECT_URL_TTL_MS as p, downloadPdfFile as m } from "@nxgt/material-core/pdf-download";
|
|
7
7
|
import { createFormatters as h, formatAmount as g, formatDate as _ } from "@nxgt/material-core/print-format";
|
|
8
|
-
import { badge as v, dataTable as y, defaultPdfTheme as b, definePdfDocument as x, divider as S, drawing as C, header as w, heading as T, image as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { contentDisposition as
|
|
15
|
-
import { IDLE_PDF_FILE as B, createPdfFileLoader as
|
|
8
|
+
import { badge as v, dataTable as y, defaultPdfTheme as b, definePdfDocument as x, divider as S, drawing as C, header as w, heading as T, image as E, keyValue as ee, keyValueOf as te, link as ne, metric as re, page as ie, pageBreak as ae, pageNumber as oe, pdfDocument as se, resolvePdfColor as ce, resolvePdfTheme as le, row as ue, section as de, spacer as fe, stack as pe, table as me, text as he, totals as ge } from "@nxgt/material-core/pdf/model";
|
|
9
|
+
import { DEFAULT_PDF_LANGUAGE as _e, createPdfContext as D, registerPdfFont as O, renderDrawing as k, renderHeader as A, renderKeyValue as j, renderMetric as M, renderPdfDocumentShell as N, renderPdfElement as P, renderPdfPage as F, renderTable as I, toPdfText as L } from "@nxgt/material-core/pdf/render";
|
|
10
|
+
import { definePrintColumns as ve, resolvePrintFields as ye, resolvePrintFields as be, resolvePrintTable as xe, resolvePrintTable as Se, toPrintValue as Ce, toPrintValue as we } from "@nxgt/material-core/print-table";
|
|
11
|
+
import { formatPrintValue as Te, isEmptyPrintValue as Ee } from "@nxgt/material-core/print-value";
|
|
12
|
+
import { Text as R, View as z, pdf as De, renderToBuffer as Oe, renderToStream as ke } from "@react-pdf/renderer";
|
|
13
|
+
import { createTw as Ae } from "react-pdf-tailwind";
|
|
14
|
+
import { contentDisposition as je, pdfBytesResponse as Me, toWebStream as Ne } from "@nxgt/material-core/pdf/http";
|
|
15
|
+
import { IDLE_PDF_FILE as B, createPdfFileLoader as Pe } from "@nxgt/material-core/pdf/file-loader";
|
|
16
16
|
//#region lib/print/styles.ts
|
|
17
17
|
var V = {
|
|
18
18
|
page: "font-sans text-[9pt] text-slate-900 px-8 py-7 flex-col gap-0",
|
|
@@ -44,7 +44,7 @@ var V = {
|
|
|
44
44
|
notesText: "text-[8pt] text-secondary leading-normal",
|
|
45
45
|
badge: "rounded-xl px-4 py-1.5 self-start",
|
|
46
46
|
badgeText: "text-[8pt] font-bold text-white"
|
|
47
|
-
}, H =
|
|
47
|
+
}, H = Ae({
|
|
48
48
|
colors: {
|
|
49
49
|
primary: "#485096",
|
|
50
50
|
secondary: "#347cb5",
|
|
@@ -67,14 +67,14 @@ var V = {
|
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region lib/print/components/pdf-text.ts
|
|
69
69
|
function U(e) {
|
|
70
|
-
return typeof e == "string" ?
|
|
70
|
+
return typeof e == "string" ? L(e) : Array.isArray(e) ? n.map(e, (e) => typeof e == "string" ? L(e) : e) : e;
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region lib/print/components/print-badge.tsx
|
|
74
|
-
function
|
|
75
|
-
return /* @__PURE__ */ u(
|
|
74
|
+
function Fe({ color: e, className: t, children: n }) {
|
|
75
|
+
return /* @__PURE__ */ u(z, {
|
|
76
76
|
style: [H(`${V.badge} ${t ?? ""}`), e ? { backgroundColor: e } : {}],
|
|
77
|
-
children: /* @__PURE__ */ u(
|
|
77
|
+
children: /* @__PURE__ */ u(R, {
|
|
78
78
|
style: H(V.badgeText),
|
|
79
79
|
children: U(n)
|
|
80
80
|
})
|
|
@@ -82,19 +82,19 @@ function Pe({ color: e, className: t, children: n }) {
|
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region lib/print/components/print-card.tsx
|
|
85
|
-
function
|
|
86
|
-
return /* @__PURE__ */ u(
|
|
85
|
+
function Ie({ children: e, className: t }) {
|
|
86
|
+
return /* @__PURE__ */ u(z, {
|
|
87
87
|
style: H(`border border-border rounded-xs p-2.5 flex-row gap-[24pt] ${t || ""}`),
|
|
88
88
|
children: e
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return t ? /* @__PURE__ */ d(
|
|
91
|
+
function Le({ label: e, value: t }) {
|
|
92
|
+
return t ? /* @__PURE__ */ d(z, {
|
|
93
93
|
style: H("flex-col gap-0.5"),
|
|
94
|
-
children: [/* @__PURE__ */ u(
|
|
94
|
+
children: [/* @__PURE__ */ u(R, {
|
|
95
95
|
style: H("text-[7pt] text-muted font-bold uppercase"),
|
|
96
96
|
children: U(e)
|
|
97
|
-
}), /* @__PURE__ */ u(
|
|
97
|
+
}), /* @__PURE__ */ u(R, {
|
|
98
98
|
style: H("text-[9pt] text-primary"),
|
|
99
99
|
children: U(t)
|
|
100
100
|
})]
|
|
@@ -104,19 +104,19 @@ function Ie({ label: e, value: t }) {
|
|
|
104
104
|
//#region lib/print/components/print-document/print-render-context.ts
|
|
105
105
|
var W = r(null), G;
|
|
106
106
|
function K() {
|
|
107
|
-
return G ??=
|
|
107
|
+
return G ??= D(), G;
|
|
108
108
|
}
|
|
109
109
|
function q() {
|
|
110
110
|
return o(W) ?? K();
|
|
111
111
|
}
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region lib/print/components/print-data-table/print-data-table.tsx
|
|
114
|
-
function
|
|
115
|
-
let a = q(), o =
|
|
114
|
+
function Re({ columns: e, rows: t, currency: n, totalLabel: r, ...i }) {
|
|
115
|
+
let a = q(), o = Se(e, t, {
|
|
116
116
|
currency: n,
|
|
117
117
|
totalLabel: r ?? a.t("material.print.table.total", "Total")
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return I({
|
|
120
120
|
type: "table",
|
|
121
121
|
columns: o.columns,
|
|
122
122
|
rows: o.rows,
|
|
@@ -126,23 +126,23 @@ function Le({ columns: e, rows: t, currency: n, totalLabel: r, ...i }) {
|
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region lib/print/components/print-data-table/print-key-value.tsx
|
|
129
|
-
function
|
|
129
|
+
function ze(e) {
|
|
130
130
|
let t = q();
|
|
131
|
-
return
|
|
131
|
+
return j({
|
|
132
132
|
type: "keyValue",
|
|
133
|
-
items: "items" in e ? e.items :
|
|
133
|
+
items: "items" in e ? e.items : be(e.fields, e.data, { currency: e.currency }),
|
|
134
134
|
columns: e.columns,
|
|
135
135
|
keepEmpty: e.keepEmpty
|
|
136
136
|
}, t);
|
|
137
137
|
}
|
|
138
138
|
//#endregion
|
|
139
139
|
//#region lib/print/components/print-data-table/print-metric.tsx
|
|
140
|
-
function
|
|
140
|
+
function Be({ label: e, value: t, format: n, currency: r, hint: i, delta: a }) {
|
|
141
141
|
let o = q();
|
|
142
|
-
return
|
|
142
|
+
return M({
|
|
143
143
|
type: "metric",
|
|
144
144
|
label: e,
|
|
145
|
-
value: n && (typeof t == "number" || n === "date" && typeof t == "string") ?
|
|
145
|
+
value: n && (typeof t == "number" || n === "date" && typeof t == "string") ? we({
|
|
146
146
|
id: "value",
|
|
147
147
|
accessor: () => t,
|
|
148
148
|
label: e,
|
|
@@ -153,8 +153,8 @@ function ze({ label: e, value: t, format: n, currency: r, hint: i, delta: a }) {
|
|
|
153
153
|
delta: a
|
|
154
154
|
}, o);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
return /* @__PURE__ */ u(
|
|
156
|
+
function Ve({ children: e }) {
|
|
157
|
+
return /* @__PURE__ */ u(z, {
|
|
158
158
|
style: {
|
|
159
159
|
flexDirection: "row",
|
|
160
160
|
gap: 12,
|
|
@@ -165,74 +165,77 @@ function Be({ children: e }) {
|
|
|
165
165
|
}
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region lib/print/components/print-document/print-document.tsx
|
|
168
|
-
function
|
|
169
|
-
let
|
|
170
|
-
language:
|
|
168
|
+
function He({ language: r, locale: i, timeZone: a, conformance: o, theme: s, header: l, footer: d, children: f, title: p, author: m, subject: h, keywords: g, creator: _, producer: v, ...y }) {
|
|
169
|
+
let b = e(), x = r || b?.language || _e, S = c(() => D({
|
|
170
|
+
language: x,
|
|
171
171
|
locale: i,
|
|
172
172
|
timeZone: a,
|
|
173
|
-
|
|
173
|
+
theme: s,
|
|
174
|
+
translate: (e, n, r) => t(x, e, n, r)
|
|
174
175
|
}), [
|
|
175
|
-
|
|
176
|
+
x,
|
|
176
177
|
i,
|
|
177
|
-
a
|
|
178
|
-
|
|
178
|
+
a,
|
|
179
|
+
s
|
|
180
|
+
]), C = (e, t) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ u(R, {
|
|
179
181
|
style: t,
|
|
180
|
-
children:
|
|
181
|
-
}) : e,
|
|
182
|
-
style:
|
|
183
|
-
render: (e) =>
|
|
184
|
-
}) :
|
|
182
|
+
children: L(String(e))
|
|
183
|
+
}) : e, w = typeof d == "function" ? /* @__PURE__ */ u(R, {
|
|
184
|
+
style: S.styles.textCaption,
|
|
185
|
+
render: (e) => L(d(e))
|
|
186
|
+
}) : C(d, S.styles.textCaption), T = C(l, S.styles.textBody);
|
|
185
187
|
return /* @__PURE__ */ u(W.Provider, {
|
|
186
|
-
value:
|
|
187
|
-
children:
|
|
188
|
-
title:
|
|
189
|
-
author:
|
|
190
|
-
subject:
|
|
191
|
-
keywords:
|
|
192
|
-
creator:
|
|
193
|
-
producer:
|
|
194
|
-
language:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
188
|
+
value: S,
|
|
189
|
+
children: N({
|
|
190
|
+
title: p,
|
|
191
|
+
author: m,
|
|
192
|
+
subject: h,
|
|
193
|
+
keywords: g,
|
|
194
|
+
creator: _ ?? "@nxgt/material",
|
|
195
|
+
producer: v,
|
|
196
|
+
language: x,
|
|
197
|
+
conformance: o
|
|
198
|
+
}, [F(y, {
|
|
199
|
+
header: T,
|
|
200
|
+
footer: w,
|
|
201
|
+
body: n.toArray(f)
|
|
202
|
+
}, S)])
|
|
200
203
|
});
|
|
201
204
|
}
|
|
202
205
|
//#endregion
|
|
203
206
|
//#region lib/print/components/print-drawing.tsx
|
|
204
|
-
function
|
|
205
|
-
return
|
|
207
|
+
function Ue(e) {
|
|
208
|
+
return k({
|
|
206
209
|
type: "drawing",
|
|
207
210
|
...e
|
|
208
211
|
}, q());
|
|
209
212
|
}
|
|
210
213
|
//#endregion
|
|
211
214
|
//#region lib/print/components/print-header.tsx
|
|
212
|
-
function
|
|
213
|
-
return
|
|
215
|
+
function We(e) {
|
|
216
|
+
return A({
|
|
214
217
|
type: "header",
|
|
215
218
|
...e
|
|
216
219
|
}, K());
|
|
217
220
|
}
|
|
218
221
|
//#endregion
|
|
219
222
|
//#region lib/print/components/print-section.tsx
|
|
220
|
-
function
|
|
221
|
-
return /* @__PURE__ */ d(
|
|
223
|
+
function Ge({ title: e, children: t, className: n }) {
|
|
224
|
+
return /* @__PURE__ */ d(z, {
|
|
222
225
|
style: H(n || "mb-3.5"),
|
|
223
|
-
children: [/* @__PURE__ */ u(
|
|
226
|
+
children: [/* @__PURE__ */ u(R, {
|
|
224
227
|
style: H(V.sectionTitle),
|
|
225
228
|
children: U(e)
|
|
226
229
|
}), t]
|
|
227
230
|
});
|
|
228
231
|
}
|
|
229
|
-
function
|
|
230
|
-
return /* @__PURE__ */ d(
|
|
232
|
+
function Ke({ label: e, value: t }) {
|
|
233
|
+
return /* @__PURE__ */ d(z, {
|
|
231
234
|
style: H(V.infoRow),
|
|
232
|
-
children: [/* @__PURE__ */ u(
|
|
235
|
+
children: [/* @__PURE__ */ u(R, {
|
|
233
236
|
style: H(V.infoLabel),
|
|
234
237
|
children: U(e)
|
|
235
|
-
}), typeof t == "string" || typeof t == "number" ? /* @__PURE__ */ u(
|
|
238
|
+
}), typeof t == "string" || typeof t == "number" ? /* @__PURE__ */ u(R, {
|
|
236
239
|
style: H(V.infoValue),
|
|
237
240
|
children: U(t)
|
|
238
241
|
}) : t]
|
|
@@ -240,26 +243,26 @@ function Ge({ label: e, value: t }) {
|
|
|
240
243
|
}
|
|
241
244
|
//#endregion
|
|
242
245
|
//#region lib/print/components/print-table.tsx
|
|
243
|
-
function
|
|
244
|
-
return /* @__PURE__ */ u(
|
|
246
|
+
function J({ children: e }) {
|
|
247
|
+
return /* @__PURE__ */ u(z, {
|
|
245
248
|
style: H(V.tableSection),
|
|
246
249
|
children: e
|
|
247
250
|
});
|
|
248
251
|
}
|
|
249
|
-
function
|
|
250
|
-
return /* @__PURE__ */ u(
|
|
252
|
+
function qe({ children: e }) {
|
|
253
|
+
return /* @__PURE__ */ u(z, {
|
|
251
254
|
style: H(V.tableHeader),
|
|
252
255
|
children: e
|
|
253
256
|
});
|
|
254
257
|
}
|
|
255
|
-
function
|
|
256
|
-
return /* @__PURE__ */ u(
|
|
258
|
+
function Je({ isAlt: e, children: t }) {
|
|
259
|
+
return /* @__PURE__ */ u(z, {
|
|
257
260
|
style: [H(V.tableRow), e ? H(V.tableRowAlt) : {}],
|
|
258
261
|
children: t
|
|
259
262
|
});
|
|
260
263
|
}
|
|
261
|
-
function
|
|
262
|
-
return /* @__PURE__ */ u(
|
|
264
|
+
function Ye({ isHeader: e, flex: t = 1, textAlign: n = "left", children: r }) {
|
|
265
|
+
return /* @__PURE__ */ u(R, {
|
|
263
266
|
style: [H(e ? V.tableHeaderCell : V.tableCell), {
|
|
264
267
|
flex: t,
|
|
265
268
|
textAlign: n
|
|
@@ -269,23 +272,23 @@ function Je({ isHeader: e, flex: t = 1, textAlign: n = "left", children: r }) {
|
|
|
269
272
|
}
|
|
270
273
|
//#endregion
|
|
271
274
|
//#region lib/print/components/print-totals.tsx
|
|
272
|
-
function
|
|
273
|
-
return /* @__PURE__ */ u(
|
|
275
|
+
function Xe({ children: e }) {
|
|
276
|
+
return /* @__PURE__ */ u(z, {
|
|
274
277
|
style: H(V.totalsSection),
|
|
275
|
-
children: /* @__PURE__ */ u(
|
|
278
|
+
children: /* @__PURE__ */ u(z, {
|
|
276
279
|
style: H(V.totalsTable),
|
|
277
280
|
children: e
|
|
278
281
|
})
|
|
279
282
|
});
|
|
280
283
|
}
|
|
281
|
-
function
|
|
284
|
+
function Ze({ label: e, value: t, last: n }) {
|
|
282
285
|
let r = n ? V.totalsRowLast : V.totalsRow, i = n ? V.totalsLabelBold : V.totalsLabel, a = n ? V.totalsValueBold : V.totalsValue;
|
|
283
|
-
return /* @__PURE__ */ d(
|
|
286
|
+
return /* @__PURE__ */ d(z, {
|
|
284
287
|
style: H(r),
|
|
285
|
-
children: [/* @__PURE__ */ u(
|
|
288
|
+
children: [/* @__PURE__ */ u(R, {
|
|
286
289
|
style: H(i),
|
|
287
290
|
children: U(e)
|
|
288
|
-
}), /* @__PURE__ */ u(
|
|
291
|
+
}), /* @__PURE__ */ u(R, {
|
|
289
292
|
style: H(a),
|
|
290
293
|
children: U(t)
|
|
291
294
|
})]
|
|
@@ -296,7 +299,7 @@ function Xe({ label: e, value: t, last: n }) {
|
|
|
296
299
|
function Y(e, n = {}) {
|
|
297
300
|
if (i(e)) return e;
|
|
298
301
|
let r = e, a = r.language;
|
|
299
|
-
return
|
|
302
|
+
return P(r, {
|
|
300
303
|
custom: n.custom,
|
|
301
304
|
defaultCreator: "@nxgt/material",
|
|
302
305
|
translate: (e, n, r) => t(a, e, n, r)
|
|
@@ -304,20 +307,20 @@ function Y(e, n = {}) {
|
|
|
304
307
|
}
|
|
305
308
|
//#endregion
|
|
306
309
|
//#region lib/print/output/render-pdf.ts
|
|
307
|
-
var
|
|
310
|
+
var Qe = () => typeof process < "u" && !!process.versions?.node;
|
|
308
311
|
async function X(e, t) {
|
|
309
|
-
return
|
|
312
|
+
return De(Y(e, t)).toBlob();
|
|
310
313
|
}
|
|
311
314
|
async function Z(e, t) {
|
|
312
|
-
if (!
|
|
315
|
+
if (!Qe()) {
|
|
313
316
|
let n = await X(e, t);
|
|
314
317
|
return new Uint8Array(await n.arrayBuffer());
|
|
315
318
|
}
|
|
316
|
-
let n = await
|
|
319
|
+
let n = await Oe(Y(e, t));
|
|
317
320
|
return new Uint8Array(n);
|
|
318
321
|
}
|
|
319
|
-
async function
|
|
320
|
-
return
|
|
322
|
+
async function $e(e, t) {
|
|
323
|
+
return Ne(await ke(Y(e, t)));
|
|
321
324
|
}
|
|
322
325
|
//#endregion
|
|
323
326
|
//#region lib/print/output/download-pdf.ts
|
|
@@ -325,7 +328,7 @@ var Q = (e, t) => e instanceof Blob ? e : X(e, t);
|
|
|
325
328
|
async function $(e, t = {}) {
|
|
326
329
|
await m(await Q(e, t), { fileName: t.fileName });
|
|
327
330
|
}
|
|
328
|
-
async function
|
|
331
|
+
async function et(e, t = {}) {
|
|
329
332
|
let n = window.open("", "_blank"), r;
|
|
330
333
|
try {
|
|
331
334
|
r = await Q(e, t);
|
|
@@ -342,16 +345,16 @@ async function $e(e, t = {}) {
|
|
|
342
345
|
}
|
|
343
346
|
//#endregion
|
|
344
347
|
//#region lib/print/output/pdf-response.ts
|
|
345
|
-
async function
|
|
346
|
-
return
|
|
348
|
+
async function tt(e, t = {}) {
|
|
349
|
+
return Me(await Z(e, t), t);
|
|
347
350
|
}
|
|
348
351
|
//#endregion
|
|
349
352
|
//#region lib/print/output/use-pdf-file.ts
|
|
350
|
-
function
|
|
353
|
+
function nt(e, t) {
|
|
351
354
|
let [n, r] = l(() => e === null ? B : {
|
|
352
355
|
...B,
|
|
353
356
|
loading: !0
|
|
354
|
-
}), [i, o] = l(0), c = a(() => o((e) => e + 1), []), u = t?.custom, [d] = l(() =>
|
|
357
|
+
}), [i, o] = l(0), c = a(() => o((e) => e + 1), []), u = t?.custom, [d] = l(() => Pe(r, X));
|
|
355
358
|
return s(() => () => d.dispose(), [d]), s(() => {
|
|
356
359
|
d.load(e, { custom: u });
|
|
357
360
|
}, [
|
|
@@ -365,4 +368,4 @@ function tt(e, t) {
|
|
|
365
368
|
};
|
|
366
369
|
}
|
|
367
370
|
//#endregion
|
|
368
|
-
export {
|
|
371
|
+
export { Fe as PrintBadge, Ie as PrintCard, Le as PrintCardField, Re as PrintDataTable, He as PrintDocument, Ue as PrintDrawing, We as PrintHeader, Ke as PrintInfoRow, ze as PrintKeyValue, Be as PrintMetric, Ve as PrintMetrics, Ge as PrintSection, J as PrintTable, Ye as PrintTableCell, qe as PrintTableHeader, Je as PrintTableRow, Ze as PrintTotalRow, Xe as PrintTotals, v as badge, V as commonPrintStyles, je as contentDisposition, h as createFormatters, y as dataTable, b as defaultPdfTheme, x as definePdfDocument, ve as definePrintColumns, S as divider, $ as downloadPdf, C as drawing, g as formatAmount, _ as formatDate, Te as formatPrintValue, w as header, T as heading, E as image, Ee as isEmptyPrintValue, ee as keyValue, te as keyValueOf, ne as link, re as metric, et as openPdf, ie as page, ae as pageBreak, oe as pageNumber, se as pdfDocument, tt as pdfResponse, O as registerPdfFont, X as renderPdfBlob, Z as renderPdfBuffer, $e as renderPdfStream, ce as resolvePdfColor, le as resolvePdfTheme, ye as resolvePrintFields, xe as resolvePrintTable, ue as row, de as section, fe as spacer, pe as stack, me as table, he as text, Ce as toPrintValue, ge as totals, H as tw, nt as usePdfFile };
|
|
@@ -6,18 +6,18 @@ import { c as i, i as a, l as o, n as s, o as c, s as l } from "./dist-lmHmz_bu.
|
|
|
6
6
|
import { a as u, o as d } from "./tooltip-CkttDIab.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 N } from "./use-material-translation-
|
|
13
|
-
import { t as _e } from "./button-
|
|
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-rOMjlKJ7.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-BEyP-A0J.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-CVQBYp4K.js";
|
|
12
|
+
import { t as N } from "./use-material-translation-DGeVp-qP.js";
|
|
13
|
+
import { t as _e } from "./button-BrgyWw7T.js";
|
|
14
14
|
import { n as ve, t as ye } from "./icon-button-ifTpXt0A.js";
|
|
15
15
|
import { t as be } from "./useEvent-2fKq-6w8.js";
|
|
16
16
|
import { n as xe, t as Se } from "./toggle-group-BMJNcFAC.js";
|
|
17
17
|
import { o as Ce } from "./escape-owner-C4W_sOAU.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-ZtqqpX0S.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 { ArrowLeft as Ae, BookOpenText as je, ChevronDown as Me, ChevronLeft as Ne, ChevronRight as Pe, ChevronUp as Fe, Download as Ie, Eraser as Le, FileText as Re, FileWarning as ze, FileX2 as Be, Highlighter as Ve, KeyRound as He, LayoutGrid as Ue, List as We, Loader2 as Ge, Maximize as Ke, MessageSquareText as qe, Minimize as Je, MoreVertical as Ye, MousePointer2 as Xe, MoveHorizontal as Ze, PanelLeft as Qe, Pen as $e, PencilLine as et, Printer as tt, RotateCw as nt, Search as rt, StickyNote as it, Type as at, Underline as ot, Undo2 as st, Volume2 as ct, X as lt, XIcon as ut, ZoomIn as dt, ZoomOut as ft } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./tooltip-CkttDIab.js";
|
|
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-
|
|
2
|
+
import { c as t, n, t as r } from "./dropdown-menu-BEyP-A0J.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-DGeVp-qP.js";
|
|
4
|
+
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-D1lpNQ6J.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 { Check as h, ChevronDown as g, Copy as _, Maximize2 as v, WrapText as y } from "lucide-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 = x(() => import("./code-editor-
|
|
146
|
+
var N = x(() => import("./code-editor-DjY7_8TH.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
|
|
147
147
|
function P() {
|
|
148
148
|
let { t: e } = i();
|
|
149
149
|
return /* @__PURE__ */ T("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { t as n } from "./use-material-translation-DGeVp-qP.js";
|
|
4
4
|
import { t as r } from "./icon-button-ifTpXt0A.js";
|
|
5
5
|
import { t as i } from "./compose-refs-DZ0iIVF-.js";
|
|
6
6
|
import { GripVertical as a } from "lucide-react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t } from "./tooltip-CkttDIab.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
3
|
+
import { t as n } from "./use-material-translation-DGeVp-qP.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/ui/feedback/spinner/spinner.tsx
|
|
6
6
|
var i = t("transition-all duration-500", {
|
|
@@ -2598,7 +2598,8 @@ var t = {
|
|
|
2598
2598
|
"scatter-range": "{axis} from {min} to {max}.",
|
|
2599
2599
|
"scatter-series": "{series}: {count, plural, one {# point} other {# points}}."
|
|
2600
2600
|
}
|
|
2601
|
-
}
|
|
2601
|
+
},
|
|
2602
|
+
"list-details": { back: "Back to the list" }
|
|
2602
2603
|
} },
|
|
2603
2604
|
fr: { material: {
|
|
2604
2605
|
"empty-state": {
|
|
@@ -5196,7 +5197,8 @@ var t = {
|
|
|
5196
5197
|
"scatter-range": "{axis} de {min} à {max}.",
|
|
5197
5198
|
"scatter-series": "{series} : {count, plural, one {# point} other {# points}}."
|
|
5198
5199
|
}
|
|
5199
|
-
}
|
|
5200
|
+
},
|
|
5201
|
+
"list-details": { back: "Retour à la liste" }
|
|
5200
5202
|
} }
|
|
5201
5203
|
}, n = "language", r = "en", i = Object.keys(t);
|
|
5202
5204
|
//#endregion
|
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
|
-
import { t as s } from "./use-material-translation-
|
|
3
|
+
import { t as s } from "./use-material-translation-DGeVp-qP.js";
|
|
4
4
|
import { n as c, r as l } from "./icon-sprites-FxHyqyhg.js";
|
|
5
5
|
import { t as u } from "./use-theme-DMcyJ52N.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-8zHeXSD1.js";
|
|
8
8
|
import { n as m, t as h } from "./nxgt-theme-ZS945iMP.js";
|
|
9
9
|
import { Check as g } from "lucide-react";
|
|
10
10
|
import { useContext as _ } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-DGeVp-qP.js";
|
|
2
2
|
import { i as t } from "./theme-store-CSl51uNH.js";
|
|
3
3
|
import { n, t as r } from "./use-theme-DMcyJ52N.js";
|
|
4
4
|
import { r as i } from "./theme-context-Cofk6vgs.js";
|
|
@@ -4,9 +4,9 @@ import { a as i, c as a, i as o, l as s, r as c, s as l } from "./dist-lmHmz_bu.
|
|
|
4
4
|
import { b as u, c as d, d as f, f as p, l as m, t as h, u as g, x as _ } from "./tooltip-CkttDIab.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 E } from "./in-dialog-Vwkyp-M5.js";
|
|
7
|
-
import { A as ne, M as re, N as ie, b as ae, d as oe, f as se, i as ce, j as le, l as ue, n as de, o as fe, r as pe, t as me, u as he, y as ge } from "./dropdown-menu-
|
|
7
|
+
import { A as ne, M as re, N as ie, b as ae, d as oe, f as se, i as ce, j as le, l as ue, n as de, o as fe, r as pe, t as me, u as he, y as ge } from "./dropdown-menu-BEyP-A0J.js";
|
|
8
8
|
import { a as _e, n as ve, r as ye, t as be } from "./dist-B7RjY7SL.js";
|
|
9
|
-
import { t as xe } from "./use-material-translation-
|
|
9
|
+
import { t as xe } from "./use-material-translation-DGeVp-qP.js";
|
|
10
10
|
import { t as Se } from "./warn-once-C_e47JM8.js";
|
|
11
11
|
import { o as Ce } from "./escape-owner-C4W_sOAU.js";
|
|
12
12
|
import { ChevronLeft as we, ChevronRightIcon as Te, MoreVertical as Ee } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./stored-language-
|
|
2
|
-
import { a as e, r as t } from "./translator-
|
|
1
|
+
import "./stored-language-BAAP7qS3.js";
|
|
2
|
+
import { a as e, r as t } from "./translator-BU07gNva.js";
|
|
3
3
|
//#region lib/i18n/translate-material.ts
|
|
4
4
|
function n(n, r, i, a) {
|
|
5
5
|
if (n) for (let e of /* @__PURE__ */ new Set([n, n.split("-")[0]])) {
|
|
@@ -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-BAAP7qS3.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) {
|
|
@@ -7,21 +7,21 @@ import { a as o, c as s, i as c, l, n as u, o as d, r as f, s as p, t as m } fro
|
|
|
7
7
|
import { _ as h, a as g, g as _, h as v, m as y, o as b, p as x, t as S, v as C, y as w } from "./tooltip-CkttDIab.js";
|
|
8
8
|
import { a as T, i as E, n as D, r as O, t as k } from "./dist-C4wtXCjf.js";
|
|
9
9
|
import { i as A, n as ee, t as j } from "./in-dialog-Vwkyp-M5.js";
|
|
10
|
-
import { A as M, C as N, D as te, E as ne, O as P, S as re, T as ie, _ as F, b as ae, f as oe, g as se, k as I, l as ce, m as le, n as ue, o as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./dialog-
|
|
10
|
+
import { A as M, C as N, D as te, E as ne, O as P, S as re, T as ie, _ as F, b as ae, f as oe, g as se, k as I, l as ce, m as le, n as ue, o as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./dialog-rOMjlKJ7.js";
|
|
11
11
|
import { A as be, C as xe, D as Se, E as Ce, O as we, S as Te, T as Ee, _ as De, a as Oe, b as ke, d as Ae, f as je, g as Me, h as Ne, i as Pe, k as Fe, l as Ie, m as Le, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as Ge, w as Ke, x as qe, y as Je } from "./floating-ui.dom-KkZSW8_E.js";
|
|
12
|
-
import { D as Ye, E as Xe, N as Ze, O as Qe, c as $e, d as et, f as tt, i as nt, k as rt, m as it, n as at, o as ot, p as st, t as ct, u as lt } from "./dropdown-menu-
|
|
12
|
+
import { D as Ye, E as Xe, N as Ze, O as Qe, c as $e, d as et, f as tt, i as nt, k as rt, m as it, n as at, o as ot, p as st, t as ct, u as lt } from "./dropdown-menu-BEyP-A0J.js";
|
|
13
13
|
import { a as ut, i as dt, n as ft } from "./field-blur-context-Cft9s7Hg.js";
|
|
14
|
-
import { C as pt, S as mt, a as ht, c as gt, d as _t, l as vt, n as yt, o as bt, s as xt, u as St } from "./toolbar-items-
|
|
14
|
+
import { C as pt, S as mt, a as ht, c as gt, d as _t, l as vt, n as yt, o as bt, s as xt, u as St } from "./toolbar-items-CVQBYp4K.js";
|
|
15
15
|
import { a as Ct, i as wt, n as Tt, o as Et, t as Dt } from "./bubble-input-B7BVd9fX.js";
|
|
16
16
|
import { i as Ot } from "./dist-B7RjY7SL.js";
|
|
17
|
-
import "./stored-language-
|
|
18
|
-
import { a as kt } from "./translator-
|
|
17
|
+
import "./stored-language-BAAP7qS3.js";
|
|
18
|
+
import { a as kt } from "./translator-BU07gNva.js";
|
|
19
19
|
import { h as At } from "./get-CTzJAwfc.js";
|
|
20
20
|
import { t as jt } from "./isEmpty-F_g3jLf8.js";
|
|
21
|
-
import { t as L } from "./use-material-translation-
|
|
22
|
-
import { t as Mt } from "./spinner-
|
|
21
|
+
import { t as L } from "./use-material-translation-DGeVp-qP.js";
|
|
22
|
+
import { t as Mt } from "./spinner-BwWDXIbg.js";
|
|
23
23
|
import { a as Nt } from "./button-tones-BwuVvAmd.js";
|
|
24
|
-
import { a as Pt, i as Ft, n as It, r as Lt, t as Rt } from "./button-
|
|
24
|
+
import { a as Pt, i as Ft, n as It, r as Lt, t as Rt } from "./button-BrgyWw7T.js";
|
|
25
25
|
import { t as R } from "./icon-button-ifTpXt0A.js";
|
|
26
26
|
import { n as zt, r as Bt } from "./icon-sprites-FxHyqyhg.js";
|
|
27
27
|
import { t as Vt } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
@@ -35,10 +35,10 @@ import { a as tn, i as nn, o as rn } from "./escape-owner-C4W_sOAU.js";
|
|
|
35
35
|
import { n as an } from "./use-slice-reducer-BGkeGtML.js";
|
|
36
36
|
import { t as on } from "./browser-only-DQ94lWF8.js";
|
|
37
37
|
import { t as sn } from "./compose-refs-DZ0iIVF-.js";
|
|
38
|
-
import { n as cn, r as ln, t as un } from "./chip-
|
|
39
|
-
import { n as dn, t as fn } from "./icon-badge-
|
|
38
|
+
import { n as cn, r as ln, t as un } from "./chip-BZu-bvAJ.js";
|
|
39
|
+
import { n as dn, t as fn } from "./icon-badge-_tY1MwU9.js";
|
|
40
40
|
import { r as pn } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
41
|
-
import { t as mn } from "./empty-state-
|
|
41
|
+
import { t as mn } from "./empty-state-ZtqqpX0S.js";
|
|
42
42
|
import { t as hn } from "./skeleton-DSdtr2qc.js";
|
|
43
43
|
import { H as gn, V as _n, X as vn, bt as yn, it as bn, lt as xn, n as Sn, t as Cn, xt as wn, yt as Tn } from "./dist-moutbfbd.js";
|
|
44
44
|
import { t as En } from "./markdown-Dw_uH7j7.js";
|
|
@@ -10782,7 +10782,7 @@ var CS = (e = {}) => Dn({
|
|
|
10782
10782
|
let [{ default: t }, { lowlight: n }, { richCodeBlock: r }] = await Promise.all([
|
|
10783
10783
|
import("./dist-CRMFGjng.js"),
|
|
10784
10784
|
import("./lowlight-OtcjU2Sa.js"),
|
|
10785
|
-
import("./rich-code-block-
|
|
10785
|
+
import("./rich-code-block-RN-EpeTA.js")
|
|
10786
10786
|
]);
|
|
10787
10787
|
return [r(t, {
|
|
10788
10788
|
lowlight: n,
|
|
@@ -22930,7 +22930,7 @@ function jL({ src: e, alt: r, fallback: i, status: a, statusPulse: o = !1, shape
|
|
|
22930
22930
|
src: e,
|
|
22931
22931
|
alt: r,
|
|
22932
22932
|
label: r,
|
|
22933
|
-
className: n("size-8 text-
|
|
22933
|
+
className: n("size-8 text-tone-text fill-tone-container stroke-1 stroke-(--nxgt-tone-ring)", l),
|
|
22934
22934
|
...u,
|
|
22935
22935
|
children: i ? /* @__PURE__ */ G("span", {
|
|
22936
22936
|
"data-slot": "avatar-fallback",
|
|
@@ -23377,4 +23377,4 @@ function rR({ value: e, onSend: t, placeholder: n, disabled: r, isLoading: i, se
|
|
|
23377
23377
|
};
|
|
23378
23378
|
}
|
|
23379
23379
|
//#endregion
|
|
23380
|
-
export { UM as $,
|
|
23380
|
+
export { UM as $, fu as $i, my as $n, K_ as $r, gE as $t, hI as A, pg as Ai, Dx as An, vv as Ar, Ck as At, PF as B, _f as Bi, zb as Bn, pv as Br, SD as Bt, yL as C, Ug as Ci, qx as Cn, Mv as Cr, bA as Ct, jI as D, Mg as Di, Lx as Dn, kv as Dr, Qk as Dt, dL as E, Pg as Ei, Gx as En, Ov as Er, lA as Et, UF as F, Ah as Fi, xx as Fn, Sv as Fr, dO as Ft, tF as G, Mu as Gi, Db as Gn, tv as Gr, ZE as Gt, FF as H, Od as Hi, Tb as Hn, cv as Hr, vD as Ht, BF as I, X as Ii, bx as In, lv as Ir, fO as It, YP as J, Cu as Ji, ub as Jn, Q_ as Jr, $ as Jt, eF as K, ku as Ki, wb as Kn, rv as Kr, XE as Kt, RF as L, vp as Li, dx as Ln, dv as Lr, lO as Lt, oI as M, Z as Mi, Ex as Mn, yv as Mr, hO as Mt, ZF as N, Gh as Ni, wx as Nn, xv as Nr, mO as Nt, DI as O, Dg as Oi, kx as On, Cv as Or, Yk as Ot, GF as P, Uh as Pi, Tx as Pn, gv as Pr, uO as Pt, TP as Q, mu as Qi, By as Qn, J_ as Qr, vE as Qt, zF as R, yp as Ri, lx as Rn, fv as Rr, aO as Rt, OL as S, Wg as Si, Xx as Sn, Nv as Sr, EA as St, fL as T, Lg as Ti, Kx as Tn, jv as Tr, fA as Tt, aF as U, J as Ui, Eb as Un, iv as Ur, hD as Ut, IF as V, Vd as Vi, jb as Vn, hv as Vr, yD as Vt, iF as W, q as Wi, Ob as Wn, sv as Wr, QE as Wt, RP as X, xu as Xi, Uy as Xn, X_ as Xr, bE as Xt, KP as Y, Su as Yi, sb as Yn, ev as Yr, xE as Yt, jP as Z, bu as Zi, Hy as Zn, Y_ as Zr, yE as Zt, ML as _, r_ as _i, CS as _n, Bv as _r, KA as _t, $L as a, Ls as aa, L_ as ai, gw as an, cy as ar, lM as at, kL as b, Xg as bi, sS as bn, Iv as br, IA as bt, XL as c, ds as ca, N_ as ci, lw as cn, oy as cr, Jj as ct, qL as d, A_ as di, nw as dn, $v as dr, Nj as dt, du as ea, W_ as ei, hE as en, hy as er, HM as et, KL as f, E_ as fi, GC as fn, Uv as fr, _j as ft, jL as g, __ as gi, PC as gn, zv as gr, qA as gt, FL as h, y_ as hi, FC as hn, Av as hr, JA as ht, tR as i, Ms as ia, B_ as ii, _w as in, fy as ir, uM as it, fI as j, ug as ji, Cx as jn, _v as jr, pO as jt, wI as k, vg as ki, Ox as kn, bv as kr, Lk as kt, YL as l, fs as la, M_ as li, cw as ln, ey as lr, Uj as lt, LL as m, S_ as mi, zC as mn, Hv as mr, $A as mt, rR as n, Bs as na, U_ as ni, Ow as nn, py as nr, fM as nt, QL as o, Ss as oa, F_ as oi, hw as on, ly as or, Qj as ot, GL as p, C_ as pi, VC as pn, Vv as pr, tj as pt, XP as q, Du as qi, Sb as qn, $_ as qr, YE as qt, eR as r, Ps as ra, V_ as ri, Sw as rn, by as rr, dM as rt, ZL as s, vs as sa, P_ as si, fw as sn, iy as sr, Zj as st, nR as t, Cc as ta, H_ as ti, mE as tn, gy as tr, xM as tt, JL as u, j_ as ui, sw as un, ty as ur, Lj as ut, PL as v, e_ as vi, xS as vn, Pv as vr, HA as vt, mL as w, Vg as wi, Wx as wn, Lv as wr, gA as wt, AL as x, Kg as xi, iS as xn, Fv as xr, FA as xt, NL as y, Zg as yi, hS as yn, Rv as yr, zA as yt, LF as z, Df as zi, Pb as zn, mv as zr, rO as zt };
|