@memberjunction/ng-dashboards 6.2.0-edge.3 → 6.2.0-edge.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.d.ts +4 -3
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.d.ts.map +1 -1
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.js +8 -5
- package/dist/AI/components/analytics/realtime/realtime-transcripts-data.js.map +1 -1
- package/dist/AI/components/duplicates/compare-value.component.d.ts +67 -0
- package/dist/AI/components/duplicates/compare-value.component.d.ts.map +1 -0
- package/dist/AI/components/duplicates/compare-value.component.js +168 -0
- package/dist/AI/components/duplicates/compare-value.component.js.map +1 -0
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts +49 -3
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.d.ts.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js +287 -169
- package/dist/AI/components/duplicates/duplicate-detection-resource.component.js.map +1 -1
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.d.ts +77 -0
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.d.ts.map +1 -0
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.js +116 -0
- package/dist/AI/components/duplicates/duplicate-detection-run-scope.js.map +1 -0
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.d.ts +1 -0
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.d.ts.map +1 -1
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.js +16 -4
- package/dist/AI/components/prompts/model-prompt-priority-matrix.component.js.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.d.ts +2 -0
- package/dist/AI/components/tags/tags-resource.component.d.ts.map +1 -1
- package/dist/AI/components/tags/tags-resource.component.js +12 -6
- package/dist/AI/components/tags/tags-resource.component.js.map +1 -1
- package/dist/AI/components/vectors/sensitive-fields.d.ts +53 -0
- package/dist/AI/components/vectors/sensitive-fields.d.ts.map +1 -0
- package/dist/AI/components/vectors/sensitive-fields.js +226 -0
- package/dist/AI/components/vectors/sensitive-fields.js.map +1 -0
- package/dist/AI/components/vectors/vector-document-rules.d.ts +126 -0
- package/dist/AI/components/vectors/vector-document-rules.d.ts.map +1 -0
- package/dist/AI/components/vectors/vector-document-rules.js +168 -0
- package/dist/AI/components/vectors/vector-document-rules.js.map +1 -0
- package/dist/AI/components/vectors/vector-index-auto.d.ts +29 -0
- package/dist/AI/components/vectors/vector-index-auto.d.ts.map +1 -0
- package/dist/AI/components/vectors/vector-index-auto.js +59 -0
- package/dist/AI/components/vectors/vector-index-auto.js.map +1 -0
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts +58 -0
- package/dist/AI/components/vectors/vector-management-resource.component.d.ts.map +1 -1
- package/dist/AI/components/vectors/vector-management-resource.component.js +493 -250
- package/dist/AI/components/vectors/vector-management-resource.component.js.map +1 -1
- package/dist/Actions/components/actions-overview.component.d.ts.map +1 -1
- package/dist/Actions/components/actions-overview.component.js +7 -3
- package/dist/Actions/components/actions-overview.component.js.map +1 -1
- package/dist/Actions/components/categories-list-view.component.d.ts.map +1 -1
- package/dist/Actions/components/categories-list-view.component.js +3 -2
- package/dist/Actions/components/categories-list-view.component.js.map +1 -1
- package/dist/Communication/communication-agent-context.d.ts +11 -1
- package/dist/Communication/communication-agent-context.d.ts.map +1 -1
- package/dist/Communication/communication-agent-context.js +15 -0
- package/dist/Communication/communication-agent-context.js.map +1 -1
- package/dist/Communication/communication-dashboard.component.d.ts.map +1 -1
- package/dist/Communication/communication-dashboard.component.js +5 -0
- package/dist/Communication/communication-dashboard.component.js.map +1 -1
- package/dist/Communication/communication-providers-resource.component.d.ts +27 -1
- package/dist/Communication/communication-providers-resource.component.d.ts.map +1 -1
- package/dist/Communication/communication-providers-resource.component.js +722 -78
- package/dist/Communication/communication-providers-resource.component.js.map +1 -1
- package/dist/ComponentStudio/component-studio-dashboard.component.d.ts.map +1 -1
- package/dist/ComponentStudio/component-studio-dashboard.component.js +1 -0
- package/dist/ComponentStudio/component-studio-dashboard.component.js.map +1 -1
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.d.ts +0 -3
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.d.ts.map +1 -1
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.js +5 -14
- package/dist/ComponentStudio/components/ai-assistant/ai-assistant-panel.component.js.map +1 -1
- package/dist/ComponentStudio/components/artifact-load-dialog.component.d.ts.map +1 -1
- package/dist/ComponentStudio/components/artifact-load-dialog.component.js +1 -0
- package/dist/ComponentStudio/components/artifact-load-dialog.component.js.map +1 -1
- package/dist/ComponentStudio/components/artifact-selection-dialog.component.d.ts.map +1 -1
- package/dist/ComponentStudio/components/artifact-selection-dialog.component.js +1 -0
- package/dist/ComponentStudio/components/artifact-selection-dialog.component.js.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.d.ts +2 -0
- package/dist/Credentials/components/credentials-list-resource.component.d.ts.map +1 -1
- package/dist/Credentials/components/credentials-list-resource.component.js +12 -10
- package/dist/Credentials/components/credentials-list-resource.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-agent-context.d.ts +14 -43
- package/dist/DashboardBrowser/dashboard-browser-agent-context.d.ts.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-agent-context.js +6 -29
- package/dist/DashboardBrowser/dashboard-browser-agent-context.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts +174 -321
- package/dist/DashboardBrowser/dashboard-browser-resource.component.d.ts.map +1 -1
- package/dist/DashboardBrowser/dashboard-browser-resource.component.js +522 -1195
- package/dist/DashboardBrowser/dashboard-browser-resource.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboard-library-filter.d.ts +116 -0
- package/dist/DashboardBrowser/dashboard-library-filter.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboard-library-filter.js +277 -0
- package/dist/DashboardBrowser/dashboard-library-filter.js.map +1 -0
- package/dist/DashboardBrowser/dashboard-share-dialog.component.d.ts +1 -1
- package/dist/DashboardBrowser/dashboard-share-dialog.component.js.map +1 -1
- package/dist/DashboardBrowser/dashboards-agent-tools.d.ts +26 -0
- package/dist/DashboardBrowser/dashboards-agent-tools.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboards-agent-tools.js +32 -0
- package/dist/DashboardBrowser/dashboards-agent-tools.js.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.d.ts +58 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.js +391 -0
- package/dist/DashboardBrowser/dashboards-categories-resource.component.js.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.d.ts +37 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.d.ts.map +1 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.js +68 -0
- package/dist/DashboardBrowser/dashboards-categories.helpers.js.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.component.d.ts +295 -0
- package/dist/DashboardEditor/dashboard-editor.component.d.ts.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.component.js +1022 -0
- package/dist/DashboardEditor/dashboard-editor.component.js.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.types.d.ts +23 -0
- package/dist/DashboardEditor/dashboard-editor.types.d.ts.map +1 -0
- package/dist/DashboardEditor/dashboard-editor.types.js +3 -0
- package/dist/DashboardEditor/dashboard-editor.types.js.map +1 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.d.ts +11 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.d.ts.map +1 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.js +17 -0
- package/dist/DashboardEditor/dashboard-viewer-factory.js.map +1 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts +51 -0
- package/dist/DataExplorer/data-explorer-dashboard.component.d.ts.map +1 -1
- package/dist/DataExplorer/data-explorer-dashboard.component.js +375 -223
- package/dist/DataExplorer/data-explorer-dashboard.component.js.map +1 -1
- package/dist/DataExplorer/services/explorer-state.service.d.ts +1 -1
- package/dist/DataExplorer/services/explorer-state.service.js +2 -5
- package/dist/DataExplorer/services/explorer-state.service.js.map +1 -1
- package/dist/DevTools/app-state-inspector.component.d.ts.map +1 -1
- package/dist/DevTools/app-state-inspector.component.js +1 -0
- package/dist/DevTools/app-state-inspector.component.js.map +1 -1
- package/dist/DevTools/class-registry.component.d.ts.map +1 -1
- package/dist/DevTools/class-registry.component.js +1 -0
- package/dist/DevTools/class-registry.component.js.map +1 -1
- package/dist/DevTools/event-monitor.component.d.ts.map +1 -1
- package/dist/DevTools/event-monitor.component.js +2 -0
- package/dist/DevTools/event-monitor.component.js.map +1 -1
- package/dist/DevTools/graphql-console.component.d.ts.map +1 -1
- package/dist/DevTools/graphql-console.component.js.map +1 -1
- package/dist/DevTools/grid-width-lab.component.d.ts.map +1 -1
- package/dist/DevTools/grid-width-lab.component.js +1 -0
- package/dist/DevTools/grid-width-lab.component.js.map +1 -1
- package/dist/DevTools/layout-inspector.component.d.ts.map +1 -1
- package/dist/DevTools/layout-inspector.component.js +1 -0
- package/dist/DevTools/layout-inspector.component.js.map +1 -1
- package/dist/DevTools/lazy-module-status.component.d.ts.map +1 -1
- package/dist/DevTools/lazy-module-status.component.js +1 -0
- package/dist/DevTools/lazy-module-status.component.js.map +1 -1
- package/dist/DevTools/settings-explorer.component.d.ts.map +1 -1
- package/dist/DevTools/settings-explorer.component.js +1 -0
- package/dist/DevTools/settings-explorer.component.js.map +1 -1
- package/dist/DevTools/tab-strip-lab.component.d.ts.map +1 -1
- package/dist/DevTools/tab-strip-lab.component.js +1 -0
- package/dist/DevTools/tab-strip-lab.component.js.map +1 -1
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts +5 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts.map +1 -1
- package/dist/EntityAdmin/entity-admin-dashboard.component.js +8 -5
- package/dist/EntityAdmin/entity-admin-dashboard.component.js.map +1 -1
- package/dist/FormBuilder/form-builder-resource.component.d.ts +0 -14
- package/dist/FormBuilder/form-builder-resource.component.d.ts.map +1 -1
- package/dist/FormBuilder/form-builder-resource.component.js +7 -29
- package/dist/FormBuilder/form-builder-resource.component.js.map +1 -1
- package/dist/Home/home-agent-context.d.ts +29 -10
- package/dist/Home/home-agent-context.d.ts.map +1 -1
- package/dist/Home/home-agent-context.js +50 -24
- package/dist/Home/home-agent-context.js.map +1 -1
- package/dist/Home/home-dashboard-switcher.component.d.ts +95 -0
- package/dist/Home/home-dashboard-switcher.component.d.ts.map +1 -0
- package/dist/Home/home-dashboard-switcher.component.js +442 -0
- package/dist/Home/home-dashboard-switcher.component.js.map +1 -0
- package/dist/Home/home-dashboard.component.d.ts +330 -17
- package/dist/Home/home-dashboard.component.d.ts.map +1 -1
- package/dist/Home/home-dashboard.component.js +1702 -1014
- package/dist/Home/home-dashboard.component.js.map +1 -1
- package/dist/Home/home-menus.d.ts +38 -0
- package/dist/Home/home-menus.d.ts.map +1 -0
- package/dist/Home/home-menus.js +53 -0
- package/dist/Home/home-menus.js.map +1 -0
- package/dist/Home/home-pinned-dashboards.d.ts +33 -0
- package/dist/Home/home-pinned-dashboards.d.ts.map +1 -0
- package/dist/Home/home-pinned-dashboards.js +76 -0
- package/dist/Home/home-pinned-dashboards.js.map +1 -0
- package/dist/Integration/components/overview/overview.component.js +2 -2
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js +2 -2
- package/dist/KnowledgeHub/components/config/knowledge-config-resource.component.js.map +1 -1
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.d.ts +11 -1
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.js +24 -2
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipeline.engine.js.map +1 -1
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.d.ts +16 -2
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.d.ts.map +1 -1
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.js +87 -33
- package/dist/KnowledgeHub/components/feature-pipelines/feature-pipelines-resource.component.js.map +1 -1
- package/dist/LoginStudio/login-studio-inspector.component.d.ts +130 -0
- package/dist/LoginStudio/login-studio-inspector.component.d.ts.map +1 -0
- package/dist/LoginStudio/login-studio-inspector.component.js +781 -0
- package/dist/LoginStudio/login-studio-inspector.component.js.map +1 -0
- package/dist/LoginStudio/login-studio-resource.component.d.ts +153 -0
- package/dist/LoginStudio/login-studio-resource.component.d.ts.map +1 -0
- package/dist/LoginStudio/login-studio-resource.component.js +857 -0
- package/dist/LoginStudio/login-studio-resource.component.js.map +1 -0
- package/dist/PredictiveStudio/components/ps-production.component.d.ts +5 -1
- package/dist/PredictiveStudio/components/ps-production.component.d.ts.map +1 -1
- package/dist/PredictiveStudio/components/ps-production.component.js +64 -41
- package/dist/PredictiveStudio/components/ps-production.component.js.map +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.d.ts.map +1 -1
- package/dist/QueryBrowser/query-browser-resource.component.js +3 -2
- package/dist/QueryBrowser/query-browser-resource.component.js.map +1 -1
- package/dist/RealtimeRecordings/realtime-recordings-dashboard.component.js +2 -2
- package/dist/RealtimeRecordings/realtime-recordings-dashboard.component.js.map +1 -1
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.d.ts +1 -0
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.d.ts.map +1 -1
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.js +7 -0
- package/dist/TelephonyOperations/telephony-operations-dashboard.component.js.map +1 -1
- package/dist/Testing/components/testing-explorer.component.d.ts.map +1 -1
- package/dist/Testing/components/testing-explorer.component.js +7 -7
- package/dist/Testing/components/testing-explorer.component.js.map +1 -1
- package/dist/Workflows/components/workflow-runs-resource.component.js +4 -4
- package/dist/Workflows/components/workflow-runs-resource.component.js.map +1 -1
- package/dist/ai-dashboards.module.d.ts +21 -20
- package/dist/ai-dashboards.module.d.ts.map +1 -1
- package/dist/ai-dashboards.module.js +4 -1
- package/dist/ai-dashboards.module.js.map +1 -1
- package/dist/core-dashboards.module.d.ts +70 -62
- package/dist/core-dashboards.module.d.ts.map +1 -1
- package/dist/core-dashboards.module.js +33 -5
- package/dist/core-dashboards.module.js.map +1 -1
- package/dist/data-explorer-dashboards.module.d.ts +1 -1
- package/dist/data-explorer-dashboards.module.d.ts.map +1 -1
- package/dist/data-explorer-dashboards.module.js +3 -1
- package/dist/data-explorer-dashboards.module.js.map +1 -1
- package/dist/public-api.d.ts +3 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +4 -0
- package/dist/public-api.js.map +1 -1
- package/dist/shared/dashboard-library-changes.d.ts +23 -0
- package/dist/shared/dashboard-library-changes.d.ts.map +1 -0
- package/dist/shared/dashboard-library-changes.js +26 -0
- package/dist/shared/dashboard-library-changes.js.map +1 -0
- package/dist/shared/dashboard-owner-names.d.ts +17 -0
- package/dist/shared/dashboard-owner-names.d.ts.map +1 -0
- package/dist/shared/dashboard-owner-names.js +65 -0
- package/dist/shared/dashboard-owner-names.js.map +1 -0
- package/dist/shared/dashboard-recents.d.ts +34 -0
- package/dist/shared/dashboard-recents.d.ts.map +1 -0
- package/dist/shared/dashboard-recents.js +87 -0
- package/dist/shared/dashboard-recents.js.map +1 -0
- package/dist/shared/dashboards-app-install.d.ts +59 -0
- package/dist/shared/dashboards-app-install.d.ts.map +1 -0
- package/dist/shared/dashboards-app-install.js +97 -0
- package/dist/shared/dashboards-app-install.js.map +1 -0
- package/dist/shared/dashboards-app.helpers.d.ts +42 -0
- package/dist/shared/dashboards-app.helpers.d.ts.map +1 -0
- package/dist/shared/dashboards-app.helpers.js +143 -0
- package/dist/shared/dashboards-app.helpers.js.map +1 -0
- package/package.json +73 -69
|
@@ -0,0 +1,781 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { MJAlertComponent, MJButtonDirective, MJDropdownComponent, MJNumericInputComponent, MJSwitchComponent, MJViewToggleComponent, } from '@memberjunction/ng-ui-components';
|
|
5
|
+
import { LOGIN_CARD_ICONS, LOGIN_COLOR_LABEL, LOGIN_LAYOUTS, LOGIN_LIMITS, LOGIN_LOGO_SOURCE_LABEL, LOGIN_LOGO_SOURCES, LoginBlockProblems, LoginContrastWarnings, StartingLoginColor, } from '@memberjunction/theme-engine';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/forms";
|
|
8
|
+
const _forTrack0 = ($index, $item) => $item.Key;
|
|
9
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "p", 4);
|
|
11
|
+
i0.ɵɵtext(1);
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
i0.ɵɵadvance();
|
|
15
|
+
i0.ɵɵtextInterpolate(ctx);
|
|
16
|
+
} }
|
|
17
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
19
|
+
i0.ɵɵelementStart(0, "input", 7);
|
|
20
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r1); const k_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.SetColor(k_r2.Key, ctx_r2.ValueOf($event))); });
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
i0.ɵɵelementStart(1, "input", 8);
|
|
23
|
+
i0.ɵɵlistener("change", function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_3_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r1); const k_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.SetColor(k_r2.Key, ctx_r2.ValueOf($event))); });
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(2, "button", 9);
|
|
26
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_3_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const k_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.SetColor(k_r2.Key, null)); });
|
|
27
|
+
i0.ɵɵelement(3, "i", 10);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const c_r4 = ctx;
|
|
31
|
+
const k_r2 = i0.ɵɵnextContext().$implicit;
|
|
32
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
33
|
+
i0.ɵɵproperty("value", c_r4);
|
|
34
|
+
i0.ɵɵattribute("aria-label", ctx_r2.ColorLabel[k_r2.Key]);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("value", c_r4);
|
|
37
|
+
i0.ɵɵattribute("aria-label", ctx_r2.ColorLabel[k_r2.Key] + ", hex value");
|
|
38
|
+
i0.ɵɵadvance();
|
|
39
|
+
i0.ɵɵproperty("AriaLabel", "Reset " + ctx_r2.ColorLabel[k_r2.Key] + " to the default");
|
|
40
|
+
} }
|
|
41
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
43
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
44
|
+
i0.ɵɵtext(1, "Default");
|
|
45
|
+
i0.ɵɵelementEnd();
|
|
46
|
+
i0.ɵɵelementStart(2, "button", 12);
|
|
47
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_4_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r5); const k_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.StartColor(k_r2.Key)); });
|
|
48
|
+
i0.ɵɵtext(3, "Choose");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
} if (rf & 2) {
|
|
51
|
+
const k_r2 = i0.ɵɵnextContext().$implicit;
|
|
52
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
53
|
+
i0.ɵɵadvance(2);
|
|
54
|
+
i0.ɵɵproperty("AriaLabel", "Choose a custom " + ctx_r2.ColorLabel[k_r2.Key]);
|
|
55
|
+
} }
|
|
56
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "span");
|
|
58
|
+
i0.ɵɵtext(2);
|
|
59
|
+
i0.ɵɵelementEnd();
|
|
60
|
+
i0.ɵɵconditionalCreate(3, LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_3_Template, 4, 5)(4, LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Conditional_4_Template, 4, 1);
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
let tmp_14_0;
|
|
64
|
+
const k_r2 = ctx.$implicit;
|
|
65
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
66
|
+
i0.ɵɵadvance(2);
|
|
67
|
+
i0.ɵɵtextInterpolate(k_r2.Name);
|
|
68
|
+
i0.ɵɵadvance();
|
|
69
|
+
i0.ɵɵconditional((tmp_14_0 = ctx_r2.Design.Colors[k_r2.Key]) ? 3 : 4, tmp_14_0);
|
|
70
|
+
} }
|
|
71
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_Conditional_8_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵelementStart(0, "li");
|
|
73
|
+
i0.ɵɵtext(1);
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
} if (rf & 2) {
|
|
76
|
+
const w_r6 = ctx.$implicit;
|
|
77
|
+
i0.ɵɵadvance();
|
|
78
|
+
i0.ɵɵtextInterpolate(w_r6);
|
|
79
|
+
} }
|
|
80
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
+
i0.ɵɵelementStart(0, "mj-alert", 6)(1, "ul", 13);
|
|
82
|
+
i0.ɵɵrepeaterCreate(2, LoginStudioInspectorComponent_ng_template_0_Conditional_0_Conditional_8_For_3_Template, 2, 1, "li", null, i0.ɵɵrepeaterTrackByIndex);
|
|
83
|
+
i0.ɵɵelementEnd()();
|
|
84
|
+
} if (rf & 2) {
|
|
85
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
86
|
+
i0.ɵɵadvance(2);
|
|
87
|
+
i0.ɵɵrepeater(ctx_r2.ContrastWarnings);
|
|
88
|
+
} }
|
|
89
|
+
function LoginStudioInspectorComponent_ng_template_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
90
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "span", 3);
|
|
91
|
+
i0.ɵɵtext(2, "Colors");
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵconditionalCreate(3, LoginStudioInspectorComponent_ng_template_0_Conditional_0_Conditional_3_Template, 2, 1, "p", 4);
|
|
94
|
+
i0.ɵɵrepeaterCreate(4, LoginStudioInspectorComponent_ng_template_0_Conditional_0_For_5_Template, 5, 2, "div", 5, _forTrack0);
|
|
95
|
+
i0.ɵɵelementStart(6, "p", 4);
|
|
96
|
+
i0.ɵɵtext(7, "Default follows the theme. A color you choose stays the same in light and dark mode.");
|
|
97
|
+
i0.ɵɵelementEnd();
|
|
98
|
+
i0.ɵɵconditionalCreate(8, LoginStudioInspectorComponent_ng_template_0_Conditional_0_Conditional_8_Template, 4, 0, "mj-alert", 6);
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
} if (rf & 2) {
|
|
101
|
+
let tmp_3_0;
|
|
102
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
103
|
+
i0.ɵɵadvance(3);
|
|
104
|
+
i0.ɵɵconditional((tmp_3_0 = ctx_r2.ColorScope) ? 3 : -1, tmp_3_0);
|
|
105
|
+
i0.ɵɵadvance();
|
|
106
|
+
i0.ɵɵrepeater(ctx_r2.Colors);
|
|
107
|
+
i0.ɵɵadvance(4);
|
|
108
|
+
i0.ɵɵconditional(ctx_r2.ContrastWarnings.length ? 8 : -1);
|
|
109
|
+
} }
|
|
110
|
+
function LoginStudioInspectorComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
111
|
+
i0.ɵɵconditionalCreate(0, LoginStudioInspectorComponent_ng_template_0_Conditional_0_Template, 9, 2, "div", 2);
|
|
112
|
+
} if (rf & 2) {
|
|
113
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
114
|
+
i0.ɵɵconditional(ctx_r2.Colors.length ? 0 : -1);
|
|
115
|
+
} }
|
|
116
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_0_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
+
i0.ɵɵelementStart(0, "li");
|
|
118
|
+
i0.ɵɵtext(1);
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
} if (rf & 2) {
|
|
121
|
+
const p_r8 = ctx.$implicit;
|
|
122
|
+
i0.ɵɵadvance();
|
|
123
|
+
i0.ɵɵtextInterpolate(p_r8);
|
|
124
|
+
} }
|
|
125
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
126
|
+
i0.ɵɵelementStart(0, "mj-alert", 6)(1, "ul", 13);
|
|
127
|
+
i0.ɵɵrepeaterCreate(2, LoginStudioInspectorComponent_Conditional_3_Conditional_0_For_3_Template, 2, 1, "li", null, i0.ɵɵrepeaterTrackByIndex);
|
|
128
|
+
i0.ɵɵelementEnd()();
|
|
129
|
+
} if (rf & 2) {
|
|
130
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
131
|
+
i0.ɵɵadvance(2);
|
|
132
|
+
i0.ɵɵrepeater(ctx_r2.SelectedProblems);
|
|
133
|
+
} }
|
|
134
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
136
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "span", 27);
|
|
137
|
+
i0.ɵɵtext(2, "Which logo");
|
|
138
|
+
i0.ɵɵelementEnd();
|
|
139
|
+
i0.ɵɵelementStart(3, "mj-dropdown", 28);
|
|
140
|
+
i0.ɵɵlistener("ngModelChange", function LoginStudioInspectorComponent_Conditional_3_Conditional_1_Template_mj_dropdown_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Source", $event)); });
|
|
141
|
+
i0.ɵɵelementEnd()();
|
|
142
|
+
i0.ɵɵelementStart(4, "p", 4);
|
|
143
|
+
i0.ɵɵtext(5, "Logos come from the default theme in Theme Studio. A variant that is not set falls back to the light mark, and a theme with no logos shows the stock one.");
|
|
144
|
+
i0.ɵɵelementEnd();
|
|
145
|
+
} if (rf & 2) {
|
|
146
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
147
|
+
i0.ɵɵadvance(3);
|
|
148
|
+
i0.ɵɵproperty("Data", ctx_r2.LogoSourceOptions)("ValuePrimitive", true)("ngModel", ctx.Source);
|
|
149
|
+
} }
|
|
150
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
152
|
+
i0.ɵɵelementStart(0, "label", 14)(1, "span", 29);
|
|
153
|
+
i0.ɵɵtext(2, "Headline");
|
|
154
|
+
i0.ɵɵelementEnd();
|
|
155
|
+
i0.ɵɵelementStart(3, "input", 30);
|
|
156
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_2_Template_input_input_3_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Text", ctx_r2.ValueOf($event))); });
|
|
157
|
+
i0.ɵɵelementEnd()();
|
|
158
|
+
} if (rf & 2) {
|
|
159
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
160
|
+
i0.ɵɵadvance(3);
|
|
161
|
+
i0.ɵɵproperty("value", ctx.Text)("maxLength", ctx_r2.Limits.Headline);
|
|
162
|
+
} }
|
|
163
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
164
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
165
|
+
i0.ɵɵelementStart(0, "label", 14)(1, "span", 29);
|
|
166
|
+
i0.ɵɵtext(2, "Text");
|
|
167
|
+
i0.ɵɵelementEnd();
|
|
168
|
+
i0.ɵɵelementStart(3, "textarea", 31);
|
|
169
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_3_Template_textarea_input_3_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Text", ctx_r2.ValueOf($event))); });
|
|
170
|
+
i0.ɵɵelementEnd()();
|
|
171
|
+
i0.ɵɵelementStart(4, "div", 21)(5, "mj-switch", 32);
|
|
172
|
+
i0.ɵɵlistener("ngModelChange", function LoginStudioInspectorComponent_Conditional_3_Conditional_3_Template_mj_switch_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Muted", $event)); });
|
|
173
|
+
i0.ɵɵelementEnd();
|
|
174
|
+
i0.ɵɵtext(6, " Softer color");
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
} if (rf & 2) {
|
|
177
|
+
const b_r12 = ctx;
|
|
178
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
179
|
+
i0.ɵɵadvance(3);
|
|
180
|
+
i0.ɵɵproperty("value", b_r12.Text)("maxLength", ctx_r2.Limits.Text);
|
|
181
|
+
i0.ɵɵadvance(2);
|
|
182
|
+
i0.ɵɵproperty("ngModel", b_r12.Muted);
|
|
183
|
+
} }
|
|
184
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
185
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
186
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "span", 33);
|
|
187
|
+
i0.ɵɵtext(2, "Icon");
|
|
188
|
+
i0.ɵɵelementEnd();
|
|
189
|
+
i0.ɵɵelementStart(3, "mj-dropdown", 34);
|
|
190
|
+
i0.ɵɵlistener("ngModelChange", function LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template_mj_dropdown_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlockOptional("Icon", $event)); });
|
|
191
|
+
i0.ɵɵelementEnd()();
|
|
192
|
+
i0.ɵɵelementStart(4, "label", 14)(5, "span", 29);
|
|
193
|
+
i0.ɵɵtext(6, "Title");
|
|
194
|
+
i0.ɵɵelementEnd();
|
|
195
|
+
i0.ɵɵelementStart(7, "input", 30);
|
|
196
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template_input_input_7_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Title", ctx_r2.ValueOf($event))); });
|
|
197
|
+
i0.ɵɵelementEnd()();
|
|
198
|
+
i0.ɵɵelementStart(8, "label", 14)(9, "span", 29);
|
|
199
|
+
i0.ɵɵtext(10, "Note ");
|
|
200
|
+
i0.ɵɵelementStart(11, "span", 11);
|
|
201
|
+
i0.ɵɵtext(12, "optional");
|
|
202
|
+
i0.ɵɵelementEnd()();
|
|
203
|
+
i0.ɵɵelementStart(13, "textarea", 35);
|
|
204
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template_textarea_input_13_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlockOptional("Text", ctx_r2.ValueOf($event))); });
|
|
205
|
+
i0.ɵɵelementEnd()();
|
|
206
|
+
i0.ɵɵelementStart(14, "label", 14)(15, "span", 29);
|
|
207
|
+
i0.ɵɵtext(16, "Link ");
|
|
208
|
+
i0.ɵɵelementStart(17, "span", 11);
|
|
209
|
+
i0.ɵɵtext(18, "optional");
|
|
210
|
+
i0.ɵɵelementEnd()();
|
|
211
|
+
i0.ɵɵelementStart(19, "input", 36);
|
|
212
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template_input_input_19_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlockOptional("Href", ctx_r2.ValueOf($event).trim())); });
|
|
213
|
+
i0.ɵɵelementEnd()();
|
|
214
|
+
i0.ɵɵelementStart(20, "div", 21)(21, "mj-switch", 37);
|
|
215
|
+
i0.ɵɵlistener("ngModelChange", function LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template_mj_switch_ngModelChange_21_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("NewTab", $event)); });
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
217
|
+
i0.ɵɵtext(22, " Open in a new tab (keeps the sign-in page open)");
|
|
218
|
+
i0.ɵɵelementEnd();
|
|
219
|
+
} if (rf & 2) {
|
|
220
|
+
const b_r14 = ctx;
|
|
221
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
222
|
+
i0.ɵɵadvance(3);
|
|
223
|
+
i0.ɵɵproperty("Data", ctx_r2.IconOptions)("ValuePrimitive", true)("ngModel", b_r14.Icon ?? "");
|
|
224
|
+
i0.ɵɵadvance(4);
|
|
225
|
+
i0.ɵɵproperty("value", b_r14.Title)("maxLength", ctx_r2.Limits.CardTitle);
|
|
226
|
+
i0.ɵɵadvance(6);
|
|
227
|
+
i0.ɵɵproperty("value", b_r14.Text ?? "")("maxLength", ctx_r2.Limits.CardText);
|
|
228
|
+
i0.ɵɵadvance(6);
|
|
229
|
+
i0.ɵɵproperty("value", b_r14.Href ?? "");
|
|
230
|
+
i0.ɵɵadvance(2);
|
|
231
|
+
i0.ɵɵproperty("ngModel", b_r14.NewTab);
|
|
232
|
+
} }
|
|
233
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_5_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
234
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
235
|
+
i0.ɵɵelementStart(0, "div", 38)(1, "input", 41);
|
|
236
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_5_For_1_Template_input_input_1_listener($event) { const ɵ$index_132_r17 = i0.ɵɵrestoreView(_r16).$index; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.SetLink(ɵ$index_132_r17, "Label", ctx_r2.ValueOf($event))); });
|
|
237
|
+
i0.ɵɵelementEnd();
|
|
238
|
+
i0.ɵɵelementStart(2, "input", 42);
|
|
239
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_5_For_1_Template_input_input_2_listener($event) { const ɵ$index_132_r17 = i0.ɵɵrestoreView(_r16).$index; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.SetLink(ɵ$index_132_r17, "Href", ctx_r2.ValueOf($event).trim())); });
|
|
240
|
+
i0.ɵɵelementEnd();
|
|
241
|
+
i0.ɵɵelementStart(3, "button", 43);
|
|
242
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_3_Conditional_5_For_1_Template_button_click_3_listener() { const ɵ$index_132_r17 = i0.ɵɵrestoreView(_r16).$index; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.RemoveLink(ɵ$index_132_r17)); });
|
|
243
|
+
i0.ɵɵelement(4, "i", 26);
|
|
244
|
+
i0.ɵɵelementEnd()();
|
|
245
|
+
} if (rf & 2) {
|
|
246
|
+
const l_r18 = ctx.$implicit;
|
|
247
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
248
|
+
i0.ɵɵadvance();
|
|
249
|
+
i0.ɵɵproperty("value", l_r18.Label)("maxLength", ctx_r2.Limits.LinkLabel);
|
|
250
|
+
i0.ɵɵadvance();
|
|
251
|
+
i0.ɵɵproperty("value", l_r18.Href);
|
|
252
|
+
} }
|
|
253
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
254
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
255
|
+
i0.ɵɵrepeaterCreate(0, LoginStudioInspectorComponent_Conditional_3_Conditional_5_For_1_Template, 5, 3, "div", 38, i0.ɵɵrepeaterTrackByIndex);
|
|
256
|
+
i0.ɵɵelementStart(2, "button", 39);
|
|
257
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_3_Conditional_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r15); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.AddLink()); });
|
|
258
|
+
i0.ɵɵelement(3, "i", 40);
|
|
259
|
+
i0.ɵɵtext(4, " Add link");
|
|
260
|
+
i0.ɵɵelementEnd();
|
|
261
|
+
} if (rf & 2) {
|
|
262
|
+
const b_r19 = ctx;
|
|
263
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
264
|
+
i0.ɵɵrepeater(b_r19.Links);
|
|
265
|
+
i0.ɵɵadvance(2);
|
|
266
|
+
i0.ɵɵproperty("disabled", b_r19.Links.length >= ctx_r2.Limits.Links);
|
|
267
|
+
} }
|
|
268
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
269
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
270
|
+
i0.ɵɵelementStart(0, "label", 14)(1, "span", 29);
|
|
271
|
+
i0.ɵɵtext(2, "Image address");
|
|
272
|
+
i0.ɵɵelementEnd();
|
|
273
|
+
i0.ɵɵelementStart(3, "input", 44);
|
|
274
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_6_Template_input_input_3_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("URL", ctx_r2.ValueOf($event).trim())); });
|
|
275
|
+
i0.ɵɵelementEnd()();
|
|
276
|
+
i0.ɵɵelementStart(4, "label", 14)(5, "span", 29);
|
|
277
|
+
i0.ɵɵtext(6, "Description for screen readers");
|
|
278
|
+
i0.ɵɵelementEnd();
|
|
279
|
+
i0.ɵɵelementStart(7, "input", 30);
|
|
280
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_3_Conditional_6_Template_input_input_7_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Alt", ctx_r2.ValueOf($event))); });
|
|
281
|
+
i0.ɵɵelementEnd()();
|
|
282
|
+
} if (rf & 2) {
|
|
283
|
+
const b_r21 = ctx;
|
|
284
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
285
|
+
i0.ɵɵadvance(3);
|
|
286
|
+
i0.ɵɵproperty("value", b_r21.URL);
|
|
287
|
+
i0.ɵɵadvance(4);
|
|
288
|
+
i0.ɵɵproperty("value", b_r21.Alt)("maxLength", ctx_r2.Limits.Alt);
|
|
289
|
+
} }
|
|
290
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
291
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
292
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "span", 45);
|
|
293
|
+
i0.ɵɵtext(2, "Size");
|
|
294
|
+
i0.ɵɵelementEnd();
|
|
295
|
+
i0.ɵɵelementStart(3, "mj-view-toggle", 18);
|
|
296
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_3_Conditional_7_Template_mj_view_toggle_KeyChange_3_listener($event) { i0.ɵɵrestoreView(_r22); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBlock("Size", $event)); });
|
|
297
|
+
i0.ɵɵelementEnd()();
|
|
298
|
+
} if (rf & 2) {
|
|
299
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
300
|
+
i0.ɵɵadvance(3);
|
|
301
|
+
i0.ɵɵproperty("Options", ctx_r2.SizeOptions)("ActiveKey", ctx);
|
|
302
|
+
} }
|
|
303
|
+
function LoginStudioInspectorComponent_Conditional_3_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
304
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
305
|
+
i0.ɵɵelementStart(0, "div", 20)(1, "span", 46);
|
|
306
|
+
i0.ɵɵtext(2, "Corners ");
|
|
307
|
+
i0.ɵɵelementStart(3, "span", 11);
|
|
308
|
+
i0.ɵɵtext(4, "every card");
|
|
309
|
+
i0.ɵɵelementEnd()();
|
|
310
|
+
i0.ɵɵelementStart(5, "mj-view-toggle", 18);
|
|
311
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_3_Conditional_15_Template_mj_view_toggle_KeyChange_5_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetPage("CardRadius", $event)); });
|
|
312
|
+
i0.ɵɵelementEnd()();
|
|
313
|
+
} if (rf & 2) {
|
|
314
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
315
|
+
i0.ɵɵadvance(5);
|
|
316
|
+
i0.ɵɵproperty("Options", ctx_r2.RadiusOptions)("ActiveKey", ctx_r2.Design.CardRadius);
|
|
317
|
+
} }
|
|
318
|
+
function LoginStudioInspectorComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
319
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
320
|
+
i0.ɵɵconditionalCreate(0, LoginStudioInspectorComponent_Conditional_3_Conditional_0_Template, 4, 0, "mj-alert", 6);
|
|
321
|
+
i0.ɵɵconditionalCreate(1, LoginStudioInspectorComponent_Conditional_3_Conditional_1_Template, 6, 3);
|
|
322
|
+
i0.ɵɵconditionalCreate(2, LoginStudioInspectorComponent_Conditional_3_Conditional_2_Template, 4, 2, "label", 14);
|
|
323
|
+
i0.ɵɵconditionalCreate(3, LoginStudioInspectorComponent_Conditional_3_Conditional_3_Template, 7, 3);
|
|
324
|
+
i0.ɵɵconditionalCreate(4, LoginStudioInspectorComponent_Conditional_3_Conditional_4_Template, 23, 9);
|
|
325
|
+
i0.ɵɵconditionalCreate(5, LoginStudioInspectorComponent_Conditional_3_Conditional_5_Template, 5, 1);
|
|
326
|
+
i0.ɵɵconditionalCreate(6, LoginStudioInspectorComponent_Conditional_3_Conditional_6_Template, 8, 3);
|
|
327
|
+
i0.ɵɵconditionalCreate(7, LoginStudioInspectorComponent_Conditional_3_Conditional_7_Template, 4, 2, "div", 15);
|
|
328
|
+
i0.ɵɵelementStart(8, "div", 16)(9, "span", 17);
|
|
329
|
+
i0.ɵɵtext(10, "Width");
|
|
330
|
+
i0.ɵɵelementEnd();
|
|
331
|
+
i0.ɵɵelementStart(11, "mj-view-toggle", 18);
|
|
332
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_3_Template_mj_view_toggle_KeyChange_11_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetBlock("Width", $event)); });
|
|
333
|
+
i0.ɵɵelementEnd()();
|
|
334
|
+
i0.ɵɵelementStart(12, "p", 4);
|
|
335
|
+
i0.ɵɵtext(13, "Half or Third puts two or three blocks side by side. On a phone each block takes its own row.");
|
|
336
|
+
i0.ɵɵelementEnd();
|
|
337
|
+
i0.ɵɵelementContainer(14, 19);
|
|
338
|
+
i0.ɵɵconditionalCreate(15, LoginStudioInspectorComponent_Conditional_3_Conditional_15_Template, 6, 2, "div", 20);
|
|
339
|
+
i0.ɵɵelementStart(16, "div", 21)(17, "mj-switch", 22);
|
|
340
|
+
i0.ɵɵlistener("ngModelChange", function LoginStudioInspectorComponent_Conditional_3_Template_mj_switch_ngModelChange_17_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetBlock("HideWhenStacked", $event)); });
|
|
341
|
+
i0.ɵɵelementEnd();
|
|
342
|
+
i0.ɵɵtext(18, " Hide on small screens");
|
|
343
|
+
i0.ɵɵelementEnd();
|
|
344
|
+
i0.ɵɵelementStart(19, "p", 4);
|
|
345
|
+
i0.ɵɵtext(20, "Tablets and phones show a short banner above the sign-in options, so keep it to the essentials.");
|
|
346
|
+
i0.ɵɵelementEnd();
|
|
347
|
+
i0.ɵɵelementStart(21, "div", 23)(22, "button", 24);
|
|
348
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_3_Template_button_click_22_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.Run("duplicate")); });
|
|
349
|
+
i0.ɵɵelement(23, "i", 25);
|
|
350
|
+
i0.ɵɵtext(24, " Duplicate");
|
|
351
|
+
i0.ɵɵelementEnd();
|
|
352
|
+
i0.ɵɵelementStart(25, "button", 24);
|
|
353
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_3_Template_button_click_25_listener() { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.Run("delete")); });
|
|
354
|
+
i0.ɵɵelement(26, "i", 26);
|
|
355
|
+
i0.ɵɵtext(27, " Delete");
|
|
356
|
+
i0.ɵɵelementEnd()();
|
|
357
|
+
} if (rf & 2) {
|
|
358
|
+
let tmp_4_0;
|
|
359
|
+
let tmp_5_0;
|
|
360
|
+
let tmp_6_0;
|
|
361
|
+
let tmp_7_0;
|
|
362
|
+
let tmp_8_0;
|
|
363
|
+
let tmp_9_0;
|
|
364
|
+
let tmp_10_0;
|
|
365
|
+
const sel_r24 = ctx;
|
|
366
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
367
|
+
const colors_r25 = i0.ɵɵreference(1);
|
|
368
|
+
i0.ɵɵconditional(ctx_r2.SelectedProblems.length ? 0 : -1);
|
|
369
|
+
i0.ɵɵadvance();
|
|
370
|
+
i0.ɵɵconditional((tmp_4_0 = ctx_r2.AsLogo) ? 1 : -1, tmp_4_0);
|
|
371
|
+
i0.ɵɵadvance();
|
|
372
|
+
i0.ɵɵconditional((tmp_5_0 = ctx_r2.AsHeadline) ? 2 : -1, tmp_5_0);
|
|
373
|
+
i0.ɵɵadvance();
|
|
374
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r2.AsText) ? 3 : -1, tmp_6_0);
|
|
375
|
+
i0.ɵɵadvance();
|
|
376
|
+
i0.ɵɵconditional((tmp_7_0 = ctx_r2.AsCard) ? 4 : -1, tmp_7_0);
|
|
377
|
+
i0.ɵɵadvance();
|
|
378
|
+
i0.ɵɵconditional((tmp_8_0 = ctx_r2.AsLinks) ? 5 : -1, tmp_8_0);
|
|
379
|
+
i0.ɵɵadvance();
|
|
380
|
+
i0.ɵɵconditional((tmp_9_0 = ctx_r2.AsImage) ? 6 : -1, tmp_9_0);
|
|
381
|
+
i0.ɵɵadvance();
|
|
382
|
+
i0.ɵɵconditional((tmp_10_0 = ctx_r2.SelectedSize) ? 7 : -1, tmp_10_0);
|
|
383
|
+
i0.ɵɵadvance(4);
|
|
384
|
+
i0.ɵɵproperty("Options", ctx_r2.WidthOptions)("ActiveKey", sel_r24.Width);
|
|
385
|
+
i0.ɵɵadvance(3);
|
|
386
|
+
i0.ɵɵproperty("ngTemplateOutlet", colors_r25);
|
|
387
|
+
i0.ɵɵadvance();
|
|
388
|
+
i0.ɵɵconditional(ctx_r2.AsCard ? 15 : -1);
|
|
389
|
+
i0.ɵɵadvance(2);
|
|
390
|
+
i0.ɵɵproperty("ngModel", sel_r24.HideWhenStacked);
|
|
391
|
+
} }
|
|
392
|
+
function LoginStudioInspectorComponent_Conditional_4_Case_4_Template(rf, ctx) { if (rf & 1) {
|
|
393
|
+
i0.ɵɵelementStart(0, "p", 4);
|
|
394
|
+
i0.ɵɵtext(1, "The default theme's brand gradient, from Theme Studio.");
|
|
395
|
+
i0.ɵɵelementEnd();
|
|
396
|
+
} }
|
|
397
|
+
function LoginStudioInspectorComponent_Conditional_4_Case_5_Template(rf, ctx) { if (rf & 1) {
|
|
398
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
399
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "span", 29);
|
|
400
|
+
i0.ɵɵtext(2, "Color");
|
|
401
|
+
i0.ɵɵelementEnd();
|
|
402
|
+
i0.ɵɵelementStart(3, "span", 54)(4, "input", 55);
|
|
403
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_4_Case_5_Template_input_input_4_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Color", ctx_r2.ValueOf($event))); });
|
|
404
|
+
i0.ɵɵelementEnd();
|
|
405
|
+
i0.ɵɵelementStart(5, "input", 56);
|
|
406
|
+
i0.ɵɵlistener("change", function LoginStudioInspectorComponent_Conditional_4_Case_5_Template_input_change_5_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Color", ctx_r2.ValueOf($event))); });
|
|
407
|
+
i0.ɵɵelementEnd()()();
|
|
408
|
+
} if (rf & 2) {
|
|
409
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
410
|
+
i0.ɵɵadvance(4);
|
|
411
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.Color ?? "");
|
|
412
|
+
i0.ɵɵadvance();
|
|
413
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.Color ?? "");
|
|
414
|
+
} }
|
|
415
|
+
function LoginStudioInspectorComponent_Conditional_4_Case_6_Template(rf, ctx) { if (rf & 1) {
|
|
416
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
417
|
+
i0.ɵɵelementStart(0, "div", 14)(1, "span", 29);
|
|
418
|
+
i0.ɵɵtext(2, "From");
|
|
419
|
+
i0.ɵɵelementEnd();
|
|
420
|
+
i0.ɵɵelementStart(3, "span", 54)(4, "input", 57);
|
|
421
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_4_Case_6_Template_input_input_4_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Color", ctx_r2.ValueOf($event))); });
|
|
422
|
+
i0.ɵɵelementEnd();
|
|
423
|
+
i0.ɵɵelementStart(5, "input", 58);
|
|
424
|
+
i0.ɵɵlistener("change", function LoginStudioInspectorComponent_Conditional_4_Case_6_Template_input_change_5_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Color", ctx_r2.ValueOf($event))); });
|
|
425
|
+
i0.ɵɵelementEnd()()();
|
|
426
|
+
i0.ɵɵelementStart(6, "div", 14)(7, "span", 29);
|
|
427
|
+
i0.ɵɵtext(8, "To");
|
|
428
|
+
i0.ɵɵelementEnd();
|
|
429
|
+
i0.ɵɵelementStart(9, "span", 54)(10, "input", 59);
|
|
430
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_4_Case_6_Template_input_input_10_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Color2", ctx_r2.ValueOf($event))); });
|
|
431
|
+
i0.ɵɵelementEnd();
|
|
432
|
+
i0.ɵɵelementStart(11, "input", 60);
|
|
433
|
+
i0.ɵɵlistener("change", function LoginStudioInspectorComponent_Conditional_4_Case_6_Template_input_change_11_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Color2", ctx_r2.ValueOf($event))); });
|
|
434
|
+
i0.ɵɵelementEnd()()();
|
|
435
|
+
} if (rf & 2) {
|
|
436
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
437
|
+
i0.ɵɵadvance(4);
|
|
438
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.Color ?? "");
|
|
439
|
+
i0.ɵɵadvance();
|
|
440
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.Color ?? "");
|
|
441
|
+
i0.ɵɵadvance(5);
|
|
442
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.Color2 ?? "");
|
|
443
|
+
i0.ɵɵadvance();
|
|
444
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.Color2 ?? "");
|
|
445
|
+
} }
|
|
446
|
+
function LoginStudioInspectorComponent_Conditional_4_Case_7_Template(rf, ctx) { if (rf & 1) {
|
|
447
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
448
|
+
i0.ɵɵelementStart(0, "label", 14)(1, "span", 29);
|
|
449
|
+
i0.ɵɵtext(2, "Image address");
|
|
450
|
+
i0.ɵɵelementEnd();
|
|
451
|
+
i0.ɵɵelementStart(3, "input", 61);
|
|
452
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_4_Case_7_Template_input_input_3_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("ImageURL", ctx_r2.ValueOf($event))); });
|
|
453
|
+
i0.ɵɵelementEnd()();
|
|
454
|
+
i0.ɵɵelementStart(4, "div", 14)(5, "span", 62);
|
|
455
|
+
i0.ɵɵtext(6, "Darken the image (%)");
|
|
456
|
+
i0.ɵɵelementEnd();
|
|
457
|
+
i0.ɵɵelementStart(7, "mj-numeric-input", 63);
|
|
458
|
+
i0.ɵɵlistener("ngModelChange", function LoginStudioInspectorComponent_Conditional_4_Case_7_Template_mj_numeric_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetBackground("Overlay", $event)); });
|
|
459
|
+
i0.ɵɵelementEnd()();
|
|
460
|
+
} if (rf & 2) {
|
|
461
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
462
|
+
i0.ɵɵadvance(3);
|
|
463
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Background.ImageURL ?? "");
|
|
464
|
+
i0.ɵɵadvance(4);
|
|
465
|
+
i0.ɵɵproperty("Min", 0)("Max", ctx_r2.Limits.OverlayMax)("Step", 5)("Decimals", 0)("ngModel", ctx_r2.Design.Background.Overlay);
|
|
466
|
+
} }
|
|
467
|
+
function LoginStudioInspectorComponent_Conditional_4_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
468
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
469
|
+
i0.ɵɵelementStart(0, "div", 53)(1, "span", 64);
|
|
470
|
+
i0.ɵɵtext(2, "Width");
|
|
471
|
+
i0.ɵɵelementEnd();
|
|
472
|
+
i0.ɵɵelementStart(3, "mj-view-toggle", 18);
|
|
473
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_4_Conditional_17_Template_mj_view_toggle_KeyChange_3_listener($event) { i0.ɵɵrestoreView(_r30); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetPage("BannerShare", $event)); });
|
|
474
|
+
i0.ɵɵelementEnd()();
|
|
475
|
+
} if (rf & 2) {
|
|
476
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
477
|
+
i0.ɵɵadvance(3);
|
|
478
|
+
i0.ɵɵproperty("Options", ctx_r2.BannerShareOptions)("ActiveKey", ctx_r2.Design.BannerShare);
|
|
479
|
+
} }
|
|
480
|
+
function LoginStudioInspectorComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
481
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
482
|
+
i0.ɵɵelementStart(0, "div", 47)(1, "span", 48);
|
|
483
|
+
i0.ɵɵtext(2, "Background");
|
|
484
|
+
i0.ɵɵelementEnd();
|
|
485
|
+
i0.ɵɵelementStart(3, "mj-view-toggle", 18);
|
|
486
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_4_Template_mj_view_toggle_KeyChange_3_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetBackground("Kind", $event)); });
|
|
487
|
+
i0.ɵɵelementEnd()();
|
|
488
|
+
i0.ɵɵconditionalCreate(4, LoginStudioInspectorComponent_Conditional_4_Case_4_Template, 2, 0, "p", 4)(5, LoginStudioInspectorComponent_Conditional_4_Case_5_Template, 6, 2, "div", 14)(6, LoginStudioInspectorComponent_Conditional_4_Case_6_Template, 12, 4)(7, LoginStudioInspectorComponent_Conditional_4_Case_7_Template, 8, 6);
|
|
489
|
+
i0.ɵɵelementStart(8, "div", 49)(9, "span", 50);
|
|
490
|
+
i0.ɵɵtext(10, "Light or dark text");
|
|
491
|
+
i0.ɵɵelementEnd();
|
|
492
|
+
i0.ɵɵelementStart(11, "mj-view-toggle", 18);
|
|
493
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_4_Template_mj_view_toggle_KeyChange_11_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetPage("Tone", $event)); });
|
|
494
|
+
i0.ɵɵelementEnd()();
|
|
495
|
+
i0.ɵɵelementContainer(12, 19);
|
|
496
|
+
i0.ɵɵelementStart(13, "div", 51)(14, "span", 52);
|
|
497
|
+
i0.ɵɵtext(15, "Alignment");
|
|
498
|
+
i0.ɵɵelementEnd();
|
|
499
|
+
i0.ɵɵelementStart(16, "mj-view-toggle", 18);
|
|
500
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_4_Template_mj_view_toggle_KeyChange_16_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetPage("Alignment", $event)); });
|
|
501
|
+
i0.ɵɵelementEnd()();
|
|
502
|
+
i0.ɵɵconditionalCreate(17, LoginStudioInspectorComponent_Conditional_4_Conditional_17_Template, 4, 2, "div", 53);
|
|
503
|
+
i0.ɵɵelementStart(18, "p", 4);
|
|
504
|
+
i0.ɵɵtext(19, "To change the color of the cards here, select one.");
|
|
505
|
+
i0.ɵɵelementEnd();
|
|
506
|
+
} if (rf & 2) {
|
|
507
|
+
let tmp_4_0;
|
|
508
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
509
|
+
const colors_r25 = i0.ɵɵreference(1);
|
|
510
|
+
i0.ɵɵadvance(3);
|
|
511
|
+
i0.ɵɵproperty("Options", ctx_r2.BackgroundOptions)("ActiveKey", ctx_r2.Design.Background.Kind);
|
|
512
|
+
i0.ɵɵadvance();
|
|
513
|
+
i0.ɵɵconditional((tmp_4_0 = ctx_r2.Design.Background.Kind) === "brand" ? 4 : tmp_4_0 === "color" ? 5 : tmp_4_0 === "gradient" ? 6 : tmp_4_0 === "image" ? 7 : -1);
|
|
514
|
+
i0.ɵɵadvance(7);
|
|
515
|
+
i0.ɵɵproperty("Options", ctx_r2.ToneOptions)("ActiveKey", ctx_r2.Design.Tone);
|
|
516
|
+
i0.ɵɵadvance();
|
|
517
|
+
i0.ɵɵproperty("ngTemplateOutlet", colors_r25);
|
|
518
|
+
i0.ɵɵadvance(4);
|
|
519
|
+
i0.ɵɵproperty("Options", ctx_r2.AlignmentOptions)("ActiveKey", ctx_r2.Design.Alignment);
|
|
520
|
+
i0.ɵɵadvance();
|
|
521
|
+
i0.ɵɵconditional(ctx_r2.Design.Layout !== "centered" ? 17 : -1);
|
|
522
|
+
} }
|
|
523
|
+
function LoginStudioInspectorComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
524
|
+
const _r31 = i0.ɵɵgetCurrentView();
|
|
525
|
+
i0.ɵɵelementContainer(0, 19);
|
|
526
|
+
i0.ɵɵelementStart(1, "p", 4);
|
|
527
|
+
i0.ɵɵtext(2, "The sign-in button uses the default theme's brand color.");
|
|
528
|
+
i0.ɵɵelementEnd();
|
|
529
|
+
i0.ɵɵelementStart(3, "label", 14)(4, "span", 29);
|
|
530
|
+
i0.ɵɵtext(5, "Heading above the sign-in options ");
|
|
531
|
+
i0.ɵɵelementStart(6, "span", 11);
|
|
532
|
+
i0.ɵɵtext(7, "optional");
|
|
533
|
+
i0.ɵɵelementEnd()();
|
|
534
|
+
i0.ɵɵelementStart(8, "input", 65);
|
|
535
|
+
i0.ɵɵlistener("input", function LoginStudioInspectorComponent_Conditional_5_Template_input_input_8_listener($event) { i0.ɵɵrestoreView(_r31); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetHeading(ctx_r2.ValueOf($event))); });
|
|
536
|
+
i0.ɵɵelementEnd()();
|
|
537
|
+
i0.ɵɵelementStart(9, "div", 66)(10, "span", 67);
|
|
538
|
+
i0.ɵɵtext(11, "Width");
|
|
539
|
+
i0.ɵɵelementEnd();
|
|
540
|
+
i0.ɵɵelementStart(12, "mj-view-toggle", 18);
|
|
541
|
+
i0.ɵɵlistener("KeyChange", function LoginStudioInspectorComponent_Conditional_5_Template_mj_view_toggle_KeyChange_12_listener($event) { i0.ɵɵrestoreView(_r31); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SetPage("PanelWidth", $event)); });
|
|
542
|
+
i0.ɵɵelementEnd()();
|
|
543
|
+
i0.ɵɵelementStart(13, "p", 4);
|
|
544
|
+
i0.ɵɵtext(14, "To change the color of the cards here, select one.");
|
|
545
|
+
i0.ɵɵelementEnd();
|
|
546
|
+
} if (rf & 2) {
|
|
547
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
548
|
+
const colors_r25 = i0.ɵɵreference(1);
|
|
549
|
+
i0.ɵɵproperty("ngTemplateOutlet", colors_r25);
|
|
550
|
+
i0.ɵɵadvance(8);
|
|
551
|
+
i0.ɵɵproperty("value", ctx_r2.Design.Heading ?? "")("maxLength", ctx_r2.Limits.Heading);
|
|
552
|
+
i0.ɵɵadvance(4);
|
|
553
|
+
i0.ɵɵproperty("Options", ctx_r2.PanelWidthOptions)("ActiveKey", ctx_r2.Design.PanelWidth);
|
|
554
|
+
} }
|
|
555
|
+
function LoginStudioInspectorComponent_Conditional_6_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
556
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
557
|
+
i0.ɵɵelementStart(0, "button", 75);
|
|
558
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_6_For_5_Template_button_click_0_listener() { const l_r34 = i0.ɵɵrestoreView(_r33).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.SetPage("Layout", l_r34)); });
|
|
559
|
+
i0.ɵɵelementStart(1, "span", 76);
|
|
560
|
+
i0.ɵɵelement(2, "span")(3, "span");
|
|
561
|
+
i0.ɵɵelementEnd();
|
|
562
|
+
i0.ɵɵtext(4);
|
|
563
|
+
i0.ɵɵelementEnd();
|
|
564
|
+
} if (rf & 2) {
|
|
565
|
+
const l_r34 = ctx.$implicit;
|
|
566
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
567
|
+
i0.ɵɵproperty("Toggleable", true)("Selected", ctx_r2.Design.Layout === l_r34);
|
|
568
|
+
i0.ɵɵadvance();
|
|
569
|
+
i0.ɵɵattribute("data-layout", l_r34);
|
|
570
|
+
i0.ɵɵadvance(3);
|
|
571
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.LayoutLabel[l_r34], " ");
|
|
572
|
+
} }
|
|
573
|
+
function LoginStudioInspectorComponent_Conditional_6_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
574
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
575
|
+
i0.ɵɵelementStart(0, "div", 74)(1, "button", 39);
|
|
576
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_6_Conditional_18_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r35); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.StockPageRequested.emit()); });
|
|
577
|
+
i0.ɵɵelement(2, "i", 77);
|
|
578
|
+
i0.ɵɵtext(3, " Use the stock sign-in page ");
|
|
579
|
+
i0.ɵɵelementEnd()();
|
|
580
|
+
} if (rf & 2) {
|
|
581
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
582
|
+
i0.ɵɵadvance();
|
|
583
|
+
i0.ɵɵproperty("disabled", ctx_r2.Saving);
|
|
584
|
+
} }
|
|
585
|
+
function LoginStudioInspectorComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
586
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
587
|
+
i0.ɵɵelementStart(0, "div", 68)(1, "span", 29);
|
|
588
|
+
i0.ɵɵtext(2, "Layout");
|
|
589
|
+
i0.ɵɵelementEnd();
|
|
590
|
+
i0.ɵɵelementStart(3, "div", 69);
|
|
591
|
+
i0.ɵɵrepeaterCreate(4, LoginStudioInspectorComponent_Conditional_6_For_5_Template, 5, 4, "button", 70, i0.ɵɵrepeaterTrackByIdentity);
|
|
592
|
+
i0.ɵɵelementEnd()();
|
|
593
|
+
i0.ɵɵelementStart(6, "div", 71)(7, "span", 29);
|
|
594
|
+
i0.ɵɵtext(8, "Change a part of the page");
|
|
595
|
+
i0.ɵɵelementEnd();
|
|
596
|
+
i0.ɵɵelementStart(9, "div", 23)(10, "button", 24);
|
|
597
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_6_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r32); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SurfaceSelectRequested.emit("Banner")); });
|
|
598
|
+
i0.ɵɵelement(11, "i", 72);
|
|
599
|
+
i0.ɵɵtext(12, " Story panel");
|
|
600
|
+
i0.ɵɵelementEnd();
|
|
601
|
+
i0.ɵɵelementStart(13, "button", 24);
|
|
602
|
+
i0.ɵɵlistener("click", function LoginStudioInspectorComponent_Conditional_6_Template_button_click_13_listener() { i0.ɵɵrestoreView(_r32); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.SurfaceSelectRequested.emit("Panel")); });
|
|
603
|
+
i0.ɵɵelement(14, "i", 73);
|
|
604
|
+
i0.ɵɵtext(15, " Sign-in column");
|
|
605
|
+
i0.ɵɵelementEnd()()();
|
|
606
|
+
i0.ɵɵelementStart(16, "p", 4);
|
|
607
|
+
i0.ɵɵtext(17, "Or click it in the preview (the story panel, the sign-in column or any block) to see its settings and colors. Alt+\u2191/\u2193 moves the focused block; Delete removes it.");
|
|
608
|
+
i0.ɵɵelementEnd();
|
|
609
|
+
i0.ɵɵconditionalCreate(18, LoginStudioInspectorComponent_Conditional_6_Conditional_18_Template, 4, 1, "div", 74);
|
|
610
|
+
} if (rf & 2) {
|
|
611
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
612
|
+
i0.ɵɵadvance(4);
|
|
613
|
+
i0.ɵɵrepeater(ctx_r2.Layouts);
|
|
614
|
+
i0.ɵɵadvance(14);
|
|
615
|
+
i0.ɵɵconditional(ctx_r2.CanReset ? 18 : -1);
|
|
616
|
+
} }
|
|
617
|
+
const toggle = (labels) => Object.entries(labels).map(([key, label]) => ({ key, label }));
|
|
618
|
+
/**
|
|
619
|
+
* Login Studio's settings column: the selected block's fields, the selected surface's, or the page's.
|
|
620
|
+
* A color appears with the thing it paints. Owns no state: every change goes out as a {@link LoginEdit}
|
|
621
|
+
* the studio applies, so undo, the preview and the unsaved state live in one place.
|
|
622
|
+
*/
|
|
623
|
+
export class LoginStudioInspectorComponent {
|
|
624
|
+
Design;
|
|
625
|
+
Selected = null;
|
|
626
|
+
/** The region the selected block sits in: a card's colors depend on which side of the page it is on. */
|
|
627
|
+
SelectedRegion = null;
|
|
628
|
+
/** The selected surface, when no block is selected. */
|
|
629
|
+
Surface = null;
|
|
630
|
+
/** A published page or a draft exists, so "Use the stock sign-in page" applies. */
|
|
631
|
+
CanReset = false;
|
|
632
|
+
Saving = false;
|
|
633
|
+
EditRequested = new EventEmitter();
|
|
634
|
+
CommandRequested = new EventEmitter();
|
|
635
|
+
StockPageRequested = new EventEmitter();
|
|
636
|
+
SurfaceSelectRequested = new EventEmitter();
|
|
637
|
+
Limits = LOGIN_LIMITS;
|
|
638
|
+
Layouts = LOGIN_LAYOUTS;
|
|
639
|
+
LayoutLabel = { split: 'Split', 'split-reverse': 'Reversed', centered: 'Centered' };
|
|
640
|
+
SizeOptions = toggle({ sm: 'Small', md: 'Medium', lg: 'Large' });
|
|
641
|
+
WidthOptions = toggle({ full: 'Full', half: 'Half', third: 'Third' });
|
|
642
|
+
RadiusOptions = toggle({ none: 'Square', sm: 'S', md: 'M', lg: 'L', xl: 'XL' });
|
|
643
|
+
BackgroundOptions = toggle({ brand: 'Brand', color: 'Color', gradient: 'Gradient', image: 'Image' });
|
|
644
|
+
ToneOptions = toggle({ light: 'Light text', dark: 'Dark text' });
|
|
645
|
+
AlignmentOptions = toggle({ start: 'Left', center: 'Centered' });
|
|
646
|
+
BannerShareOptions = toggle({ narrow: 'Narrow', balanced: 'Balanced', wide: 'Wide' });
|
|
647
|
+
PanelWidthOptions = toggle({ compact: 'Compact', wide: 'Wide' });
|
|
648
|
+
ColorLabel = LOGIN_COLOR_LABEL;
|
|
649
|
+
LogoSourceOptions = LOGIN_LOGO_SOURCES.map((s) => ({ Value: s, Label: LOGIN_LOGO_SOURCE_LABEL[s] }));
|
|
650
|
+
IconOptions = [
|
|
651
|
+
{ Value: '', Label: 'No icon' }, ...Object.entries(LOGIN_CARD_ICONS).map(([Value, Label]) => ({ Value, Label })),
|
|
652
|
+
];
|
|
653
|
+
get SelectedProblems() {
|
|
654
|
+
return this.Selected ? LoginBlockProblems(this.Selected) : [];
|
|
655
|
+
}
|
|
656
|
+
/** Only the warnings about the colors on screen. */
|
|
657
|
+
get ContrastWarnings() {
|
|
658
|
+
const keys = this.Colors.map((c) => c.Key);
|
|
659
|
+
return keys.length ? LoginContrastWarnings(this.Design, keys) : [];
|
|
660
|
+
}
|
|
661
|
+
/** The colors of what is selected. Each is one --mj-login-* token, so it is shared across that side of the page. */
|
|
662
|
+
get Colors() {
|
|
663
|
+
if (this.Surface === 'Banner')
|
|
664
|
+
return [{ Key: 'BannerText', Name: 'Text' }];
|
|
665
|
+
if (this.Surface === 'Panel')
|
|
666
|
+
return [{ Key: 'PanelBg', Name: 'Background' }, { Key: 'PanelText', Name: 'Text' }];
|
|
667
|
+
const b = this.Selected;
|
|
668
|
+
if (!b || !this.SelectedRegion)
|
|
669
|
+
return [];
|
|
670
|
+
const onBanner = this.SelectedRegion === 'Banner';
|
|
671
|
+
if (b.Type === 'card') {
|
|
672
|
+
return onBanner
|
|
673
|
+
? [{ Key: 'BannerCardBg', Name: 'Card background' }, { Key: 'BannerCardText', Name: 'Card text' }]
|
|
674
|
+
: [{ Key: 'CardBg', Name: 'Card background' }, { Key: 'CardText', Name: 'Card text' }, { Key: 'CardBorder', Name: 'Card border' }];
|
|
675
|
+
}
|
|
676
|
+
if (b.Type === 'headline' || b.Type === 'text' || b.Type === 'links') {
|
|
677
|
+
return [{ Key: onBanner ? 'BannerText' : 'PanelText', Name: 'Text' }];
|
|
678
|
+
}
|
|
679
|
+
return [];
|
|
680
|
+
}
|
|
681
|
+
/** Says who else a color change reaches, so one card's color repainting the others is no surprise. */
|
|
682
|
+
get ColorScope() {
|
|
683
|
+
const b = this.Selected;
|
|
684
|
+
if (this.Surface || !b || !this.Colors.length)
|
|
685
|
+
return null;
|
|
686
|
+
const where = this.SelectedRegion === 'Banner' ? 'the story panel' : 'the sign-in column';
|
|
687
|
+
return b.Type === 'card' ? `Shared by every card in ${where}.` : `Shared by all the text in ${where}.`;
|
|
688
|
+
}
|
|
689
|
+
// The selected block, typed by kind: what each section of the template binds to.
|
|
690
|
+
get AsLogo() { return this.Selected?.Type === 'logo' ? this.Selected : null; }
|
|
691
|
+
get AsHeadline() { return this.Selected?.Type === 'headline' ? this.Selected : null; }
|
|
692
|
+
get AsText() { return this.Selected?.Type === 'text' ? this.Selected : null; }
|
|
693
|
+
get AsCard() { return this.Selected?.Type === 'card' ? this.Selected : null; }
|
|
694
|
+
get AsLinks() { return this.Selected?.Type === 'links' ? this.Selected : null; }
|
|
695
|
+
get AsImage() { return this.Selected?.Type === 'image' ? this.Selected : null; }
|
|
696
|
+
/** The selected block's size, when its kind comes in sizes (logo, headline, image, spacer). */
|
|
697
|
+
get SelectedSize() {
|
|
698
|
+
const b = this.Selected;
|
|
699
|
+
return b && 'Size' in b ? b.Size : null;
|
|
700
|
+
}
|
|
701
|
+
SetBlock(field, value) {
|
|
702
|
+
this.EditRequested.emit({ Kind: 'Block', Field: field, Value: value });
|
|
703
|
+
}
|
|
704
|
+
/** Text that may be cleared: an empty field is stored as null, not ''. */
|
|
705
|
+
SetBlockOptional(field, value) {
|
|
706
|
+
this.SetBlock(field, value.trim() ? value : null);
|
|
707
|
+
}
|
|
708
|
+
SetLink(index, field, value) {
|
|
709
|
+
this.EditRequested.emit({ Kind: 'Link', Index: index, Field: field, Value: value });
|
|
710
|
+
}
|
|
711
|
+
AddLink() {
|
|
712
|
+
this.EditRequested.emit({ Kind: 'AddLink' });
|
|
713
|
+
}
|
|
714
|
+
RemoveLink(index) {
|
|
715
|
+
this.EditRequested.emit({ Kind: 'RemoveLink', Index: index });
|
|
716
|
+
}
|
|
717
|
+
SetPage(field, value) {
|
|
718
|
+
this.EditRequested.emit({ Kind: 'Page', Field: field, Value: value });
|
|
719
|
+
}
|
|
720
|
+
SetHeading(value) {
|
|
721
|
+
this.EditRequested.emit({ Kind: 'Heading', Value: value });
|
|
722
|
+
}
|
|
723
|
+
SetBackground(field, value) {
|
|
724
|
+
this.EditRequested.emit({ Kind: 'Background', Field: field, Value: value });
|
|
725
|
+
}
|
|
726
|
+
SetColor(key, value) {
|
|
727
|
+
this.EditRequested.emit({ Kind: 'Color', Key: key, Value: value });
|
|
728
|
+
}
|
|
729
|
+
StartColor(key) {
|
|
730
|
+
this.SetColor(key, StartingLoginColor(this.Design, key));
|
|
731
|
+
}
|
|
732
|
+
Run(kind) {
|
|
733
|
+
if (this.Selected)
|
|
734
|
+
this.CommandRequested.emit({ Kind: kind, ID: this.Selected.ID });
|
|
735
|
+
}
|
|
736
|
+
/** A text input's value, typed, so the template never needs a cast to read it. */
|
|
737
|
+
ValueOf(e) {
|
|
738
|
+
return e.target?.value ?? '';
|
|
739
|
+
}
|
|
740
|
+
static ɵfac = function LoginStudioInspectorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoginStudioInspectorComponent)(); };
|
|
741
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoginStudioInspectorComponent, selectors: [["mj-login-studio-inspector"]], inputs: { Design: "Design", Selected: "Selected", SelectedRegion: "SelectedRegion", Surface: "Surface", CanReset: "CanReset", Saving: "Saving" }, outputs: { EditRequested: "EditRequested", CommandRequested: "CommandRequested", StockPageRequested: "StockPageRequested", SurfaceSelectRequested: "SurfaceSelectRequested" }, decls: 7, vars: 1, consts: [["colors", ""], [1, "lsi"], ["role", "group", "aria-label", "Colors", 1, "lsi__colors"], [1, "lsi__section"], [1, "lsi__help"], [1, "lsi__color-row"], ["Variant", "warning", "Size", "sm", "Role", "status"], ["type", "color", 3, "input", "value"], ["type", "text", "maxlength", "7", 1, "mj-input", "lsi__hex", 3, "change", "value"], ["type", "button", "mjButton", "", "Variant", "icon", "Size", "sm", "title", "Back to the default", 3, "click", "AriaLabel"], [1, "fa-solid", "fa-rotate-left"], [1, "lsi__optional"], ["type", "button", "mjButton", "", "Variant", "outline", "Size", "sm", 1, "lsi__set", 3, "click", "AriaLabel"], [1, "lsi__list"], [1, "lsi__field"], ["role", "group", "aria-labelledby", "lsi-size", 1, "lsi__field"], ["role", "group", "aria-labelledby", "lsi-width", 1, "lsi__field"], ["id", "lsi-width", 1, "lsi__label"], [3, "KeyChange", "Options", "ActiveKey"], [3, "ngTemplateOutlet"], ["role", "group", "aria-labelledby", "lsi-corners", 1, "lsi__field"], [1, "lsi__switch"], ["AriaLabel", "Hide on small screens", 3, "ngModelChange", "ngModel"], [1, "lsi__row"], ["type", "button", "mjButton", "", "Variant", "outline", "Size", "sm", 3, "click"], [1, "fa-regular", "fa-clone"], [1, "fa-regular", "fa-trash-can"], ["id", "lsi-logo", 1, "lsi__label"], ["TextField", "Label", "ValueField", "Value", "AriaLabelledBy", "lsi-logo", 3, "ngModelChange", "Data", "ValuePrimitive", "ngModel"], [1, "lsi__label"], ["type", "text", 1, "mj-input", 3, "input", "value", "maxLength"], ["rows", "4", 1, "mj-textarea", 3, "input", "value", "maxLength"], ["AriaLabel", "Softer color", 3, "ngModelChange", "ngModel"], ["id", "lsi-icon", 1, "lsi__label"], ["TextField", "Label", "ValueField", "Value", "AriaLabelledBy", "lsi-icon", 3, "ngModelChange", "Data", "ValuePrimitive", "ngModel"], ["rows", "2", 1, "mj-textarea", 3, "input", "value", "maxLength"], ["type", "url", "placeholder", "https://\u2026 or mailto:\u2026", 1, "mj-input", 3, "input", "value"], ["AriaLabel", "Open in a new tab", 3, "ngModelChange", "ngModel"], [1, "lsi__link"], ["type", "button", "mjButton", "", "Variant", "outline", "Size", "sm", 3, "click", "disabled"], [1, "fa-solid", "fa-plus"], ["type", "text", "aria-label", "Link label", "placeholder", "Label", 1, "mj-input", 3, "input", "value", "maxLength"], ["type", "url", "aria-label", "Link address", "placeholder", "https://\u2026", 1, "mj-input", 3, "input", "value"], ["type", "button", "mjButton", "", "Variant", "icon", "Size", "sm", "AriaLabel", "Remove link", "title", "Remove link", 3, "click"], ["type", "url", "placeholder", "https://\u2026/picture.png", 1, "mj-input", 3, "input", "value"], ["id", "lsi-size", 1, "lsi__label"], ["id", "lsi-corners", 1, "lsi__label"], ["role", "group", "aria-labelledby", "lsi-bg", 1, "lsi__field"], ["id", "lsi-bg", 1, "lsi__label"], ["role", "group", "aria-labelledby", "lsi-tone", 1, "lsi__field"], ["id", "lsi-tone", 1, "lsi__label"], ["role", "group", "aria-labelledby", "lsi-align", 1, "lsi__field"], ["id", "lsi-align", 1, "lsi__label"], ["role", "group", "aria-labelledby", "lsi-share", 1, "lsi__field"], [1, "lsi__color"], ["type", "color", "aria-label", "Background color", 3, "input", "value"], ["type", "text", "maxlength", "7", "aria-label", "Background color, hex value", 1, "mj-input", "lsi__hex", 3, "change", "value"], ["type", "color", "aria-label", "Gradient start color", 3, "input", "value"], ["type", "text", "maxlength", "7", "aria-label", "Gradient start, hex value", 1, "mj-input", "lsi__hex", 3, "change", "value"], ["type", "color", "aria-label", "Gradient end color", 3, "input", "value"], ["type", "text", "maxlength", "7", "aria-label", "Gradient end, hex value", 1, "mj-input", "lsi__hex", 3, "change", "value"], ["type", "url", "placeholder", "https://\u2026/photo.jpg", 1, "mj-input", 3, "input", "value"], ["id", "lsi-overlay", 1, "lsi__label"], ["AriaLabelledBy", "lsi-overlay", 3, "ngModelChange", "Min", "Max", "Step", "Decimals", "ngModel"], ["id", "lsi-share", 1, "lsi__label"], ["type", "text", "placeholder", "None", 1, "mj-input", 3, "input", "value", "maxLength"], ["role", "group", "aria-labelledby", "lsi-panel-width", 1, "lsi__field"], ["id", "lsi-panel-width", 1, "lsi__label"], ["role", "group", "aria-label", "Layout", 1, "lsi__field"], [1, "lsi__layouts"], ["type", "button", "mjButton", "", "Variant", "outline", "Size", "sm", 1, "lsi__layout", 3, "Toggleable", "Selected"], ["role", "group", "aria-label", "Parts of the page", 1, "lsi__field"], ["aria-hidden", "true", 1, "fa-solid", "fa-image"], ["aria-hidden", "true", 1, "fa-solid", "fa-right-to-bracket"], [1, "lsi__row", "lsi__row--reset"], ["type", "button", "mjButton", "", "Variant", "outline", "Size", "sm", 1, "lsi__layout", 3, "click", "Toggleable", "Selected"], ["aria-hidden", "true", 1, "lsi__layout-art"], [1, "fa-solid", "fa-arrow-rotate-left"]], template: function LoginStudioInspectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
742
|
+
i0.ɵɵtemplate(0, LoginStudioInspectorComponent_ng_template_0_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
743
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
744
|
+
i0.ɵɵconditionalCreate(3, LoginStudioInspectorComponent_Conditional_3_Template, 28, 13)(4, LoginStudioInspectorComponent_Conditional_4_Template, 20, 9)(5, LoginStudioInspectorComponent_Conditional_5_Template, 15, 5)(6, LoginStudioInspectorComponent_Conditional_6_Template, 19, 1);
|
|
745
|
+
i0.ɵɵelementEnd();
|
|
746
|
+
} if (rf & 2) {
|
|
747
|
+
let tmp_1_0;
|
|
748
|
+
i0.ɵɵadvance(3);
|
|
749
|
+
i0.ɵɵconditional((tmp_1_0 = ctx.Selected) ? 3 : ctx.Surface === "Banner" ? 4 : ctx.Surface === "Panel" ? 5 : 6, tmp_1_0);
|
|
750
|
+
} }, dependencies: [FormsModule, i1.NgControlStatus, i1.NgModel, NgTemplateOutlet, MJAlertComponent, MJButtonDirective, MJDropdownComponent, MJNumericInputComponent, MJSwitchComponent,
|
|
751
|
+
MJViewToggleComponent], styles: ["\n\n[_nghost-%COMP%] { display: block; }\n\n\n.lsi[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n padding: var(--mj-space-4) var(--mj-space-4) var(--mj-space-6);\n}\n\n.lsi__field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-1);\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-medium);\n color: var(--mj-text-primary);\n}\n.lsi__field[_ngcontent-%COMP%] .mj-input[_ngcontent-%COMP%], \n.lsi__field[_ngcontent-%COMP%] .mj-textarea[_ngcontent-%COMP%] { font-weight: var(--mj-font-normal); }\n.lsi__label[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--mj-space-2);\n}\n.lsi__optional[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-normal);\n color: var(--mj-text-muted);\n}\n.lsi__section[_ngcontent-%COMP%] {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--mj-text-secondary);\n}\n.lsi__help[_ngcontent-%COMP%] {\n margin: calc(-1 * var(--mj-space-2)) 0 0;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n.lsi__switch[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n}\n.lsi__row[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n}\n.lsi__row--reset[_ngcontent-%COMP%] {\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n\n.lsi__list[_ngcontent-%COMP%] {\n margin: 0;\n padding-left: var(--mj-space-4);\n}\n.lsi__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%] { margin-top: var(--mj-space-1); }\n\n.lsi__link[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr 1.4fr auto;\n gap: var(--mj-space-1);\n align-items: center;\n}\n\n\n.lsi__colors[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-2);\n font-size: var(--mj-text-sm);\n}\n\n.lsi__colors[_ngcontent-%COMP%]:not(:first-child) {\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n.lsi__color-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto auto auto;\n gap: var(--mj-space-2);\n align-items: center;\n font-weight: var(--mj-font-normal);\n}\n.lsi__color[_ngcontent-%COMP%] {\n display: flex;\n gap: var(--mj-space-2);\n align-items: center;\n}\n.lsi__color[_ngcontent-%COMP%] input[type='color'][_ngcontent-%COMP%], \n.lsi__color-row[_ngcontent-%COMP%] input[type='color'][_ngcontent-%COMP%] {\n flex: 0 0 auto;\n width: 2rem;\n height: 1.75rem;\n padding: 0;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n background: none;\n}\n.lsi__hex[_ngcontent-%COMP%] {\n width: 6rem;\n font-family: var(--mj-font-family-mono);\n}\n.lsi__set[_ngcontent-%COMP%] { grid-column: 3 / -1; justify-self: end; }\n\n\n.lsi__layouts[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: var(--mj-space-2);\n}\n\n.lsi__layout[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: var(--mj-space-1);\n padding: var(--mj-space-2);\n}\n\n\n.lsi__layout-art[_ngcontent-%COMP%] {\n display: flex;\n width: 100%;\n height: 2.25rem;\n overflow: hidden;\n border: 1px solid currentColor;\n border-radius: var(--mj-radius-sm);\n}\n.lsi__layout-art[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child { flex: 1.05; background: color-mix(in srgb, currentColor 65%, transparent); }\n.lsi__layout-art[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child { flex: 1; }\n.lsi__layout-art[data-layout='split-reverse'][_ngcontent-%COMP%] { flex-direction: row-reverse; }\n.lsi__layout-art[data-layout='centered'][_ngcontent-%COMP%] {\n align-items: center;\n justify-content: center;\n background: color-mix(in srgb, currentColor 65%, transparent);\n}\n.lsi__layout-art[data-layout='centered'][_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child { display: none; }\n.lsi__layout-art[data-layout='centered'][_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child {\n flex: 0 0 40%;\n height: 70%;\n border: 1px solid currentColor;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n}"], changeDetection: 0 });
|
|
752
|
+
}
|
|
753
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginStudioInspectorComponent, [{
|
|
754
|
+
type: Component,
|
|
755
|
+
args: [{ standalone: true, selector: 'mj-login-studio-inspector', imports: [
|
|
756
|
+
FormsModule, NgTemplateOutlet, MJAlertComponent, MJButtonDirective, MJDropdownComponent, MJNumericInputComponent, MJSwitchComponent,
|
|
757
|
+
MJViewToggleComponent,
|
|
758
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- The colors of whatever is selected: only the ones it uses (Colors), with the contrast warnings about them. -->\n<ng-template #colors>\n @if (Colors.length) {\n <div class=\"lsi__colors\" role=\"group\" aria-label=\"Colors\">\n <span class=\"lsi__section\">Colors</span>\n @if (ColorScope; as scope) { <p class=\"lsi__help\">{{ scope }}</p> }\n @for (k of Colors; track k.Key) {\n <div class=\"lsi__color-row\">\n <span>{{ k.Name }}</span>\n @if (Design.Colors[k.Key]; as c) {\n <input type=\"color\" [value]=\"c\" [attr.aria-label]=\"ColorLabel[k.Key]\" (input)=\"SetColor(k.Key, ValueOf($event))\" />\n <input class=\"mj-input lsi__hex\" type=\"text\" maxlength=\"7\" [value]=\"c\" [attr.aria-label]=\"ColorLabel[k.Key] + ', hex value'\" (change)=\"SetColor(k.Key, ValueOf($event))\" />\n <button type=\"button\" mjButton Variant=\"icon\" Size=\"sm\" title=\"Back to the default\" [AriaLabel]=\"'Reset ' + ColorLabel[k.Key] + ' to the default'\" (click)=\"SetColor(k.Key, null)\"><i class=\"fa-solid fa-rotate-left\"></i></button>\n } @else {\n <span class=\"lsi__optional\">Default</span>\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" class=\"lsi__set\" [AriaLabel]=\"'Choose a custom ' + ColorLabel[k.Key]\" (click)=\"StartColor(k.Key)\">Choose</button>\n }\n </div>\n }\n <p class=\"lsi__help\">Default follows the theme. A color you choose stays the same in light and dark mode.</p>\n @if (ContrastWarnings.length) {\n <mj-alert Variant=\"warning\" Size=\"sm\" Role=\"status\">\n <ul class=\"lsi__list\">\n @for (w of ContrastWarnings; track $index) { <li>{{ w }}</li> }\n </ul>\n </mj-alert>\n }\n </div>\n }\n</ng-template>\n\n<div class=\"lsi\">\n @if (Selected; as sel) {\n <!-- A BLOCK -->\n @if (SelectedProblems.length) {\n <mj-alert Variant=\"warning\" Size=\"sm\" Role=\"status\">\n <ul class=\"lsi__list\">\n @for (p of SelectedProblems; track $index) { <li>{{ p }}</li> }\n </ul>\n </mj-alert>\n }\n\n @if (AsLogo; as b) {\n <div class=\"lsi__field\"><span class=\"lsi__label\" id=\"lsi-logo\">Which logo</span>\n <mj-dropdown [Data]=\"LogoSourceOptions\" TextField=\"Label\" ValueField=\"Value\" [ValuePrimitive]=\"true\" AriaLabelledBy=\"lsi-logo\"\n [ngModel]=\"b.Source\" (ngModelChange)=\"SetBlock('Source', $event)\"></mj-dropdown>\n </div>\n <p class=\"lsi__help\">Logos come from the default theme in Theme Studio. A variant that is not set falls back to the light mark, and a theme with no logos shows the stock one.</p>\n }\n\n @if (AsHeadline; as b) {\n <label class=\"lsi__field\"><span class=\"lsi__label\">Headline</span>\n <input class=\"mj-input\" type=\"text\" [value]=\"b.Text\" [maxLength]=\"Limits.Headline\" (input)=\"SetBlock('Text', ValueOf($event))\" />\n </label>\n }\n\n @if (AsText; as b) {\n <label class=\"lsi__field\"><span class=\"lsi__label\">Text</span>\n <textarea class=\"mj-textarea\" rows=\"4\" [value]=\"b.Text\" [maxLength]=\"Limits.Text\" (input)=\"SetBlock('Text', ValueOf($event))\"></textarea>\n </label>\n <div class=\"lsi__switch\"><mj-switch AriaLabel=\"Softer color\" [ngModel]=\"b.Muted\" (ngModelChange)=\"SetBlock('Muted', $event)\"></mj-switch> Softer color</div>\n }\n\n @if (AsCard; as b) {\n <div class=\"lsi__field\"><span class=\"lsi__label\" id=\"lsi-icon\">Icon</span>\n <mj-dropdown [Data]=\"IconOptions\" TextField=\"Label\" ValueField=\"Value\" [ValuePrimitive]=\"true\" AriaLabelledBy=\"lsi-icon\"\n [ngModel]=\"b.Icon ?? ''\" (ngModelChange)=\"SetBlockOptional('Icon', $event)\"></mj-dropdown>\n </div>\n <label class=\"lsi__field\"><span class=\"lsi__label\">Title</span>\n <input class=\"mj-input\" type=\"text\" [value]=\"b.Title\" [maxLength]=\"Limits.CardTitle\" (input)=\"SetBlock('Title', ValueOf($event))\" />\n </label>\n <label class=\"lsi__field\"><span class=\"lsi__label\">Note <span class=\"lsi__optional\">optional</span></span>\n <textarea class=\"mj-textarea\" rows=\"2\" [value]=\"b.Text ?? ''\" [maxLength]=\"Limits.CardText\" (input)=\"SetBlockOptional('Text', ValueOf($event))\"></textarea>\n </label>\n <label class=\"lsi__field\"><span class=\"lsi__label\">Link <span class=\"lsi__optional\">optional</span></span>\n <input class=\"mj-input\" type=\"url\" placeholder=\"https://\u2026 or mailto:\u2026\" [value]=\"b.Href ?? ''\" (input)=\"SetBlockOptional('Href', ValueOf($event).trim())\" />\n </label>\n <div class=\"lsi__switch\"><mj-switch AriaLabel=\"Open in a new tab\" [ngModel]=\"b.NewTab\" (ngModelChange)=\"SetBlock('NewTab', $event)\"></mj-switch> Open in a new tab (keeps the sign-in page open)</div>\n }\n\n @if (AsLinks; as b) {\n @for (l of b.Links; track $index; let i = $index) {\n <div class=\"lsi__link\">\n <input class=\"mj-input\" type=\"text\" aria-label=\"Link label\" placeholder=\"Label\" [value]=\"l.Label\" [maxLength]=\"Limits.LinkLabel\" (input)=\"SetLink(i, 'Label', ValueOf($event))\" />\n <input class=\"mj-input\" type=\"url\" aria-label=\"Link address\" placeholder=\"https://\u2026\" [value]=\"l.Href\" (input)=\"SetLink(i, 'Href', ValueOf($event).trim())\" />\n <button type=\"button\" mjButton Variant=\"icon\" Size=\"sm\" AriaLabel=\"Remove link\" title=\"Remove link\" (click)=\"RemoveLink(i)\"><i class=\"fa-regular fa-trash-can\"></i></button>\n </div>\n }\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" (click)=\"AddLink()\" [disabled]=\"b.Links.length >= Limits.Links\"><i class=\"fa-solid fa-plus\"></i> Add link</button>\n }\n\n @if (AsImage; as b) {\n <label class=\"lsi__field\"><span class=\"lsi__label\">Image address</span>\n <input class=\"mj-input\" type=\"url\" placeholder=\"https://\u2026/picture.png\" [value]=\"b.URL\" (input)=\"SetBlock('URL', ValueOf($event).trim())\" />\n </label>\n <label class=\"lsi__field\"><span class=\"lsi__label\">Description for screen readers</span>\n <input class=\"mj-input\" type=\"text\" [value]=\"b.Alt\" [maxLength]=\"Limits.Alt\" (input)=\"SetBlock('Alt', ValueOf($event))\" />\n </label>\n }\n\n @if (SelectedSize; as size) {\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-size\"><span class=\"lsi__label\" id=\"lsi-size\">Size</span>\n <mj-view-toggle [Options]=\"SizeOptions\" [ActiveKey]=\"size\" (KeyChange)=\"SetBlock('Size', $event)\"></mj-view-toggle>\n </div>\n }\n\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-width\"><span class=\"lsi__label\" id=\"lsi-width\">Width</span>\n <mj-view-toggle [Options]=\"WidthOptions\" [ActiveKey]=\"sel.Width\" (KeyChange)=\"SetBlock('Width', $event)\"></mj-view-toggle>\n </div>\n <p class=\"lsi__help\">Half or Third puts two or three blocks side by side. On a phone each block takes its own row.</p>\n\n <ng-container [ngTemplateOutlet]=\"colors\"></ng-container>\n\n @if (AsCard) {\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-corners\"><span class=\"lsi__label\" id=\"lsi-corners\">Corners <span class=\"lsi__optional\">every card</span></span>\n <mj-view-toggle [Options]=\"RadiusOptions\" [ActiveKey]=\"Design.CardRadius\" (KeyChange)=\"SetPage('CardRadius', $event)\"></mj-view-toggle>\n </div>\n }\n\n <div class=\"lsi__switch\"><mj-switch AriaLabel=\"Hide on small screens\" [ngModel]=\"sel.HideWhenStacked\" (ngModelChange)=\"SetBlock('HideWhenStacked', $event)\"></mj-switch> Hide on small screens</div>\n <p class=\"lsi__help\">Tablets and phones show a short banner above the sign-in options, so keep it to the essentials.</p>\n\n <div class=\"lsi__row\">\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" (click)=\"Run('duplicate')\"><i class=\"fa-regular fa-clone\"></i> Duplicate</button>\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" (click)=\"Run('delete')\"><i class=\"fa-regular fa-trash-can\"></i> Delete</button>\n </div>\n\n } @else if (Surface === 'Banner') {\n <!-- THE STORY PANEL -->\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-bg\"><span class=\"lsi__label\" id=\"lsi-bg\">Background</span>\n <mj-view-toggle [Options]=\"BackgroundOptions\" [ActiveKey]=\"Design.Background.Kind\" (KeyChange)=\"SetBackground('Kind', $event)\"></mj-view-toggle>\n </div>\n @switch (Design.Background.Kind) {\n @case ('brand') { <p class=\"lsi__help\">The default theme's brand gradient, from Theme Studio.</p> }\n @case ('color') {\n <div class=\"lsi__field\"><span class=\"lsi__label\">Color</span>\n <span class=\"lsi__color\">\n <input type=\"color\" aria-label=\"Background color\" [value]=\"Design.Background.Color ?? ''\" (input)=\"SetBackground('Color', ValueOf($event))\" />\n <input class=\"mj-input lsi__hex\" type=\"text\" maxlength=\"7\" aria-label=\"Background color, hex value\" [value]=\"Design.Background.Color ?? ''\" (change)=\"SetBackground('Color', ValueOf($event))\" />\n </span>\n </div>\n }\n @case ('gradient') {\n <div class=\"lsi__field\"><span class=\"lsi__label\">From</span>\n <span class=\"lsi__color\">\n <input type=\"color\" aria-label=\"Gradient start color\" [value]=\"Design.Background.Color ?? ''\" (input)=\"SetBackground('Color', ValueOf($event))\" />\n <input class=\"mj-input lsi__hex\" type=\"text\" maxlength=\"7\" aria-label=\"Gradient start, hex value\" [value]=\"Design.Background.Color ?? ''\" (change)=\"SetBackground('Color', ValueOf($event))\" />\n </span>\n </div>\n <div class=\"lsi__field\"><span class=\"lsi__label\">To</span>\n <span class=\"lsi__color\">\n <input type=\"color\" aria-label=\"Gradient end color\" [value]=\"Design.Background.Color2 ?? ''\" (input)=\"SetBackground('Color2', ValueOf($event))\" />\n <input class=\"mj-input lsi__hex\" type=\"text\" maxlength=\"7\" aria-label=\"Gradient end, hex value\" [value]=\"Design.Background.Color2 ?? ''\" (change)=\"SetBackground('Color2', ValueOf($event))\" />\n </span>\n </div>\n }\n @case ('image') {\n <label class=\"lsi__field\"><span class=\"lsi__label\">Image address</span>\n <input class=\"mj-input\" type=\"url\" placeholder=\"https://\u2026/photo.jpg\" [value]=\"Design.Background.ImageURL ?? ''\" (input)=\"SetBackground('ImageURL', ValueOf($event))\" />\n </label>\n <div class=\"lsi__field\"><span class=\"lsi__label\" id=\"lsi-overlay\">Darken the image (%)</span>\n <mj-numeric-input [Min]=\"0\" [Max]=\"Limits.OverlayMax\" [Step]=\"5\" [Decimals]=\"0\" AriaLabelledBy=\"lsi-overlay\"\n [ngModel]=\"Design.Background.Overlay\" (ngModelChange)=\"SetBackground('Overlay', $event)\"></mj-numeric-input>\n </div>\n }\n }\n\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-tone\"><span class=\"lsi__label\" id=\"lsi-tone\">Light or dark text</span>\n <mj-view-toggle [Options]=\"ToneOptions\" [ActiveKey]=\"Design.Tone\" (KeyChange)=\"SetPage('Tone', $event)\"></mj-view-toggle>\n </div>\n\n <ng-container [ngTemplateOutlet]=\"colors\"></ng-container>\n\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-align\"><span class=\"lsi__label\" id=\"lsi-align\">Alignment</span>\n <mj-view-toggle [Options]=\"AlignmentOptions\" [ActiveKey]=\"Design.Alignment\" (KeyChange)=\"SetPage('Alignment', $event)\"></mj-view-toggle>\n </div>\n\n @if (Design.Layout !== 'centered') {\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-share\"><span class=\"lsi__label\" id=\"lsi-share\">Width</span>\n <mj-view-toggle [Options]=\"BannerShareOptions\" [ActiveKey]=\"Design.BannerShare\" (KeyChange)=\"SetPage('BannerShare', $event)\"></mj-view-toggle>\n </div>\n }\n\n <p class=\"lsi__help\">To change the color of the cards here, select one.</p>\n\n } @else if (Surface === 'Panel') {\n <!-- THE SIGN-IN COLUMN -->\n <ng-container [ngTemplateOutlet]=\"colors\"></ng-container>\n <p class=\"lsi__help\">The sign-in button uses the default theme's brand color.</p>\n\n <label class=\"lsi__field\"><span class=\"lsi__label\">Heading above the sign-in options <span class=\"lsi__optional\">optional</span></span>\n <input class=\"mj-input\" type=\"text\" placeholder=\"None\" [value]=\"Design.Heading ?? ''\" [maxLength]=\"Limits.Heading\" (input)=\"SetHeading(ValueOf($event))\" />\n </label>\n\n <div class=\"lsi__field\" role=\"group\" aria-labelledby=\"lsi-panel-width\"><span class=\"lsi__label\" id=\"lsi-panel-width\">Width</span>\n <mj-view-toggle [Options]=\"PanelWidthOptions\" [ActiveKey]=\"Design.PanelWidth\" (KeyChange)=\"SetPage('PanelWidth', $event)\"></mj-view-toggle>\n </div>\n\n <p class=\"lsi__help\">To change the color of the cards here, select one.</p>\n\n } @else {\n <!-- THE PAGE -->\n <div class=\"lsi__field\" role=\"group\" aria-label=\"Layout\"><span class=\"lsi__label\">Layout</span>\n <div class=\"lsi__layouts\">\n @for (l of Layouts; track l) {\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" class=\"lsi__layout\" [Toggleable]=\"true\" [Selected]=\"Design.Layout === l\"\n (click)=\"SetPage('Layout', l)\">\n <span class=\"lsi__layout-art\" [attr.data-layout]=\"l\" aria-hidden=\"true\"><span></span><span></span></span>\n {{ LayoutLabel[l] }}\n </button>\n }\n </div>\n </div>\n\n <div class=\"lsi__field\" role=\"group\" aria-label=\"Parts of the page\"><span class=\"lsi__label\">Change a part of the page</span>\n <div class=\"lsi__row\">\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" (click)=\"SurfaceSelectRequested.emit('Banner')\"><i class=\"fa-solid fa-image\" aria-hidden=\"true\"></i> Story panel</button>\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" (click)=\"SurfaceSelectRequested.emit('Panel')\"><i class=\"fa-solid fa-right-to-bracket\" aria-hidden=\"true\"></i> Sign-in column</button>\n </div>\n </div>\n <p class=\"lsi__help\">Or click it in the preview (the story panel, the sign-in column or any block) to see its settings and colors. Alt+\u2191/\u2193 moves the focused block; Delete removes it.</p>\n\n @if (CanReset) {\n <div class=\"lsi__row lsi__row--reset\">\n <button type=\"button\" mjButton Variant=\"outline\" Size=\"sm\" (click)=\"StockPageRequested.emit()\" [disabled]=\"Saving\">\n <i class=\"fa-solid fa-arrow-rotate-left\"></i> Use the stock sign-in page\n </button>\n </div>\n }\n }\n</div>\n", styles: ["/* Login Studio's settings column: layout around MJ's own controls, plus the layout thumbnails and color rows. */\n\n:host { display: block; }\n\n/* The settings column pads nothing itself; a form needs its own gutter. */\n.lsi {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n padding: var(--mj-space-4) var(--mj-space-4) var(--mj-space-6);\n}\n\n.lsi__field {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-1);\n font-size: var(--mj-text-sm);\n font-weight: var(--mj-font-medium);\n color: var(--mj-text-primary);\n}\n.lsi__field .mj-input,\n.lsi__field .mj-textarea { font-weight: var(--mj-font-normal); }\n.lsi__label {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: var(--mj-space-2);\n}\n.lsi__optional {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-normal);\n color: var(--mj-text-muted);\n}\n.lsi__section {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-semibold);\n letter-spacing: 0.08em;\n text-transform: uppercase;\n color: var(--mj-text-secondary);\n}\n.lsi__help {\n margin: calc(-1 * var(--mj-space-2)) 0 0;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n.lsi__switch {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n}\n.lsi__row {\n display: flex;\n flex-wrap: wrap;\n gap: var(--mj-space-2);\n}\n.lsi__row--reset {\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n\n.lsi__list {\n margin: 0;\n padding-left: var(--mj-space-4);\n}\n.lsi__list li + li { margin-top: var(--mj-space-1); }\n\n.lsi__link {\n display: grid;\n grid-template-columns: 1fr 1.4fr auto;\n gap: var(--mj-space-1);\n align-items: center;\n}\n\n/* \u2500\u2500 colors \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.lsi__colors {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-2);\n font-size: var(--mj-text-sm);\n}\n/* A divider only when the colors follow other settings (the sign-in column opens on them). */\n.lsi__colors:not(:first-child) {\n padding-top: var(--mj-space-3);\n border-top: 1px solid var(--mj-border-subtle);\n}\n.lsi__color-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto auto auto;\n gap: var(--mj-space-2);\n align-items: center;\n font-weight: var(--mj-font-normal);\n}\n.lsi__color {\n display: flex;\n gap: var(--mj-space-2);\n align-items: center;\n}\n.lsi__color input[type='color'],\n.lsi__color-row input[type='color'] {\n flex: 0 0 auto;\n width: 2rem;\n height: 1.75rem;\n padding: 0;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm);\n background: none;\n}\n.lsi__hex {\n width: 6rem;\n font-family: var(--mj-font-family-mono);\n}\n.lsi__set { grid-column: 3 / -1; justify-self: end; }\n\n/* \u2500\u2500 layout thumbnails \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.lsi__layouts {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: var(--mj-space-2);\n}\n/* Layout only: the button's look is mjButton's. */\n.lsi__layout {\n flex-direction: column;\n gap: var(--mj-space-1);\n padding: var(--mj-space-2);\n}\n/* A thumbnail of each layout, in the button's own text color so it reads selected or not: the story\n panel filled, the sign-in column outlined. */\n.lsi__layout-art {\n display: flex;\n width: 100%;\n height: 2.25rem;\n overflow: hidden;\n border: 1px solid currentColor;\n border-radius: var(--mj-radius-sm);\n}\n.lsi__layout-art span:first-child { flex: 1.05; background: color-mix(in srgb, currentColor 65%, transparent); }\n.lsi__layout-art span:last-child { flex: 1; }\n.lsi__layout-art[data-layout='split-reverse'] { flex-direction: row-reverse; }\n.lsi__layout-art[data-layout='centered'] {\n align-items: center;\n justify-content: center;\n background: color-mix(in srgb, currentColor 65%, transparent);\n}\n.lsi__layout-art[data-layout='centered'] span:first-child { display: none; }\n.lsi__layout-art[data-layout='centered'] span:last-child {\n flex: 0 0 40%;\n height: 70%;\n border: 1px solid currentColor;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n}\n"] }]
|
|
759
|
+
}], null, { Design: [{
|
|
760
|
+
type: Input
|
|
761
|
+
}], Selected: [{
|
|
762
|
+
type: Input
|
|
763
|
+
}], SelectedRegion: [{
|
|
764
|
+
type: Input
|
|
765
|
+
}], Surface: [{
|
|
766
|
+
type: Input
|
|
767
|
+
}], CanReset: [{
|
|
768
|
+
type: Input
|
|
769
|
+
}], Saving: [{
|
|
770
|
+
type: Input
|
|
771
|
+
}], EditRequested: [{
|
|
772
|
+
type: Output
|
|
773
|
+
}], CommandRequested: [{
|
|
774
|
+
type: Output
|
|
775
|
+
}], StockPageRequested: [{
|
|
776
|
+
type: Output
|
|
777
|
+
}], SurfaceSelectRequested: [{
|
|
778
|
+
type: Output
|
|
779
|
+
}] }); })();
|
|
780
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginStudioInspectorComponent, { className: "LoginStudioInspectorComponent", filePath: "src/LoginStudio/login-studio-inspector.component.ts", lineNumber: 57 }); })();
|
|
781
|
+
//# sourceMappingURL=login-studio-inspector.component.js.map
|