@praxisui/list 3.0.0-beta.6 → 3.0.0-beta.8

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/index.d.ts CHANGED
@@ -4,9 +4,9 @@ import * as i0 from '@angular/core';
4
4
  import { OnInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, ChangeDetectorRef, DoCheck, Provider } from '@angular/core';
5
5
  import { MatSelectionListChange } from '@angular/material/list';
6
6
  import { FormGroup, FormControl } from '@angular/forms';
7
+ import { LocalizationConfig, GlobalActionCatalogEntry, SurfaceOpenPayload, ComponentDocMeta, AiCapabilityCategory, AiValueKind, AiCapability, AiCapabilityCatalog } from '@praxisui/core';
7
8
  import { BaseAiAdapter, Capability as Capability$1, PatchResult } from '@praxisui/ai';
8
9
  import { SettingsValueProvider } from '@praxisui/settings-panel';
9
- import { GlobalActionCatalogEntry, ComponentDocMeta, AiCapabilityCategory, AiValueKind, AiCapability, AiCapabilityCatalog } from '@praxisui/core';
10
10
 
11
11
  type TemplateType = 'text' | 'icon' | 'image' | 'chip' | 'rating' | 'currency' | 'date' | 'html' | 'slot' | 'metric' | 'compose' | 'component';
12
12
  interface TemplateDef {
@@ -287,7 +287,7 @@ interface PraxisListConfig {
287
287
  type?: 'danger' | 'warning' | 'info';
288
288
  };
289
289
  }>;
290
- i18n?: Record<string, string>;
290
+ i18n?: PraxisListI18nConfig;
291
291
  ui?: {
292
292
  showSearch?: boolean;
293
293
  searchField?: string;
@@ -328,6 +328,11 @@ interface ListSelectionEvent {
328
328
  items: any[];
329
329
  ids?: any[];
330
330
  }
331
+ interface PraxisListI18nConfig {
332
+ locale?: string;
333
+ currency?: string;
334
+ localization?: LocalizationConfig;
335
+ }
331
336
 
332
337
  interface ListSection<T = any> {
333
338
  key: string | undefined;
@@ -401,6 +406,7 @@ interface ListRowLayoutColumnViewModel {
401
406
  declare class PraxisList implements OnInit, OnChanges, OnDestroy {
402
407
  private static nextSkinScopeId;
403
408
  private customizationEnabled;
409
+ private readonly hostLocale;
404
410
  config: PraxisListConfig;
405
411
  listId: string;
406
412
  componentInstanceId?: string;
@@ -623,6 +629,7 @@ declare class PraxisList implements OnInit, OnChanges, OnDestroy {
623
629
  private splitPipe;
624
630
  private splitPipeName;
625
631
  private evalString;
632
+ private templateEvaluatorOptions;
626
633
  private parseTwoParams;
627
634
  private toBoolean;
628
635
  private prettyLabel;
@@ -1170,9 +1177,15 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1170
1177
  queryJson: string;
1171
1178
  queryError: string;
1172
1179
  private crud;
1180
+ private readonly i18n;
1173
1181
  private resourcePathChanges;
1174
1182
  constructor(injected?: any);
1175
1183
  private ip;
1184
+ tx(text: string, params?: Record<string, string | number | boolean | null | undefined>): string;
1185
+ queryPlaceholder(): string;
1186
+ currencyPlaceholder(): string;
1187
+ actionVisibilityLabel(): string;
1188
+ actionConditionTooltip(): string;
1176
1189
  pickLeadingIcon(): Promise<void>;
1177
1190
  pickFeatureIcon(index: number): Promise<void>;
1178
1191
  pickMetaPrefixIcon(): Promise<void>;
@@ -1191,6 +1204,13 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1191
1204
  onResourcePathChange(value: string): void;
1192
1205
  applySkinPreset(preset: SkinPreset): void;
1193
1206
  applyLayoutPreset(preset: 'tiles-modern'): void;
1207
+ private defaultPresetLocale;
1208
+ private defaultPresetCurrency;
1209
+ private defaultTilesModernChipColorMap;
1210
+ applySalaryPreset(): void;
1211
+ applyPricePreset(): void;
1212
+ private applyCurrencyPreset;
1213
+ private defaultStatusColorMapEntries;
1194
1214
  previewData: {
1195
1215
  title: string;
1196
1216
  subtitle: string;
@@ -1246,7 +1266,7 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1246
1266
  icon: string;
1247
1267
  props?: string[];
1248
1268
  }[];
1249
- readonly paletteOptions: Array<{
1269
+ get paletteOptions(): Array<{
1250
1270
  value?: string;
1251
1271
  label: string;
1252
1272
  }>;
@@ -1268,6 +1288,14 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1268
1288
  applyGlobalPayloadExample(action: any): void;
1269
1289
  globalPayloadExampleHint(action: any): string;
1270
1290
  globalPayloadSchemaTooltip(action: any): string;
1291
+ isSurfaceOpenCommand(action: {
1292
+ command?: string;
1293
+ }): boolean;
1294
+ getSurfaceOpenGlobalPayload(action: {
1295
+ command?: string;
1296
+ globalPayload?: string;
1297
+ }): SurfaceOpenPayload;
1298
+ onSurfaceOpenGlobalPayloadChange(action: any, payload: SurfaceOpenPayload): void;
1271
1299
  onGlobalActionSelected(id?: string): void;
1272
1300
  private addGlobalActionFromCatalog;
1273
1301
  metaTypeConfig(type?: string): {
@@ -1324,6 +1352,10 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1324
1352
  private getMappingSnapshot;
1325
1353
  private updateMappingDirty;
1326
1354
  private resolveGlobalActionCatalog;
1355
+ private getGlobalActionEntryLabel;
1356
+ private getGlobalActionEntryDescription;
1357
+ private getGlobalActionSchema;
1358
+ private normalizeSurfaceOpenPayload;
1327
1359
  verify(): void;
1328
1360
  inferFromFields(): void;
1329
1361
  generateFeaturesFromMetaComposition(): void;
@@ -1371,17 +1403,21 @@ declare class ListSkinService {
1371
1403
  static ɵprov: i0.ɵɵInjectableDeclaration<ListSkinService>;
1372
1404
  }
1373
1405
 
1406
+ interface TemplateEvaluatorOptions {
1407
+ i18n?: PraxisListI18nConfig | null;
1408
+ appLocale?: string | null;
1409
+ }
1374
1410
  /**
1375
1411
  * Very small template evaluator that supports `${item.foo}` expressions.
1376
1412
  * For security, only string concatenation is supported; no arbitrary code.
1377
1413
  */
1378
- declare function evalExpr(expr: string, ctx: any): string;
1414
+ declare function evalExpr(expr: string, ctx: any, options?: TemplateEvaluatorOptions): string;
1379
1415
  /**
1380
1416
  * Evaluate a template definition with basic pipe support.
1381
1417
  * Supported pipes:
1382
1418
  * - bool:TrueLabel:FalseLabel (maps truthy/falsey values to provided labels)
1383
1419
  */
1384
- declare function evaluateTemplate(def: TemplateDef | undefined, item: any): {
1420
+ declare function evaluateTemplate(def: TemplateDef | undefined, item: any, options?: TemplateEvaluatorOptions): {
1385
1421
  type: string;
1386
1422
  value: string;
1387
1423
  class?: string;
@@ -1705,7 +1741,7 @@ declare class PraxisListDocPageComponent {
1705
1741
  type?: "danger" | "warning" | "info";
1706
1742
  };
1707
1743
  }>;
1708
- i18n?: Record<string, string>;
1744
+ i18n?: PraxisListI18nConfig;
1709
1745
  ui?: {
1710
1746
  showSearch?: boolean;
1711
1747
  searchField?: string;
@@ -1763,18 +1799,452 @@ declare const PRAXIS_LIST_EN_US: {
1763
1799
  readonly collapseDetails: "Collapse details";
1764
1800
  readonly itemDetails: "Item details";
1765
1801
  readonly emptyState: "No items available";
1802
+ readonly Data: "Data";
1803
+ readonly Actions: "Actions";
1804
+ readonly Layout: "Layout";
1805
+ readonly Content: "Content";
1806
+ readonly 'i18n/A11y': "i18n/A11y";
1807
+ readonly Selection: "Selection";
1808
+ readonly Appearance: "Appearance";
1809
+ readonly 'Assistant-applied adjustments replace the entire configuration object.': "Assistant-applied adjustments replace the entire configuration object.";
1810
+ readonly 'applyConfigFromAdapter does not perform a deep merge. Make sure the adapter sends the full config.': "applyConfigFromAdapter does not perform a deep merge. Make sure the adapter sends the full config.";
1811
+ readonly 'Resource (API)': "Resource (API)";
1812
+ readonly 'e.g.: users': "e.g.: users";
1813
+ readonly 'Resource endpoint (resourcePath).': "Resource endpoint (resourcePath).";
1814
+ readonly 'Query (JSON)': "Query (JSON)";
1815
+ readonly 'e.g.: {"status":"active","department":"sales"}': "e.g.: {\"status\":\"active\",\"department\":\"sales\"}";
1816
+ readonly 'Optional. Use valid JSON for initial filters.': "Optional. Use valid JSON for initial filters.";
1817
+ readonly 'Sort by': "Sort by";
1818
+ readonly 'Resource base field.': "Resource base field.";
1819
+ readonly Direction: "Direction";
1820
+ readonly Ascending: "Ascending";
1821
+ readonly Descending: "Descending";
1822
+ readonly 'Configure per-item action buttons (icon, label, color, visibility)': "Configure per-item action buttons (icon, label, color, visibility)";
1823
+ readonly 'Add action': "Add action";
1824
+ readonly 'Global action (Praxis)': "Global action (Praxis)";
1825
+ readonly '-- Select --': "-- Select --";
1826
+ readonly 'No global action registered.': "No global action registered.";
1827
+ readonly 'Select to add with a global `command`.': "Select to add with a global `command`.";
1828
+ readonly 'Action type': "Action type";
1829
+ readonly Icon: "Icon";
1830
+ readonly Button: "Button";
1831
+ readonly 'e.g.: edit, delete': "e.g.: edit, delete";
1832
+ readonly Label: "Label";
1833
+ readonly Variant: "Variant";
1834
+ readonly Outlined: "Outlined";
1835
+ readonly Raised: "Raised";
1836
+ readonly Filled: "Filled";
1837
+ readonly 'Action color': "Action color";
1838
+ readonly 'Custom color': "Custom color";
1839
+ readonly 'Use custom color': "Use custom color";
1840
+ readonly 'Action payload': "Action payload";
1841
+ readonly Default: "Default";
1842
+ readonly "Show when (e.g.: ${item.status} == 'done')": "Show when (e.g.: ${item.status} == 'done')";
1843
+ readonly "Supported syntax: \"${item.field} == 'value'\". Advanced expressions are not evaluated.": "Supported syntax: \"${item.field} == 'value'\". Advanced expressions are not evaluated.";
1844
+ readonly Action: "Action";
1845
+ readonly Preview: "Preview";
1846
+ readonly Remove: "Remove";
1847
+ readonly 'Show loading': "Show loading";
1848
+ readonly Confirmation: "Confirmation";
1849
+ readonly Type: "Type";
1850
+ readonly Title: "Title";
1851
+ readonly Message: "Message";
1852
+ readonly 'Confirm action': "Confirm action";
1853
+ readonly 'Are you sure you want to continue?': "Are you sure you want to continue?";
1854
+ readonly 'Set a title or message for the confirmation.': "Set a title or message for the confirmation.";
1855
+ readonly 'Payload (JSON/Template)': "Payload (JSON/Template)";
1856
+ readonly 'Invalid JSON': "Invalid JSON";
1857
+ readonly 'Insert example': "Insert example";
1858
+ readonly 'Emit local event too': "Emit local event too";
1859
+ readonly JSON: "JSON";
1860
+ readonly ID: "ID";
1861
+ readonly 'Command (global)': "Command (global)";
1862
+ readonly Catalog: "Catalog";
1863
+ readonly Danger: "Danger";
1864
+ readonly Warning: "Warning";
1865
+ readonly Info: "Info";
1866
+ readonly 'Primary (Theme)': "Primary (Theme)";
1867
+ readonly 'Accent (Theme)': "Accent (Theme)";
1868
+ readonly 'Warn (Theme)': "Warn (Theme)";
1869
+ readonly 'M3 Primary': "M3 Primary";
1870
+ readonly 'M3 Secondary': "M3 Secondary";
1871
+ readonly 'M3 Tertiary': "M3 Tertiary";
1872
+ readonly 'M3 Error': "M3 Error";
1873
+ readonly 'M3 On Surface': "M3 On Surface";
1874
+ readonly 'M3 On Surface Variant': "M3 On Surface Variant";
1875
+ readonly 'e.g.: {{currency}}': "e.g.: {{currency}}";
1876
+ readonly 'e.g.: 1.25rem': "e.g.: 1.25rem";
1877
+ readonly 'e.g.: var(--md-sys-elevation-level2)': "e.g.: var(--md-sys-elevation-level2)";
1878
+ readonly 'e.g.: 8px': "e.g.: 8px";
1879
+ readonly 'e.g.: my-list-skin': "e.g.: my-list-skin";
1880
+ readonly 'Example:': "Example:";
1881
+ readonly Item: "Item";
1882
+ readonly Value: "Value";
1883
+ readonly 'Payload emitted by the action.': "Payload emitted by the action.";
1884
+ readonly 'Modern tiles preset': "Modern tiles preset";
1885
+ readonly List: "List";
1886
+ readonly Lines: "Lines";
1887
+ readonly 'Items per page': "Items per page";
1888
+ readonly Density: "Density";
1889
+ readonly Comfortable: "Comfortable";
1890
+ readonly Compact: "Compact";
1891
+ readonly 'List tools': "List tools";
1892
+ readonly 'Show search': "Show search";
1893
+ readonly 'Show sorting': "Show sorting";
1894
+ readonly 'Show total X-Y range': "Show total X-Y range";
1895
+ readonly 'Field to search': "Field to search";
1896
+ readonly 'Search placeholder': "Search placeholder";
1897
+ readonly 'e.g.: Search by title': "e.g.: Search by title";
1898
+ readonly 'Sorting options (label \u00E2\u2020\u2019 field+direction)': "Sorting options (label → field+direction)";
1899
+ readonly 'Add option': "Add option";
1900
+ readonly Field: "Field";
1901
+ readonly 'Duplicate option (field+direction)': "Duplicate option (field+direction)";
1902
+ readonly 'Primary (Title)': "Primary (Title)";
1903
+ readonly 'Not mapped': "Not mapped";
1904
+ readonly 'Secondary (Summary)': "Secondary (Summary)";
1905
+ readonly 'Meta (Detail/Side)': "Meta (Detail/Side)";
1906
+ readonly 'Composed field ({{count}})': "Composed field ({{count}})";
1907
+ readonly Features: "Features";
1908
+ readonly 'Enable features': "Enable features";
1909
+ readonly 'Sync with Meta': "Sync with Meta";
1910
+ readonly 'Expression/Text': "Expression/Text";
1911
+ readonly 'Add feature': "Add feature";
1912
+ readonly 'Section header': "Section header";
1913
+ readonly 'Not configured': "Not configured";
1914
+ readonly 'Empty state': "Empty state";
1915
+ readonly 'Apply mapping': "Apply mapping";
1916
+ readonly 'Infer from schema': "Infer from schema";
1917
+ readonly 'Theme preview': "Theme preview";
1918
+ readonly Light: "Light";
1919
+ readonly Dark: "Dark";
1920
+ readonly Grid: "Grid";
1921
+ readonly 'Default locale': "Default locale";
1922
+ readonly 'e.g.: en-US': "e.g.: en-US";
1923
+ readonly 'Default currency': "Default currency";
1924
+ readonly 'Sticky section header': "Sticky section header";
1925
+ readonly 'Virtual scroll': "Virtual scroll";
1926
+ readonly 'aria-label': "aria-label";
1927
+ readonly 'aria-labelledby': "aria-labelledby";
1928
+ readonly itemClick: "itemClick";
1929
+ readonly Radius: "Radius";
1930
+ readonly Shadow: "Shadow";
1931
+ readonly Blur: "Blur";
1932
+ readonly 'Extra CSS class (skin.class)': "Extra CSS class (skin.class)";
1933
+ readonly 'Inline style (skin.inlineStyle)': "Inline style (skin.inlineStyle)";
1934
+ readonly 'Inline style': "Inline style";
1935
+ readonly Accessibility: "Accessibility";
1936
+ readonly 'High contrast': "High contrast";
1937
+ readonly 'Reduce motion': "Reduce motion";
1938
+ readonly Events: "Events";
1939
+ readonly Mode: "Mode";
1940
+ readonly 'No selection': "No selection";
1941
+ readonly Single: "Single";
1942
+ readonly Multiple: "Multiple";
1943
+ readonly 'Form name': "Form name";
1944
+ readonly 'Form path': "Form path";
1945
+ readonly 'Compare by (field)': "Compare by (field)";
1946
+ readonly 'Unique item key.': "Unique item key.";
1947
+ readonly Return: "Return";
1948
+ readonly 'Composition mode': "Composition mode";
1949
+ readonly 'Fields to compose (multi-select)': "Fields to compose (multi-select)";
1950
+ readonly Separator: "Separator";
1951
+ readonly '(Second) in parentheses': "(Second) in parentheses";
1952
+ readonly '-- None --': "-- None --";
1953
+ readonly 'Advanced options': "Advanced options";
1954
+ readonly Position: "Position";
1955
+ readonly 'Side (right)': "Side (right)";
1956
+ readonly 'Inline (below)': "Inline (below)";
1957
+ readonly 'Trailing (right)': "Trailing (right)";
1958
+ readonly 'Status chip': "Status chip";
1959
+ readonly Price: "Price";
1960
+ readonly 'URL / Expr': "URL / Expr";
1961
+ readonly 'https://... or ${item.imageUrl}': "https://... or ${item.imageUrl}";
1962
+ readonly 'Use an absolute/relative URL or a ${item.field} expression.': "Use an absolute/relative URL or a ${item.field} expression.";
1963
+ readonly 'URL/expr is required': "URL/expr is required";
1964
+ readonly 'Set the URL/expr to render the image.': "Set the URL/expr to render the image.";
1965
+ readonly Class: "Class";
1966
+ readonly Style: "Style";
1967
+ readonly 'Leading (left)': "Leading (left)";
1968
+ readonly 'Static icon': "Static icon";
1969
+ readonly 'Static image': "Static image";
1970
+ readonly 'Avatar icon': "Avatar icon";
1971
+ readonly 'Avatar image + badge': "Avatar image + badge";
1972
+ readonly 'Tag chip': "Tag chip";
1973
+ readonly 'Use the `|iconMap` pipe in the extra pipe for dynamic rendering.': "Use the `|iconMap` pipe in the extra pipe for dynamic rendering.";
1974
+ readonly 'Image URL': "Image URL";
1975
+ readonly 'Alt text': "Alt text";
1976
+ readonly 'Badge text': "Badge text";
1977
+ readonly 'Message / Expr': "Message / Expr";
1978
+ readonly 'Default message': "Default message";
1979
+ readonly 'Default image': "Default image";
1980
+ readonly 'No results': "No results";
1981
+ readonly 'Skeleton count': "Skeleton count";
1982
+ readonly Model: "Model";
1983
+ readonly 'Spacing between items': "Spacing between items";
1984
+ readonly 'No extra space': "No extra space";
1985
+ readonly Tight: "Tight";
1986
+ readonly Standard: "Standard";
1987
+ readonly Relaxed: "Relaxed";
1988
+ readonly Dividers: "Dividers";
1989
+ readonly None: "None";
1990
+ readonly 'Between groups': "Between groups";
1991
+ readonly All: "All";
1992
+ readonly 'Group by': "Group by";
1993
+ readonly Cards: "Cards";
1994
+ readonly Tiles: "Tiles";
1995
+ readonly 'Pill Soft': "Pill Soft";
1996
+ readonly 'Gradient Tile': "Gradient Tile";
1997
+ readonly Glass: "Glass";
1998
+ readonly Elevated: "Elevated";
1999
+ readonly Outline: "Outline";
2000
+ readonly Flat: "Flat";
2001
+ readonly Neumorphism: "Neumorphism";
2002
+ readonly Text: "Text";
2003
+ readonly Chip: "Chip";
2004
+ readonly Rating: "Rating";
2005
+ readonly Image: "Image";
2006
+ readonly HTML: "HTML";
2007
+ readonly Currency: "Currency";
2008
+ readonly Date: "Date";
2009
+ readonly 'Default text': "Default text";
2010
+ readonly 'Default chip': "Default chip";
2011
+ readonly 'Fields:': "Fields:";
2012
+ readonly ' (Required)': " (Required)";
2013
+ readonly 'Example available': "Example available";
2014
+ readonly 'No schema available.': "No schema available.";
2015
+ readonly 'This action may be irreversible. Do you want to continue?': "This action may be irreversible. Do you want to continue?";
2016
+ readonly 'Do you want to proceed with this action?': "Do you want to proceed with this action?";
2017
+ readonly Attention: "Attention";
2018
+ readonly 'CSS class example (add this to your global styles):': "CSS class example (add this to your global styles):";
1766
2019
  };
1767
2020
 
1768
2021
  declare const PRAXIS_LIST_I18N_NAMESPACE = "praxis-list";
1769
2022
  declare function providePraxisListI18n(): i0.Provider;
1770
2023
 
1771
2024
  declare const PRAXIS_LIST_PT_BR: {
1772
- readonly configEdit: "Editar configurações";
2025
+ readonly configEdit: "Editar configurações";
1773
2026
  readonly expandDetails: "Expandir detalhes";
1774
2027
  readonly collapseDetails: "Recolher detalhes";
1775
2028
  readonly itemDetails: "Detalhes do item";
1776
- readonly emptyState: "Nenhum item disponível";
2029
+ readonly emptyState: "Nenhum item disponível";
2030
+ readonly Data: "Dados";
2031
+ readonly Actions: "Ações";
2032
+ readonly Layout: "Layout";
2033
+ readonly Content: "Conteúdo";
2034
+ readonly 'i18n/A11y': "i18n/A11y";
2035
+ readonly Selection: "Seleção";
2036
+ readonly Appearance: "Aparência";
2037
+ readonly 'Assistant-applied adjustments replace the entire configuration object.': "Observação: ajustes aplicados pelo assistente substituem o objeto de configuração inteiro.";
2038
+ readonly 'applyConfigFromAdapter does not perform a deep merge. Make sure the adapter sends the full config.': "O applyConfigFromAdapter não faz merge profundo. Garanta que o adapter envie a config completa.";
2039
+ readonly 'Resource (API)': "Recurso (API)";
2040
+ readonly 'e.g.: users': "ex.: users";
2041
+ readonly 'Resource endpoint (resourcePath).': "Endpoint do recurso (resourcePath).";
2042
+ readonly 'Query (JSON)': "Query (JSON)";
2043
+ readonly 'e.g.: {"status":"active","department":"sales"}': "ex.: {\"status\":\"active\",\"department\":\"sales\"}";
2044
+ readonly 'Optional. Use valid JSON for initial filters.': "Opcional. Use JSON válido para filtros iniciais.";
2045
+ readonly 'Sort by': "Ordenar por";
2046
+ readonly 'Resource base field.': "Campo base do recurso.";
2047
+ readonly Direction: "Direção";
2048
+ readonly Ascending: "Ascendente";
2049
+ readonly Descending: "Descendente";
2050
+ readonly 'Configure per-item action buttons (icon, label, color, visibility)': "Configure botões de ação por item (ícone, rótulo, cor, visibilidade)";
2051
+ readonly 'Add action': "Adicionar ação";
2052
+ readonly 'Global action (Praxis)': "Ação global (Praxis)";
2053
+ readonly '-- Select --': "-- Selecionar --";
2054
+ readonly 'No global action registered.': "Nenhuma ação global registrada.";
2055
+ readonly 'Select to add with a global `command`.': "Selecione para adicionar com `command` global.";
2056
+ readonly 'Action type': "Tipo de ação";
2057
+ readonly Icon: "Ícone";
2058
+ readonly Button: "Botão";
2059
+ readonly 'e.g.: edit, delete': "ex.: edit, delete";
2060
+ readonly Label: "Rótulo";
2061
+ readonly Variant: "Variante";
2062
+ readonly Outlined: "Contorno";
2063
+ readonly Raised: "Elevado";
2064
+ readonly Filled: "Preenchido";
2065
+ readonly 'Action color': "Cor da ação";
2066
+ readonly 'Custom color': "Cor personalizada";
2067
+ readonly 'Use custom color': "Usar cor personalizada";
2068
+ readonly 'Action payload': "Payload da ação";
2069
+ readonly Default: "Padrão";
2070
+ readonly "Show when (e.g.: ${item.status} == 'done')": "Exibir quando (ex.: ${item.status} == 'done')";
2071
+ readonly "Supported syntax: \"${item.field} == 'value'\". Advanced expressions are not evaluated.": "Sintaxe suportada: \"${item.field} == 'value'\". Expressões avançadas não são avaliadas.";
2072
+ readonly Action: "Ação";
2073
+ readonly Preview: "Pré-visualização";
2074
+ readonly Remove: "Remover";
2075
+ readonly 'Show loading': "Mostrar loading";
2076
+ readonly Confirmation: "Confirmação";
2077
+ readonly Type: "Tipo";
2078
+ readonly Title: "Título";
2079
+ readonly Message: "Mensagem";
2080
+ readonly 'Confirm action': "Confirmar ação";
2081
+ readonly 'Are you sure you want to continue?': "Tem certeza que deseja continuar?";
2082
+ readonly 'Set a title or message for the confirmation.': "Defina um título ou mensagem para a confirmação.";
2083
+ readonly 'Payload (JSON/Template)': "Payload (JSON/Template)";
2084
+ readonly 'Invalid JSON': "JSON inválido";
2085
+ readonly 'Insert example': "Inserir exemplo";
2086
+ readonly 'Emit local event too': "Emitir evento local também";
2087
+ readonly JSON: "JSON";
2088
+ readonly ID: "ID";
2089
+ readonly 'Command (global)': "Comando (global)";
2090
+ readonly Catalog: "Catalogo";
2091
+ readonly Danger: "Perigo";
2092
+ readonly Warning: "Aviso";
2093
+ readonly Info: "Info";
2094
+ readonly 'Primary (Theme)': "Primario (Tema)";
2095
+ readonly 'Accent (Theme)': "Destaque (Tema)";
2096
+ readonly 'Warn (Theme)': "Aviso (Tema)";
2097
+ readonly 'M3 Primary': "M3 Primario";
2098
+ readonly 'M3 Secondary': "M3 Secundario";
2099
+ readonly 'M3 Tertiary': "M3 Terciario";
2100
+ readonly 'M3 Error': "M3 Erro";
2101
+ readonly 'M3 On Surface': "M3 Na Superficie";
2102
+ readonly 'M3 On Surface Variant': "M3 Variacao Na Superficie";
2103
+ readonly 'e.g.: {{currency}}': "ex.: {{currency}}";
2104
+ readonly 'e.g.: 1.25rem': "ex.: 1.25rem";
2105
+ readonly 'e.g.: var(--md-sys-elevation-level2)': "ex.: var(--md-sys-elevation-level2)";
2106
+ readonly 'e.g.: 8px': "ex.: 8px";
2107
+ readonly 'e.g.: my-list-skin': "ex.: my-list-skin";
2108
+ readonly 'Example:': "Exemplo:";
2109
+ readonly Item: "Item";
2110
+ readonly Value: "Valor";
2111
+ readonly 'Payload emitted by the action.': "Payload emitido pela ação.";
2112
+ readonly 'Modern tiles preset': "Preset Tiles Moderno";
2113
+ readonly List: "Lista";
2114
+ readonly Lines: "Linhas";
2115
+ readonly 'Items per page': "Itens por página";
2116
+ readonly Density: "Densidade";
2117
+ readonly Comfortable: "Confortável";
2118
+ readonly Compact: "Compacta";
2119
+ readonly 'List tools': "Ferramentas da lista";
2120
+ readonly 'Show search': "Mostrar busca";
2121
+ readonly 'Show sorting': "Mostrar ordenar";
2122
+ readonly 'Show total X-Y range': "Mostrar faixa X-Y de Total";
2123
+ readonly 'Field to search': "Campo para buscar";
2124
+ readonly 'Search placeholder': "Placeholder da busca";
2125
+ readonly 'e.g.: Search by title': "ex.: Buscar por título";
2126
+ readonly 'Sorting options (label \u00E2\u2020\u2019 field+direction)': "Opções de ordenação (rótulo → campo+direção)";
2127
+ readonly 'Add option': "Adicionar opção";
2128
+ readonly Field: "Campo";
2129
+ readonly 'Duplicate option (field+direction)': "Opção duplicada (campo+direção)";
2130
+ readonly 'Primary (Title)': "Primary (Título)";
2131
+ readonly 'Not mapped': "Não mapeado";
2132
+ readonly 'Secondary (Summary)': "Secondary (Resumo)";
2133
+ readonly 'Meta (Detail/Side)': "Meta (Detalhe/Lateral)";
2134
+ readonly 'Composed field ({{count}})': "Campo composto ({{count}})";
2135
+ readonly Features: "Recursos";
2136
+ readonly 'Enable features': "Ativar recursos";
2137
+ readonly 'Sync with Meta': "Sincronizar com Meta";
2138
+ readonly 'Expression/Text': "Expr/Texto";
2139
+ readonly 'Add feature': "Adicionar recurso";
2140
+ readonly 'Section header': "Cabeçalho de Seção";
2141
+ readonly 'Not configured': "Não configurado";
2142
+ readonly 'Empty state': "Estado Vazio";
2143
+ readonly 'Apply mapping': "Aplicar mapeamento";
2144
+ readonly 'Infer from schema': "Inferir do schema";
2145
+ readonly 'Theme preview': "Prévia de tema";
2146
+ readonly Light: "Claro";
2147
+ readonly Dark: "Escuro";
2148
+ readonly Grid: "Grade";
2149
+ readonly 'Default locale': "Locale padrão";
2150
+ readonly 'e.g.: en-US': "ex.: en-US";
2151
+ readonly 'Default currency': "Moeda padrão";
2152
+ readonly 'Sticky section header': "Cabeçalho da seção fixo";
2153
+ readonly 'Virtual scroll': "Rolagem virtual";
2154
+ readonly 'aria-label': "aria-label";
2155
+ readonly 'aria-labelledby': "aria-labelledby";
2156
+ readonly itemClick: "itemClick";
2157
+ readonly Radius: "Raio";
2158
+ readonly Shadow: "Sombra";
2159
+ readonly Blur: "Desfoque";
2160
+ readonly 'Extra CSS class (skin.class)': "Classe CSS extra (skin.class)";
2161
+ readonly 'Inline style (skin.inlineStyle)': "Estilo inline (skin.inlineStyle)";
2162
+ readonly 'Inline style': "Estilo inline";
2163
+ readonly Accessibility: "Acessibilidade";
2164
+ readonly 'High contrast': "Alto contraste";
2165
+ readonly 'Reduce motion': "Reduzir movimento";
2166
+ readonly Events: "Eventos";
2167
+ readonly Mode: "Modo";
2168
+ readonly 'No selection': "Sem seleção";
2169
+ readonly Single: "Única";
2170
+ readonly Multiple: "Múltipla";
2171
+ readonly 'Form name': "Nome no formulário";
2172
+ readonly 'Form path': "Caminho no formulário";
2173
+ readonly 'Compare by (field)': "Comparar por (campo)";
2174
+ readonly 'Unique item key.': "Chave única do item.";
2175
+ readonly Return: "Retorno";
2176
+ readonly 'Composition mode': "Modo de composição";
2177
+ readonly 'Fields to compose (multi-select)': "Campos para compor (múltipla seleção)";
2178
+ readonly Separator: "Separador";
2179
+ readonly '(Second) in parentheses': "(Segundo) entre parênteses";
2180
+ readonly '-- None --': "-- Nenhum --";
2181
+ readonly 'Advanced options': "Opções avançadas";
2182
+ readonly Position: "Posição";
2183
+ readonly 'Side (right)': "Lateral (direita)";
2184
+ readonly 'Inline (below)': "Na linha (abaixo)";
2185
+ readonly 'Trailing (right)': "Trailing (direita)";
2186
+ readonly 'Status chip': "Chip de status";
2187
+ readonly Price: "Preço";
2188
+ readonly 'URL / Expr': "URL / Expr";
2189
+ readonly 'https://... or ${item.imageUrl}': "https://... ou ${item.imageUrl}";
2190
+ readonly 'Use an absolute/relative URL or a ${item.field} expression.': "Use uma URL absoluta/relativa ou uma expressão ${item.field}.";
2191
+ readonly 'URL/expr is required': "URL/expr obrigatória";
2192
+ readonly 'Set the URL/expr to render the image.': "Defina a URL/expr para renderizar a imagem.";
2193
+ readonly Class: "Classe";
2194
+ readonly Style: "Estilo";
2195
+ readonly 'Leading (left)': "Leading (esquerda)";
2196
+ readonly 'Static icon': "Ícone estático";
2197
+ readonly 'Static image': "Imagem estática";
2198
+ readonly 'Avatar icon': "Avatar com ícone";
2199
+ readonly 'Avatar image + badge': "Avatar com imagem + badge";
2200
+ readonly 'Tag chip': "Chip de tag";
2201
+ readonly 'Use the `|iconMap` pipe in the extra pipe for dynamic rendering.': "Use o pipe `|iconMap` no extra pipe para renderização dinâmica.";
2202
+ readonly 'Image URL': "URL da imagem";
2203
+ readonly 'Alt text': "Texto alternativo";
2204
+ readonly 'Badge text': "Texto do badge";
2205
+ readonly 'Message / Expr': "Mensagem / Expr";
2206
+ readonly 'Default message': "Mensagem padrão";
2207
+ readonly 'Default image': "Imagem padrão";
2208
+ readonly 'No results': "Sem resultados";
2209
+ readonly 'Skeleton count': "Quantidade de skeleton";
2210
+ readonly Model: "Modelo";
2211
+ readonly 'Spacing between items': "Espaçamento entre itens";
2212
+ readonly 'No extra space': "Sem espaço extra";
2213
+ readonly Tight: "Ajustado";
2214
+ readonly Standard: "Padrão";
2215
+ readonly Relaxed: "Relaxado";
2216
+ readonly Dividers: "Divisores";
2217
+ readonly None: "Nenhum";
2218
+ readonly 'Between groups': "Entre grupos";
2219
+ readonly All: "Todos";
2220
+ readonly 'Group by': "Agrupar por";
2221
+ readonly Cards: "Cards";
2222
+ readonly Tiles: "Tiles";
2223
+ readonly 'Pill Soft': "Pill Soft";
2224
+ readonly 'Gradient Tile': "Tile com degradê";
2225
+ readonly Glass: "Vidro";
2226
+ readonly Elevated: "Elevado";
2227
+ readonly Outline: "Contorno";
2228
+ readonly Flat: "Plano";
2229
+ readonly Neumorphism: "Neumorfismo";
2230
+ readonly Text: "Texto";
2231
+ readonly Chip: "Chip";
2232
+ readonly Rating: "Rating";
2233
+ readonly Image: "Imagem";
2234
+ readonly HTML: "HTML";
2235
+ readonly Currency: "Moeda";
2236
+ readonly Date: "Data";
2237
+ readonly 'Default text': "Texto padrão";
2238
+ readonly 'Default chip': "Chip padrão";
2239
+ readonly 'Fields:': "Campos:";
2240
+ readonly ' (Required)': " (Obrigatório)";
2241
+ readonly 'Example available': "Exemplo disponível";
2242
+ readonly 'No schema available.': "Nenhum schema disponível.";
2243
+ readonly 'This action may be irreversible. Do you want to continue?': "Esta ação pode ser irreversível. Deseja continuar?";
2244
+ readonly 'Do you want to proceed with this action?': "Deseja prosseguir com esta ação?";
2245
+ readonly Attention: "Atenção";
2246
+ readonly 'CSS class example (add this to your global styles):': "Exemplo de classe CSS (adicione isso aos estilos globais):";
1777
2247
  };
1778
2248
 
1779
2249
  export { ExecutiveAlertsComponent, ExecutiveBadgeComponent, ExecutiveOwnerComponent, LIST_AI_CAPABILITIES, ListDataService, ListSkinService, PRAXIS_LIST_COMPONENT_METADATA, PRAXIS_LIST_EN_US, PRAXIS_LIST_I18N_NAMESPACE, PRAXIS_LIST_PT_BR, PraxisList, PraxisListConfigEditor, PraxisListDocPageComponent, PraxisListJsonConfigEditorComponent, adaptSelection, buildListApplyPlan, createListAuthoringDocument, evalExpr, evaluateTemplate, inferListAuthoringDocument, inferTemplatingFromSchema, normalizeListActionPayloads, normalizeListAuthoringDocument, normalizeListConfig, parseLegacyOrListDocument, projectListAuthoringDocument, providePraxisListI18n, providePraxisListMetadata, serializeListAuthoringDocument, toCanonicalListConfig, validateListAuthoringDocument };
1780
- export type { Capability, CapabilityCatalog, CapabilityCategory, EditorDiagnostic, EditorDocument, ExecutiveAlert, JsonEditorEvent, JsonValidationResult, ListActionEvent, ListApplyPlan, ListAuthoringDocument, ListExpansionSectionDef, ListExpansionSectionType, ListFeatureDef, ListItemEvent, ListProjectionContext, ListRowLayoutSlot, ListRuntimeContext, ListSchemaInferencePlan, ListSection, ListSelectionEvent, ListTemplatingSlot, ListValidationContext, PraxisListConfig, TemplateDef, TemplateFeatureDef, TemplateType, TemplatingFeatureDef, ValueKind };
2250
+ export type { Capability, CapabilityCatalog, CapabilityCategory, EditorDiagnostic, EditorDocument, ExecutiveAlert, JsonEditorEvent, JsonValidationResult, ListActionEvent, ListApplyPlan, ListAuthoringDocument, ListExpansionSectionDef, ListExpansionSectionType, ListFeatureDef, ListItemEvent, ListProjectionContext, ListRowLayoutSlot, ListRuntimeContext, ListSchemaInferencePlan, ListSection, ListSelectionEvent, ListTemplatingSlot, ListValidationContext, PraxisListConfig, PraxisListI18nConfig, TemplateDef, TemplateEvaluatorOptions, TemplateFeatureDef, TemplateType, TemplatingFeatureDef, ValueKind };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@praxisui/list",
3
- "version": "3.0.0-beta.6",
3
+ "version": "3.0.0-beta.8",
4
4
  "description": "List components and helpers for Praxis UI.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=16 <21",
7
7
  "@angular/core": ">=16 <21",
8
8
  "@angular/material": ">=16 <21",
9
- "@praxisui/dynamic-fields": "^3.0.0-beta.6",
9
+ "@praxisui/dynamic-fields": "^3.0.0-beta.8",
10
10
  "rxjs": ">=7 <9"
11
11
  },
12
12
  "dependencies": {