@trismegisto/spine 3.0.4 → 3.1.0
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 +36 -0
- package/fesm2022/{trismegisto-spine-auto-service-apps.usage-DeLfYMeO.mjs → trismegisto-spine-auto-service-apps.usage-po9Ds_SU.mjs} +21 -22
- package/fesm2022/trismegisto-spine-auto-service-apps.usage-po9Ds_SU.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-audit.component-BNtNWfiu.mjs → trismegisto-spine-auto-service-auto-service-audit.component-tfGcVR3i.mjs} +2 -2
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-audit.component-BNtNWfiu.mjs.map → trismegisto-spine-auto-service-auto-service-audit.component-tfGcVR3i.mjs.map} +1 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client-picker.component-Cl7ahisu.mjs +65 -0
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client-picker.component-Cl7ahisu.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-client.component-wu2tFGS7.mjs → trismegisto-spine-auto-service-auto-service-client.component-DzmlpLPu.mjs} +136 -87
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client.component-DzmlpLPu.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-groups.component-DHhbEiL4.mjs → trismegisto-spine-auto-service-auto-service-groups.component-2xCG_wS9.mjs} +2 -2
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-groups.component-DHhbEiL4.mjs.map → trismegisto-spine-auto-service-auto-service-groups.component-2xCG_wS9.mjs.map} +1 -1
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-login-attempts.component-B87vibNB.mjs → trismegisto-spine-auto-service-auto-service-login-attempts.component-CRvxfSWD.mjs} +2 -2
- package/fesm2022/{trismegisto-spine-auto-service-auto-service-login-attempts.component-B87vibNB.mjs.map → trismegisto-spine-auto-service-auto-service-login-attempts.component-CRvxfSWD.mjs.map} +1 -1
- package/fesm2022/{trismegisto-spine-auto-service-auto-service.component-D-N-xXPN.mjs → trismegisto-spine-auto-service-auto-service.component-C4FBAefe.mjs} +89 -55
- package/fesm2022/trismegisto-spine-auto-service-auto-service.component-C4FBAefe.mjs.map +1 -0
- package/fesm2022/{trismegisto-spine-auto-service-client.usage-CcJANb20.mjs → trismegisto-spine-auto-service-client.usage-B16r3IHk.mjs} +16 -12
- package/fesm2022/trismegisto-spine-auto-service-client.usage-B16r3IHk.mjs.map +1 -0
- package/fesm2022/trismegisto-spine-auto-service.mjs +7 -7
- package/fesm2022/trismegisto-spine-graphql.mjs.map +1 -1
- package/fesm2022/trismegisto-spine.mjs +43 -5
- package/fesm2022/trismegisto-spine.mjs.map +1 -1
- package/package.json +6 -6
- package/types/trismegisto-spine-auto-service.d.ts.map +1 -1
- package/types/trismegisto-spine-graphql.d.ts +1 -1
- package/types/trismegisto-spine.d.ts +27 -3
- package/types/trismegisto-spine.d.ts.map +1 -1
- package/fesm2022/trismegisto-spine-auto-service-apps.usage-DeLfYMeO.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client-picker.component-DdtDk_xl.mjs +0 -51
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client-picker.component-DdtDk_xl.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service-client.component-wu2tFGS7.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-auto-service.component-D-N-xXPN.mjs.map +0 -1
- package/fesm2022/trismegisto-spine-auto-service-client.usage-CcJANb20.mjs.map +0 -1
|
@@ -4,6 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { InjectionToken, inject, effect, PLATFORM_ID, Inject, Optional, Injectable, makeEnvironmentProviders, provideAppInitializer, NgZone, signal, computed, untracked, DestroyRef } from '@angular/core';
|
|
5
5
|
import { HERMES_ICONS } from '@trismegisto/icons/catalog';
|
|
6
6
|
import { extendThemeConfig, DEFAULT_THEME_CONFIG, normalizeTextScale, normalizeMotionPreference, mergeCatalog } from '@trismegisto/primitives';
|
|
7
|
+
export { loadRuntimeConfig } from '@trismegisto/primitives';
|
|
7
8
|
import { AuthorizationService } from '@orfeu/angular/core';
|
|
8
9
|
|
|
9
10
|
/** `router_id` da tela (nó 'page'), aceitando o argos antigo (que só mandava `route_id`, mesmo valor). */
|
|
@@ -980,11 +981,12 @@ function sameTrail(a, b) {
|
|
|
980
981
|
|
|
981
982
|
/**
|
|
982
983
|
* Ajusta o `environment` ao lugar onde o app está rodando — chamar no `main.ts`, ANTES do
|
|
983
|
-
* `bootstrapApplication
|
|
984
|
+
* `bootstrapApplication` e DEPOIS do `loadRuntimeConfig` (que traz o `config.json` do deploy: o que ele definir
|
|
985
|
+
* explicitamente não é derivado aqui). Antes cada app tinha a sua versão (só o Hefesto derivava as URLs); agora a
|
|
984
986
|
* regra é uma só:
|
|
985
987
|
*
|
|
986
988
|
* - **Sempre:** `redirectUrl`/`postLogoutRedirectUri` = origem + prefixo atual. O servidor exige
|
|
987
|
-
* `redirect_uri` absoluto e o app pode viver sob um prefixo (`/
|
|
989
|
+
* `redirect_uri` absoluto e o app pode viver sob um prefixo (`/app-exemplo`); um valor fixo no
|
|
988
990
|
* environment não bate com a rota real e o callback nunca casa.
|
|
989
991
|
* - **Atrás do proxy (sem porta na URL):**
|
|
990
992
|
* - `authority` = `<origem>/argos` — mesmo domínio da página, senão o cookie de sessão sai com o
|
|
@@ -1540,6 +1542,8 @@ const SPINE_MESSAGES_PT_BR = {
|
|
|
1540
1542
|
tabRouters: 'Roteadores',
|
|
1541
1543
|
tabAccess: 'Acesso',
|
|
1542
1544
|
noClients: 'Você não administra este app. É preciso (a) estar no grupo de administração do projeto dele e (b) estar logado com o crachá <strong>Administrador</strong> ativo. Troque de crachá no menu do seu perfil, se disponível, ou peça acesso a quem administra o projeto.',
|
|
1545
|
+
clientsLoadError: 'Não foi possível carregar os clients que você administra (HTTP {status}). Isso não é falta de permissão: o Argos não respondeu. Tente de novo em instantes.',
|
|
1546
|
+
retryLoad: 'Tentar de novo',
|
|
1543
1547
|
pickClient: 'Selecione o client que deseja administrar',
|
|
1544
1548
|
groupsTitle: 'Grupos',
|
|
1545
1549
|
groupsIntro: 'Crie, edite e exclua os grupos deste client e gerencie os membros — sem depender do painel central.',
|
|
@@ -1599,6 +1603,12 @@ const SPINE_MESSAGES_PT_BR = {
|
|
|
1599
1603
|
noAppAccess: 'Nenhum grupo com acesso a esta aplicação ainda.',
|
|
1600
1604
|
colType: 'Tipo',
|
|
1601
1605
|
manageOperations: 'Gerenciar operações',
|
|
1606
|
+
colOperations: 'Operações',
|
|
1607
|
+
colGuards: 'Guards',
|
|
1608
|
+
filterOperations: 'Filtrar operações',
|
|
1609
|
+
filterRoutes: 'Filtrar rotas',
|
|
1610
|
+
noFilterMatch: 'Nada encontrado para “{term}”.',
|
|
1611
|
+
routesTreeLabel: 'Rotas privadas',
|
|
1602
1612
|
operationsOf: 'Operações de {group}',
|
|
1603
1613
|
noOperations: 'Nenhuma operação registrada para esta aplicação ainda.',
|
|
1604
1614
|
operationsCaption: 'Operações registradas',
|
|
@@ -1626,7 +1636,7 @@ const SPINE_MESSAGES_PT_BR = {
|
|
|
1626
1636
|
routerDescription: 'Descrição',
|
|
1627
1637
|
routerDescriptionHint: 'O que a tela faz, em uma frase. Aparece abaixo do título, na barra da página. Em roteador herdado de template, o texto do template prevalece no próximo sync.',
|
|
1628
1638
|
colPage: 'Página',
|
|
1629
|
-
colBuiltPath: 'Caminho
|
|
1639
|
+
colBuiltPath: 'Caminho',
|
|
1630
1640
|
colVisibility: 'Visibilidade',
|
|
1631
1641
|
colAllowedBadges: 'Crachás permitidos',
|
|
1632
1642
|
anyBadge: 'Qualquer crachá',
|
|
@@ -1683,9 +1693,13 @@ const SPINE_MESSAGES_PT_BR = {
|
|
|
1683
1693
|
excludableYes: 'Sim',
|
|
1684
1694
|
excludableNo: 'Não',
|
|
1685
1695
|
colName: 'Nome',
|
|
1686
|
-
colDisplay: '
|
|
1696
|
+
colDisplay: 'Display',
|
|
1687
1697
|
colIcon: 'Ícone',
|
|
1688
1698
|
colPath: 'Path',
|
|
1699
|
+
colId: 'ID',
|
|
1700
|
+
copyRouteId: 'Copiar o ID da rota {name}',
|
|
1701
|
+
copyRouterId: 'Copiar o ID do roteador {name}',
|
|
1702
|
+
idCopied: 'ID copiado',
|
|
1689
1703
|
reorder: 'Reordenar',
|
|
1690
1704
|
reorderTitle: 'Reordenar menu',
|
|
1691
1705
|
reorderHint: 'Mude a ordem em que os itens aparecem no menu do app: arraste pela alça (ou, no teclado, Espaço na alça e as setas) ou use os botões de subir e descer. Para ordenar o que fica dentro de um item, entre nele.',
|
|
@@ -1709,7 +1723,7 @@ const SPINE_MESSAGES_PT_BR = {
|
|
|
1709
1723
|
pickAccessLevel: 'Selecione o nível',
|
|
1710
1724
|
noLevel: 'Sem nível',
|
|
1711
1725
|
noGroupsOfLevel: 'Nenhum grupo neste nível.',
|
|
1712
|
-
colStatus: '
|
|
1726
|
+
colStatus: 'Status',
|
|
1713
1727
|
groupName: 'Nome',
|
|
1714
1728
|
groupType: 'Tipo',
|
|
1715
1729
|
groupTypePlaceholder: 'Selecione o tipo',
|
|
@@ -2608,6 +2622,8 @@ const SPINE_MESSAGES_EN = {
|
|
|
2608
2622
|
tabRouters: 'Routers',
|
|
2609
2623
|
tabAccess: 'Access',
|
|
2610
2624
|
noClients: "You don't manage this app. You need to (a) be in its project's administration group and (b) be signed in with the <strong>Administrator</strong> badge active. Switch badges in your profile menu, if available, or ask whoever manages the project for access.",
|
|
2625
|
+
clientsLoadError: 'Could not load the clients you administer (HTTP {status}). This is not a permission issue: Argos did not respond. Try again in a moment.',
|
|
2626
|
+
retryLoad: 'Try again',
|
|
2611
2627
|
pickClient: 'Select the client you want to manage',
|
|
2612
2628
|
groupsTitle: 'Groups',
|
|
2613
2629
|
groupsIntro: "Create, edit and delete this client's groups and manage their members — without relying on the central panel.",
|
|
@@ -2667,6 +2683,12 @@ const SPINE_MESSAGES_EN = {
|
|
|
2667
2683
|
noAppAccess: 'No group has access to this application yet.',
|
|
2668
2684
|
colType: 'Type',
|
|
2669
2685
|
manageOperations: 'Manage operations',
|
|
2686
|
+
colOperations: 'Operations',
|
|
2687
|
+
colGuards: 'Guards',
|
|
2688
|
+
filterOperations: 'Filter operations',
|
|
2689
|
+
filterRoutes: 'Filter routes',
|
|
2690
|
+
noFilterMatch: 'Nothing matches “{term}”.',
|
|
2691
|
+
routesTreeLabel: 'Private routes',
|
|
2670
2692
|
operationsOf: 'Operations for {group}',
|
|
2671
2693
|
noOperations: 'No operation registered for this application yet.',
|
|
2672
2694
|
operationsCaption: 'Registered operations',
|
|
@@ -2754,6 +2776,10 @@ const SPINE_MESSAGES_EN = {
|
|
|
2754
2776
|
colDisplay: 'Display',
|
|
2755
2777
|
colIcon: 'Icon',
|
|
2756
2778
|
colPath: 'Path',
|
|
2779
|
+
colId: 'ID',
|
|
2780
|
+
copyRouteId: 'Copy the ID of route {name}',
|
|
2781
|
+
copyRouterId: 'Copy the ID of router {name}',
|
|
2782
|
+
idCopied: 'ID copied',
|
|
2757
2783
|
reorder: 'Reorder',
|
|
2758
2784
|
reorderTitle: 'Reorder menu',
|
|
2759
2785
|
reorderHint: 'Change the order in which items appear in the app menu: drag by the handle (or, on the keyboard, Space on the handle and the arrow keys) or use the up and down buttons. To order what sits inside an item, open it.',
|
|
@@ -3676,6 +3702,8 @@ const SPINE_MESSAGES_ES = {
|
|
|
3676
3702
|
tabRouters: 'Enrutadores',
|
|
3677
3703
|
tabAccess: 'Acceso',
|
|
3678
3704
|
noClients: 'No administras esta app. Necesitas (a) estar en el grupo de administración de su proyecto y (b) haber iniciado sesión con la credencial <strong>Administrador</strong> activa. Cambia de credencial en el menú de tu perfil, si está disponible, o pide acceso a quien administra el proyecto.',
|
|
3705
|
+
clientsLoadError: 'No fue posible cargar los clients que administra (HTTP {status}). No es falta de permiso: Argos no respondió. Inténtelo de nuevo en un momento.',
|
|
3706
|
+
retryLoad: 'Intentar de nuevo',
|
|
3679
3707
|
pickClient: 'Selecciona el client que quieres administrar',
|
|
3680
3708
|
groupsTitle: 'Grupos',
|
|
3681
3709
|
groupsIntro: 'Crea, edita y elimina los grupos de este client y gestiona sus miembros — sin depender del panel central.',
|
|
@@ -3735,6 +3763,12 @@ const SPINE_MESSAGES_ES = {
|
|
|
3735
3763
|
noAppAccess: 'Ningún grupo tiene acceso a esta aplicación todavía.',
|
|
3736
3764
|
colType: 'Tipo',
|
|
3737
3765
|
manageOperations: 'Gestionar operaciones',
|
|
3766
|
+
colOperations: 'Operaciones',
|
|
3767
|
+
colGuards: 'Guards',
|
|
3768
|
+
filterOperations: 'Filtrar operaciones',
|
|
3769
|
+
filterRoutes: 'Filtrar rutas',
|
|
3770
|
+
noFilterMatch: 'Nada coincide con “{term}”.',
|
|
3771
|
+
routesTreeLabel: 'Rutas privadas',
|
|
3738
3772
|
operationsOf: 'Operaciones de {group}',
|
|
3739
3773
|
noOperations: 'Ninguna operación registrada para esta aplicación todavía.',
|
|
3740
3774
|
operationsCaption: 'Operaciones registradas',
|
|
@@ -3822,6 +3856,10 @@ const SPINE_MESSAGES_ES = {
|
|
|
3822
3856
|
colDisplay: 'Visible',
|
|
3823
3857
|
colIcon: 'Ícono',
|
|
3824
3858
|
colPath: 'Path',
|
|
3859
|
+
colId: 'ID',
|
|
3860
|
+
copyRouteId: 'Copiar el ID de la ruta {name}',
|
|
3861
|
+
copyRouterId: 'Copiar el ID del enrutador {name}',
|
|
3862
|
+
idCopied: 'ID copiado',
|
|
3825
3863
|
reorder: 'Reordenar',
|
|
3826
3864
|
reorderTitle: 'Reordenar menú',
|
|
3827
3865
|
reorderHint: 'Cambie el orden en que los elementos aparecen en el menú de la app: arrastre por el asa (o, con el teclado, Espacio en el asa y las flechas) o use los botones de subir y bajar. Para ordenar lo que hay dentro de un elemento, entre en él.',
|