@viglet/viglet-design-system 2026.3.9 → 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.
- package/README.md +213 -16
- package/dist/badge-locale-Bij94NwL.cjs +1 -0
- package/dist/{badge-locale-CoEEv7s5.js → badge-locale-Du41PpLA.js} +183 -231
- package/dist/bento/bento-command-palette.d.ts +47 -12
- package/dist/bento/bento-command-palette.d.ts.map +1 -1
- package/dist/bento/bento-form-section.d.ts +7 -1
- package/dist/bento/bento-form-section.d.ts.map +1 -1
- package/dist/bento/bento-inline-edit.d.ts.map +1 -1
- package/dist/bento/bento-nav-rail.d.ts.map +1 -1
- package/dist/bento/bento-nav.d.ts +10 -2
- package/dist/bento/bento-nav.d.ts.map +1 -1
- package/dist/bento/bento-section-chrome.d.ts +5 -0
- package/dist/bento/bento-section-chrome.d.ts.map +1 -1
- package/dist/bento/bento-status-marker.d.ts.map +1 -1
- package/dist/bento/bento-tile.d.ts.map +1 -1
- package/dist/bento/index.d.ts +1 -1
- package/dist/bento/index.d.ts.map +1 -1
- package/dist/bento.cjs +1 -1
- package/dist/bento.es.js +464 -404
- package/dist/{breadcrumb.context-KQut7j8U.js → breadcrumb.context-BssgEydx.js} +229 -220
- package/dist/breadcrumb.context-DLsiMS59.cjs +1 -0
- package/dist/components/app-switcher.d.ts.map +1 -1
- package/dist/components/badge-colorful.d.ts +9 -0
- package/dist/components/badge-colorful.d.ts.map +1 -1
- package/dist/components/login/login.d.ts.map +1 -1
- package/dist/components/router/index.d.ts +1 -1
- package/dist/components/router/index.d.ts.map +1 -1
- package/dist/components/router/sub.page.d.ts.map +1 -1
- package/dist/components/startup-first/startup-first.d.ts.map +1 -1
- package/dist/components/ui/floating-formulas-bg.d.ts.map +1 -1
- package/dist/components/ui/glass-card.d.ts +10 -5
- package/dist/components/ui/glass-card.d.ts.map +1 -1
- package/dist/components/ui/icon-picker-dialog.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +6 -4
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +14 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/pulse-ring.d.ts.map +1 -1
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sonner.d.ts +12 -0
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/components/ui/stepper.d.ts.map +1 -1
- package/dist/components/ui/viglet-assistant.d.ts +60 -0
- package/dist/components/ui/viglet-assistant.d.ts.map +1 -0
- package/dist/components/ui/viglet-avatar.d.ts +42 -0
- package/dist/components/ui/viglet-avatar.d.ts.map +1 -0
- package/dist/exports.json +24 -5
- package/dist/floating-formulas-bg.cjs +1 -1
- package/dist/floating-formulas-bg.es.js +56 -55
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/use-assistant-notifications.d.ts +15 -0
- package/dist/hooks/use-assistant-notifications.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +74 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/locales/en/assistant.json.d.ts +22 -0
- package/dist/i18n/locales/en/bento.json.d.ts +3 -1
- package/dist/i18n/locales/en/common.json.d.ts +6 -1
- package/dist/i18n/locales/en/language.json.d.ts +8 -0
- package/dist/i18n/locales/pt/assistant.json.d.ts +22 -0
- package/dist/i18n/locales/pt/bento.json.d.ts +3 -1
- package/dist/i18n/locales/pt/common.json.d.ts +6 -1
- package/dist/i18n/locales/pt/language.json.d.ts +8 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.es.js +478 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1311 -698
- package/dist/loading-provider-B6-R2ONB.cjs +1 -0
- package/dist/{loading-provider-BWWhhfEn.js → loading-provider-E3fbcekM.js} +24 -23
- package/dist/router.cjs +1 -1
- package/dist/router.es.js +4 -4
- package/dist/{user.context-D1PxP4D4.js → user.context-CPmUBBLa.js} +97 -87
- package/dist/user.context-xsJgPpcO.cjs +1 -0
- package/dist/utils-Fk5jmzzb.js +41 -0
- package/dist/utils-Oagwe_oa.cjs +1 -0
- package/dist/viglet-design-system.css +1 -1
- package/dist/vite/boot-loader.d.ts +33 -2
- package/dist/vite/boot-loader.d.ts.map +1 -1
- package/dist/vite.cjs +16 -5
- package/dist/vite.es.js +27 -14
- package/docs/BENTO-AUTHORING.md +20 -2
- package/docs/reference/grounds.dc.html +9 -9
- package/package.json +4 -3
- package/dist/badge-locale-hQyWhAKe.cjs +0 -7
- package/dist/breadcrumb.context-Vwc3lAlf.cjs +0 -1
- package/dist/i18n-DD3rQOWi.js +0 -426
- package/dist/i18n-DrBq-qJJ.cjs +0 -1
- package/dist/loading-provider-CmeMqLGk.cjs +0 -1
- package/dist/user.context-B9vIBzY5.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
|
|
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 {
|
|
3
|
-
import {
|
|
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
|
|
6
|
+
var o = [
|
|
6
7
|
[480, .25],
|
|
7
8
|
[640, .35],
|
|
8
9
|
[768, .5],
|
|
9
10
|
[1024, .7]
|
|
10
11
|
];
|
|
11
|
-
function
|
|
12
|
+
function s() {
|
|
12
13
|
let e = window.innerWidth;
|
|
13
|
-
for (let [t, n] of
|
|
14
|
+
for (let [t, n] of o) if (e < t) return n;
|
|
14
15
|
return 1;
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
+
function c(e) {
|
|
17
18
|
return window.addEventListener("resize", e, { passive: !0 }), () => window.removeEventListener("resize", e);
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
-
return
|
|
20
|
+
function l() {
|
|
21
|
+
return n(c, s, () => 1);
|
|
21
22
|
}
|
|
22
|
-
var
|
|
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
|
-
],
|
|
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
|
|
151
|
+
function p(e) {
|
|
151
152
|
let t = e;
|
|
152
153
|
return () => (t = (t * 16807 + 0) % 2147483647, (t - 1) / 2147483646);
|
|
153
154
|
}
|
|
154
|
-
function
|
|
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
|
|
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
|
|
177
|
+
function g(e) {
|
|
177
178
|
return e < .4 ? 1 : e < .8 ? 2 : 3;
|
|
178
179
|
}
|
|
179
|
-
function
|
|
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
|
|
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
|
|
193
|
-
let r =
|
|
194
|
-
return
|
|
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:
|
|
202
|
+
drift: d[Math.floor(r() * d.length)],
|
|
202
203
|
opacity: .2 + r() * .35
|
|
203
204
|
}));
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
-
let
|
|
207
|
-
let e = [...
|
|
208
|
-
return
|
|
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
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
]),
|
|
214
|
-
|
|
215
|
-
let
|
|
216
|
-
|
|
217
|
-
let
|
|
218
|
-
return
|
|
219
|
-
className:
|
|
220
|
-
style:
|
|
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
|
-
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
/* @__PURE__ */
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
|
|
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
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
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
|
-
|
|
240
|
-
|
|
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__ */
|
|
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__ */
|
|
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
|
-
|
|
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 {
|
|
282
|
+
export { b as FloatingFormulasBg };
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -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"}
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -21,6 +21,9 @@ export declare const vigDesignSystemTranslations: {
|
|
|
21
21
|
organizations: string;
|
|
22
22
|
tenantAdmin: string;
|
|
23
23
|
};
|
|
24
|
+
language: {
|
|
25
|
+
toggle: string;
|
|
26
|
+
};
|
|
24
27
|
forms: {
|
|
25
28
|
common: {
|
|
26
29
|
saveChanges: string;
|
|
@@ -139,6 +142,11 @@ export declare const vigDesignSystemTranslations: {
|
|
|
139
142
|
goToPreviousPage: string;
|
|
140
143
|
goToNextPage: string;
|
|
141
144
|
stepOf: string;
|
|
145
|
+
notifications: string;
|
|
146
|
+
mainNavigation: string;
|
|
147
|
+
readyToSubmit: string;
|
|
148
|
+
completeAllSteps: string;
|
|
149
|
+
closeAppSwitcher: string;
|
|
142
150
|
};
|
|
143
151
|
backendStatus: {
|
|
144
152
|
offline: string;
|
|
@@ -162,6 +170,8 @@ export declare const vigDesignSystemTranslations: {
|
|
|
162
170
|
open: string;
|
|
163
171
|
noResults: string;
|
|
164
172
|
opensConsole: string;
|
|
173
|
+
areas: string;
|
|
174
|
+
searching: string;
|
|
165
175
|
};
|
|
166
176
|
saveBar: {
|
|
167
177
|
unsaved: string;
|
|
@@ -197,6 +207,23 @@ export declare const vigDesignSystemTranslations: {
|
|
|
197
207
|
};
|
|
198
208
|
backToTop: string;
|
|
199
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;
|
|
226
|
+
};
|
|
200
227
|
};
|
|
201
228
|
pt: {
|
|
202
229
|
theme: {
|
|
@@ -219,6 +246,9 @@ export declare const vigDesignSystemTranslations: {
|
|
|
219
246
|
organizations: string;
|
|
220
247
|
tenantAdmin: string;
|
|
221
248
|
};
|
|
249
|
+
language: {
|
|
250
|
+
toggle: string;
|
|
251
|
+
};
|
|
222
252
|
forms: {
|
|
223
253
|
common: {
|
|
224
254
|
saveChanges: string;
|
|
@@ -337,6 +367,11 @@ export declare const vigDesignSystemTranslations: {
|
|
|
337
367
|
goToPreviousPage: string;
|
|
338
368
|
goToNextPage: string;
|
|
339
369
|
stepOf: string;
|
|
370
|
+
notifications: string;
|
|
371
|
+
mainNavigation: string;
|
|
372
|
+
readyToSubmit: string;
|
|
373
|
+
completeAllSteps: string;
|
|
374
|
+
closeAppSwitcher: string;
|
|
340
375
|
};
|
|
341
376
|
backendStatus: {
|
|
342
377
|
offline: string;
|
|
@@ -360,6 +395,8 @@ export declare const vigDesignSystemTranslations: {
|
|
|
360
395
|
open: string;
|
|
361
396
|
noResults: string;
|
|
362
397
|
opensConsole: string;
|
|
398
|
+
areas: string;
|
|
399
|
+
searching: string;
|
|
363
400
|
};
|
|
364
401
|
saveBar: {
|
|
365
402
|
unsaved: string;
|
|
@@ -395,16 +432,53 @@ export declare const vigDesignSystemTranslations: {
|
|
|
395
432
|
};
|
|
396
433
|
backToTop: string;
|
|
397
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;
|
|
451
|
+
};
|
|
398
452
|
};
|
|
399
453
|
};
|
|
400
454
|
/**
|
|
401
455
|
* Initialize i18n with design system translations.
|
|
402
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.
|
|
403
468
|
*/
|
|
404
469
|
export declare function initVigI18n(appTranslations?: Record<string, Record<string, unknown>>): import('i18next').i18n;
|
|
405
470
|
/**
|
|
406
471
|
* Register design system translations into an existing i18n instance.
|
|
407
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.
|
|
408
482
|
*/
|
|
409
483
|
export declare function registerVigTranslations(i18nInstance: typeof i18n): void;
|
|
410
484
|
export { i18n };
|
package/dist/i18n/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,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",
|
|
@@ -25,7 +25,12 @@ declare const _default: {
|
|
|
25
25
|
"next": "Next",
|
|
26
26
|
"goToPreviousPage": "Go to previous page",
|
|
27
27
|
"goToNextPage": "Go to next page",
|
|
28
|
-
"stepOf": "Step {{index}} of {{count}}"
|
|
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"
|
|
29
34
|
},
|
|
30
35
|
"backendStatus": {
|
|
31
36
|
"offline": "Server unavailable. Retrying automatically...",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"assistant": {
|
|
3
|
+
"open": "Abrir o assistente Viglet",
|
|
4
|
+
"collapse": "Recolher o assistente Viglet",
|
|
5
|
+
"collapseAction": "Recolher",
|
|
6
|
+
"state": "Estado do sistema",
|
|
7
|
+
"idle": "Estável",
|
|
8
|
+
"working": "Processando",
|
|
9
|
+
"success": "Concluído",
|
|
10
|
+
"error": "Ação necessária",
|
|
11
|
+
"attention": "Nova entrada",
|
|
12
|
+
"transcript": "Conversa com o assistente",
|
|
13
|
+
"empty": "Faça uma pergunta sobre o que você está editando.",
|
|
14
|
+
"placeholder": "Fale com o Viglet",
|
|
15
|
+
"send": "Enviar",
|
|
16
|
+
"thinking": "Pensando",
|
|
17
|
+
"unread": "Uma resposta está esperando"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
|
|
22
|
+
export default _default;
|
|
@@ -10,7 +10,9 @@ declare const _default: {
|
|
|
10
10
|
"search": "Buscar",
|
|
11
11
|
"open": "Abrir paleta de comandos",
|
|
12
12
|
"noResults": "Nenhum resultado",
|
|
13
|
-
"opensConsole": "Abre fora deste shell"
|
|
13
|
+
"opensConsole": "Abre fora deste shell",
|
|
14
|
+
"areas": "Áreas",
|
|
15
|
+
"searching": "Buscando…"
|
|
14
16
|
},
|
|
15
17
|
"saveBar": {
|
|
16
18
|
"unsaved": "Alterações não salvas",
|
|
@@ -25,7 +25,12 @@ declare const _default: {
|
|
|
25
25
|
"next": "Próxima",
|
|
26
26
|
"goToPreviousPage": "Ir para a página anterior",
|
|
27
27
|
"goToNextPage": "Ir para a próxima página",
|
|
28
|
-
"stepOf": "Etapa {{index}} de {{count}}"
|
|
28
|
+
"stepOf": "Etapa {{index}} de {{count}}",
|
|
29
|
+
"notifications": "Notificações",
|
|
30
|
+
"mainNavigation": "Navegação principal",
|
|
31
|
+
"readyToSubmit": "Pronto para enviar",
|
|
32
|
+
"completeAllSteps": "Conclua todas as etapas acima",
|
|
33
|
+
"closeAppSwitcher": "Fechar o alternador de aplicativos"
|
|
29
34
|
},
|
|
30
35
|
"backendStatus": {
|
|
31
36
|
"offline": "Servidor indisponível. Tentando reconectar...",
|
package/dist/i18n.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./i18n-DrBq-qJJ.cjs");let t=require("i18next");exports.i18n=t.default,exports.initVigI18n=e.t,exports.registerVigTranslations=e.n,exports.vigDesignSystemTranslations=e.r;
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-BocRIvOZ.cjs");let t=require("react-i18next"),n=require("i18next");n=e.t(n,1);let r=require("i18next-browser-languagedetector");r=e.t(r,1);var i={assistant:{open:`Open the Viglet assistant`,collapse:`Collapse the Viglet assistant`,collapseAction:`Collapse`,state:`System state`,idle:`Idle`,working:`Working`,success:`Done`,error:`Action needed`,attention:`New activity`,transcript:`Conversation with the assistant`,empty:`Ask a question about what you are working on.`,placeholder:`Talk to Viglet`,send:`Send`,thinking:`Thinking`,unread:`An answer is waiting`}},a={bento:{nav:{label:`Primary`},palette:{title:`Command palette`,description:`Search and jump to any area`,placeholder:`Search areas…`,search:`Search`,open:`Open command palette`,noResults:`No matches`,opensConsole:`Opens outside this shell`,areas:`Areas`,searching:`Searching…`},saveBar:{unsaved:`Unsaved changes`,titleRequired:`Title required`},shortcuts:{title:`Keyboard shortcuts`,description:`Move around without leaving the keyboard.`,global:`Global`,palette:`Command palette`,openGuide:`Show keyboard shortcuts`,navigate:`Move between results`,openSelected:`Open the selected area`,dismiss:`Close the palette or a dialog`},layout:{customize:`Customize layout`,editHint:`Drag tiles to reorder · pick S / M / L to resize`,dragToReorder:`Drag to reorder`,sizeGroup:`Tile size`,size:{small:`Small`,medium:`Medium`,large:`Large`},save:`Save layout`,saveGlobal:`Set as default for everyone`,reset:`Reset to default`,saveFailed:`The layout could not be saved. Nothing has changed — try again.`},tour:{replay:`Take the tour`},backToTop:`Back to top`}},o={common:{save:`Save`,cancel:`Cancel`,delete:`Delete`,new:`New`,loading:`Loading...`,actions:`Actions`,goBack:`Go back`,tryAgain:`Try again`,errorLoading:`Error while loading data`,openNavigation:`Open navigation`,connectionError:`Connection error or timeout while fetching {{resource}}.`,active:`Active`,idle:`Idle`,activeToggleHint:`Click to make idle`,idleToggleHint:`Click to activate`,docs:`Documentation`,apps:`Apps`,more:`More`,morePages:`More pages`,breadcrumb:`Breadcrumb`,pagination:`Pagination`,previous:`Previous`,next:`Next`,goToPreviousPage:`Go to previous page`,goToNextPage:`Go to next page`,stepOf:`Step {{index}} of {{count}}`,notifications:`Notifications`,mainNavigation:`Main navigation`,readyToSubmit:`Ready to submit`,completeAllSteps:`Complete all steps above`,closeAppSwitcher:`Close app switcher`},backendStatus:{offline:`Server unavailable. Retrying automatically...`,checking:`Reconnecting to the server...`,retry:`Retry now`},errorBoundary:{title:`Something went wrong`,description:`An unexpected error occurred. Try reloading the page.`,reload:`Reload page`}},s={dialog:{cannotDelete:`Cannot delete {{feature}}`,inUse:`{{name}} is currently in use and cannot be removed.`,dependingSites:`The following items depend on this {{feature}}:`,removeDependencies:`Remove this {{feature}} from those items before deleting it.`,understood:`Understood`,deleteFeature:`Delete {{feature}}`,permanentDelete:`This will permanently delete {{name}}. This action cannot be undone.`,typeToConfirm:`Type`,toConfirm:`to confirm`,close:`Close`}},c={forms:{common:{saveChanges:`Save Changes`,formSubmitFailed:`Failed to submit the form. Please try again.`,title:`Title`,description:`Description`,name:`Name`,icon:`Icon`,enabled:`Enabled`,generalInfo:`General Information`,status:`Status`,advancedOptions:`Advanced Options`,vendor:`Vendor`,endpoint:`Endpoint`,actions:`Actions`,copy:`Copy`,copied:`Copied!`,copyFailed:`Failed to copy`,saved:`The {{name}} {{feature}} was saved`,notSaved:`The {{name}} {{feature}} was not saved`,updated:`The {{name}} {{feature}} was updated`,notUpdated:`The {{name}} {{feature}} was not updated`,deleted:`The {{name}} {{feature}} was deleted`,notDeleted:`The {{name}} {{feature}} was not deleted`,invalidJson:`Provider Options must be valid JSON.`,selectVendor:`Select vendor...`,endpointUrl:`Endpoint URL`,apiKey:`API Key`,createButton:`Create {{feature}}`,noResults:`No results found`,noDescription:`No description`,search:`Search...`,item:`item`,items:`items`,perPage:`Per page`,pageOf:`Page {{index}} of {{count}}`,previous:`Previous`,next:`Next`,rowsSelected:`{{count}} of {{total}} row(s) selected`,rowsPerPage:`Rows per page`,totalRecords:`{{count}} total records`,pageOfPages:`Page {{page}} of {{totalPages}}`,edit:`Edit`,remove:`Remove`,add:`Add`,reset:`Reset`,all:`All`,noResultsDot:`No results.`,filterFields:`Filter fields...`,columns:`Columns`,rows:`row(s)`,chooseLanguage:`Choose the language`,selected:`SELECTED`,value:`Value`,field:`Field`,condition:`Condition`,close:`Close`,nameRequired:`Name is required.`},formActions:{cancel:`Cancel`,saveChanges:`Save Changes`,delete:`Delete`,moreActions:`More actions`,edit:`Edit`,new:`New`},iconPicker:{chooseAnIcon:`Choose an icon`,searchIcons:`Search icons`,aiSuggest:`Suggest`,aiSuggestions:`Suggestions`,searching:`Searching...`,noIconsFound:`No icons found for “{{query}}”`,typeToSearch:`Type to search {{count}} icon collections`,orClickAi:`...or let the title and description suggest some`,done:`Done`}}},l={language:{toggle:`Change language`}},u={nav:{account:`Account`,logOut:`Log out`,organizations:`Organizations`,tenantAdmin:`Tenant administration`}},d={sidebar:{indexing:`Indexing`,new:`New {{feature}}`,toggle:`Toggle Sidebar`,title:`Sidebar`,description:`Displays the mobile sidebar.`}},f={theme:{toggle:`Toggle theme`,light:`Light`,dark:`Dark`,system:`System`,modeLabel:`{{mode}} mode`}},p={assistant:{open:`Abrir o assistente Viglet`,collapse:`Recolher o assistente Viglet`,collapseAction:`Recolher`,state:`Estado do sistema`,idle:`Estável`,working:`Processando`,success:`Concluído`,error:`Ação necessária`,attention:`Nova entrada`,transcript:`Conversa com o assistente`,empty:`Faça uma pergunta sobre o que você está editando.`,placeholder:`Fale com o Viglet`,send:`Enviar`,thinking:`Pensando`,unread:`Uma resposta está esperando`}},m={bento:{nav:{label:`Navegação principal`},palette:{title:`Paleta de comandos`,description:`Busque e navegue para qualquer área`,placeholder:`Buscar áreas…`,search:`Buscar`,open:`Abrir paleta de comandos`,noResults:`Nenhum resultado`,opensConsole:`Abre fora deste shell`,areas:`Áreas`,searching:`Buscando…`},saveBar:{unsaved:`Alterações não salvas`,titleRequired:`Título obrigatório`},shortcuts:{title:`Atalhos de teclado`,description:`Navegue sem tirar as mãos do teclado.`,global:`Global`,palette:`Paleta de comandos`,openGuide:`Mostrar atalhos de teclado`,navigate:`Mover entre os resultados`,openSelected:`Abrir a área selecionada`,dismiss:`Fechar a paleta ou um diálogo`},layout:{customize:`Personalizar layout`,editHint:`Arraste os blocos para reordenar · escolha P / M / G para redimensionar`,dragToReorder:`Arraste para reordenar`,sizeGroup:`Tamanho do bloco`,size:{small:`Pequeno`,medium:`Médio`,large:`Grande`},save:`Salvar layout`,saveGlobal:`Definir como padrão para todos`,reset:`Restaurar padrão`,saveFailed:`Não foi possível salvar o layout. Nada foi alterado — tente novamente.`},tour:{replay:`Fazer o tour`},backToTop:`Voltar ao topo`}},h={common:{save:`Salvar`,cancel:`Cancelar`,delete:`Excluir`,new:`Novo`,loading:`Carregando...`,actions:`Ações`,goBack:`Voltar`,tryAgain:`Tentar novamente`,errorLoading:`Erro ao carregar dados`,openNavigation:`Abrir navegação`,connectionError:`Erro de conexão ou tempo esgotado ao buscar {{resource}}.`,active:`Ativo`,idle:`Inativo`,activeToggleHint:`Clique para desativar`,idleToggleHint:`Clique para ativar`,docs:`Documentação`,apps:`Aplicativos`,more:`Mais`,morePages:`Mais páginas`,breadcrumb:`Trilha de navegação`,pagination:`Paginação`,previous:`Anterior`,next:`Próxima`,goToPreviousPage:`Ir para a página anterior`,goToNextPage:`Ir para a próxima página`,stepOf:`Etapa {{index}} de {{count}}`,notifications:`Notificações`,mainNavigation:`Navegação principal`,readyToSubmit:`Pronto para enviar`,completeAllSteps:`Conclua todas as etapas acima`,closeAppSwitcher:`Fechar o alternador de aplicativos`},backendStatus:{offline:`Servidor indisponível. Tentando reconectar...`,checking:`Reconectando ao servidor...`,retry:`Tentar agora`},errorBoundary:{title:`Algo deu errado`,description:`Ocorreu um erro inesperado. Tente recarregar a página.`,reload:`Recarregar página`}},g={dialog:{cannotDelete:`Não é possível excluir {{feature}}`,inUse:`{{name}} está em uso e não pode ser removido.`,dependingSites:`Os seguintes itens dependem deste {{feature}}:`,removeDependencies:`Remova este {{feature}} desses itens antes de excluí-lo.`,understood:`Entendido`,deleteFeature:`Excluir {{feature}}`,permanentDelete:`Isso excluirá permanentemente {{name}}. Esta ação não pode ser desfeita.`,typeToConfirm:`Digite`,toConfirm:`para confirmar`,close:`Fechar`}},_={forms:{common:{saveChanges:`Salvar Alterações`,formSubmitFailed:`Falha ao enviar o formulário. Tente novamente.`,title:`Título`,description:`Descrição`,name:`Nome`,icon:`Ícone`,enabled:`Ativado`,generalInfo:`Informações Gerais`,status:`Status`,advancedOptions:`Opções Avançadas`,vendor:`Fornecedor`,endpoint:`Endpoint`,actions:`Ações`,copy:`Copiar`,copied:`Copiado!`,copyFailed:`Falha ao copiar`,saved:`{{feature}} {{name}} foi salvo(a)`,notSaved:`{{feature}} {{name}} não foi salvo(a)`,updated:`{{feature}} {{name}} foi atualizado(a)`,notUpdated:`{{feature}} {{name}} não foi atualizado(a)`,deleted:`{{feature}} {{name}} foi excluído(a)`,notDeleted:`{{feature}} {{name}} não foi excluído(a)`,invalidJson:`Opções do Provider devem ser JSON válido.`,selectVendor:`Selecione o fornecedor...`,endpointUrl:`URL do Endpoint`,apiKey:`Chave da API`,createButton:`Criar {{feature}}`,noResults:`Nenhum resultado encontrado`,noDescription:`Sem descrição`,search:`Buscar...`,item:`item`,items:`itens`,perPage:`Por página`,pageOf:`Página {{index}} de {{count}}`,previous:`Anterior`,next:`Próximo`,rowsSelected:`{{count}} de {{total}} linha(s) selecionada(s)`,rowsPerPage:`Linhas por página`,totalRecords:`{{count}} registros no total`,pageOfPages:`Página {{page}} de {{totalPages}}`,edit:`Editar`,remove:`Remover`,add:`Adicionar`,reset:`Redefinir`,all:`Todos`,noResultsDot:`Sem resultados.`,filterFields:`Filtrar campos...`,columns:`Colunas`,rows:`linha(s)`,chooseLanguage:`Escolha o idioma`,selected:`SELECIONADO`,value:`Valor`,field:`Campo`,condition:`Condição`,close:`Fechar`,nameRequired:`Nome é obrigatório.`},formActions:{cancel:`Cancelar`,saveChanges:`Salvar Alterações`,delete:`Excluir`,moreActions:`Mais ações`,edit:`Editar`,new:`Novo`},iconPicker:{chooseAnIcon:`Escolha um ícone`,searchIcons:`Buscar ícones`,aiSuggest:`Sugerir`,aiSuggestions:`Sugestões`,searching:`Buscando...`,noIconsFound:`Nenhum ícone encontrado para “{{query}}”`,typeToSearch:`Digite para buscar em {{count}} coleções de ícones`,orClickAi:`...ou deixe o título e a descrição sugerirem alguns`,done:`Concluir`}}},v={language:{toggle:`Alterar idioma`}},y={nav:{account:`Conta`,logOut:`Sair`,organizations:`Organizações`,tenantAdmin:`Administração do tenant`}},b={sidebar:{indexing:`Indexação`,new:`Novo(a) {{feature}}`,toggle:`Alternar barra lateral`,title:`Barra lateral`,description:`Exibe a barra lateral em telas pequenas.`}},x={theme:{toggle:`Alternar tema`,light:`Claro`,dark:`Escuro`,system:`Sistema`,modeLabel:`Modo {{mode}}`}},S={en:{...i,...a,...o,...s,...c,...l,...u,...d,...f},pt:{...p,...m,...h,...g,..._,...v,...y,...b,...x}},C=e=>typeof e==`object`&&!!e&&!Array.isArray(e);function w(e,t){let n={...e};for(let[e,r]of Object.entries(t)){let t=n[e];n[e]=C(t)&&C(r)?w(t,r):r}return n}function T(e){let i={},a=S,o=e??{};for(let e of new Set([...Object.keys(a),...Object.keys(o)]))i[e]={translation:w(a[e]??{},o[e]??{})};return n.default.use(r.default).use(t.initReactI18next).init({resources:i,fallbackLng:`en`,detection:{order:[`localStorage`,`navigator`,`htmlTag`,`cookie`],caches:[`localStorage`]},interpolation:{escapeValue:!1}}),n.default}function E(e){for(let[t,n]of Object.entries(S))e.addResourceBundle(t,`translation`,n,!0,!1)}exports.i18n=n.default,exports.initVigI18n=T,exports.registerVigTranslations=E,exports.vigDesignSystemTranslations=S;
|