@praxisui/list 10.0.0-rc.19 → 10.0.0-rc.21
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 +2 -0
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-list.mjs +114 -30
- package/package.json +6 -6
- package/types/praxisui-list.d.ts +26 -0
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/list",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.21",
|
|
4
4
|
"description": "List components and helpers for Praxis UI.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/cdk": "^21.0.0",
|
|
9
9
|
"@angular/material": "^21.0.0",
|
|
10
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
10
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.21",
|
|
11
11
|
"rxjs": ">=7 <9",
|
|
12
12
|
"@angular/forms": "^21.0.0",
|
|
13
13
|
"@angular/router": "^21.0.0",
|
|
14
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
17
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
14
|
+
"@praxisui/ai": "^10.0.0-rc.21",
|
|
15
|
+
"@praxisui/core": "^10.0.0-rc.21",
|
|
16
|
+
"@praxisui/rich-content": "^10.0.0-rc.21",
|
|
17
|
+
"@praxisui/settings-panel": "^10.0.0-rc.21"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0",
|
package/types/praxisui-list.d.ts
CHANGED
|
@@ -1428,6 +1428,7 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1428
1428
|
queryJson: string;
|
|
1429
1429
|
queryError: string;
|
|
1430
1430
|
actionShowIfDrafts: Record<number, string>;
|
|
1431
|
+
private stashedLocalData?;
|
|
1431
1432
|
private crud;
|
|
1432
1433
|
private readonly i18n;
|
|
1433
1434
|
private resourcePathChanges;
|
|
@@ -1458,7 +1459,15 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1458
1459
|
private syncSortStateFromWorking;
|
|
1459
1460
|
private resetVisualMappingState;
|
|
1460
1461
|
private setupSchemaWatcher;
|
|
1462
|
+
loadFieldsFromResource(resourcePath: string): void;
|
|
1461
1463
|
onResourcePathChange(value: string): void;
|
|
1464
|
+
hasRemoteResourcePath(): boolean;
|
|
1465
|
+
getActiveDataSourceMode(): 'local' | 'remote' | 'empty';
|
|
1466
|
+
getActiveDataSourceLabel(): string;
|
|
1467
|
+
hasStashedLocalData(): boolean;
|
|
1468
|
+
useRemoteResource(): void;
|
|
1469
|
+
clearLocalData(): void;
|
|
1470
|
+
restoreLocalData(): void;
|
|
1462
1471
|
getLocalDataRows(): any[];
|
|
1463
1472
|
getLocalDataSummary(): string;
|
|
1464
1473
|
getLocalDataPrecedenceWarning(): string;
|
|
@@ -1709,6 +1718,7 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1709
1718
|
private insertIntoFeatureExpr;
|
|
1710
1719
|
private updateFeatureExpr;
|
|
1711
1720
|
private hydrateMappingFromTemplating;
|
|
1721
|
+
private syncDirtyStateNow;
|
|
1712
1722
|
markDirty(): void;
|
|
1713
1723
|
private getMappingSnapshot;
|
|
1714
1724
|
private updateMappingDirty;
|
|
@@ -2225,6 +2235,14 @@ declare const PRAXIS_LIST_EN_US: {
|
|
|
2225
2235
|
readonly Appearance: "Appearance";
|
|
2226
2236
|
readonly 'Assistant-applied adjustments replace the entire configuration object.': "Assistant-applied adjustments replace the entire configuration object.";
|
|
2227
2237
|
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.";
|
|
2238
|
+
readonly 'Configure how the list loads records: connect a remote API resource or keep local/sample items.': "Configure how the list loads records: connect a remote API resource or keep local/sample items.";
|
|
2239
|
+
readonly 'When local/sample items (dataSource.data) are present, they take precedence over the remote API resource (resourcePath). Switch to the remote resource when you are ready to load live data.': "When local/sample items (dataSource.data) are present, they take precedence over the remote API resource (resourcePath). Switch to the remote resource when you are ready to load live data.";
|
|
2240
|
+
readonly 'Active data source': "Active data source";
|
|
2241
|
+
readonly 'Local / sample data': "Local / sample data";
|
|
2242
|
+
readonly 'Remote resource (API)': "Remote resource (API)";
|
|
2243
|
+
readonly 'No data source configured': "No data source configured";
|
|
2244
|
+
readonly 'Use remote resource (remove local data)': "Use remote resource (remove local data)";
|
|
2245
|
+
readonly 'Restore local data': "Restore local data";
|
|
2228
2246
|
readonly 'Resource (API)': "Resource (API)";
|
|
2229
2247
|
readonly 'List resource': "List resource";
|
|
2230
2248
|
readonly 'Select resource': "Select resource";
|
|
@@ -2613,6 +2631,14 @@ declare const PRAXIS_LIST_PT_BR: {
|
|
|
2613
2631
|
readonly Appearance: "Aparência";
|
|
2614
2632
|
readonly 'Assistant-applied adjustments replace the entire configuration object.': "Observação: ajustes aplicados pelo assistente substituem o objeto de configuração inteiro.";
|
|
2615
2633
|
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 configuração completa.";
|
|
2634
|
+
readonly 'Configure how the list loads records: connect a remote API resource or keep local/sample items.': "Defina como a lista carrega os registros: conecte um recurso remoto (API) ou mantenha itens locais/de exemplo.";
|
|
2635
|
+
readonly 'When local/sample items (dataSource.data) are present, they take precedence over the remote API resource (resourcePath). Switch to the remote resource when you are ready to load live data.': "Quando há itens locais/de exemplo (dataSource.data), eles têm precedência sobre o recurso remoto (resourcePath). Alterne para o recurso remoto quando quiser carregar dados reais da API.";
|
|
2636
|
+
readonly 'Active data source': "Fonte ativa";
|
|
2637
|
+
readonly 'Local / sample data': "Dados locais / de exemplo";
|
|
2638
|
+
readonly 'Remote resource (API)': "Recurso remoto (API)";
|
|
2639
|
+
readonly 'No data source configured': "Nenhuma fonte configurada";
|
|
2640
|
+
readonly 'Use remote resource (remove local data)': "Usar recurso remoto (remover dados locais)";
|
|
2641
|
+
readonly 'Restore local data': "Restaurar dados locais";
|
|
2616
2642
|
readonly 'Resource (API)': "Recurso (API)";
|
|
2617
2643
|
readonly 'List resource': "Recurso da lista";
|
|
2618
2644
|
readonly 'Select resource': "Selecionar recurso";
|