@posiwise/shared-components 0.0.239 → 0.0.240
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.
|
@@ -266,7 +266,7 @@ var NoDataComponent = class NoDataComponent {
|
|
|
266
266
|
</div>
|
|
267
267
|
`,
|
|
268
268
|
isInline: true,
|
|
269
|
-
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);--pw-
|
|
269
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--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"],
|
|
270
270
|
dependencies: [{
|
|
271
271
|
kind: "directive",
|
|
272
272
|
type: NgClass,
|
|
@@ -306,7 +306,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
306
306
|
</div>
|
|
307
307
|
`,
|
|
308
308
|
imports: [NgClass],
|
|
309
|
-
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);--pw-
|
|
309
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--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"]
|
|
310
310
|
}]
|
|
311
311
|
}],
|
|
312
312
|
propDecorators: {
|
|
@@ -5149,7 +5149,7 @@ var HeaderComponent = class HeaderComponent extends AppBaseComponent {
|
|
|
5149
5149
|
usesInheritance: true,
|
|
5150
5150
|
ngImport: i0,
|
|
5151
5151
|
template: "<header class=\"pw-bar\" [class.pw-bar--solid]=\"!landing\">\n <div class=\"pw-bar__inner\">\n <a class=\"pw-bar__brand\" [attr.href]=\"inMobileApp ? null : '/'\">\n @if (logo) {\n <img class=\"pw-bar__brand-logo\" [src]=\"logo\" alt=\"\" (error)=\"onLogoError()\" />\n }\n <span class=\"visually-hidden\">{{ 'Button.Home' | transloco }}</span>\n </a>\n\n <div class=\"pw-bar__actions\">\n @if (!loggedIn) {\n <button type=\"button\" class=\"pw-bar__login\" (click)=\"navigateToLogin()\">\n {{ 'Button.Login' | transloco }}\n </button>\n }\n @if (!inMobileApp) {\n <a class=\"pw-bar__cta\" href=\"/\">\n {{ 'Button.Home' | transloco }}\n </a>\n <button type=\"button\"\n class=\"pw-bar__toggle\"\n [class.pw-bar__toggle--open]=\"!isMenuCollapsed\"\n [attr.aria-expanded]=\"!isMenuCollapsed\"\n [attr.aria-label]=\"'Common.ToggleMenu' | transloco\"\n (click)=\"toggleMenu()\">\n <span></span><span></span><span></span>\n </button>\n }\n </div>\n </div>\n</header>\n",
|
|
5152
|
-
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);--pw-
|
|
5152
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--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"],
|
|
5153
5153
|
dependencies: [{
|
|
5154
5154
|
kind: "directive",
|
|
5155
5155
|
type: LazyImgDirective,
|
|
@@ -5173,7 +5173,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5173
5173
|
selector: "pw-header",
|
|
5174
5174
|
imports: [LazyImgDirective, TranslocoPipe],
|
|
5175
5175
|
template: "<header class=\"pw-bar\" [class.pw-bar--solid]=\"!landing\">\n <div class=\"pw-bar__inner\">\n <a class=\"pw-bar__brand\" [attr.href]=\"inMobileApp ? null : '/'\">\n @if (logo) {\n <img class=\"pw-bar__brand-logo\" [src]=\"logo\" alt=\"\" (error)=\"onLogoError()\" />\n }\n <span class=\"visually-hidden\">{{ 'Button.Home' | transloco }}</span>\n </a>\n\n <div class=\"pw-bar__actions\">\n @if (!loggedIn) {\n <button type=\"button\" class=\"pw-bar__login\" (click)=\"navigateToLogin()\">\n {{ 'Button.Login' | transloco }}\n </button>\n }\n @if (!inMobileApp) {\n <a class=\"pw-bar__cta\" href=\"/\">\n {{ 'Button.Home' | transloco }}\n </a>\n <button type=\"button\"\n class=\"pw-bar__toggle\"\n [class.pw-bar__toggle--open]=\"!isMenuCollapsed\"\n [attr.aria-expanded]=\"!isMenuCollapsed\"\n [attr.aria-label]=\"'Common.ToggleMenu' | transloco\"\n (click)=\"toggleMenu()\">\n <span></span><span></span><span></span>\n </button>\n }\n </div>\n </div>\n</header>\n",
|
|
5176
|
-
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);--pw-
|
|
5176
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--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"]
|
|
5177
5177
|
}]
|
|
5178
5178
|
}],
|
|
5179
5179
|
ctorParameters: () => [],
|
|
@@ -5225,11 +5225,11 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
|
|
|
5225
5225
|
this.filteredMembers = data;
|
|
5226
5226
|
}
|
|
5227
5227
|
open() {
|
|
5228
|
-
this.groupService.getSubscriptionMembers(this.subscription?.id).subscribe((
|
|
5229
|
-
|
|
5228
|
+
this.groupService.getSubscriptionMembers(this.subscription?.id).subscribe(({ result }) => {
|
|
5229
|
+
result.forEach((member) => {
|
|
5230
5230
|
member.displayName = `${member.first_name ?? ""} ${member.last_name ?? ""} ${member.email}`.trim();
|
|
5231
5231
|
});
|
|
5232
|
-
this.subscriptionMembers =
|
|
5232
|
+
this.subscriptionMembers = result;
|
|
5233
5233
|
this.cdr.markForCheck();
|
|
5234
5234
|
});
|
|
5235
5235
|
this.modalService.open(this.content, {
|
|
@@ -5242,12 +5242,12 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
|
|
|
5242
5242
|
this.filteredMembers = [];
|
|
5243
5243
|
}
|
|
5244
5244
|
getEntity() {
|
|
5245
|
-
this.groupService.getEntityGroup(this.entityId).subscribe(({ result
|
|
5246
|
-
|
|
5245
|
+
this.groupService.getEntityGroup(this.entityId).subscribe(({ result }) => {
|
|
5246
|
+
result.members.forEach((member) => {
|
|
5247
5247
|
member.displayName = `${member.first_name ?? ""} ${member.last_name ?? ""} ${member.email}`.trim();
|
|
5248
5248
|
});
|
|
5249
|
-
this.subscribedMembers =
|
|
5250
|
-
this.selectedGroup =
|
|
5249
|
+
this.subscribedMembers = result.members;
|
|
5250
|
+
this.selectedGroup = result;
|
|
5251
5251
|
this.cdr.markForCheck();
|
|
5252
5252
|
}).add(() => {
|
|
5253
5253
|
this.isLoaded = true;
|
|
@@ -5267,13 +5267,10 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
|
|
|
5267
5267
|
});
|
|
5268
5268
|
}
|
|
5269
5269
|
getSubscribedUsers() {
|
|
5270
|
-
this.subscriptionService.getEnrolledSubscription(this.subscription?.id).subscribe((
|
|
5271
|
-
this.subscriptionOwner =
|
|
5272
|
-
this.admins =
|
|
5273
|
-
this.enrolledUsers =
|
|
5274
|
-
this.enrolledUsers.forEach((element) => {
|
|
5275
|
-
element.is_owner = element?.id === this.user?.id;
|
|
5276
|
-
});
|
|
5270
|
+
this.subscriptionService.getEnrolledSubscription(this.subscription?.id).subscribe(({ result, owner_id, admins }) => {
|
|
5271
|
+
this.subscriptionOwner = owner_id;
|
|
5272
|
+
this.admins = admins;
|
|
5273
|
+
this.enrolledUsers = result;
|
|
5277
5274
|
this.hasAccess = this.admins.includes(this.user?.id) || this.user?.id === this.subscriptionOwner || this.permissionService.isSuperAdmin();
|
|
5278
5275
|
this.cdr.markForCheck();
|
|
5279
5276
|
});
|
|
@@ -5733,7 +5730,7 @@ var InputContainerComponent = class InputContainerComponent {
|
|
|
5733
5730
|
}],
|
|
5734
5731
|
ngImport: i0,
|
|
5735
5732
|
template: "@if (useAriaLabelledbyOnly) {\n <span class=\"pw-input-container-label mb-2 d-block\" [attr.id]=\"controlId ? (controlId + '-label') : null\">\n <span [class]=\"labelClass\"\n [ngClass]=\"{ mandatory: required && !control?.disabled }\">\n {{ label }}\n </span>\n @if (showTooltip && tooltipText) {\n <span class=\"info-circle tooltip-wrap ms-1\"\n [pTooltip]=\"tooltipText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n </span>\n }\n @if (showTriangle) {\n <span class=\"tooltip-wrap ms-1\"\n [pTooltip]=\"'Last month this value was set to ' + showTriangleText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n <i class=\"fas fa-exclamation-triangle text-warning\"></i>\n </span>\n }\n <!-- after label -->\n @if (afterLabel && showAfterLabel) {\n <span\n [innerHTML]=\"afterLabel\"></span>\n }\n <!-- after label end -->\n </span>\n}\n@if (!useAriaLabelledbyOnly) {\n <label class=\"pw-input-container-label mb-2\" [attr.for]=\"controlId || name\">\n <span [class]=\"labelClass\"\n [ngClass]=\"{ mandatory: required && !control?.disabled }\">\n {{ label }}\n </span>\n @if (showTooltip && tooltipText) {\n <span class=\"info-circle tooltip-wrap ms-1\"\n [pTooltip]=\"tooltipText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n </span>\n }\n @if (showTriangle) {\n <span class=\"tooltip-wrap ms-1\"\n [pTooltip]=\"'Last month this value was set to ' + showTriangleText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n <i class=\"fas fa-exclamation-triangle text-warning\"></i>\n </span>\n }\n <!-- after label -->\n @if (afterLabel && showAfterLabel) {\n <span\n [innerHTML]=\"afterLabel\"></span>\n }\n <!-- after label end -->\n </label>\n}\n\n<div class=\"mb-3\">\n <ng-content></ng-content>\n @if (control?.errors) {\n <pw-field-error-display [displayError]=\"control?.invalid && control?.touched\"\n [errorMsg]=\"errorMsg | transloco\">\n </pw-field-error-display>\n }\n</div>\n",
|
|
5736
|
-
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);--pw-
|
|
5733
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--public-btn-radius: 24px}.pw-input-container-label{display:block;color:gray;font-size:.75rem;font-weight:500;letter-spacing:2px;text-transform:uppercase;height:18px;line-height:18px;margin-bottom:8px!important}.pw-input-container-label .info-circle:after{line-height:1;top:50%;transform:translateY(-50%)}.mandatory{position:relative;padding-right:10px}.mandatory:after{position:absolute;color:#ff586b;content:\"*\";font-size:15px;line-height:1;right:0;top:0}div.mb-3:has(ui-switch){min-height:36px;display:flex;align-items:center}\n"],
|
|
5737
5734
|
dependencies: [
|
|
5738
5735
|
{
|
|
5739
5736
|
kind: "directive",
|
|
@@ -5805,7 +5802,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5805
5802
|
TranslocoPipe
|
|
5806
5803
|
],
|
|
5807
5804
|
template: "@if (useAriaLabelledbyOnly) {\n <span class=\"pw-input-container-label mb-2 d-block\" [attr.id]=\"controlId ? (controlId + '-label') : null\">\n <span [class]=\"labelClass\"\n [ngClass]=\"{ mandatory: required && !control?.disabled }\">\n {{ label }}\n </span>\n @if (showTooltip && tooltipText) {\n <span class=\"info-circle tooltip-wrap ms-1\"\n [pTooltip]=\"tooltipText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n </span>\n }\n @if (showTriangle) {\n <span class=\"tooltip-wrap ms-1\"\n [pTooltip]=\"'Last month this value was set to ' + showTriangleText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n <i class=\"fas fa-exclamation-triangle text-warning\"></i>\n </span>\n }\n <!-- after label -->\n @if (afterLabel && showAfterLabel) {\n <span\n [innerHTML]=\"afterLabel\"></span>\n }\n <!-- after label end -->\n </span>\n}\n@if (!useAriaLabelledbyOnly) {\n <label class=\"pw-input-container-label mb-2\" [attr.for]=\"controlId || name\">\n <span [class]=\"labelClass\"\n [ngClass]=\"{ mandatory: required && !control?.disabled }\">\n {{ label }}\n </span>\n @if (showTooltip && tooltipText) {\n <span class=\"info-circle tooltip-wrap ms-1\"\n [pTooltip]=\"tooltipText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n </span>\n }\n @if (showTriangle) {\n <span class=\"tooltip-wrap ms-1\"\n [pTooltip]=\"'Last month this value was set to ' + showTriangleText\"\n [appendTo]=\"'body'\"\n [tooltipPosition]=\"tooltipPosition || 'top'\">\n <i class=\"fas fa-exclamation-triangle text-warning\"></i>\n </span>\n }\n <!-- after label -->\n @if (afterLabel && showAfterLabel) {\n <span\n [innerHTML]=\"afterLabel\"></span>\n }\n <!-- after label end -->\n </label>\n}\n\n<div class=\"mb-3\">\n <ng-content></ng-content>\n @if (control?.errors) {\n <pw-field-error-display [displayError]=\"control?.invalid && control?.touched\"\n [errorMsg]=\"errorMsg | transloco\">\n </pw-field-error-display>\n }\n</div>\n",
|
|
5808
|
-
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);--pw-
|
|
5805
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--public-btn-radius: 24px}.pw-input-container-label{display:block;color:gray;font-size:.75rem;font-weight:500;letter-spacing:2px;text-transform:uppercase;height:18px;line-height:18px;margin-bottom:8px!important}.pw-input-container-label .info-circle:after{line-height:1;top:50%;transform:translateY(-50%)}.mandatory{position:relative;padding-right:10px}.mandatory:after{position:absolute;color:#ff586b;content:\"*\";font-size:15px;line-height:1;right:0;top:0}div.mb-3:has(ui-switch){min-height:36px;display:flex;align-items:center}\n"]
|
|
5809
5806
|
}]
|
|
5810
5807
|
}],
|
|
5811
5808
|
propDecorators: {
|
|
@@ -5918,8 +5915,8 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
|
|
|
5918
5915
|
});
|
|
5919
5916
|
}
|
|
5920
5917
|
getAllGroupDefinition() {
|
|
5921
|
-
this.groupService.groupDefinitionGetAll(this.id, "Subscription").subscribe((
|
|
5922
|
-
if (
|
|
5918
|
+
this.groupService.groupDefinitionGetAll(this.id, "Subscription").subscribe(({ result }) => {
|
|
5919
|
+
if (result.length > 0) this.groupDefinition = result;
|
|
5923
5920
|
else this.groupDefinition = [];
|
|
5924
5921
|
this.cdr.markForCheck();
|
|
5925
5922
|
}).add(() => {
|
|
@@ -5928,13 +5925,10 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
|
|
|
5928
5925
|
});
|
|
5929
5926
|
}
|
|
5930
5927
|
getSubscribedUsers() {
|
|
5931
|
-
this.subscriptionService.getEnrolledSubscription(this.id).subscribe((
|
|
5932
|
-
this.subscriptionOwner =
|
|
5933
|
-
this.admins =
|
|
5934
|
-
this.enrolledUsers =
|
|
5935
|
-
this.enrolledUsers.forEach((element) => {
|
|
5936
|
-
element.is_owner = element?.id === this.user?.id;
|
|
5937
|
-
});
|
|
5928
|
+
this.subscriptionService.getEnrolledSubscription(this.id).subscribe(({ result, owner_id, admins }) => {
|
|
5929
|
+
this.subscriptionOwner = owner_id;
|
|
5930
|
+
this.admins = admins;
|
|
5931
|
+
this.enrolledUsers = result;
|
|
5938
5932
|
this.hasAccess = this.admins.includes(this.user?.id) || this.user?.id === this.subscriptionOwner || this.permissionService.isSuperAdmin();
|
|
5939
5933
|
this.cdr.markForCheck();
|
|
5940
5934
|
});
|
|
@@ -5965,8 +5959,8 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
|
|
|
5965
5959
|
this.getSubscriptionDetails();
|
|
5966
5960
|
}
|
|
5967
5961
|
getSubscriptionDetails() {
|
|
5968
|
-
this.groupService.getGroupDefinitionById(this.groupDefId).subscribe((
|
|
5969
|
-
this.groupDefinitionDetails =
|
|
5962
|
+
this.groupService.getGroupDefinitionById(this.groupDefId).subscribe(({ result }) => {
|
|
5963
|
+
this.groupDefinitionDetails = result;
|
|
5970
5964
|
this.form.patchValue({
|
|
5971
5965
|
description: this.groupDefinitionDetails.description,
|
|
5972
5966
|
name: this.groupDefinitionDetails.name
|
|
@@ -6302,15 +6296,15 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6302
6296
|
getAllGroupDefinition() {
|
|
6303
6297
|
this.isLoaded = false;
|
|
6304
6298
|
this.allGroups = [];
|
|
6305
|
-
this.groupService.groupDefinitionGetAll(this.id, "Subscription").subscribe((
|
|
6299
|
+
this.groupService.groupDefinitionGetAll(this.id, "Subscription").subscribe(({ result }) => {
|
|
6306
6300
|
this.isLoaded = true;
|
|
6307
|
-
if (
|
|
6308
|
-
this.groupDefinition =
|
|
6301
|
+
if (result.length > 0) {
|
|
6302
|
+
this.groupDefinition = result;
|
|
6309
6303
|
this.domainGroupDefinition = [{
|
|
6310
6304
|
id: "0",
|
|
6311
6305
|
name: "All Team Categories",
|
|
6312
6306
|
groups: []
|
|
6313
|
-
}, ...
|
|
6307
|
+
}, ...result];
|
|
6314
6308
|
this.groupDefinition.forEach((data) => {
|
|
6315
6309
|
[...data.groups].forEach((group) => {
|
|
6316
6310
|
this.allGroups.push({
|
|
@@ -6327,13 +6321,10 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6327
6321
|
getSubscribedUsers() {
|
|
6328
6322
|
this.getUserSubscription().subscribe((sub) => {
|
|
6329
6323
|
this.subscription = sub;
|
|
6330
|
-
if (this.subscription?.id) this.subscriptionService.getEnrolledSubscription(sub?.id).subscribe((
|
|
6331
|
-
this.subscriptionOwner =
|
|
6332
|
-
this.admins =
|
|
6333
|
-
this.enrolledUsers =
|
|
6334
|
-
this.enrolledUsers.forEach((element) => {
|
|
6335
|
-
element.is_owner = element?.id === this.user?.id;
|
|
6336
|
-
});
|
|
6324
|
+
if (this.subscription?.id) this.subscriptionService.getEnrolledSubscription(sub?.id).subscribe(({ result, owner_id, admins }) => {
|
|
6325
|
+
this.subscriptionOwner = owner_id;
|
|
6326
|
+
this.admins = admins;
|
|
6327
|
+
this.enrolledUsers = result;
|
|
6337
6328
|
this.hasAccess = this.admins.includes(this.user?.id) || this.user?.id === this.subscriptionOwner || this.permissionService.isSuperAdmin();
|
|
6338
6329
|
this.cdr.markForCheck();
|
|
6339
6330
|
});
|
|
@@ -6359,11 +6350,11 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
|
|
|
6359
6350
|
this.getGroupDetails(group_id);
|
|
6360
6351
|
}
|
|
6361
6352
|
getGroupDetails(id) {
|
|
6362
|
-
this.groupService.getGroup(id).subscribe(({ result
|
|
6353
|
+
this.groupService.getGroup(id).subscribe(({ result }) => {
|
|
6363
6354
|
this.form.patchValue({
|
|
6364
|
-
name:
|
|
6365
|
-
description:
|
|
6366
|
-
group_definition_id:
|
|
6355
|
+
name: result.name,
|
|
6356
|
+
description: result.description,
|
|
6357
|
+
group_definition_id: result.group_definition_id
|
|
6367
6358
|
});
|
|
6368
6359
|
this.cdr.markForCheck();
|
|
6369
6360
|
});
|
|
@@ -7684,7 +7675,7 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
|
|
|
7684
7675
|
usesInheritance: true,
|
|
7685
7676
|
ngImport: i0,
|
|
7686
7677
|
template: "@if (isPublic) {\n <pw-header [landing]=\"false\"></pw-header>\n}\n\n<div class=\"legal-page\" [class.legal-page--public]=\"isPublic\">\n\n <section class=\"legal-hero\">\n <div class=\"legal-hero__container\">\n @if (!isPublic) {\n <a class=\"legal-hero__back\" (click)=\"back()\" (keydown.enter)=\"back()\" role=\"button\" tabindex=\"0\" [attr.aria-label]=\"'Button.Back' | transloco\">\n <i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>\n <span>{{ 'Button.Back' | transloco }}</span>\n </a>\n }\n <span class=\"legal-hero__eyebrow\">{{ 'Legal.Eyebrow' | transloco }}</span>\n <h1 class=\"legal-hero__title\">{{ 'Legal.Title' | transloco }}</h1>\n <p class=\"legal-hero__subtitle\">\n @if (companyName) {\n {{ 'Legal.SubtitleCompany' | transloco: { company: companyName } }}\n } @else {\n {{ 'Legal.Subtitle' | transloco }}\n }\n </p>\n <div class=\"legal-hero__meta\">\n @if (data?.tos_updated_at) {\n <span class=\"legal-hero__pill\">\n <i class=\"fa fa-clock\" aria-hidden=\"true\"></i>\n {{ 'Legal.LastUpdated' | transloco: { date: (data.tos_updated_at | dateFormat) } }}\n </span>\n }\n @if (!isPublic && canEditPolicy) {\n <a class=\"legal-hero__edit\"\n [routerLink]=\"[routers.tosAndPrivacyDetails + privacyServiceId]\"\n [attr.aria-label]=\"'Button.Edit' | transloco\">\n <i class=\"fa fa-pen\" aria-hidden=\"true\"></i>\n <span>{{ 'Button.Edit' | transloco }}</span>\n </a>\n }\n </div>\n </div>\n </section>\n\n <div class=\"legal-tabs-band\">\n <div class=\"legal-tabs-band__container\">\n <ul ngbNav #nav=\"ngbNav\" [(activeId)]=\"tabId\" class=\"legal-tabs\">\n <li [ngbNavItem]=\"'privacy-policy'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">{{ 'Legal.PrivacyPolicy' | transloco }}</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.privacy) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.privacy\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>{{ 'Legal.PrivacyMissingTitle' | transloco }}</h2>\n <p>{{ 'Legal.PrivacyMissingBody' | transloco }}</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n <li [ngbNavItem]=\"'terms-of-service'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">{{ 'Legal.TermsOfService' | transloco }}</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.tos) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.tos\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>{{ 'Legal.TermsMissingTitle' | transloco }}</h2>\n <p>{{ 'Legal.TermsMissingBody' | transloco }}</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"legal-body\" [class.legal-body--no-toc]=\"\n (tabId === 'privacy-policy' && !tocPrivacy.length) ||\n (tabId === 'terms-of-service' && !tocTos.length)\n \">\n <div class=\"legal-body__container\">\n\n @if ((tabId === 'privacy-policy' && tocPrivacy.length) || (tabId === 'terms-of-service' && tocTos.length)) {\n <aside class=\"legal-sidebar\" [attr.aria-label]=\"'Legal.OnThisPage' | transloco\">\n <p class=\"legal-sidebar__label\">{{ 'Legal.OnThisPage' | transloco }}</p>\n <nav class=\"legal-sidebar__nav\">\n @if (tabId === 'privacy-policy') {\n @for (item of tocPrivacy; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n } @else {\n @for (item of tocTos; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n }\n </nav>\n </aside>\n }\n\n <main class=\"legal-main\">\n <pw-loader [isVisible]=\"!isLoaded\"></pw-loader>\n @if (isLoaded) {\n <div [ngbNavOutlet]=\"nav\"></div>\n }\n\n @if (isLoaded && companyEmail) {\n <section class=\"legal-contact\">\n <span class=\"legal-contact__label\">{{ 'Legal.QuestionsLabel' | transloco }}</span>\n <h2 class=\"legal-contact__title\">{{ 'Legal.QuestionsTitle' | transloco }}</h2>\n <p class=\"legal-contact__body\">\n {{ 'Legal.QuestionsBody' | transloco }}\n </p>\n <a class=\"legal-contact__cta\" [href]=\"'mailto:' + companyEmail\">\n <i class=\"fa fa-envelope\" aria-hidden=\"true\"></i>\n <span>{{ companyEmail }}</span>\n </a>\n </section>\n }\n </main>\n\n </div>\n </div>\n\n</div>\n",
|
|
7687
|
-
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);--pw-
|
|
7678
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--public-btn-radius: 24px}.legal-page{background:#f7f8fa;min-height:100vh}.legal-page--public{padding-top:64px}.legal-hero{padding:56px 0 32px}.legal-hero__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-hero__back{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;padding:6px 14px 6px 10px;font:600 13px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border:1px solid #e2e5ea;border-radius:9999px;background:#fff;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__back:hover{color:#1a1d21;border-color:#cfd4dc}.legal-hero__back .fa{font-size:11px;color:#7c8696}.legal-hero__eyebrow{display:inline-block;font:600 12px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--first);margin-bottom:16px}h1.legal-hero__title{font:700 clamp(36px,4.4vw,52px)/1.1 \"Roboto\",sans-serif;color:#1a1d21!important;margin:0 0 16px;letter-spacing:-.02em}.legal-hero__subtitle{font:400 clamp(16px,1.4vw,19px)/1.5 \"Roboto\",sans-serif;color:#5a6473;margin:0;text-wrap:pretty}.legal-hero__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-hero__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:#fff;border:1px solid #e2e5ea;border-radius:9999px;font:500 12px/1 Roboto,sans-serif;color:#5a6473}.legal-hero__pill .fa{font-size:11px;color:#7c8696}.legal-hero__edit{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font:600 12px/1 Roboto,sans-serif;color:var(--first);text-decoration:none;border:1px solid #cfd4dc;border-radius:9999px;background:#fff;transition:border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__edit:hover{border-color:var(--first)}.legal-tabs-band{border-bottom:1px solid #e2e5ea;background:#f7f8fa}.legal-tabs-band__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-tabs{display:inline-flex;gap:0;padding:0;margin:0;list-style:none;border-bottom:0}.legal-tabs__item{margin:0;padding:0}.legal-tabs__link{display:inline-flex;align-items:center;padding:14px 4px;margin-right:28px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-tabs__link:hover{color:#1a1d21}.legal-tabs__link.active,.legal-tabs__item.active .legal-tabs__link{color:#1a1d21;border-bottom-color:var(--first)}.legal-body{padding:48px 0 96px}.legal-body__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}.legal-body--no-toc .legal-body__container{grid-template-columns:minmax(0,1fr)}.legal-sidebar{position:sticky;top:88px}.legal-sidebar__label{font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin:0 0 14px}.legal-sidebar__nav{display:flex;flex-direction:column;border-left:1px solid #e2e5ea}.legal-sidebar__link{display:block;padding:7px 14px;margin-left:-1px;border-left:2px solid transparent;font:500 13px/1.45 Roboto,sans-serif;color:#5a6473;text-decoration:none;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-sidebar__link:hover{color:#1a1d21}.legal-sidebar__link:target,.legal-sidebar__link.is-active{color:var(--first);border-left-color:var(--first)}.legal-main{min-width:0}.legal-page__card{display:block;background:#fff;border:1px solid #e2e5ea;border-radius:14px;padding:48px;box-shadow:0 1px 2px #0f172a08}.legal-page__body{max-width:70ch}.legal-page__empty{text-align:center;padding:56px 16px;color:#5a6473}.legal-page__empty .fa{font-size:40px;color:#cfd4dc;margin-bottom:20px}.legal-page__empty h2{font:600 20px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 8px}.legal-page__empty p{font:400 15px/1.6 Roboto,sans-serif;color:#5a6473;margin:0}.legal-contact{margin-top:32px;padding:36px;background:#fff;border:1px solid #e2e5ea;border-radius:14px;box-shadow:0 1px 2px #0f172a08}.legal-contact__label{display:inline-block;font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin-bottom:10px}h2.legal-contact__title{font:600 22px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 10px;letter-spacing:-.005em}.legal-contact__body{font:400 15px/1.65 Roboto,sans-serif;color:#5a6473;margin:0 0 20px;max-width:56ch;text-wrap:pretty}.legal-contact__cta{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:10px;transition:background-color .15s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1),box-shadow .15s cubic-bezier(.2,.7,.2,1)}.legal-contact__cta:hover{background:color-mix(in srgb,var(--first) 88%,#000 12%);transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--first)}::ng-deep .legal-page__body.ql-container,::ng-deep .legal-page__body .ql-container{max-width:none!important;margin:0;border:0!important;font-family:Roboto,sans-serif;resize:none!important}::ng-deep .legal-page__body .ql-editor{padding:0;max-width:70ch;font:400 16px/1.75 Roboto,sans-serif;color:#5a6473}::ng-deep .legal-page__body .ql-editor h1{font:700 28px/1.25 Roboto,sans-serif;color:#1a1d21;margin:0 0 16px;letter-spacing:-.01em}::ng-deep .legal-page__body .ql-editor h2{font:600 24px/1.3 Roboto,sans-serif;color:#1a1d21;margin:40px 0 12px;letter-spacing:-.005em;scroll-margin-top:88px}::ng-deep .legal-page__body .ql-editor h3{font:600 18px/1.4 Roboto,sans-serif;color:#1a1d21;margin:28px 0 8px}::ng-deep .legal-page__body .ql-editor h4,::ng-deep .legal-page__body .ql-editor h5,::ng-deep .legal-page__body .ql-editor h6{font:600 16px/1.4 Roboto,sans-serif;color:#1a1d21;margin:24px 0 6px}::ng-deep .legal-page__body .ql-editor p{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:0;text-wrap:pretty}::ng-deep .legal-page__body .ql-editor p strong,::ng-deep .legal-page__body .ql-editor strong{font-weight:600;color:#1a1d21}::ng-deep .legal-page__body .ql-editor a{color:var(--first);text-decoration:none;font-weight:500}::ng-deep .legal-page__body .ql-editor a:hover{text-decoration:underline}::ng-deep .legal-page__body .ql-editor ol,::ng-deep .legal-page__body .ql-editor ul{padding-left:24px;margin:8px 0 16px}::ng-deep .legal-page__body .ql-editor ol li,::ng-deep .legal-page__body .ql-editor ul li{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:6px 0;padding:0}::ng-deep .legal-page__body .ql-editor ol li::marker,::ng-deep .legal-page__body .ql-editor ul li::marker{color:#7c8696;font-weight:500}::ng-deep .legal-page__body .ql-editor blockquote{border-left:3px solid #e2e5ea;padding:4px 0 4px 18px;margin:20px 0;color:#5a6473;font-style:italic}::ng-deep .legal-page__body .ql-editor hr{border:0;border-top:1px solid #e2e5ea;margin:40px 0}@media(max-width:991px){.legal-hero{padding:40px 0 24px}.legal-body{padding:32px 0 64px}.legal-body__container{grid-template-columns:1fr;gap:32px}.legal-sidebar{position:static}.legal-sidebar__nav{display:none}.legal-page__card{padding:32px}.legal-contact{padding:28px}}@media(max-width:575px){.legal-hero{padding:32px 0 20px}h1.legal-hero__title{font-size:30px}.legal-page__card,.legal-contact{padding:22px;border-radius:12px}.legal-contact__title{font-size:19px}.legal-tabs__link{padding:12px 4px;margin-right:20px;font-size:13px}}@media print{.legal-page{background:#fff}.legal-sidebar,.legal-tabs-band,.legal-hero__back,.legal-hero__edit,.legal-contact__cta{display:none!important}.legal-page__card{border:0;padding:0;box-shadow:none}.legal-body__container{grid-template-columns:1fr}}\n", "::ng-deep .legal-page__body .ql-editor ul>li{list-style-type:disc}::ng-deep .legal-page__body .ql-editor ul ul>li{list-style-type:circle}::ng-deep .legal-page__body .ql-editor ol>li{list-style-type:decimal}::ng-deep .legal-page__body .ql-editor ol ol>li{list-style-type:lower-alpha}\n"],
|
|
7688
7679
|
dependencies: [
|
|
7689
7680
|
{
|
|
7690
7681
|
kind: "component",
|
|
@@ -7818,7 +7809,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7818
7809
|
DateFormatPipe
|
|
7819
7810
|
],
|
|
7820
7811
|
template: "@if (isPublic) {\n <pw-header [landing]=\"false\"></pw-header>\n}\n\n<div class=\"legal-page\" [class.legal-page--public]=\"isPublic\">\n\n <section class=\"legal-hero\">\n <div class=\"legal-hero__container\">\n @if (!isPublic) {\n <a class=\"legal-hero__back\" (click)=\"back()\" (keydown.enter)=\"back()\" role=\"button\" tabindex=\"0\" [attr.aria-label]=\"'Button.Back' | transloco\">\n <i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>\n <span>{{ 'Button.Back' | transloco }}</span>\n </a>\n }\n <span class=\"legal-hero__eyebrow\">{{ 'Legal.Eyebrow' | transloco }}</span>\n <h1 class=\"legal-hero__title\">{{ 'Legal.Title' | transloco }}</h1>\n <p class=\"legal-hero__subtitle\">\n @if (companyName) {\n {{ 'Legal.SubtitleCompany' | transloco: { company: companyName } }}\n } @else {\n {{ 'Legal.Subtitle' | transloco }}\n }\n </p>\n <div class=\"legal-hero__meta\">\n @if (data?.tos_updated_at) {\n <span class=\"legal-hero__pill\">\n <i class=\"fa fa-clock\" aria-hidden=\"true\"></i>\n {{ 'Legal.LastUpdated' | transloco: { date: (data.tos_updated_at | dateFormat) } }}\n </span>\n }\n @if (!isPublic && canEditPolicy) {\n <a class=\"legal-hero__edit\"\n [routerLink]=\"[routers.tosAndPrivacyDetails + privacyServiceId]\"\n [attr.aria-label]=\"'Button.Edit' | transloco\">\n <i class=\"fa fa-pen\" aria-hidden=\"true\"></i>\n <span>{{ 'Button.Edit' | transloco }}</span>\n </a>\n }\n </div>\n </div>\n </section>\n\n <div class=\"legal-tabs-band\">\n <div class=\"legal-tabs-band__container\">\n <ul ngbNav #nav=\"ngbNav\" [(activeId)]=\"tabId\" class=\"legal-tabs\">\n <li [ngbNavItem]=\"'privacy-policy'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">{{ 'Legal.PrivacyPolicy' | transloco }}</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.privacy) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.privacy\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>{{ 'Legal.PrivacyMissingTitle' | transloco }}</h2>\n <p>{{ 'Legal.PrivacyMissingBody' | transloco }}</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n <li [ngbNavItem]=\"'terms-of-service'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">{{ 'Legal.TermsOfService' | transloco }}</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.tos) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.tos\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>{{ 'Legal.TermsMissingTitle' | transloco }}</h2>\n <p>{{ 'Legal.TermsMissingBody' | transloco }}</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"legal-body\" [class.legal-body--no-toc]=\"\n (tabId === 'privacy-policy' && !tocPrivacy.length) ||\n (tabId === 'terms-of-service' && !tocTos.length)\n \">\n <div class=\"legal-body__container\">\n\n @if ((tabId === 'privacy-policy' && tocPrivacy.length) || (tabId === 'terms-of-service' && tocTos.length)) {\n <aside class=\"legal-sidebar\" [attr.aria-label]=\"'Legal.OnThisPage' | transloco\">\n <p class=\"legal-sidebar__label\">{{ 'Legal.OnThisPage' | transloco }}</p>\n <nav class=\"legal-sidebar__nav\">\n @if (tabId === 'privacy-policy') {\n @for (item of tocPrivacy; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n } @else {\n @for (item of tocTos; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n }\n </nav>\n </aside>\n }\n\n <main class=\"legal-main\">\n <pw-loader [isVisible]=\"!isLoaded\"></pw-loader>\n @if (isLoaded) {\n <div [ngbNavOutlet]=\"nav\"></div>\n }\n\n @if (isLoaded && companyEmail) {\n <section class=\"legal-contact\">\n <span class=\"legal-contact__label\">{{ 'Legal.QuestionsLabel' | transloco }}</span>\n <h2 class=\"legal-contact__title\">{{ 'Legal.QuestionsTitle' | transloco }}</h2>\n <p class=\"legal-contact__body\">\n {{ 'Legal.QuestionsBody' | transloco }}\n </p>\n <a class=\"legal-contact__cta\" [href]=\"'mailto:' + companyEmail\">\n <i class=\"fa fa-envelope\" aria-hidden=\"true\"></i>\n <span>{{ companyEmail }}</span>\n </a>\n </section>\n }\n </main>\n\n </div>\n </div>\n\n</div>\n",
|
|
7821
|
-
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);--pw-
|
|
7812
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--public-btn-radius: 24px}.legal-page{background:#f7f8fa;min-height:100vh}.legal-page--public{padding-top:64px}.legal-hero{padding:56px 0 32px}.legal-hero__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-hero__back{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;padding:6px 14px 6px 10px;font:600 13px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border:1px solid #e2e5ea;border-radius:9999px;background:#fff;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__back:hover{color:#1a1d21;border-color:#cfd4dc}.legal-hero__back .fa{font-size:11px;color:#7c8696}.legal-hero__eyebrow{display:inline-block;font:600 12px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--first);margin-bottom:16px}h1.legal-hero__title{font:700 clamp(36px,4.4vw,52px)/1.1 \"Roboto\",sans-serif;color:#1a1d21!important;margin:0 0 16px;letter-spacing:-.02em}.legal-hero__subtitle{font:400 clamp(16px,1.4vw,19px)/1.5 \"Roboto\",sans-serif;color:#5a6473;margin:0;text-wrap:pretty}.legal-hero__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-hero__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:#fff;border:1px solid #e2e5ea;border-radius:9999px;font:500 12px/1 Roboto,sans-serif;color:#5a6473}.legal-hero__pill .fa{font-size:11px;color:#7c8696}.legal-hero__edit{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font:600 12px/1 Roboto,sans-serif;color:var(--first);text-decoration:none;border:1px solid #cfd4dc;border-radius:9999px;background:#fff;transition:border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__edit:hover{border-color:var(--first)}.legal-tabs-band{border-bottom:1px solid #e2e5ea;background:#f7f8fa}.legal-tabs-band__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-tabs{display:inline-flex;gap:0;padding:0;margin:0;list-style:none;border-bottom:0}.legal-tabs__item{margin:0;padding:0}.legal-tabs__link{display:inline-flex;align-items:center;padding:14px 4px;margin-right:28px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-tabs__link:hover{color:#1a1d21}.legal-tabs__link.active,.legal-tabs__item.active .legal-tabs__link{color:#1a1d21;border-bottom-color:var(--first)}.legal-body{padding:48px 0 96px}.legal-body__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}.legal-body--no-toc .legal-body__container{grid-template-columns:minmax(0,1fr)}.legal-sidebar{position:sticky;top:88px}.legal-sidebar__label{font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin:0 0 14px}.legal-sidebar__nav{display:flex;flex-direction:column;border-left:1px solid #e2e5ea}.legal-sidebar__link{display:block;padding:7px 14px;margin-left:-1px;border-left:2px solid transparent;font:500 13px/1.45 Roboto,sans-serif;color:#5a6473;text-decoration:none;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-sidebar__link:hover{color:#1a1d21}.legal-sidebar__link:target,.legal-sidebar__link.is-active{color:var(--first);border-left-color:var(--first)}.legal-main{min-width:0}.legal-page__card{display:block;background:#fff;border:1px solid #e2e5ea;border-radius:14px;padding:48px;box-shadow:0 1px 2px #0f172a08}.legal-page__body{max-width:70ch}.legal-page__empty{text-align:center;padding:56px 16px;color:#5a6473}.legal-page__empty .fa{font-size:40px;color:#cfd4dc;margin-bottom:20px}.legal-page__empty h2{font:600 20px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 8px}.legal-page__empty p{font:400 15px/1.6 Roboto,sans-serif;color:#5a6473;margin:0}.legal-contact{margin-top:32px;padding:36px;background:#fff;border:1px solid #e2e5ea;border-radius:14px;box-shadow:0 1px 2px #0f172a08}.legal-contact__label{display:inline-block;font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin-bottom:10px}h2.legal-contact__title{font:600 22px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 10px;letter-spacing:-.005em}.legal-contact__body{font:400 15px/1.65 Roboto,sans-serif;color:#5a6473;margin:0 0 20px;max-width:56ch;text-wrap:pretty}.legal-contact__cta{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:10px;transition:background-color .15s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1),box-shadow .15s cubic-bezier(.2,.7,.2,1)}.legal-contact__cta:hover{background:color-mix(in srgb,var(--first) 88%,#000 12%);transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--first)}::ng-deep .legal-page__body.ql-container,::ng-deep .legal-page__body .ql-container{max-width:none!important;margin:0;border:0!important;font-family:Roboto,sans-serif;resize:none!important}::ng-deep .legal-page__body .ql-editor{padding:0;max-width:70ch;font:400 16px/1.75 Roboto,sans-serif;color:#5a6473}::ng-deep .legal-page__body .ql-editor h1{font:700 28px/1.25 Roboto,sans-serif;color:#1a1d21;margin:0 0 16px;letter-spacing:-.01em}::ng-deep .legal-page__body .ql-editor h2{font:600 24px/1.3 Roboto,sans-serif;color:#1a1d21;margin:40px 0 12px;letter-spacing:-.005em;scroll-margin-top:88px}::ng-deep .legal-page__body .ql-editor h3{font:600 18px/1.4 Roboto,sans-serif;color:#1a1d21;margin:28px 0 8px}::ng-deep .legal-page__body .ql-editor h4,::ng-deep .legal-page__body .ql-editor h5,::ng-deep .legal-page__body .ql-editor h6{font:600 16px/1.4 Roboto,sans-serif;color:#1a1d21;margin:24px 0 6px}::ng-deep .legal-page__body .ql-editor p{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:0;text-wrap:pretty}::ng-deep .legal-page__body .ql-editor p strong,::ng-deep .legal-page__body .ql-editor strong{font-weight:600;color:#1a1d21}::ng-deep .legal-page__body .ql-editor a{color:var(--first);text-decoration:none;font-weight:500}::ng-deep .legal-page__body .ql-editor a:hover{text-decoration:underline}::ng-deep .legal-page__body .ql-editor ol,::ng-deep .legal-page__body .ql-editor ul{padding-left:24px;margin:8px 0 16px}::ng-deep .legal-page__body .ql-editor ol li,::ng-deep .legal-page__body .ql-editor ul li{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:6px 0;padding:0}::ng-deep .legal-page__body .ql-editor ol li::marker,::ng-deep .legal-page__body .ql-editor ul li::marker{color:#7c8696;font-weight:500}::ng-deep .legal-page__body .ql-editor blockquote{border-left:3px solid #e2e5ea;padding:4px 0 4px 18px;margin:20px 0;color:#5a6473;font-style:italic}::ng-deep .legal-page__body .ql-editor hr{border:0;border-top:1px solid #e2e5ea;margin:40px 0}@media(max-width:991px){.legal-hero{padding:40px 0 24px}.legal-body{padding:32px 0 64px}.legal-body__container{grid-template-columns:1fr;gap:32px}.legal-sidebar{position:static}.legal-sidebar__nav{display:none}.legal-page__card{padding:32px}.legal-contact{padding:28px}}@media(max-width:575px){.legal-hero{padding:32px 0 20px}h1.legal-hero__title{font-size:30px}.legal-page__card,.legal-contact{padding:22px;border-radius:12px}.legal-contact__title{font-size:19px}.legal-tabs__link{padding:12px 4px;margin-right:20px;font-size:13px}}@media print{.legal-page{background:#fff}.legal-sidebar,.legal-tabs-band,.legal-hero__back,.legal-hero__edit,.legal-contact__cta{display:none!important}.legal-page__card{border:0;padding:0;box-shadow:none}.legal-body__container{grid-template-columns:1fr}}\n", "::ng-deep .legal-page__body .ql-editor ul>li{list-style-type:disc}::ng-deep .legal-page__body .ql-editor ul ul>li{list-style-type:circle}::ng-deep .legal-page__body .ql-editor ol>li{list-style-type:decimal}::ng-deep .legal-page__body .ql-editor ol ol>li{list-style-type:lower-alpha}\n"]
|
|
7822
7813
|
}]
|
|
7823
7814
|
}],
|
|
7824
7815
|
propDecorators: { productId: [{ type: Input }] }
|
|
@@ -8244,7 +8235,7 @@ var CompletionBarComponent = class CompletionBarComponent {
|
|
|
8244
8235
|
</div>
|
|
8245
8236
|
`,
|
|
8246
8237
|
isInline: true,
|
|
8247
|
-
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);--pw-
|
|
8238
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--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"],
|
|
8248
8239
|
dependencies: [{
|
|
8249
8240
|
kind: "directive",
|
|
8250
8241
|
type: NgbTooltip,
|
|
@@ -8308,7 +8299,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8308
8299
|
`,
|
|
8309
8300
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8310
8301
|
imports: [NgbTooltip, NgClass],
|
|
8311
|
-
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);--pw-
|
|
8302
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--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"]
|
|
8312
8303
|
}]
|
|
8313
8304
|
}],
|
|
8314
8305
|
propDecorators: {
|
|
@@ -8466,7 +8457,7 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
|
|
|
8466
8457
|
usesOnChanges: true,
|
|
8467
8458
|
ngImport: i0,
|
|
8468
8459
|
template: "@if (visible) {\n <div class=\"card pw-onboarding\">\n <div class=\"card-content p-0\">\n <pw-loader [isVisible]=\"loading\"></pw-loader>\n\n @if (!loading) {\n @if (loadFailed) {\n <pw-no-data [withImage]=\"true\" [message]=\"'OnboardingChecklist.LoadFailed' | transloco\">\n <div #content>\n <button type=\"button\" class=\"btn btn-outline-secondary btn-sm\" (click)=\"retry.emit()\">\n {{ 'OnboardingChecklist.Action.Retry' | transloco }}\n </button>\n </div>\n </pw-no-data>\n } @else if (status) {\n <div class=\"card-header mt-0\">\n <h3 class=\"mb-2\">{{ 'OnboardingChecklist.Title' | transloco }}</h3>\n @if (allDone) {\n <p class=\"pw-onboarding__all-set\">\n <fa-icon [icon]=\"doneIcon\" aria-hidden=\"true\"></fa-icon>\n {{ 'OnboardingChecklist.AllSet' | transloco }}\n </p>\n } @else {\n <p>{{ 'OnboardingChecklist.Intro' | transloco }}</p>\n }\n @if (status.progress.total) {\n <div class=\"pw-onboarding__progress\">\n <progress class=\"pw-onboarding__progress-value\" [max]=\"status.progress.total\" [value]=\"status.progress.done\"\n [attr.aria-label]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\"></progress>\n <span class=\"pw-onboarding__progress-label\">\n {{ 'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total } }}\n @if (recommended.total) {\n <span class=\"pw-onboarding__progress-extra\">\n {{ 'OnboardingChecklist.ProgressRecommended' | transloco: { done: recommended.done, total: recommended.total } }}\n </span>\n }\n </span>\n <span class=\"pw-onboarding__progress-track\" [class.is-complete]=\"allDone\" aria-hidden=\"true\">\n @for (segment of progressSegments; track segment) {\n <span class=\"pw-onboarding__progress-seg\" [class.is-filled]=\"segment < status.progress.done\"></span>\n }\n </span>\n </div>\n }\n <button type=\"button\" class=\"btn btn-outline-primary pw-onboarding__toggle\" (click)=\"toggle()\"\n [attr.aria-expanded]=\"expanded\" aria-controls=\"pw-onboarding-steps\">\n <fa-icon [icon]=\"expanded ? collapseIcon : expandIcon\" aria-hidden=\"true\"></fa-icon>\n {{ (expanded ? 'OnboardingChecklist.Toggle.Hide' : 'OnboardingChecklist.Toggle.Show') | transloco }}\n </button>\n </div>\n\n @if (expanded) {\n <div id=\"pw-onboarding-steps\">\n @if (currentStep; as step) {\n <div class=\"pw-onboarding__current\" [class.is-blocked]=\"step.state === 'blocked'\">\n <div class=\"pw-onboarding__current-text\">\n <span class=\"pw-onboarding__current-title\">\n <strong class=\"pw-onboarding__current-name\">{{ step.title ?? (step.title_key | transloco) }}</strong>\n <ng-container *ngTemplateOutlet=\"faqLink; context: { $implicit: step }\"></ng-container>\n </span>\n @if (step.state === 'blocked' && step.reason_key) {\n <span class=\"pw-onboarding__reason\">\n <fa-icon [icon]=\"icon(step)\" aria-hidden=\"true\"></fa-icon>\n {{ step.reason_key | transloco }}\n </span>\n @if (step.detail) {\n <span class=\"pw-onboarding__detail\">{{ step.detail }}</span>\n }\n } @else if (step.state === 'waiting') {\n <span class=\"pw-onboarding__muted\">{{ 'OnboardingChecklist.Waiting' | transloco }}</span>\n } @else if (step.description || step.description_key) {\n <span class=\"pw-onboarding__muted\">{{ step.description ?? (step.description_key | transloco) }}</span>\n }\n @if (step.can_act === false) {\n <span class=\"pw-onboarding__muted\">{{ 'OnboardingChecklist.AskAdmin' | transloco }}</span>\n }\n </div>\n <div class=\"pw-onboarding__current-actions\">\n @if (actionKey(step); as action) {\n <a class=\"btn btn-primary pw-onboarding__main-action\" [routerLink]=\"routeFor(step)\">{{ action | transloco }}</a>\n }\n @if (canTick(step)) {\n <button type=\"button\" class=\"btn pw-onboarding__main-action\" [class.btn-primary]=\"!actionKey(step)\"\n [class.btn-outline-primary]=\"actionKey(step)\" [disabled]=\"busy\" (click)=\"tick(step)\">\n {{ 'OnboardingChecklist.Action.MarkDone' | transloco }}\n </button>\n }\n </div>\n </div>\n }\n\n @for (group of groups; track group.key) {\n @if (group.steps.length) {\n <p class=\"pw-onboarding__group\">{{ group.labelKey | transloco }}</p>\n <ol class=\"pw-onboarding__steps\">\n @for (item of group.steps; track item.key) {\n <li class=\"pw-onboarding__step\" [ngClass]=\"'is-' + item.state\" [class.is-current]=\"item.current\">\n <fa-icon class=\"pw-onboarding__marker\" [icon]=\"icon(item)\" aria-hidden=\"true\"></fa-icon>\n <span class=\"pw-onboarding__step-title\">\n {{ item.title ?? (item.title_key | transloco) }}\n <ng-container *ngTemplateOutlet=\"faqLink; context: { $implicit: item }\"></ng-container>\n </span>\n @if (actionKey(item); as action) {\n <a class=\"btn btn-outline-primary btn-sm pw-onboarding__row-action\" [routerLink]=\"routeFor(item)\"\n [attr.aria-label]=\"(action | transloco) + ' ' + (item.title ?? (item.title_key | transloco))\">{{ action | transloco }}</a>\n }\n @if (canTick(item)) {\n <button type=\"button\" class=\"btn btn-outline-primary btn-sm pw-onboarding__row-action\" [disabled]=\"busy\"\n (click)=\"tick(item)\"\n [attr.aria-label]=\"((item.state === 'done' ? 'OnboardingChecklist.Action.Undo' : 'OnboardingChecklist.Action.MarkDone') | transloco) + ' ' + item.title\">\n {{ (item.state === 'done' ? 'OnboardingChecklist.Action.Undo' : 'OnboardingChecklist.Action.MarkDone') | transloco }}\n </button>\n }\n <span class=\"pw-onboarding__state\">{{ stateLabelKey(item) | transloco }}</span>\n </li>\n }\n </ol>\n }\n }\n </div>\n }\n }\n }\n </div>\n </div>\n}\n\n<ng-template #faqLink let-step>\n @if (faqHref(step); as href) {\n <a class=\"pw-onboarding__help\" [href]=\"href\" target=\"_blank\" rel=\"noopener\"\n [attr.aria-label]=\"('OnboardingChecklist.Help' | transloco) + ' ' + (step.title ?? (step.title_key | transloco))\"\n [pTooltip]=\"'OnboardingChecklist.Help' | transloco\" tooltipPosition=\"top\" appendTo=\"body\">\n <fa-icon [icon]=\"helpIcon\" aria-hidden=\"true\"></fa-icon>\n </a>\n }\n</ng-template>\n",
|
|
8469
|
-
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);--pw-
|
|
8460
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--public-btn-radius: 24px}.pw-onboarding{margin-top:24px;margin-bottom:16px;padding-bottom:0}.pw-onboarding__all-set{display:flex;align-items:center;gap:8px;color:#45d292}.pw-onboarding__current{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 16px 8px;padding:12px 16px;border:1px solid rgb(226,229,234);border-left:3px solid var(--first, #0d6efd);border-radius:8px;background-color:#f7f8fa}.pw-onboarding__current.is-blocked{border-left-color:#ff586b}.pw-onboarding__main-action{flex:0 0 auto;padding:8px 24px;font-weight:600}.pw-onboarding__current-name{font-size:17px;font-weight:600}.pw-onboarding__current .pw-onboarding__muted{font-size:15px}.pw-onboarding__current-text{display:flex;flex-direction:column;gap:4px;min-width:0}.pw-onboarding__reason{display:flex;align-items:center;gap:6px;color:#ff586b}.pw-onboarding__detail,.pw-onboarding__muted{color:#5a6473;overflow-wrap:anywhere}.pw-onboarding__steps{list-style:none;margin:0;padding:0 16px 16px}.pw-onboarding__step{display:flex;align-items:center;gap:10px;min-height:44px;border-top:1px solid rgb(226,229,234)}.pw-onboarding__step:first-child{border-top:0}.pw-onboarding__step.is-done .pw-onboarding__marker{color:#45d292}.pw-onboarding__step.is-current .pw-onboarding__marker,.pw-onboarding__step.is-ready .pw-onboarding__marker{color:var(--first, #0d6efd)}.pw-onboarding__step.is-blocked .pw-onboarding__marker{color:#ff586b}.pw-onboarding__step.is-current .pw-onboarding__step-title{font-weight:600}.pw-onboarding__marker{flex:0 0 auto;color:#7c8696}.pw-onboarding__step-title{flex:1 1 auto;min-width:0;font-size:15px}.pw-onboarding__progress{display:flex;flex-direction:column;gap:8px;margin-top:4px}.pw-onboarding__progress-value{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.pw-onboarding__progress-label{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.pw-onboarding__progress-extra{color:#5a6473;font-weight:400}.pw-onboarding__progress-track{display:flex;gap:4px}.pw-onboarding__progress-seg{flex:1 1 0;height:8px;border-radius:4px;background-color:#e2e5ea}.pw-onboarding__progress-seg.is-filled{background-color:#fbab00}.pw-onboarding__progress-track.is-complete .pw-onboarding__progress-seg.is-filled{background-color:#45d292}.pw-onboarding__toggle{display:inline-flex;align-items:center;gap:6px;margin-top:12px}.pw-onboarding__group{margin:24px 16px 4px;color:#7c8696;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.pw-onboarding__help{margin-left:6px;font-size:12px}.pw-onboarding__row-action{flex:0 0 auto;padding:2px 10px;font-size:12px}.pw-onboarding__state{flex:0 0 auto;color:#7c8696;font-size:13px;white-space:nowrap}.pw-onboarding__current-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;flex-shrink:0}@media(max-width:575px){.pw-onboarding__current{flex-direction:column;align-items:stretch}.pw-onboarding__current .btn{align-self:flex-start}.pw-onboarding__current-actions{justify-content:flex-start}}\n"],
|
|
8470
8461
|
dependencies: [
|
|
8471
8462
|
{
|
|
8472
8463
|
kind: "component",
|
|
@@ -8619,7 +8610,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8619
8610
|
TranslocoPipe
|
|
8620
8611
|
],
|
|
8621
8612
|
template: "@if (visible) {\n <div class=\"card pw-onboarding\">\n <div class=\"card-content p-0\">\n <pw-loader [isVisible]=\"loading\"></pw-loader>\n\n @if (!loading) {\n @if (loadFailed) {\n <pw-no-data [withImage]=\"true\" [message]=\"'OnboardingChecklist.LoadFailed' | transloco\">\n <div #content>\n <button type=\"button\" class=\"btn btn-outline-secondary btn-sm\" (click)=\"retry.emit()\">\n {{ 'OnboardingChecklist.Action.Retry' | transloco }}\n </button>\n </div>\n </pw-no-data>\n } @else if (status) {\n <div class=\"card-header mt-0\">\n <h3 class=\"mb-2\">{{ 'OnboardingChecklist.Title' | transloco }}</h3>\n @if (allDone) {\n <p class=\"pw-onboarding__all-set\">\n <fa-icon [icon]=\"doneIcon\" aria-hidden=\"true\"></fa-icon>\n {{ 'OnboardingChecklist.AllSet' | transloco }}\n </p>\n } @else {\n <p>{{ 'OnboardingChecklist.Intro' | transloco }}</p>\n }\n @if (status.progress.total) {\n <div class=\"pw-onboarding__progress\">\n <progress class=\"pw-onboarding__progress-value\" [max]=\"status.progress.total\" [value]=\"status.progress.done\"\n [attr.aria-label]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\"></progress>\n <span class=\"pw-onboarding__progress-label\">\n {{ 'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total } }}\n @if (recommended.total) {\n <span class=\"pw-onboarding__progress-extra\">\n {{ 'OnboardingChecklist.ProgressRecommended' | transloco: { done: recommended.done, total: recommended.total } }}\n </span>\n }\n </span>\n <span class=\"pw-onboarding__progress-track\" [class.is-complete]=\"allDone\" aria-hidden=\"true\">\n @for (segment of progressSegments; track segment) {\n <span class=\"pw-onboarding__progress-seg\" [class.is-filled]=\"segment < status.progress.done\"></span>\n }\n </span>\n </div>\n }\n <button type=\"button\" class=\"btn btn-outline-primary pw-onboarding__toggle\" (click)=\"toggle()\"\n [attr.aria-expanded]=\"expanded\" aria-controls=\"pw-onboarding-steps\">\n <fa-icon [icon]=\"expanded ? collapseIcon : expandIcon\" aria-hidden=\"true\"></fa-icon>\n {{ (expanded ? 'OnboardingChecklist.Toggle.Hide' : 'OnboardingChecklist.Toggle.Show') | transloco }}\n </button>\n </div>\n\n @if (expanded) {\n <div id=\"pw-onboarding-steps\">\n @if (currentStep; as step) {\n <div class=\"pw-onboarding__current\" [class.is-blocked]=\"step.state === 'blocked'\">\n <div class=\"pw-onboarding__current-text\">\n <span class=\"pw-onboarding__current-title\">\n <strong class=\"pw-onboarding__current-name\">{{ step.title ?? (step.title_key | transloco) }}</strong>\n <ng-container *ngTemplateOutlet=\"faqLink; context: { $implicit: step }\"></ng-container>\n </span>\n @if (step.state === 'blocked' && step.reason_key) {\n <span class=\"pw-onboarding__reason\">\n <fa-icon [icon]=\"icon(step)\" aria-hidden=\"true\"></fa-icon>\n {{ step.reason_key | transloco }}\n </span>\n @if (step.detail) {\n <span class=\"pw-onboarding__detail\">{{ step.detail }}</span>\n }\n } @else if (step.state === 'waiting') {\n <span class=\"pw-onboarding__muted\">{{ 'OnboardingChecklist.Waiting' | transloco }}</span>\n } @else if (step.description || step.description_key) {\n <span class=\"pw-onboarding__muted\">{{ step.description ?? (step.description_key | transloco) }}</span>\n }\n @if (step.can_act === false) {\n <span class=\"pw-onboarding__muted\">{{ 'OnboardingChecklist.AskAdmin' | transloco }}</span>\n }\n </div>\n <div class=\"pw-onboarding__current-actions\">\n @if (actionKey(step); as action) {\n <a class=\"btn btn-primary pw-onboarding__main-action\" [routerLink]=\"routeFor(step)\">{{ action | transloco }}</a>\n }\n @if (canTick(step)) {\n <button type=\"button\" class=\"btn pw-onboarding__main-action\" [class.btn-primary]=\"!actionKey(step)\"\n [class.btn-outline-primary]=\"actionKey(step)\" [disabled]=\"busy\" (click)=\"tick(step)\">\n {{ 'OnboardingChecklist.Action.MarkDone' | transloco }}\n </button>\n }\n </div>\n </div>\n }\n\n @for (group of groups; track group.key) {\n @if (group.steps.length) {\n <p class=\"pw-onboarding__group\">{{ group.labelKey | transloco }}</p>\n <ol class=\"pw-onboarding__steps\">\n @for (item of group.steps; track item.key) {\n <li class=\"pw-onboarding__step\" [ngClass]=\"'is-' + item.state\" [class.is-current]=\"item.current\">\n <fa-icon class=\"pw-onboarding__marker\" [icon]=\"icon(item)\" aria-hidden=\"true\"></fa-icon>\n <span class=\"pw-onboarding__step-title\">\n {{ item.title ?? (item.title_key | transloco) }}\n <ng-container *ngTemplateOutlet=\"faqLink; context: { $implicit: item }\"></ng-container>\n </span>\n @if (actionKey(item); as action) {\n <a class=\"btn btn-outline-primary btn-sm pw-onboarding__row-action\" [routerLink]=\"routeFor(item)\"\n [attr.aria-label]=\"(action | transloco) + ' ' + (item.title ?? (item.title_key | transloco))\">{{ action | transloco }}</a>\n }\n @if (canTick(item)) {\n <button type=\"button\" class=\"btn btn-outline-primary btn-sm pw-onboarding__row-action\" [disabled]=\"busy\"\n (click)=\"tick(item)\"\n [attr.aria-label]=\"((item.state === 'done' ? 'OnboardingChecklist.Action.Undo' : 'OnboardingChecklist.Action.MarkDone') | transloco) + ' ' + item.title\">\n {{ (item.state === 'done' ? 'OnboardingChecklist.Action.Undo' : 'OnboardingChecklist.Action.MarkDone') | transloco }}\n </button>\n }\n <span class=\"pw-onboarding__state\">{{ stateLabelKey(item) | transloco }}</span>\n </li>\n }\n </ol>\n }\n }\n </div>\n }\n }\n }\n </div>\n </div>\n}\n\n<ng-template #faqLink let-step>\n @if (faqHref(step); as href) {\n <a class=\"pw-onboarding__help\" [href]=\"href\" target=\"_blank\" rel=\"noopener\"\n [attr.aria-label]=\"('OnboardingChecklist.Help' | transloco) + ' ' + (step.title ?? (step.title_key | transloco))\"\n [pTooltip]=\"'OnboardingChecklist.Help' | transloco\" tooltipPosition=\"top\" appendTo=\"body\">\n <fa-icon [icon]=\"helpIcon\" aria-hidden=\"true\"></fa-icon>\n </a>\n }\n</ng-template>\n",
|
|
8622
|
-
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);--pw-
|
|
8613
|
+
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);--pw-neutral-0: #fff;--pw-neutral-50: #f7f8fa;--pw-neutral-100: #eef0f3;--pw-neutral-200: #e2e5ea;--pw-neutral-300: #cfd4dc;--pw-neutral-400: #a8afbc;--pw-neutral-500: #7c8696;--pw-neutral-600: #5a6473;--pw-neutral-700: #3d4654;--pw-neutral-800: #272e38;--pw-neutral-900: #1a1d21;--pw-hairline: var(--pw-neutral-200);--pw-shadow-color: rgb(16 24 40);--pw-stage-bg: #0d131b;--pw-stage-ink: #f4f6f9;--pw-stage-ink-2: rgb(244 246 249 / 72%);--pw-stage-ink-3: rgb(244 246 249 / 52%);--pw-stage-surface: rgb(255 255 255 / 4%);--pw-stage-surface-hover: rgb(255 255 255 / 7%);--pw-stage-line: rgb(255 255 255 / 9%);--pw-stage-line-strong: rgb(255 255 255 / 18%);--public-btn-radius: 24px}.pw-onboarding{margin-top:24px;margin-bottom:16px;padding-bottom:0}.pw-onboarding__all-set{display:flex;align-items:center;gap:8px;color:#45d292}.pw-onboarding__current{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 16px 8px;padding:12px 16px;border:1px solid rgb(226,229,234);border-left:3px solid var(--first, #0d6efd);border-radius:8px;background-color:#f7f8fa}.pw-onboarding__current.is-blocked{border-left-color:#ff586b}.pw-onboarding__main-action{flex:0 0 auto;padding:8px 24px;font-weight:600}.pw-onboarding__current-name{font-size:17px;font-weight:600}.pw-onboarding__current .pw-onboarding__muted{font-size:15px}.pw-onboarding__current-text{display:flex;flex-direction:column;gap:4px;min-width:0}.pw-onboarding__reason{display:flex;align-items:center;gap:6px;color:#ff586b}.pw-onboarding__detail,.pw-onboarding__muted{color:#5a6473;overflow-wrap:anywhere}.pw-onboarding__steps{list-style:none;margin:0;padding:0 16px 16px}.pw-onboarding__step{display:flex;align-items:center;gap:10px;min-height:44px;border-top:1px solid rgb(226,229,234)}.pw-onboarding__step:first-child{border-top:0}.pw-onboarding__step.is-done .pw-onboarding__marker{color:#45d292}.pw-onboarding__step.is-current .pw-onboarding__marker,.pw-onboarding__step.is-ready .pw-onboarding__marker{color:var(--first, #0d6efd)}.pw-onboarding__step.is-blocked .pw-onboarding__marker{color:#ff586b}.pw-onboarding__step.is-current .pw-onboarding__step-title{font-weight:600}.pw-onboarding__marker{flex:0 0 auto;color:#7c8696}.pw-onboarding__step-title{flex:1 1 auto;min-width:0;font-size:15px}.pw-onboarding__progress{display:flex;flex-direction:column;gap:8px;margin-top:4px}.pw-onboarding__progress-value{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.pw-onboarding__progress-label{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.pw-onboarding__progress-extra{color:#5a6473;font-weight:400}.pw-onboarding__progress-track{display:flex;gap:4px}.pw-onboarding__progress-seg{flex:1 1 0;height:8px;border-radius:4px;background-color:#e2e5ea}.pw-onboarding__progress-seg.is-filled{background-color:#fbab00}.pw-onboarding__progress-track.is-complete .pw-onboarding__progress-seg.is-filled{background-color:#45d292}.pw-onboarding__toggle{display:inline-flex;align-items:center;gap:6px;margin-top:12px}.pw-onboarding__group{margin:24px 16px 4px;color:#7c8696;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.pw-onboarding__help{margin-left:6px;font-size:12px}.pw-onboarding__row-action{flex:0 0 auto;padding:2px 10px;font-size:12px}.pw-onboarding__state{flex:0 0 auto;color:#7c8696;font-size:13px;white-space:nowrap}.pw-onboarding__current-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;flex-shrink:0}@media(max-width:575px){.pw-onboarding__current{flex-direction:column;align-items:stretch}.pw-onboarding__current .btn{align-self:flex-start}.pw-onboarding__current-actions{justify-content:flex-start}}\n"]
|
|
8623
8614
|
}]
|
|
8624
8615
|
}],
|
|
8625
8616
|
propDecorators: {
|