@praxisui/list 10.0.0-rc.38 → 10.0.0-rc.39
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/ai/component-registry.json +74 -38
- package/fesm2022/praxisui-list.mjs +196 -10
- package/package.json +6 -6
- package/src/lib/praxis-list.json-api.md +4 -0
- package/types/praxisui-list.d.ts +11 -2
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.39",
|
|
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.39",
|
|
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.39",
|
|
15
|
+
"@praxisui/core": "^10.0.0-rc.39",
|
|
16
|
+
"@praxisui/rich-content": "^10.0.0-rc.39",
|
|
17
|
+
"@praxisui/settings-panel": "^10.0.0-rc.39"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0",
|
|
@@ -683,6 +683,8 @@ Tipo declarado sem renderer dedicado:
|
|
|
683
683
|
| `templating.<slot>.badge.expr` | Active | badge em template de imagem |
|
|
684
684
|
| `templating.<slot>.badge.color` | Active | cor badge |
|
|
685
685
|
| `templating.<slot>.badge.variant` | Active | variante badge |
|
|
686
|
+
| `templating.<slot>.quickView` | Active | `ResourceQuickViewBinding` governado no slot via `[praxisQuickView]` (`stopPropagation` isola clique/selecao do item) |
|
|
687
|
+
| `templating.<slot>.items[].quickView` | Active | `ResourceQuickViewBinding` individual por subitem em `type = 'compose'` |
|
|
686
688
|
| `templating.metaPlacement` | Active | `side`/`line` |
|
|
687
689
|
| `templating.metaPrefixIcon` | Active | icone prefixado em meta textual |
|
|
688
690
|
| `templating.statusPosition` | Active | `inline`/`top-right` em cards/tiles |
|
|
@@ -924,6 +926,8 @@ AI:
|
|
|
924
926
|
| `templating.<slot>.badge.expr` | Active | badge |
|
|
925
927
|
| `templating.<slot>.badge.color` | Active | badge |
|
|
926
928
|
| `templating.<slot>.badge.variant` | Active | badge |
|
|
929
|
+
| `templating.<slot>.quickView` | Active | `ResourceQuickViewBinding` governado no slot |
|
|
930
|
+
| `templating.<slot>.items[].quickView` | Active | `ResourceQuickViewBinding` por subitem de `compose` |
|
|
927
931
|
| `templating.metaPlacement` | Active | side/line |
|
|
928
932
|
| `templating.metaPrefixIcon` | Active | prefix icon |
|
|
929
933
|
| `templating.statusPosition` | Active | inline/top-right |
|
package/types/praxisui-list.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { OnInit, OnChanges, AfterViewInit, OnDestroy, EventEmitter, SimpleChanges, ChangeDetectorRef, DoCheck, Provider } from '@angular/core';
|
|
5
5
|
import { MatPaginatorSelectConfig, PageEvent } from '@angular/material/paginator';
|
|
6
6
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
7
|
-
import { PraxisExportFormat, PraxisExportScope, PraxisRuntimeConditionalEffectRule, JsonLogicExpression, RichContentDocument, ResourceRecordOpenRef, GlobalActionRef, LocalizationConfig, AiCapability, PraxisDataQueryContext, RichBlockNode, EmptyAction, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, SurfaceOpenActionEditorComponent, DiscoveredResourceOption, GlobalActionCatalogEntry, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, RichPresenterNode, RichComposeNode, ComponentDocMeta, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, ComponentAuthoringManifest } from '@praxisui/core';
|
|
7
|
+
import { PraxisExportFormat, PraxisExportScope, ResourceQuickViewBinding, PraxisRuntimeConditionalEffectRule, JsonLogicExpression, RichContentDocument, ResourceRecordOpenRef, GlobalActionRef, LocalizationConfig, AiCapability, PraxisDataQueryContext, RichBlockNode, EmptyAction, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, SurfaceOpenActionEditorComponent, DiscoveredResourceOption, GlobalActionCatalogEntry, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, RichPresenterNode, RichComposeNode, ComponentDocMeta, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, ComponentAuthoringManifest } from '@praxisui/core';
|
|
8
8
|
import { BaseAiAdapter, AiResponseCompileResult, PatchResult, PraxisAssistantTurnViewState, PraxisAssistantShellLayout, PraxisAssistantShellLabels, PraxisAssistantSessionSnapshot, PraxisAssistantShellQuickReply, PraxisAssistantShellMessage } from '@praxisui/ai';
|
|
9
9
|
import { SettingsValueProvider } from '@praxisui/settings-panel';
|
|
10
10
|
import * as _praxisui_list from '@praxisui/list';
|
|
@@ -78,6 +78,10 @@ interface TemplateDef {
|
|
|
78
78
|
color?: string;
|
|
79
79
|
variant?: 'filled' | 'outlined';
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* Binding declarativo de Quick View transversal para slots/nós de item da lista.
|
|
83
|
+
*/
|
|
84
|
+
quickView?: ResourceQuickViewBinding;
|
|
81
85
|
}
|
|
82
86
|
interface ListFeatureDef {
|
|
83
87
|
icon?: string;
|
|
@@ -173,8 +177,12 @@ interface PraxisListItemAction {
|
|
|
173
177
|
*/
|
|
174
178
|
hateoasRel?: string;
|
|
175
179
|
emitPayload?: 'item' | 'id' | 'value';
|
|
176
|
-
action?: 'surface.open' | string;
|
|
180
|
+
action?: 'surface.open' | 'quickView.open' | string;
|
|
177
181
|
recordOpen?: ResourceRecordOpenRef;
|
|
182
|
+
/**
|
|
183
|
+
* Binding declarativo de Quick View transversal para ação de item da lista.
|
|
184
|
+
*/
|
|
185
|
+
quickView?: ResourceQuickViewBinding;
|
|
178
186
|
globalAction?: GlobalActionRef;
|
|
179
187
|
command?: string;
|
|
180
188
|
params?: Record<string, unknown>;
|
|
@@ -521,6 +529,7 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
521
529
|
private static nextSkinScopeId;
|
|
522
530
|
private customizationEnabled;
|
|
523
531
|
private readonly hostLocale;
|
|
532
|
+
private readonly quickViewService;
|
|
524
533
|
config: PraxisListConfig;
|
|
525
534
|
listId: string;
|
|
526
535
|
componentInstanceId?: string;
|