@viglet/viglet-design-system 2026.3.8 → 2026.3.10

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 (105) hide show
  1. package/README.md +213 -16
  2. package/dist/badge-locale-Bij94NwL.cjs +1 -0
  3. package/dist/{badge-locale-BxI9TwkE.js → badge-locale-Du41PpLA.js} +183 -229
  4. package/dist/bento/bento-back-to-top.d.ts.map +1 -1
  5. package/dist/bento/bento-command-palette.d.ts +47 -12
  6. package/dist/bento/bento-command-palette.d.ts.map +1 -1
  7. package/dist/bento/bento-form-section.d.ts +7 -1
  8. package/dist/bento/bento-form-section.d.ts.map +1 -1
  9. package/dist/bento/bento-inline-edit.d.ts.map +1 -1
  10. package/dist/bento/bento-nav-rail.d.ts.map +1 -1
  11. package/dist/bento/bento-nav.d.ts +10 -2
  12. package/dist/bento/bento-nav.d.ts.map +1 -1
  13. package/dist/bento/bento-section-chrome.d.ts +5 -0
  14. package/dist/bento/bento-section-chrome.d.ts.map +1 -1
  15. package/dist/bento/bento-status-marker.d.ts.map +1 -1
  16. package/dist/bento/bento-tile.d.ts.map +1 -1
  17. package/dist/bento/index.d.ts +1 -1
  18. package/dist/bento/index.d.ts.map +1 -1
  19. package/dist/bento.cjs +1 -1
  20. package/dist/bento.es.js +473 -413
  21. package/dist/{breadcrumb.context-CGqjI0-U.js → breadcrumb.context-BssgEydx.js} +251 -239
  22. package/dist/breadcrumb.context-DLsiMS59.cjs +1 -0
  23. package/dist/components/app-switcher.d.ts.map +1 -1
  24. package/dist/components/badge-colorful.d.ts +9 -0
  25. package/dist/components/badge-colorful.d.ts.map +1 -1
  26. package/dist/components/login/login.d.ts.map +1 -1
  27. package/dist/components/router/grid.list.d.ts.map +1 -1
  28. package/dist/components/router/index.d.ts +1 -1
  29. package/dist/components/router/index.d.ts.map +1 -1
  30. package/dist/components/router/sticky.page.header.d.ts.map +1 -1
  31. package/dist/components/router/sub.page.d.ts.map +1 -1
  32. package/dist/components/router/sub.page.header.d.ts.map +1 -1
  33. package/dist/components/startup-first/startup-first.d.ts.map +1 -1
  34. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  35. package/dist/components/ui/dialog.d.ts.map +1 -1
  36. package/dist/components/ui/floating-formulas-bg.d.ts.map +1 -1
  37. package/dist/components/ui/glass-card.d.ts +10 -5
  38. package/dist/components/ui/glass-card.d.ts.map +1 -1
  39. package/dist/components/ui/icon-picker-dialog.d.ts.map +1 -1
  40. package/dist/components/ui/index.d.ts +6 -4
  41. package/dist/components/ui/index.d.ts.map +1 -1
  42. package/dist/components/ui/navigation-menu.d.ts +14 -0
  43. package/dist/components/ui/navigation-menu.d.ts.map +1 -1
  44. package/dist/components/ui/pagination.d.ts.map +1 -1
  45. package/dist/components/ui/pulse-ring.d.ts.map +1 -1
  46. package/dist/components/ui/resizable.d.ts.map +1 -1
  47. package/dist/components/ui/sheet.d.ts.map +1 -1
  48. package/dist/components/ui/sidebar.d.ts.map +1 -1
  49. package/dist/components/ui/sonner.d.ts +12 -0
  50. package/dist/components/ui/sonner.d.ts.map +1 -1
  51. package/dist/components/ui/stepper.d.ts.map +1 -1
  52. package/dist/components/ui/viglet-assistant.d.ts +60 -0
  53. package/dist/components/ui/viglet-assistant.d.ts.map +1 -0
  54. package/dist/components/ui/viglet-avatar.d.ts +42 -0
  55. package/dist/components/ui/viglet-avatar.d.ts.map +1 -0
  56. package/dist/exports.json +24 -5
  57. package/dist/floating-formulas-bg.cjs +1 -1
  58. package/dist/floating-formulas-bg.es.js +56 -55
  59. package/dist/hooks/index.d.ts +1 -0
  60. package/dist/hooks/index.d.ts.map +1 -1
  61. package/dist/hooks/use-assistant-notifications.d.ts +15 -0
  62. package/dist/hooks/use-assistant-notifications.d.ts.map +1 -0
  63. package/dist/i18n/index.d.ts +102 -0
  64. package/dist/i18n/index.d.ts.map +1 -1
  65. package/dist/i18n/locales/en/assistant.json.d.ts +22 -0
  66. package/dist/i18n/locales/en/bento.json.d.ts +5 -2
  67. package/dist/i18n/locales/en/common.json.d.ts +15 -1
  68. package/dist/i18n/locales/en/dialog.json.d.ts +2 -1
  69. package/dist/i18n/locales/en/language.json.d.ts +8 -0
  70. package/dist/i18n/locales/en/sidebar.json.d.ts +4 -1
  71. package/dist/i18n/locales/pt/assistant.json.d.ts +22 -0
  72. package/dist/i18n/locales/pt/bento.json.d.ts +5 -2
  73. package/dist/i18n/locales/pt/common.json.d.ts +15 -1
  74. package/dist/i18n/locales/pt/dialog.json.d.ts +2 -1
  75. package/dist/i18n/locales/pt/language.json.d.ts +8 -0
  76. package/dist/i18n/locales/pt/sidebar.json.d.ts +4 -1
  77. package/dist/i18n.cjs +1 -1
  78. package/dist/i18n.es.js +478 -2
  79. package/dist/index.cjs +1 -1
  80. package/dist/index.d.ts +0 -1
  81. package/dist/index.d.ts.map +1 -1
  82. package/dist/index.es.js +1318 -696
  83. package/dist/loading-provider-B6-R2ONB.cjs +1 -0
  84. package/dist/{loading-provider-CMnOuvdR.js → loading-provider-E3fbcekM.js} +33 -32
  85. package/dist/preset.css +3 -1
  86. package/dist/router.cjs +1 -1
  87. package/dist/router.es.js +135 -134
  88. package/dist/{user.context-kPAqKN4o.js → user.context-CPmUBBLa.js} +109 -99
  89. package/dist/user.context-xsJgPpcO.cjs +1 -0
  90. package/dist/utils-Fk5jmzzb.js +41 -0
  91. package/dist/utils-Oagwe_oa.cjs +1 -0
  92. package/dist/viglet-design-system.css +1 -1
  93. package/dist/vite/boot-loader.d.ts +33 -2
  94. package/dist/vite/boot-loader.d.ts.map +1 -1
  95. package/dist/vite.cjs +16 -5
  96. package/dist/vite.es.js +27 -14
  97. package/docs/BENTO-AUTHORING.md +20 -2
  98. package/docs/reference/grounds.dc.html +9 -9
  99. package/package.json +4 -3
  100. package/dist/badge-locale-sIsBdP_e.cjs +0 -7
  101. package/dist/breadcrumb.context-DYeZEC65.cjs +0 -1
  102. package/dist/i18n-DoNdMLEd.cjs +0 -1
  103. package/dist/i18n-DuNITbWa.js +0 -398
  104. package/dist/loading-provider-1mgM91iY.cjs +0 -1
  105. package/dist/user.context-r50nSWER.cjs +0 -1
package/dist/exports.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viglet/viglet-design-system",
3
- "version": "2026.3.8",
3
+ "version": "2026.3.10",
4
4
  "generatedBy": "scripts/emit-exports.mjs",
5
5
  "entries": {
6
6
  ".": {
@@ -116,6 +116,9 @@
116
116
  "Popover",
117
117
  "PopoverAnchor",
118
118
  "PopoverContent",
119
+ "PopoverDescription",
120
+ "PopoverHeader",
121
+ "PopoverTitle",
119
122
  "PopoverTrigger",
120
123
  "Progress",
121
124
  "PulseRing",
@@ -197,6 +200,8 @@
197
200
  "UserMenu",
198
201
  "UserProvider",
199
202
  "VigletAppSwitcher",
203
+ "VigletAssistant",
204
+ "VigletAvatar",
200
205
  "badgeVariants",
201
206
  "buttonVariants",
202
207
  "cn",
@@ -206,15 +211,16 @@
206
211
  "getLocaleCountryCode",
207
212
  "getUserInitials",
208
213
  "gradientButtonVariants",
209
- "initVigI18n",
214
+ "gradientSwitchVariants",
210
215
  "navigationMenuTriggerStyle",
211
- "registerVigTranslations",
212
216
  "reportBackendOffline",
213
217
  "reportBackendOnline",
218
+ "sectionCardColorVariants",
214
219
  "setupAxiosInterceptors",
215
220
  "toast",
216
221
  "toggleVariants",
217
222
  "truncateMiddle",
223
+ "useAssistantNotifications",
218
224
  "useBackendStatus",
219
225
  "useBreadcrumb",
220
226
  "useBreadcrumbOptional",
@@ -224,13 +230,14 @@
224
230
  "useGridAdapter",
225
231
  "useIsMobile",
226
232
  "useSidebar",
233
+ "useSidebarOptional",
227
234
  "useSubPageBreadcrumb",
228
- "useTheme",
229
- "vigDesignSystemTranslations"
235
+ "useTheme"
230
236
  ],
231
237
  "types": [
232
238
  "AppSwitcherItem",
233
239
  "AppSwitcherProps",
240
+ "AssistantNotifications",
234
241
  "FloatingFormulasBgProps",
235
242
  "GlassCardProps",
236
243
  "IconPickerDialogProps",
@@ -239,6 +246,10 @@
239
246
  "LoginFeaturePillProps",
240
247
  "LoginRootProps",
241
248
  "PulseRingProps",
249
+ "SectionCardColorVariant",
250
+ "SectionCardContentProps",
251
+ "SectionCardHeaderProps",
252
+ "SectionCardStaticHeaderProps",
242
253
  "StartupFirstHintProps",
243
254
  "StartupFirstRootProps",
244
255
  "StartupFirstStepsProps",
@@ -253,6 +264,10 @@
253
264
  "VigUser",
254
265
  "VigletAppSwitcherProps",
255
266
  "VigletAppSwitcherUrls",
267
+ "VigletAssistantMessage",
268
+ "VigletAssistantProps",
269
+ "VigletAvatarProps",
270
+ "VigletAvatarState",
256
271
  "VigletProduct"
257
272
  ]
258
273
  },
@@ -301,7 +316,9 @@
301
316
  "BentoActionTone",
302
317
  "BentoActionsMenuItem",
303
318
  "BentoActionsMenuProps",
319
+ "BentoCommandPaletteGroup",
304
320
  "BentoCommandPaletteProps",
321
+ "BentoCommandPaletteResult",
305
322
  "BentoCountTileProps",
306
323
  "BentoEmphasis",
307
324
  "BentoEmptyStateProps",
@@ -380,6 +397,8 @@
380
397
  "SubPageHeader"
381
398
  ],
382
399
  "types": [
400
+ "InternalSidebarCount",
401
+ "NavMainItem",
383
402
  "VigBlockedByItem",
384
403
  "VigGridItemActionProps"
385
404
  ]
@@ -1 +1 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react"),t=require("react/jsx-runtime");var n=[[480,.25],[640,.35],[768,.5],[1024,.7]];function r(){let e=window.innerWidth;for(let[t,r]of n)if(e<t)return r;return 1}function i(e){return window.addEventListener(`resize`,e,{passive:!0}),()=>window.removeEventListener(`resize`,e)}function a(){return(0,e.useSyncExternalStore)(i,r,()=>1)}var o=`H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂`.split(`.`),s=[`ff-drift-a`,`ff-drift-b`,`ff-drift-c`,`ff-drift-d`,`ff-drift-e`],c=[{top:`8%`,left:`6%`,size:80,duration:18,delay:-2,drift:`ff-drift-b`,opacity:.3,path:`M10,40 L40,20 L70,40 M40,20 L40,5 M40,20 L25,8 M40,20 L55,8`},{top:`22%`,left:`75%`,size:100,duration:22,delay:-5,drift:`ff-drift-a`,opacity:.25,path:`M20,50 L50,30 L80,50 M50,30 L50,10 M20,50 L20,70 M80,50 L80,70 M50,30 L35,15 M50,30 L65,15`},{top:`60%`,left:`85%`,size:70,duration:16,delay:-1,drift:`ff-drift-b`,opacity:.28,path:`M15,35 L35,15 L55,35 L35,55 Z M35,15 L35,5 M55,35 L65,35`},{top:`70%`,left:`12%`,size:90,duration:20,delay:-4,drift:`ff-drift-a`,opacity:.25,path:`M10,45 L45,25 L80,45 M45,25 L45,5 M10,45 L10,65 M80,45 L80,65`},{top:`5%`,left:`42%`,size:60,duration:15,delay:-3,drift:`ff-drift-c`,opacity:.22,path:`M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40`},{top:`45%`,left:`3%`,size:75,duration:19,delay:-6,drift:`ff-drift-a`,opacity:.25,path:`M20,40 L40,20 L60,40 M40,20 L40,5 M20,40 L5,50 M60,40 L75,50 M40,5 L30,0 M40,5 L50,0`},{top:`78%`,left:`52%`,size:85,duration:21,delay:-2,drift:`ff-drift-b`,opacity:.22,path:`M15,45 L42,20 L70,45 M42,20 L42,5 M15,45 L30,60 M70,45 L55,60`},{top:`32%`,left:`92%`,size:65,duration:17,delay:-5,drift:`ff-drift-a`,opacity:.25,path:`M10,35 L32,15 L55,35 M32,15 L32,3 M10,35 L10,50`},{top:`15%`,left:`28%`,size:70,duration:19,delay:-1,drift:`ff-drift-c`,opacity:.25,path:`M10,35 L35,10 L60,35 M35,10 L35,0 M10,35 L0,50 M60,35 L70,50`},{top:`50%`,left:`35%`,size:65,duration:16,delay:-7,drift:`ff-drift-b`,opacity:.2,path:`M10,30 L30,10 L50,30 L30,50 Z M30,10 L30,0`},{top:`40%`,left:`60%`,size:80,duration:20,delay:-3,drift:`ff-drift-a`,opacity:.22,path:`M15,40 L40,15 L65,40 M40,15 L40,3 M15,40 L5,55 M65,40 L75,55 M40,15 L28,5 M40,15 L52,5`},{top:`85%`,left:`78%`,size:60,duration:15,delay:-6,drift:`ff-drift-b`,opacity:.22,path:`M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40`}];function l(e){let t=e;return()=>(t=(t*16807+0)%2147483647,(t-1)/2147483646)}function u(e){let t=new Set;for(let n of e)for(let e of n.split(/[\s_-]+/)){let n=e.trim();n.length>0&&t.add(n)}return Array.from(t)}function d(e){if(!e)return null;let t=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());if(t){let[,e,n,r]=t;return`${Number.parseInt(e+e,16)}, ${Number.parseInt(n+n,16)}, ${Number.parseInt(r+r,16)}`}let n=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e.trim());if(n){let[,e,t,r]=n;return`${Number.parseInt(e,16)}, ${Number.parseInt(t,16)}, ${Number.parseInt(r,16)}`}return null}function f(e){return e<.4?1:e<.8?2:3}function p(e){let t=2166136261;for(let n of e)for(let e=0;e<n.length;e+=1)t^=n.charCodeAt(e),t=Math.imul(t,16777619);return Math.abs(t)%2147483646+1}function m(e,t){let n=[...e];for(let e=n.length-1;e>0;--e){let r=Math.floor(t()*(e+1));[n[e],n[r]]=[n[r],n[e]]}return n}function h(e,t,n){let r=l(n);return m(e,r).slice(0,t).map(e=>({text:e,top:`${r()*85+2}%`,left:`${r()*88+2}%`,size:.8+r()*1.2,duration:10+r()*20,delay:-(r()*20),drift:s[Math.floor(r()*s.length)],opacity:.2+r()*.35}))}function g({itemCount:n=35,extraTokens:r,seed:i,color:s,colorDark:l,withFormulas:m=!0,withBonds:g=!0,withOrbs:_=!0,withLightning:v=!1,withExplosion:y=!1,withGrid:b=!0,motionPaused:x=!1,className:S}){let C=a(),w=Math.max(4,Math.round(n*C)),T=(0,e.useMemo)(()=>c.slice(0,Math.max(2,Math.round(c.length*C))),[C]),E=f(C),D=(0,e.useMemo)(()=>{let e=[...o,...r?u(r):[]];return h(e,w,i??p(e))},[w,r,i]),O={};s&&(O[`--ff-color`]=s),l?O[`--ff-color-dark`]=l:s&&(O[`--ff-color-dark`]=s);let k=d(s);k&&(O[`--ff-color-rgb`]=k);let A=d(l)??k;return A&&(O[`--ff-color-dark-rgb`]=A),(0,t.jsxs)(`div`,{className:`absolute inset-0 pointer-events-none overflow-hidden ${x?`ff-paused`:``} ${S??``}`,style:O,"aria-hidden":`true`,children:[v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--a1`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--a2`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--a3`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--b1`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--b2`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--c1`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--c2`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--c3`}),y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--nuke`}),(0,t.jsx)(`div`,{className:`ff-lightning--flood`})]})]}),_&&(0,t.jsxs)(t.Fragment,{children:[E>=1&&(0,t.jsx)(`div`,{className:`ff-orb ff-orb--1`}),E>=2&&(0,t.jsx)(`div`,{className:`ff-orb ff-orb--2`}),E>=3&&(0,t.jsx)(`div`,{className:`ff-orb ff-orb--3`})]}),b&&(0,t.jsx)(`div`,{className:`ff-grid`}),g&&T.map(e=>(0,t.jsxs)(`svg`,{className:`ff-bond ${e.drift}`,width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,style:{top:e.top,left:e.left,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,opacity:e.opacity},children:[(0,t.jsx)(`path`,{d:e.path,fill:`none`,className:`ff-bond-line`,strokeWidth:`1.5`,strokeLinecap:`round`}),Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e,n)=>(0,t.jsx)(`circle`,{cx:e[1],cy:e[2],r:`2.5`,className:`ff-bond-node`},`node-${n}`))]},`bond-${e.top}-${e.left}`)),m&&D.map(e=>(0,t.jsx)(`span`,{className:`ff-term ${e.drift}`,style:{top:e.top,left:e.left,fontSize:`${e.size}rem`,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,opacity:e.opacity},children:e.text},`f-${e.text}-${e.top}-${e.left}`))]})}exports.FloatingFormulasBg=g;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./utils-Oagwe_oa.cjs");let t=require("react"),n=require("react/jsx-runtime");var r=[[480,.25],[640,.35],[768,.5],[1024,.7]];function i(){let e=window.innerWidth;for(let[t,n]of r)if(e<t)return n;return 1}function a(e){return window.addEventListener(`resize`,e,{passive:!0}),()=>window.removeEventListener(`resize`,e)}function o(){return(0,t.useSyncExternalStore)(a,i,()=>1)}var s=`H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂`.split(`.`),c=[`ff-drift-a`,`ff-drift-b`,`ff-drift-c`,`ff-drift-d`,`ff-drift-e`],l=[{top:`8%`,left:`6%`,size:80,duration:18,delay:-2,drift:`ff-drift-b`,opacity:.3,path:`M10,40 L40,20 L70,40 M40,20 L40,5 M40,20 L25,8 M40,20 L55,8`},{top:`22%`,left:`75%`,size:100,duration:22,delay:-5,drift:`ff-drift-a`,opacity:.25,path:`M20,50 L50,30 L80,50 M50,30 L50,10 M20,50 L20,70 M80,50 L80,70 M50,30 L35,15 M50,30 L65,15`},{top:`60%`,left:`85%`,size:70,duration:16,delay:-1,drift:`ff-drift-b`,opacity:.28,path:`M15,35 L35,15 L55,35 L35,55 Z M35,15 L35,5 M55,35 L65,35`},{top:`70%`,left:`12%`,size:90,duration:20,delay:-4,drift:`ff-drift-a`,opacity:.25,path:`M10,45 L45,25 L80,45 M45,25 L45,5 M10,45 L10,65 M80,45 L80,65`},{top:`5%`,left:`42%`,size:60,duration:15,delay:-3,drift:`ff-drift-c`,opacity:.22,path:`M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40`},{top:`45%`,left:`3%`,size:75,duration:19,delay:-6,drift:`ff-drift-a`,opacity:.25,path:`M20,40 L40,20 L60,40 M40,20 L40,5 M20,40 L5,50 M60,40 L75,50 M40,5 L30,0 M40,5 L50,0`},{top:`78%`,left:`52%`,size:85,duration:21,delay:-2,drift:`ff-drift-b`,opacity:.22,path:`M15,45 L42,20 L70,45 M42,20 L42,5 M15,45 L30,60 M70,45 L55,60`},{top:`32%`,left:`92%`,size:65,duration:17,delay:-5,drift:`ff-drift-a`,opacity:.25,path:`M10,35 L32,15 L55,35 M32,15 L32,3 M10,35 L10,50`},{top:`15%`,left:`28%`,size:70,duration:19,delay:-1,drift:`ff-drift-c`,opacity:.25,path:`M10,35 L35,10 L60,35 M35,10 L35,0 M10,35 L0,50 M60,35 L70,50`},{top:`50%`,left:`35%`,size:65,duration:16,delay:-7,drift:`ff-drift-b`,opacity:.2,path:`M10,30 L30,10 L50,30 L30,50 Z M30,10 L30,0`},{top:`40%`,left:`60%`,size:80,duration:20,delay:-3,drift:`ff-drift-a`,opacity:.22,path:`M15,40 L40,15 L65,40 M40,15 L40,3 M15,40 L5,55 M65,40 L75,55 M40,15 L28,5 M40,15 L52,5`},{top:`85%`,left:`78%`,size:60,duration:15,delay:-6,drift:`ff-drift-b`,opacity:.22,path:`M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40`}];function u(e){let t=e;return()=>(t=(t*16807+0)%2147483647,(t-1)/2147483646)}function d(e){let t=new Set;for(let n of e)for(let e of n.split(/[\s_-]+/)){let n=e.trim();n.length>0&&t.add(n)}return Array.from(t)}function f(e){if(!e)return null;let t=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());if(t){let[,e,n,r]=t;return`${Number.parseInt(e+e,16)}, ${Number.parseInt(n+n,16)}, ${Number.parseInt(r+r,16)}`}let n=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e.trim());if(n){let[,e,t,r]=n;return`${Number.parseInt(e,16)}, ${Number.parseInt(t,16)}, ${Number.parseInt(r,16)}`}return null}function p(e){return e<.4?1:e<.8?2:3}function m(e){let t=2166136261;for(let n of e)for(let e=0;e<n.length;e+=1)t^=n.charCodeAt(e),t=Math.imul(t,16777619);return Math.abs(t)%2147483646+1}function h(e,t){let n=[...e];for(let e=n.length-1;e>0;--e){let r=Math.floor(t()*(e+1));[n[e],n[r]]=[n[r],n[e]]}return n}function g(e,t,n){let r=u(n);return h(e,r).slice(0,t).map(e=>({text:e,top:`${r()*85+2}%`,left:`${r()*88+2}%`,size:.8+r()*1.2,duration:10+r()*20,delay:-(r()*20),drift:c[Math.floor(r()*c.length)],opacity:.2+r()*.35}))}function _({itemCount:r=35,extraTokens:i,seed:a,color:c,colorDark:u,withFormulas:h=!0,withBonds:_=!0,withOrbs:v=!0,withLightning:y=!1,withExplosion:b=!1,withGrid:x=!0,motionPaused:S=!1,className:C}){let w=o(),T=Math.max(4,Math.round(r*w)),E=(0,t.useMemo)(()=>l.slice(0,Math.max(2,Math.round(l.length*w))),[w]),D=p(w),O=(0,t.useMemo)(()=>{let e=[...s,...i?d(i):[]];return g(e,T,a??m(e))},[T,i,a]),k={};c&&(k[`--ff-color`]=c),u?k[`--ff-color-dark`]=u:c&&(k[`--ff-color-dark`]=c);let A=f(c);A&&(k[`--ff-color-rgb`]=A);let j=f(u)??A;return j&&(k[`--ff-color-dark-rgb`]=j),(0,n.jsxs)(`div`,{className:e.t(`absolute inset-0 pointer-events-none overflow-hidden`,S&&`ff-paused`,C),style:k,"aria-hidden":`true`,children:[y&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--a1`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--a2`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--a3`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--b1`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--b2`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--c1`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--c2`}),(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--c3`}),b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:`ff-lightning ff-lightning--nuke`}),(0,n.jsx)(`div`,{className:`ff-lightning--flood`})]})]}),v&&(0,n.jsxs)(n.Fragment,{children:[D>=1&&(0,n.jsx)(`div`,{className:`ff-orb ff-orb--1`}),D>=2&&(0,n.jsx)(`div`,{className:`ff-orb ff-orb--2`}),D>=3&&(0,n.jsx)(`div`,{className:`ff-orb ff-orb--3`})]}),x&&(0,n.jsx)(`div`,{className:`ff-grid`}),_&&E.map(e=>(0,n.jsxs)(`svg`,{className:`ff-bond ${e.drift}`,width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,style:{top:e.top,left:e.left,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,opacity:e.opacity},children:[(0,n.jsx)(`path`,{d:e.path,fill:`none`,className:`ff-bond-line`,strokeWidth:`1.5`,strokeLinecap:`round`}),Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e,t)=>(0,n.jsx)(`circle`,{cx:e[1],cy:e[2],r:`2.5`,className:`ff-bond-node`},`node-${t}`))]},`bond-${e.top}-${e.left}`)),h&&O.map(e=>(0,n.jsx)(`span`,{className:`ff-term ${e.drift}`,style:{top:e.top,left:e.left,fontSize:`${e.size}rem`,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,opacity:e.opacity},children:e.text},`f-${e.text}-${e.top}-${e.left}`))]})}exports.FloatingFormulasBg=_;
@@ -1,31 +1,32 @@
1
1
  "use client";
2
- import { useMemo as e, useSyncExternalStore as t } from "react";
3
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { t as e } from "./utils-Fk5jmzzb.js";
3
+ import { useMemo as t, useSyncExternalStore as n } from "react";
4
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
4
5
  //#region src/components/ui/floating-formulas-bg.tsx
5
- var a = [
6
+ var o = [
6
7
  [480, .25],
7
8
  [640, .35],
8
9
  [768, .5],
9
10
  [1024, .7]
10
11
  ];
11
- function o() {
12
+ function s() {
12
13
  let e = window.innerWidth;
13
- for (let [t, n] of a) if (e < t) return n;
14
+ for (let [t, n] of o) if (e < t) return n;
14
15
  return 1;
15
16
  }
16
- function s(e) {
17
+ function c(e) {
17
18
  return window.addEventListener("resize", e, { passive: !0 }), () => window.removeEventListener("resize", e);
18
19
  }
19
- function c() {
20
- return t(s, o, () => 1);
20
+ function l() {
21
+ return n(c, s, () => 1);
21
22
  }
22
- var l = /* @__PURE__ */ "H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂".split("."), u = [
23
+ var u = /* @__PURE__ */ "H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂".split("."), d = [
23
24
  "ff-drift-a",
24
25
  "ff-drift-b",
25
26
  "ff-drift-c",
26
27
  "ff-drift-d",
27
28
  "ff-drift-e"
28
- ], d = [
29
+ ], f = [
29
30
  {
30
31
  top: "8%",
31
32
  left: "6%",
@@ -147,11 +148,11 @@ var l = /* @__PURE__ */ "H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂S
147
148
  path: "M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40"
148
149
  }
149
150
  ];
150
- function f(e) {
151
+ function p(e) {
151
152
  let t = e;
152
153
  return () => (t = (t * 16807 + 0) % 2147483647, (t - 1) / 2147483646);
153
154
  }
154
- function p(e) {
155
+ function m(e) {
155
156
  let t = /* @__PURE__ */ new Set();
156
157
  for (let n of e) for (let e of n.split(/[\s_-]+/)) {
157
158
  let n = e.trim();
@@ -159,7 +160,7 @@ function p(e) {
159
160
  }
160
161
  return Array.from(t);
161
162
  }
162
- function m(e) {
163
+ function h(e) {
163
164
  if (!e) return null;
164
165
  let t = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());
165
166
  if (t) {
@@ -173,15 +174,15 @@ function m(e) {
173
174
  }
174
175
  return null;
175
176
  }
176
- function h(e) {
177
+ function g(e) {
177
178
  return e < .4 ? 1 : e < .8 ? 2 : 3;
178
179
  }
179
- function g(e) {
180
+ function _(e) {
180
181
  let t = 2166136261;
181
182
  for (let n of e) for (let e = 0; e < n.length; e += 1) t ^= n.charCodeAt(e), t = Math.imul(t, 16777619);
182
183
  return Math.abs(t) % 2147483646 + 1;
183
184
  }
184
- function _(e, t) {
185
+ function v(e, t) {
185
186
  let n = [...e];
186
187
  for (let e = n.length - 1; e > 0; --e) {
187
188
  let r = Math.floor(t() * (e + 1));
@@ -189,55 +190,55 @@ function _(e, t) {
189
190
  }
190
191
  return n;
191
192
  }
192
- function v(e, t, n) {
193
- let r = f(n);
194
- return _(e, r).slice(0, t).map((e) => ({
193
+ function y(e, t, n) {
194
+ let r = p(n);
195
+ return v(e, r).slice(0, t).map((e) => ({
195
196
  text: e,
196
197
  top: `${r() * 85 + 2}%`,
197
198
  left: `${r() * 88 + 2}%`,
198
199
  size: .8 + r() * 1.2,
199
200
  duration: 10 + r() * 20,
200
201
  delay: -(r() * 20),
201
- drift: u[Math.floor(r() * u.length)],
202
+ drift: d[Math.floor(r() * d.length)],
202
203
  opacity: .2 + r() * .35
203
204
  }));
204
205
  }
205
- function y({ itemCount: t = 35, extraTokens: a, seed: o, color: s, colorDark: u, withFormulas: f = !0, withBonds: _ = !0, withOrbs: y = !0, withLightning: b = !1, withExplosion: x = !1, withGrid: S = !0, motionPaused: C = !1, className: w }) {
206
- let T = c(), E = Math.max(4, Math.round(t * T)), D = e(() => d.slice(0, Math.max(2, Math.round(d.length * T))), [T]), O = h(T), k = e(() => {
207
- let e = [...l, ...a ? p(a) : []];
208
- return v(e, E, o ?? g(e));
206
+ function b({ itemCount: n = 35, extraTokens: o, seed: s, color: c, colorDark: d, withFormulas: p = !0, withBonds: v = !0, withOrbs: b = !0, withLightning: x = !1, withExplosion: S = !1, withGrid: C = !0, motionPaused: w = !1, className: T }) {
207
+ let E = l(), D = Math.max(4, Math.round(n * E)), O = t(() => f.slice(0, Math.max(2, Math.round(f.length * E))), [E]), k = g(E), A = t(() => {
208
+ let e = [...u, ...o ? m(o) : []];
209
+ return y(e, D, s ?? _(e));
209
210
  }, [
210
- E,
211
- a,
212
- o
213
- ]), A = {};
214
- s && (A["--ff-color"] = s), u ? A["--ff-color-dark"] = u : s && (A["--ff-color-dark"] = s);
215
- let j = m(s);
216
- j && (A["--ff-color-rgb"] = j);
217
- let M = m(u) ?? j;
218
- return M && (A["--ff-color-dark-rgb"] = M), /* @__PURE__ */ i("div", {
219
- className: `absolute inset-0 pointer-events-none overflow-hidden ${C ? "ff-paused" : ""} ${w ?? ""}`,
220
- style: A,
211
+ D,
212
+ o,
213
+ s
214
+ ]), j = {};
215
+ c && (j["--ff-color"] = c), d ? j["--ff-color-dark"] = d : c && (j["--ff-color-dark"] = c);
216
+ let M = h(c);
217
+ M && (j["--ff-color-rgb"] = M);
218
+ let N = h(d) ?? M;
219
+ return N && (j["--ff-color-dark-rgb"] = N), /* @__PURE__ */ a("div", {
220
+ className: e("absolute inset-0 pointer-events-none overflow-hidden", w && "ff-paused", T),
221
+ style: j,
221
222
  "aria-hidden": "true",
222
223
  children: [
223
- b && /* @__PURE__ */ i(n, { children: [
224
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--a1" }),
225
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--a2" }),
226
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--a3" }),
227
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--b1" }),
228
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--b2" }),
229
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--c1" }),
230
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--c2" }),
231
- /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--c3" }),
232
- x && /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--nuke" }), /* @__PURE__ */ r("div", { className: "ff-lightning--flood" })] })
224
+ x && /* @__PURE__ */ a(r, { children: [
225
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--a1" }),
226
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--a2" }),
227
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--a3" }),
228
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--b1" }),
229
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--b2" }),
230
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--c1" }),
231
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--c2" }),
232
+ /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--c3" }),
233
+ S && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--nuke" }), /* @__PURE__ */ i("div", { className: "ff-lightning--flood" })] })
233
234
  ] }),
234
- y && /* @__PURE__ */ i(n, { children: [
235
- O >= 1 && /* @__PURE__ */ r("div", { className: "ff-orb ff-orb--1" }),
236
- O >= 2 && /* @__PURE__ */ r("div", { className: "ff-orb ff-orb--2" }),
237
- O >= 3 && /* @__PURE__ */ r("div", { className: "ff-orb ff-orb--3" })
235
+ b && /* @__PURE__ */ a(r, { children: [
236
+ k >= 1 && /* @__PURE__ */ i("div", { className: "ff-orb ff-orb--1" }),
237
+ k >= 2 && /* @__PURE__ */ i("div", { className: "ff-orb ff-orb--2" }),
238
+ k >= 3 && /* @__PURE__ */ i("div", { className: "ff-orb ff-orb--3" })
238
239
  ] }),
239
- S && /* @__PURE__ */ r("div", { className: "ff-grid" }),
240
- _ && D.map((e) => /* @__PURE__ */ i("svg", {
240
+ C && /* @__PURE__ */ i("div", { className: "ff-grid" }),
241
+ v && O.map((e) => /* @__PURE__ */ a("svg", {
241
242
  className: `ff-bond ${e.drift}`,
242
243
  width: e.size,
243
244
  height: e.size,
@@ -249,20 +250,20 @@ function y({ itemCount: t = 35, extraTokens: a, seed: o, color: s, colorDark: u,
249
250
  animationDelay: `${e.delay}s`,
250
251
  opacity: e.opacity
251
252
  },
252
- children: [/* @__PURE__ */ r("path", {
253
+ children: [/* @__PURE__ */ i("path", {
253
254
  d: e.path,
254
255
  fill: "none",
255
256
  className: "ff-bond-line",
256
257
  strokeWidth: "1.5",
257
258
  strokeLinecap: "round"
258
- }), Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e, t) => /* @__PURE__ */ r("circle", {
259
+ }), Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e, t) => /* @__PURE__ */ i("circle", {
259
260
  cx: e[1],
260
261
  cy: e[2],
261
262
  r: "2.5",
262
263
  className: "ff-bond-node"
263
264
  }, `node-${t}`))]
264
265
  }, `bond-${e.top}-${e.left}`)),
265
- f && k.map((e) => /* @__PURE__ */ r("span", {
266
+ p && A.map((e) => /* @__PURE__ */ i("span", {
266
267
  className: `ff-term ${e.drift}`,
267
268
  style: {
268
269
  top: e.top,
@@ -278,4 +279,4 @@ function y({ itemCount: t = 35, extraTokens: a, seed: o, color: s, colorDark: u,
278
279
  });
279
280
  }
280
281
  //#endregion
281
- export { y as FloatingFormulasBg };
282
+ export { b as FloatingFormulasBg };
@@ -2,4 +2,5 @@ export { useIsMobile } from './use-mobile';
2
2
  export { useDateLocale } from './use-date-locale';
3
3
  export { useGridAdapter } from './use-grid-adapter';
4
4
  export { useSubPageBreadcrumb } from './use-sub-page-breadcrumb';
5
+ export { useAssistantNotifications, type AssistantNotifications, } from './use-assistant-notifications';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,yBAAyB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { VigletAvatarState } from '../components/ui/viglet-avatar';
2
+ export interface AssistantNotifications {
3
+ /** What to hand `VigletAssistant` or `VigletAvatar` as `state`. */
4
+ state: VigletAvatarState;
5
+ /**
6
+ * The title of the toast the state came from, when it is a string — the
7
+ * sentence the collapsed dock can type beside itself. A toast rendered as JSX
8
+ * has no sentence to lift, so this is null rather than a guess.
9
+ */
10
+ caption: string | null;
11
+ /** Bump this into `activity` to make the mascot react as toasts arrive. */
12
+ activity: number;
13
+ }
14
+ export declare function useAssistantNotifications(): AssistantNotifications;
15
+ //# sourceMappingURL=use-assistant-notifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-assistant-notifications.d.ts","sourceRoot":"","sources":["../../src/hooks/use-assistant-notifications.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAyCxE,MAAM,WAAW,sBAAsB;IACrC,mEAAmE;IACnE,KAAK,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAUD,wBAAgB,yBAAyB,IAAI,sBAAsB,CAyBlE"}
@@ -11,6 +11,9 @@ export declare const vigDesignSystemTranslations: {
11
11
  sidebar: {
12
12
  indexing: string;
13
13
  new: string;
14
+ toggle: string;
15
+ title: string;
16
+ description: string;
14
17
  };
15
18
  nav: {
16
19
  account: string;
@@ -18,6 +21,9 @@ export declare const vigDesignSystemTranslations: {
18
21
  organizations: string;
19
22
  tenantAdmin: string;
20
23
  };
24
+ language: {
25
+ toggle: string;
26
+ };
21
27
  forms: {
22
28
  common: {
23
29
  saveChanges: string;
@@ -107,6 +113,7 @@ export declare const vigDesignSystemTranslations: {
107
113
  permanentDelete: string;
108
114
  typeToConfirm: string;
109
115
  toConfirm: string;
116
+ close: string;
110
117
  };
111
118
  common: {
112
119
  save: string;
@@ -126,6 +133,20 @@ export declare const vigDesignSystemTranslations: {
126
133
  idleToggleHint: string;
127
134
  docs: string;
128
135
  apps: string;
136
+ more: string;
137
+ morePages: string;
138
+ breadcrumb: string;
139
+ pagination: string;
140
+ previous: string;
141
+ next: string;
142
+ goToPreviousPage: string;
143
+ goToNextPage: string;
144
+ stepOf: string;
145
+ notifications: string;
146
+ mainNavigation: string;
147
+ readyToSubmit: string;
148
+ completeAllSteps: string;
149
+ closeAppSwitcher: string;
129
150
  };
130
151
  backendStatus: {
131
152
  offline: string;
@@ -149,6 +170,8 @@ export declare const vigDesignSystemTranslations: {
149
170
  open: string;
150
171
  noResults: string;
151
172
  opensConsole: string;
173
+ areas: string;
174
+ searching: string;
152
175
  };
153
176
  saveBar: {
154
177
  unsaved: string;
@@ -182,6 +205,24 @@ export declare const vigDesignSystemTranslations: {
182
205
  tour: {
183
206
  replay: string;
184
207
  };
208
+ backToTop: string;
209
+ };
210
+ assistant: {
211
+ open: string;
212
+ collapse: string;
213
+ collapseAction: string;
214
+ state: string;
215
+ idle: string;
216
+ working: string;
217
+ success: string;
218
+ error: string;
219
+ attention: string;
220
+ transcript: string;
221
+ empty: string;
222
+ placeholder: string;
223
+ send: string;
224
+ thinking: string;
225
+ unread: string;
185
226
  };
186
227
  };
187
228
  pt: {
@@ -195,6 +236,9 @@ export declare const vigDesignSystemTranslations: {
195
236
  sidebar: {
196
237
  indexing: string;
197
238
  new: string;
239
+ toggle: string;
240
+ title: string;
241
+ description: string;
198
242
  };
199
243
  nav: {
200
244
  account: string;
@@ -202,6 +246,9 @@ export declare const vigDesignSystemTranslations: {
202
246
  organizations: string;
203
247
  tenantAdmin: string;
204
248
  };
249
+ language: {
250
+ toggle: string;
251
+ };
205
252
  forms: {
206
253
  common: {
207
254
  saveChanges: string;
@@ -291,6 +338,7 @@ export declare const vigDesignSystemTranslations: {
291
338
  permanentDelete: string;
292
339
  typeToConfirm: string;
293
340
  toConfirm: string;
341
+ close: string;
294
342
  };
295
343
  common: {
296
344
  save: string;
@@ -310,6 +358,20 @@ export declare const vigDesignSystemTranslations: {
310
358
  idleToggleHint: string;
311
359
  docs: string;
312
360
  apps: string;
361
+ more: string;
362
+ morePages: string;
363
+ breadcrumb: string;
364
+ pagination: string;
365
+ previous: string;
366
+ next: string;
367
+ goToPreviousPage: string;
368
+ goToNextPage: string;
369
+ stepOf: string;
370
+ notifications: string;
371
+ mainNavigation: string;
372
+ readyToSubmit: string;
373
+ completeAllSteps: string;
374
+ closeAppSwitcher: string;
313
375
  };
314
376
  backendStatus: {
315
377
  offline: string;
@@ -333,6 +395,8 @@ export declare const vigDesignSystemTranslations: {
333
395
  open: string;
334
396
  noResults: string;
335
397
  opensConsole: string;
398
+ areas: string;
399
+ searching: string;
336
400
  };
337
401
  saveBar: {
338
402
  unsaved: string;
@@ -366,17 +430,55 @@ export declare const vigDesignSystemTranslations: {
366
430
  tour: {
367
431
  replay: string;
368
432
  };
433
+ backToTop: string;
434
+ };
435
+ assistant: {
436
+ open: string;
437
+ collapse: string;
438
+ collapseAction: string;
439
+ state: string;
440
+ idle: string;
441
+ working: string;
442
+ success: string;
443
+ error: string;
444
+ attention: string;
445
+ transcript: string;
446
+ empty: string;
447
+ placeholder: string;
448
+ send: string;
449
+ thinking: string;
450
+ unread: string;
369
451
  };
370
452
  };
371
453
  };
372
454
  /**
373
455
  * Initialize i18n with design system translations.
374
456
  * Call this in your app's entry point, optionally merging with app-specific translations.
457
+ *
458
+ * Where a key exists on both sides the product's value wins; where only this
459
+ * package has one, it survives rather than being dropped with its namespace.
460
+ *
461
+ * VDS104 — the languages are the union of both sides, not this package's two.
462
+ *
463
+ * The loop walked `["en", "pt"]`, so a product passing `es` or `fr` was read at
464
+ * neither key and got an instance the language simply did not exist in. Nothing
465
+ * rejected the argument and nothing warned: the call returned normally and the
466
+ * product's own screens read the fallback language. That is VDS94's failure one
467
+ * level up — per language rather than per key — and it has the same answer.
375
468
  */
376
469
  export declare function initVigI18n(appTranslations?: Record<string, Record<string, unknown>>): import('i18next').i18n;
377
470
  /**
378
471
  * Register design system translations into an existing i18n instance.
379
472
  * Useful when the host app already has i18n initialized.
473
+ *
474
+ * A key the host already has is never replaced; one it lacks is filled in. That
475
+ * is `addResourceBundle` with `deep` on and `overwrite` off, in one call per
476
+ * language.
477
+ *
478
+ * VDS94 — this used to add a namespace only where the host had none, so a host
479
+ * with a `common` of its own received none of the package's `common` keys and
480
+ * read the English defaults. Skipping the whole namespace was the bug; the guard
481
+ * it needed is per key, which is what `overwrite: false` already is.
380
482
  */
381
483
  export declare function registerVigTranslations(i18nInstance: typeof i18n): void;
382
484
  export { i18n };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAsB3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBvC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,0BA+BpF;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,OAAO,IAAI,QAWhE;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AA0B3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBvC,CAAC;AA4BF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,0BA8BpF;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,OAAO,IAAI,QAIhE;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,22 @@
1
+ declare const _default: {
2
+ "assistant": {
3
+ "open": "Open the Viglet assistant",
4
+ "collapse": "Collapse the Viglet assistant",
5
+ "collapseAction": "Collapse",
6
+ "state": "System state",
7
+ "idle": "Idle",
8
+ "working": "Working",
9
+ "success": "Done",
10
+ "error": "Action needed",
11
+ "attention": "New activity",
12
+ "transcript": "Conversation with the assistant",
13
+ "empty": "Ask a question about what you are working on.",
14
+ "placeholder": "Talk to Viglet",
15
+ "send": "Send",
16
+ "thinking": "Thinking",
17
+ "unread": "An answer is waiting"
18
+ }
19
+ }
20
+ ;
21
+
22
+ export default _default;
@@ -10,7 +10,9 @@ declare const _default: {
10
10
  "search": "Search",
11
11
  "open": "Open command palette",
12
12
  "noResults": "No matches",
13
- "opensConsole": "Opens outside this shell"
13
+ "opensConsole": "Opens outside this shell",
14
+ "areas": "Areas",
15
+ "searching": "Searching…"
14
16
  },
15
17
  "saveBar": {
16
18
  "unsaved": "Unsaved changes",
@@ -43,7 +45,8 @@ declare const _default: {
43
45
  },
44
46
  "tour": {
45
47
  "replay": "Take the tour"
46
- }
48
+ },
49
+ "backToTop": "Back to top"
47
50
  }
48
51
  }
49
52
  ;
@@ -16,7 +16,21 @@ declare const _default: {
16
16
  "activeToggleHint": "Click to make idle",
17
17
  "idleToggleHint": "Click to activate",
18
18
  "docs": "Documentation",
19
- "apps": "Apps"
19
+ "apps": "Apps",
20
+ "more": "More",
21
+ "morePages": "More pages",
22
+ "breadcrumb": "Breadcrumb",
23
+ "pagination": "Pagination",
24
+ "previous": "Previous",
25
+ "next": "Next",
26
+ "goToPreviousPage": "Go to previous page",
27
+ "goToNextPage": "Go to next page",
28
+ "stepOf": "Step {{index}} of {{count}}",
29
+ "notifications": "Notifications",
30
+ "mainNavigation": "Main navigation",
31
+ "readyToSubmit": "Ready to submit",
32
+ "completeAllSteps": "Complete all steps above",
33
+ "closeAppSwitcher": "Close app switcher"
20
34
  },
21
35
  "backendStatus": {
22
36
  "offline": "Server unavailable. Retrying automatically...",
@@ -8,7 +8,8 @@ declare const _default: {
8
8
  "deleteFeature": "Delete {{feature}}",
9
9
  "permanentDelete": "This will permanently delete {{name}}. This action cannot be undone.",
10
10
  "typeToConfirm": "Type",
11
- "toConfirm": "to confirm"
11
+ "toConfirm": "to confirm",
12
+ "close": "Close"
12
13
  }
13
14
  }
14
15
  ;