@posiwise/shared-components 0.0.216 → 0.0.217

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.
@@ -8293,6 +8293,7 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8293
8293
  this.subscriptionId = null;
8294
8294
  this.retry = new EventEmitter();
8295
8295
  this.doneIcon = faCircleCheck;
8296
+ this.helpIcon = faCircleQuestion;
8296
8297
  }
8297
8298
  get visible() {
8298
8299
  return this.loading || this.loadFailed || this.status?.status === "ok";
@@ -8301,6 +8302,10 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8301
8302
  const progress = this.status?.progress;
8302
8303
  return progress?.total ? Math.round(100 * progress.done / progress.total) : 0;
8303
8304
  }
8305
+ get allDone() {
8306
+ const progress = this.status?.progress;
8307
+ return !!progress?.total && progress.done >= progress.total;
8308
+ }
8304
8309
  get currentStep() {
8305
8310
  return this.status?.steps.find((step) => step.current) ?? null;
8306
8311
  }
@@ -8311,6 +8316,9 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8311
8316
  if (!step.route) return null;
8312
8317
  return step.route.replace("{slug}", this.slug ?? "").replace("{subscription_id}", String(this.subscriptionId ?? ""));
8313
8318
  }
8319
+ faqHref(step) {
8320
+ return step.faq_slug && this.slug ? `/${this.slug}/faq/${step.faq_slug}` : null;
8321
+ }
8314
8322
  actionKey(step) {
8315
8323
  if (step.can_act === false || step.state === "waiting" || !this.routeFor(step)) return null;
8316
8324
  if (step.state === "blocked") return "OnboardingChecklist.Action.Fix";
@@ -8345,8 +8353,8 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8345
8353
  },
8346
8354
  outputs: { retry: "retry" },
8347
8355
  ngImport: i0,
8348
- 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 (status.activated) {\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 <pw-completion-bar\n [value]=\"progressPercent\"\n [label]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\"\n [ariaLabel]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\">\n </pw-completion-bar>\n </div>\n\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 <strong>{{ step.title_key | transloco }}</strong>\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_key) {\n <span class=\"pw-onboarding__muted\">{{ 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 @if (actionKey(step); as action) {\n <a class=\"btn btn-primary btn-sm\" [routerLink]=\"routeFor(step)\">{{ action | transloco }}</a>\n }\n </div>\n }\n\n <ol class=\"pw-onboarding__steps\">\n @for (item of status.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\">{{ item.title_key | transloco }}</span>\n <span class=\"pw-onboarding__state\">\n @if (item.kind === 'optional' && item.state !== 'done') {\n {{ 'OnboardingChecklist.State.optional' | transloco }}\n } @else {\n {{ 'OnboardingChecklist.State.' + item.state | transloco }}\n }\n </span>\n </li>\n }\n </ol>\n }\n }\n </div>\n </div>\n}\n",
8349
- 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-onboarding{margin-top:8px;margin-bottom:16px}.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__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:40px;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-blocked .pw-onboarding__marker{color:#ff586b}.pw-onboarding__step.is-current .pw-onboarding__marker,.pw-onboarding__step.is-ready .pw-onboarding__marker{color:var(--first, #0d6efd)}.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}.pw-onboarding__state{flex:0 0 auto;color:#7c8696;font-size:12px;white-space:nowrap}@media(max-width:575px){.pw-onboarding__current{flex-direction:column;align-items:stretch}.pw-onboarding__current .btn{align-self:flex-start}}\n"],
8356
+ 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 <pw-completion-bar\n [value]=\"progressPercent\"\n [label]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\"\n [ariaLabel]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\">\n </pw-completion-bar>\n </div>\n\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 <strong>{{ step.title_key | transloco }}</strong>\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_key) {\n <span class=\"pw-onboarding__muted\">{{ 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 (faqHref(step); as href) {\n <a class=\"pw-onboarding__help\" [href]=\"href\" target=\"_blank\" rel=\"noopener\">\n <fa-icon [icon]=\"helpIcon\" aria-hidden=\"true\"></fa-icon>\n {{ 'OnboardingChecklist.Help' | transloco }}\n </a>\n }\n @if (actionKey(step); as action) {\n <a class=\"btn btn-primary btn-sm\" [routerLink]=\"routeFor(step)\">{{ action | transloco }}</a>\n }\n </div>\n </div>\n }\n\n <ol class=\"pw-onboarding__steps\">\n @for (item of status.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\">{{ item.title_key | transloco }}</span>\n @if (faqHref(item); as href) {\n <a class=\"pw-onboarding__help\" [href]=\"href\" target=\"_blank\" rel=\"noopener\"\n [attr.aria-label]=\"('OnboardingChecklist.Help' | transloco) + ' ' + (item.title_key | transloco)\">\n <fa-icon [icon]=\"helpIcon\" aria-hidden=\"true\"></fa-icon>\n <span class=\"pw-onboarding__help-text\">{{ 'OnboardingChecklist.Help' | transloco }}</span>\n </a>\n }\n <span class=\"pw-onboarding__state\">\n @if (item.kind === 'optional' && item.state !== 'done') {\n {{ 'OnboardingChecklist.State.optional' | transloco }}\n } @else {\n {{ 'OnboardingChecklist.State.' + item.state | transloco }}\n }\n </span>\n </li>\n }\n </ol>\n }\n }\n </div>\n </div>\n}\n",
8357
+ 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-onboarding{margin-top:24px;margin-bottom:16px}.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__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:40px;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-blocked .pw-onboarding__marker{color:#ff586b}.pw-onboarding__step.is-current .pw-onboarding__marker,.pw-onboarding__step.is-ready .pw-onboarding__marker{color:var(--first, #0d6efd)}.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}.pw-onboarding__current-actions{display:flex;flex:0 0 auto;align-items:center;gap:16px}.pw-onboarding__help{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.pw-onboarding__state{flex:0 0 auto;color:#7c8696;font-size:12px;white-space:nowrap}@media(max-width:575px){.pw-onboarding__current{flex-direction:column;align-items:stretch}.pw-onboarding__current .pw-onboarding__current-actions{align-self:flex-start}.pw-onboarding__help-text{display:none}}\n"],
8350
8358
  dependencies: [
8351
8359
  {
8352
8360
  kind: "directive",
@@ -8466,8 +8474,8 @@ i0.ɵɵngDeclareClassMetadata({
8466
8474
  selector: "pw-onboarding-checklist",
8467
8475
  standalone: false,
8468
8476
  changeDetection: ChangeDetectionStrategy.OnPush,
8469
- 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 (status.activated) {\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 <pw-completion-bar\n [value]=\"progressPercent\"\n [label]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\"\n [ariaLabel]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\">\n </pw-completion-bar>\n </div>\n\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 <strong>{{ step.title_key | transloco }}</strong>\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_key) {\n <span class=\"pw-onboarding__muted\">{{ 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 @if (actionKey(step); as action) {\n <a class=\"btn btn-primary btn-sm\" [routerLink]=\"routeFor(step)\">{{ action | transloco }}</a>\n }\n </div>\n }\n\n <ol class=\"pw-onboarding__steps\">\n @for (item of status.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\">{{ item.title_key | transloco }}</span>\n <span class=\"pw-onboarding__state\">\n @if (item.kind === 'optional' && item.state !== 'done') {\n {{ 'OnboardingChecklist.State.optional' | transloco }}\n } @else {\n {{ 'OnboardingChecklist.State.' + item.state | transloco }}\n }\n </span>\n </li>\n }\n </ol>\n }\n }\n </div>\n </div>\n}\n",
8470
- 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-onboarding{margin-top:8px;margin-bottom:16px}.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__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:40px;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-blocked .pw-onboarding__marker{color:#ff586b}.pw-onboarding__step.is-current .pw-onboarding__marker,.pw-onboarding__step.is-ready .pw-onboarding__marker{color:var(--first, #0d6efd)}.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}.pw-onboarding__state{flex:0 0 auto;color:#7c8696;font-size:12px;white-space:nowrap}@media(max-width:575px){.pw-onboarding__current{flex-direction:column;align-items:stretch}.pw-onboarding__current .btn{align-self:flex-start}}\n"]
8477
+ 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 <pw-completion-bar\n [value]=\"progressPercent\"\n [label]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\"\n [ariaLabel]=\"'OnboardingChecklist.Progress' | transloco: { done: status.progress.done, total: status.progress.total }\">\n </pw-completion-bar>\n </div>\n\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 <strong>{{ step.title_key | transloco }}</strong>\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_key) {\n <span class=\"pw-onboarding__muted\">{{ 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 (faqHref(step); as href) {\n <a class=\"pw-onboarding__help\" [href]=\"href\" target=\"_blank\" rel=\"noopener\">\n <fa-icon [icon]=\"helpIcon\" aria-hidden=\"true\"></fa-icon>\n {{ 'OnboardingChecklist.Help' | transloco }}\n </a>\n }\n @if (actionKey(step); as action) {\n <a class=\"btn btn-primary btn-sm\" [routerLink]=\"routeFor(step)\">{{ action | transloco }}</a>\n }\n </div>\n </div>\n }\n\n <ol class=\"pw-onboarding__steps\">\n @for (item of status.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\">{{ item.title_key | transloco }}</span>\n @if (faqHref(item); as href) {\n <a class=\"pw-onboarding__help\" [href]=\"href\" target=\"_blank\" rel=\"noopener\"\n [attr.aria-label]=\"('OnboardingChecklist.Help' | transloco) + ' ' + (item.title_key | transloco)\">\n <fa-icon [icon]=\"helpIcon\" aria-hidden=\"true\"></fa-icon>\n <span class=\"pw-onboarding__help-text\">{{ 'OnboardingChecklist.Help' | transloco }}</span>\n </a>\n }\n <span class=\"pw-onboarding__state\">\n @if (item.kind === 'optional' && item.state !== 'done') {\n {{ 'OnboardingChecklist.State.optional' | transloco }}\n } @else {\n {{ 'OnboardingChecklist.State.' + item.state | transloco }}\n }\n </span>\n </li>\n }\n </ol>\n }\n }\n </div>\n </div>\n}\n",
8478
+ 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-onboarding{margin-top:24px;margin-bottom:16px}.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__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:40px;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-blocked .pw-onboarding__marker{color:#ff586b}.pw-onboarding__step.is-current .pw-onboarding__marker,.pw-onboarding__step.is-ready .pw-onboarding__marker{color:var(--first, #0d6efd)}.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}.pw-onboarding__current-actions{display:flex;flex:0 0 auto;align-items:center;gap:16px}.pw-onboarding__help{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.pw-onboarding__state{flex:0 0 auto;color:#7c8696;font-size:12px;white-space:nowrap}@media(max-width:575px){.pw-onboarding__current{flex-direction:column;align-items:stretch}.pw-onboarding__current .pw-onboarding__current-actions{align-self:flex-start}.pw-onboarding__help-text{display:none}}\n"]
8471
8479
  }]
8472
8480
  }],
8473
8481
  propDecorators: {