@praxisui/page-builder 10.0.0-rc.51 → 10.0.0-rc.53
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-11-
|
|
3
|
+
"generatedAt": "2026-11-18T18:58:23.543Z",
|
|
4
4
|
"packageName": "@praxisui/page-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.53",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -38844,10 +38844,10 @@ function collectRowClickConnectedWidgetKeys(page) {
|
|
|
38844
38844
|
return connected;
|
|
38845
38845
|
}
|
|
38846
38846
|
function sanitizeTableInputs(inputs, rowClickConnected, options) {
|
|
38847
|
-
|
|
38848
|
-
|
|
38849
|
-
|
|
38850
|
-
|
|
38847
|
+
const hadExplicitConfig = isPlainRecord$1(inputs['config']);
|
|
38848
|
+
const existingConfig = hadExplicitConfig
|
|
38849
|
+
? inputs['config']
|
|
38850
|
+
: {};
|
|
38851
38851
|
const columns = Array.isArray(existingConfig['columns']) ? existingConfig['columns'] : [];
|
|
38852
38852
|
const columnProjection = isPlainRecord$1(existingConfig['columnProjection'])
|
|
38853
38853
|
? existingConfig['columnProjection']
|
|
@@ -38869,6 +38869,9 @@ function sanitizeTableInputs(inputs, rowClickConnected, options) {
|
|
|
38869
38869
|
openOnRowClick: false,
|
|
38870
38870
|
};
|
|
38871
38871
|
}
|
|
38872
|
+
if (!hadExplicitConfig && columnProjection === undefined && Object.keys(existingBehavior).length === 0) {
|
|
38873
|
+
return;
|
|
38874
|
+
}
|
|
38872
38875
|
inputs['config'] = {
|
|
38873
38876
|
...existingConfig,
|
|
38874
38877
|
columns,
|
|
@@ -39415,10 +39418,18 @@ class PraxisCommandPaletteComponent {
|
|
|
39415
39418
|
});
|
|
39416
39419
|
}
|
|
39417
39420
|
onDocumentKeydown(event) {
|
|
39421
|
+
if (event.defaultPrevented) {
|
|
39422
|
+
return;
|
|
39423
|
+
}
|
|
39424
|
+
if (event.key === 'Escape' && this.open()) {
|
|
39425
|
+
event.preventDefault();
|
|
39426
|
+
this.closePalette();
|
|
39427
|
+
return;
|
|
39428
|
+
}
|
|
39418
39429
|
if (!this.enableGlobalShortcut()) {
|
|
39419
39430
|
return;
|
|
39420
39431
|
}
|
|
39421
|
-
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {
|
|
39432
|
+
if ((event.ctrlKey || event.metaKey) && !event.altKey && event.key.toLowerCase() === 'k') {
|
|
39422
39433
|
event.preventDefault();
|
|
39423
39434
|
if (this.open()) {
|
|
39424
39435
|
this.closePalette();
|
|
@@ -39427,10 +39438,6 @@ class PraxisCommandPaletteComponent {
|
|
|
39427
39438
|
this.openPalette();
|
|
39428
39439
|
}
|
|
39429
39440
|
}
|
|
39430
|
-
else if (event.key === 'Escape' && this.open()) {
|
|
39431
|
-
event.preventDefault();
|
|
39432
|
-
this.closePalette();
|
|
39433
|
-
}
|
|
39434
39441
|
}
|
|
39435
39442
|
openPalette(initialQuery = '') {
|
|
39436
39443
|
this.query.set(initialQuery);
|
|
@@ -40280,6 +40287,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40280
40287
|
commandExecuted = output();
|
|
40281
40288
|
contextSwitched = output();
|
|
40282
40289
|
signedOut = output();
|
|
40290
|
+
appShellRef;
|
|
40283
40291
|
commandPaletteRef;
|
|
40284
40292
|
commandPaletteOpen = signal(false, ...(ngDevMode ? [{ debugName: "commandPaletteOpen" }] : /* istanbul ignore next */ []));
|
|
40285
40293
|
themeMenuOpen = signal(false, ...(ngDevMode ? [{ debugName: "themeMenuOpen" }] : /* istanbul ignore next */ []));
|
|
@@ -40399,6 +40407,25 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40399
40407
|
this.commandPaletteOpen.set(true);
|
|
40400
40408
|
}
|
|
40401
40409
|
}
|
|
40410
|
+
toggleCommandPalette(initialQuery = '') {
|
|
40411
|
+
if (this.commandPaletteOpen()) {
|
|
40412
|
+
this.themeMenuOpen.set(false);
|
|
40413
|
+
this.contextMenuOpen.set(false);
|
|
40414
|
+
if (this.commandPaletteRef) {
|
|
40415
|
+
this.commandPaletteRef.closePalette();
|
|
40416
|
+
}
|
|
40417
|
+
else {
|
|
40418
|
+
this.commandPaletteOpen.set(false);
|
|
40419
|
+
}
|
|
40420
|
+
return;
|
|
40421
|
+
}
|
|
40422
|
+
this.openCommandPalette(initialQuery);
|
|
40423
|
+
}
|
|
40424
|
+
openNavigationOverlay() {
|
|
40425
|
+
this.themeMenuOpen.set(false);
|
|
40426
|
+
this.contextMenuOpen.set(false);
|
|
40427
|
+
this.appShellRef?.openNavigationOverlay();
|
|
40428
|
+
}
|
|
40402
40429
|
toggleWriteScope() {
|
|
40403
40430
|
this.configStorage?.toggleWriteScope();
|
|
40404
40431
|
}
|
|
@@ -40458,7 +40485,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40458
40485
|
this.signedOut.emit();
|
|
40459
40486
|
}
|
|
40460
40487
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisEnterpriseWorkspaceShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40461
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisEnterpriseWorkspaceShellComponent, isStandalone: true, selector: "praxis-enterprise-workspace-shell", inputs: { brand: { classPropertyName: "brand", publicName: "brand", isSignal: true, isRequired: false, transformFunction: null }, navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: false, transformFunction: null }, primaryNavigationPaths: { classPropertyName: "primaryNavigationPaths", publicName: "primaryNavigationPaths", isSignal: true, isRequired: false, transformFunction: null }, showActiveGroupSubTabs: { classPropertyName: "showActiveGroupSubTabs", publicName: "showActiveGroupSubTabs", isSignal: true, isRequired: false, transformFunction: null }, subTabsPinned: { classPropertyName: "subTabsPinned", publicName: "subTabsPinned", isSignal: true, isRequired: false, transformFunction: null }, showDomainBreadcrumb: { classPropertyName: "showDomainBreadcrumb", publicName: "showDomainBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbs: { classPropertyName: "breadcrumbs", publicName: "breadcrumbs", isSignal: true, isRequired: false, transformFunction: null }, domainLauncherLabel: { classPropertyName: "domainLauncherLabel", publicName: "domainLauncherLabel", isSignal: true, isRequired: false, transformFunction: null }, domainLauncherIcon: { classPropertyName: "domainLauncherIcon", publicName: "domainLauncherIcon", isSignal: true, isRequired: false, transformFunction: null }, user: { classPropertyName: "user", publicName: "user", isSignal: true, isRequired: false, transformFunction: null }, showThemeToggle: { classPropertyName: "showThemeToggle", publicName: "showThemeToggle", isSignal: true, isRequired: false, transformFunction: null }, showCustomizationToggle: { classPropertyName: "showCustomizationToggle", publicName: "showCustomizationToggle", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, searchShortcutHint: { classPropertyName: "searchShortcutHint", publicName: "searchShortcutHint", isSignal: true, isRequired: false, transformFunction: null }, showRailLabels: { classPropertyName: "showRailLabels", publicName: "showRailLabels", isSignal: true, isRequired: false, transformFunction: null }, pinnedPaths: { classPropertyName: "pinnedPaths", publicName: "pinnedPaths", isSignal: true, isRequired: false, transformFunction: null }, recentPaths: { classPropertyName: "recentPaths", publicName: "recentPaths", isSignal: true, isRequired: false, transformFunction: null }, footerStatus: { classPropertyName: "footerStatus", publicName: "footerStatus", isSignal: true, isRequired: false, transformFunction: null }, isAnyLoading: { classPropertyName: "isAnyLoading", publicName: "isAnyLoading", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, showScopeRibbon: { classPropertyName: "showScopeRibbon", publicName: "showScopeRibbon", isSignal: true, isRequired: false, transformFunction: null }, scopeDimensions: { classPropertyName: "scopeDimensions", publicName: "scopeDimensions", isSignal: true, isRequired: false, transformFunction: null }, commandItems: { classPropertyName: "commandItems", publicName: "commandItems", isSignal: true, isRequired: false, transformFunction: null }, remoteSearch: { classPropertyName: "remoteSearch", publicName: "remoteSearch", isSignal: true, isRequired: false, transformFunction: null }, showAssistantTrigger: { classPropertyName: "showAssistantTrigger", publicName: "showAssistantTrigger", isSignal: true, isRequired: false, transformFunction: null }, enableBuiltInAssistant: { classPropertyName: "enableBuiltInAssistant", publicName: "enableBuiltInAssistant", isSignal: true, isRequired: false, transformFunction: null }, showSignOut: { classPropertyName: "showSignOut", publicName: "showSignOut", isSignal: true, isRequired: false, transformFunction: null }, canWriteTenantScope: { classPropertyName: "canWriteTenantScope", publicName: "canWriteTenantScope", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { collapsed: "collapsedChange", subTabsPinChange: "subTabsPinChange", domainLauncherTrigger: "domainLauncherTrigger", breadcrumbClick: "breadcrumbClick", customizationToggle: "customizationToggle", userProfileClick: "userProfileClick", navItemClick: "navItemClick", pinnedPathsChange: "pinnedPathsChange", assistantTrigger: "assistantTrigger", commandExecuted: "commandExecuted", contextSwitched: "contextSwitched", signedOut: "signedOut" }, viewQueries: [{ propertyName: "commandPaletteRef", first: true, predicate: PraxisCommandPaletteComponent, descendants: true }], ngImport: i0, template: `
|
|
40488
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisEnterpriseWorkspaceShellComponent, isStandalone: true, selector: "praxis-enterprise-workspace-shell", inputs: { brand: { classPropertyName: "brand", publicName: "brand", isSignal: true, isRequired: false, transformFunction: null }, navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: false, transformFunction: null }, primaryNavigationPaths: { classPropertyName: "primaryNavigationPaths", publicName: "primaryNavigationPaths", isSignal: true, isRequired: false, transformFunction: null }, showActiveGroupSubTabs: { classPropertyName: "showActiveGroupSubTabs", publicName: "showActiveGroupSubTabs", isSignal: true, isRequired: false, transformFunction: null }, subTabsPinned: { classPropertyName: "subTabsPinned", publicName: "subTabsPinned", isSignal: true, isRequired: false, transformFunction: null }, showDomainBreadcrumb: { classPropertyName: "showDomainBreadcrumb", publicName: "showDomainBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbs: { classPropertyName: "breadcrumbs", publicName: "breadcrumbs", isSignal: true, isRequired: false, transformFunction: null }, domainLauncherLabel: { classPropertyName: "domainLauncherLabel", publicName: "domainLauncherLabel", isSignal: true, isRequired: false, transformFunction: null }, domainLauncherIcon: { classPropertyName: "domainLauncherIcon", publicName: "domainLauncherIcon", isSignal: true, isRequired: false, transformFunction: null }, user: { classPropertyName: "user", publicName: "user", isSignal: true, isRequired: false, transformFunction: null }, showThemeToggle: { classPropertyName: "showThemeToggle", publicName: "showThemeToggle", isSignal: true, isRequired: false, transformFunction: null }, showCustomizationToggle: { classPropertyName: "showCustomizationToggle", publicName: "showCustomizationToggle", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, searchShortcutHint: { classPropertyName: "searchShortcutHint", publicName: "searchShortcutHint", isSignal: true, isRequired: false, transformFunction: null }, showRailLabels: { classPropertyName: "showRailLabels", publicName: "showRailLabels", isSignal: true, isRequired: false, transformFunction: null }, pinnedPaths: { classPropertyName: "pinnedPaths", publicName: "pinnedPaths", isSignal: true, isRequired: false, transformFunction: null }, recentPaths: { classPropertyName: "recentPaths", publicName: "recentPaths", isSignal: true, isRequired: false, transformFunction: null }, footerStatus: { classPropertyName: "footerStatus", publicName: "footerStatus", isSignal: true, isRequired: false, transformFunction: null }, isAnyLoading: { classPropertyName: "isAnyLoading", publicName: "isAnyLoading", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, showScopeRibbon: { classPropertyName: "showScopeRibbon", publicName: "showScopeRibbon", isSignal: true, isRequired: false, transformFunction: null }, scopeDimensions: { classPropertyName: "scopeDimensions", publicName: "scopeDimensions", isSignal: true, isRequired: false, transformFunction: null }, commandItems: { classPropertyName: "commandItems", publicName: "commandItems", isSignal: true, isRequired: false, transformFunction: null }, remoteSearch: { classPropertyName: "remoteSearch", publicName: "remoteSearch", isSignal: true, isRequired: false, transformFunction: null }, showAssistantTrigger: { classPropertyName: "showAssistantTrigger", publicName: "showAssistantTrigger", isSignal: true, isRequired: false, transformFunction: null }, enableBuiltInAssistant: { classPropertyName: "enableBuiltInAssistant", publicName: "enableBuiltInAssistant", isSignal: true, isRequired: false, transformFunction: null }, showSignOut: { classPropertyName: "showSignOut", publicName: "showSignOut", isSignal: true, isRequired: false, transformFunction: null }, canWriteTenantScope: { classPropertyName: "canWriteTenantScope", publicName: "canWriteTenantScope", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { collapsed: "collapsedChange", subTabsPinChange: "subTabsPinChange", domainLauncherTrigger: "domainLauncherTrigger", breadcrumbClick: "breadcrumbClick", customizationToggle: "customizationToggle", userProfileClick: "userProfileClick", navItemClick: "navItemClick", pinnedPathsChange: "pinnedPathsChange", assistantTrigger: "assistantTrigger", commandExecuted: "commandExecuted", contextSwitched: "contextSwitched", signedOut: "signedOut" }, viewQueries: [{ propertyName: "appShellRef", first: true, predicate: PraxisAppShellComponent, descendants: true }, { propertyName: "commandPaletteRef", first: true, predicate: PraxisCommandPaletteComponent, descendants: true }], ngImport: i0, template: `
|
|
40462
40489
|
<praxis-app-shell
|
|
40463
40490
|
[brand]="brand()"
|
|
40464
40491
|
[navigation]="navigation()"
|
|
@@ -40485,7 +40512,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40485
40512
|
(subTabsPinChange)="subTabsPinChange.emit($event)"
|
|
40486
40513
|
(domainLauncherTrigger)="domainLauncherTrigger.emit()"
|
|
40487
40514
|
(breadcrumbClick)="breadcrumbClick.emit($event)"
|
|
40488
|
-
(commandPaletteTrigger)="
|
|
40515
|
+
(commandPaletteTrigger)="toggleCommandPalette()"
|
|
40489
40516
|
(themeToggle)="onToggleDark()"
|
|
40490
40517
|
(customizationToggle)="customizationToggle.emit($event)"
|
|
40491
40518
|
(searchSubmit)="openCommandPalette($event)"
|
|
@@ -40686,6 +40713,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40686
40713
|
|
|
40687
40714
|
<praxis-command-palette
|
|
40688
40715
|
[(open)]="commandPaletteOpen"
|
|
40716
|
+
[enableGlobalShortcut]="false"
|
|
40689
40717
|
[items]="combinedCommandItems()"
|
|
40690
40718
|
[remoteSearch]="remoteSearch()"
|
|
40691
40719
|
(itemExecuted)="commandExecuted.emit($event)"
|
|
@@ -40726,7 +40754,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
40726
40754
|
(subTabsPinChange)="subTabsPinChange.emit($event)"
|
|
40727
40755
|
(domainLauncherTrigger)="domainLauncherTrigger.emit()"
|
|
40728
40756
|
(breadcrumbClick)="breadcrumbClick.emit($event)"
|
|
40729
|
-
(commandPaletteTrigger)="
|
|
40757
|
+
(commandPaletteTrigger)="toggleCommandPalette()"
|
|
40730
40758
|
(themeToggle)="onToggleDark()"
|
|
40731
40759
|
(customizationToggle)="customizationToggle.emit($event)"
|
|
40732
40760
|
(searchSubmit)="openCommandPalette($event)"
|
|
@@ -40927,12 +40955,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
40927
40955
|
|
|
40928
40956
|
<praxis-command-palette
|
|
40929
40957
|
[(open)]="commandPaletteOpen"
|
|
40958
|
+
[enableGlobalShortcut]="false"
|
|
40930
40959
|
[items]="combinedCommandItems()"
|
|
40931
40960
|
[remoteSearch]="remoteSearch()"
|
|
40932
40961
|
(itemExecuted)="commandExecuted.emit($event)"
|
|
40933
40962
|
/>
|
|
40934
40963
|
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".praxis-ews-topbar-start,.praxis-ews-header-actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px}.praxis-ews-context-wrap,.praxis-ews-theme-wrap{position:relative}.praxis-ews-pill{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:999px;border:1px solid var(--border);background:var(--secondary);color:var(--foreground);font-size:.76rem;font-weight:600;cursor:pointer}.praxis-ews-pill .material-symbols-outlined{font-size:16px}.praxis-ews-pill kbd{padding:1px 5px;border-radius:5px;border:1px solid var(--border);font-size:.67rem;background:var(--card)}.praxis-ews-pill.is-tenant-scope{border-color:var(--primary);background:color-mix(in oklab,var(--primary) 14%,var(--card));color:var(--primary)}.praxis-ews-popover{position:absolute;top:calc(100% + 6px);right:0;min-width:220px;z-index:80;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:12px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 14px 32px -12px rgb(15 23 42 / 25%))}.praxis-ews-popover-item{display:flex;align-items:center;gap:8px;width:100%;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--foreground);font-size:.78rem;text-align:left;cursor:pointer}.praxis-ews-popover-item:hover,.praxis-ews-popover-item:focus-visible{background:var(--secondary)}.praxis-ews-theme-swatch{width:12px;height:12px;border-radius:999px;border:1px solid var(--border);flex-shrink:0}.praxis-ews-theme-label{flex:1 1 auto}.praxis-ews-stage{display:flex;flex-direction:column;gap:12px}.praxis-ews-save-error{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;border:1px solid color-mix(in oklab,var(--destructive, #dc2626) 45%,var(--border));background:color-mix(in oklab,var(--destructive, #dc2626) 10%,var(--card));color:var(--foreground);font-size:.82rem}.praxis-ews-save-error__text{flex:1 1 auto}.praxis-ews-save-error__dismiss{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;border:0;background:transparent;color:var(--muted-foreground);cursor:pointer}\n"] }]
|
|
40935
|
-
}], ctorParameters: () => [], propDecorators: { brand: [{ type: i0.Input, args: [{ isSignal: true, alias: "brand", required: false }] }], navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: false }] }], primaryNavigationPaths: [{ type: i0.Input, args: [{ isSignal: true, alias: "primaryNavigationPaths", required: false }] }], showActiveGroupSubTabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "showActiveGroupSubTabs", required: false }] }], subTabsPinned: [{ type: i0.Input, args: [{ isSignal: true, alias: "subTabsPinned", required: false }] }], showDomainBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDomainBreadcrumb", required: false }] }], breadcrumbs: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbs", required: false }] }], domainLauncherLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "domainLauncherLabel", required: false }] }], domainLauncherIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "domainLauncherIcon", required: false }] }], user: [{ type: i0.Input, args: [{ isSignal: true, alias: "user", required: false }] }], showThemeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThemeToggle", required: false }] }], showCustomizationToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCustomizationToggle", required: false }] }], showSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSearch", required: false }] }], searchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchPlaceholder", required: false }] }], searchShortcutHint: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchShortcutHint", required: false }] }], showRailLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showRailLabels", required: false }] }], pinnedPaths: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinnedPaths", required: false }] }], recentPaths: [{ type: i0.Input, args: [{ isSignal: true, alias: "recentPaths", required: false }] }], footerStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerStatus", required: false }] }], isAnyLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isAnyLoading", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], showScopeRibbon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showScopeRibbon", required: false }] }], scopeDimensions: [{ type: i0.Input, args: [{ isSignal: true, alias: "scopeDimensions", required: false }] }], commandItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "commandItems", required: false }] }], remoteSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "remoteSearch", required: false }] }], showAssistantTrigger: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAssistantTrigger", required: false }] }], enableBuiltInAssistant: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableBuiltInAssistant", required: false }] }], showSignOut: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSignOut", required: false }] }], canWriteTenantScope: [{ type: i0.Input, args: [{ isSignal: true, alias: "canWriteTenantScope", required: false }] }], subTabsPinChange: [{ type: i0.Output, args: ["subTabsPinChange"] }], domainLauncherTrigger: [{ type: i0.Output, args: ["domainLauncherTrigger"] }], breadcrumbClick: [{ type: i0.Output, args: ["breadcrumbClick"] }], customizationToggle: [{ type: i0.Output, args: ["customizationToggle"] }], userProfileClick: [{ type: i0.Output, args: ["userProfileClick"] }], navItemClick: [{ type: i0.Output, args: ["navItemClick"] }], pinnedPathsChange: [{ type: i0.Output, args: ["pinnedPathsChange"] }], assistantTrigger: [{ type: i0.Output, args: ["assistantTrigger"] }], commandExecuted: [{ type: i0.Output, args: ["commandExecuted"] }], contextSwitched: [{ type: i0.Output, args: ["contextSwitched"] }], signedOut: [{ type: i0.Output, args: ["signedOut"] }],
|
|
40964
|
+
}], ctorParameters: () => [], propDecorators: { brand: [{ type: i0.Input, args: [{ isSignal: true, alias: "brand", required: false }] }], navigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigation", required: false }] }], primaryNavigationPaths: [{ type: i0.Input, args: [{ isSignal: true, alias: "primaryNavigationPaths", required: false }] }], showActiveGroupSubTabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "showActiveGroupSubTabs", required: false }] }], subTabsPinned: [{ type: i0.Input, args: [{ isSignal: true, alias: "subTabsPinned", required: false }] }], showDomainBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDomainBreadcrumb", required: false }] }], breadcrumbs: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbs", required: false }] }], domainLauncherLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "domainLauncherLabel", required: false }] }], domainLauncherIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "domainLauncherIcon", required: false }] }], user: [{ type: i0.Input, args: [{ isSignal: true, alias: "user", required: false }] }], showThemeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThemeToggle", required: false }] }], showCustomizationToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCustomizationToggle", required: false }] }], showSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSearch", required: false }] }], searchPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchPlaceholder", required: false }] }], searchShortcutHint: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchShortcutHint", required: false }] }], showRailLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showRailLabels", required: false }] }], pinnedPaths: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinnedPaths", required: false }] }], recentPaths: [{ type: i0.Input, args: [{ isSignal: true, alias: "recentPaths", required: false }] }], footerStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerStatus", required: false }] }], isAnyLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isAnyLoading", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], showScopeRibbon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showScopeRibbon", required: false }] }], scopeDimensions: [{ type: i0.Input, args: [{ isSignal: true, alias: "scopeDimensions", required: false }] }], commandItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "commandItems", required: false }] }], remoteSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "remoteSearch", required: false }] }], showAssistantTrigger: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAssistantTrigger", required: false }] }], enableBuiltInAssistant: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableBuiltInAssistant", required: false }] }], showSignOut: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSignOut", required: false }] }], canWriteTenantScope: [{ type: i0.Input, args: [{ isSignal: true, alias: "canWriteTenantScope", required: false }] }], subTabsPinChange: [{ type: i0.Output, args: ["subTabsPinChange"] }], domainLauncherTrigger: [{ type: i0.Output, args: ["domainLauncherTrigger"] }], breadcrumbClick: [{ type: i0.Output, args: ["breadcrumbClick"] }], customizationToggle: [{ type: i0.Output, args: ["customizationToggle"] }], userProfileClick: [{ type: i0.Output, args: ["userProfileClick"] }], navItemClick: [{ type: i0.Output, args: ["navItemClick"] }], pinnedPathsChange: [{ type: i0.Output, args: ["pinnedPathsChange"] }], assistantTrigger: [{ type: i0.Output, args: ["assistantTrigger"] }], commandExecuted: [{ type: i0.Output, args: ["commandExecuted"] }], contextSwitched: [{ type: i0.Output, args: ["contextSwitched"] }], signedOut: [{ type: i0.Output, args: ["signedOut"] }], appShellRef: [{
|
|
40965
|
+
type: ViewChild,
|
|
40966
|
+
args: [PraxisAppShellComponent]
|
|
40967
|
+
}], commandPaletteRef: [{
|
|
40936
40968
|
type: ViewChild,
|
|
40937
40969
|
args: [PraxisCommandPaletteComponent]
|
|
40938
40970
|
}] } });
|
|
@@ -41738,6 +41770,9 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41738
41770
|
authoringCapabilities = input(undefined, ...(ngDevMode ? [{ debugName: "authoringCapabilities" }] : /* istanbul ignore next */ []));
|
|
41739
41771
|
allowedWidgetIds = input(null, ...(ngDevMode ? [{ debugName: "allowedWidgetIds" }] : /* istanbul ignore next */ []));
|
|
41740
41772
|
initialPage = input(undefined, ...(ngDevMode ? [{ debugName: "initialPage" }] : /* istanbul ignore next */ []));
|
|
41773
|
+
initialTitle = input(undefined, ...(ngDevMode ? [{ debugName: "initialTitle" }] : /* istanbul ignore next */ []));
|
|
41774
|
+
initialMenuLabel = input(undefined, ...(ngDevMode ? [{ debugName: "initialMenuLabel" }] : /* istanbul ignore next */ []));
|
|
41775
|
+
initialIcon = input(undefined, ...(ngDevMode ? [{ debugName: "initialIcon" }] : /* istanbul ignore next */ []));
|
|
41741
41776
|
selectedPageId = model(null, ...(ngDevMode ? [{ debugName: "selectedPageId" }] : /* istanbul ignore next */ []));
|
|
41742
41777
|
workingPage = signal(createBlankLabPageDefinition(), ...(ngDevMode ? [{ debugName: "workingPage" }] : /* istanbul ignore next */ []));
|
|
41743
41778
|
activeTitle = signal('', ...(ngDevMode ? [{ debugName: "activeTitle" }] : /* istanbul ignore next */ []));
|
|
@@ -41768,6 +41803,18 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41768
41803
|
this.workingPage.set(sanitizeWidgetPageDefinition(provided, { lockForGovernance: false }));
|
|
41769
41804
|
}
|
|
41770
41805
|
});
|
|
41806
|
+
effect(() => {
|
|
41807
|
+
const title = this.initialTitle();
|
|
41808
|
+
if (title !== undefined) {
|
|
41809
|
+
this.activeTitle.set(title);
|
|
41810
|
+
}
|
|
41811
|
+
});
|
|
41812
|
+
}
|
|
41813
|
+
get saveAsComponent() {
|
|
41814
|
+
return this.saveAsRef;
|
|
41815
|
+
}
|
|
41816
|
+
clearSaveAsResult() {
|
|
41817
|
+
this.saveAsRef?.clearResult();
|
|
41771
41818
|
}
|
|
41772
41819
|
newBlankPage() {
|
|
41773
41820
|
this.selectedPageId.set(null);
|
|
@@ -41814,7 +41861,7 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41814
41861
|
await this.saveAsRef.save(clean);
|
|
41815
41862
|
}
|
|
41816
41863
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisPersonalLaboratoryPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41817
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisPersonalLaboratoryPageComponent, isStandalone: true, selector: "praxis-personal-laboratory-page", inputs: { savedPages: { classPropertyName: "savedPages", publicName: "savedPages", isSignal: true, isRequired: false, transformFunction: null }, saveAsAdapter: { classPropertyName: "saveAsAdapter", publicName: "saveAsAdapter", isSignal: true, isRequired: false, transformFunction: null }, saveContextKey: { classPropertyName: "saveContextKey", publicName: "saveContextKey", isSignal: true, isRequired: false, transformFunction: null }, authoringCapabilities: { classPropertyName: "authoringCapabilities", publicName: "authoringCapabilities", isSignal: true, isRequired: false, transformFunction: null }, allowedWidgetIds: { classPropertyName: "allowedWidgetIds", publicName: "allowedWidgetIds", isSignal: true, isRequired: false, transformFunction: null }, initialPage: { classPropertyName: "initialPage", publicName: "initialPage", isSignal: true, isRequired: false, transformFunction: null }, selectedPageId: { classPropertyName: "selectedPageId", publicName: "selectedPageId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedPageId: "selectedPageIdChange", pageChanged: "pageChanged", saved: "saved", deleteRequested: "deleteRequested" }, viewQueries: [{ propertyName: "saveAsRef", first: true, predicate: PraxisPageSaveAsComponent, descendants: true }], ngImport: i0, template: `
|
|
41864
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisPersonalLaboratoryPageComponent, isStandalone: true, selector: "praxis-personal-laboratory-page", inputs: { savedPages: { classPropertyName: "savedPages", publicName: "savedPages", isSignal: true, isRequired: false, transformFunction: null }, saveAsAdapter: { classPropertyName: "saveAsAdapter", publicName: "saveAsAdapter", isSignal: true, isRequired: false, transformFunction: null }, saveContextKey: { classPropertyName: "saveContextKey", publicName: "saveContextKey", isSignal: true, isRequired: false, transformFunction: null }, authoringCapabilities: { classPropertyName: "authoringCapabilities", publicName: "authoringCapabilities", isSignal: true, isRequired: false, transformFunction: null }, allowedWidgetIds: { classPropertyName: "allowedWidgetIds", publicName: "allowedWidgetIds", isSignal: true, isRequired: false, transformFunction: null }, initialPage: { classPropertyName: "initialPage", publicName: "initialPage", isSignal: true, isRequired: false, transformFunction: null }, initialTitle: { classPropertyName: "initialTitle", publicName: "initialTitle", isSignal: true, isRequired: false, transformFunction: null }, initialMenuLabel: { classPropertyName: "initialMenuLabel", publicName: "initialMenuLabel", isSignal: true, isRequired: false, transformFunction: null }, initialIcon: { classPropertyName: "initialIcon", publicName: "initialIcon", isSignal: true, isRequired: false, transformFunction: null }, selectedPageId: { classPropertyName: "selectedPageId", publicName: "selectedPageId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedPageId: "selectedPageIdChange", pageChanged: "pageChanged", saved: "saved", deleteRequested: "deleteRequested" }, viewQueries: [{ propertyName: "saveAsRef", first: true, predicate: PraxisPageSaveAsComponent, descendants: true }], ngImport: i0, template: `
|
|
41818
41865
|
<section
|
|
41819
41866
|
class="praxis-lab-page"
|
|
41820
41867
|
role="region"
|
|
@@ -41933,7 +41980,8 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41933
41980
|
[contextKey]="saveContextKey()"
|
|
41934
41981
|
[canSave]="workingPage().widgets.length > 0"
|
|
41935
41982
|
[initialTitle]="activeTitle()"
|
|
41936
|
-
[initialMenuLabel]="activeTitle()"
|
|
41983
|
+
[initialMenuLabel]="initialMenuLabel() ?? activeTitle()"
|
|
41984
|
+
[initialIcon]="initialIcon() ?? 'web'"
|
|
41937
41985
|
(saveRequested)="handleSaveAsRequest()"
|
|
41938
41986
|
(saved)="saved.emit($event)"
|
|
41939
41987
|
/>
|
|
@@ -42073,7 +42121,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
42073
42121
|
[contextKey]="saveContextKey()"
|
|
42074
42122
|
[canSave]="workingPage().widgets.length > 0"
|
|
42075
42123
|
[initialTitle]="activeTitle()"
|
|
42076
|
-
[initialMenuLabel]="activeTitle()"
|
|
42124
|
+
[initialMenuLabel]="initialMenuLabel() ?? activeTitle()"
|
|
42125
|
+
[initialIcon]="initialIcon() ?? 'web'"
|
|
42077
42126
|
(saveRequested)="handleSaveAsRequest()"
|
|
42078
42127
|
(saved)="saved.emit($event)"
|
|
42079
42128
|
/>
|
|
@@ -42094,7 +42143,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
42094
42143
|
}], ctorParameters: () => [], propDecorators: { saveAsRef: [{
|
|
42095
42144
|
type: ViewChild,
|
|
42096
42145
|
args: [PraxisPageSaveAsComponent]
|
|
42097
|
-
}], savedPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "savedPages", required: false }] }], saveAsAdapter: [{ type: i0.Input, args: [{ isSignal: true, alias: "saveAsAdapter", required: false }] }], saveContextKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "saveContextKey", required: false }] }], authoringCapabilities: [{ type: i0.Input, args: [{ isSignal: true, alias: "authoringCapabilities", required: false }] }], allowedWidgetIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowedWidgetIds", required: false }] }], initialPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialPage", required: false }] }], selectedPageId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedPageId", required: false }] }, { type: i0.Output, args: ["selectedPageIdChange"] }], pageChanged: [{ type: i0.Output, args: ["pageChanged"] }], saved: [{ type: i0.Output, args: ["saved"] }], deleteRequested: [{ type: i0.Output, args: ["deleteRequested"] }] } });
|
|
42146
|
+
}], savedPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "savedPages", required: false }] }], saveAsAdapter: [{ type: i0.Input, args: [{ isSignal: true, alias: "saveAsAdapter", required: false }] }], saveContextKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "saveContextKey", required: false }] }], authoringCapabilities: [{ type: i0.Input, args: [{ isSignal: true, alias: "authoringCapabilities", required: false }] }], allowedWidgetIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowedWidgetIds", required: false }] }], initialPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialPage", required: false }] }], initialTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialTitle", required: false }] }], initialMenuLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialMenuLabel", required: false }] }], initialIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialIcon", required: false }] }], selectedPageId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedPageId", required: false }] }, { type: i0.Output, args: ["selectedPageIdChange"] }], pageChanged: [{ type: i0.Output, args: ["pageChanged"] }], saved: [{ type: i0.Output, args: ["saved"] }], deleteRequested: [{ type: i0.Output, args: ["deleteRequested"] }] } });
|
|
42098
42147
|
|
|
42099
42148
|
function createEmptyStudioDefinition() {
|
|
42100
42149
|
return {
|
|
@@ -43190,6 +43239,9 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43190
43239
|
i18n = inject(PraxisI18nService, { optional: true });
|
|
43191
43240
|
realmInfo = input(undefined, ...(ngDevMode ? [{ debugName: "realmInfo" }] : /* istanbul ignore next */ []));
|
|
43192
43241
|
demoPersonas = input([], ...(ngDevMode ? [{ debugName: "demoPersonas" }] : /* istanbul ignore next */ []));
|
|
43242
|
+
defaultAuthMode = input('auto', ...(ngDevMode ? [{ debugName: "defaultAuthMode" }] : /* istanbul ignore next */ []));
|
|
43243
|
+
brandLogoUrl = input(undefined, ...(ngDevMode ? [{ debugName: "brandLogoUrl" }] : /* istanbul ignore next */ []));
|
|
43244
|
+
brandLogoAlt = input(undefined, ...(ngDevMode ? [{ debugName: "brandLogoAlt" }] : /* istanbul ignore next */ []));
|
|
43193
43245
|
showPortalBack = input(true, ...(ngDevMode ? [{ debugName: "showPortalBack" }] : /* istanbul ignore next */ []));
|
|
43194
43246
|
title = input(undefined, ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
43195
43247
|
subtitle = input(undefined, ...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
@@ -43197,9 +43249,27 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43197
43249
|
authenticated = output();
|
|
43198
43250
|
demoSignInRequested = output();
|
|
43199
43251
|
authMode = signal('manual', ...(ngDevMode ? [{ debugName: "authMode" }] : /* istanbul ignore next */ []));
|
|
43252
|
+
authModeOverriddenByUser = false;
|
|
43200
43253
|
submitting = signal(false, ...(ngDevMode ? [{ debugName: "submitting" }] : /* istanbul ignore next */ []));
|
|
43201
43254
|
localError = signal(false, ...(ngDevMode ? [{ debugName: "localError" }] : /* istanbul ignore next */ []));
|
|
43202
43255
|
themeMenuOpen = signal(false, ...(ngDevMode ? [{ debugName: "themeMenuOpen" }] : /* istanbul ignore next */ []));
|
|
43256
|
+
constructor() {
|
|
43257
|
+
effect(() => {
|
|
43258
|
+
const preferred = this.defaultAuthMode();
|
|
43259
|
+
const hasDemoPersonas = this.demoPersonas().length > 0;
|
|
43260
|
+
if (this.authModeOverriddenByUser) {
|
|
43261
|
+
return;
|
|
43262
|
+
}
|
|
43263
|
+
const nextMode = preferred === 'demo' || (preferred === 'auto' && hasDemoPersonas)
|
|
43264
|
+
? 'demo'
|
|
43265
|
+
: 'manual';
|
|
43266
|
+
this.authMode.set(nextMode);
|
|
43267
|
+
});
|
|
43268
|
+
}
|
|
43269
|
+
selectAuthMode(mode) {
|
|
43270
|
+
this.authModeOverriddenByUser = true;
|
|
43271
|
+
this.authMode.set(mode);
|
|
43272
|
+
}
|
|
43203
43273
|
username = '';
|
|
43204
43274
|
password = '';
|
|
43205
43275
|
sessionState = computed(() => this.session?.state() ?? 'anonymous', ...(ngDevMode ? [{ debugName: "sessionState" }] : /* istanbul ignore next */ []));
|
|
@@ -43262,7 +43332,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43262
43332
|
await this.session.revalidateSilently();
|
|
43263
43333
|
}
|
|
43264
43334
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisWorkspaceAuthGateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43265
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisWorkspaceAuthGateComponent, isStandalone: true, selector: "praxis-workspace-auth-gate", inputs: { realmInfo: { classPropertyName: "realmInfo", publicName: "realmInfo", isSignal: true, isRequired: false, transformFunction: null }, demoPersonas: { classPropertyName: "demoPersonas", publicName: "demoPersonas", isSignal: true, isRequired: false, transformFunction: null }, showPortalBack: { classPropertyName: "showPortalBack", publicName: "showPortalBack", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { backToPortal: "backToPortal", authenticated: "authenticated", demoSignInRequested: "demoSignInRequested" }, ngImport: i0, template: `
|
|
43335
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisWorkspaceAuthGateComponent, isStandalone: true, selector: "praxis-workspace-auth-gate", inputs: { realmInfo: { classPropertyName: "realmInfo", publicName: "realmInfo", isSignal: true, isRequired: false, transformFunction: null }, demoPersonas: { classPropertyName: "demoPersonas", publicName: "demoPersonas", isSignal: true, isRequired: false, transformFunction: null }, defaultAuthMode: { classPropertyName: "defaultAuthMode", publicName: "defaultAuthMode", isSignal: true, isRequired: false, transformFunction: null }, brandLogoUrl: { classPropertyName: "brandLogoUrl", publicName: "brandLogoUrl", isSignal: true, isRequired: false, transformFunction: null }, brandLogoAlt: { classPropertyName: "brandLogoAlt", publicName: "brandLogoAlt", isSignal: true, isRequired: false, transformFunction: null }, showPortalBack: { classPropertyName: "showPortalBack", publicName: "showPortalBack", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { backToPortal: "backToPortal", authenticated: "authenticated", demoSignInRequested: "demoSignInRequested" }, ngImport: i0, template: `
|
|
43266
43336
|
@if (isAuthenticatedReady()) {
|
|
43267
43337
|
<ng-content />
|
|
43268
43338
|
} @else {
|
|
@@ -43323,15 +43393,44 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43323
43393
|
aria-labelledby="praxis-auth-gate-title"
|
|
43324
43394
|
>
|
|
43325
43395
|
<header class="praxis-auth-gate__header">
|
|
43326
|
-
@if (
|
|
43327
|
-
<
|
|
43328
|
-
|
|
43329
|
-
|
|
43396
|
+
@if (brandLogoUrl()) {
|
|
43397
|
+
<img
|
|
43398
|
+
class="praxis-auth-gate__brand-logo"
|
|
43399
|
+
data-testid="praxis-auth-gate-brand-logo"
|
|
43400
|
+
[src]="brandLogoUrl()!"
|
|
43401
|
+
[alt]="brandLogoAlt() || realmInfo()?.displayName || title() || text().title"
|
|
43402
|
+
/>
|
|
43403
|
+
}
|
|
43404
|
+
@if (realmInfo()?.emblemUrl || realmInfo()?.icon || realmSlug()) {
|
|
43405
|
+
<div class="praxis-auth-gate__realm-badge">
|
|
43406
|
+
@if (realmInfo()?.emblemUrl) {
|
|
43407
|
+
<img
|
|
43408
|
+
class="praxis-auth-gate__emblem"
|
|
43409
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43410
|
+
[src]="realmInfo()!.emblemUrl!"
|
|
43411
|
+
[alt]="realmInfo()!.emblemAlt || realmInfo()!.displayName || title() || text().title"
|
|
43412
|
+
/>
|
|
43413
|
+
} @else if (realmInfo()?.icon) {
|
|
43414
|
+
<span
|
|
43415
|
+
class="praxis-auth-gate__emblem-icon material-symbols-outlined"
|
|
43416
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43417
|
+
aria-hidden="true"
|
|
43418
|
+
>
|
|
43419
|
+
{{ realmInfo()!.icon }}
|
|
43420
|
+
</span>
|
|
43421
|
+
}
|
|
43422
|
+
@if (realmSlug()) {
|
|
43423
|
+
<code class="praxis-auth-gate__slug" data-testid="praxis-auth-gate-slug">
|
|
43424
|
+
/{{ realmSlug() }}
|
|
43425
|
+
</code>
|
|
43426
|
+
}
|
|
43427
|
+
</div>
|
|
43330
43428
|
}
|
|
43331
43429
|
<h1 id="praxis-auth-gate-title">
|
|
43332
43430
|
{{ realmInfo()?.displayName || title() || text().title }}
|
|
43333
43431
|
</h1>
|
|
43334
43432
|
<p>{{ realmInfo()?.subtitle || subtitle() || text().subtitle }}</p>
|
|
43433
|
+
<ng-content select="[auth-gate-header-extra]" />
|
|
43335
43434
|
</header>
|
|
43336
43435
|
|
|
43337
43436
|
@if (sessionState() === 'loading' || sessionState() === 'changing') {
|
|
@@ -43349,7 +43448,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43349
43448
|
[class.is-active]="authMode() === 'demo'"
|
|
43350
43449
|
[attr.aria-selected]="authMode() === 'demo'"
|
|
43351
43450
|
data-testid="praxis-auth-gate-tab-demo"
|
|
43352
|
-
(click)="
|
|
43451
|
+
(click)="selectAuthMode('demo')"
|
|
43353
43452
|
>
|
|
43354
43453
|
{{ text().demoTab }}
|
|
43355
43454
|
</button>
|
|
@@ -43360,7 +43459,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43360
43459
|
[class.is-active]="authMode() === 'manual'"
|
|
43361
43460
|
[attr.aria-selected]="authMode() === 'manual'"
|
|
43362
43461
|
data-testid="praxis-auth-gate-tab-manual"
|
|
43363
|
-
(click)="
|
|
43462
|
+
(click)="selectAuthMode('manual')"
|
|
43364
43463
|
>
|
|
43365
43464
|
{{ text().manualTab }}
|
|
43366
43465
|
</button>
|
|
@@ -43445,7 +43544,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43445
43544
|
</section>
|
|
43446
43545
|
</main>
|
|
43447
43546
|
}
|
|
43448
|
-
`, isInline: true, styles: [".praxis-auth-gate{min-height:100dvh;display:grid;grid-template-rows:auto 1fr;place-items:center;padding:20px;background:var(--background);color:var(--foreground)}.praxis-auth-gate__hud{width:min(520px,100%);display:flex;justify-content:space-between;align-items:center;gap:8px}.praxis-auth-gate__hud-pill{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__theme-wrap{position:relative;margin-left:auto}.praxis-auth-gate__theme-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:200px;z-index:40;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:12px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 14px 32px -12px rgb(15 23 42 / 25%))}.praxis-auth-gate__theme-item{display:flex;align-items:center;gap:8px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--foreground);font-size:.78rem;text-align:left;cursor:pointer}.praxis-auth-gate__swatch{width:12px;height:12px;border-radius:999px;border:1px solid var(--border)}.praxis-auth-gate__card{width:min(480px,100%);display:flex;flex-direction:column;gap:14px;padding:22px 24px;border-radius:18px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 18px 36px -14px rgb(15 23 42 / 20%))}.praxis-auth-gate__header h1{margin:6px 0 0;font-size:1.18rem;font-weight:800}.praxis-auth-gate__header p{margin:4px 0 0;font-size:.8rem;color:var(--muted-foreground)}.praxis-auth-gate__slug{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--secondary);border:1px solid var(--border);font-size:.72rem}.praxis-auth-gate__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.praxis-auth-gate__tab{height:34px;border-radius:9px;border:1px solid var(--border);background:var(--secondary);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__tab.is-active{border-color:var(--gate-primary, var(--primary));color:var(--gate-primary, var(--primary))}.praxis-auth-gate__personas,.praxis-auth-gate__form{display:flex;flex-direction:column;gap:10px}.praxis-auth-gate__persona{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--background);color:var(--foreground);text-align:left;cursor:pointer}.praxis-auth-gate__persona-copy{display:flex;flex-direction:column}.praxis-auth-gate__persona-copy strong{font-size:.84rem}.praxis-auth-gate__persona-copy small{font-size:.73rem;color:var(--muted-foreground)}.praxis-auth-gate__field{display:flex;flex-direction:column;gap:4px}.praxis-auth-gate__field span{font-size:.74rem;font-weight:600;color:var(--muted-foreground)}.praxis-auth-gate__field input{height:36px;padding:0 11px;border-radius:9px;border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:.84rem}.praxis-auth-gate__submit{height:38px;border-radius:10px;border:0;background:var(--gate-primary, var(--primary));color:var(--primary-foreground, #ffffff);font-size:.84rem;font-weight:700;cursor:pointer}.praxis-auth-gate__status,.praxis-auth-gate__error{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--secondary);font-size:.8rem}.praxis-auth-gate__spinner{width:16px;height:16px;border-radius:999px;border:2px solid var(--border);border-top-color:var(--gate-primary, var(--primary));animation:gateSpin .8s linear infinite}@keyframes gateSpin{to{transform:rotate(360deg)}}.praxis-auth-gate__retry{margin-left:auto;border:1px solid var(--border);border-radius:8px;padding:4px 9px;background:var(--card);color:var(--foreground);font-size:.74rem;font-weight:600;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43547
|
+
`, isInline: true, styles: [".praxis-auth-gate{min-height:100dvh;display:grid;grid-template-rows:auto 1fr;place-items:center;padding:20px;background:var(--background);color:var(--foreground)}.praxis-auth-gate__hud{width:min(520px,100%);display:flex;justify-content:space-between;align-items:center;gap:8px}.praxis-auth-gate__hud-pill{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__theme-wrap{position:relative;margin-left:auto}.praxis-auth-gate__theme-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:200px;z-index:40;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:12px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 14px 32px -12px rgb(15 23 42 / 25%))}.praxis-auth-gate__theme-item{display:flex;align-items:center;gap:8px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--foreground);font-size:.78rem;text-align:left;cursor:pointer}.praxis-auth-gate__swatch{width:12px;height:12px;border-radius:999px;border:1px solid var(--border)}.praxis-auth-gate__card{width:min(480px,100%);display:flex;flex-direction:column;gap:14px;padding:22px 24px;border-radius:18px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 18px 36px -14px rgb(15 23 42 / 20%))}.praxis-auth-gate__brand-logo{display:block;max-height:36px;width:auto;margin-bottom:10px;object-fit:contain}.praxis-auth-gate__realm-badge{display:flex;align-items:center;gap:10px}.praxis-auth-gate__emblem{width:44px;height:44px;border-radius:12px;object-fit:cover;border:1px solid var(--border);flex-shrink:0}.praxis-auth-gate__emblem-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:color-mix(in oklab,var(--primary) 12%,transparent);color:var(--primary);flex-shrink:0}.praxis-auth-gate__header h1{margin:6px 0 0;font-size:1.18rem;font-weight:800}.praxis-auth-gate__header p{margin:4px 0 0;font-size:.8rem;color:var(--muted-foreground)}.praxis-auth-gate__slug{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--secondary);border:1px solid var(--border);font-size:.72rem}.praxis-auth-gate__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.praxis-auth-gate__tab{height:34px;border-radius:9px;border:1px solid var(--border);background:var(--secondary);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__tab.is-active{border-color:var(--gate-primary, var(--primary));color:var(--gate-primary, var(--primary))}.praxis-auth-gate__personas,.praxis-auth-gate__form{display:flex;flex-direction:column;gap:10px}.praxis-auth-gate__persona{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--background);color:var(--foreground);text-align:left;cursor:pointer}.praxis-auth-gate__persona-copy{display:flex;flex-direction:column}.praxis-auth-gate__persona-copy strong{font-size:.84rem}.praxis-auth-gate__persona-copy small{font-size:.73rem;color:var(--muted-foreground)}.praxis-auth-gate__field{display:flex;flex-direction:column;gap:4px}.praxis-auth-gate__field span{font-size:.74rem;font-weight:600;color:var(--muted-foreground)}.praxis-auth-gate__field input{height:36px;padding:0 11px;border-radius:9px;border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:.84rem}.praxis-auth-gate__submit{height:38px;border-radius:10px;border:0;background:var(--gate-primary, var(--primary));color:var(--primary-foreground, #ffffff);font-size:.84rem;font-weight:700;cursor:pointer}.praxis-auth-gate__status,.praxis-auth-gate__error{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--secondary);font-size:.8rem}.praxis-auth-gate__spinner{width:16px;height:16px;border-radius:999px;border:2px solid var(--border);border-top-color:var(--gate-primary, var(--primary));animation:gateSpin .8s linear infinite}@keyframes gateSpin{to{transform:rotate(360deg)}}.praxis-auth-gate__retry{margin-left:auto;border:1px solid var(--border);border-radius:8px;padding:4px 9px;background:var(--card);color:var(--foreground);font-size:.74rem;font-weight:600;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43449
43548
|
}
|
|
43450
43549
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisWorkspaceAuthGateComponent, decorators: [{
|
|
43451
43550
|
type: Component,
|
|
@@ -43510,15 +43609,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43510
43609
|
aria-labelledby="praxis-auth-gate-title"
|
|
43511
43610
|
>
|
|
43512
43611
|
<header class="praxis-auth-gate__header">
|
|
43513
|
-
@if (
|
|
43514
|
-
<
|
|
43515
|
-
|
|
43516
|
-
|
|
43612
|
+
@if (brandLogoUrl()) {
|
|
43613
|
+
<img
|
|
43614
|
+
class="praxis-auth-gate__brand-logo"
|
|
43615
|
+
data-testid="praxis-auth-gate-brand-logo"
|
|
43616
|
+
[src]="brandLogoUrl()!"
|
|
43617
|
+
[alt]="brandLogoAlt() || realmInfo()?.displayName || title() || text().title"
|
|
43618
|
+
/>
|
|
43619
|
+
}
|
|
43620
|
+
@if (realmInfo()?.emblemUrl || realmInfo()?.icon || realmSlug()) {
|
|
43621
|
+
<div class="praxis-auth-gate__realm-badge">
|
|
43622
|
+
@if (realmInfo()?.emblemUrl) {
|
|
43623
|
+
<img
|
|
43624
|
+
class="praxis-auth-gate__emblem"
|
|
43625
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43626
|
+
[src]="realmInfo()!.emblemUrl!"
|
|
43627
|
+
[alt]="realmInfo()!.emblemAlt || realmInfo()!.displayName || title() || text().title"
|
|
43628
|
+
/>
|
|
43629
|
+
} @else if (realmInfo()?.icon) {
|
|
43630
|
+
<span
|
|
43631
|
+
class="praxis-auth-gate__emblem-icon material-symbols-outlined"
|
|
43632
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43633
|
+
aria-hidden="true"
|
|
43634
|
+
>
|
|
43635
|
+
{{ realmInfo()!.icon }}
|
|
43636
|
+
</span>
|
|
43637
|
+
}
|
|
43638
|
+
@if (realmSlug()) {
|
|
43639
|
+
<code class="praxis-auth-gate__slug" data-testid="praxis-auth-gate-slug">
|
|
43640
|
+
/{{ realmSlug() }}
|
|
43641
|
+
</code>
|
|
43642
|
+
}
|
|
43643
|
+
</div>
|
|
43517
43644
|
}
|
|
43518
43645
|
<h1 id="praxis-auth-gate-title">
|
|
43519
43646
|
{{ realmInfo()?.displayName || title() || text().title }}
|
|
43520
43647
|
</h1>
|
|
43521
43648
|
<p>{{ realmInfo()?.subtitle || subtitle() || text().subtitle }}</p>
|
|
43649
|
+
<ng-content select="[auth-gate-header-extra]" />
|
|
43522
43650
|
</header>
|
|
43523
43651
|
|
|
43524
43652
|
@if (sessionState() === 'loading' || sessionState() === 'changing') {
|
|
@@ -43536,7 +43664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43536
43664
|
[class.is-active]="authMode() === 'demo'"
|
|
43537
43665
|
[attr.aria-selected]="authMode() === 'demo'"
|
|
43538
43666
|
data-testid="praxis-auth-gate-tab-demo"
|
|
43539
|
-
(click)="
|
|
43667
|
+
(click)="selectAuthMode('demo')"
|
|
43540
43668
|
>
|
|
43541
43669
|
{{ text().demoTab }}
|
|
43542
43670
|
</button>
|
|
@@ -43547,7 +43675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43547
43675
|
[class.is-active]="authMode() === 'manual'"
|
|
43548
43676
|
[attr.aria-selected]="authMode() === 'manual'"
|
|
43549
43677
|
data-testid="praxis-auth-gate-tab-manual"
|
|
43550
|
-
(click)="
|
|
43678
|
+
(click)="selectAuthMode('manual')"
|
|
43551
43679
|
>
|
|
43552
43680
|
{{ text().manualTab }}
|
|
43553
43681
|
</button>
|
|
@@ -43632,8 +43760,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43632
43760
|
</section>
|
|
43633
43761
|
</main>
|
|
43634
43762
|
}
|
|
43635
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".praxis-auth-gate{min-height:100dvh;display:grid;grid-template-rows:auto 1fr;place-items:center;padding:20px;background:var(--background);color:var(--foreground)}.praxis-auth-gate__hud{width:min(520px,100%);display:flex;justify-content:space-between;align-items:center;gap:8px}.praxis-auth-gate__hud-pill{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__theme-wrap{position:relative;margin-left:auto}.praxis-auth-gate__theme-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:200px;z-index:40;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:12px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 14px 32px -12px rgb(15 23 42 / 25%))}.praxis-auth-gate__theme-item{display:flex;align-items:center;gap:8px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--foreground);font-size:.78rem;text-align:left;cursor:pointer}.praxis-auth-gate__swatch{width:12px;height:12px;border-radius:999px;border:1px solid var(--border)}.praxis-auth-gate__card{width:min(480px,100%);display:flex;flex-direction:column;gap:14px;padding:22px 24px;border-radius:18px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 18px 36px -14px rgb(15 23 42 / 20%))}.praxis-auth-gate__header h1{margin:6px 0 0;font-size:1.18rem;font-weight:800}.praxis-auth-gate__header p{margin:4px 0 0;font-size:.8rem;color:var(--muted-foreground)}.praxis-auth-gate__slug{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--secondary);border:1px solid var(--border);font-size:.72rem}.praxis-auth-gate__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.praxis-auth-gate__tab{height:34px;border-radius:9px;border:1px solid var(--border);background:var(--secondary);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__tab.is-active{border-color:var(--gate-primary, var(--primary));color:var(--gate-primary, var(--primary))}.praxis-auth-gate__personas,.praxis-auth-gate__form{display:flex;flex-direction:column;gap:10px}.praxis-auth-gate__persona{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--background);color:var(--foreground);text-align:left;cursor:pointer}.praxis-auth-gate__persona-copy{display:flex;flex-direction:column}.praxis-auth-gate__persona-copy strong{font-size:.84rem}.praxis-auth-gate__persona-copy small{font-size:.73rem;color:var(--muted-foreground)}.praxis-auth-gate__field{display:flex;flex-direction:column;gap:4px}.praxis-auth-gate__field span{font-size:.74rem;font-weight:600;color:var(--muted-foreground)}.praxis-auth-gate__field input{height:36px;padding:0 11px;border-radius:9px;border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:.84rem}.praxis-auth-gate__submit{height:38px;border-radius:10px;border:0;background:var(--gate-primary, var(--primary));color:var(--primary-foreground, #ffffff);font-size:.84rem;font-weight:700;cursor:pointer}.praxis-auth-gate__status,.praxis-auth-gate__error{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--secondary);font-size:.8rem}.praxis-auth-gate__spinner{width:16px;height:16px;border-radius:999px;border:2px solid var(--border);border-top-color:var(--gate-primary, var(--primary));animation:gateSpin .8s linear infinite}@keyframes gateSpin{to{transform:rotate(360deg)}}.praxis-auth-gate__retry{margin-left:auto;border:1px solid var(--border);border-radius:8px;padding:4px 9px;background:var(--card);color:var(--foreground);font-size:.74rem;font-weight:600;cursor:pointer}\n"] }]
|
|
43636
|
-
}], propDecorators: { realmInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "realmInfo", required: false }] }], demoPersonas: [{ type: i0.Input, args: [{ isSignal: true, alias: "demoPersonas", required: false }] }], showPortalBack: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPortalBack", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], backToPortal: [{ type: i0.Output, args: ["backToPortal"] }], authenticated: [{ type: i0.Output, args: ["authenticated"] }], demoSignInRequested: [{ type: i0.Output, args: ["demoSignInRequested"] }] } });
|
|
43763
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".praxis-auth-gate{min-height:100dvh;display:grid;grid-template-rows:auto 1fr;place-items:center;padding:20px;background:var(--background);color:var(--foreground)}.praxis-auth-gate__hud{width:min(520px,100%);display:flex;justify-content:space-between;align-items:center;gap:8px}.praxis-auth-gate__hud-pill{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:var(--card);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__theme-wrap{position:relative;margin-left:auto}.praxis-auth-gate__theme-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:200px;z-index:40;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:12px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 14px 32px -12px rgb(15 23 42 / 25%))}.praxis-auth-gate__theme-item{display:flex;align-items:center;gap:8px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:var(--foreground);font-size:.78rem;text-align:left;cursor:pointer}.praxis-auth-gate__swatch{width:12px;height:12px;border-radius:999px;border:1px solid var(--border)}.praxis-auth-gate__card{width:min(480px,100%);display:flex;flex-direction:column;gap:14px;padding:22px 24px;border-radius:18px;background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow-panel, 0 18px 36px -14px rgb(15 23 42 / 20%))}.praxis-auth-gate__brand-logo{display:block;max-height:36px;width:auto;margin-bottom:10px;object-fit:contain}.praxis-auth-gate__realm-badge{display:flex;align-items:center;gap:10px}.praxis-auth-gate__emblem{width:44px;height:44px;border-radius:12px;object-fit:cover;border:1px solid var(--border);flex-shrink:0}.praxis-auth-gate__emblem-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:color-mix(in oklab,var(--primary) 12%,transparent);color:var(--primary);flex-shrink:0}.praxis-auth-gate__header h1{margin:6px 0 0;font-size:1.18rem;font-weight:800}.praxis-auth-gate__header p{margin:4px 0 0;font-size:.8rem;color:var(--muted-foreground)}.praxis-auth-gate__slug{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--secondary);border:1px solid var(--border);font-size:.72rem}.praxis-auth-gate__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.praxis-auth-gate__tab{height:34px;border-radius:9px;border:1px solid var(--border);background:var(--secondary);color:var(--foreground);font-size:.78rem;font-weight:600;cursor:pointer}.praxis-auth-gate__tab.is-active{border-color:var(--gate-primary, var(--primary));color:var(--gate-primary, var(--primary))}.praxis-auth-gate__personas,.praxis-auth-gate__form{display:flex;flex-direction:column;gap:10px}.praxis-auth-gate__persona{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--background);color:var(--foreground);text-align:left;cursor:pointer}.praxis-auth-gate__persona-copy{display:flex;flex-direction:column}.praxis-auth-gate__persona-copy strong{font-size:.84rem}.praxis-auth-gate__persona-copy small{font-size:.73rem;color:var(--muted-foreground)}.praxis-auth-gate__field{display:flex;flex-direction:column;gap:4px}.praxis-auth-gate__field span{font-size:.74rem;font-weight:600;color:var(--muted-foreground)}.praxis-auth-gate__field input{height:36px;padding:0 11px;border-radius:9px;border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:.84rem}.praxis-auth-gate__submit{height:38px;border-radius:10px;border:0;background:var(--gate-primary, var(--primary));color:var(--primary-foreground, #ffffff);font-size:.84rem;font-weight:700;cursor:pointer}.praxis-auth-gate__status,.praxis-auth-gate__error{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--secondary);font-size:.8rem}.praxis-auth-gate__spinner{width:16px;height:16px;border-radius:999px;border:2px solid var(--border);border-top-color:var(--gate-primary, var(--primary));animation:gateSpin .8s linear infinite}@keyframes gateSpin{to{transform:rotate(360deg)}}.praxis-auth-gate__retry{margin-left:auto;border:1px solid var(--border);border-radius:8px;padding:4px 9px;background:var(--card);color:var(--foreground);font-size:.74rem;font-weight:600;cursor:pointer}\n"] }]
|
|
43764
|
+
}], ctorParameters: () => [], propDecorators: { realmInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "realmInfo", required: false }] }], demoPersonas: [{ type: i0.Input, args: [{ isSignal: true, alias: "demoPersonas", required: false }] }], defaultAuthMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultAuthMode", required: false }] }], brandLogoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandLogoUrl", required: false }] }], brandLogoAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandLogoAlt", required: false }] }], showPortalBack: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPortalBack", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], backToPortal: [{ type: i0.Output, args: ["backToPortal"] }], authenticated: [{ type: i0.Output, args: ["authenticated"] }], demoSignInRequested: [{ type: i0.Output, args: ["demoSignInRequested"] }] } });
|
|
43637
43765
|
|
|
43638
43766
|
/*
|
|
43639
43767
|
* Public API Surface of @praxisui/page-builder
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/page-builder",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.53",
|
|
4
4
|
"description": "Page and widget builder utilities for Praxis UI (grid, dynamic widgets, editors).",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
11
|
"@angular/router": "^21.0.0",
|
|
12
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
17
|
-
"@praxisui/table": "^10.0.0-rc.
|
|
12
|
+
"@praxisui/ai": "^10.0.0-rc.53",
|
|
13
|
+
"@praxisui/core": "^10.0.0-rc.53",
|
|
14
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.53",
|
|
15
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.53",
|
|
16
|
+
"@praxisui/settings-panel": "^10.0.0-rc.53",
|
|
17
|
+
"@praxisui/table": "^10.0.0-rc.53",
|
|
18
18
|
"rxjs": "~7.8.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
@@ -3864,6 +3864,7 @@ declare class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
3864
3864
|
readonly commandExecuted: _angular_core.OutputEmitterRef<WorkspaceCommandItem>;
|
|
3865
3865
|
readonly contextSwitched: _angular_core.OutputEmitterRef<EnterpriseRuntimeContextChoice>;
|
|
3866
3866
|
readonly signedOut: _angular_core.OutputEmitterRef<void>;
|
|
3867
|
+
private appShellRef?;
|
|
3867
3868
|
private commandPaletteRef?;
|
|
3868
3869
|
readonly commandPaletteOpen: _angular_core.WritableSignal<boolean>;
|
|
3869
3870
|
readonly themeMenuOpen: _angular_core.WritableSignal<boolean>;
|
|
@@ -3893,6 +3894,8 @@ declare class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
3893
3894
|
readonly resolvedFooterStatus: _angular_core.Signal<PraxisShellFooterStatus | null>;
|
|
3894
3895
|
readonly combinedCommandItems: _angular_core.Signal<readonly WorkspaceCommandItem[]>;
|
|
3895
3896
|
openCommandPalette(initialQuery?: string): void;
|
|
3897
|
+
toggleCommandPalette(initialQuery?: string): void;
|
|
3898
|
+
openNavigationOverlay(): void;
|
|
3896
3899
|
toggleWriteScope(): void;
|
|
3897
3900
|
dismissSaveError(): void;
|
|
3898
3901
|
toggleThemeMenu(): void;
|
|
@@ -4026,6 +4029,9 @@ declare class PraxisPersonalLaboratoryPageComponent {
|
|
|
4026
4029
|
readonly authoringCapabilities: _angular_core.InputSignal<PageBuilderAuthoringCapabilities | null | undefined>;
|
|
4027
4030
|
readonly allowedWidgetIds: _angular_core.InputSignal<string[] | null>;
|
|
4028
4031
|
readonly initialPage: _angular_core.InputSignal<WidgetPageDefinition | null | undefined>;
|
|
4032
|
+
readonly initialTitle: _angular_core.InputSignal<string | undefined>;
|
|
4033
|
+
readonly initialMenuLabel: _angular_core.InputSignal<string | undefined>;
|
|
4034
|
+
readonly initialIcon: _angular_core.InputSignal<string | undefined>;
|
|
4029
4035
|
readonly selectedPageId: _angular_core.ModelSignal<string | null>;
|
|
4030
4036
|
readonly workingPage: _angular_core.WritableSignal<WidgetPageDefinition>;
|
|
4031
4037
|
readonly activeTitle: _angular_core.WritableSignal<string>;
|
|
@@ -4050,13 +4056,15 @@ declare class PraxisPersonalLaboratoryPageComponent {
|
|
|
4050
4056
|
openPage: string;
|
|
4051
4057
|
}>;
|
|
4052
4058
|
constructor();
|
|
4059
|
+
get saveAsComponent(): PraxisPageSaveAsComponent | undefined;
|
|
4060
|
+
clearSaveAsResult(): void;
|
|
4053
4061
|
newBlankPage(): void;
|
|
4054
4062
|
loadSavedPage(entry: WorkspacePersonalPageEntry): void;
|
|
4055
4063
|
applyResourceScaffold(): Promise<void>;
|
|
4056
4064
|
onBuilderPageChange(next: WidgetPageDefinition): void;
|
|
4057
4065
|
handleSaveAsRequest(): Promise<void>;
|
|
4058
4066
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisPersonalLaboratoryPageComponent, never>;
|
|
4059
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisPersonalLaboratoryPageComponent, "praxis-personal-laboratory-page", never, { "savedPages": { "alias": "savedPages"; "required": false; "isSignal": true; }; "saveAsAdapter": { "alias": "saveAsAdapter"; "required": false; "isSignal": true; }; "saveContextKey": { "alias": "saveContextKey"; "required": false; "isSignal": true; }; "authoringCapabilities": { "alias": "authoringCapabilities"; "required": false; "isSignal": true; }; "allowedWidgetIds": { "alias": "allowedWidgetIds"; "required": false; "isSignal": true; }; "initialPage": { "alias": "initialPage"; "required": false; "isSignal": true; }; "selectedPageId": { "alias": "selectedPageId"; "required": false; "isSignal": true; }; }, { "selectedPageId": "selectedPageIdChange"; "pageChanged": "pageChanged"; "saved": "saved"; "deleteRequested": "deleteRequested"; }, never, never, true, never>;
|
|
4067
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisPersonalLaboratoryPageComponent, "praxis-personal-laboratory-page", never, { "savedPages": { "alias": "savedPages"; "required": false; "isSignal": true; }; "saveAsAdapter": { "alias": "saveAsAdapter"; "required": false; "isSignal": true; }; "saveContextKey": { "alias": "saveContextKey"; "required": false; "isSignal": true; }; "authoringCapabilities": { "alias": "authoringCapabilities"; "required": false; "isSignal": true; }; "allowedWidgetIds": { "alias": "allowedWidgetIds"; "required": false; "isSignal": true; }; "initialPage": { "alias": "initialPage"; "required": false; "isSignal": true; }; "initialTitle": { "alias": "initialTitle"; "required": false; "isSignal": true; }; "initialMenuLabel": { "alias": "initialMenuLabel"; "required": false; "isSignal": true; }; "initialIcon": { "alias": "initialIcon"; "required": false; "isSignal": true; }; "selectedPageId": { "alias": "selectedPageId"; "required": false; "isSignal": true; }; }, { "selectedPageId": "selectedPageIdChange"; "pageChanged": "pageChanged"; "saved": "saved"; "deleteRequested": "deleteRequested"; }, never, never, true, never>;
|
|
4060
4068
|
}
|
|
4061
4069
|
|
|
4062
4070
|
/**
|
|
@@ -4199,6 +4207,9 @@ declare class PraxisWorkspaceAuthGateComponent {
|
|
|
4199
4207
|
private readonly i18n;
|
|
4200
4208
|
readonly realmInfo: _angular_core.InputSignal<WorkspaceRealmPortalOption | null | undefined>;
|
|
4201
4209
|
readonly demoPersonas: _angular_core.InputSignal<readonly WorkspaceDemoPersona[]>;
|
|
4210
|
+
readonly defaultAuthMode: _angular_core.InputSignal<"manual" | "demo" | "auto">;
|
|
4211
|
+
readonly brandLogoUrl: _angular_core.InputSignal<string | undefined>;
|
|
4212
|
+
readonly brandLogoAlt: _angular_core.InputSignal<string | undefined>;
|
|
4202
4213
|
readonly showPortalBack: _angular_core.InputSignal<boolean>;
|
|
4203
4214
|
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
4204
4215
|
readonly subtitle: _angular_core.InputSignal<string | undefined>;
|
|
@@ -4206,9 +4217,12 @@ declare class PraxisWorkspaceAuthGateComponent {
|
|
|
4206
4217
|
readonly authenticated: _angular_core.OutputEmitterRef<void>;
|
|
4207
4218
|
readonly demoSignInRequested: _angular_core.OutputEmitterRef<WorkspaceDemoPersona>;
|
|
4208
4219
|
readonly authMode: _angular_core.WritableSignal<"manual" | "demo">;
|
|
4220
|
+
private authModeOverriddenByUser;
|
|
4209
4221
|
readonly submitting: _angular_core.WritableSignal<boolean>;
|
|
4210
4222
|
readonly localError: _angular_core.WritableSignal<boolean>;
|
|
4211
4223
|
readonly themeMenuOpen: _angular_core.WritableSignal<boolean>;
|
|
4224
|
+
constructor();
|
|
4225
|
+
selectAuthMode(mode: 'demo' | 'manual'): void;
|
|
4212
4226
|
username: string;
|
|
4213
4227
|
password: string;
|
|
4214
4228
|
readonly sessionState: _angular_core.Signal<_praxisui_core.PraxisSessionState>;
|
|
@@ -4233,7 +4247,7 @@ declare class PraxisWorkspaceAuthGateComponent {
|
|
|
4233
4247
|
onDemoPersonaSelect(persona: WorkspaceDemoPersona): void;
|
|
4234
4248
|
retrySession(): Promise<void>;
|
|
4235
4249
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisWorkspaceAuthGateComponent, never>;
|
|
4236
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisWorkspaceAuthGateComponent, "praxis-workspace-auth-gate", never, { "realmInfo": { "alias": "realmInfo"; "required": false; "isSignal": true; }; "demoPersonas": { "alias": "demoPersonas"; "required": false; "isSignal": true; }; "showPortalBack": { "alias": "showPortalBack"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; }, { "backToPortal": "backToPortal"; "authenticated": "authenticated"; "demoSignInRequested": "demoSignInRequested"; }, never, ["*"], true, never>;
|
|
4250
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisWorkspaceAuthGateComponent, "praxis-workspace-auth-gate", never, { "realmInfo": { "alias": "realmInfo"; "required": false; "isSignal": true; }; "demoPersonas": { "alias": "demoPersonas"; "required": false; "isSignal": true; }; "defaultAuthMode": { "alias": "defaultAuthMode"; "required": false; "isSignal": true; }; "brandLogoUrl": { "alias": "brandLogoUrl"; "required": false; "isSignal": true; }; "brandLogoAlt": { "alias": "brandLogoAlt"; "required": false; "isSignal": true; }; "showPortalBack": { "alias": "showPortalBack"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; }, { "backToPortal": "backToPortal"; "authenticated": "authenticated"; "demoSignInRequested": "demoSignInRequested"; }, never, ["*", "[auth-gate-header-extra]"], true, never>;
|
|
4237
4251
|
}
|
|
4238
4252
|
|
|
4239
4253
|
export { ComponentPaletteDialogComponent, ConfirmDialogComponent, ConnectionEditorComponent, DEFAULT_CORPORATE_NAVIGATION_GROUPS_TARGET, DEFAULT_GOVERNED_PAGE_CHILD_VALIDATORS, DEFAULT_GOVERNED_PAGE_PREVIEW_ADAPTERS, DynamicPageBuilderComponent, DynamicPageConfigEditorComponent, FloatingToolbarComponent, GOVERNED_PAGE_CAPABILITY_KEYS, GovernedPageNavigationController, GovernedPageWorkflowController, LEGACY_PUBLISHED_PAGE_STORAGE_PREFIX, PAGE_BUILDER_AGENTIC_AUTHORING_OPTIONS, PAGE_BUILDER_AI_CAPABILITIES, PAGE_BUILDER_COMPONENT_CONTEXT_PACK, PAGE_BUILDER_WIDGET_AI_CATALOGS, PLACEHOLDER, PRAXIS_PAGE_BUILDER_AUTHORING_MANIFEST, PRAXIS_PAGE_BUILDER_COMPONENT_METADATA, PageBuilderAgenticAuthoringService, PageConfigEditorComponent, PraxisCommandPaletteComponent, PraxisDomainHubPageComponent, PraxisEnterpriseWorkspaceShellComponent, PraxisGovernedPagesConsoleComponent, PraxisOperationalScopeRibbonComponent, PraxisPageCopyActionComponent, PraxisPageSaveAsComponent, PraxisPersonalLaboratoryPageComponent, PraxisPublishedPageHostComponent, PraxisRealmPortalComponent, PraxisWorkspaceAuthGateComponent, PraxisWorkspaceStudioPageComponent, ResourceWidgetScaffolderService, TileToolbarComponent, UiCompositionResourcePreflightService, WidgetShellEditorComponent, clearWidgetAiCatalogs, compileUiCompositionPlan, createCorporateGovernedPagePersistenceAdapter, createLocalPageSaveAsAdapter, deriveGovernedPageCapabilities, getPageAiCatalog, getWidgetAiCapabilities, inspectLegacyPublishedPagePayload, isComponentDocMeta, preflightUiCompositionPlan, preflightUiCompositionPlanResources, providePageBuilderWidgetAiCatalogs, providePraxisAllWidgetMetadata, providePraxisPageBuilderMetadata, providePraxisPageBuilderWidgets, registerWidgetAiCatalog, registerWidgetAiCatalogs, resolveUiCompositionPlanTemplate, resolveWorkspaceText, sanitizeWidgetPageDefinition, validateChartPageWidget, validateExpansionPageWidget, validateListPageWidget, validateRichContentPageWidget, validateStepperPageWidget, validateTabsPageWidget, validateUiCompositionPlan, verifyUiCompositionAuthoringSource };
|