@praxisui/page-builder 10.0.0-rc.52 → 10.0.0-rc.55
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-19T04:18:21.275Z",
|
|
4
4
|
"packageName": "@praxisui/page-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.55",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -31726,6 +31726,8 @@ class DynamicPageBuilderComponent {
|
|
|
31726
31726
|
switch (componentId) {
|
|
31727
31727
|
case 'praxis-crud':
|
|
31728
31728
|
case 'praxis-organogram':
|
|
31729
|
+
case 'praxis-timeline-lanes':
|
|
31730
|
+
case 'praxis-relationship-graph':
|
|
31729
31731
|
return { recommendedCols: 12, recommendedRows: 6 };
|
|
31730
31732
|
case 'praxis-table':
|
|
31731
31733
|
return { recommendedCols: 8, recommendedRows: 6 };
|
|
@@ -37470,6 +37472,7 @@ const validateTabsPageWidget = buildDeclarativeWidgetValidator('praxis-tabs', ['
|
|
|
37470
37472
|
const validateStepperPageWidget = buildDeclarativeWidgetValidator('praxis-stepper', ['config', 'steps'], 'stepper');
|
|
37471
37473
|
const validateExpansionPageWidget = buildDeclarativeWidgetValidator('praxis-expansion', ['config', 'panels'], 'expansion');
|
|
37472
37474
|
const validateOrganogramPageWidget = buildDeclarativeWidgetValidator('praxis-organogram', ['config', 'nodes', 'resourcePath'], 'organogram');
|
|
37475
|
+
const validateRelationshipGraphPageWidget = buildDeclarativeWidgetValidator('praxis-relationship-graph', ['config', 'dataset', 'nodes', 'resourcePath'], 'relationshipGraph');
|
|
37473
37476
|
const validateProgressionLadderPageWidget = buildDeclarativeWidgetValidator('praxis-progression-ladder', ['document'], 'progressionLadder');
|
|
37474
37477
|
const validateCrudPageWidget = buildDeclarativeWidgetValidator('praxis-crud', ['metadata'], 'crud');
|
|
37475
37478
|
const validateFilterPageWidget = buildDeclarativeWidgetValidator('praxis-filter', ['presentation', 'fieldMetadata', 'resourcePath'], 'filter');
|
|
@@ -37491,6 +37494,7 @@ const validateCalculationWaterfallPageWidget = buildDeclarativeWidgetValidator('
|
|
|
37491
37494
|
const validateQuotaGaugePageWidget = buildDeclarativeWidgetValidator('praxis-quota-gauge', ['config', 'document', 'quotas', 'items', 'value'], 'quotaGauge');
|
|
37492
37495
|
const validateLifecycleTimelinePageWidget = buildDeclarativeWidgetValidator('praxis-lifecycle-timeline', ['document', 'config', 'events', 'stages', 'milestones', 'items'], 'lifecycleTimeline');
|
|
37493
37496
|
const validateRosterMatrixPageWidget = buildDeclarativeWidgetValidator('praxis-roster-matrix', ['document', 'config', 'matrix', 'rows', 'entries', 'items'], 'rosterMatrix');
|
|
37497
|
+
const validateTimelineLanesPageWidget = buildDeclarativeWidgetValidator('praxis-timeline-lanes', ['config', 'items', 'lanes', 'resourcePath'], 'timelineLanes');
|
|
37494
37498
|
const DEFAULT_GOVERNED_PAGE_CHILD_VALIDATORS = Object.freeze({
|
|
37495
37499
|
'praxis-dynamic-form': validateDynamicFormPageWidget,
|
|
37496
37500
|
'praxis-table': validateTablePageWidget,
|
|
@@ -37501,6 +37505,7 @@ const DEFAULT_GOVERNED_PAGE_CHILD_VALIDATORS = Object.freeze({
|
|
|
37501
37505
|
'praxis-stepper': validateStepperPageWidget,
|
|
37502
37506
|
'praxis-expansion': validateExpansionPageWidget,
|
|
37503
37507
|
'praxis-organogram': validateOrganogramPageWidget,
|
|
37508
|
+
'praxis-relationship-graph': validateRelationshipGraphPageWidget,
|
|
37504
37509
|
'praxis-progression-ladder': validateProgressionLadderPageWidget,
|
|
37505
37510
|
'praxis-crud': validateCrudPageWidget,
|
|
37506
37511
|
'praxis-filter': validateFilterPageWidget,
|
|
@@ -37522,6 +37527,7 @@ const DEFAULT_GOVERNED_PAGE_CHILD_VALIDATORS = Object.freeze({
|
|
|
37522
37527
|
'praxis-quota-gauge': validateQuotaGaugePageWidget,
|
|
37523
37528
|
'praxis-lifecycle-timeline': validateLifecycleTimelinePageWidget,
|
|
37524
37529
|
'praxis-roster-matrix': validateRosterMatrixPageWidget,
|
|
37530
|
+
'praxis-timeline-lanes': validateTimelineLanesPageWidget,
|
|
37525
37531
|
});
|
|
37526
37532
|
const DEFAULT_GOVERNED_PAGE_PREVIEW_ADAPTERS = Object.freeze({
|
|
37527
37533
|
'praxis-dynamic-form': DYNAMIC_FORM_GOVERNED_PAGE_PREVIEW_ADAPTER,
|
|
@@ -37533,6 +37539,7 @@ const DEFAULT_GOVERNED_PAGE_PREVIEW_ADAPTERS = Object.freeze({
|
|
|
37533
37539
|
'praxis-stepper': buildDeclarativePreviewAdapter('praxis-stepper', validateStepperPageWidget, 'stepperId'),
|
|
37534
37540
|
'praxis-expansion': buildDeclarativePreviewAdapter('praxis-expansion', validateExpansionPageWidget, 'expansionId'),
|
|
37535
37541
|
'praxis-organogram': buildDeclarativePreviewAdapter('praxis-organogram', validateOrganogramPageWidget, 'organogramId'),
|
|
37542
|
+
'praxis-relationship-graph': buildDeclarativePreviewAdapter('praxis-relationship-graph', validateRelationshipGraphPageWidget, 'graphId'),
|
|
37536
37543
|
'praxis-progression-ladder': buildDeclarativePreviewAdapter('praxis-progression-ladder', validateProgressionLadderPageWidget, 'ladderId'),
|
|
37537
37544
|
'praxis-crud': buildDeclarativePreviewAdapter('praxis-crud', validateCrudPageWidget, 'crudId'),
|
|
37538
37545
|
'praxis-filter': buildDeclarativePreviewAdapter('praxis-filter', validateFilterPageWidget, 'filterId'),
|
|
@@ -37554,6 +37561,7 @@ const DEFAULT_GOVERNED_PAGE_PREVIEW_ADAPTERS = Object.freeze({
|
|
|
37554
37561
|
'praxis-quota-gauge': buildDeclarativePreviewAdapter('praxis-quota-gauge', validateQuotaGaugePageWidget, 'gaugeId'),
|
|
37555
37562
|
'praxis-lifecycle-timeline': buildDeclarativePreviewAdapter('praxis-lifecycle-timeline', validateLifecycleTimelinePageWidget, 'timelineId'),
|
|
37556
37563
|
'praxis-roster-matrix': buildDeclarativePreviewAdapter('praxis-roster-matrix', validateRosterMatrixPageWidget, 'matrixId'),
|
|
37564
|
+
'praxis-timeline-lanes': buildDeclarativePreviewAdapter('praxis-timeline-lanes', validateTimelineLanesPageWidget, 'timelineId'),
|
|
37557
37565
|
});
|
|
37558
37566
|
const CANONICAL_UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
|
|
37559
37567
|
function isPlainRecord$2(value) {
|
|
@@ -38844,10 +38852,10 @@ function collectRowClickConnectedWidgetKeys(page) {
|
|
|
38844
38852
|
return connected;
|
|
38845
38853
|
}
|
|
38846
38854
|
function sanitizeTableInputs(inputs, rowClickConnected, options) {
|
|
38847
|
-
|
|
38848
|
-
|
|
38849
|
-
|
|
38850
|
-
|
|
38855
|
+
const hadExplicitConfig = isPlainRecord$1(inputs['config']);
|
|
38856
|
+
const existingConfig = hadExplicitConfig
|
|
38857
|
+
? inputs['config']
|
|
38858
|
+
: {};
|
|
38851
38859
|
const columns = Array.isArray(existingConfig['columns']) ? existingConfig['columns'] : [];
|
|
38852
38860
|
const columnProjection = isPlainRecord$1(existingConfig['columnProjection'])
|
|
38853
38861
|
? existingConfig['columnProjection']
|
|
@@ -38869,6 +38877,9 @@ function sanitizeTableInputs(inputs, rowClickConnected, options) {
|
|
|
38869
38877
|
openOnRowClick: false,
|
|
38870
38878
|
};
|
|
38871
38879
|
}
|
|
38880
|
+
if (!hadExplicitConfig && columnProjection === undefined && Object.keys(existingBehavior).length === 0) {
|
|
38881
|
+
return;
|
|
38882
|
+
}
|
|
38872
38883
|
inputs['config'] = {
|
|
38873
38884
|
...existingConfig,
|
|
38874
38885
|
columns,
|
|
@@ -39415,10 +39426,18 @@ class PraxisCommandPaletteComponent {
|
|
|
39415
39426
|
});
|
|
39416
39427
|
}
|
|
39417
39428
|
onDocumentKeydown(event) {
|
|
39429
|
+
if (event.defaultPrevented) {
|
|
39430
|
+
return;
|
|
39431
|
+
}
|
|
39432
|
+
if (event.key === 'Escape' && this.open()) {
|
|
39433
|
+
event.preventDefault();
|
|
39434
|
+
this.closePalette();
|
|
39435
|
+
return;
|
|
39436
|
+
}
|
|
39418
39437
|
if (!this.enableGlobalShortcut()) {
|
|
39419
39438
|
return;
|
|
39420
39439
|
}
|
|
39421
|
-
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {
|
|
39440
|
+
if ((event.ctrlKey || event.metaKey) && !event.altKey && event.key.toLowerCase() === 'k') {
|
|
39422
39441
|
event.preventDefault();
|
|
39423
39442
|
if (this.open()) {
|
|
39424
39443
|
this.closePalette();
|
|
@@ -39427,10 +39446,6 @@ class PraxisCommandPaletteComponent {
|
|
|
39427
39446
|
this.openPalette();
|
|
39428
39447
|
}
|
|
39429
39448
|
}
|
|
39430
|
-
else if (event.key === 'Escape' && this.open()) {
|
|
39431
|
-
event.preventDefault();
|
|
39432
|
-
this.closePalette();
|
|
39433
|
-
}
|
|
39434
39449
|
}
|
|
39435
39450
|
openPalette(initialQuery = '') {
|
|
39436
39451
|
this.query.set(initialQuery);
|
|
@@ -40280,6 +40295,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40280
40295
|
commandExecuted = output();
|
|
40281
40296
|
contextSwitched = output();
|
|
40282
40297
|
signedOut = output();
|
|
40298
|
+
appShellRef;
|
|
40283
40299
|
commandPaletteRef;
|
|
40284
40300
|
commandPaletteOpen = signal(false, ...(ngDevMode ? [{ debugName: "commandPaletteOpen" }] : /* istanbul ignore next */ []));
|
|
40285
40301
|
themeMenuOpen = signal(false, ...(ngDevMode ? [{ debugName: "themeMenuOpen" }] : /* istanbul ignore next */ []));
|
|
@@ -40399,6 +40415,25 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40399
40415
|
this.commandPaletteOpen.set(true);
|
|
40400
40416
|
}
|
|
40401
40417
|
}
|
|
40418
|
+
toggleCommandPalette(initialQuery = '') {
|
|
40419
|
+
if (this.commandPaletteOpen()) {
|
|
40420
|
+
this.themeMenuOpen.set(false);
|
|
40421
|
+
this.contextMenuOpen.set(false);
|
|
40422
|
+
if (this.commandPaletteRef) {
|
|
40423
|
+
this.commandPaletteRef.closePalette();
|
|
40424
|
+
}
|
|
40425
|
+
else {
|
|
40426
|
+
this.commandPaletteOpen.set(false);
|
|
40427
|
+
}
|
|
40428
|
+
return;
|
|
40429
|
+
}
|
|
40430
|
+
this.openCommandPalette(initialQuery);
|
|
40431
|
+
}
|
|
40432
|
+
openNavigationOverlay() {
|
|
40433
|
+
this.themeMenuOpen.set(false);
|
|
40434
|
+
this.contextMenuOpen.set(false);
|
|
40435
|
+
this.appShellRef?.openNavigationOverlay();
|
|
40436
|
+
}
|
|
40402
40437
|
toggleWriteScope() {
|
|
40403
40438
|
this.configStorage?.toggleWriteScope();
|
|
40404
40439
|
}
|
|
@@ -40458,7 +40493,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40458
40493
|
this.signedOut.emit();
|
|
40459
40494
|
}
|
|
40460
40495
|
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: `
|
|
40496
|
+
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
40497
|
<praxis-app-shell
|
|
40463
40498
|
[brand]="brand()"
|
|
40464
40499
|
[navigation]="navigation()"
|
|
@@ -40485,7 +40520,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40485
40520
|
(subTabsPinChange)="subTabsPinChange.emit($event)"
|
|
40486
40521
|
(domainLauncherTrigger)="domainLauncherTrigger.emit()"
|
|
40487
40522
|
(breadcrumbClick)="breadcrumbClick.emit($event)"
|
|
40488
|
-
(commandPaletteTrigger)="
|
|
40523
|
+
(commandPaletteTrigger)="toggleCommandPalette()"
|
|
40489
40524
|
(themeToggle)="onToggleDark()"
|
|
40490
40525
|
(customizationToggle)="customizationToggle.emit($event)"
|
|
40491
40526
|
(searchSubmit)="openCommandPalette($event)"
|
|
@@ -40686,6 +40721,7 @@ class PraxisEnterpriseWorkspaceShellComponent {
|
|
|
40686
40721
|
|
|
40687
40722
|
<praxis-command-palette
|
|
40688
40723
|
[(open)]="commandPaletteOpen"
|
|
40724
|
+
[enableGlobalShortcut]="false"
|
|
40689
40725
|
[items]="combinedCommandItems()"
|
|
40690
40726
|
[remoteSearch]="remoteSearch()"
|
|
40691
40727
|
(itemExecuted)="commandExecuted.emit($event)"
|
|
@@ -40726,7 +40762,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
40726
40762
|
(subTabsPinChange)="subTabsPinChange.emit($event)"
|
|
40727
40763
|
(domainLauncherTrigger)="domainLauncherTrigger.emit()"
|
|
40728
40764
|
(breadcrumbClick)="breadcrumbClick.emit($event)"
|
|
40729
|
-
(commandPaletteTrigger)="
|
|
40765
|
+
(commandPaletteTrigger)="toggleCommandPalette()"
|
|
40730
40766
|
(themeToggle)="onToggleDark()"
|
|
40731
40767
|
(customizationToggle)="customizationToggle.emit($event)"
|
|
40732
40768
|
(searchSubmit)="openCommandPalette($event)"
|
|
@@ -40927,12 +40963,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
40927
40963
|
|
|
40928
40964
|
<praxis-command-palette
|
|
40929
40965
|
[(open)]="commandPaletteOpen"
|
|
40966
|
+
[enableGlobalShortcut]="false"
|
|
40930
40967
|
[items]="combinedCommandItems()"
|
|
40931
40968
|
[remoteSearch]="remoteSearch()"
|
|
40932
40969
|
(itemExecuted)="commandExecuted.emit($event)"
|
|
40933
40970
|
/>
|
|
40934
40971
|
`, 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"] }],
|
|
40972
|
+
}], 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: [{
|
|
40973
|
+
type: ViewChild,
|
|
40974
|
+
args: [PraxisAppShellComponent]
|
|
40975
|
+
}], commandPaletteRef: [{
|
|
40936
40976
|
type: ViewChild,
|
|
40937
40977
|
args: [PraxisCommandPaletteComponent]
|
|
40938
40978
|
}] } });
|
|
@@ -41738,6 +41778,9 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41738
41778
|
authoringCapabilities = input(undefined, ...(ngDevMode ? [{ debugName: "authoringCapabilities" }] : /* istanbul ignore next */ []));
|
|
41739
41779
|
allowedWidgetIds = input(null, ...(ngDevMode ? [{ debugName: "allowedWidgetIds" }] : /* istanbul ignore next */ []));
|
|
41740
41780
|
initialPage = input(undefined, ...(ngDevMode ? [{ debugName: "initialPage" }] : /* istanbul ignore next */ []));
|
|
41781
|
+
initialTitle = input(undefined, ...(ngDevMode ? [{ debugName: "initialTitle" }] : /* istanbul ignore next */ []));
|
|
41782
|
+
initialMenuLabel = input(undefined, ...(ngDevMode ? [{ debugName: "initialMenuLabel" }] : /* istanbul ignore next */ []));
|
|
41783
|
+
initialIcon = input(undefined, ...(ngDevMode ? [{ debugName: "initialIcon" }] : /* istanbul ignore next */ []));
|
|
41741
41784
|
selectedPageId = model(null, ...(ngDevMode ? [{ debugName: "selectedPageId" }] : /* istanbul ignore next */ []));
|
|
41742
41785
|
workingPage = signal(createBlankLabPageDefinition(), ...(ngDevMode ? [{ debugName: "workingPage" }] : /* istanbul ignore next */ []));
|
|
41743
41786
|
activeTitle = signal('', ...(ngDevMode ? [{ debugName: "activeTitle" }] : /* istanbul ignore next */ []));
|
|
@@ -41768,6 +41811,18 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41768
41811
|
this.workingPage.set(sanitizeWidgetPageDefinition(provided, { lockForGovernance: false }));
|
|
41769
41812
|
}
|
|
41770
41813
|
});
|
|
41814
|
+
effect(() => {
|
|
41815
|
+
const title = this.initialTitle();
|
|
41816
|
+
if (title !== undefined) {
|
|
41817
|
+
this.activeTitle.set(title);
|
|
41818
|
+
}
|
|
41819
|
+
});
|
|
41820
|
+
}
|
|
41821
|
+
get saveAsComponent() {
|
|
41822
|
+
return this.saveAsRef;
|
|
41823
|
+
}
|
|
41824
|
+
clearSaveAsResult() {
|
|
41825
|
+
this.saveAsRef?.clearResult();
|
|
41771
41826
|
}
|
|
41772
41827
|
newBlankPage() {
|
|
41773
41828
|
this.selectedPageId.set(null);
|
|
@@ -41814,7 +41869,7 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41814
41869
|
await this.saveAsRef.save(clean);
|
|
41815
41870
|
}
|
|
41816
41871
|
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: `
|
|
41872
|
+
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
41873
|
<section
|
|
41819
41874
|
class="praxis-lab-page"
|
|
41820
41875
|
role="region"
|
|
@@ -41933,7 +41988,8 @@ class PraxisPersonalLaboratoryPageComponent {
|
|
|
41933
41988
|
[contextKey]="saveContextKey()"
|
|
41934
41989
|
[canSave]="workingPage().widgets.length > 0"
|
|
41935
41990
|
[initialTitle]="activeTitle()"
|
|
41936
|
-
[initialMenuLabel]="activeTitle()"
|
|
41991
|
+
[initialMenuLabel]="initialMenuLabel() ?? activeTitle()"
|
|
41992
|
+
[initialIcon]="initialIcon() ?? 'web'"
|
|
41937
41993
|
(saveRequested)="handleSaveAsRequest()"
|
|
41938
41994
|
(saved)="saved.emit($event)"
|
|
41939
41995
|
/>
|
|
@@ -42073,7 +42129,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
42073
42129
|
[contextKey]="saveContextKey()"
|
|
42074
42130
|
[canSave]="workingPage().widgets.length > 0"
|
|
42075
42131
|
[initialTitle]="activeTitle()"
|
|
42076
|
-
[initialMenuLabel]="activeTitle()"
|
|
42132
|
+
[initialMenuLabel]="initialMenuLabel() ?? activeTitle()"
|
|
42133
|
+
[initialIcon]="initialIcon() ?? 'web'"
|
|
42077
42134
|
(saveRequested)="handleSaveAsRequest()"
|
|
42078
42135
|
(saved)="saved.emit($event)"
|
|
42079
42136
|
/>
|
|
@@ -42094,7 +42151,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
42094
42151
|
}], ctorParameters: () => [], propDecorators: { saveAsRef: [{
|
|
42095
42152
|
type: ViewChild,
|
|
42096
42153
|
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"] }] } });
|
|
42154
|
+
}], 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
42155
|
|
|
42099
42156
|
function createEmptyStudioDefinition() {
|
|
42100
42157
|
return {
|
|
@@ -43190,6 +43247,9 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43190
43247
|
i18n = inject(PraxisI18nService, { optional: true });
|
|
43191
43248
|
realmInfo = input(undefined, ...(ngDevMode ? [{ debugName: "realmInfo" }] : /* istanbul ignore next */ []));
|
|
43192
43249
|
demoPersonas = input([], ...(ngDevMode ? [{ debugName: "demoPersonas" }] : /* istanbul ignore next */ []));
|
|
43250
|
+
defaultAuthMode = input('auto', ...(ngDevMode ? [{ debugName: "defaultAuthMode" }] : /* istanbul ignore next */ []));
|
|
43251
|
+
brandLogoUrl = input(undefined, ...(ngDevMode ? [{ debugName: "brandLogoUrl" }] : /* istanbul ignore next */ []));
|
|
43252
|
+
brandLogoAlt = input(undefined, ...(ngDevMode ? [{ debugName: "brandLogoAlt" }] : /* istanbul ignore next */ []));
|
|
43193
43253
|
showPortalBack = input(true, ...(ngDevMode ? [{ debugName: "showPortalBack" }] : /* istanbul ignore next */ []));
|
|
43194
43254
|
title = input(undefined, ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
43195
43255
|
subtitle = input(undefined, ...(ngDevMode ? [{ debugName: "subtitle" }] : /* istanbul ignore next */ []));
|
|
@@ -43197,9 +43257,27 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43197
43257
|
authenticated = output();
|
|
43198
43258
|
demoSignInRequested = output();
|
|
43199
43259
|
authMode = signal('manual', ...(ngDevMode ? [{ debugName: "authMode" }] : /* istanbul ignore next */ []));
|
|
43260
|
+
authModeOverriddenByUser = false;
|
|
43200
43261
|
submitting = signal(false, ...(ngDevMode ? [{ debugName: "submitting" }] : /* istanbul ignore next */ []));
|
|
43201
43262
|
localError = signal(false, ...(ngDevMode ? [{ debugName: "localError" }] : /* istanbul ignore next */ []));
|
|
43202
43263
|
themeMenuOpen = signal(false, ...(ngDevMode ? [{ debugName: "themeMenuOpen" }] : /* istanbul ignore next */ []));
|
|
43264
|
+
constructor() {
|
|
43265
|
+
effect(() => {
|
|
43266
|
+
const preferred = this.defaultAuthMode();
|
|
43267
|
+
const hasDemoPersonas = this.demoPersonas().length > 0;
|
|
43268
|
+
if (this.authModeOverriddenByUser) {
|
|
43269
|
+
return;
|
|
43270
|
+
}
|
|
43271
|
+
const nextMode = preferred === 'demo' || (preferred === 'auto' && hasDemoPersonas)
|
|
43272
|
+
? 'demo'
|
|
43273
|
+
: 'manual';
|
|
43274
|
+
this.authMode.set(nextMode);
|
|
43275
|
+
});
|
|
43276
|
+
}
|
|
43277
|
+
selectAuthMode(mode) {
|
|
43278
|
+
this.authModeOverriddenByUser = true;
|
|
43279
|
+
this.authMode.set(mode);
|
|
43280
|
+
}
|
|
43203
43281
|
username = '';
|
|
43204
43282
|
password = '';
|
|
43205
43283
|
sessionState = computed(() => this.session?.state() ?? 'anonymous', ...(ngDevMode ? [{ debugName: "sessionState" }] : /* istanbul ignore next */ []));
|
|
@@ -43262,7 +43340,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43262
43340
|
await this.session.revalidateSilently();
|
|
43263
43341
|
}
|
|
43264
43342
|
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: `
|
|
43343
|
+
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
43344
|
@if (isAuthenticatedReady()) {
|
|
43267
43345
|
<ng-content />
|
|
43268
43346
|
} @else {
|
|
@@ -43323,15 +43401,44 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43323
43401
|
aria-labelledby="praxis-auth-gate-title"
|
|
43324
43402
|
>
|
|
43325
43403
|
<header class="praxis-auth-gate__header">
|
|
43326
|
-
@if (
|
|
43327
|
-
<
|
|
43328
|
-
|
|
43329
|
-
|
|
43404
|
+
@if (brandLogoUrl()) {
|
|
43405
|
+
<img
|
|
43406
|
+
class="praxis-auth-gate__brand-logo"
|
|
43407
|
+
data-testid="praxis-auth-gate-brand-logo"
|
|
43408
|
+
[src]="brandLogoUrl()!"
|
|
43409
|
+
[alt]="brandLogoAlt() || realmInfo()?.displayName || title() || text().title"
|
|
43410
|
+
/>
|
|
43411
|
+
}
|
|
43412
|
+
@if (realmInfo()?.emblemUrl || realmInfo()?.icon || realmSlug()) {
|
|
43413
|
+
<div class="praxis-auth-gate__realm-badge">
|
|
43414
|
+
@if (realmInfo()?.emblemUrl) {
|
|
43415
|
+
<img
|
|
43416
|
+
class="praxis-auth-gate__emblem"
|
|
43417
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43418
|
+
[src]="realmInfo()!.emblemUrl!"
|
|
43419
|
+
[alt]="realmInfo()!.emblemAlt || realmInfo()!.displayName || title() || text().title"
|
|
43420
|
+
/>
|
|
43421
|
+
} @else if (realmInfo()?.icon) {
|
|
43422
|
+
<span
|
|
43423
|
+
class="praxis-auth-gate__emblem-icon material-symbols-outlined"
|
|
43424
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43425
|
+
aria-hidden="true"
|
|
43426
|
+
>
|
|
43427
|
+
{{ realmInfo()!.icon }}
|
|
43428
|
+
</span>
|
|
43429
|
+
}
|
|
43430
|
+
@if (realmSlug()) {
|
|
43431
|
+
<code class="praxis-auth-gate__slug" data-testid="praxis-auth-gate-slug">
|
|
43432
|
+
/{{ realmSlug() }}
|
|
43433
|
+
</code>
|
|
43434
|
+
}
|
|
43435
|
+
</div>
|
|
43330
43436
|
}
|
|
43331
43437
|
<h1 id="praxis-auth-gate-title">
|
|
43332
43438
|
{{ realmInfo()?.displayName || title() || text().title }}
|
|
43333
43439
|
</h1>
|
|
43334
43440
|
<p>{{ realmInfo()?.subtitle || subtitle() || text().subtitle }}</p>
|
|
43441
|
+
<ng-content select="[auth-gate-header-extra]" />
|
|
43335
43442
|
</header>
|
|
43336
43443
|
|
|
43337
43444
|
@if (sessionState() === 'loading' || sessionState() === 'changing') {
|
|
@@ -43349,7 +43456,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43349
43456
|
[class.is-active]="authMode() === 'demo'"
|
|
43350
43457
|
[attr.aria-selected]="authMode() === 'demo'"
|
|
43351
43458
|
data-testid="praxis-auth-gate-tab-demo"
|
|
43352
|
-
(click)="
|
|
43459
|
+
(click)="selectAuthMode('demo')"
|
|
43353
43460
|
>
|
|
43354
43461
|
{{ text().demoTab }}
|
|
43355
43462
|
</button>
|
|
@@ -43360,7 +43467,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43360
43467
|
[class.is-active]="authMode() === 'manual'"
|
|
43361
43468
|
[attr.aria-selected]="authMode() === 'manual'"
|
|
43362
43469
|
data-testid="praxis-auth-gate-tab-manual"
|
|
43363
|
-
(click)="
|
|
43470
|
+
(click)="selectAuthMode('manual')"
|
|
43364
43471
|
>
|
|
43365
43472
|
{{ text().manualTab }}
|
|
43366
43473
|
</button>
|
|
@@ -43445,7 +43552,7 @@ class PraxisWorkspaceAuthGateComponent {
|
|
|
43445
43552
|
</section>
|
|
43446
43553
|
</main>
|
|
43447
43554
|
}
|
|
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 });
|
|
43555
|
+
`, 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
43556
|
}
|
|
43450
43557
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisWorkspaceAuthGateComponent, decorators: [{
|
|
43451
43558
|
type: Component,
|
|
@@ -43510,15 +43617,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43510
43617
|
aria-labelledby="praxis-auth-gate-title"
|
|
43511
43618
|
>
|
|
43512
43619
|
<header class="praxis-auth-gate__header">
|
|
43513
|
-
@if (
|
|
43514
|
-
<
|
|
43515
|
-
|
|
43516
|
-
|
|
43620
|
+
@if (brandLogoUrl()) {
|
|
43621
|
+
<img
|
|
43622
|
+
class="praxis-auth-gate__brand-logo"
|
|
43623
|
+
data-testid="praxis-auth-gate-brand-logo"
|
|
43624
|
+
[src]="brandLogoUrl()!"
|
|
43625
|
+
[alt]="brandLogoAlt() || realmInfo()?.displayName || title() || text().title"
|
|
43626
|
+
/>
|
|
43627
|
+
}
|
|
43628
|
+
@if (realmInfo()?.emblemUrl || realmInfo()?.icon || realmSlug()) {
|
|
43629
|
+
<div class="praxis-auth-gate__realm-badge">
|
|
43630
|
+
@if (realmInfo()?.emblemUrl) {
|
|
43631
|
+
<img
|
|
43632
|
+
class="praxis-auth-gate__emblem"
|
|
43633
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43634
|
+
[src]="realmInfo()!.emblemUrl!"
|
|
43635
|
+
[alt]="realmInfo()!.emblemAlt || realmInfo()!.displayName || title() || text().title"
|
|
43636
|
+
/>
|
|
43637
|
+
} @else if (realmInfo()?.icon) {
|
|
43638
|
+
<span
|
|
43639
|
+
class="praxis-auth-gate__emblem-icon material-symbols-outlined"
|
|
43640
|
+
data-testid="praxis-auth-gate-emblem"
|
|
43641
|
+
aria-hidden="true"
|
|
43642
|
+
>
|
|
43643
|
+
{{ realmInfo()!.icon }}
|
|
43644
|
+
</span>
|
|
43645
|
+
}
|
|
43646
|
+
@if (realmSlug()) {
|
|
43647
|
+
<code class="praxis-auth-gate__slug" data-testid="praxis-auth-gate-slug">
|
|
43648
|
+
/{{ realmSlug() }}
|
|
43649
|
+
</code>
|
|
43650
|
+
}
|
|
43651
|
+
</div>
|
|
43517
43652
|
}
|
|
43518
43653
|
<h1 id="praxis-auth-gate-title">
|
|
43519
43654
|
{{ realmInfo()?.displayName || title() || text().title }}
|
|
43520
43655
|
</h1>
|
|
43521
43656
|
<p>{{ realmInfo()?.subtitle || subtitle() || text().subtitle }}</p>
|
|
43657
|
+
<ng-content select="[auth-gate-header-extra]" />
|
|
43522
43658
|
</header>
|
|
43523
43659
|
|
|
43524
43660
|
@if (sessionState() === 'loading' || sessionState() === 'changing') {
|
|
@@ -43536,7 +43672,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43536
43672
|
[class.is-active]="authMode() === 'demo'"
|
|
43537
43673
|
[attr.aria-selected]="authMode() === 'demo'"
|
|
43538
43674
|
data-testid="praxis-auth-gate-tab-demo"
|
|
43539
|
-
(click)="
|
|
43675
|
+
(click)="selectAuthMode('demo')"
|
|
43540
43676
|
>
|
|
43541
43677
|
{{ text().demoTab }}
|
|
43542
43678
|
</button>
|
|
@@ -43547,7 +43683,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43547
43683
|
[class.is-active]="authMode() === 'manual'"
|
|
43548
43684
|
[attr.aria-selected]="authMode() === 'manual'"
|
|
43549
43685
|
data-testid="praxis-auth-gate-tab-manual"
|
|
43550
|
-
(click)="
|
|
43686
|
+
(click)="selectAuthMode('manual')"
|
|
43551
43687
|
>
|
|
43552
43688
|
{{ text().manualTab }}
|
|
43553
43689
|
</button>
|
|
@@ -43632,8 +43768,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
43632
43768
|
</section>
|
|
43633
43769
|
</main>
|
|
43634
43770
|
}
|
|
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"] }] } });
|
|
43771
|
+
`, 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"] }]
|
|
43772
|
+
}], 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
43773
|
|
|
43638
43774
|
/*
|
|
43639
43775
|
* 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.55",
|
|
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.55",
|
|
13
|
+
"@praxisui/core": "^10.0.0-rc.55",
|
|
14
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.55",
|
|
15
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.55",
|
|
16
|
+
"@praxisui/settings-panel": "^10.0.0-rc.55",
|
|
17
|
+
"@praxisui/table": "^10.0.0-rc.55",
|
|
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 };
|