@nxgt/material-vue 0.42.0 → 0.43.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.
Files changed (162) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/README.md +18 -5
  3. package/dist/{Button-CWmzvv9p.js → Button-CEvi_i4g.js} +4 -4
  4. package/dist/{HoverCardTrigger-C5AbAyHE.js → HoverCardTrigger-B7m5Zvj1.js} +69 -62
  5. package/dist/backgrounds/backgrounds.css +8 -0
  6. package/dist/backgrounds/css/base.css +169 -0
  7. package/dist/backgrounds/css/gradient.css +53 -0
  8. package/dist/backgrounds/css/grain.css +19 -0
  9. package/dist/backgrounds/css/motion.css +30 -0
  10. package/dist/backgrounds.js +111 -0
  11. package/dist/{camera-C-9slBUV.js → camera-DP3Qfhhc.js} +4 -4
  12. package/dist/{chunk-7M6MHVWA-wgE1MsQ9.js → chunk-7M6MHVWA-DzYWbKT9.js} +1 -1
  13. package/dist/{chunk-GNY47TPC-BByCj-tp.js → chunk-GNY47TPC-D4sl5ZSh.js} +1 -1
  14. package/dist/{classDiagram-v2-NBCMYWYE-LDc3yyTu.js → classDiagram-v2-NBCMYWYE-BtmPeDVI.js} +1 -1
  15. package/dist/components/base.css +5 -2
  16. package/dist/components/components.css +5 -0
  17. package/dist/components/theme-tokens.css +21 -0
  18. package/dist/{components-DX4EycMi.js → components-zm5JC2dA.js} +14077 -13577
  19. package/dist/components.js +8 -8
  20. package/dist/composables.js +3 -3
  21. package/dist/{dagre-6A5THRUB-CCigPI-W.js → dagre-6A5THRUB-CmmqjQ01.js} +1 -1
  22. package/dist/{diagram-22UHCM2B-vav-BOss.js → diagram-22UHCM2B-BYL1soMk.js} +1 -1
  23. package/dist/dnd.js +1 -1
  24. package/dist/{erDiagram-OPXOYQCR-BV3UGLoQ.js → erDiagram-OPXOYQCR-DhNOupcl.js} +1 -1
  25. package/dist/{flowDiagram-KWPJA3E3-B3AfwLQk.js → flowDiagram-KWPJA3E3-_S6NO9vf.js} +2 -2
  26. package/dist/{form-scope-CN68PTXc.js → form-scope-XQGlh8m3.js} +1 -1
  27. package/dist/{i18n-provider-DmZSTBnp.js → i18n-provider-tL27-a8y.js} +1 -1
  28. package/dist/i18n.js +26 -9
  29. package/dist/{icon-button-DErh1aJS.js → icon-button-BNA3fXM2.js} +4 -4
  30. package/dist/lib/backgrounds/background/background.vue.d.ts +22 -0
  31. package/dist/lib/backgrounds/background/index.d.ts +2 -0
  32. package/dist/lib/backgrounds/background/partials/background-layers.vue.d.ts +9 -0
  33. package/dist/lib/backgrounds/background/partials/scene-svg.d.ts +10 -0
  34. package/dist/lib/backgrounds/background/types.d.ts +24 -0
  35. package/dist/lib/backgrounds/index.d.ts +13 -0
  36. package/dist/lib/components/ui/actions/button/button-tones.d.ts +3 -3
  37. package/dist/lib/components/ui/actions/responsive-button/responsive-button.vue.d.ts +3 -3
  38. package/dist/lib/components/ui/collections/data-table/data-table-context.d.ts +4 -0
  39. package/dist/lib/components/ui/collections/data-table/data-table.vue.d.ts +8 -0
  40. package/dist/lib/components/ui/collections/data-table/partials/data-table-body.vue.d.ts +8 -0
  41. package/dist/lib/components/ui/collections/data-table/partials/data-table-empty.vue.d.ts +5 -1
  42. package/dist/lib/components/ui/collections/data-table/partials/data-table-toolbar.d.ts +16 -3
  43. package/dist/lib/components/ui/collections/data-table/select-checkbox.d.ts +36 -0
  44. package/dist/lib/components/ui/collections/data-table/types.d.ts +15 -0
  45. package/dist/lib/components/ui/collections/data-table/use-data-table.d.ts +2 -0
  46. package/dist/lib/components/ui/feedback/circular-progress/circular-progress.vue.d.ts +1 -1
  47. package/dist/lib/components/ui/feedback/empty-state/empty-state.vue.d.ts +21 -8
  48. package/dist/lib/components/ui/feedback/empty-state/index.d.ts +1 -1
  49. package/dist/lib/components/ui/feedback/error-state/error-state.vue.d.ts +54 -0
  50. package/dist/lib/components/ui/feedback/error-state/index.d.ts +3 -0
  51. package/dist/lib/components/ui/feedback/error-state/partials/error-state-details.vue.d.ts +7 -0
  52. package/dist/lib/components/ui/feedback/index.d.ts +1 -0
  53. package/dist/lib/components/ui/feedback/state-frame/state-frame.vue.d.ts +36 -0
  54. package/dist/lib/components/ui/feedback/state-frame/state-icon.vue.d.ts +7 -0
  55. package/dist/lib/components/ui/feedback/state-frame/state-illustration.vue.d.ts +8 -0
  56. package/dist/lib/components/ui/feedback/state-frame/state-tones.d.ts +11 -0
  57. package/dist/lib/components/ui/fields/contacts/consts.d.ts +1 -1
  58. package/dist/lib/components/ui/layout/app-shell/use-truncated-title.d.ts +10 -0
  59. package/dist/lib/components/ui/layout/background/background.vue.d.ts +18 -3
  60. package/dist/lib/components/ui/layout/doc/partials/doc-empty.vue.d.ts +7 -4
  61. package/dist/lib/components/ui/media/stx-player/stx-player-viewport.vue.d.ts +2 -2
  62. package/dist/lib/components/ui/overlays/command/CommandSeparator.vue.d.ts +3 -1
  63. package/dist/lib/components/ui/overlays/dialog/in-dialog.d.ts +1 -1
  64. package/dist/lib/components/ui/overlays/dialog/use-escape-forward.d.ts +13 -0
  65. package/dist/lib/components/ui/overlays/dialog/use-modal-content.d.ts +2 -0
  66. package/dist/lib/components/ui/primitives/nonce-provider/nonce-provider.vue.d.ts +4 -1
  67. package/dist/lib/components/ui/selection/autocomplete/autocomplete-keyboard.d.ts +22 -4
  68. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-box.vue.d.ts +6 -2
  69. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-list.vue.d.ts +7 -0
  70. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-active.d.ts +17 -0
  71. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-keydown.d.ts +21 -0
  72. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete-open.d.ts +3 -3
  73. package/dist/lib/components/ui/selection/autocomplete/use-autocomplete.d.ts +2 -1
  74. package/dist/lib/components/ui/selection/autocomplete/use-drawer-room.d.ts +11 -0
  75. package/dist/lib/components/ui/selection/autocomplete/use-query-change.d.ts +8 -0
  76. package/dist/lib/components/ui/widgets/charts/chart-container.vue.d.ts +2 -2
  77. package/dist/lib/components/ui/widgets/kanban/partials/kanban-empty.vue.d.ts +1 -0
  78. package/dist/lib/composables/use-background-activity.d.ts +8 -0
  79. package/dist/lib/i18n/resources/en/en.d.ts +24 -0
  80. package/dist/lib/i18n/resources/en/material.json.d.ts +25 -1
  81. package/dist/lib/i18n/resources/fr/fr.d.ts +24 -0
  82. package/dist/lib/i18n/resources/fr/material.json.d.ts +25 -1
  83. package/dist/lib/i18n/resources/resources.d.ts +48 -0
  84. package/dist/lib/i18n/translator.d.ts +1 -1
  85. package/dist/lib/lib/index.d.ts +1 -0
  86. package/dist/lib/lib/is-production.d.ts +11 -0
  87. package/dist/lib/nuxt/component-names.d.ts +1 -1
  88. package/dist/lib/nuxt/module.d.ts +2 -11
  89. package/dist/lib/nuxt/pdf-fonts.d.ts +1 -1
  90. package/dist/lib/nuxt/plugin-options.d.ts +58 -0
  91. package/dist/lib/vite/index.d.ts +4 -8
  92. package/dist/lib.js +52 -51
  93. package/dist/main.js +17 -17
  94. package/dist/map.js +4 -4
  95. package/dist/material-vue.css +1 -1
  96. package/dist/{merge-BzRhCAF6.js → merge-CUkhQBjf.js} +1 -1
  97. package/dist/{mermaid.core-B2ydTQ4X.js → mermaid.core-B70hvAGW.js} +11 -11
  98. package/dist/{mindmap-definition-NLK3R4M7-DCb99I7s.js → mindmap-definition-NLK3R4M7-B59LL3gV.js} +1 -1
  99. package/dist/{pdf-outline-sidebar-BU4o_hBI.js → pdf-outline-sidebar-ChDcGkbS.js} +2 -2
  100. package/dist/{pdf-page-anNe78Lc.js → pdf-page-DFvf3lsq.js} +1 -1
  101. package/dist/{pdf-page-list-CSY76HH6.js → pdf-page-list-K-ncOHkY.js} +2 -2
  102. package/dist/{pdf-reader-BhZNrW7R.js → pdf-reader-BPq6yCdy.js} +15 -15
  103. package/dist/{pdf-sidebar-DcIpG7eh.js → pdf-sidebar-divDHLe7.js} +3 -3
  104. package/dist/{pdf-thumbnail-sidebar-CUC0V4if.js → pdf-thumbnail-sidebar-C8XMXCq0.js} +4 -4
  105. package/dist/{pdf-toolbar-C373S-ul.js → pdf-toolbar-DQdedyLO.js} +4 -4
  106. package/dist/pdf.js +2 -2
  107. package/dist/{print-format.utils-C81c0weJ.js → print-format.utils-DutRk52h.js} +2 -2
  108. package/dist/{requirementDiagram-PLB6GJNP-DnkvMOW6.js → requirementDiagram-PLB6GJNP-BvzdTtRf.js} +1 -1
  109. package/dist/{sortable-provider-CL2UGGn8.js → sortable-provider-CwnKfRFb.js} +2 -2
  110. package/dist/{stateDiagram-v2-GCMORJYK-BCh7NZQn.js → stateDiagram-v2-GCMORJYK-VPagBr-W.js} +1 -1
  111. package/dist/{stored-language-Wtcj2HsU.js → stored-language-DVP9KzRu.js} +50 -2
  112. package/dist/{stx-player-CMmM3F5Z.js → stx-player-NiBlUGm4.js} +12 -12
  113. package/dist/styles.css +4 -0
  114. package/dist/{swimlanesDiagram-TC7HE7FX-D4-k5-iq.js → swimlanesDiagram-TC7HE7FX-BA-757S-.js} +2 -2
  115. package/dist/{translator-D5Dp-dob.js → translator-Dpfm1mAC.js} +171 -159
  116. package/dist/use-background-activity-DdTBbNpX.js +17 -0
  117. package/dist/{use-heading-spy-BIBHtUXN.js → use-heading-spy-jn8f2ioE.js} +13 -13
  118. package/dist/{use-material-translation-COoBTGpB.js → use-material-translation-CHacJbhU.js} +3 -3
  119. package/dist/{usecaseDiagram-POWQR4AR-Bi5we59l.js → usecaseDiagram-POWQR4AR-1f4iixDN.js} +1 -1
  120. package/dist/vite.js +7 -2
  121. package/docs/README.md +3 -0
  122. package/docs/components/buttons-and-actions.md +2 -0
  123. package/docs/components/data-table-filter-and-lists.md +59 -8
  124. package/docs/components/feedback-and-status.md +79 -8
  125. package/docs/components/media-and-files.md +2 -0
  126. package/docs/components/navigation-and-layout.md +13 -5
  127. package/docs/components/overlays-and-menus.md +20 -3
  128. package/docs/components/primitives.md +5 -3
  129. package/docs/components/rich-widgets.md +1 -1
  130. package/docs/components/selection-and-choice.md +14 -4
  131. package/docs/getting-started.md +22 -3
  132. package/docs/guides/app-shell.md +1 -1
  133. package/docs/guides/backgrounds.md +143 -0
  134. package/docs/guides/csp.md +48 -6
  135. package/docs/guides/helpers.md +1 -0
  136. package/docs/guides/i18n.md +51 -1
  137. package/docs/guides/migrate-to-vite-plugin.md +259 -0
  138. package/docs/guides/pdf.md +11 -4
  139. package/docs/guides/ssr.md +1 -1
  140. package/docs/guides/theming.md +52 -4
  141. package/docs/guides/vite-plugin.md +194 -0
  142. package/docs/previews/backgrounds-matrix.webp +0 -0
  143. package/docs/previews/feedback-status-emptystate.webp +0 -0
  144. package/docs/previews/feedback-status-errorstate.webp +0 -0
  145. package/docs/roadmap.md +60 -32
  146. package/docs/troubleshooting.md +251 -7
  147. package/lib/backgrounds/backgrounds.css +8 -0
  148. package/lib/backgrounds/css/base.css +169 -0
  149. package/lib/backgrounds/css/gradient.css +53 -0
  150. package/lib/backgrounds/css/grain.css +19 -0
  151. package/lib/backgrounds/css/motion.css +30 -0
  152. package/lib/components/base.css +5 -2
  153. package/lib/components/components.css +5 -0
  154. package/lib/components/theme-tokens.css +21 -0
  155. package/lib/nuxt/component-names.ts +1 -0
  156. package/lib/nuxt/module.ts +29 -15
  157. package/lib/nuxt/pdf-fonts.ts +1 -1
  158. package/lib/nuxt/plugin-options.ts +92 -0
  159. package/lib/nuxt/runtime/inter.css +6 -0
  160. package/lib/styles.css +4 -0
  161. package/lib/vite/index.ts +19 -2
  162. package/package.json +24 -2
@@ -77,4 +77,4 @@ var L = w(function(e, t, n) {
77
77
  I(e, t, n);
78
78
  });
79
79
  //#endregion
80
- export { C as n, L as t };
80
+ export { j as n, C as r, L as t };
@@ -10,7 +10,7 @@ import "./chunk-7INBJB4K-OheKRjIZ.js";
10
10
  import "./chunk-5DYCD2WN-4BDKWc4g.js";
11
11
  import "./chunk-Z7XXMR3K-DdnrI6vA.js";
12
12
  import "./chunk-UA2S7LBM-DN55-gzN.js";
13
- import { n as me } from "./chunk-GNY47TPC-BByCj-tp.js";
13
+ import { n as me } from "./chunk-GNY47TPC-D4sl5ZSh.js";
14
14
  import { n as he, t as ge } from "./chunk-LNGE3PJU-DJjGTS7O.js";
15
15
  //#region ../../node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs
16
16
  function _e(e) {
@@ -302,7 +302,7 @@ var qe = "c4", Je = {
302
302
  id: Ye,
303
303
  detector: /* @__PURE__ */ e((e) => /^\s*(graph|flowchart)/.test(e), "detector"),
304
304
  loader: /* @__PURE__ */ e(async () => {
305
- let { diagram: e } = await import("./flowDiagram-KWPJA3E3-B3AfwLQk.js");
305
+ let { diagram: e } = await import("./flowDiagram-KWPJA3E3-_S6NO9vf.js");
306
306
  return {
307
307
  id: Ye,
308
308
  diagram: e
@@ -312,7 +312,7 @@ var qe = "c4", Je = {
312
312
  id: Ze,
313
313
  detector: /* @__PURE__ */ e((e) => /^\s*agentflow-beta\b/.test(e), "detector"),
314
314
  loader: /* @__PURE__ */ e(async () => {
315
- let { diagram: e } = await import("./diagram-22UHCM2B-vav-BOss.js");
315
+ let { diagram: e } = await import("./diagram-22UHCM2B-BYL1soMk.js");
316
316
  return {
317
317
  id: Ze,
318
318
  diagram: e
@@ -322,7 +322,7 @@ var qe = "c4", Je = {
322
322
  id: $e,
323
323
  detector: /* @__PURE__ */ e((e) => /^\s*swimlane-beta\b/.test(e), "detector"),
324
324
  loader: /* @__PURE__ */ e(async () => {
325
- let { diagram: e } = await import("./swimlanesDiagram-TC7HE7FX-D4-k5-iq.js");
325
+ let { diagram: e } = await import("./swimlanesDiagram-TC7HE7FX-BA-757S-.js");
326
326
  return {
327
327
  id: $e,
328
328
  diagram: e
@@ -332,7 +332,7 @@ var qe = "c4", Je = {
332
332
  id: tt,
333
333
  detector: /* @__PURE__ */ e((e) => /^\s*erDiagram/.test(e), "detector"),
334
334
  loader: /* @__PURE__ */ e(async () => {
335
- let { diagram: e } = await import("./erDiagram-OPXOYQCR-BV3UGLoQ.js");
335
+ let { diagram: e } = await import("./erDiagram-OPXOYQCR-DhNOupcl.js");
336
336
  return {
337
337
  id: tt,
338
338
  diagram: e
@@ -402,7 +402,7 @@ var qe = "c4", Je = {
402
402
  id: ht,
403
403
  detector: /* @__PURE__ */ e((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
404
404
  loader: /* @__PURE__ */ e(async () => {
405
- let { diagram: e } = await import("./requirementDiagram-PLB6GJNP-DnkvMOW6.js");
405
+ let { diagram: e } = await import("./requirementDiagram-PLB6GJNP-BvzdTtRf.js");
406
406
  return {
407
407
  id: ht,
408
408
  diagram: e
@@ -422,7 +422,7 @@ var qe = "c4", Je = {
422
422
  id: yt,
423
423
  detector: /* @__PURE__ */ e((e) => /^\s*classDiagram/.test(e), "detector"),
424
424
  loader: /* @__PURE__ */ e(async () => {
425
- let { diagram: e } = await import("./classDiagram-v2-NBCMYWYE-LDc3yyTu.js");
425
+ let { diagram: e } = await import("./classDiagram-v2-NBCMYWYE-BtmPeDVI.js");
426
426
  return {
427
427
  id: yt,
428
428
  diagram: e
@@ -432,7 +432,7 @@ var qe = "c4", Je = {
432
432
  id: xt,
433
433
  detector: /* @__PURE__ */ e((e) => /^\s*stateDiagram/.test(e), "detector"),
434
434
  loader: /* @__PURE__ */ e(async () => {
435
- let { diagram: e } = await import("./stateDiagram-v2-GCMORJYK-BCh7NZQn.js");
435
+ let { diagram: e } = await import("./stateDiagram-v2-GCMORJYK-VPagBr-W.js");
436
436
  return {
437
437
  id: xt,
438
438
  diagram: e
@@ -460,7 +460,7 @@ var qe = "c4", Je = {
460
460
  id: Ot,
461
461
  detector: /* @__PURE__ */ e((e, t = {}) => /^\s*flowchart-elk/.test(e) ? (t.layout = "elk", !0) : !1, "detector"),
462
462
  loader: /* @__PURE__ */ e(async () => {
463
- let { diagram: e } = await import("./flowDiagram-KWPJA3E3-B3AfwLQk.js");
463
+ let { diagram: e } = await import("./flowDiagram-KWPJA3E3-_S6NO9vf.js");
464
464
  return {
465
465
  id: Ot,
466
466
  diagram: e
@@ -480,7 +480,7 @@ var qe = "c4", Je = {
480
480
  id: Mt,
481
481
  detector: /* @__PURE__ */ e((e) => /^\s*mindmap/.test(e), "detector"),
482
482
  loader: /* @__PURE__ */ e(async () => {
483
- let { diagram: e } = await import("./mindmap-definition-NLK3R4M7-DCb99I7s.js");
483
+ let { diagram: e } = await import("./mindmap-definition-NLK3R4M7-B59LL3gV.js");
484
484
  return {
485
485
  id: Mt,
486
486
  diagram: e
@@ -600,7 +600,7 @@ var qe = "c4", Je = {
600
600
  id: nn,
601
601
  detector: /* @__PURE__ */ e((e) => /^\s*usecase-beta(?:\s|$)/.test(e), "detector"),
602
602
  loader: /* @__PURE__ */ e(async () => {
603
- let { diagram: e } = await import("./usecaseDiagram-POWQR4AR-Bi5we59l.js");
603
+ let { diagram: e } = await import("./usecaseDiagram-POWQR4AR-1f4iixDN.js");
604
604
  return {
605
605
  id: nn,
606
606
  diagram: e
@@ -11,7 +11,7 @@ import "./chunk-Z7XXMR3K-DdnrI6vA.js";
11
11
  import { t as u } from "./chunk-XXDRQBXY-B9ckANit.js";
12
12
  import { t as d } from "./chunk-WEXAMYUT-DufdZ2tS.js";
13
13
  import "./chunk-UA2S7LBM-DN55-gzN.js";
14
- import { r as f, t as p } from "./chunk-GNY47TPC-BByCj-tp.js";
14
+ import { r as f, t as p } from "./chunk-GNY47TPC-D4sl5ZSh.js";
15
15
  //#region ../../node_modules/uuid/dist/stringify.js
16
16
  var m = [];
17
17
  for (let e = 0; e < 256; ++e) m.push((e + 256).toString(16).slice(1));
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./rolldown-runtime-CWhphoD1.js";
2
2
  import { t } from "./utils-CykWQ0iJ.js";
3
- import { Rf as n } from "./components-DX4EycMi.js";
4
- import { t as r } from "./use-material-translation-COoBTGpB.js";
3
+ import { Rf as n } from "./components-zm5JC2dA.js";
4
+ import { t as r } from "./use-material-translation-CHacJbhU.js";
5
5
  import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
6
6
  //#region lib/components/ui/media/pdf-viewer/partials/pdf-outline-row.vue?vue&type=script&setup=true&lang.ts
7
7
  var y = {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { qp as t } from "./components-DX4EycMi.js";
2
+ import { qp as t } from "./components-zm5JC2dA.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeClass as l, normalizeStyle as u, onBeforeUnmount as d, openBlock as f, ref as p, shallowRef as m, unref as h, watch as g } from "vue";
4
4
  import { DEFAULT_PAGE_SIZE as _, escapeHtml as v, findTextMatches as y, highlightItemHtml as b, placeholderSize as x, rotatedSize as S } from "@nxgt/material-core/pdf-viewer";
5
5
  //#region lib/components/ui/media/pdf-viewer/pdf-note-icons.ts
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./rolldown-runtime-CWhphoD1.js";
2
- import { Rf as t } from "./components-DX4EycMi.js";
3
- import { t as n } from "./pdf-page-anNe78Lc.js";
2
+ import { Rf as t } from "./components-zm5JC2dA.js";
3
+ import { t as n } from "./pdf-page-DFvf3lsq.js";
4
4
  import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, defineComponent as s, openBlock as c, renderList as l, withCtx as u } from "vue";
5
5
  //#region lib/components/ui/media/pdf-viewer/partials/pdf-page-list.vue?vue&type=script&setup=true&lang.ts
6
6
  var d = { class: "flex flex-col items-center gap-4 px-4 py-4" }, f = /*@__PURE__*/ s({
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { kn as t } from "./components-DX4EycMi.js";
3
- import { t as n } from "./use-material-translation-COoBTGpB.js";
4
- import { t as r } from "./Button-CWmzvv9p.js";
5
- import { o as i } from "./HoverCardTrigger-C5AbAyHE.js";
6
- import { n as a } from "./pdf-page-anNe78Lc.js";
7
- import { t as o } from "./pdf-page-list-CSY76HH6.js";
8
- import { t as s } from "./pdf-sidebar-DcIpG7eh.js";
9
- import { t as c } from "./pdf-toolbar-C373S-ul.js";
2
+ import { kn as t } from "./components-zm5JC2dA.js";
3
+ import { t as n } from "./use-material-translation-CHacJbhU.js";
4
+ import { t as r } from "./Button-CEvi_i4g.js";
5
+ import { o as i } from "./HoverCardTrigger-B7m5Zvj1.js";
6
+ import { n as a } from "./pdf-page-DFvf3lsq.js";
7
+ import { t as o } from "./pdf-page-list-K-ncOHkY.js";
8
+ import { t as s } from "./pdf-sidebar-divDHLe7.js";
9
+ import { t as c } from "./pdf-toolbar-DQdedyLO.js";
10
10
  import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, nextTick as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, reactive as S, ref as C, shallowRef as w, toDisplayString as T, toRef as E, unref as D, useId as O, watch as k, withCtx as A } from "vue";
11
11
  import { AlertCircle as j, FileX2 as M, KeyRound as N, Loader2 as P } from "@lucide/vue";
12
12
  import { pdfSourceKey as F, toPdfjsParams as I } from "@nxgt/material-core/pdf-source";
@@ -150,7 +150,7 @@ var ae = { class: "absolute inset-0 flex flex-col items-center justify-center ga
150
150
  __name: "pdf-loading-overlay",
151
151
  setup(e) {
152
152
  let { t } = n();
153
- return (e, n) => (x(), f("div", le, [h(D(P), { class: "size-8 animate-spin text-primary" }), p("p", ue, T(D(t)("material.pdf-reader.loading", "Loading document…")), 1)]));
153
+ return (e, n) => (x(), f("div", le, [h(D(P), { class: "size-8 animate-spin text-primary-text" }), p("p", ue, T(D(t)("material.pdf-reader.loading", "Loading document…")), 1)]));
154
154
  }
155
155
  }), fe = { class: "absolute inset-0 flex flex-col items-center justify-center gap-4" }, pe = { class: "text-sm font-semibold" }, me = ["id"], he = /* @__PURE__ */ g({
156
156
  __name: "pdf-password-form",
@@ -168,7 +168,7 @@ var ae = { class: "absolute inset-0 flex flex-col items-center justify-center ga
168
168
  e.key === "Enter" && o("submit");
169
169
  }
170
170
  return (t, n) => (x(), f("div", fe, [
171
- h(D(N), { class: "size-10 text-primary opacity-70" }),
171
+ h(D(N), { class: "size-10 text-primary-text opacity-70" }),
172
172
  p("p", pe, T(D(s)("material.pdf-reader.password", "Password protected")), 1),
173
173
  p("div", {
174
174
  ref_key: "fields",
@@ -362,11 +362,11 @@ function Q(e) {
362
362
  u(() => clearTimeout(f));
363
363
  }, { flush: "post" }), k(t, (t, o, s) => {
364
364
  if (!t) return;
365
- let c = L(() => e.containerRef.value, () => e.pageRefs, (t) => {
366
- a && te(e.pageRefs.get(a)) || (i(), n = t, e.goToPage(t));
367
- });
368
- r = c, n > 1 && c.hold(), s(() => {
369
- c.stop(), r = null;
365
+ let c = () => te(e.pageRefs.get(a)), l = L(() => e.containerRef.value, () => e.pageRefs, (t) => {
366
+ a && c() || (i(), n = t, e.goToPage(t));
367
+ }, { readerPosition: () => !a || c() });
368
+ r = l, n > 1 && l.hold(), s(() => {
369
+ l.stop(), r = null;
370
370
  });
371
371
  }), k(e.currentPage, (a) => {
372
372
  if (!t.value || e.numPages() === 0 || a === n) return;
@@ -1,8 +1,8 @@
1
1
  import { n as e } from "./rolldown-runtime-CWhphoD1.js";
2
2
  import { t } from "./utils-CykWQ0iJ.js";
3
- import { t as n } from "./use-material-translation-COoBTGpB.js";
4
- import { t as r } from "./pdf-outline-sidebar-BU4o_hBI.js";
5
- import { t as i } from "./pdf-thumbnail-sidebar-CUC0V4if.js";
3
+ import { t as n } from "./use-material-translation-CHacJbhU.js";
4
+ import { t as r } from "./pdf-outline-sidebar-ChDcGkbS.js";
5
+ import { t as i } from "./pdf-thumbnail-sidebar-C8XMXCq0.js";
6
6
  import { createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, toDisplayString as d, unref as f, useId as p, useTemplateRef as m } from "vue";
7
7
  //#region lib/components/ui/media/pdf-viewer/partials/pdf-sidebar.vue?vue&type=script&setup=true&lang.ts
8
8
  var h = ["aria-label"], g = ["aria-label"], _ = [
@@ -1,8 +1,8 @@
1
1
  import { n as e } from "./rolldown-runtime-CWhphoD1.js";
2
2
  import { t } from "./utils-CykWQ0iJ.js";
3
- import { Rf as n } from "./components-DX4EycMi.js";
4
- import { t as r } from "./use-material-translation-COoBTGpB.js";
5
- import { t as i } from "./pdf-page-anNe78Lc.js";
3
+ import { Rf as n } from "./components-zm5JC2dA.js";
4
+ import { t as r } from "./use-material-translation-CHacJbhU.js";
5
+ import { t as i } from "./pdf-page-DFvf3lsq.js";
6
6
  import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
7
7
  //#region lib/components/ui/media/pdf-viewer/partials/pdf-thumbnail-sidebar.vue?vue&type=script&setup=true&lang.ts
8
8
  var _ = ["aria-label"], v = {
@@ -56,7 +56,7 @@ var _ = ["aria-label"], v = {
56
56
  "rotation",
57
57
  "page-size",
58
58
  "eager"
59
- ])]), c("span", { class: d(h(t)("text-xs font-medium transition-colors", e.currentPage === n ? "text-primary" : "text-muted-foreground")) }, m(n), 3)], 10, b))), 128))])]),
59
+ ])]), c("span", { class: d(h(t)("text-xs font-medium transition-colors", e.currentPage === n ? "text-primary-text" : "text-muted-foreground")) }, m(n), 3)], 10, b))), 128))])]),
60
60
  _: 1
61
61
  })], 10, _));
62
62
  }
@@ -1,10 +1,10 @@
1
1
  import { n as e } from "./rolldown-runtime-CWhphoD1.js";
2
2
  import { t } from "./utils-CykWQ0iJ.js";
3
- import { t as n } from "./use-material-translation-COoBTGpB.js";
4
- import { f as r } from "./Button-CWmzvv9p.js";
5
- import { t as i } from "./icon-button-DErh1aJS.js";
3
+ import { t as n } from "./use-material-translation-CHacJbhU.js";
4
+ import { f as r } from "./Button-CEvi_i4g.js";
5
+ import { t as i } from "./icon-button-BNA3fXM2.js";
6
6
  import { a, i as o, n as s, o as c, r as l, t as u } from "./DropdownMenuTrigger-C7uYPf_9.js";
7
- import { o as d } from "./HoverCardTrigger-C5AbAyHE.js";
7
+ import { o as d } from "./HoverCardTrigger-B7m5Zvj1.js";
8
8
  import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, nextTick as x, normalizeClass as S, openBlock as C, ref as w, renderList as T, toDisplayString as E, unref as D, useTemplateRef as O, watch as k, withCtx as A } from "vue";
9
9
  import { ChevronDown as j, ChevronLeft as M, ChevronRight as N, ChevronUp as P, Download as F, Maximize2 as I, Minimize2 as L, Moon as R, Printer as z, RotateCw as B, Search as V, Sidebar as H, ZoomIn as U, ZoomOut as W } from "@lucide/vue";
10
10
  //#region lib/components/ui/media/pdf-viewer/partials/pdf-toolbar-search.vue?vue&type=script&setup=true&lang.ts
package/dist/pdf.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./use-material-translation-COoBTGpB.js";
2
- import { t as n } from "./Button-CWmzvv9p.js";
1
+ import { n as e, t } from "./use-material-translation-CHacJbhU.js";
2
+ import { t as n } from "./Button-CEvi_i4g.js";
3
3
  import { computed as r, createBlock as i, createTextVNode as a, defineComponent as o, getCurrentInstance as s, nextTick as c, onMounted as l, onScopeDispose as u, openBlock as d, ref as f, renderSlot as p, shallowRef as m, toDisplayString as ee, toValue as h, unref as g, watch as te, withCtx as ne } from "vue";
4
4
  import { contentDisposition as re, pdfBytesResponse as ie, toWebStream as ae } from "@nxgt/material-core/pdf/http";
5
5
  import { badge as oe, dataTable as se, defaultPdfTheme as ce, definePdfDocument as _, divider as v, header as y, heading as b, image as x, keyValue as S, keyValueOf as C, link as w, metric as T, page as E, pageBreak as D, pageNumber as O, pdfDocument as k, resolvePdfColor as A, resolvePdfTheme as j, row as M, section as N, spacer as P, stack as F, table as I, text as L, totals as R } from "@nxgt/material-core/pdf/model";
@@ -1,5 +1,5 @@
1
- import { i as e, r as t, t as n } from "./stored-language-Wtcj2HsU.js";
2
- import { r } from "./translator-D5Dp-dob.js";
1
+ import { i as e, r as t, t as n } from "./stored-language-DVP9KzRu.js";
2
+ import { r } from "./translator-Dpfm1mAC.js";
3
3
  import { t as i } from "./_baseIsEqual-BUD8VQJE.js";
4
4
  import { E as a } from "./number.utils-C1eB3GDr.js";
5
5
  import { defineComponent as o, getCurrentInstance as s, h as c, inject as l, provide as u, useId as d } from "vue";
@@ -12,7 +12,7 @@ import "./chunk-Z7XXMR3K-DdnrI6vA.js";
12
12
  import { t as _ } from "./chunk-XXDRQBXY-B9ckANit.js";
13
13
  import { t as v } from "./chunk-WEXAMYUT-DufdZ2tS.js";
14
14
  import "./chunk-UA2S7LBM-DN55-gzN.js";
15
- import { r as y, t as b } from "./chunk-GNY47TPC-BByCj-tp.js";
15
+ import { r as y, t as b } from "./chunk-GNY47TPC-D4sl5ZSh.js";
16
16
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-PLB6GJNP.mjs
17
17
  var x = (function() {
18
18
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { t } from "./use-material-translation-COoBTGpB.js";
3
- import { t as n } from "./icon-button-DErh1aJS.js";
2
+ import { t } from "./use-material-translation-CHacJbhU.js";
3
+ import { t as n } from "./icon-button-BNA3fXM2.js";
4
4
  import { Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeStyle as f, onUnmounted as p, openBlock as m, provide as h, reactive as g, ref as _, renderSlot as v, toValue as y, unref as b, useAttrs as x, watch as S, watchEffect as C, withCtx as w, withModifiers as T } from "vue";
5
5
  import { GripVertical as E } from "@lucide/vue";
6
6
  import { Primitive as D } from "reka-ui";
@@ -13,7 +13,7 @@ import { t as y } from "./chunk-GWA4HPMP-hjyItnXu.js";
13
13
  import { t as b } from "./chunk-XXDRQBXY-B9ckANit.js";
14
14
  import { t as x } from "./chunk-WEXAMYUT-DufdZ2tS.js";
15
15
  import "./chunk-UA2S7LBM-DN55-gzN.js";
16
- import { r as S, t as C } from "./chunk-GNY47TPC-BByCj-tp.js";
16
+ import { r as S, t as C } from "./chunk-GNY47TPC-D4sl5ZSh.js";
17
17
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-GCMORJYK.mjs
18
18
  var w = (function() {
19
19
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
@@ -32,9 +32,30 @@ var e = {
32
32
  description: "The service is down for a short update."
33
33
  }
34
34
  },
35
+ "error-state": {
36
+ generic: {
37
+ title: "Something Went Wrong",
38
+ description: "An unexpected error occurred. Please try again later."
39
+ },
40
+ offline: {
41
+ title: "You are offline",
42
+ description: "Check your connection and try again."
43
+ },
44
+ maintenance: {
45
+ title: "We'll be right back",
46
+ description: "The service is down for a short update."
47
+ },
48
+ retry: "Retry",
49
+ details: "Technical details",
50
+ "details-name": "Name",
51
+ "details-message": "Message",
52
+ "details-cause": "Cause"
53
+ },
35
54
  command: {
36
55
  title: "Command Palette",
37
- description: "Search for a command to run..."
56
+ description: "Search for a command to run...",
57
+ empty: "No results",
58
+ list: "Suggestions"
38
59
  },
39
60
  "confirm-dialog": {
40
61
  confirm: "Confirm",
@@ -343,6 +364,8 @@ var e = {
343
364
  "delete-selected-rows": "Delete {count} rows",
344
365
  "toggle-columns": "Toggle columns",
345
366
  "no-data": "No data available",
367
+ "no-results": "No results",
368
+ "no-results-description": "Try a different search or clear the filters.",
346
369
  "select-all": "Select all",
347
370
  "select-row": "Select row",
348
371
  "toggle-row": "Toggle row details",
@@ -594,6 +617,7 @@ var e = {
594
617
  empty: "No document selected",
595
618
  loading: "Loading document…",
596
619
  error: "Failed to load document",
620
+ retry: "Retry",
597
621
  password: "Password protected",
598
622
  "password-placeholder": "Enter password",
599
623
  "password-label": "Password",
@@ -1280,9 +1304,30 @@ var e = {
1280
1304
  description: "Le service est en courte mise à jour."
1281
1305
  }
1282
1306
  },
1307
+ "error-state": {
1308
+ generic: {
1309
+ title: "Une erreur est survenue",
1310
+ description: "Une erreur inattendue s'est produite. Veuillez réessayer plus tard."
1311
+ },
1312
+ offline: {
1313
+ title: "Vous êtes hors ligne",
1314
+ description: "Vérifiez votre connexion et réessayez."
1315
+ },
1316
+ maintenance: {
1317
+ title: "On revient tout de suite",
1318
+ description: "Le service est en courte mise à jour."
1319
+ },
1320
+ retry: "Réessayer",
1321
+ details: "Détails techniques",
1322
+ "details-name": "Nom",
1323
+ "details-message": "Message",
1324
+ "details-cause": "Cause"
1325
+ },
1283
1326
  command: {
1284
1327
  title: "Palette de commandes",
1285
- description: "Recherchez une commande à exécuter..."
1328
+ description: "Recherchez une commande à exécuter...",
1329
+ empty: "Aucun résultat",
1330
+ list: "Commandes suggérées"
1286
1331
  },
1287
1332
  "confirm-dialog": {
1288
1333
  confirm: "Confirmer",
@@ -1591,6 +1636,8 @@ var e = {
1591
1636
  "delete-selected-rows": "Supprimer {count} lignes",
1592
1637
  "toggle-columns": "Basculer les colonnes",
1593
1638
  "no-data": "Données non disponibles",
1639
+ "no-results": "Aucun résultat",
1640
+ "no-results-description": "Essayez une autre recherche ou retirez les filtres.",
1594
1641
  "select-all": "Tout sélectionner",
1595
1642
  "select-row": "Sélectionner la ligne",
1596
1643
  "toggle-row": "Afficher ou masquer les détails de la ligne",
@@ -1842,6 +1889,7 @@ var e = {
1842
1889
  empty: "Aucun document sélectionné",
1843
1890
  loading: "Chargement du document…",
1844
1891
  error: "Impossible de charger le document",
1892
+ retry: "Réessayer",
1845
1893
  password: "Protégé par mot de passe",
1846
1894
  "password-placeholder": "Saisir le mot de passe",
1847
1895
  "password-label": "Mot de passe",
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { $t as t, Jt as n, Qt as r, Xp as i, Xt as a, Yt as o, en as s, tn as c } from "./components-DX4EycMi.js";
3
- import { t as l } from "./use-material-translation-COoBTGpB.js";
2
+ import { $t as t, Jt as n, Qt as r, Xt as i, Yt as a, Zp as o, en as s, tn as c } from "./components-zm5JC2dA.js";
3
+ import { t as l } from "./use-material-translation-CHacJbhU.js";
4
4
  import { createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, normalizeClass as _, openBlock as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
5
5
  //#region lib/components/ui/media/stx-player/partials/stx-player-frame.vue?vue&type=script&setup=true&lang.ts
6
6
  var S = ["data-layout", "aria-label"], C = {
@@ -19,7 +19,7 @@ var S = ["data-layout", "aria-label"], C = {
19
19
  Array
20
20
  ] }
21
21
  },
22
- setup(a) {
22
+ setup(i) {
23
23
  let { containerRef: g, state: w } = c();
24
24
  function T(e) {
25
25
  g.value = e instanceof HTMLElement ? e : null;
@@ -28,17 +28,17 @@ var S = ["data-layout", "aria-label"], C = {
28
28
  return (c, l) => (v(), f("section", {
29
29
  ref: T,
30
30
  "data-slot": "stx-player",
31
- "data-layout": a.layout,
31
+ "data-layout": i.layout,
32
32
  "aria-label": b(w).current?.title ?? b(E)("material.stx-player.label", "Media player"),
33
33
  class: _(b(e)("@container rounded outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50", c.$props.class))
34
- }, [a.layout === "mini" ? (v(), u(r, { key: 0 })) : (v(), f("div", {
34
+ }, [i.layout === "mini" ? (v(), u(r, { key: 0 })) : (v(), f("div", {
35
35
  key: 1,
36
- class: _(b(e)("grid gap-3", a.showQueue && "@min-[768px]:grid-cols-[minmax(0,1fr)_18rem] @min-[768px]:items-stretch"))
36
+ class: _(b(e)("grid gap-3", i.showQueue && "@min-[768px]:grid-cols-[minmax(0,1fr)_18rem] @min-[768px]:items-stretch"))
37
37
  }, [p("div", { class: _(b(e)("bg-card overflow-hidden rounded border", b(w).current?.kind === "audio" && "flex flex-col gap-4 p-6")) }, [
38
- b(w).current?.kind === "audio" ? (v(), f("div", C, [h(i, { variant: "title-medium" }, {
38
+ b(w).current?.kind === "audio" ? (v(), f("div", C, [h(o, { variant: "title-medium" }, {
39
39
  default: x(() => [m(y(b(w).current.title), 1)]),
40
40
  _: 1
41
- }), b(w).current.artist ? (v(), u(i, {
41
+ }), b(w).current.artist ? (v(), u(o, {
42
42
  key: 0,
43
43
  class: "text-muted-foreground"
44
44
  }, {
@@ -62,7 +62,7 @@ var S = ["data-layout", "aria-label"], C = {
62
62
  trailing: x(() => [h(t, { tone: "surface" })]),
63
63
  _: 1
64
64
  })) : d("", !0)
65
- ], 2), a.showQueue ? (v(), u(o, {
65
+ ], 2), i.showQueue ? (v(), u(a, {
66
66
  key: 0,
67
67
  class: "min-h-72"
68
68
  })) : d("", !0)], 2))], 10, S));
@@ -99,16 +99,16 @@ var S = ["data-layout", "aria-label"], C = {
99
99
  emits: ["trackChange"],
100
100
  setup(e, { emit: t }) {
101
101
  let n = e, r = t;
102
- function i(e, t) {
102
+ function a(e, t) {
103
103
  n.onTrackChange?.(e, t), r("trackChange", e, t);
104
104
  }
105
- return (t, r) => (v(), u(a, {
105
+ return (t, r) => (v(), u(i, {
106
106
  tracks: e.tracks,
107
107
  "current-index": e.currentIndex,
108
108
  "default-index": e.defaultIndex,
109
109
  "auto-play": e.autoPlay,
110
110
  loop: e.loop,
111
- "on-track-change": i
111
+ "on-track-change": a
112
112
  }, {
113
113
  default: x(() => [h(w, {
114
114
  layout: e.layout,
package/dist/styles.css CHANGED
@@ -34,10 +34,14 @@
34
34
  --color-popover-foreground: var(--popover-foreground);
35
35
  --color-primary: var(--primary);
36
36
  --color-primary-foreground: var(--primary-foreground);
37
+ --color-primary-text: var(--primary-text);
37
38
  --color-primary-container: --alpha(var(--primary-foreground) / 20%);
38
39
  --color-secondary: var(--secondary);
39
40
  --color-secondary-foreground: var(--secondary-foreground);
40
41
  --color-secondary-container: --alpha(var(--secondary-foreground) / 20%);
42
+ --color-tertiary: var(--tertiary);
43
+ --color-tertiary-foreground: var(--tertiary-foreground);
44
+ --color-tertiary-container: --alpha(var(--tertiary) / 20%);
41
45
  --color-muted: var(--muted);
42
46
  --color-muted-foreground: var(--muted-foreground);
43
47
  --color-track: var(--track);
@@ -12,9 +12,9 @@ import "./chunk-GWA4HPMP-hjyItnXu.js";
12
12
  import "./chunk-XXDRQBXY-B9ckANit.js";
13
13
  import "./chunk-WEXAMYUT-DufdZ2tS.js";
14
14
  import "./chunk-UA2S7LBM-DN55-gzN.js";
15
- import "./chunk-GNY47TPC-BByCj-tp.js";
15
+ import "./chunk-GNY47TPC-D4sl5ZSh.js";
16
16
  import "./chunk-LNGE3PJU-DJjGTS7O.js";
17
- import { r as t, t as n } from "./chunk-7M6MHVWA-wgE1MsQ9.js";
17
+ import { r as t, t as n } from "./chunk-7M6MHVWA-DzYWbKT9.js";
18
18
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-TC7HE7FX.mjs
19
19
  var r = n({ styles: /* @__PURE__ */ e((e) => `${t(e)}
20
20
  .swimlane.cluster:not([data-color-id]) rect {