@posiwise/shared-components 0.0.225 → 0.0.227

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as i1$3 from "@angular/common";
2
2
  import { CommonModule, DOCUMENT, NgIf } from "@angular/common";
3
3
  import * as i0 from "@angular/core";
4
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DOCUMENT as DOCUMENT$1, DestroyRef, Directive, EventEmitter, Host, HostBinding, HostListener, Inject, Injectable, InjectionToken, Input, NgModule, Optional, Output, Pipe, SkipSelf, ViewChild, ViewContainerRef, booleanAttribute, inject, isDevMode } from "@angular/core";
4
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DOCUMENT as DOCUMENT$1, DestroyRef, Directive, EventEmitter, Host, HostBinding, HostListener, Inject, Injectable, InjectionToken, Input, NgModule, Optional, Output, Pipe, SkipSelf, ViewChild, ViewContainerRef, ViewEncapsulation, booleanAttribute, computed, inject, input, isDevMode } from "@angular/core";
5
5
  import * as i4$1 from "@angular/forms";
6
6
  import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormControl, Validators } from "@angular/forms";
7
7
  import * as i9$1 from "@angular/router";
@@ -8538,7 +8538,7 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8538
8538
  },
8539
8539
  usesOnChanges: true,
8540
8540
  ngImport: i0,
8541
- 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 btn-sm 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",
8541
+ 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",
8542
8542
  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;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"],
8543
8543
  dependencies: [
8544
8544
  {
@@ -8682,7 +8682,7 @@ i0.ɵɵngDeclareClassMetadata({
8682
8682
  selector: "pw-onboarding-checklist",
8683
8683
  standalone: false,
8684
8684
  changeDetection: ChangeDetectionStrategy.OnPush,
8685
- 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 btn-sm 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",
8685
+ 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",
8686
8686
  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;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"]
8687
8687
  }]
8688
8688
  }],
@@ -9229,6 +9229,10 @@ i0.ɵɵngDeclareClassMetadata({
9229
9229
  }]
9230
9230
  }]
9231
9231
  });
9232
+ function hasOpenMandatorySteps(status) {
9233
+ const progress = status?.progress;
9234
+ return status?.status === "ok" && !!progress?.total && progress.done < progress.total;
9235
+ }
9232
9236
  var CollapsibleSidebarSuperAdminGuard = class CollapsibleSidebarSuperAdminGuard {
9233
9237
  constructor(userService, permissionService) {
9234
9238
  this.userService = userService;
@@ -9312,6 +9316,188 @@ i0.ɵɵngDeclareClassMetadata({
9312
9316
  }],
9313
9317
  ctorParameters: () => [{ type: i1$2.MainApiHttpService }]
9314
9318
  });
9315
- export { AiKnowledgeComponent, AuthenticatorComponent, BRAIN_CHAT_PRODUCT_PROMPTS, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnboardingChecklistComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames, visibleProductPrompts };
9319
+ const ICONS = {
9320
+ warning: "fa-triangle-exclamation",
9321
+ error: "fa-circle-exclamation",
9322
+ info: "fa-circle-info"
9323
+ };
9324
+ var PwNoticeComponent = class PwNoticeComponent {
9325
+ constructor() {
9326
+ this.tone = input("warning", ...ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []);
9327
+ this.heading = input(null, ...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
9328
+ this.icon = computed(() => ICONS[this.tone()], ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
9329
+ }
9330
+ static {
9331
+ this.ɵfac = i0.ɵɵngDeclareFactory({
9332
+ minVersion: "12.0.0",
9333
+ version: "22.2.0",
9334
+ ngImport: i0,
9335
+ type: PwNoticeComponent,
9336
+ deps: [],
9337
+ target: i0.ɵɵFactoryTarget.Component
9338
+ });
9339
+ }
9340
+ static {
9341
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
9342
+ minVersion: "17.0.0",
9343
+ version: "22.2.0",
9344
+ type: PwNoticeComponent,
9345
+ isStandalone: true,
9346
+ selector: "pw-notice",
9347
+ inputs: {
9348
+ tone: {
9349
+ classPropertyName: "tone",
9350
+ publicName: "tone",
9351
+ isSignal: true,
9352
+ isRequired: false,
9353
+ transformFunction: null
9354
+ },
9355
+ heading: {
9356
+ classPropertyName: "heading",
9357
+ publicName: "heading",
9358
+ isSignal: true,
9359
+ isRequired: false,
9360
+ transformFunction: null
9361
+ }
9362
+ },
9363
+ host: {
9364
+ properties: {
9365
+ "class.pw-notice--warning": "tone() === 'warning'",
9366
+ "class.pw-notice--error": "tone() === 'error'",
9367
+ "class.pw-notice--info": "tone() === 'info'",
9368
+ "attr.role": "tone() === 'error' ? 'alert' : 'status'"
9369
+ },
9370
+ classAttribute: "pw-notice"
9371
+ },
9372
+ ngImport: i0,
9373
+ template: "<i class=\"fas pw-notice__icon\"\n [class]=\"icon()\"\n aria-hidden=\"true\"></i>\n<div class=\"pw-notice__body\">\n @if (heading()) {\n <div class=\"pw-notice__heading\">{{ heading() }}</div>\n }\n <div class=\"pw-notice__text\">\n <ng-content />\n </div>\n</div>\n",
9374
+ styles: [".pw-notice{--pw-notice-accent: var(--pw-notice-warning, #b7791f);display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;padding:10px 14px;border:1px solid color-mix(in srgb,var(--pw-notice-accent) 32%,transparent);border-radius:8px;background:color-mix(in srgb,var(--pw-notice-accent) 7%,transparent);color:#3d4654;font-size:13px;line-height:1.5;text-align:start}.pw-notice--error{--pw-notice-accent: var(--pw-notice-error, #c0392b)}.pw-notice--info{--pw-notice-accent: var(--pw-notice-info, #5a6473);border-color:#e2e5ea;background:#fff}.pw-notice__icon{flex:none;color:var(--pw-notice-accent);font-size:14px;line-height:19.5px}.pw-notice__body{flex:1;min-width:0}.pw-notice__heading{margin-bottom:2px;color:#1a1d21;font-weight:600}.pw-notice__text{white-space:pre-line;overflow-wrap:anywhere}.pw-notice__list{margin:4px 0 0;padding-left:18px;white-space:normal}\n"],
9375
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
9376
+ encapsulation: i0.ViewEncapsulation.None
9377
+ });
9378
+ }
9379
+ };
9380
+ i0.ɵɵngDeclareClassMetadata({
9381
+ minVersion: "12.0.0",
9382
+ version: "22.2.0",
9383
+ ngImport: i0,
9384
+ type: PwNoticeComponent,
9385
+ decorators: [{
9386
+ type: Component,
9387
+ args: [{
9388
+ selector: "pw-notice",
9389
+ standalone: true,
9390
+ encapsulation: ViewEncapsulation.None,
9391
+ changeDetection: ChangeDetectionStrategy.OnPush,
9392
+ host: {
9393
+ class: "pw-notice",
9394
+ "[class.pw-notice--warning]": "tone() === 'warning'",
9395
+ "[class.pw-notice--error]": "tone() === 'error'",
9396
+ "[class.pw-notice--info]": "tone() === 'info'",
9397
+ "[attr.role]": "tone() === 'error' ? 'alert' : 'status'"
9398
+ },
9399
+ template: "<i class=\"fas pw-notice__icon\"\n [class]=\"icon()\"\n aria-hidden=\"true\"></i>\n<div class=\"pw-notice__body\">\n @if (heading()) {\n <div class=\"pw-notice__heading\">{{ heading() }}</div>\n }\n <div class=\"pw-notice__text\">\n <ng-content />\n </div>\n</div>\n",
9400
+ styles: [".pw-notice{--pw-notice-accent: var(--pw-notice-warning, #b7791f);display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;padding:10px 14px;border:1px solid color-mix(in srgb,var(--pw-notice-accent) 32%,transparent);border-radius:8px;background:color-mix(in srgb,var(--pw-notice-accent) 7%,transparent);color:#3d4654;font-size:13px;line-height:1.5;text-align:start}.pw-notice--error{--pw-notice-accent: var(--pw-notice-error, #c0392b)}.pw-notice--info{--pw-notice-accent: var(--pw-notice-info, #5a6473);border-color:#e2e5ea;background:#fff}.pw-notice__icon{flex:none;color:var(--pw-notice-accent);font-size:14px;line-height:19.5px}.pw-notice__body{flex:1;min-width:0}.pw-notice__heading{margin-bottom:2px;color:#1a1d21;font-weight:600}.pw-notice__text{white-space:pre-line;overflow-wrap:anywhere}.pw-notice__list{margin:4px 0 0;padding-left:18px;white-space:normal}\n"]
9401
+ }]
9402
+ }],
9403
+ propDecorators: {
9404
+ tone: [{
9405
+ type: i0.Input,
9406
+ args: [{
9407
+ isSignal: true,
9408
+ alias: "tone",
9409
+ required: false
9410
+ }]
9411
+ }],
9412
+ heading: [{
9413
+ type: i0.Input,
9414
+ args: [{
9415
+ isSignal: true,
9416
+ alias: "heading",
9417
+ required: false
9418
+ }]
9419
+ }]
9420
+ }
9421
+ });
9422
+ var PwEditCardComponent = class PwEditCardComponent {
9423
+ constructor() {
9424
+ this.icon = input.required(...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
9425
+ this.title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
9426
+ }
9427
+ static {
9428
+ this.ɵfac = i0.ɵɵngDeclareFactory({
9429
+ minVersion: "12.0.0",
9430
+ version: "22.2.0",
9431
+ ngImport: i0,
9432
+ type: PwEditCardComponent,
9433
+ deps: [],
9434
+ target: i0.ɵɵFactoryTarget.Component
9435
+ });
9436
+ }
9437
+ static {
9438
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
9439
+ minVersion: "17.1.0",
9440
+ version: "22.2.0",
9441
+ type: PwEditCardComponent,
9442
+ isStandalone: true,
9443
+ selector: "pw-edit-card",
9444
+ inputs: {
9445
+ icon: {
9446
+ classPropertyName: "icon",
9447
+ publicName: "icon",
9448
+ isSignal: true,
9449
+ isRequired: true,
9450
+ transformFunction: null
9451
+ },
9452
+ title: {
9453
+ classPropertyName: "title",
9454
+ publicName: "title",
9455
+ isSignal: true,
9456
+ isRequired: true,
9457
+ transformFunction: null
9458
+ }
9459
+ },
9460
+ ngImport: i0,
9461
+ template: "<div class=\"card pw-edit-card\">\n <div class=\"card-body\">\n <div class=\"pw-edit-card__head\">\n <span class=\"pw-edit-card__icon\"\n aria-hidden=\"true\"><i class=\"fa-regular {{ icon() }}\"></i></span>\n <h3>{{ title() }}</h3>\n </div>\n <ng-content />\n </div>\n</div>\n",
9462
+ styles: [".pw-edit-card{margin-bottom:1rem;padding-bottom:0;border:1px solid #e2e5ea;border-radius:.5rem;box-shadow:none}.pw-edit-card>.card-body{padding:16px 24px}.pw-edit-card__head{display:flex;align-items:baseline;gap:.75rem}.pw-edit-card__icon{display:inline-grid;flex-shrink:0;place-items:center;width:2.25rem;height:2.25rem;border-radius:.5rem;background-color:color-mix(in srgb,var(--first) 12%,transparent);color:var(--first);font-size:1rem}\n"],
9463
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
9464
+ });
9465
+ }
9466
+ };
9467
+ i0.ɵɵngDeclareClassMetadata({
9468
+ minVersion: "12.0.0",
9469
+ version: "22.2.0",
9470
+ ngImport: i0,
9471
+ type: PwEditCardComponent,
9472
+ decorators: [{
9473
+ type: Component,
9474
+ args: [{
9475
+ selector: "pw-edit-card",
9476
+ standalone: true,
9477
+ changeDetection: ChangeDetectionStrategy.OnPush,
9478
+ template: "<div class=\"card pw-edit-card\">\n <div class=\"card-body\">\n <div class=\"pw-edit-card__head\">\n <span class=\"pw-edit-card__icon\"\n aria-hidden=\"true\"><i class=\"fa-regular {{ icon() }}\"></i></span>\n <h3>{{ title() }}</h3>\n </div>\n <ng-content />\n </div>\n</div>\n",
9479
+ styles: [".pw-edit-card{margin-bottom:1rem;padding-bottom:0;border:1px solid #e2e5ea;border-radius:.5rem;box-shadow:none}.pw-edit-card>.card-body{padding:16px 24px}.pw-edit-card__head{display:flex;align-items:baseline;gap:.75rem}.pw-edit-card__icon{display:inline-grid;flex-shrink:0;place-items:center;width:2.25rem;height:2.25rem;border-radius:.5rem;background-color:color-mix(in srgb,var(--first) 12%,transparent);color:var(--first);font-size:1rem}\n"]
9480
+ }]
9481
+ }],
9482
+ propDecorators: {
9483
+ icon: [{
9484
+ type: i0.Input,
9485
+ args: [{
9486
+ isSignal: true,
9487
+ alias: "icon",
9488
+ required: true
9489
+ }]
9490
+ }],
9491
+ title: [{
9492
+ type: i0.Input,
9493
+ args: [{
9494
+ isSignal: true,
9495
+ alias: "title",
9496
+ required: true
9497
+ }]
9498
+ }]
9499
+ }
9500
+ });
9501
+ export { AiKnowledgeComponent, AuthenticatorComponent, BRAIN_CHAT_PRODUCT_PROMPTS, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnboardingChecklistComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwEditCardComponent, PwNoticeComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, hasOpenMandatorySteps, registeredType, registeredTypeNames, visibleProductPrompts };
9316
9502
 
9317
9503
  //# sourceMappingURL=posiwise-shared-components.mjs.map