@praxisui/core 9.0.5-rc.31 → 9.0.5-rc.32
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-17T14:12:23.932Z",
|
|
4
4
|
"packageName": "@praxisui/core",
|
|
5
|
-
"packageVersion": "9.0.5-rc.
|
|
5
|
+
"packageVersion": "9.0.5-rc.32",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 4,
|
|
@@ -6206,7 +6206,7 @@ function createDefaultTableConfig() {
|
|
|
6206
6206
|
},
|
|
6207
6207
|
resizing: {
|
|
6208
6208
|
enabled: false,
|
|
6209
|
-
autoFit:
|
|
6209
|
+
autoFit: true,
|
|
6210
6210
|
persistWidths: true,
|
|
6211
6211
|
minColumnWidth: 50,
|
|
6212
6212
|
maxColumnWidth: 500,
|
|
@@ -32967,10 +32967,14 @@ class PraxisResourceIdentityComponent {
|
|
|
32967
32967
|
emptyTitle = '';
|
|
32968
32968
|
density = 'comfortable';
|
|
32969
32969
|
showMetadataLabels = false;
|
|
32970
|
+
showKey = true;
|
|
32970
32971
|
showKeyLabel = false;
|
|
32971
32972
|
ariaLabel = '';
|
|
32972
32973
|
title() {
|
|
32973
|
-
|
|
32974
|
+
if (!this.identity) {
|
|
32975
|
+
return this.emptyTitle.trim();
|
|
32976
|
+
}
|
|
32977
|
+
return String(this.identity.title?.value ?? this.identity.displayLabel ?? '').trim();
|
|
32974
32978
|
}
|
|
32975
32979
|
prefix(item) {
|
|
32976
32980
|
return item.presentation?.prefix ?? '';
|
|
@@ -32982,7 +32986,7 @@ class PraxisResourceIdentityComponent {
|
|
|
32982
32986
|
return item.presentation?.presenter === 'chip' || item.presentation?.presenter === 'badge';
|
|
32983
32987
|
}
|
|
32984
32988
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisResourceIdentityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32985
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisResourceIdentityComponent, isStandalone: true, selector: "praxis-resource-identity", inputs: { identity: "identity", emptyTitle: "emptyTitle", density: "density", showMetadataLabels: "showMetadataLabels", showKeyLabel: "showKeyLabel", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
|
|
32989
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisResourceIdentityComponent, isStandalone: true, selector: "praxis-resource-identity", inputs: { identity: "identity", emptyTitle: "emptyTitle", density: "density", showMetadataLabels: "showMetadataLabels", showKey: "showKey", showKeyLabel: "showKeyLabel", ariaLabel: "ariaLabel" }, ngImport: i0, template: `
|
|
32986
32990
|
<div
|
|
32987
32991
|
class="identity"
|
|
32988
32992
|
[class.identity--compact]="density === 'compact'"
|
|
@@ -32990,15 +32994,19 @@ class PraxisResourceIdentityComponent {
|
|
|
32990
32994
|
[attr.aria-label]="ariaLabel || null"
|
|
32991
32995
|
>
|
|
32992
32996
|
<div class="identity__primary">
|
|
32993
|
-
@if (
|
|
32994
|
-
|
|
32995
|
-
|
|
32996
|
-
|
|
32997
|
-
|
|
32998
|
-
|
|
32999
|
-
|
|
32997
|
+
@if (showKey) {
|
|
32998
|
+
@if (identity?.key; as key) {
|
|
32999
|
+
<span class="identity__key" [attr.title]="key.label || null">
|
|
33000
|
+
@if (showKeyLabel && key.label) {
|
|
33001
|
+
<span class="identity__key-label">{{ key.label }}:</span>
|
|
33002
|
+
}
|
|
33003
|
+
{{ prefix(key) }}{{ key.value }}{{ suffix(key) }}
|
|
33004
|
+
</span>
|
|
33005
|
+
}
|
|
33006
|
+
}
|
|
33007
|
+
@if (title(); as identityTitle) {
|
|
33008
|
+
<span class="identity__title">{{ identityTitle }}</span>
|
|
33000
33009
|
}
|
|
33001
|
-
<span class="identity__title">{{ title() }}</span>
|
|
33002
33010
|
</div>
|
|
33003
33011
|
@if (identity?.metadata?.length) {
|
|
33004
33012
|
<div class="identity__metadata">
|
|
@@ -33029,15 +33037,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
33029
33037
|
[attr.aria-label]="ariaLabel || null"
|
|
33030
33038
|
>
|
|
33031
33039
|
<div class="identity__primary">
|
|
33032
|
-
@if (
|
|
33033
|
-
|
|
33034
|
-
|
|
33035
|
-
|
|
33036
|
-
|
|
33037
|
-
|
|
33038
|
-
|
|
33040
|
+
@if (showKey) {
|
|
33041
|
+
@if (identity?.key; as key) {
|
|
33042
|
+
<span class="identity__key" [attr.title]="key.label || null">
|
|
33043
|
+
@if (showKeyLabel && key.label) {
|
|
33044
|
+
<span class="identity__key-label">{{ key.label }}:</span>
|
|
33045
|
+
}
|
|
33046
|
+
{{ prefix(key) }}{{ key.value }}{{ suffix(key) }}
|
|
33047
|
+
</span>
|
|
33048
|
+
}
|
|
33049
|
+
}
|
|
33050
|
+
@if (title(); as identityTitle) {
|
|
33051
|
+
<span class="identity__title">{{ identityTitle }}</span>
|
|
33039
33052
|
}
|
|
33040
|
-
<span class="identity__title">{{ title() }}</span>
|
|
33041
33053
|
</div>
|
|
33042
33054
|
@if (identity?.metadata?.length) {
|
|
33043
33055
|
<div class="identity__metadata">
|
|
@@ -33065,6 +33077,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
33065
33077
|
type: Input
|
|
33066
33078
|
}], showMetadataLabels: [{
|
|
33067
33079
|
type: Input
|
|
33080
|
+
}], showKey: [{
|
|
33081
|
+
type: Input
|
|
33068
33082
|
}], showKeyLabel: [{
|
|
33069
33083
|
type: Input
|
|
33070
33084
|
}], ariaLabel: [{
|
|
@@ -42033,7 +42047,7 @@ class PraxisSurfaceHostComponent {
|
|
|
42033
42047
|
}
|
|
42034
42048
|
</section>
|
|
42035
42049
|
</div>
|
|
42036
|
-
`, isInline: true, styles: [":host{display:block;min-width:0}.pdx-surface-host{display:grid;gap:16px;min-width:0}.pdx-surface-host__header{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start}.pdx-surface-host__icon{font-size:20px;line-height:20px;color:var(--md-sys-color-primary, currentColor)}.pdx-surface-host__copy{display:grid;gap:4px;min-width:0}.pdx-surface-host__title,.pdx-surface-host__subtitle{margin:0}.pdx-surface-host__title{font-size:1rem;font-weight:600}.pdx-surface-host__subtitle{color:var(--md-sys-color-on-surface-variant, rgba(0, 0, 0, .64));font-size:.9375rem}.pdx-surface-host__body{display:grid;gap:16px;min-width:0}.pdx-surface-host__operation-context{min-width:0;padding:12px 14px;border-inline-start:3px solid var(--md-sys-color-primary, currentColor);border-radius:0 10px 10px 0;background:var(--md-sys-color-surface-container-low, transparent)}.pdx-surface-host__slot{min-width:0}\n"], dependencies: [{ kind: "directive", type: DynamicWidgetLoaderDirective, selector: "[dynamicWidgetLoader]", inputs: ["dynamicWidgetLoader", "ownerWidgetKey", "context", "strictValidation", "autoWireOutputs"], outputs: ["widgetEvent", "widgetDiagnostic"], exportAs: ["dynamicWidgetLoader"] }, { kind: "component", type: PraxisResourceIdentityComponent, selector: "praxis-resource-identity", inputs: ["identity", "emptyTitle", "density", "showMetadataLabels", "showKeyLabel", "ariaLabel"] }] });
|
|
42050
|
+
`, isInline: true, styles: [":host{display:block;min-width:0}.pdx-surface-host{display:grid;gap:16px;min-width:0}.pdx-surface-host__header{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start}.pdx-surface-host__icon{font-size:20px;line-height:20px;color:var(--md-sys-color-primary, currentColor)}.pdx-surface-host__copy{display:grid;gap:4px;min-width:0}.pdx-surface-host__title,.pdx-surface-host__subtitle{margin:0}.pdx-surface-host__title{font-size:1rem;font-weight:600}.pdx-surface-host__subtitle{color:var(--md-sys-color-on-surface-variant, rgba(0, 0, 0, .64));font-size:.9375rem}.pdx-surface-host__body{display:grid;gap:16px;min-width:0}.pdx-surface-host__operation-context{min-width:0;padding:12px 14px;border-inline-start:3px solid var(--md-sys-color-primary, currentColor);border-radius:0 10px 10px 0;background:var(--md-sys-color-surface-container-low, transparent)}.pdx-surface-host__slot{min-width:0}\n"], dependencies: [{ kind: "directive", type: DynamicWidgetLoaderDirective, selector: "[dynamicWidgetLoader]", inputs: ["dynamicWidgetLoader", "ownerWidgetKey", "context", "strictValidation", "autoWireOutputs"], outputs: ["widgetEvent", "widgetDiagnostic"], exportAs: ["dynamicWidgetLoader"] }, { kind: "component", type: PraxisResourceIdentityComponent, selector: "praxis-resource-identity", inputs: ["identity", "emptyTitle", "density", "showMetadataLabels", "showKey", "showKeyLabel", "ariaLabel"] }] });
|
|
42037
42051
|
}
|
|
42038
42052
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisSurfaceHostComponent, decorators: [{
|
|
42039
42053
|
type: Component,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/core",
|
|
3
|
-
"version": "9.0.5-rc.
|
|
3
|
+
"version": "9.0.5-rc.32",
|
|
4
4
|
"description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
package/types/praxisui-core.d.ts
CHANGED
|
@@ -15806,6 +15806,7 @@ declare class PraxisResourceIdentityComponent {
|
|
|
15806
15806
|
emptyTitle: string;
|
|
15807
15807
|
density: 'compact' | 'comfortable';
|
|
15808
15808
|
showMetadataLabels: boolean;
|
|
15809
|
+
showKey: boolean;
|
|
15809
15810
|
showKeyLabel: boolean;
|
|
15810
15811
|
ariaLabel: string;
|
|
15811
15812
|
protected title(): string;
|
|
@@ -15813,7 +15814,7 @@ declare class PraxisResourceIdentityComponent {
|
|
|
15813
15814
|
protected suffix(item: ResourceIdentityPart): string;
|
|
15814
15815
|
protected isChip(item: ResourceIdentityPart): boolean;
|
|
15815
15816
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisResourceIdentityComponent, never>;
|
|
15816
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisResourceIdentityComponent, "praxis-resource-identity", never, { "identity": { "alias": "identity"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "density": { "alias": "density"; "required": false; }; "showMetadataLabels": { "alias": "showMetadataLabels"; "required": false; }; "showKeyLabel": { "alias": "showKeyLabel"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
15817
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisResourceIdentityComponent, "praxis-resource-identity", never, { "identity": { "alias": "identity"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "density": { "alias": "density"; "required": false; }; "showMetadataLabels": { "alias": "showMetadataLabels"; "required": false; }; "showKey": { "alias": "showKey"; "required": false; }; "showKeyLabel": { "alias": "showKeyLabel"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
15817
15818
|
}
|
|
15818
15819
|
|
|
15819
15820
|
declare const BUILTIN_PAGE_LAYOUT_PRESETS: Record<string, WidgetPageLayoutPresetDefinition>;
|