@posiwise/shared-components 0.0.229 → 0.0.230
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i1$
|
|
1
|
+
import * as i1$2 from "@angular/common";
|
|
2
2
|
import { CommonModule, DOCUMENT, NgIf } from "@angular/common";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild,
|
|
4
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DestroyRef, Directive, EventEmitter, Host, HostBinding, HostListener, Inject, Injectable, InjectionToken, Input, NgModule, Optional, Output, Pipe, SkipSelf, ViewChild, ViewContainerRef, ViewEncapsulation, booleanAttribute, computed, inject, input, isDevMode, signal } from "@angular/core";
|
|
5
5
|
import * as i4$1 from "@angular/forms";
|
|
6
6
|
import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormControl, Validators } from "@angular/forms";
|
|
7
7
|
import * as i9$1 from "@angular/router";
|
|
@@ -9,7 +9,7 @@ import { NavigationEnd, RouterModule } from "@angular/router";
|
|
|
9
9
|
import * as i8 from "@posiwise/app-loader";
|
|
10
10
|
import { AppLoaderModule } from "@posiwise/app-loader";
|
|
11
11
|
import { CoreTranslocoModule } from "@posiwise/core-transloco";
|
|
12
|
-
import * as i1
|
|
12
|
+
import * as i1 from "@posiwise/directives";
|
|
13
13
|
import { DirectivesModule } from "@posiwise/directives";
|
|
14
14
|
import * as i15 from "@posiwise/pipes";
|
|
15
15
|
import { PipesModule } from "@posiwise/pipes";
|
|
@@ -40,23 +40,21 @@ import * as i2$1 from "primeng/tabs";
|
|
|
40
40
|
import { TabsModule } from "primeng/tabs";
|
|
41
41
|
import * as i10 from "primeng/tooltip";
|
|
42
42
|
import { TooltipModule } from "primeng/tooltip";
|
|
43
|
-
import * as i1$
|
|
43
|
+
import * as i1$3 from "@ng-bootstrap/ng-bootstrap";
|
|
44
44
|
import { NgbModalModule, NgbNavModule, NgbTooltipModule } from "@ng-bootstrap/ng-bootstrap";
|
|
45
|
-
import * as i1$
|
|
45
|
+
import * as i1$1 from "@posiwise/common-services";
|
|
46
46
|
import { KNOWLEDGE_EXTENSIONS, KNOWLEDGE_MAX_BYTES, PermissionService } from "@posiwise/common-services";
|
|
47
47
|
import { ADMIN_ROUTERS, PAGE_SIZE, TAG_ENTITY } from "@posiwise/common-utilities";
|
|
48
|
-
import { catchError, debounceTime, distinctUntilChanged, filter, finalize, map, switchMap, take, takeUntil } from "rxjs/operators";
|
|
49
|
-
import * as i2$
|
|
48
|
+
import { catchError, debounceTime, distinctUntilChanged, filter, finalize, map, switchMap, take, takeUntil, tap } from "rxjs/operators";
|
|
49
|
+
import * as i2$3 from "@jsverse/transloco";
|
|
50
50
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
51
|
-
import * as i2$
|
|
51
|
+
import * as i2$2 from "@posiwise/app-config-service";
|
|
52
52
|
import { BehaviorSubject, Subject, of, takeUntil as takeUntil$1 } from "rxjs";
|
|
53
53
|
import * as i3$1 from "@ngrx/store";
|
|
54
54
|
import { HelperService } from "@posiwise/helper-service";
|
|
55
55
|
import { __decorate, __metadata } from "tslib";
|
|
56
56
|
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
57
57
|
import { StatusCodes } from "http-status-codes";
|
|
58
|
-
import * as i2$2 from "@angular/platform-browser";
|
|
59
|
-
import * as i1 from "@posiwise/admin-module-utils";
|
|
60
58
|
import { DragDropModule } from "@angular/cdk/drag-drop";
|
|
61
59
|
import * as i3 from "@fortawesome/angular-fontawesome";
|
|
62
60
|
import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
|
|
@@ -128,7 +126,7 @@ var ConfirmDialogComponent = class ConfirmDialogComponent {
|
|
|
128
126
|
version: "22.2.3",
|
|
129
127
|
ngImport: i0,
|
|
130
128
|
type: ConfirmDialogComponent,
|
|
131
|
-
deps: [{ token: i1$
|
|
129
|
+
deps: [{ token: i1$3.NgbActiveModal }],
|
|
132
130
|
target: i0.ɵɵFactoryTarget.Component
|
|
133
131
|
});
|
|
134
132
|
}
|
|
@@ -145,7 +143,7 @@ var ConfirmDialogComponent = class ConfirmDialogComponent {
|
|
|
145
143
|
styles: [".pw-confirm{position:relative;padding:24px 24px 20px}.pw-confirm__header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.pw-confirm__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9999px;font-size:16px;flex-shrink:0}.pw-confirm--info .pw-confirm__icon,.pw-confirm--neutral .pw-confirm__icon{background:#1769e11a;color:var(--first, #1769e1)}.pw-confirm__title{flex:1;margin:0;font-size:16px;font-weight:600;color:var(--titles, #222);line-height:1.3}.pw-confirm__close{flex-shrink:0}.pw-confirm__body{margin-bottom:20px}.pw-confirm__message{margin:0;color:var(--text, #222);font-size:14px;line-height:1.5}.pw-confirm__message ::ng-deep strong{font-weight:600;color:var(--titles, #222)}.pw-confirm__footer{display:flex;justify-content:flex-end;gap:8px}.pw-confirm--destructive{padding:48px 32px 32px;text-align:center}.pw-confirm--destructive .pw-confirm__header{flex-direction:column;align-items:center;gap:24px;margin-bottom:20px}.pw-confirm--destructive .pw-confirm__icon{width:80px;height:80px;font-size:36px;background:transparent;border:4px solid #dc3545;color:#dc3545}.pw-confirm--destructive .pw-confirm__title{flex:none;text-align:center;font-size:24px;font-weight:700;line-height:1.2}.pw-confirm--destructive .pw-confirm__close{display:none}.pw-confirm--destructive .pw-confirm__body{margin-bottom:28px}.pw-confirm--destructive .pw-confirm__message{text-align:center;font-size:16px;line-height:1.5}.pw-confirm--destructive .pw-confirm__footer{justify-content:center;gap:14px;margin-top:0}.pw-confirm--destructive .pw-confirm__footer .btn{min-width:96px;padding:10px 24px;font-weight:600}::ng-deep .pw-confirm-modal .modal-content{border-radius:12px;border:1px solid #e2e5ea;box-shadow:0 10px 30px #1018281f;overflow:hidden}\n"],
|
|
146
144
|
dependencies: [{
|
|
147
145
|
kind: "pipe",
|
|
148
|
-
type: i2$
|
|
146
|
+
type: i2$3.TranslocoPipe,
|
|
149
147
|
name: "transloco"
|
|
150
148
|
}]
|
|
151
149
|
});
|
|
@@ -165,7 +163,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
165
163
|
styles: [".pw-confirm{position:relative;padding:24px 24px 20px}.pw-confirm__header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.pw-confirm__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9999px;font-size:16px;flex-shrink:0}.pw-confirm--info .pw-confirm__icon,.pw-confirm--neutral .pw-confirm__icon{background:#1769e11a;color:var(--first, #1769e1)}.pw-confirm__title{flex:1;margin:0;font-size:16px;font-weight:600;color:var(--titles, #222);line-height:1.3}.pw-confirm__close{flex-shrink:0}.pw-confirm__body{margin-bottom:20px}.pw-confirm__message{margin:0;color:var(--text, #222);font-size:14px;line-height:1.5}.pw-confirm__message ::ng-deep strong{font-weight:600;color:var(--titles, #222)}.pw-confirm__footer{display:flex;justify-content:flex-end;gap:8px}.pw-confirm--destructive{padding:48px 32px 32px;text-align:center}.pw-confirm--destructive .pw-confirm__header{flex-direction:column;align-items:center;gap:24px;margin-bottom:20px}.pw-confirm--destructive .pw-confirm__icon{width:80px;height:80px;font-size:36px;background:transparent;border:4px solid #dc3545;color:#dc3545}.pw-confirm--destructive .pw-confirm__title{flex:none;text-align:center;font-size:24px;font-weight:700;line-height:1.2}.pw-confirm--destructive .pw-confirm__close{display:none}.pw-confirm--destructive .pw-confirm__body{margin-bottom:28px}.pw-confirm--destructive .pw-confirm__message{text-align:center;font-size:16px;line-height:1.5}.pw-confirm--destructive .pw-confirm__footer{justify-content:center;gap:14px;margin-top:0}.pw-confirm--destructive .pw-confirm__footer .btn{min-width:96px;padding:10px 24px;font-weight:600}::ng-deep .pw-confirm-modal .modal-content{border-radius:12px;border:1px solid #e2e5ea;box-shadow:0 10px 30px #1018281f;overflow:hidden}\n"]
|
|
166
164
|
}]
|
|
167
165
|
}],
|
|
168
|
-
ctorParameters: () => [{ type: i1$
|
|
166
|
+
ctorParameters: () => [{ type: i1$3.NgbActiveModal }],
|
|
169
167
|
propDecorators: { config: [{ type: Input }] }
|
|
170
168
|
});
|
|
171
169
|
var ConfirmDialogService = class ConfirmDialogService {
|
|
@@ -197,7 +195,7 @@ var ConfirmDialogService = class ConfirmDialogService {
|
|
|
197
195
|
version: "22.2.3",
|
|
198
196
|
ngImport: i0,
|
|
199
197
|
type: ConfirmDialogService,
|
|
200
|
-
deps: [{ token: i1$
|
|
198
|
+
deps: [{ token: i1$3.NgbModal }],
|
|
201
199
|
target: i0.ɵɵFactoryTarget.Injectable
|
|
202
200
|
});
|
|
203
201
|
}
|
|
@@ -220,7 +218,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
220
218
|
type: Injectable,
|
|
221
219
|
args: [{ providedIn: "root" }]
|
|
222
220
|
}],
|
|
223
|
-
ctorParameters: () => [{ type: i1$
|
|
221
|
+
ctorParameters: () => [{ type: i1$3.NgbModal }]
|
|
224
222
|
});
|
|
225
223
|
function folderOf(file) {
|
|
226
224
|
const slash = file.path.lastIndexOf("/");
|
|
@@ -323,7 +321,7 @@ var NoDataComponent = class NoDataComponent {
|
|
|
323
321
|
styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;height:100%;border:1px dashed rgb(204,204,204);border-radius:4px;margin:20px 0;padding:10px;background:#fafafa!important;color:oklch(from var(--text) 40% c h)!important}.no-data .message{font-weight:500;font-size:15px;color:#5a6473!important}.no-data.has-content{padding-top:10px;padding-bottom:20px}.no-data .no-data-icon{margin-top:15px;font-size:44px;line-height:1;color:#a8afbc}\n"],
|
|
324
322
|
dependencies: [{
|
|
325
323
|
kind: "directive",
|
|
326
|
-
type: i1$
|
|
324
|
+
type: i1$2.NgClass,
|
|
327
325
|
selector: "[ngClass]",
|
|
328
326
|
inputs: ["class", "ngClass"]
|
|
329
327
|
}]
|
|
@@ -407,7 +405,7 @@ var RecordsSummaryComponent = class RecordsSummaryComponent {
|
|
|
407
405
|
isInline: true,
|
|
408
406
|
dependencies: [{
|
|
409
407
|
kind: "pipe",
|
|
410
|
-
type: i2$
|
|
408
|
+
type: i2$3.TranslocoPipe,
|
|
411
409
|
name: "transloco"
|
|
412
410
|
}]
|
|
413
411
|
});
|
|
@@ -538,10 +536,10 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
|
|
|
538
536
|
ngImport: i0,
|
|
539
537
|
type: AiKnowledgeComponent,
|
|
540
538
|
deps: [
|
|
541
|
-
{ token: i1$
|
|
539
|
+
{ token: i1$1.KnowledgeFilesService },
|
|
542
540
|
{ token: ConfirmDialogService },
|
|
543
|
-
{ token: i1$
|
|
544
|
-
{ token: i2$
|
|
541
|
+
{ token: i1$1.CustomToastService },
|
|
542
|
+
{ token: i2$3.TranslocoService },
|
|
545
543
|
{ token: i0.ChangeDetectorRef }
|
|
546
544
|
],
|
|
547
545
|
target: i0.ɵɵFactoryTarget.Component
|
|
@@ -801,7 +799,7 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
|
|
|
801
799
|
},
|
|
802
800
|
{
|
|
803
801
|
kind: "directive",
|
|
804
|
-
type: i1$
|
|
802
|
+
type: i1$2.NgClass,
|
|
805
803
|
selector: "[ngClass]",
|
|
806
804
|
inputs: ["class", "ngClass"]
|
|
807
805
|
},
|
|
@@ -823,7 +821,7 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
|
|
|
823
821
|
},
|
|
824
822
|
{
|
|
825
823
|
kind: "pipe",
|
|
826
|
-
type: i2$
|
|
824
|
+
type: i2$3.TranslocoPipe,
|
|
827
825
|
name: "transloco"
|
|
828
826
|
},
|
|
829
827
|
{
|
|
@@ -850,10 +848,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
850
848
|
}]
|
|
851
849
|
}],
|
|
852
850
|
ctorParameters: () => [
|
|
853
|
-
{ type: i1$
|
|
851
|
+
{ type: i1$1.KnowledgeFilesService },
|
|
854
852
|
{ type: ConfirmDialogService },
|
|
855
|
-
{ type: i1$
|
|
856
|
-
{ type: i2$
|
|
853
|
+
{ type: i1$1.CustomToastService },
|
|
854
|
+
{ type: i2$3.TranslocoService },
|
|
857
855
|
{ type: i0.ChangeDetectorRef }
|
|
858
856
|
],
|
|
859
857
|
propDecorators: {
|
|
@@ -904,7 +902,7 @@ var AuthenticatorComponent = class AuthenticatorComponent extends AppBaseCompone
|
|
|
904
902
|
ngImport: i0,
|
|
905
903
|
type: AuthenticatorComponent,
|
|
906
904
|
deps: [
|
|
907
|
-
{ token: i1$
|
|
905
|
+
{ token: i1$1.AuthService },
|
|
908
906
|
{ token: i0.Injector },
|
|
909
907
|
{ token: i0.ChangeDetectorRef }
|
|
910
908
|
],
|
|
@@ -938,7 +936,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
938
936
|
}]
|
|
939
937
|
}],
|
|
940
938
|
ctorParameters: () => [
|
|
941
|
-
{ type: i1$
|
|
939
|
+
{ type: i1$1.AuthService },
|
|
942
940
|
{ type: i0.Injector },
|
|
943
941
|
{ type: i0.ChangeDetectorRef }
|
|
944
942
|
]
|
|
@@ -1929,7 +1927,7 @@ var PwBrainChatQuickComponent = class PwBrainChatQuickComponent {
|
|
|
1929
1927
|
version: "22.2.3",
|
|
1930
1928
|
ngImport: i0,
|
|
1931
1929
|
type: PwBrainChatQuickComponent,
|
|
1932
|
-
deps: [{ token: i1$
|
|
1930
|
+
deps: [{ token: i1$1.PermissionService }, {
|
|
1933
1931
|
token: BRAIN_CHAT_PRODUCT_PROMPTS,
|
|
1934
1932
|
optional: true
|
|
1935
1933
|
}],
|
|
@@ -1958,7 +1956,7 @@ var PwBrainChatQuickComponent = class PwBrainChatQuickComponent {
|
|
|
1958
1956
|
styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"],
|
|
1959
1957
|
dependencies: [{
|
|
1960
1958
|
kind: "directive",
|
|
1961
|
-
type: i1$
|
|
1959
|
+
type: i1$2.NgClass,
|
|
1962
1960
|
selector: "[ngClass]",
|
|
1963
1961
|
inputs: ["class", "ngClass"]
|
|
1964
1962
|
}],
|
|
@@ -1989,7 +1987,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1989
1987
|
styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"]
|
|
1990
1988
|
}]
|
|
1991
1989
|
}],
|
|
1992
|
-
ctorParameters: () => [{ type: i1$
|
|
1990
|
+
ctorParameters: () => [{ type: i1$1.PermissionService }, {
|
|
1993
1991
|
type: void 0,
|
|
1994
1992
|
decorators: [{ type: Optional }, {
|
|
1995
1993
|
type: Inject,
|
|
@@ -2017,7 +2015,7 @@ var PwBrainChatWelcomeComponent = class PwBrainChatWelcomeComponent {
|
|
|
2017
2015
|
version: "22.2.3",
|
|
2018
2016
|
ngImport: i0,
|
|
2019
2017
|
type: PwBrainChatWelcomeComponent,
|
|
2020
|
-
deps: [{ token: i1$
|
|
2018
|
+
deps: [{ token: i1$1.PermissionService }, {
|
|
2021
2019
|
token: BRAIN_CHAT_PRODUCT_PROMPTS,
|
|
2022
2020
|
optional: true
|
|
2023
2021
|
}],
|
|
@@ -2041,7 +2039,7 @@ var PwBrainChatWelcomeComponent = class PwBrainChatWelcomeComponent {
|
|
|
2041
2039
|
styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"],
|
|
2042
2040
|
dependencies: [{
|
|
2043
2041
|
kind: "directive",
|
|
2044
|
-
type: i1$
|
|
2042
|
+
type: i1$2.NgClass,
|
|
2045
2043
|
selector: "[ngClass]",
|
|
2046
2044
|
inputs: ["class", "ngClass"]
|
|
2047
2045
|
}],
|
|
@@ -2064,7 +2062,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2064
2062
|
styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"]
|
|
2065
2063
|
}]
|
|
2066
2064
|
}],
|
|
2067
|
-
ctorParameters: () => [{ type: i1$
|
|
2065
|
+
ctorParameters: () => [{ type: i1$1.PermissionService }, {
|
|
2068
2066
|
type: void 0,
|
|
2069
2067
|
decorators: [{ type: Optional }, {
|
|
2070
2068
|
type: Inject,
|
|
@@ -2545,7 +2543,7 @@ var PwBrainChatVoiceOverlayComponent = class PwBrainChatVoiceOverlayComponent {
|
|
|
2545
2543
|
styles: [".pw-vo{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:color-mix(in srgb,#12151a 40%,transparent);animation:pw-vo-in .2s ease}.pw-vo__panel{width:100%;max-width:340px;background:var(--bc-panel, #fff);border:1px solid var(--bc-line, #e2e5ea);border-radius:18px;box-shadow:0 20px 50px -18px #1018286b;padding:20px 18px 16px;text-align:center}.pw-vo__head{display:flex;justify-content:center;margin-bottom:2px}.pw-vo__kicker{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--bc-ink-3, #7c8696);font-weight:600}.pw-vo__live{width:7px;height:7px;border-radius:50%;background:var(--bc-accent, #1769e1);animation:pw-vo-pulse 1.8s ease-out infinite}.pw-vo__live--err{background:var(--bc-error, #c0392b)}.pw-vo__sonar{position:relative;width:250px;height:250px;margin:8px auto 2px}.pw-vo__dial{position:absolute;inset:0;width:250px;height:250px}.pw-vo__core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:var(--bc-panel, #fff);border:1px solid var(--bc-line, #e2e5ea);display:grid;place-items:center;box-shadow:0 6px 18px -8px #10182866}.pw-vo__core i{font-size:21px;color:var(--bc-accent, #1769e1)}.pw-vo__core-i--err{color:var(--bc-error, #c0392b)!important}.pw-vo__label{font-size:19px;font-weight:600;letter-spacing:-.01em;line-height:1.25;margin-top:4px;min-height:24px;color:var(--bc-ink, #1a1d21)}.pw-vo__label--err{color:var(--bc-error, #c0392b)}.pw-vo__transcript{font-size:13px;line-height:1.5;color:var(--bc-ink-2, #5a6473);margin:8px auto 0;max-width:300px}.pw-vo__reply{font-size:13px;line-height:1.5;color:var(--bc-ink-2, #5a6473);margin:8px auto 0;max-width:300px;max-height:76px;overflow-y:auto}.pw-vo__actions{margin-top:16px;display:flex;flex-direction:column;align-items:center;gap:8px}.pw-vo__end{display:inline-flex;align-items:center;gap:9px;height:42px;padding:0 24px;border-radius:999px;border:0;cursor:pointer;font-size:14px;font-weight:600;color:var(--bc-panel, #fff);background:var(--bc-ink, #1a1d21);transition:filter .18s ease,transform .12s ease}.pw-vo__end i{font-size:13px}.pw-vo__end:hover{filter:brightness(1.12)}.pw-vo__end:active{transform:scale(.97)}.pw-vo__end--err{background:var(--bc-error, #c0392b);color:#fff}.pw-vo__hint{font-size:11.5px;color:var(--bc-ink-3, #7c8696)}@keyframes pw-vo-in{0%{opacity:0}}@keyframes pw-vo-pulse{0%{box-shadow:0 0 color-mix(in srgb,var(--bc-accent, #1769e1) 55%,transparent)}70%,to{box-shadow:0 0 0 6px transparent}}@media(prefers-reduced-motion:reduce){.pw-vo,.pw-vo__live{animation:none!important}}\n", ".pw-vo__steps{display:flex;align-items:center;justify-content:center;margin:14px auto 4px}.pw-vo__step{display:flex;align-items:center}.pw-vo__dot{position:relative;width:9px;height:9px;border-radius:50%;background:var(--bc-line-strong, #cfd4dc);transition:background .3s ease,transform .3s ease}.pw-vo__seg{width:20px;height:2px;background:var(--bc-line-strong, #cfd4dc);transition:background .3s ease}.pw-vo__seg.is-done,.pw-vo__step.is-done .pw-vo__dot{background:var(--bc-accent, #1769e1)}.pw-vo__step.is-active .pw-vo__dot{background:var(--bc-accent, #1769e1);transform:scale(1.35)}.pw-vo__step.is-active .pw-vo__dot:after{content:\"\";position:absolute;inset:-5px;border-radius:50%;border:1.5px solid var(--bc-accent, #1769e1);opacity:.5;animation:pw-vo-step 1.4s ease-out infinite}.pw-vo__step-cap{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--bc-ink-3, #7c8696);font-weight:600;margin-top:2px}@keyframes pw-vo-step{0%{transform:scale(.55);opacity:.7}to{transform:scale(1.15);opacity:0}}@media(prefers-reduced-motion:reduce){.pw-vo__step.is-active .pw-vo__dot:after{animation:none!important}}\n"],
|
|
2546
2544
|
dependencies: [{
|
|
2547
2545
|
kind: "directive",
|
|
2548
|
-
type: i1$
|
|
2546
|
+
type: i1$2.NgClass,
|
|
2549
2547
|
selector: "[ngClass]",
|
|
2550
2548
|
inputs: ["class", "ngClass"]
|
|
2551
2549
|
}]
|
|
@@ -2768,7 +2766,7 @@ var SafeMarkdownPipe = class SafeMarkdownPipe {
|
|
|
2768
2766
|
version: "22.2.3",
|
|
2769
2767
|
ngImport: i0,
|
|
2770
2768
|
type: SafeMarkdownPipe,
|
|
2771
|
-
deps: [{ token: i1$
|
|
2769
|
+
deps: [{ token: i1$1.NavigationIndexService }, { token: i2$2.AppConfigService }],
|
|
2772
2770
|
target: i0.ɵɵFactoryTarget.Pipe
|
|
2773
2771
|
});
|
|
2774
2772
|
}
|
|
@@ -2792,7 +2790,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2792
2790
|
type: Pipe,
|
|
2793
2791
|
args: [{ name: "safeMarkdown" }]
|
|
2794
2792
|
}],
|
|
2795
|
-
ctorParameters: () => [{ type: i1$
|
|
2793
|
+
ctorParameters: () => [{ type: i1$1.NavigationIndexService }, { type: i2$2.AppConfigService }]
|
|
2796
2794
|
});
|
|
2797
2795
|
var PwBrainChatComponent = class PwBrainChatComponent {
|
|
2798
2796
|
constructor(orchestrator, localStorage, router, cdr, store, dynamicPageCtx, appConfigService, brainSocket, brainVoice, voiceChatService, directUpload, uploadApis) {
|
|
@@ -3036,30 +3034,30 @@ var PwBrainChatComponent = class PwBrainChatComponent {
|
|
|
3036
3034
|
ngImport: i0,
|
|
3037
3035
|
type: PwBrainChatComponent,
|
|
3038
3036
|
deps: [
|
|
3039
|
-
{ token: i1$
|
|
3040
|
-
{ token: i1$
|
|
3037
|
+
{ token: i1$1.MCPOrchestratorService },
|
|
3038
|
+
{ token: i1$1.LocalStorage },
|
|
3041
3039
|
{ token: i9$1.Router },
|
|
3042
3040
|
{ token: i0.ChangeDetectorRef },
|
|
3043
3041
|
{ token: i3$1.Store },
|
|
3044
3042
|
{ token: DynamicPageContextService },
|
|
3045
3043
|
{
|
|
3046
|
-
token: i2$
|
|
3044
|
+
token: i2$2.AppConfigService,
|
|
3047
3045
|
optional: true
|
|
3048
3046
|
},
|
|
3049
3047
|
{
|
|
3050
|
-
token: i1$
|
|
3048
|
+
token: i1$1.BrainSocketService,
|
|
3051
3049
|
optional: true
|
|
3052
3050
|
},
|
|
3053
3051
|
{
|
|
3054
|
-
token: i1$
|
|
3052
|
+
token: i1$1.BrainVoiceService,
|
|
3055
3053
|
optional: true
|
|
3056
3054
|
},
|
|
3057
3055
|
{
|
|
3058
|
-
token: i1$
|
|
3056
|
+
token: i1$1.VoiceChatService,
|
|
3059
3057
|
optional: true
|
|
3060
3058
|
},
|
|
3061
3059
|
{
|
|
3062
|
-
token: i1$
|
|
3060
|
+
token: i1$1.DirectUploadService,
|
|
3063
3061
|
optional: true
|
|
3064
3062
|
},
|
|
3065
3063
|
{
|
|
@@ -3119,7 +3117,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
|
|
|
3119
3117
|
},
|
|
3120
3118
|
{
|
|
3121
3119
|
kind: "directive",
|
|
3122
|
-
type: i1$
|
|
3120
|
+
type: i1$3.NgbTooltip,
|
|
3123
3121
|
selector: "[ngbTooltip]",
|
|
3124
3122
|
inputs: [
|
|
3125
3123
|
"animation",
|
|
@@ -3141,7 +3139,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
|
|
|
3141
3139
|
},
|
|
3142
3140
|
{
|
|
3143
3141
|
kind: "directive",
|
|
3144
|
-
type: i1$
|
|
3142
|
+
type: i1$2.NgClass,
|
|
3145
3143
|
selector: "[ngClass]",
|
|
3146
3144
|
inputs: ["class", "ngClass"]
|
|
3147
3145
|
},
|
|
@@ -3179,7 +3177,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
|
|
|
3179
3177
|
},
|
|
3180
3178
|
{
|
|
3181
3179
|
kind: "pipe",
|
|
3182
|
-
type: i1$
|
|
3180
|
+
type: i1$2.DatePipe,
|
|
3183
3181
|
name: "date"
|
|
3184
3182
|
},
|
|
3185
3183
|
{
|
|
@@ -3215,30 +3213,30 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3215
3213
|
}]
|
|
3216
3214
|
}],
|
|
3217
3215
|
ctorParameters: () => [
|
|
3218
|
-
{ type: i1$
|
|
3219
|
-
{ type: i1$
|
|
3216
|
+
{ type: i1$1.MCPOrchestratorService },
|
|
3217
|
+
{ type: i1$1.LocalStorage },
|
|
3220
3218
|
{ type: i9$1.Router },
|
|
3221
3219
|
{ type: i0.ChangeDetectorRef },
|
|
3222
3220
|
{ type: i3$1.Store },
|
|
3223
3221
|
{ type: DynamicPageContextService },
|
|
3224
3222
|
{
|
|
3225
|
-
type: i2$
|
|
3223
|
+
type: i2$2.AppConfigService,
|
|
3226
3224
|
decorators: [{ type: Optional }]
|
|
3227
3225
|
},
|
|
3228
3226
|
{
|
|
3229
|
-
type: i1$
|
|
3227
|
+
type: i1$1.BrainSocketService,
|
|
3230
3228
|
decorators: [{ type: Optional }]
|
|
3231
3229
|
},
|
|
3232
3230
|
{
|
|
3233
|
-
type: i1$
|
|
3231
|
+
type: i1$1.BrainVoiceService,
|
|
3234
3232
|
decorators: [{ type: Optional }]
|
|
3235
3233
|
},
|
|
3236
3234
|
{
|
|
3237
|
-
type: i1$
|
|
3235
|
+
type: i1$1.VoiceChatService,
|
|
3238
3236
|
decorators: [{ type: Optional }]
|
|
3239
3237
|
},
|
|
3240
3238
|
{
|
|
3241
|
-
type: i1$
|
|
3239
|
+
type: i1$1.DirectUploadService,
|
|
3242
3240
|
decorators: [{ type: Optional }]
|
|
3243
3241
|
},
|
|
3244
3242
|
{
|
|
@@ -3360,11 +3358,11 @@ var ClearBitIconComponent = class ClearBitIconComponent {
|
|
|
3360
3358
|
styles: [".company-monogram{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-family:Roboto,sans-serif;font-weight:600;line-height:1;letter-spacing:.2px;text-transform:uppercase;-webkit-user-select:none;user-select:none;vertical-align:middle;overflow:hidden}\n"],
|
|
3361
3359
|
dependencies: [{
|
|
3362
3360
|
kind: "directive",
|
|
3363
|
-
type: i1
|
|
3361
|
+
type: i1.LazyImgDirective,
|
|
3364
3362
|
selector: "img"
|
|
3365
3363
|
}, {
|
|
3366
3364
|
kind: "directive",
|
|
3367
|
-
type: i1$
|
|
3365
|
+
type: i1$2.NgClass,
|
|
3368
3366
|
selector: "[ngClass]",
|
|
3369
3367
|
inputs: ["class", "ngClass"]
|
|
3370
3368
|
}]
|
|
@@ -3684,7 +3682,7 @@ var CollapsibleSidebarComponent = class CollapsibleSidebarComponent {
|
|
|
3684
3682
|
{ token: i0.ChangeDetectorRef },
|
|
3685
3683
|
{ token: DOCUMENT },
|
|
3686
3684
|
{
|
|
3687
|
-
token: i2$
|
|
3685
|
+
token: i2$2.AppConfigService,
|
|
3688
3686
|
optional: true
|
|
3689
3687
|
}
|
|
3690
3688
|
],
|
|
@@ -3720,7 +3718,7 @@ var CollapsibleSidebarComponent = class CollapsibleSidebarComponent {
|
|
|
3720
3718
|
],
|
|
3721
3719
|
dependencies: [{
|
|
3722
3720
|
kind: "pipe",
|
|
3723
|
-
type: i2$
|
|
3721
|
+
type: i2$3.TranslocoPipe,
|
|
3724
3722
|
name: "transloco"
|
|
3725
3723
|
}],
|
|
3726
3724
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -3759,7 +3757,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3759
3757
|
}]
|
|
3760
3758
|
},
|
|
3761
3759
|
{
|
|
3762
|
-
type: i2$
|
|
3760
|
+
type: i2$2.AppConfigService,
|
|
3763
3761
|
decorators: [{ type: Optional }]
|
|
3764
3762
|
}
|
|
3765
3763
|
],
|
|
@@ -4331,19 +4329,19 @@ var CommandPaletteComponent = class CommandPaletteComponent {
|
|
|
4331
4329
|
type: CommandPaletteComponent,
|
|
4332
4330
|
deps: [
|
|
4333
4331
|
{ token: CommandPaletteService },
|
|
4334
|
-
{ token: i1$
|
|
4335
|
-
{ token: i1$
|
|
4336
|
-
{ token: i1$
|
|
4332
|
+
{ token: i1$1.NavigationIndexService },
|
|
4333
|
+
{ token: i1$1.DashboardService },
|
|
4334
|
+
{ token: i1$1.RecentPagesService },
|
|
4337
4335
|
{ token: CollapsibleSidebarService },
|
|
4338
4336
|
{ token: i9$1.Router },
|
|
4339
|
-
{ token: i2$
|
|
4337
|
+
{ token: i2$3.TranslocoService },
|
|
4340
4338
|
{ token: i0.ChangeDetectorRef },
|
|
4341
4339
|
{
|
|
4342
|
-
token: i2$
|
|
4340
|
+
token: i2$2.AppConfigService,
|
|
4343
4341
|
optional: true
|
|
4344
4342
|
},
|
|
4345
4343
|
{
|
|
4346
|
-
token: i1$
|
|
4344
|
+
token: i1$1.CustomToastService,
|
|
4347
4345
|
optional: true
|
|
4348
4346
|
}
|
|
4349
4347
|
],
|
|
@@ -4374,12 +4372,12 @@ var CommandPaletteComponent = class CommandPaletteComponent {
|
|
|
4374
4372
|
styles: [":host{display:inline-flex;align-items:center}.pw-palette-trigger{display:flex;align-items:center;gap:8px;width:220px;max-width:100%;height:34px;padding:0 8px 0 12px;border:1px solid #e2e5ea;border-radius:8px;background:#fff;color:#a8afbc;font-size:13px;text-align:left;transition:border-color .15s ease}.pw-palette-trigger:hover,.pw-palette-trigger:focus-visible{border-color:var(--first, #0d6efd);color:#334155}.pw-palette-trigger-icon{font-size:12px}.pw-palette-trigger-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-palette-kbd{padding:1px 6px;border:1px solid #e2e5ea;border-radius:4px;background:#f5f7fa;color:#a8afbc;font-size:11px;line-height:1.5;white-space:nowrap}.pw-palette{position:fixed;top:12vh;right:auto;bottom:auto;left:50%;z-index:1051;width:min(640px,100vw - 32px);max-width:calc(100vw - 32px);max-height:70vh;margin:0;padding:0;transform:translate(-50%);border:1px solid #e2e5ea;border-radius:12px;background:#fff;box-shadow:0 16px 48px #1018282e;overflow:hidden}.pw-palette[open]{display:flex;flex-direction:column}.pw-palette::backdrop{background:#10182852}.pw-palette-search{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #e2e5ea}.pw-palette-search-icon{color:#a8afbc;font-size:14px}.pw-palette-field{flex:1;border:0;background:transparent;color:#334155;font-size:15px}.pw-palette-field::placeholder{color:#a8afbc}.pw-palette-field:focus{outline:none}.pw-palette-results{flex:1;padding:8px 0;overflow-y:auto}.pw-palette-group+.pw-palette-group{margin-top:4px;padding-top:4px;border-top:1px solid #e2e5ea}.pw-palette-group-label{margin:0;padding:6px 16px 4px;color:#a8afbc;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.pw-palette-row{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:0 16px;border:0;background:transparent;color:#334155;font-size:14px;text-align:left}.pw-palette-row:hover,.pw-palette-row.is-active{background:color-mix(in srgb,var(--first, #0d6efd) 8%,transparent)}.pw-palette-row.is-active{box-shadow:inset 2px 0 0 var(--first, #0d6efd)}.pw-palette-row-icon{flex:0 0 16px;color:#a8afbc;font-size:14px;text-align:center}.pw-palette-row-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-palette-row-prefix{color:#a8afbc}.pw-palette-row-detail{flex:0 1 auto;max-width:45%;overflow:hidden;color:#a8afbc;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pw-palette-empty{padding:28px 16px;text-align:center}.pw-palette-empty-title{margin:0 0 4px;color:#334155;font-size:14px}.pw-palette-empty-hint{margin:0;color:#a8afbc;font-size:12px}.pw-palette-footer{display:flex;gap:16px;padding:8px 16px;border-top:1px solid #e2e5ea;background:#fbfcfd}.pw-palette-hint{display:flex;align-items:center;gap:6px;color:#a8afbc;font-size:11px}@media(max-width:991px){.pw-palette-trigger{width:34px;padding:0;justify-content:center}.pw-palette-trigger-text,.pw-palette-trigger-kbd{display:none}.pw-palette{top:8vh;max-height:78vh}}\n"],
|
|
4375
4373
|
dependencies: [{
|
|
4376
4374
|
kind: "directive",
|
|
4377
|
-
type: i1$
|
|
4375
|
+
type: i1$2.NgClass,
|
|
4378
4376
|
selector: "[ngClass]",
|
|
4379
4377
|
inputs: ["class", "ngClass"]
|
|
4380
4378
|
}, {
|
|
4381
4379
|
kind: "pipe",
|
|
4382
|
-
type: i2$
|
|
4380
|
+
type: i2$3.TranslocoPipe,
|
|
4383
4381
|
name: "transloco"
|
|
4384
4382
|
}],
|
|
4385
4383
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -4403,19 +4401,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4403
4401
|
}],
|
|
4404
4402
|
ctorParameters: () => [
|
|
4405
4403
|
{ type: CommandPaletteService },
|
|
4406
|
-
{ type: i1$
|
|
4407
|
-
{ type: i1$
|
|
4408
|
-
{ type: i1$
|
|
4404
|
+
{ type: i1$1.NavigationIndexService },
|
|
4405
|
+
{ type: i1$1.DashboardService },
|
|
4406
|
+
{ type: i1$1.RecentPagesService },
|
|
4409
4407
|
{ type: CollapsibleSidebarService },
|
|
4410
4408
|
{ type: i9$1.Router },
|
|
4411
|
-
{ type: i2$
|
|
4409
|
+
{ type: i2$3.TranslocoService },
|
|
4412
4410
|
{ type: i0.ChangeDetectorRef },
|
|
4413
4411
|
{
|
|
4414
|
-
type: i2$
|
|
4412
|
+
type: i2$2.AppConfigService,
|
|
4415
4413
|
decorators: [{ type: Optional }]
|
|
4416
4414
|
},
|
|
4417
4415
|
{
|
|
4418
|
-
type: i1$
|
|
4416
|
+
type: i1$1.CustomToastService,
|
|
4419
4417
|
decorators: [{ type: Optional }]
|
|
4420
4418
|
}
|
|
4421
4419
|
],
|
|
@@ -4449,20 +4447,18 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
|
|
|
4449
4447
|
this.acceptLabel = null;
|
|
4450
4448
|
this.privacyLinkLabel = null;
|
|
4451
4449
|
this.privacyLinkUrl = null;
|
|
4452
|
-
this.tosId = null;
|
|
4453
4450
|
this.privacyFallbackUrl = "/privacy-policy";
|
|
4454
4451
|
this.cookieKey = DEFAULT_COOKIE_KEY;
|
|
4455
4452
|
this.cookieTtlDays = DEFAULT_COOKIE_TTL_DAYS;
|
|
4456
|
-
this.visible = false;
|
|
4457
|
-
this.leaving = false;
|
|
4453
|
+
this.visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
4454
|
+
this.leaving = signal(false, ...ngDevMode ? [{ debugName: "leaving" }] : /* istanbul ignore next */ []);
|
|
4458
4455
|
this.role = "region";
|
|
4459
4456
|
}
|
|
4460
4457
|
ngOnInit() {
|
|
4461
|
-
this.visible
|
|
4458
|
+
this.visible.set(!this.hasConsentCookie());
|
|
4462
4459
|
}
|
|
4463
4460
|
get resolvedPrivacyUrl() {
|
|
4464
4461
|
if (this.privacyLinkUrl) return this.privacyLinkUrl;
|
|
4465
|
-
if (this.tosId != null) return `/privacy-and-tos/${this.tosId}`;
|
|
4466
4462
|
return this.privacyFallbackUrl ?? "/privacy-policy";
|
|
4467
4463
|
}
|
|
4468
4464
|
accept() {
|
|
@@ -4470,10 +4466,10 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
|
|
|
4470
4466
|
this.animateOut();
|
|
4471
4467
|
}
|
|
4472
4468
|
animateOut() {
|
|
4473
|
-
this.leaving
|
|
4469
|
+
this.leaving.set(true);
|
|
4474
4470
|
setTimeout(() => {
|
|
4475
|
-
this.visible
|
|
4476
|
-
this.leaving
|
|
4471
|
+
this.visible.set(false);
|
|
4472
|
+
this.leaving.set(false);
|
|
4477
4473
|
}, 220);
|
|
4478
4474
|
}
|
|
4479
4475
|
hasConsentCookie() {
|
|
@@ -4497,7 +4493,7 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
|
|
|
4497
4493
|
version: "22.2.3",
|
|
4498
4494
|
ngImport: i0,
|
|
4499
4495
|
type: PwCookieBannerComponent,
|
|
4500
|
-
deps: [{ token: DOCUMENT }, { token: i2$
|
|
4496
|
+
deps: [{ token: DOCUMENT }, { token: i2$3.TranslocoService }],
|
|
4501
4497
|
target: i0.ɵɵFactoryTarget.Component
|
|
4502
4498
|
});
|
|
4503
4499
|
}
|
|
@@ -4514,7 +4510,6 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
|
|
|
4514
4510
|
acceptLabel: "acceptLabel",
|
|
4515
4511
|
privacyLinkLabel: "privacyLinkLabel",
|
|
4516
4512
|
privacyLinkUrl: "privacyLinkUrl",
|
|
4517
|
-
tosId: "tosId",
|
|
4518
4513
|
privacyFallbackUrl: "privacyFallbackUrl",
|
|
4519
4514
|
cookieKey: "cookieKey",
|
|
4520
4515
|
cookieTtlDays: "cookieTtlDays"
|
|
@@ -4524,8 +4519,8 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
|
|
|
4524
4519
|
"attr.aria-label": "this.ariaLabel"
|
|
4525
4520
|
} },
|
|
4526
4521
|
ngImport: i0,
|
|
4527
|
-
template: "@if (visible) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
|
|
4528
|
-
styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"],
|
|
4522
|
+
template: "@if (visible()) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving()\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
|
|
4523
|
+
styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{pointer-events:none;animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"],
|
|
4529
4524
|
dependencies: [
|
|
4530
4525
|
{
|
|
4531
4526
|
kind: "ngmodule",
|
|
@@ -4537,7 +4532,7 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
|
|
|
4537
4532
|
},
|
|
4538
4533
|
{
|
|
4539
4534
|
kind: "pipe",
|
|
4540
|
-
type: i2$
|
|
4535
|
+
type: i2$3.TranslocoPipe,
|
|
4541
4536
|
name: "transloco"
|
|
4542
4537
|
}
|
|
4543
4538
|
]
|
|
@@ -4555,8 +4550,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4555
4550
|
selector: "pw-cookie-banner",
|
|
4556
4551
|
standalone: true,
|
|
4557
4552
|
imports: [CommonModule, CoreTranslocoModule],
|
|
4558
|
-
template: "@if (visible) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
|
|
4559
|
-
styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"]
|
|
4553
|
+
template: "@if (visible()) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving()\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
|
|
4554
|
+
styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{pointer-events:none;animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"]
|
|
4560
4555
|
}]
|
|
4561
4556
|
}],
|
|
4562
4557
|
ctorParameters: () => [{
|
|
@@ -4565,14 +4560,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4565
4560
|
type: Inject,
|
|
4566
4561
|
args: [DOCUMENT]
|
|
4567
4562
|
}]
|
|
4568
|
-
}, { type: i2$
|
|
4563
|
+
}, { type: i2$3.TranslocoService }],
|
|
4569
4564
|
propDecorators: {
|
|
4570
4565
|
title: [{ type: Input }],
|
|
4571
4566
|
message: [{ type: Input }],
|
|
4572
4567
|
acceptLabel: [{ type: Input }],
|
|
4573
4568
|
privacyLinkLabel: [{ type: Input }],
|
|
4574
4569
|
privacyLinkUrl: [{ type: Input }],
|
|
4575
|
-
tosId: [{ type: Input }],
|
|
4576
4570
|
privacyFallbackUrl: [{ type: Input }],
|
|
4577
4571
|
cookieKey: [{ type: Input }],
|
|
4578
4572
|
cookieTtlDays: [{ type: Input }],
|
|
@@ -4629,7 +4623,7 @@ var ChartBlockComponent = class ChartBlockComponent {
|
|
|
4629
4623
|
styles: [".dyn-chart{border:1px solid var(--line, #e2e5ea);border-radius:8px;padding:16px;min-height:96px;background:var(--surface, #fff)}.dyn-chart__label{color:var(--ink-2, #5a6473);font-size:12px;font-weight:500;margin-bottom:8px}.dyn-chart__state{color:var(--ink-3, #7c8696);font-size:12px}\n"],
|
|
4630
4624
|
dependencies: [{
|
|
4631
4625
|
kind: "pipe",
|
|
4632
|
-
type: i2$
|
|
4626
|
+
type: i2$3.TranslocoPipe,
|
|
4633
4627
|
name: "transloco"
|
|
4634
4628
|
}]
|
|
4635
4629
|
});
|
|
@@ -4735,7 +4729,7 @@ var DataTableBlockComponent = class DataTableBlockComponent {
|
|
|
4735
4729
|
styles: [".dyn-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.dyn-table th,.dyn-table td{border-bottom:1px solid var(--line, #e2e5ea);padding:8px 12px;text-align:left;font-size:14px}.dyn-table th{color:var(--ink-2, #5a6473);font-weight:500}.dyn-table__state{color:var(--ink-3, #7c8696);font-size:12px;padding:12px}\n"],
|
|
4736
4730
|
dependencies: [{
|
|
4737
4731
|
kind: "pipe",
|
|
4738
|
-
type: i2$
|
|
4732
|
+
type: i2$3.TranslocoPipe,
|
|
4739
4733
|
name: "transloco"
|
|
4740
4734
|
}]
|
|
4741
4735
|
});
|
|
@@ -4967,7 +4961,7 @@ var StatCardBlockComponent = class StatCardBlockComponent {
|
|
|
4967
4961
|
styles: [".dyn-card{border:1px solid var(--line, #e2e5ea);border-radius:8px;padding:16px;background:var(--surface, #fff)}.dyn-card__label{color:var(--ink-2, #5a6473);font-size:12px;font-weight:500}.dyn-card__value{color:var(--ink, #1a1d21);font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.dyn-card__state{color:var(--ink-3, #7c8696);font-size:12px}\n"],
|
|
4968
4962
|
dependencies: [{
|
|
4969
4963
|
kind: "pipe",
|
|
4970
|
-
type: i2$
|
|
4964
|
+
type: i2$3.TranslocoPipe,
|
|
4971
4965
|
name: "transloco"
|
|
4972
4966
|
}]
|
|
4973
4967
|
});
|
|
@@ -5150,9 +5144,9 @@ var PwDynamicPageComponent = class PwDynamicPageComponent {
|
|
|
5150
5144
|
deps: [
|
|
5151
5145
|
{ token: i0.Injector },
|
|
5152
5146
|
{ token: i0.ChangeDetectorRef },
|
|
5153
|
-
{ token: i1$
|
|
5147
|
+
{ token: i1$1.FeatureFlagService },
|
|
5154
5148
|
{
|
|
5155
|
-
token: i1$
|
|
5149
|
+
token: i1$1.UserService,
|
|
5156
5150
|
optional: true
|
|
5157
5151
|
},
|
|
5158
5152
|
{
|
|
@@ -5160,7 +5154,7 @@ var PwDynamicPageComponent = class PwDynamicPageComponent {
|
|
|
5160
5154
|
optional: true
|
|
5161
5155
|
},
|
|
5162
5156
|
{
|
|
5163
|
-
token: i2$
|
|
5157
|
+
token: i2$2.AppConfigService,
|
|
5164
5158
|
optional: true
|
|
5165
5159
|
}
|
|
5166
5160
|
],
|
|
@@ -5203,7 +5197,7 @@ var PwDynamicPageComponent = class PwDynamicPageComponent {
|
|
|
5203
5197
|
styles: [".dyn-page{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}:host ::ng-deep .dyn-page>*{grid-column:span 12}.dyn-empty{border:1px solid var(--line, #e2e5ea);border-radius:8px;background:var(--surface, #fff);padding:48px 24px;text-align:center}.dyn-empty__title{color:var(--ink, #1a1d21);font-size:17px;font-weight:700;margin-bottom:4px}.dyn-empty__hint{color:var(--ink-3, #7c8696);font-size:14px;margin:0 auto 16px;max-width:420px}\n"],
|
|
5204
5198
|
dependencies: [{
|
|
5205
5199
|
kind: "pipe",
|
|
5206
|
-
type: i2$
|
|
5200
|
+
type: i2$3.TranslocoPipe,
|
|
5207
5201
|
name: "transloco"
|
|
5208
5202
|
}]
|
|
5209
5203
|
});
|
|
@@ -5241,9 +5235,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5241
5235
|
ctorParameters: () => [
|
|
5242
5236
|
{ type: i0.Injector },
|
|
5243
5237
|
{ type: i0.ChangeDetectorRef },
|
|
5244
|
-
{ type: i1$
|
|
5238
|
+
{ type: i1$1.FeatureFlagService },
|
|
5245
5239
|
{
|
|
5246
|
-
type: i1$
|
|
5240
|
+
type: i1$1.UserService,
|
|
5247
5241
|
decorators: [{ type: Optional }]
|
|
5248
5242
|
},
|
|
5249
5243
|
{
|
|
@@ -5251,7 +5245,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5251
5245
|
decorators: [{ type: Optional }]
|
|
5252
5246
|
},
|
|
5253
5247
|
{
|
|
5254
|
-
type: i2$
|
|
5248
|
+
type: i2$2.AppConfigService,
|
|
5255
5249
|
decorators: [{ type: Optional }]
|
|
5256
5250
|
}
|
|
5257
5251
|
],
|
|
@@ -5298,7 +5292,7 @@ var HeaderComponent = class HeaderComponent extends AppBaseComponent {
|
|
|
5298
5292
|
type: HeaderComponent,
|
|
5299
5293
|
deps: [
|
|
5300
5294
|
{ token: i0.Injector },
|
|
5301
|
-
{ token: i1$
|
|
5295
|
+
{ token: i1$1.AuthService },
|
|
5302
5296
|
{ token: i0.ChangeDetectorRef }
|
|
5303
5297
|
],
|
|
5304
5298
|
target: i0.ɵɵFactoryTarget.Component
|
|
@@ -5318,11 +5312,11 @@ var HeaderComponent = class HeaderComponent extends AppBaseComponent {
|
|
|
5318
5312
|
styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.pw-bar{position:fixed;top:0;left:0;right:0;z-index:50;padding:0 var(--lp-gutter, clamp(20px, 4vw, 48px));background:color-mix(in srgb,#f7f8fa 80%,transparent);backdrop-filter:saturate(180%) blur(12px);-webkit-backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid transparent;transition:background-color .2s cubic-bezier(.2,.7,.2,1),border-color .2s cubic-bezier(.2,.7,.2,1)}.pw-bar--solid,.pw-bar:hover{background:#f7f8fa;border-bottom-color:#e2e5ea}.pw-bar__inner{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:32px;max-width:var(--lp-max-w-content, 1200px);margin:0 auto;padding:0;height:56px}.pw-bar__brand{display:inline-flex;align-items:center;text-decoration:none}.pw-bar__brand-logo{height:28px;width:auto;display:block;object-fit:contain}.pw-bar__actions{display:flex;align-items:center;gap:8px;justify-self:end}.pw-bar__login{background:transparent;border:0;padding:8px 16px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;cursor:pointer;transition:color .2s cubic-bezier(.2,.7,.2,1)}.pw-bar__login:hover,.pw-bar__login:focus-visible{color:#1a1d21;outline:none}.pw-bar__cta{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 24px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:var(--public-btn-radius);box-shadow:0 1px #0000000a;transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .2s cubic-bezier(.2,.7,.2,1),background-color .2s cubic-bezier(.2,.7,.2,1),border-color .2s cubic-bezier(.2,.7,.2,1);will-change:transform}.pw-bar__cta:hover,.pw-bar__cta:focus-visible{background:color-mix(in srgb,var(--first) 88%,#000 12%);border-color:color-mix(in srgb,var(--first) 88%,#000 12%);box-shadow:0 10px 24px -12px var(--first);color:#fff!important;outline:none;transform:translateY(-1px)}.pw-bar__toggle{width:40px;height:40px;display:none;place-items:center;background:transparent;border:0;cursor:pointer;padding:0}.pw-bar__toggle span{display:block;width:20px;height:1.5px;background:#1a1d21;margin:3px 0;transition:transform .2s cubic-bezier(.2,.7,.2,1),opacity .2s cubic-bezier(.2,.7,.2,1)}.pw-bar__toggle--open span:nth-child(1){transform:translateY(4.5px) rotate(45deg)}.pw-bar__toggle--open span:nth-child(2){opacity:0}.pw-bar__toggle--open span:nth-child(3){transform:translateY(-4.5px) rotate(-45deg)}@media(max-width:575px){.pw-bar__inner{padding:0 16px;height:60px}.pw-bar__brand-logo{height:24px}.pw-bar__cta{padding:0 16px;height:36px;font-size:13px}.pw-bar__login{padding:8px 10px;font-size:13px}}\n"],
|
|
5319
5313
|
dependencies: [{
|
|
5320
5314
|
kind: "directive",
|
|
5321
|
-
type: i1
|
|
5315
|
+
type: i1.LazyImgDirective,
|
|
5322
5316
|
selector: "img"
|
|
5323
5317
|
}, {
|
|
5324
5318
|
kind: "pipe",
|
|
5325
|
-
type: i2$
|
|
5319
|
+
type: i2$3.TranslocoPipe,
|
|
5326
5320
|
name: "transloco"
|
|
5327
5321
|
}]
|
|
5328
5322
|
});
|
|
@@ -5344,7 +5338,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5344
5338
|
}],
|
|
5345
5339
|
ctorParameters: () => [
|
|
5346
5340
|
{ type: i0.Injector },
|
|
5347
|
-
{ type: i1$
|
|
5341
|
+
{ type: i1$1.AuthService },
|
|
5348
5342
|
{ type: i0.ChangeDetectorRef }
|
|
5349
5343
|
],
|
|
5350
5344
|
propDecorators: { landing: [{ type: Input }] }
|
|
@@ -5473,9 +5467,9 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
|
|
|
5473
5467
|
ngImport: i0,
|
|
5474
5468
|
type: EntityGroupComponent,
|
|
5475
5469
|
deps: [
|
|
5476
|
-
{ token: i1$
|
|
5477
|
-
{ token: i1$
|
|
5478
|
-
{ token: i1$
|
|
5470
|
+
{ token: i1$1.GroupService },
|
|
5471
|
+
{ token: i1$1.SubscriptionService },
|
|
5472
|
+
{ token: i1$3.NgbModal },
|
|
5479
5473
|
{ token: i0.Injector },
|
|
5480
5474
|
{ token: i0.ChangeDetectorRef }
|
|
5481
5475
|
],
|
|
@@ -5534,7 +5528,7 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
|
|
|
5534
5528
|
},
|
|
5535
5529
|
{
|
|
5536
5530
|
kind: "directive",
|
|
5537
|
-
type: i1
|
|
5531
|
+
type: i1.RbacAllowDirective,
|
|
5538
5532
|
selector: "[rbacAllow]",
|
|
5539
5533
|
inputs: ["rbacAllow"]
|
|
5540
5534
|
},
|
|
@@ -5795,7 +5789,7 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
|
|
|
5795
5789
|
},
|
|
5796
5790
|
{
|
|
5797
5791
|
kind: "pipe",
|
|
5798
|
-
type: i2$
|
|
5792
|
+
type: i2$3.TranslocoPipe,
|
|
5799
5793
|
name: "transloco"
|
|
5800
5794
|
}
|
|
5801
5795
|
]
|
|
@@ -5817,9 +5811,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5817
5811
|
}]
|
|
5818
5812
|
}],
|
|
5819
5813
|
ctorParameters: () => [
|
|
5820
|
-
{ type: i1$
|
|
5821
|
-
{ type: i1$
|
|
5822
|
-
{ type: i1$
|
|
5814
|
+
{ type: i1$1.GroupService },
|
|
5815
|
+
{ type: i1$1.SubscriptionService },
|
|
5816
|
+
{ type: i1$3.NgbModal },
|
|
5823
5817
|
{ type: i0.Injector },
|
|
5824
5818
|
{ type: i0.ChangeDetectorRef }
|
|
5825
5819
|
],
|
|
@@ -5905,7 +5899,7 @@ var InputContainerComponent = class InputContainerComponent {
|
|
|
5905
5899
|
dependencies: [
|
|
5906
5900
|
{
|
|
5907
5901
|
kind: "directive",
|
|
5908
|
-
type: i1$
|
|
5902
|
+
type: i1$2.NgClass,
|
|
5909
5903
|
selector: "[ngClass]",
|
|
5910
5904
|
inputs: ["class", "ngClass"]
|
|
5911
5905
|
},
|
|
@@ -5945,7 +5939,7 @@ var InputContainerComponent = class InputContainerComponent {
|
|
|
5945
5939
|
},
|
|
5946
5940
|
{
|
|
5947
5941
|
kind: "pipe",
|
|
5948
|
-
type: i2$
|
|
5942
|
+
type: i2$3.TranslocoPipe,
|
|
5949
5943
|
name: "transloco"
|
|
5950
5944
|
}
|
|
5951
5945
|
]
|
|
@@ -6147,10 +6141,10 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
|
|
|
6147
6141
|
ngImport: i0,
|
|
6148
6142
|
type: GroupDefinitionComponent,
|
|
6149
6143
|
deps: [
|
|
6150
|
-
{ token: i1$
|
|
6144
|
+
{ token: i1$1.GroupService },
|
|
6151
6145
|
{ token: i4$1.UntypedFormBuilder },
|
|
6152
|
-
{ token: i1$
|
|
6153
|
-
{ token: i1$
|
|
6146
|
+
{ token: i1$1.SubscriptionService },
|
|
6147
|
+
{ token: i1$1.DataService },
|
|
6154
6148
|
{ token: i0.Injector },
|
|
6155
6149
|
{ token: i0.ChangeDetectorRef },
|
|
6156
6150
|
{ token: ConfirmDialogService }
|
|
@@ -6211,7 +6205,7 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
|
|
|
6211
6205
|
},
|
|
6212
6206
|
{
|
|
6213
6207
|
kind: "directive",
|
|
6214
|
-
type: i1
|
|
6208
|
+
type: i1.ButtonBusyDirective,
|
|
6215
6209
|
selector: "[buttonBusy]",
|
|
6216
6210
|
inputs: ["buttonBusy", "busyText"]
|
|
6217
6211
|
},
|
|
@@ -6292,12 +6286,12 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
|
|
|
6292
6286
|
},
|
|
6293
6287
|
{
|
|
6294
6288
|
kind: "pipe",
|
|
6295
|
-
type: i2$
|
|
6289
|
+
type: i2$3.TranslocoPipe,
|
|
6296
6290
|
name: "transloco"
|
|
6297
6291
|
},
|
|
6298
6292
|
{
|
|
6299
6293
|
kind: "pipe",
|
|
6300
|
-
type: i1$
|
|
6294
|
+
type: i1$2.SlicePipe,
|
|
6301
6295
|
name: "slice"
|
|
6302
6296
|
}
|
|
6303
6297
|
]
|
|
@@ -6325,10 +6319,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6325
6319
|
}]
|
|
6326
6320
|
}],
|
|
6327
6321
|
ctorParameters: () => [
|
|
6328
|
-
{ type: i1$
|
|
6322
|
+
{ type: i1$1.GroupService },
|
|
6329
6323
|
{ type: i4$1.UntypedFormBuilder },
|
|
6330
|
-
{ type: i1$
|
|
6331
|
-
{ type: i1$
|
|
6324
|
+
{ type: i1$1.SubscriptionService },
|
|
6325
|
+
{ type: i1$1.DataService },
|
|
6332
6326
|
{ type: i0.Injector },
|
|
6333
6327
|
{ type: i0.ChangeDetectorRef },
|
|
6334
6328
|
{ type: ConfirmDialogService }
|
|
@@ -6536,9 +6530,9 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6536
6530
|
type: GroupsComponent,
|
|
6537
6531
|
deps: [
|
|
6538
6532
|
{ token: i4$1.UntypedFormBuilder },
|
|
6539
|
-
{ token: i1$
|
|
6540
|
-
{ token: i1$
|
|
6541
|
-
{ token: i1$
|
|
6533
|
+
{ token: i1$1.GroupService },
|
|
6534
|
+
{ token: i1$1.SubscriptionService },
|
|
6535
|
+
{ token: i1$1.DataService },
|
|
6542
6536
|
{ token: i0.Injector },
|
|
6543
6537
|
{ token: i0.ChangeDetectorRef },
|
|
6544
6538
|
{ token: ConfirmDialogService }
|
|
@@ -6618,7 +6612,7 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6618
6612
|
},
|
|
6619
6613
|
{
|
|
6620
6614
|
kind: "directive",
|
|
6621
|
-
type: i1
|
|
6615
|
+
type: i1.ButtonBusyDirective,
|
|
6622
6616
|
selector: "[buttonBusy]",
|
|
6623
6617
|
inputs: ["buttonBusy", "busyText"]
|
|
6624
6618
|
},
|
|
@@ -6727,7 +6721,7 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6727
6721
|
},
|
|
6728
6722
|
{
|
|
6729
6723
|
kind: "directive",
|
|
6730
|
-
type: i1$
|
|
6724
|
+
type: i1$2.NgClass,
|
|
6731
6725
|
selector: "[ngClass]",
|
|
6732
6726
|
inputs: ["class", "ngClass"]
|
|
6733
6727
|
},
|
|
@@ -6766,12 +6760,12 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6766
6760
|
},
|
|
6767
6761
|
{
|
|
6768
6762
|
kind: "pipe",
|
|
6769
|
-
type: i2$
|
|
6763
|
+
type: i2$3.TranslocoPipe,
|
|
6770
6764
|
name: "transloco"
|
|
6771
6765
|
},
|
|
6772
6766
|
{
|
|
6773
6767
|
kind: "pipe",
|
|
6774
|
-
type: i1$
|
|
6768
|
+
type: i1$2.SlicePipe,
|
|
6775
6769
|
name: "slice"
|
|
6776
6770
|
}
|
|
6777
6771
|
]
|
|
@@ -6800,9 +6794,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6800
6794
|
}],
|
|
6801
6795
|
ctorParameters: () => [
|
|
6802
6796
|
{ type: i4$1.UntypedFormBuilder },
|
|
6803
|
-
{ type: i1$
|
|
6804
|
-
{ type: i1$
|
|
6805
|
-
{ type: i1$
|
|
6797
|
+
{ type: i1$1.GroupService },
|
|
6798
|
+
{ type: i1$1.SubscriptionService },
|
|
6799
|
+
{ type: i1$1.DataService },
|
|
6806
6800
|
{ type: i0.Injector },
|
|
6807
6801
|
{ type: i0.ChangeDetectorRef },
|
|
6808
6802
|
{ type: ConfirmDialogService }
|
|
@@ -6858,7 +6852,7 @@ var LandingPageFooterBComponent = class LandingPageFooterBComponent extends AppB
|
|
|
6858
6852
|
ngImport: i0,
|
|
6859
6853
|
type: LandingPageFooterBComponent,
|
|
6860
6854
|
deps: [
|
|
6861
|
-
{ token: i1$
|
|
6855
|
+
{ token: i1$1.AuthService },
|
|
6862
6856
|
{ token: i0.ChangeDetectorRef },
|
|
6863
6857
|
{ token: i0.Injector }
|
|
6864
6858
|
],
|
|
@@ -6879,7 +6873,7 @@ var LandingPageFooterBComponent = class LandingPageFooterBComponent extends AppB
|
|
|
6879
6873
|
dependencies: [
|
|
6880
6874
|
{
|
|
6881
6875
|
kind: "directive",
|
|
6882
|
-
type: i1
|
|
6876
|
+
type: i1.LazyImgDirective,
|
|
6883
6877
|
selector: "img"
|
|
6884
6878
|
},
|
|
6885
6879
|
{
|
|
@@ -6903,7 +6897,7 @@ var LandingPageFooterBComponent = class LandingPageFooterBComponent extends AppB
|
|
|
6903
6897
|
},
|
|
6904
6898
|
{
|
|
6905
6899
|
kind: "pipe",
|
|
6906
|
-
type: i1$
|
|
6900
|
+
type: i1$2.DatePipe,
|
|
6907
6901
|
name: "date"
|
|
6908
6902
|
}
|
|
6909
6903
|
]
|
|
@@ -6925,7 +6919,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6925
6919
|
}]
|
|
6926
6920
|
}],
|
|
6927
6921
|
ctorParameters: () => [
|
|
6928
|
-
{ type: i1$
|
|
6922
|
+
{ type: i1$1.AuthService },
|
|
6929
6923
|
{ type: i0.ChangeDetectorRef },
|
|
6930
6924
|
{ type: i0.Injector }
|
|
6931
6925
|
]
|
|
@@ -7125,7 +7119,7 @@ var NumberPickerComponent = class NumberPickerComponent {
|
|
|
7125
7119
|
version: "22.2.3",
|
|
7126
7120
|
ngImport: i0,
|
|
7127
7121
|
type: NumberPickerComponent,
|
|
7128
|
-
deps: [{ token: i1$
|
|
7122
|
+
deps: [{ token: i1$1.NumberPickerService }],
|
|
7129
7123
|
target: i0.ɵɵFactoryTarget.Component
|
|
7130
7124
|
});
|
|
7131
7125
|
}
|
|
@@ -7247,7 +7241,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7247
7241
|
styles: ["input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.increase:hover,.decrease:hover{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:pointer;background-color:#d8d8d8}.increase{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important}.vertical{display:flex;justify-content:center;flex-direction:column;text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:pointer}.vertical span{line-height:15px}.input-md .vertical span,.input-sm .vertical span{padding:2px 10px}.input-lg .vertical span{padding:4px 10px}.input-xlg .vertical span{padding:7px 10px}.input-md,.input-medium{height:45px}.input-lg,.input-large{height:50px}.input-xlg,.input-xlarge{height:75px}.input-md input,.input-medium input,.input-md span,.input-medium span{font-size:22px}.input-lg input,.input-large input,.input-lg span,.input-large span{font-size:25px}.input-xlg input,.input-xlarge input,.input-xlg span,.input-xlarge span{font-size:38px}\n"]
|
|
7248
7242
|
}]
|
|
7249
7243
|
}],
|
|
7250
|
-
ctorParameters: () => [{ type: i1$
|
|
7244
|
+
ctorParameters: () => [{ type: i1$1.NumberPickerService }],
|
|
7251
7245
|
propDecorators: {
|
|
7252
7246
|
min: [{ type: Input }],
|
|
7253
7247
|
showTooltip: [{ type: Input }],
|
|
@@ -7336,7 +7330,7 @@ var OnlineIndicatorComponent = class OnlineIndicatorComponent {
|
|
|
7336
7330
|
},
|
|
7337
7331
|
{
|
|
7338
7332
|
kind: "pipe",
|
|
7339
|
-
type: i2$
|
|
7333
|
+
type: i2$3.TranslocoPipe,
|
|
7340
7334
|
name: "transloco"
|
|
7341
7335
|
},
|
|
7342
7336
|
{
|
|
@@ -7417,7 +7411,7 @@ var PasswordValidationComponent = class PasswordValidationComponent extends AppB
|
|
|
7417
7411
|
type: PasswordValidationComponent,
|
|
7418
7412
|
deps: [
|
|
7419
7413
|
{ token: i0.Injector },
|
|
7420
|
-
{ token: i1$
|
|
7414
|
+
{ token: i1$3.NgbModal },
|
|
7421
7415
|
{ token: i0.ChangeDetectorRef }
|
|
7422
7416
|
],
|
|
7423
7417
|
target: i0.ɵɵFactoryTarget.Component
|
|
@@ -7477,13 +7471,13 @@ var PasswordValidationComponent = class PasswordValidationComponent extends AppB
|
|
|
7477
7471
|
},
|
|
7478
7472
|
{
|
|
7479
7473
|
kind: "directive",
|
|
7480
|
-
type: i1
|
|
7474
|
+
type: i1.ButtonBusyDirective,
|
|
7481
7475
|
selector: "[buttonBusy]",
|
|
7482
7476
|
inputs: ["buttonBusy", "busyText"]
|
|
7483
7477
|
},
|
|
7484
7478
|
{
|
|
7485
7479
|
kind: "pipe",
|
|
7486
|
-
type: i2$
|
|
7480
|
+
type: i2$3.TranslocoPipe,
|
|
7487
7481
|
name: "transloco"
|
|
7488
7482
|
}
|
|
7489
7483
|
]
|
|
@@ -7506,7 +7500,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7506
7500
|
}],
|
|
7507
7501
|
ctorParameters: () => [
|
|
7508
7502
|
{ type: i0.Injector },
|
|
7509
|
-
{ type: i1$
|
|
7503
|
+
{ type: i1$3.NgbModal },
|
|
7510
7504
|
{ type: i0.ChangeDetectorRef }
|
|
7511
7505
|
],
|
|
7512
7506
|
propDecorators: {
|
|
@@ -7633,6 +7627,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7633
7627
|
ctorParameters: () => [{ type: i0.ElementRef }],
|
|
7634
7628
|
propDecorators: { data: [{ type: Input }] }
|
|
7635
7629
|
});
|
|
7630
|
+
const TABS = /* @__PURE__ */ new Set(["privacy-policy", "terms-of-service"]);
|
|
7636
7631
|
var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseComponent {
|
|
7637
7632
|
get companyName() {
|
|
7638
7633
|
return this.appConfig?.company?.name ?? "";
|
|
@@ -7640,57 +7635,60 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7640
7635
|
get companyEmail() {
|
|
7641
7636
|
return this.appConfig?.company?.email ?? "";
|
|
7642
7637
|
}
|
|
7643
|
-
constructor(
|
|
7638
|
+
constructor(legalPages, injector, cdr) {
|
|
7644
7639
|
super(injector);
|
|
7645
|
-
this.
|
|
7646
|
-
this.document = document;
|
|
7647
|
-
this.sanitizer = sanitizer;
|
|
7640
|
+
this.legalPages = legalPages;
|
|
7648
7641
|
this.cdr = cdr;
|
|
7649
7642
|
this.routers = ADMIN_ROUTERS;
|
|
7650
7643
|
this.tabId = "privacy-policy";
|
|
7651
7644
|
this.tocPrivacy = [];
|
|
7652
7645
|
this.tocTos = [];
|
|
7646
|
+
this.destroyRef = inject(DestroyRef);
|
|
7653
7647
|
}
|
|
7654
7648
|
get canEditPolicy() {
|
|
7655
7649
|
return !!this.privacyServiceId && this.permissionService.isUserSubscriptionSuperAdmin();
|
|
7656
7650
|
}
|
|
7657
7651
|
ngOnInit() {
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
this.isLoaded = false
|
|
7663
|
-
|
|
7664
|
-
this.
|
|
7665
|
-
if (this.id) {
|
|
7666
|
-
const id = this.id === "details" ? this.privacyAndTos : this.id;
|
|
7667
|
-
this.getTosDetails(Number(id));
|
|
7668
|
-
this.isPublic = true;
|
|
7669
|
-
} else if (this.productId) this.getSubscribedProduct(this.productId);
|
|
7670
|
-
else this.route.params.subscribe((id) => {
|
|
7671
|
-
this.tabId = id["data"] ?? "privacy-policy";
|
|
7672
|
-
this.getSubscribedProduct();
|
|
7673
|
-
this.cdr.markForCheck();
|
|
7674
|
-
});
|
|
7675
|
-
this.cdr.markForCheck();
|
|
7676
|
-
});
|
|
7677
|
-
}
|
|
7678
|
-
getSubscribedProduct(id) {
|
|
7679
|
-
this.userStore().subscribe((user) => {
|
|
7680
|
-
this.user = user;
|
|
7681
|
-
if (user) this.fetchUserSubscriptions(user.id, id);
|
|
7652
|
+
const snapshot = this.route.snapshot;
|
|
7653
|
+
const tab = snapshot.queryParamMap.get("tab") ?? snapshot.data?.["tab"];
|
|
7654
|
+
this.tabId = TABS.has(tab) ? tab : "privacy-policy";
|
|
7655
|
+
this.isPublic = !!snapshot.data?.["public"];
|
|
7656
|
+
(this.productId || !this.isPublic ? this.productSlug(this.productId ?? PermissionService.selectedProduct?.id) : this.route.params.pipe(map((params) => params["slug"] ?? null))).pipe(tap(() => this.isLoaded = false), switchMap((slug) => this.legalPages.getPolicy(slug).pipe(catchError(() => of(null)))), takeUntilDestroyed(this.destroyRef)).subscribe((policy) => {
|
|
7657
|
+
this.show(policy);
|
|
7658
|
+
this.isLoaded = true;
|
|
7682
7659
|
this.cdr.markForCheck();
|
|
7683
7660
|
});
|
|
7684
7661
|
}
|
|
7685
|
-
|
|
7686
|
-
this.userService.getUserSubscriptions(userId).
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7662
|
+
productSlug(productId) {
|
|
7663
|
+
return this.userStore().pipe(map((user) => user?.id ?? null), distinctUntilChanged(), switchMap((userId) => userId ? this.userService.getUserSubscriptions(userId).pipe(map((response) => this.policyIdOf(response?.subscriptions, productId)), catchError(() => of(null))) : of(null)), switchMap((policyId) => this.legalPages.slugFor(policyId)));
|
|
7664
|
+
}
|
|
7665
|
+
policyIdOf(subscriptions, productId) {
|
|
7666
|
+
return (subscriptions ?? []).flatMap((subscription) => subscription?.products ?? []).find((item) => item?.id === productId)?.product_privacy_service_id ?? null;
|
|
7667
|
+
}
|
|
7668
|
+
show(policy) {
|
|
7669
|
+
this.privacyServiceId = policy?.id;
|
|
7670
|
+
const privacy = this.parse(policy?.privacy, "pp");
|
|
7671
|
+
const tos = this.parse(policy?.tos, "tos");
|
|
7672
|
+
this.tocPrivacy = privacy.toc;
|
|
7673
|
+
this.tocTos = tos.toc;
|
|
7674
|
+
this.data = policy ? {
|
|
7675
|
+
tos_updated_at: policy.tos_updated_at,
|
|
7676
|
+
privacy: privacy.html,
|
|
7677
|
+
tos: tos.html
|
|
7678
|
+
} : {};
|
|
7679
|
+
}
|
|
7680
|
+
parse(html, prefix) {
|
|
7681
|
+
if (!html || typeof DOMParser === "undefined") return {
|
|
7682
|
+
html,
|
|
7683
|
+
toc: []
|
|
7684
|
+
};
|
|
7685
|
+
const doc = new DOMParser().parseFromString(html, "text/html");
|
|
7686
|
+
doc.querySelectorAll("button").forEach((b) => b.remove());
|
|
7687
|
+
const toc = this.buildToc(doc, prefix);
|
|
7688
|
+
return {
|
|
7689
|
+
html: doc.body.innerHTML,
|
|
7690
|
+
toc
|
|
7691
|
+
};
|
|
7694
7692
|
}
|
|
7695
7693
|
buildToc(doc, prefix) {
|
|
7696
7694
|
const items = [];
|
|
@@ -7704,43 +7702,6 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7704
7702
|
});
|
|
7705
7703
|
return items;
|
|
7706
7704
|
}
|
|
7707
|
-
findRequiredProducts(productId) {
|
|
7708
|
-
const products = [];
|
|
7709
|
-
this.subscribedSubscriptions.forEach((subscribe) => {
|
|
7710
|
-
const requiredProduct = subscribe?.products.find((x) => x?.id === productId);
|
|
7711
|
-
if (requiredProduct) products.push(requiredProduct);
|
|
7712
|
-
});
|
|
7713
|
-
return products;
|
|
7714
|
-
}
|
|
7715
|
-
getTosDetails(id) {
|
|
7716
|
-
this.privacyServiceId = id;
|
|
7717
|
-
this.adminService.getTosDetails(id).subscribe((response) => {
|
|
7718
|
-
const parser = new DOMParser();
|
|
7719
|
-
let privacyData;
|
|
7720
|
-
if (response?.privacy) {
|
|
7721
|
-
const privacyDoc = parser.parseFromString(response?.privacy, "text/html");
|
|
7722
|
-
privacyDoc.querySelectorAll("button").forEach((b) => b.remove());
|
|
7723
|
-
this.tocPrivacy = this.buildToc(privacyDoc, "pp");
|
|
7724
|
-
privacyData = this.sanitizer.bypassSecurityTrustHtml(privacyDoc.body.innerHTML);
|
|
7725
|
-
}
|
|
7726
|
-
let tosData;
|
|
7727
|
-
if (response?.tos) {
|
|
7728
|
-
const tosDoc = parser.parseFromString(response?.tos, "text/html");
|
|
7729
|
-
tosDoc.querySelectorAll("button").forEach((b) => b.remove());
|
|
7730
|
-
this.tocTos = this.buildToc(tosDoc, "tos");
|
|
7731
|
-
tosData = this.sanitizer.bypassSecurityTrustHtml(tosDoc.body.innerHTML);
|
|
7732
|
-
}
|
|
7733
|
-
this.data = {
|
|
7734
|
-
...response,
|
|
7735
|
-
privacy: privacyData,
|
|
7736
|
-
tos: tosData
|
|
7737
|
-
};
|
|
7738
|
-
this.cdr.markForCheck();
|
|
7739
|
-
}).add(() => {
|
|
7740
|
-
this.isLoaded = true;
|
|
7741
|
-
this.cdr.markForCheck();
|
|
7742
|
-
});
|
|
7743
|
-
}
|
|
7744
7705
|
static {
|
|
7745
7706
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
7746
7707
|
minVersion: "12.0.0",
|
|
@@ -7748,10 +7709,8 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7748
7709
|
ngImport: i0,
|
|
7749
7710
|
type: PrivacyAndTosComponent,
|
|
7750
7711
|
deps: [
|
|
7751
|
-
{ token: i1.
|
|
7712
|
+
{ token: i1$1.LegalPagesService },
|
|
7752
7713
|
{ token: i0.Injector },
|
|
7753
|
-
{ token: DOCUMENT$1 },
|
|
7754
|
-
{ token: i2$2.DomSanitizer },
|
|
7755
7714
|
{ token: i0.ChangeDetectorRef }
|
|
7756
7715
|
],
|
|
7757
7716
|
target: i0.ɵɵFactoryTarget.Component
|
|
@@ -7801,12 +7760,12 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7801
7760
|
},
|
|
7802
7761
|
{
|
|
7803
7762
|
kind: "directive",
|
|
7804
|
-
type: i1$
|
|
7763
|
+
type: i1$3.NgbNavContent,
|
|
7805
7764
|
selector: "ng-template[ngbNavContent]"
|
|
7806
7765
|
},
|
|
7807
7766
|
{
|
|
7808
7767
|
kind: "directive",
|
|
7809
|
-
type: i1$
|
|
7768
|
+
type: i1$3.NgbNav,
|
|
7810
7769
|
selector: "[ngbNav]",
|
|
7811
7770
|
inputs: [
|
|
7812
7771
|
"activeId",
|
|
@@ -7826,7 +7785,7 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7826
7785
|
},
|
|
7827
7786
|
{
|
|
7828
7787
|
kind: "directive",
|
|
7829
|
-
type: i1$
|
|
7788
|
+
type: i1$3.NgbNavItem,
|
|
7830
7789
|
selector: "[ngbNavItem]",
|
|
7831
7790
|
inputs: [
|
|
7832
7791
|
"destroyOnHide",
|
|
@@ -7839,22 +7798,22 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7839
7798
|
},
|
|
7840
7799
|
{
|
|
7841
7800
|
kind: "directive",
|
|
7842
|
-
type: i1$
|
|
7801
|
+
type: i1$3.NgbNavItemRole,
|
|
7843
7802
|
selector: "[ngbNavItem]:not(ng-container)"
|
|
7844
7803
|
},
|
|
7845
7804
|
{
|
|
7846
7805
|
kind: "directive",
|
|
7847
|
-
type: i1$
|
|
7806
|
+
type: i1$3.NgbNavLink,
|
|
7848
7807
|
selector: "a[ngbNavLink]"
|
|
7849
7808
|
},
|
|
7850
7809
|
{
|
|
7851
7810
|
kind: "directive",
|
|
7852
|
-
type: i1$
|
|
7811
|
+
type: i1$3.NgbNavLinkBase,
|
|
7853
7812
|
selector: "[ngbNavLink]"
|
|
7854
7813
|
},
|
|
7855
7814
|
{
|
|
7856
7815
|
kind: "component",
|
|
7857
|
-
type: i1$
|
|
7816
|
+
type: i1$3.NgbNavOutlet,
|
|
7858
7817
|
selector: "[ngbNavOutlet]",
|
|
7859
7818
|
inputs: ["paneRole", "ngbNavOutlet"]
|
|
7860
7819
|
},
|
|
@@ -7866,12 +7825,12 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7866
7825
|
},
|
|
7867
7826
|
{
|
|
7868
7827
|
kind: "pipe",
|
|
7869
|
-
type: i2$
|
|
7828
|
+
type: i2$3.TranslocoPipe,
|
|
7870
7829
|
name: "transloco"
|
|
7871
7830
|
},
|
|
7872
7831
|
{
|
|
7873
7832
|
kind: "pipe",
|
|
7874
|
-
type: i1$
|
|
7833
|
+
type: i1$2.DatePipe,
|
|
7875
7834
|
name: "date"
|
|
7876
7835
|
}
|
|
7877
7836
|
]
|
|
@@ -7893,71 +7852,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7893
7852
|
}]
|
|
7894
7853
|
}],
|
|
7895
7854
|
ctorParameters: () => [
|
|
7896
|
-
{ type: i1.
|
|
7855
|
+
{ type: i1$1.LegalPagesService },
|
|
7897
7856
|
{ type: i0.Injector },
|
|
7898
|
-
{
|
|
7899
|
-
type: Document,
|
|
7900
|
-
decorators: [{
|
|
7901
|
-
type: Inject,
|
|
7902
|
-
args: [DOCUMENT$1]
|
|
7903
|
-
}]
|
|
7904
|
-
},
|
|
7905
|
-
{ type: i2$2.DomSanitizer },
|
|
7906
7857
|
{ type: i0.ChangeDetectorRef }
|
|
7907
7858
|
],
|
|
7908
7859
|
propDecorators: { productId: [{ type: Input }] }
|
|
7909
7860
|
});
|
|
7910
|
-
var PrivacyPolicyComponent = class PrivacyPolicyComponent {
|
|
7911
|
-
constructor(appConfigService, router) {
|
|
7912
|
-
this.appConfigService = appConfigService;
|
|
7913
|
-
this.router = router;
|
|
7914
|
-
}
|
|
7915
|
-
ngOnInit() {
|
|
7916
|
-
this.appConfigService.appConfig$.pipe(filter((config) => !!config?.["main_tos_id"]), take(1)).subscribe((config) => {
|
|
7917
|
-
this.router.navigate(["/privacy-and-tos", config["main_tos_id"]], {
|
|
7918
|
-
queryParams: { tab: "privacy-policy" },
|
|
7919
|
-
replaceUrl: true
|
|
7920
|
-
});
|
|
7921
|
-
});
|
|
7922
|
-
}
|
|
7923
|
-
static {
|
|
7924
|
-
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
7925
|
-
minVersion: "12.0.0",
|
|
7926
|
-
version: "22.2.3",
|
|
7927
|
-
ngImport: i0,
|
|
7928
|
-
type: PrivacyPolicyComponent,
|
|
7929
|
-
deps: [{ token: i2$3.AppConfigService }, { token: i9$1.Router }],
|
|
7930
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
7931
|
-
});
|
|
7932
|
-
}
|
|
7933
|
-
static {
|
|
7934
|
-
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
7935
|
-
minVersion: "14.0.0",
|
|
7936
|
-
version: "22.2.3",
|
|
7937
|
-
type: PrivacyPolicyComponent,
|
|
7938
|
-
isStandalone: false,
|
|
7939
|
-
selector: "pw-privacy-policy",
|
|
7940
|
-
ngImport: i0,
|
|
7941
|
-
template: "",
|
|
7942
|
-
isInline: true
|
|
7943
|
-
});
|
|
7944
|
-
}
|
|
7945
|
-
};
|
|
7946
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
7947
|
-
minVersion: "12.0.0",
|
|
7948
|
-
version: "22.2.3",
|
|
7949
|
-
ngImport: i0,
|
|
7950
|
-
type: PrivacyPolicyComponent,
|
|
7951
|
-
decorators: [{
|
|
7952
|
-
type: Component,
|
|
7953
|
-
args: [{
|
|
7954
|
-
selector: "pw-privacy-policy",
|
|
7955
|
-
template: "",
|
|
7956
|
-
standalone: false
|
|
7957
|
-
}]
|
|
7958
|
-
}],
|
|
7959
|
-
ctorParameters: () => [{ type: i2$3.AppConfigService }, { type: i9$1.Router }]
|
|
7960
|
-
});
|
|
7961
7861
|
var PwTabsComponent = class PwTabsComponent extends AppBaseComponent {
|
|
7962
7862
|
constructor(injector, cdr) {
|
|
7963
7863
|
super(injector);
|
|
@@ -8353,12 +8253,12 @@ var CompletionBarComponent = class CompletionBarComponent {
|
|
|
8353
8253
|
styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.pw-completion-bar{display:inline-flex;align-items:center;gap:8px;line-height:1}.pw-completion-bar__track{display:inline-flex;align-items:flex-end;gap:2px}.pw-completion-bar__seg{width:4px;height:14px;border-radius:1px;background-color:#e2e5ea;transition:background-color .15s ease-out}.pw-completion-bar__label{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;color:oklch(from var(--text) 40% c h);min-width:30px}.pw-completion-bar__track.tier-low .pw-completion-bar__seg.is-filled{background-color:#ff586b}.pw-completion-bar__track.tier-mid .pw-completion-bar__seg.is-filled{background-color:#fbab00}.pw-completion-bar__track.tier-high .pw-completion-bar__seg.is-filled{background-color:#45d292}\n"],
|
|
8354
8254
|
dependencies: [{
|
|
8355
8255
|
kind: "directive",
|
|
8356
|
-
type: i1$
|
|
8256
|
+
type: i1$2.NgClass,
|
|
8357
8257
|
selector: "[ngClass]",
|
|
8358
8258
|
inputs: ["class", "ngClass"]
|
|
8359
8259
|
}, {
|
|
8360
8260
|
kind: "directive",
|
|
8361
|
-
type: i1$
|
|
8261
|
+
type: i1$3.NgbTooltip,
|
|
8362
8262
|
selector: "[ngbTooltip]",
|
|
8363
8263
|
inputs: [
|
|
8364
8264
|
"animation",
|
|
@@ -8576,13 +8476,13 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
|
|
|
8576
8476
|
dependencies: [
|
|
8577
8477
|
{
|
|
8578
8478
|
kind: "directive",
|
|
8579
|
-
type: i1$
|
|
8479
|
+
type: i1$2.NgClass,
|
|
8580
8480
|
selector: "[ngClass]",
|
|
8581
8481
|
inputs: ["class", "ngClass"]
|
|
8582
8482
|
},
|
|
8583
8483
|
{
|
|
8584
8484
|
kind: "directive",
|
|
8585
|
-
type: i1$
|
|
8485
|
+
type: i1$2.NgTemplateOutlet,
|
|
8586
8486
|
selector: "[ngTemplateOutlet]",
|
|
8587
8487
|
inputs: [
|
|
8588
8488
|
"ngTemplateOutletContext",
|
|
@@ -8696,7 +8596,7 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
|
|
|
8696
8596
|
},
|
|
8697
8597
|
{
|
|
8698
8598
|
kind: "pipe",
|
|
8699
|
-
type: i2$
|
|
8599
|
+
type: i2$3.TranslocoPipe,
|
|
8700
8600
|
name: "transloco"
|
|
8701
8601
|
}
|
|
8702
8602
|
],
|
|
@@ -8924,57 +8824,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8924
8824
|
}]
|
|
8925
8825
|
}]
|
|
8926
8826
|
});
|
|
8927
|
-
var TermsConditionsComponent = class TermsConditionsComponent {
|
|
8928
|
-
constructor(appConfigService, router) {
|
|
8929
|
-
this.appConfigService = appConfigService;
|
|
8930
|
-
this.router = router;
|
|
8931
|
-
}
|
|
8932
|
-
ngOnInit() {
|
|
8933
|
-
this.appConfigService.appConfig$.pipe(filter((config) => !!config?.["main_tos_id"]), take(1)).subscribe((config) => {
|
|
8934
|
-
this.router.navigate(["/privacy-and-tos", config["main_tos_id"]], {
|
|
8935
|
-
queryParams: { tab: "terms-of-service" },
|
|
8936
|
-
replaceUrl: true
|
|
8937
|
-
});
|
|
8938
|
-
});
|
|
8939
|
-
}
|
|
8940
|
-
static {
|
|
8941
|
-
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
8942
|
-
minVersion: "12.0.0",
|
|
8943
|
-
version: "22.2.3",
|
|
8944
|
-
ngImport: i0,
|
|
8945
|
-
type: TermsConditionsComponent,
|
|
8946
|
-
deps: [{ token: i2$3.AppConfigService }, { token: i9$1.Router }],
|
|
8947
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
8948
|
-
});
|
|
8949
|
-
}
|
|
8950
|
-
static {
|
|
8951
|
-
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
8952
|
-
minVersion: "14.0.0",
|
|
8953
|
-
version: "22.2.3",
|
|
8954
|
-
type: TermsConditionsComponent,
|
|
8955
|
-
isStandalone: false,
|
|
8956
|
-
selector: "pw-terms-conditions",
|
|
8957
|
-
ngImport: i0,
|
|
8958
|
-
template: "",
|
|
8959
|
-
isInline: true
|
|
8960
|
-
});
|
|
8961
|
-
}
|
|
8962
|
-
};
|
|
8963
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
8964
|
-
minVersion: "12.0.0",
|
|
8965
|
-
version: "22.2.3",
|
|
8966
|
-
ngImport: i0,
|
|
8967
|
-
type: TermsConditionsComponent,
|
|
8968
|
-
decorators: [{
|
|
8969
|
-
type: Component,
|
|
8970
|
-
args: [{
|
|
8971
|
-
selector: "pw-terms-conditions",
|
|
8972
|
-
template: "",
|
|
8973
|
-
standalone: false
|
|
8974
|
-
}]
|
|
8975
|
-
}],
|
|
8976
|
-
ctorParameters: () => [{ type: i2$3.AppConfigService }, { type: i9$1.Router }]
|
|
8977
|
-
});
|
|
8978
8827
|
const allModules = [
|
|
8979
8828
|
NgbTooltipModule,
|
|
8980
8829
|
TooltipModule,
|
|
@@ -9017,8 +8866,6 @@ var SharedComponentsModule = class SharedComponentsModule {
|
|
|
9017
8866
|
DateRangePickerComponent,
|
|
9018
8867
|
PermissionTreeComponent,
|
|
9019
8868
|
PrivacyAndTosComponent,
|
|
9020
|
-
PrivacyPolicyComponent,
|
|
9021
|
-
TermsConditionsComponent,
|
|
9022
8869
|
SplashComponent,
|
|
9023
8870
|
AuthenticatorComponent,
|
|
9024
8871
|
ClearBitIconComponent,
|
|
@@ -9101,8 +8948,6 @@ var SharedComponentsModule = class SharedComponentsModule {
|
|
|
9101
8948
|
i2.NgxDaterangepickerMd,
|
|
9102
8949
|
PermissionTreeComponent,
|
|
9103
8950
|
PrivacyAndTosComponent,
|
|
9104
|
-
PrivacyPolicyComponent,
|
|
9105
|
-
TermsConditionsComponent,
|
|
9106
8951
|
SplashComponent,
|
|
9107
8952
|
AuthenticatorComponent,
|
|
9108
8953
|
ClearBitIconComponent,
|
|
@@ -9181,8 +9026,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9181
9026
|
DateRangePickerComponent,
|
|
9182
9027
|
PermissionTreeComponent,
|
|
9183
9028
|
PrivacyAndTosComponent,
|
|
9184
|
-
PrivacyPolicyComponent,
|
|
9185
|
-
TermsConditionsComponent,
|
|
9186
9029
|
SplashComponent,
|
|
9187
9030
|
AuthenticatorComponent,
|
|
9188
9031
|
ClearBitIconComponent,
|
|
@@ -9239,8 +9082,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9239
9082
|
allModules,
|
|
9240
9083
|
PermissionTreeComponent,
|
|
9241
9084
|
PrivacyAndTosComponent,
|
|
9242
|
-
PrivacyPolicyComponent,
|
|
9243
|
-
TermsConditionsComponent,
|
|
9244
9085
|
SplashComponent,
|
|
9245
9086
|
AuthenticatorComponent,
|
|
9246
9087
|
ClearBitIconComponent,
|
|
@@ -9262,6 +9103,50 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9262
9103
|
}]
|
|
9263
9104
|
}]
|
|
9264
9105
|
});
|
|
9106
|
+
const TITLES = {
|
|
9107
|
+
"privacy-policy": "Privacy Policy",
|
|
9108
|
+
"terms-of-service": "Terms & conditions"
|
|
9109
|
+
};
|
|
9110
|
+
function publicLegalPageRoutes(options = {}) {
|
|
9111
|
+
const page = (path, tab) => ({
|
|
9112
|
+
path,
|
|
9113
|
+
component: PrivacyAndTosComponent,
|
|
9114
|
+
data: {
|
|
9115
|
+
title: options.title ?? TITLES[tab],
|
|
9116
|
+
...options.description ? { description: options.description } : {},
|
|
9117
|
+
public: true,
|
|
9118
|
+
tab
|
|
9119
|
+
},
|
|
9120
|
+
...options.canActivate ? { canActivate: options.canActivate } : {}
|
|
9121
|
+
});
|
|
9122
|
+
return [
|
|
9123
|
+
page("privacy-policy", "privacy-policy"),
|
|
9124
|
+
page("privacy-policy/:slug", "privacy-policy"),
|
|
9125
|
+
page("terms-conditions", "terms-of-service"),
|
|
9126
|
+
page("terms-conditions/:slug", "terms-of-service"),
|
|
9127
|
+
{
|
|
9128
|
+
path: "privacy-and-tos",
|
|
9129
|
+
redirectTo: "privacy-policy",
|
|
9130
|
+
pathMatch: "full"
|
|
9131
|
+
},
|
|
9132
|
+
{
|
|
9133
|
+
path: "privacy-and-tos/:Id",
|
|
9134
|
+
redirectTo: "privacy-policy",
|
|
9135
|
+
pathMatch: "full"
|
|
9136
|
+
}
|
|
9137
|
+
];
|
|
9138
|
+
}
|
|
9139
|
+
function dashboardLegalPageRoutes() {
|
|
9140
|
+
const page = (path, tab) => ({
|
|
9141
|
+
path,
|
|
9142
|
+
component: PrivacyAndTosComponent,
|
|
9143
|
+
data: {
|
|
9144
|
+
title: TITLES[tab],
|
|
9145
|
+
tab
|
|
9146
|
+
}
|
|
9147
|
+
});
|
|
9148
|
+
return [page("privacy-policies", "privacy-policy"), page("terms-of-service", "terms-of-service")];
|
|
9149
|
+
}
|
|
9265
9150
|
function hasOpenMandatorySteps(status) {
|
|
9266
9151
|
const progress = status?.progress;
|
|
9267
9152
|
return status?.status === "ok" && !!progress?.total && progress.done < progress.total;
|
|
@@ -9284,7 +9169,7 @@ var CollapsibleSidebarSuperAdminGuard = class CollapsibleSidebarSuperAdminGuard
|
|
|
9284
9169
|
version: "22.2.3",
|
|
9285
9170
|
ngImport: i0,
|
|
9286
9171
|
type: CollapsibleSidebarSuperAdminGuard,
|
|
9287
|
-
deps: [{ token: i1$
|
|
9172
|
+
deps: [{ token: i1$1.UserService }, { token: i1$1.PermissionService }],
|
|
9288
9173
|
target: i0.ɵɵFactoryTarget.Injectable
|
|
9289
9174
|
});
|
|
9290
9175
|
}
|
|
@@ -9307,7 +9192,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9307
9192
|
type: Injectable,
|
|
9308
9193
|
args: [{ providedIn: "root" }]
|
|
9309
9194
|
}],
|
|
9310
|
-
ctorParameters: () => [{ type: i1$
|
|
9195
|
+
ctorParameters: () => [{ type: i1$1.UserService }, { type: i1$1.PermissionService }]
|
|
9311
9196
|
});
|
|
9312
9197
|
var UiLayoutService = class UiLayoutService {
|
|
9313
9198
|
constructor(api) {
|
|
@@ -9324,7 +9209,7 @@ var UiLayoutService = class UiLayoutService {
|
|
|
9324
9209
|
version: "22.2.3",
|
|
9325
9210
|
ngImport: i0,
|
|
9326
9211
|
type: UiLayoutService,
|
|
9327
|
-
deps: [{ token: i1$
|
|
9212
|
+
deps: [{ token: i1$1.MainApiHttpService }],
|
|
9328
9213
|
target: i0.ɵɵFactoryTarget.Injectable
|
|
9329
9214
|
});
|
|
9330
9215
|
}
|
|
@@ -9347,7 +9232,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9347
9232
|
type: Injectable,
|
|
9348
9233
|
args: [{ providedIn: "root" }]
|
|
9349
9234
|
}],
|
|
9350
|
-
ctorParameters: () => [{ type: i1$
|
|
9235
|
+
ctorParameters: () => [{ type: i1$1.MainApiHttpService }]
|
|
9351
9236
|
});
|
|
9352
9237
|
const ICONS = {
|
|
9353
9238
|
warning: "fa-triangle-exclamation",
|
|
@@ -9531,6 +9416,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9531
9416
|
}]
|
|
9532
9417
|
}
|
|
9533
9418
|
});
|
|
9534
|
-
export { AiKnowledgeComponent, AuthenticatorComponent, BRAIN_CHAT_PRODUCT_PROMPTS, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnboardingChecklistComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent,
|
|
9419
|
+
export { AiKnowledgeComponent, AuthenticatorComponent, BRAIN_CHAT_PRODUCT_PROMPTS, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnboardingChecklistComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwEditCardComponent, PwNoticeComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, UI_BUILDER_FLAG, UiLayoutService, dashboardLegalPageRoutes, hasOpenMandatorySteps, publicLegalPageRoutes, registeredType, registeredTypeNames, visibleProductPrompts };
|
|
9535
9420
|
|
|
9536
9421
|
//# sourceMappingURL=posiwise-shared-components.mjs.map
|