@trismegisto/spine 2.1.2 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -17
- package/fesm2022/trismegisto-spine-audit.mjs +264 -10
- package/fesm2022/trismegisto-spine-audit.mjs.map +1 -1
- package/fesm2022/trismegisto-spine-auto-service-apps.technical-dKM4fG42.mjs +89 -0
- package/fesm2022/trismegisto-spine-auto-service-apps.technical-dKM4fG42.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-apps.usage-VMrCG5o3.mjs +91 -0
- package/fesm2022/trismegisto-spine-auto-service-apps.usage-VMrCG5o3.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-audit.technical-C901aIIQ.mjs → trismegisto-spine-auto-service-audit.technical-B75d4mh2.mjs} +6 -5
- package/fesm2022/trismegisto-spine-auto-service-audit.technical-B75d4mh2.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-audit.usage-GIJ2RwuH.mjs → trismegisto-spine-auto-service-audit.usage-IdXMruv5.mjs} +9 -8
- package/fesm2022/trismegisto-spine-auto-service-audit.usage-IdXMruv5.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-audit.component-BNtNWfiu.mjs +37 -0
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-audit.component-CCiz-q8o.mjs.map → trismegisto-spine-auto-service-auto-service-audit.component-BNtNWfiu.mjs.map} +1 -1
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-client-picker.component-Z0wCANF6.mjs → trismegisto-spine-auto-service-auto-service-client-picker.component-DdtDk_xl.mjs} +3 -3
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-client-picker.component-Z0wCANF6.mjs.map → trismegisto-spine-auto-service-auto-service-client-picker.component-DdtDk_xl.mjs.map} +1 -1
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-client.component-C7SPavrX.mjs → trismegisto-spine-auto-service-auto-service-client.component-DXl1y6Sx.mjs} +123 -27
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client.component-DXl1y6Sx.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-delete-B1tXgMvi.mjs +88 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-delete-B1tXgMvi.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-groups.component-C4iQ2GPX.mjs +599 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-groups.component-C4iQ2GPX.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-login-attempts.component-B87vibNB.mjs +37 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-login-attempts.component-B87vibNB.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service.component-DV88Uger.mjs +941 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service.component-DV88Uger.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-client.technical-BHWhpyWv.mjs → trismegisto-spine-auto-service-client.technical-DP5G8i3o.mjs} +24 -3
- package/fesm2022/trismegisto-spine-auto-service-client.technical-DP5G8i3o.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-client.usage-CM2WB2e2.mjs → trismegisto-spine-auto-service-client.usage-CcJANb20.mjs} +15 -6
- package/fesm2022/trismegisto-spine-auto-service-client.usage-CcJANb20.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-groups.technical-D05838rU.mjs +69 -0
- package/fesm2022/trismegisto-spine-auto-service-groups.technical-D05838rU.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-groups.usage-ChGMgYU3.mjs +80 -0
- package/fesm2022/trismegisto-spine-auto-service-groups.usage-ChGMgYU3.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-home.component-vl3BPFnk.mjs → trismegisto-spine-auto-service-home.component-5_aji1hf.mjs} +5 -4
- package/fesm2022/trismegisto-spine-auto-service-home.component-5_aji1hf.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-login-attempts.technical-CasKIIws.mjs +37 -0
- package/fesm2022/trismegisto-spine-auto-service-login-attempts.technical-CasKIIws.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service-login-attempts.usage-BMgLNu7W.mjs +60 -0
- package/fesm2022/trismegisto-spine-auto-service-login-attempts.usage-BMgLNu7W.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service.mjs +49 -29
- package/fesm2022/trismegisto-spine-auto-service.mjs.map +1 -1
- package/fesm2022/trismegisto-spine-layout.mjs +1698 -156
- package/fesm2022/trismegisto-spine-layout.mjs.map +1 -1
- package/fesm2022/trismegisto-spine-shell.mjs +17 -1
- package/fesm2022/trismegisto-spine-shell.mjs.map +1 -1
- package/fesm2022/trismegisto-spine.mjs +1175 -85
- package/fesm2022/trismegisto-spine.mjs.map +1 -1
- package/package.json +6 -6
- package/types/trismegisto-spine-audit.d.ts +180 -5
- package/types/trismegisto-spine-audit.d.ts.map +1 -1
- package/types/trismegisto-spine-auto-service.d.ts +100 -7
- package/types/trismegisto-spine-auto-service.d.ts.map +1 -1
- package/types/trismegisto-spine-layout.d.ts +833 -13
- package/types/trismegisto-spine-layout.d.ts.map +1 -1
- package/types/trismegisto-spine-shell.d.ts +8 -0
- package/types/trismegisto-spine-shell.d.ts.map +1 -1
- package/types/trismegisto-spine.d.ts +506 -32
- package/types/trismegisto-spine.d.ts.map +1 -1
- package/fesm2022/trismegisto-spine-auto-service-apps.technical-ClMKB9cK.mjs +0 -48
- package/fesm2022/trismegisto-spine-auto-service-apps.technical-ClMKB9cK.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-apps.usage-Cf5SG-oQ.mjs +0 -55
- package/fesm2022/trismegisto-spine-auto-service-apps.usage-Cf5SG-oQ.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-audit.technical-C901aIIQ.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-audit.usage-GIJ2RwuH.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service-audit.component-CCiz-q8o.mjs +0 -37
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client.component-C7SPavrX.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service-delete-6Bk46MOf.mjs +0 -39
- package/fesm2022/trismegisto-spine-auto-service-auto-service-delete-6Bk46MOf.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service-groups.component-CqIVe2LU.mjs +0 -357
- package/fesm2022/trismegisto-spine-auto-service-auto-service-groups.component-CqIVe2LU.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service.component-BLN49F4a.mjs +0 -502
- package/fesm2022/trismegisto-spine-auto-service-auto-service.component-BLN49F4a.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-client.technical-BHWhpyWv.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-client.usage-CM2WB2e2.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-groups.technical-jQlwaQPn.mjs +0 -39
- package/fesm2022/trismegisto-spine-auto-service-groups.technical-jQlwaQPn.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-groups.usage-Bh7ig2zZ.mjs +0 -54
- package/fesm2022/trismegisto-spine-auto-service-groups.usage-Bh7ig2zZ.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-home.component-vl3BPFnk.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Type, InjectionToken, NgZone, EnvironmentProviders, Provider } from '@angular/core';
|
|
3
3
|
import { HermesThemeName, HermesThemeMode, HermesFamily, HermesDensity } from '@trismegisto/angular';
|
|
4
|
-
import { HermesThemeExtension, PluralMessage, CatalogOverride } from '@trismegisto/primitives';
|
|
4
|
+
import { HermesThemeExtension, TimeHourCycle, HermesMotionPreference, Weekday, PluralMessage, CatalogOverride } from '@trismegisto/primitives';
|
|
5
5
|
|
|
6
6
|
interface Route {
|
|
7
7
|
route_display_name?: string | null;
|
|
@@ -136,6 +136,62 @@ interface SpineConfig {
|
|
|
136
136
|
* Padrão: `isDevMode()`. Apps com build de produção em homologação passam
|
|
137
137
|
* `!environment.production` (ou equivalente) para mostrá-la fora de produção. */
|
|
138
138
|
technicalDocs?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Recursos opcionais do painel de configurações (todos desligados sem configuração). Ver `SpineFeatures`.
|
|
141
|
+
*/
|
|
142
|
+
features?: SpineFeatures;
|
|
143
|
+
}
|
|
144
|
+
/** Um servidor MCP do app, oferecido em Sessões › "Conectar um agente de IA". */
|
|
145
|
+
interface SpineMcpServer {
|
|
146
|
+
/** Nome da entrada no `.mcp.json` (ex.: `hefesto`). Letras, números, `-` e `_`. */
|
|
147
|
+
name: string;
|
|
148
|
+
/** URL do MCP. Relativa (`/hefesto/mcp`) é resolvida contra a origem da página. */
|
|
149
|
+
url: string;
|
|
150
|
+
/** Rótulo exibido (padrão: `name`). */
|
|
151
|
+
label?: string;
|
|
152
|
+
/** Valor de `x-mcp-scopes` no modo só leitura. Omitido: o header não vai (o MCP já é só leitura sem ele). */
|
|
153
|
+
readScopes?: string;
|
|
154
|
+
/** Valor de `x-mcp-scopes` no modo leitura e escrita (ex.: `deploy.*`). Omitido: o servidor só é oferecido para leitura. */
|
|
155
|
+
writeScopes?: string;
|
|
156
|
+
}
|
|
157
|
+
/** Tipo de aviso que o app emite (`SpineNoticesService.notify`), ligável/desligável em Configurações › Notificações. */
|
|
158
|
+
interface SpineNoticeType {
|
|
159
|
+
/** Identificador estável (ex.: `deploy-concluido`): é a chave da preferência salva. */
|
|
160
|
+
id: string;
|
|
161
|
+
label: string;
|
|
162
|
+
description?: string;
|
|
163
|
+
/** Ligado enquanto a pessoa não escolher. Padrão: `true`. */
|
|
164
|
+
defaultEnabled?: boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Recursos opcionais do painel de configurações. Cada um só aparece quando ligado aqui (e, quando depende do Argos,
|
|
168
|
+
* com a API da conta disponível — `AUTH_CONFIG` com `authority`/`realmId`).
|
|
169
|
+
*/
|
|
170
|
+
interface SpineFeatures {
|
|
171
|
+
/** Sessões › "Conectar um agente de IA": gera um token de aplicação e a configuração MCP pronta para colar.
|
|
172
|
+
* Precisa de `SPINE_ADMIN_API` (tokens de aplicação). */
|
|
173
|
+
aiAgent?: {
|
|
174
|
+
servers: readonly SpineMcpServer[];
|
|
175
|
+
};
|
|
176
|
+
/** MFA › "Atividade da conta": entradas e tentativas que falharam desta conta (últimos 90 dias, API da conta). */
|
|
177
|
+
accountActivity?: boolean;
|
|
178
|
+
/** Conta › "Encerrar por inatividade". `true` = opções padrão; `{ min, max }` limita os minutos (com `max` a
|
|
179
|
+
* opção "Nunca" some e a escolha é limitada a ele). */
|
|
180
|
+
idleTimeout?: boolean | {
|
|
181
|
+
min?: number;
|
|
182
|
+
max?: number;
|
|
183
|
+
};
|
|
184
|
+
/** Conta › "Tela inicial": início, um favorito ou a última tela visitada, aplicada depois do login. */
|
|
185
|
+
startPage?: boolean;
|
|
186
|
+
/** Conta › "Crachá padrão": o nível de acesso com que o login entra (guardado no Argos, vale nos outros navegadores). */
|
|
187
|
+
defaultBadge?: boolean;
|
|
188
|
+
/** Configurações › Notificações: os tipos de aviso que o app emite e o aviso do navegador com a aba em segundo plano. */
|
|
189
|
+
notices?: {
|
|
190
|
+
types: readonly SpineNoticeType[];
|
|
191
|
+
};
|
|
192
|
+
/** Preferências (aparência, região, acessibilidade, favoritos, tela inicial…) guardadas também na conta do Argos,
|
|
193
|
+
* para acompanharem a pessoa em qualquer navegador. Sem a API da conta, ficam só no navegador. */
|
|
194
|
+
accountPreferences?: boolean;
|
|
139
195
|
}
|
|
140
196
|
declare const SPINE_CONFIG: InjectionToken<SpineConfig>;
|
|
141
197
|
|
|
@@ -161,8 +217,8 @@ declare class ThemeService {
|
|
|
161
217
|
get mode(): HermesThemeMode;
|
|
162
218
|
setMode(mode: HermesThemeMode): void;
|
|
163
219
|
setTheme(theme: HermesThemeName): void;
|
|
164
|
-
static ɵfac:
|
|
165
|
-
static ɵprov:
|
|
220
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeService, [null, null, null, { optional: true; }]>;
|
|
221
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemeService>;
|
|
166
222
|
}
|
|
167
223
|
|
|
168
224
|
/**
|
|
@@ -178,8 +234,8 @@ declare class ThemePresetService {
|
|
|
178
234
|
get current(): HermesFamily;
|
|
179
235
|
get families(): readonly HermesFamily[];
|
|
180
236
|
setPreset(family: HermesFamily): void;
|
|
181
|
-
static ɵfac:
|
|
182
|
-
static ɵprov:
|
|
237
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemePresetService, never>;
|
|
238
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemePresetService>;
|
|
183
239
|
}
|
|
184
240
|
|
|
185
241
|
interface DensitySetting {
|
|
@@ -203,8 +259,8 @@ declare class DensityService {
|
|
|
203
259
|
/** Só alterna entre comfortable e compact — mesmo comportamento do spine antigo
|
|
204
260
|
* (que chamava a densidade não-compacta de "regular"; o DS novo chama de "comfortable"). */
|
|
205
261
|
toggleDensity(): void;
|
|
206
|
-
static ɵfac:
|
|
207
|
-
static ɵprov:
|
|
262
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DensityService, [null, null, { optional: true; }]>;
|
|
263
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DensityService>;
|
|
208
264
|
}
|
|
209
265
|
|
|
210
266
|
/** Registra o catálogo de ícones inteiro — o spine (header/sidebar/navegação/modal/onboarding)
|
|
@@ -240,14 +296,30 @@ interface PackageInfo {
|
|
|
240
296
|
}
|
|
241
297
|
declare const APP_PACKAGE_INFO: InjectionToken<PackageInfo>;
|
|
242
298
|
|
|
299
|
+
/** Minutos de inatividade oferecidos em "Encerrar por inatividade" (0 = nunca). */
|
|
300
|
+
declare const SPINE_IDLE_OPTIONS: readonly number[];
|
|
301
|
+
/**
|
|
302
|
+
* Tela inicial depois do login: `home` (a padrão do app), `last` (a última visitada) ou `fav:<id>` (um favorito,
|
|
303
|
+
* pelo `id` do `SpineQuickAccessService`).
|
|
304
|
+
*/
|
|
305
|
+
type SpineStartPagePreference = 'home' | 'last' | `fav:${string}`;
|
|
306
|
+
/** Relógio escolhido em Região: vazio = o do idioma. */
|
|
307
|
+
type SpineHourCyclePreference = '' | TimeHourCycle;
|
|
308
|
+
/** Primeiro dia da semana escolhido em Região: `null` = o do idioma. */
|
|
309
|
+
type SpineWeekStartPreference = Weekday | null;
|
|
243
310
|
/**
|
|
244
311
|
* Preferências do usuário que não são de tema (tema/família/densidade continuam no
|
|
245
|
-
* `HermesThemeService`; modo do menu lateral no `HermesSidebarService`): fuso horário, idioma
|
|
246
|
-
*
|
|
312
|
+
* `HermesThemeService`; modo do menu lateral no `HermesSidebarService`): fuso horário, idioma, relógio de
|
|
313
|
+
* 12/24 h e primeiro dia da semana (`HermesI18nService.setRegionalFormat`), tamanho do texto
|
|
314
|
+
* (`HermesZoomService.setTextScale`), movimento (`HermesMotionService.setPreference`) e o interruptor dos
|
|
315
|
+
* atalhos de tecla única (WCAG 2.1.4) do `HermesShortcutService`.
|
|
316
|
+
*
|
|
317
|
+
* Também guarda as preferências dos recursos opcionais (`SpineFeatures`): minutos de inatividade, tela inicial,
|
|
318
|
+
* tipos de aviso ligados e o aviso do navegador.
|
|
247
319
|
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* não precisa saber de onde o valor veio.
|
|
320
|
+
* Vive no navegador (localStorage, sincronizado entre abas). Com `SpineFeatures.accountPreferences`, o
|
|
321
|
+
* `SpineAccountPreferencesService` (`@trismegisto/spine/layout`) espelha estes valores na conta do Argos e os aplica
|
|
322
|
+
* pelos mesmos `set*` no login: quem lê `timeZone()` não precisa saber de onde o valor veio.
|
|
251
323
|
*/
|
|
252
324
|
declare class SpinePreferencesService {
|
|
253
325
|
private readonly browser;
|
|
@@ -256,24 +328,51 @@ declare class SpinePreferencesService {
|
|
|
256
328
|
private readonly timeZoneKey;
|
|
257
329
|
private readonly languageKey;
|
|
258
330
|
private readonly characterKeysKey;
|
|
331
|
+
private readonly textScaleKey;
|
|
332
|
+
private readonly motionKey;
|
|
333
|
+
private readonly hourCycleKey;
|
|
334
|
+
private readonly weekStartKey;
|
|
259
335
|
private readonly shortcuts;
|
|
260
336
|
private readonly i18n;
|
|
337
|
+
private readonly zoom;
|
|
338
|
+
private readonly motionService;
|
|
261
339
|
/** Idioma com que o app subiu (`provideHermesI18n`) — vale quando a pessoa não escolheu nenhum. */
|
|
262
340
|
readonly appLanguage: string;
|
|
263
341
|
private readonly channel;
|
|
264
342
|
/** Fuso escolhido (IANA, ex.: "America/Sao_Paulo"). Vazio = o do navegador. */
|
|
265
|
-
readonly timeZone:
|
|
343
|
+
readonly timeZone: _angular_core.WritableSignal<string>;
|
|
266
344
|
/** Fuso do navegador, para mostrar ao lado da opção "automático". */
|
|
267
345
|
readonly browserTimeZone: string;
|
|
268
346
|
/** O fuso que vale de fato: o escolhido ou, sem escolha, o do navegador. */
|
|
269
|
-
readonly effectiveTimeZone:
|
|
347
|
+
readonly effectiveTimeZone: _angular_core.Signal<string>;
|
|
270
348
|
/** Idioma escolhido (BCP 47: `pt-BR`, `en`, `es`). Vazio = o padrão do app. */
|
|
271
|
-
readonly language:
|
|
349
|
+
readonly language: _angular_core.WritableSignal<string>;
|
|
272
350
|
/**
|
|
273
351
|
* Atalhos de tecla única (`?`, `G H`) ligados — WCAG 2.1.4. Guardado por app (`'on'`/`'off'`);
|
|
274
352
|
* sem escolha salva, vale o padrão do `HermesShortcutService` (`provideHermesShortcuts`).
|
|
275
353
|
*/
|
|
276
|
-
readonly characterKeys:
|
|
354
|
+
readonly characterKeys: _angular_core.WritableSignal<boolean>;
|
|
355
|
+
/** Tamanho do texto (1 = 100%; os oferecidos em `HERMES_TEXT_SCALES`). */
|
|
356
|
+
readonly textScale: _angular_core.WritableSignal<number>;
|
|
357
|
+
/** Movimento: `system` segue o `prefers-reduced-motion`; `reduce` sempre reduz; `full` nunca. */
|
|
358
|
+
readonly motion: _angular_core.WritableSignal<HermesMotionPreference>;
|
|
359
|
+
/** Relógio: `h23` (24 horas), `h12` (12 horas) ou vazio (o do idioma). */
|
|
360
|
+
readonly hourCycle: _angular_core.WritableSignal<SpineHourCyclePreference>;
|
|
361
|
+
/** Primeiro dia da semana (0 = domingo, 1 = segunda) ou `null` (o do idioma). */
|
|
362
|
+
readonly weekStart: _angular_core.WritableSignal<SpineWeekStartPreference>;
|
|
363
|
+
private readonly idleKey;
|
|
364
|
+
private readonly startPageKey;
|
|
365
|
+
private readonly noticesKey;
|
|
366
|
+
private readonly browserNoticesKey;
|
|
367
|
+
/** Encerrar a sessão depois de tantos minutos sem uso (0 = nunca). Os limites do app (`SpineFeatures.idleTimeout`)
|
|
368
|
+
* são aplicados por quem usa o valor (`SpineIdleService`), não aqui. */
|
|
369
|
+
readonly idleMinutes: _angular_core.WritableSignal<number>;
|
|
370
|
+
/** Tela que abre depois do login. */
|
|
371
|
+
readonly startPage: _angular_core.WritableSignal<SpineStartPagePreference>;
|
|
372
|
+
/** Tipos de aviso que a pessoa ligou/desligou (`id` → ligado); tipo ausente segue o `defaultEnabled` dele. */
|
|
373
|
+
readonly noticeTypes: _angular_core.WritableSignal<Readonly<Record<string, boolean>>>;
|
|
374
|
+
/** Aviso do navegador (Notification API) quando a aba está em segundo plano. */
|
|
375
|
+
readonly browserNotices: _angular_core.WritableSignal<boolean>;
|
|
277
376
|
/** Idiomas oferecidos na configuração, cada um com o nome no próprio idioma (padrão de mercado). */
|
|
278
377
|
readonly languages: readonly {
|
|
279
378
|
readonly value: string;
|
|
@@ -288,13 +387,34 @@ declare class SpinePreferencesService {
|
|
|
288
387
|
/** Troca o idioma da lib e do spine na hora, guarda e avisa as outras abas. Vazio = padrão do app. */
|
|
289
388
|
setLanguage(value: string): void;
|
|
290
389
|
private applyLanguage;
|
|
390
|
+
/** Tamanho do texto na hora (1 = 100%), guarda e avisa as outras abas. */
|
|
391
|
+
setTextScale(value: number): void;
|
|
392
|
+
private applyTextScale;
|
|
393
|
+
/** Movimento na hora (`system`/`reduce`/`full`), guarda e avisa as outras abas. */
|
|
394
|
+
setMotion(value: HermesMotionPreference): void;
|
|
395
|
+
private applyMotion;
|
|
396
|
+
/** Relógio na hora (`h23`/`h12`; vazio = o do idioma), guarda e avisa as outras abas. */
|
|
397
|
+
setHourCycle(value: SpineHourCyclePreference): void;
|
|
398
|
+
/** Primeiro dia da semana na hora (0 = domingo, 1 = segunda; `null` = o do idioma), guarda e avisa. */
|
|
399
|
+
setWeekStart(value: SpineWeekStartPreference): void;
|
|
400
|
+
private applyRegionalFormat;
|
|
401
|
+
/** Minutos sem uso até encerrar a sessão (0 = nunca), guarda e avisa as outras abas. */
|
|
402
|
+
setIdleMinutes(value: number): void;
|
|
403
|
+
/** Tela inicial depois do login, guarda e avisa as outras abas. */
|
|
404
|
+
setStartPage(value: SpineStartPagePreference): void;
|
|
405
|
+
/** Liga/desliga um tipo de aviso, guarda e avisa as outras abas. */
|
|
406
|
+
setNoticeType(id: string, enabled: boolean): void;
|
|
407
|
+
/** Troca o mapa inteiro de tipos de aviso (restaurar, sincronização com a conta). */
|
|
408
|
+
setNoticeTypes(value: Readonly<Record<string, boolean>>): void;
|
|
409
|
+
/** Liga/desliga o aviso do navegador, guarda e avisa as outras abas (a permissão é pedida por quem chama). */
|
|
410
|
+
setBrowserNotices(enabled: boolean): void;
|
|
291
411
|
setTimeZone(value: string): void;
|
|
292
412
|
/** Todos os fusos IANA que o navegador conhece (vazio em navegador antigo). */
|
|
293
413
|
supportedTimeZones(): string[];
|
|
294
414
|
private read;
|
|
295
415
|
private write;
|
|
296
|
-
static ɵfac:
|
|
297
|
-
static ɵprov:
|
|
416
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpinePreferencesService, never>;
|
|
417
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SpinePreferencesService>;
|
|
298
418
|
}
|
|
299
419
|
|
|
300
420
|
/**
|
|
@@ -325,8 +445,8 @@ declare class SpineQuickAccessService {
|
|
|
325
445
|
private readonly storage;
|
|
326
446
|
private readonly favoriteList;
|
|
327
447
|
private readonly recentList;
|
|
328
|
-
readonly favorites:
|
|
329
|
-
readonly recents:
|
|
448
|
+
readonly favorites: _angular_core.Signal<readonly QuickAccessItem[]>;
|
|
449
|
+
readonly recents: _angular_core.Signal<readonly QuickAccessItem[]>;
|
|
330
450
|
private readonly favoriteSet;
|
|
331
451
|
constructor();
|
|
332
452
|
private get favoritesKey();
|
|
@@ -334,12 +454,14 @@ declare class SpineQuickAccessService {
|
|
|
334
454
|
private reload;
|
|
335
455
|
isFavorite(id: string | null | undefined): boolean;
|
|
336
456
|
toggleFavorite(item: QuickAccessItem): void;
|
|
457
|
+
/** Troca a lista de favoritos inteira (sincronização com a conta). Itens inválidos ou repetidos são descartados. */
|
|
458
|
+
setFavorites(items: readonly unknown[]): void;
|
|
337
459
|
recordVisit(item: QuickAccessItem): void;
|
|
338
460
|
forgetRecent(id: string): void;
|
|
339
461
|
private commit;
|
|
340
462
|
private load;
|
|
341
|
-
static ɵfac:
|
|
342
|
-
static ɵprov:
|
|
463
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpineQuickAccessService, never>;
|
|
464
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SpineQuickAccessService>;
|
|
343
465
|
}
|
|
344
466
|
|
|
345
467
|
/** Listas do shell guardadas no navegador, por usuário. */
|
|
@@ -347,6 +469,8 @@ declare const SPINE_USER_STORAGE_KEYS: {
|
|
|
347
469
|
readonly favorites: "nav_favorites";
|
|
348
470
|
readonly recents: "nav_recent";
|
|
349
471
|
readonly recentSearches: "header_recent_searches";
|
|
472
|
+
/** Última tela visitada, guardada só com a tela inicial "Última tela visitada" (`SpineStartPageService`). */
|
|
473
|
+
readonly lastPage: "start_last_page";
|
|
350
474
|
};
|
|
351
475
|
type SpineUserStorageKey = (typeof SPINE_USER_STORAGE_KEYS)[keyof typeof SPINE_USER_STORAGE_KEYS];
|
|
352
476
|
/**
|
|
@@ -373,12 +497,19 @@ declare class SpineUserStorage {
|
|
|
373
497
|
key(list: SpineUserStorageKey): string;
|
|
374
498
|
/** Apaga buscas recentes e páginas recentes do usuário (o atual ou o último visto). Favoritos ficam. */
|
|
375
499
|
clearHistory(): void;
|
|
500
|
+
/**
|
|
501
|
+
* Apaga uma lista do usuário atual (Configurações › Dados do navegador): a chave dele, e também a antiga sem
|
|
502
|
+
* usuário. Quem guarda a lista em memória relê (`onChange`).
|
|
503
|
+
*/
|
|
504
|
+
clear(list: SpineUserStorageKey): void;
|
|
505
|
+
/** Quantos itens a lista do usuário atual tem guardados (0 sem nada ou com valor ilegível). */
|
|
506
|
+
count(list: SpineUserStorageKey): number;
|
|
376
507
|
/** Avisa quando a sessão muda ou o histórico é limpo (quem guarda a lista em memória relê). */
|
|
377
508
|
onChange(listener: () => void): () => void;
|
|
378
509
|
private notify;
|
|
379
510
|
private dropLegacy;
|
|
380
|
-
static ɵfac:
|
|
381
|
-
static ɵprov:
|
|
511
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpineUserStorage, never>;
|
|
512
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SpineUserStorage>;
|
|
382
513
|
}
|
|
383
514
|
|
|
384
515
|
/**
|
|
@@ -632,6 +763,8 @@ interface SpineMessages {
|
|
|
632
763
|
sidebar: string;
|
|
633
764
|
sidebarDescription: string;
|
|
634
765
|
sidebarKeywords: string;
|
|
766
|
+
/** Detalhe de cada modo do menu lateral (toggletip ao lado do rótulo). */
|
|
767
|
+
sidebarHelp: string;
|
|
635
768
|
sidebarAuto: string;
|
|
636
769
|
sidebarFixed: string;
|
|
637
770
|
sidebarCompact: string;
|
|
@@ -648,6 +781,18 @@ interface SpineMessages {
|
|
|
648
781
|
timeZoneHint: string;
|
|
649
782
|
/** `{zone}` = fuso detectado no navegador. */
|
|
650
783
|
timeZoneAuto: string;
|
|
784
|
+
/** Formato de hora (Região): automático pelo idioma, 24 ou 12 horas. `{now}` = hora agora no formato. */
|
|
785
|
+
hourCycle: string;
|
|
786
|
+
hourCycleHint: string;
|
|
787
|
+
hourCycleKeywords: string;
|
|
788
|
+
hourCycleAuto: string;
|
|
789
|
+
hourCycle24: string;
|
|
790
|
+
hourCycle12: string;
|
|
791
|
+
/** Primeiro dia da semana (Região); domingo e segunda saem do `Intl`, no idioma. */
|
|
792
|
+
weekStart: string;
|
|
793
|
+
weekStartDescription: string;
|
|
794
|
+
weekStartKeywords: string;
|
|
795
|
+
weekStartAuto: string;
|
|
651
796
|
shortcuts: string;
|
|
652
797
|
shortcutsDescription: string;
|
|
653
798
|
shortcutsKeywords: string;
|
|
@@ -655,6 +800,52 @@ interface SpineMessages {
|
|
|
655
800
|
tourDescription: string;
|
|
656
801
|
tourKeywords: string;
|
|
657
802
|
replayTour: string;
|
|
803
|
+
/** Seção "Acessibilidade" (`?settings=acessibilidade`). */
|
|
804
|
+
accessibility: string;
|
|
805
|
+
accessibilityKeywords: string;
|
|
806
|
+
textSize: string;
|
|
807
|
+
textSizeDescription: string;
|
|
808
|
+
textSizeKeywords: string;
|
|
809
|
+
motion: string;
|
|
810
|
+
motionDescription: string;
|
|
811
|
+
motionKeywords: string;
|
|
812
|
+
motionSystem: string;
|
|
813
|
+
motionReduce: string;
|
|
814
|
+
motionFull: string;
|
|
815
|
+
/** Seção "Ajuda" (`?settings=ajuda`): novidades e tour. */
|
|
816
|
+
help: string;
|
|
817
|
+
helpKeywords: string;
|
|
818
|
+
news: string;
|
|
819
|
+
newsDescription: string;
|
|
820
|
+
newsKeywords: string;
|
|
821
|
+
showNews: string;
|
|
822
|
+
/** Seção "Dados do navegador" (`?settings=dados`): listas guardadas e restaurar preferências. */
|
|
823
|
+
browserData: string;
|
|
824
|
+
browserDataDescription: string;
|
|
825
|
+
browserDataKeywords: string;
|
|
826
|
+
recentPages: string;
|
|
827
|
+
recentPagesKeywords: string;
|
|
828
|
+
recentSearches: string;
|
|
829
|
+
recentSearchesKeywords: string;
|
|
830
|
+
favorites: string;
|
|
831
|
+
favoritesKeywords: string;
|
|
832
|
+
/** Quantos itens a lista guarda (descrição da linha). */
|
|
833
|
+
pagesCount: PluralMessage;
|
|
834
|
+
searchesCount: PluralMessage;
|
|
835
|
+
clear: string;
|
|
836
|
+
confirmClear: string;
|
|
837
|
+
cancel: string;
|
|
838
|
+
recentPagesCleared: string;
|
|
839
|
+
recentSearchesCleared: string;
|
|
840
|
+
favoritesCleared: string;
|
|
841
|
+
restorePreferences: string;
|
|
842
|
+
restorePreferencesDescription: string;
|
|
843
|
+
/** O que volta ao padrão e o que fica (toggletip ao lado do rótulo). */
|
|
844
|
+
restorePreferencesHelp: string;
|
|
845
|
+
restorePreferencesKeywords: string;
|
|
846
|
+
restore: string;
|
|
847
|
+
confirmRestore: string;
|
|
848
|
+
preferencesRestored: string;
|
|
658
849
|
account: string;
|
|
659
850
|
accountKeywords: string;
|
|
660
851
|
user: string;
|
|
@@ -673,15 +864,20 @@ interface SpineMessages {
|
|
|
673
864
|
accessTokenDescription: string;
|
|
674
865
|
accessTokenKeywords: string;
|
|
675
866
|
copy: string;
|
|
867
|
+
/** Nome acessível do toggletip de ajuda de uma linha; `{label}` é o rótulo da linha. */
|
|
868
|
+
moreAbout: string;
|
|
676
869
|
appTokens: string;
|
|
677
870
|
appTokensDescription: string;
|
|
678
871
|
appTokensKeywords: string;
|
|
872
|
+
/** Detalhe dos tokens de aplicação (toggletip ao lado do rótulo). */
|
|
873
|
+
appTokensHelp: string;
|
|
679
874
|
logout: string;
|
|
680
875
|
logoutDescription: string;
|
|
681
876
|
logoutKeywords: string;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
877
|
+
/** Seção "MFA" (`?settings=mfa`; a antiga `seguranca` também abre). */
|
|
878
|
+
mfa: string;
|
|
879
|
+
mfaDescription: string;
|
|
880
|
+
mfaKeywords: string;
|
|
685
881
|
signedInAccount: string;
|
|
686
882
|
/** `{realm}` = realm do Argos (nome ou id, como o app usa no login). */
|
|
687
883
|
signedInRealm: string;
|
|
@@ -691,9 +887,14 @@ interface SpineMessages {
|
|
|
691
887
|
recoveryCodes: string;
|
|
692
888
|
recoveryCodesDescription: string;
|
|
693
889
|
recoveryCodesKeywords: string;
|
|
890
|
+
/** Linha "Sessões e dispositivos" (dentro da seção Sessões). */
|
|
694
891
|
sessions: string;
|
|
695
892
|
sessionsDescription: string;
|
|
696
893
|
sessionsKeywords: string;
|
|
894
|
+
/** Seção "Sessões" (`?settings=sessoes`): sessão, token de acesso, tokens de aplicação, sessões e dispositivos. */
|
|
895
|
+
sessionsSection: string;
|
|
896
|
+
sessionsSectionDescription: string;
|
|
897
|
+
sessionsSectionKeywords: string;
|
|
697
898
|
about: string;
|
|
698
899
|
aboutKeywords: string;
|
|
699
900
|
application: string;
|
|
@@ -962,6 +1163,7 @@ interface SpineMessages {
|
|
|
962
1163
|
create: string;
|
|
963
1164
|
edit: string;
|
|
964
1165
|
remove: string;
|
|
1166
|
+
/** Botão "Consultar" ao lado dos seletores de Grupos e Aplicações. */
|
|
965
1167
|
search: string;
|
|
966
1168
|
active: string;
|
|
967
1169
|
inactive: string;
|
|
@@ -975,13 +1177,14 @@ interface SpineMessages {
|
|
|
975
1177
|
tabRoutes: string;
|
|
976
1178
|
tabRouters: string;
|
|
977
1179
|
tabAccess: string;
|
|
978
|
-
/** `[innerHTML]`. */
|
|
1180
|
+
/** `[innerHTML]`. Sem client: a pessoa não administra o app em que está logada. */
|
|
979
1181
|
noClients: string;
|
|
980
1182
|
pickClient: string;
|
|
981
1183
|
groupsTitle: string;
|
|
982
1184
|
groupsIntro: string;
|
|
983
1185
|
/** @deprecated não é mais exibido (o auto-serviço não repete título/explicação que a barra da página e a aba já dão). */
|
|
984
1186
|
groupsFixed: string;
|
|
1187
|
+
/** Placeholder do seletor de grupo (Grupos, depois do nível de acesso). */
|
|
985
1188
|
pickGroup: string;
|
|
986
1189
|
noDescription: string;
|
|
987
1190
|
/** @deprecated não é mais exibido (o auto-serviço não repete título/explicação que a barra da página e a aba já dão). */
|
|
@@ -1026,13 +1229,15 @@ interface SpineMessages {
|
|
|
1026
1229
|
guardsHint: string;
|
|
1027
1230
|
noPrivateRoutes: string;
|
|
1028
1231
|
register: string;
|
|
1232
|
+
/** @deprecated não é mais exibido (a tela Aplicações lista as aplicações numa tabela, sem "Consultar"). */
|
|
1029
1233
|
appsSearchIntro: string;
|
|
1030
1234
|
secretCreated: string;
|
|
1235
|
+
/** Rótulo do seletor de aplicação (Aplicações, com "Consultar"). */
|
|
1031
1236
|
pickApp: string;
|
|
1032
1237
|
disable: string;
|
|
1033
1238
|
enable: string;
|
|
1034
1239
|
delete: string;
|
|
1035
|
-
/** Nome acessível da faixa de abas da aplicação escolhida (Operações/Acessos). */
|
|
1240
|
+
/** Nome acessível da faixa de abas da aplicação escolhida (Operações/Acessos/Tokens). */
|
|
1036
1241
|
appSections: string;
|
|
1037
1242
|
tabOperations: string;
|
|
1038
1243
|
tabAccesses: string;
|
|
@@ -1075,6 +1280,11 @@ interface SpineMessages {
|
|
|
1075
1280
|
colPage: string;
|
|
1076
1281
|
colBuiltPath: string;
|
|
1077
1282
|
colVisibility: string;
|
|
1283
|
+
/** Coluna e campo do roteador: tipos de grupo (crachás) que podem receber acesso à tela (`allowed_type_ids`). */
|
|
1284
|
+
colAllowedBadges: string;
|
|
1285
|
+
/** Roteador sem restrição de crachá (`allowed_type_ids` vazio); também o placeholder do campo. */
|
|
1286
|
+
anyBadge: string;
|
|
1287
|
+
allowedBadgesHint: string;
|
|
1078
1288
|
/** @deprecated não é mais exibido (o auto-serviço não repete título/explicação que a barra da página e a aba já dão). */
|
|
1079
1289
|
routesTitle: string;
|
|
1080
1290
|
newRoute: string;
|
|
@@ -1098,6 +1308,23 @@ interface SpineMessages {
|
|
|
1098
1308
|
pathHint: string;
|
|
1099
1309
|
pathInvalid: string;
|
|
1100
1310
|
/** Confirmação das exclusões (diálogo): título e mensagem; `{name}`, `{path}` ou `{group}`. */
|
|
1311
|
+
/**
|
|
1312
|
+
* "Gerar novo segredo" de uma aplicação: botão, confirmação, a janela que mostra o segredo uma vez
|
|
1313
|
+
* (`{name}` = nome da aplicação), copiar e os erros (genérico, 404 e 403).
|
|
1314
|
+
*/
|
|
1315
|
+
rotateSecret: string;
|
|
1316
|
+
confirmRotateSecretHeading: string;
|
|
1317
|
+
confirmRotateSecret: string;
|
|
1318
|
+
rotatedSecretHeading: string;
|
|
1319
|
+
rotatedSecretWarning: string;
|
|
1320
|
+
rotatedSecretNote: string;
|
|
1321
|
+
rotatedSecretLabel: string;
|
|
1322
|
+
copySecret: string;
|
|
1323
|
+
secretCopied: string;
|
|
1324
|
+
rotatedSecretDone: string;
|
|
1325
|
+
rotateSecretError: string;
|
|
1326
|
+
rotateSecretNotFound: string;
|
|
1327
|
+
rotateSecretForbidden: string;
|
|
1101
1328
|
confirmDeleteAppHeading: string;
|
|
1102
1329
|
confirmDeleteApp: string;
|
|
1103
1330
|
confirmDeleteRouteHeading: string;
|
|
@@ -1138,6 +1365,128 @@ interface SpineMessages {
|
|
|
1138
1365
|
reorderLoadError: string;
|
|
1139
1366
|
reorderSaveError: string;
|
|
1140
1367
|
reorderSave: string;
|
|
1368
|
+
/** Tela Grupos: lista dos grupos do projeto, criar/editar/excluir. */
|
|
1369
|
+
newGroup: string;
|
|
1370
|
+
editGroup: string;
|
|
1371
|
+
/** @deprecated não é mais exibido (a tela Grupos voltou ao seletor de nível + grupo, sem tabela). */
|
|
1372
|
+
groupsCaption: string;
|
|
1373
|
+
noGroups: string;
|
|
1374
|
+
/** Tela Grupos: primeiro seletor (o tipo do grupo, do nível mais alto para o mais baixo). */
|
|
1375
|
+
accessLevel: string;
|
|
1376
|
+
pickAccessLevel: string;
|
|
1377
|
+
/** Opção do seletor de nível para os grupos sem tipo. */
|
|
1378
|
+
noLevel: string;
|
|
1379
|
+
/** Nível escolhido sem nenhum grupo. */
|
|
1380
|
+
noGroupsOfLevel: string;
|
|
1381
|
+
colStatus: string;
|
|
1382
|
+
groupName: string;
|
|
1383
|
+
groupType: string;
|
|
1384
|
+
groupTypePlaceholder: string;
|
|
1385
|
+
groupDescription: string;
|
|
1386
|
+
/** @deprecated não é mais exibido (a tela Grupos voltou ao seletor, sem tabela). */
|
|
1387
|
+
openGroup: string;
|
|
1388
|
+
/** @deprecated não é mais exibido (o grupo de administração do projeto é gerido só no painel central e não aparece no auto-serviço). */
|
|
1389
|
+
adminGroupTag: string;
|
|
1390
|
+
/** @deprecated não é mais exibido (o grupo de administração do projeto é gerido só no painel central e não aparece no auto-serviço). */
|
|
1391
|
+
adminGroupNote: string;
|
|
1392
|
+
/** @deprecated não é mais exibido (o grupo de administração do projeto é gerido só no painel central e não aparece no auto-serviço). */
|
|
1393
|
+
adminGroupEditNote: string;
|
|
1394
|
+
/** @deprecated não é mais exibido (o grupo de administração do projeto é gerido só no painel central e não aparece no auto-serviço). */
|
|
1395
|
+
adminGroupLastMemberWarning: string;
|
|
1396
|
+
/** Confirmação da exclusão; `{name}`. */
|
|
1397
|
+
confirmDeleteGroupHeading: string;
|
|
1398
|
+
confirmDeleteGroup: string;
|
|
1399
|
+
groupSaveError: string;
|
|
1400
|
+
membersSaveError: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Erros do argos-admin-server nos grupos e acessos do auto-serviço, pelo código (`error`) da resposta
|
|
1403
|
+
* (ver `autoServiceErrorText`). `groupNotFound` é o 404 de grupo de outro projeto.
|
|
1404
|
+
*/
|
|
1405
|
+
/** @deprecated não é mais exibido (a tela Aplicações voltou ao seletor + "Consultar", sem tabela). */
|
|
1406
|
+
appsCaption: string;
|
|
1407
|
+
/** Tela Aplicações: o projeto ainda não tem aplicação (embaixo do seletor). */
|
|
1408
|
+
noApps: string;
|
|
1409
|
+
/** @deprecated não é mais exibido (a tela Aplicações voltou ao seletor, sem tabela). */
|
|
1410
|
+
colGrants: string;
|
|
1411
|
+
/** @deprecated não é mais exibido (a tela Aplicações voltou ao seletor, sem tabela). */
|
|
1412
|
+
openApp: string;
|
|
1413
|
+
/** Aba Tokens da aplicação: tokens de API (`x-api-token`), criar e revogar. */
|
|
1414
|
+
tabTokens: string;
|
|
1415
|
+
tokensCaption: string;
|
|
1416
|
+
noTokens: string;
|
|
1417
|
+
newToken: string;
|
|
1418
|
+
colTokenPrefix: string;
|
|
1419
|
+
colExpiresAt: string;
|
|
1420
|
+
colLastUsed: string;
|
|
1421
|
+
tokenExpired: string;
|
|
1422
|
+
tokenRevoked: string;
|
|
1423
|
+
neverUsed: string;
|
|
1424
|
+
revokeToken: string;
|
|
1425
|
+
confirmRevokeTokenHeading: string;
|
|
1426
|
+
/** `{name}`. */
|
|
1427
|
+
confirmRevokeToken: string;
|
|
1428
|
+
/** `{name}`. */
|
|
1429
|
+
tokenRevokedDone: string;
|
|
1430
|
+
tokenRevokeError: string;
|
|
1431
|
+
tokensLoadError: string;
|
|
1432
|
+
/** Modal "Novo token": campos, validade (de amanhã a 365 dias) e as operações liberadas ao token. */
|
|
1433
|
+
tokenName: string;
|
|
1434
|
+
tokenDescription: string;
|
|
1435
|
+
tokenExpiresAt: string;
|
|
1436
|
+
tokenExpiresHint: string;
|
|
1437
|
+
tokenExpiresInvalid: string;
|
|
1438
|
+
tokenOperations: string;
|
|
1439
|
+
tokenOperationsNote: string;
|
|
1440
|
+
/** Grupo: por que a operação não depende de permissão (caixa marcada e desabilitada): public/optional, private, outro nível. */
|
|
1441
|
+
freeForAll: string;
|
|
1442
|
+
freeForAuthenticated: string;
|
|
1443
|
+
freeNoPermission: string;
|
|
1444
|
+
/** Token: operação public (caixa desmarcada e desabilitada; o token não precisa dela). */
|
|
1445
|
+
publicNoToken: string;
|
|
1446
|
+
createToken: string;
|
|
1447
|
+
tokenSaveError: string;
|
|
1448
|
+
/** O token criado, mostrado uma única vez; `{name}` = nome do token. */
|
|
1449
|
+
tokenCreatedHeading: string;
|
|
1450
|
+
tokenCreatedWarning: string;
|
|
1451
|
+
tokenCreatedNote: string;
|
|
1452
|
+
tokenValueLabel: string;
|
|
1453
|
+
copyToken: string;
|
|
1454
|
+
tokenCopied: string;
|
|
1455
|
+
/** Roteadores: a hierarquia é de cima para baixo (cada nível só com o de cima escolhido). */
|
|
1456
|
+
hierarchyHint: string;
|
|
1457
|
+
routerSaveError: string;
|
|
1458
|
+
/** "Gerenciar operações" (grupo ou token): falha ao gravar alguma liberação/retirada. */
|
|
1459
|
+
permissionsSaveError: string;
|
|
1460
|
+
/** Erros do argos-admin-server nos tokens de aplicação, pelo código (`error`) da resposta (ver `autoServiceErrorText`). */
|
|
1461
|
+
tokenErrors: {
|
|
1462
|
+
invalidExpiresAt: string;
|
|
1463
|
+
invalidValidity: string;
|
|
1464
|
+
invalidOperationIds: string;
|
|
1465
|
+
/** `operation_not_protected`: grupo só recebe operação protected. */
|
|
1466
|
+
operationNotProtected: string;
|
|
1467
|
+
/** `operation_public`: operação public não se libera a token. */
|
|
1468
|
+
operationPublic: string;
|
|
1469
|
+
appNotFound: string;
|
|
1470
|
+
tokenNotFound: string;
|
|
1471
|
+
};
|
|
1472
|
+
/** Erros do argos-admin-server nos roteadores (`router_hierarchy_gap`: nível sem o nível de cima). */
|
|
1473
|
+
routerErrors: {
|
|
1474
|
+
hierarchyGap: string;
|
|
1475
|
+
/** Algum id de `allowed_type_ids` não é tipo de grupo do realm. */
|
|
1476
|
+
invalidAllowedTypes: string;
|
|
1477
|
+
};
|
|
1478
|
+
groupErrors: {
|
|
1479
|
+
invalidType: string;
|
|
1480
|
+
adminTypeReserved: string;
|
|
1481
|
+
emptyUpdate: string;
|
|
1482
|
+
groupProjectImmutable: string;
|
|
1483
|
+
groupNameTaken: string;
|
|
1484
|
+
adminGroupImmutable: string;
|
|
1485
|
+
adminGroupProtected: string;
|
|
1486
|
+
adminGroupLastMember: string;
|
|
1487
|
+
adminGroupAccessProtected: string;
|
|
1488
|
+
groupNotFound: string;
|
|
1489
|
+
};
|
|
1141
1490
|
};
|
|
1142
1491
|
/**
|
|
1143
1492
|
* Tela "Auditoria" (`@trismegisto/spine/audit`, `SpineAuditComponent`): a mesma nos dois escopos — o
|
|
@@ -1335,6 +1684,127 @@ interface SpineMessages {
|
|
|
1335
1684
|
/** `{app}`, `{operation}`, `{outcome}`, `{offset}`, `{duration}`. */
|
|
1336
1685
|
spanRow: string;
|
|
1337
1686
|
};
|
|
1687
|
+
/** Tela Tentativas de login (`SpineLoginAttemptsComponent`, `@trismegisto/spine/audit`). */
|
|
1688
|
+
/** Recursos opcionais do painel de configurações (`SpineFeatures`). */
|
|
1689
|
+
accountFeatures: {
|
|
1690
|
+
aiAgent: string;
|
|
1691
|
+
aiAgentDescription: string;
|
|
1692
|
+
aiAgentKeywords: string;
|
|
1693
|
+
aiAgentHelp: string;
|
|
1694
|
+
aiAgentStart: string;
|
|
1695
|
+
aiAgentServers: string;
|
|
1696
|
+
aiAgentAccess: string;
|
|
1697
|
+
aiAgentReadOnly: string;
|
|
1698
|
+
aiAgentReadWrite: string;
|
|
1699
|
+
aiAgentWriteHint: string;
|
|
1700
|
+
aiAgentReadOnlyServer: string;
|
|
1701
|
+
aiAgentTokenName: string;
|
|
1702
|
+
aiAgentGenerate: string;
|
|
1703
|
+
aiAgentSelectServer: string;
|
|
1704
|
+
aiAgentResult: string;
|
|
1705
|
+
aiAgentResultHint: string;
|
|
1706
|
+
aiAgentCopy: string;
|
|
1707
|
+
aiAgentCopied: string;
|
|
1708
|
+
aiAgentDone: string;
|
|
1709
|
+
aiAgentCreateError: string;
|
|
1710
|
+
aiAgentUnavailable: string;
|
|
1711
|
+
activity: string;
|
|
1712
|
+
activityDescription: string;
|
|
1713
|
+
activityKeywords: string;
|
|
1714
|
+
activityFilter: string;
|
|
1715
|
+
activityAll: string;
|
|
1716
|
+
activityFailures: string;
|
|
1717
|
+
activityDetail: string;
|
|
1718
|
+
activityApp: string;
|
|
1719
|
+
activityEmpty: string;
|
|
1720
|
+
activityMore: string;
|
|
1721
|
+
activityShowing: string;
|
|
1722
|
+
activityLoadError: string;
|
|
1723
|
+
unknownIp: string;
|
|
1724
|
+
unknownApp: string;
|
|
1725
|
+
idle: string;
|
|
1726
|
+
idleDescription: string;
|
|
1727
|
+
idleKeywords: string;
|
|
1728
|
+
idleNever: string;
|
|
1729
|
+
idleOption: string;
|
|
1730
|
+
idleLimitHint: string;
|
|
1731
|
+
idleWarningHeading: string;
|
|
1732
|
+
idleWarningText: PluralMessage;
|
|
1733
|
+
idleStay: string;
|
|
1734
|
+
idleLogout: string;
|
|
1735
|
+
startPage: string;
|
|
1736
|
+
startPageDescription: string;
|
|
1737
|
+
startPageKeywords: string;
|
|
1738
|
+
startHome: string;
|
|
1739
|
+
startLast: string;
|
|
1740
|
+
startFavorite: string;
|
|
1741
|
+
startPageHint: string;
|
|
1742
|
+
defaultBadge: string;
|
|
1743
|
+
defaultBadgeDescription: string;
|
|
1744
|
+
defaultBadgeKeywords: string;
|
|
1745
|
+
defaultBadgeAuto: string;
|
|
1746
|
+
defaultBadgeSaved: string;
|
|
1747
|
+
defaultBadgeError: string;
|
|
1748
|
+
defaultBadgeLoadError: string;
|
|
1749
|
+
notices: string;
|
|
1750
|
+
noticesDescription: string;
|
|
1751
|
+
noticesKeywords: string;
|
|
1752
|
+
browserNotices: string;
|
|
1753
|
+
browserNoticesDescription: string;
|
|
1754
|
+
browserNoticesDenied: string;
|
|
1755
|
+
browserNoticesUnsupported: string;
|
|
1756
|
+
/** Ação do aviso na tela que abre a `url` dele. */
|
|
1757
|
+
noticeOpen: string;
|
|
1758
|
+
sync: string;
|
|
1759
|
+
syncDescription: string;
|
|
1760
|
+
syncKeywords: string;
|
|
1761
|
+
syncSynced: string;
|
|
1762
|
+
syncSaving: string;
|
|
1763
|
+
syncLocal: string;
|
|
1764
|
+
syncError: string;
|
|
1765
|
+
syncNow: string;
|
|
1766
|
+
};
|
|
1767
|
+
loginAttempts: {
|
|
1768
|
+
refresh: string;
|
|
1769
|
+
user: string;
|
|
1770
|
+
userPlaceholder: string;
|
|
1771
|
+
period: string;
|
|
1772
|
+
result: string;
|
|
1773
|
+
method: string;
|
|
1774
|
+
all: string;
|
|
1775
|
+
clear: string;
|
|
1776
|
+
advancedFilters: string;
|
|
1777
|
+
ip: string;
|
|
1778
|
+
ipPlaceholder: string;
|
|
1779
|
+
ipHint: string;
|
|
1780
|
+
reason: string;
|
|
1781
|
+
caption: string;
|
|
1782
|
+
pageItems: string;
|
|
1783
|
+
pageSize: string;
|
|
1784
|
+
colDate: string;
|
|
1785
|
+
colResult: string;
|
|
1786
|
+
colMethod: string;
|
|
1787
|
+
colUser: string;
|
|
1788
|
+
colReason: string;
|
|
1789
|
+
colIp: string;
|
|
1790
|
+
colRealm: string;
|
|
1791
|
+
colClient: string;
|
|
1792
|
+
colUserAgent: string;
|
|
1793
|
+
filterByIp: string;
|
|
1794
|
+
filterByUser: string;
|
|
1795
|
+
/** Identificador digitado que não corresponde a usuário nenhum. */
|
|
1796
|
+
noMatchingUser: string;
|
|
1797
|
+
methods: Record<'local' | 'mfa' | 'github' | 'google' | 'keycloak' | 'entraid', string>;
|
|
1798
|
+
results: Record<'success' | 'failure' | 'cancelled', string>;
|
|
1799
|
+
reasons: Record<'bad_password' | 'unknown_user' | 'locked' | 'mfa_failed' | 'mfa_expired' | 'mfa_not_allowed' | 'mfa_invalid_method' | 'recovery_failed' | 'recovery_refused' | 'not_linked' | 'wrong_realm', string>;
|
|
1800
|
+
/** 403 no painel central (falta a operação). */
|
|
1801
|
+
forbiddenAdmin: string;
|
|
1802
|
+
/** 403 no auto-serviço (não administra o client). */
|
|
1803
|
+
forbiddenClient: string;
|
|
1804
|
+
/** Erro com o detalhe do servidor: `{detail}`. */
|
|
1805
|
+
loadErrorDetail: string;
|
|
1806
|
+
loadError: string;
|
|
1807
|
+
};
|
|
1338
1808
|
}
|
|
1339
1809
|
declare const SPINE_MESSAGES_PT_BR: SpineMessages;
|
|
1340
1810
|
|
|
@@ -1360,11 +1830,15 @@ declare function currentSpineMessages(): SpineMessages;
|
|
|
1360
1830
|
* Textos do spine no idioma ativo da lib (`HermesI18nService.locale`): uma troca de idioma com
|
|
1361
1831
|
* `setLocale` atualiza a lib e o spine juntos, sem recarregar. Leitura igual à do `HERMES_MESSAGES`
|
|
1362
1832
|
* (`inject(SPINE_MESSAGES).header.settings`), viva também em template.
|
|
1833
|
+
*
|
|
1834
|
+
* `meta.locale` é o de formatação da lib (`HermesI18nService.formatLocale`) quando a língua é a mesma: a
|
|
1835
|
+
* variante regional (`en-GB`) e o relógio/primeiro dia da semana escolhidos em Região valem também nas
|
|
1836
|
+
* datas e horas que o spine formata.
|
|
1363
1837
|
*/
|
|
1364
1838
|
declare const SPINE_MESSAGES: InjectionToken<SpineMessages>;
|
|
1365
1839
|
/** Sobrescreve textos do spine e/ou acrescenta idiomas. O idioma em si vem de `provideHermesI18n`. */
|
|
1366
1840
|
declare function provideSpineMessages(config: SpineI18nConfig): Provider;
|
|
1367
1841
|
|
|
1368
|
-
export { APP_PACKAGE_INFO, DensityService, HERMES_DS_IMPORTS, SPINE_ADMIN_API, SPINE_CONFIG, SPINE_DEFAULT_LOGO, SPINE_I18N_CONFIG, SPINE_MESSAGES, SPINE_MESSAGES_EN, SPINE_MESSAGES_ES, SPINE_MESSAGES_PT_BR, SPINE_NEWS, SPINE_USER_STORAGE_KEYS, SpinePreferencesService, SpineQuickAccessService, SpineUserStorage, ThemePresetService, ThemeService, applyRuntimeEnvironment, applySpineFavicon, currentSpineMessages, mergeRouteTree, provideSpineMessages, provideSpineNews, provideUi, resolveSpineLogo, routerIdOf, spineRoutesOf };
|
|
1369
|
-
export type { DensitySetting, PackageInfo, QuickAccessItem, Route, RuntimeEnvironmentInfo, RuntimeEnvironmentShape, SpineConfig, SpineI18nConfig, SpineLogoConfig, SpineLogoSources, SpineMessages, SpineMessagesOverride, SpineNewsIllustration, SpineNewsItem, SpineNewsSlide, SpineUserStorageKey };
|
|
1842
|
+
export { APP_PACKAGE_INFO, DensityService, HERMES_DS_IMPORTS, SPINE_ADMIN_API, SPINE_CONFIG, SPINE_DEFAULT_LOGO, SPINE_I18N_CONFIG, SPINE_IDLE_OPTIONS, SPINE_MESSAGES, SPINE_MESSAGES_EN, SPINE_MESSAGES_ES, SPINE_MESSAGES_PT_BR, SPINE_NEWS, SPINE_USER_STORAGE_KEYS, SpinePreferencesService, SpineQuickAccessService, SpineUserStorage, ThemePresetService, ThemeService, applyRuntimeEnvironment, applySpineFavicon, currentSpineMessages, mergeRouteTree, provideSpineMessages, provideSpineNews, provideUi, resolveSpineLogo, routerIdOf, spineRoutesOf };
|
|
1843
|
+
export type { DensitySetting, PackageInfo, QuickAccessItem, Route, RuntimeEnvironmentInfo, RuntimeEnvironmentShape, SpineConfig, SpineFeatures, SpineHourCyclePreference, SpineI18nConfig, SpineLogoConfig, SpineLogoSources, SpineMcpServer, SpineMessages, SpineMessagesOverride, SpineNewsIllustration, SpineNewsItem, SpineNewsSlide, SpineNoticeType, SpineStartPagePreference, SpineUserStorageKey, SpineWeekStartPreference };
|
|
1370
1844
|
//# sourceMappingURL=trismegisto-spine.d.ts.map
|