@posiwise/shared-components 0.0.215 → 0.0.216

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.
@@ -50,7 +50,7 @@ import * as i2$4 from "@jsverse/transloco";
50
50
  import { AppBaseComponent } from "@posiwise/app-base-component";
51
51
  import * as i2$3 from "@posiwise/app-config-service";
52
52
  import { BehaviorSubject, Subject, of, takeUntil as takeUntil$1 } from "rxjs";
53
- import * as i3 from "@ngrx/store";
53
+ import * as i3$1 from "@ngrx/store";
54
54
  import { HelperService } from "@posiwise/helper-service";
55
55
  import { __decorate, __metadata } from "tslib";
56
56
  import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
@@ -58,6 +58,9 @@ import { StatusCodes } from "http-status-codes";
58
58
  import * as i2$2 from "@angular/platform-browser";
59
59
  import * as i1 from "@posiwise/admin-module-utils";
60
60
  import { DragDropModule } from "@angular/cdk/drag-drop";
61
+ import * as i3 from "@fortawesome/angular-fontawesome";
62
+ import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
63
+ import { faCircle, faCircleCheck, faCircleExclamation, faCircleHalfStroke, faCircleQuestion, faHourglassHalf } from "@fortawesome/free-solid-svg-icons";
61
64
  var ConfirmDialogComponent = class ConfirmDialogComponent {
62
65
  constructor(modal) {
63
66
  this.modal = modal;
@@ -565,7 +568,7 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
565
568
  }],
566
569
  usesOnChanges: true,
567
570
  ngImport: i0,
568
- template: "<section class=\"ai-knowledge\">\n <div class=\"title\">\n <h2>{{ (scope === 'personal' ? 'AiKnowledge.PersonalTitle' : 'AiKnowledge.Title') | transloco: { name: subscriptionName } }}</h2>\n </div>\n <p>{{ (scope === 'personal' ? 'AiKnowledge.PersonalIntro' : 'AiKnowledge.Intro') | transloco: { name: subscriptionName } }}</p>\n\n @if (!useOwnData) {\n <div class=\"alert alert-warning ai-knowledge-off\" role=\"status\">\n <i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>\n <span>\n {{ (scope === 'personal' ? 'AiKnowledge.PersonalUseOwnDataOff' : 'AiKnowledge.UseOwnDataOff') | transloco: { name: subscriptionName } }}\n @if (scope === 'subscription' && subscriptionId) {\n <a [routerLink]=\"['/account/subscriptions', subscriptionId]\">{{ 'AiKnowledge.OpenSubscriptionSettings' | transloco }}</a>\n }\n </span>\n </div>\n }\n\n @if (useOwnData) {\n <div class=\"ai-knowledge-toolbar\">\n <span class=\"ai-knowledge-hint\">{{ 'AiKnowledge.Accepted' | transloco }}</span>\n <input #fileInput type=\"file\" class=\"d-none\" id=\"ai-knowledge-file-{{ scope }}\"\n [accept]=\"accept\" (change)=\"onFileSelected($event)\" />\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\"\n [disabled]=\"uploading || !subscriptionId\" (click)=\"chooseFile()\">\n <i class=\"fa\" [class.fa-upload]=\"!uploading\" [class.fa-spinner]=\"uploading\" [class.fa-spin]=\"uploading\"\n aria-hidden=\"true\"></i>\n {{ (uploading ? 'AiKnowledge.Uploading' : 'AiKnowledge.UploadFile') | transloco }}\n </button>\n </div>\n }\n\n <pw-loader [isVisible]=\"loading\"></pw-loader>\n\n @if (!loading) {\n @if (files.length) {\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\">\n <p-table #dt [value]=\"files\" dataKey=\"path\"\n [paginator]=\"files.length !== 0\"\n [rows]=\"pageSize\"\n [globalFilterFields]=\"['name', 'path']\"\n (onPage)=\"pageFirst = $event.first\"\n (onFilter)=\"pageFirst = 0\">\n <ng-template #caption>\n <div class=\"text-end\">\n <label for=\"ai-knowledge-search-{{ scope }}\" class=\"visually-hidden\">{{ 'AiKnowledge.SearchPlaceholder' | transloco }}</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input type=\"text\"\n id=\"ai-knowledge-search-{{ scope }}\"\n name=\"ai-knowledge-search-{{ scope }}\"\n [(ngModel)]=\"searchText\"\n pInputText\n [placeholder]=\"'AiKnowledge.SearchPlaceholder' | transloco\"\n (input)=\"dt.filterGlobal(searchText, 'contains')\"\n [attr.aria-label]=\"'AiKnowledge.SearchPlaceholder' | transloco\" />\n </p-iconfield>\n </div>\n </ng-template>\n <ng-template #emptymessage>\n <tr>\n <td [attr.colspan]=\"showFolder ? 5 : 4\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\"\n [description]=\"'Search.NoDataDescription' | transloco\"></pw-no-data>\n </td>\n </tr>\n </ng-template>\n <ng-template #header>\n <tr>\n <th scope=\"col\">{{ 'Label.Name' | transloco }}</th>\n @if (showFolder) {\n <th scope=\"col\">{{ 'AiKnowledge.Folder' | transloco }}</th>\n }\n <th scope=\"col\">{{ 'AiKnowledge.Size' | transloco }}</th>\n <th scope=\"col\">{{ 'AiKnowledge.Modified' | transloco }}</th>\n <th class=\"actions-list-two\" scope=\"col\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body let-file>\n <tr>\n <td data-head=\"Name\">\n <a href=\"\" [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n (click)=\"$event.preventDefault(); download(file)\">{{ file.name }}</a>\n </td>\n @if (showFolder) {\n <td data-head=\"Folder\">\n @if (folderOf(file); as folder) {\n <span class=\"badge\" [ngClass]=\"folderBadgeClass(file)\">{{ folder }}</span>\n }\n </td>\n }\n <td data-head=\"Size\">{{ sizeOf(file.size) }}</td>\n <td data-head=\"Modified\">{{ file.last_modified | dateFormat: 'datetime' }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n <li [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DownloadFile' | transloco\"\n (click)=\"download(file)\" (keydown.enter)=\"download(file)\">\n <i class=\"fa fa-download edit-icon\" aria-hidden=\"true\"></i>\n </li>\n <li [pTooltip]=\"'AiKnowledge.DeleteFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DeleteFile' | transloco\"\n (click)=\"remove(file)\" (keydown.enter)=\"remove(file)\">\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <pw-records-summary [showing]=\"shownOnPage(dt)\" [total]=\"matchingCount(dt)\" />\n </div>\n @if (truncated) {\n <p class=\"ai-knowledge-hint mt-2\">{{ 'AiKnowledge.Truncated' | transloco: { count: files.length } }}</p>\n }\n } @else if (loadFailed) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.LoadFailed' | transloco\"\n [description]=\"unavailableReason || ('AiKnowledge.LoadFailedDescription' | transloco)\">\n <div #content>\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\" (click)=\"load()\">\n <i class=\"fa fa-rotate-right\" aria-hidden=\"true\"></i>\n {{ 'AiKnowledge.TryAgain' | transloco }}\n </button>\n </div>\n </pw-no-data>\n } @else if (useOwnData) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoFiles' | transloco\"\n [description]=\"'AiKnowledge.NoFilesDescription' | transloco\"></pw-no-data>\n }\n }\n</section>\n",
571
+ template: "<section class=\"ai-knowledge\">\n <div class=\"title\">\n <h2>{{ (scope === 'personal' ? 'AiKnowledge.PersonalTitle' : 'AiKnowledge.Title') | transloco: { name: subscriptionName } }}</h2>\n </div>\n <p>{{ (scope === 'personal' ? 'AiKnowledge.PersonalIntro' : 'AiKnowledge.Intro') | transloco: { name: subscriptionName } }}</p>\n\n @if (!useOwnData) {\n <output class=\"alert alert-warning ai-knowledge-off\">\n <i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>\n <span>\n {{ (scope === 'personal' ? 'AiKnowledge.PersonalUseOwnDataOff' : 'AiKnowledge.UseOwnDataOff') | transloco: { name: subscriptionName } }}\n @if (scope === 'subscription' && subscriptionId) {\n <a [routerLink]=\"['/account/subscriptions', subscriptionId]\">{{ 'AiKnowledge.OpenSubscriptionSettings' | transloco }}</a>\n }\n </span>\n </output>\n }\n\n @if (useOwnData) {\n <div class=\"ai-knowledge-toolbar\">\n <span class=\"ai-knowledge-hint\">{{ 'AiKnowledge.Accepted' | transloco }}</span>\n <input #fileInput type=\"file\" class=\"d-none\" id=\"ai-knowledge-file-{{ scope }}\"\n [accept]=\"accept\" (change)=\"onFileSelected($event)\" />\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\"\n [disabled]=\"uploading || !subscriptionId\" (click)=\"chooseFile()\">\n <i class=\"fa\" [class.fa-upload]=\"!uploading\" [class.fa-spinner]=\"uploading\" [class.fa-spin]=\"uploading\"\n aria-hidden=\"true\"></i>\n {{ (uploading ? 'AiKnowledge.Uploading' : 'AiKnowledge.UploadFile') | transloco }}\n </button>\n </div>\n }\n\n <pw-loader [isVisible]=\"loading\"></pw-loader>\n\n @if (!loading) {\n @if (files.length) {\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\">\n <p-table #dt [value]=\"files\" dataKey=\"path\"\n [paginator]=\"files.length !== 0\"\n [rows]=\"pageSize\"\n [globalFilterFields]=\"['name', 'path']\"\n (onPage)=\"pageFirst = $event.first\"\n (onFilter)=\"pageFirst = 0\"\n stateKey=\"pw-table.ai-knowledge\"\n stateStorage=\"session\"\n [resizableColumns]=\"true\"\n columnResizeMode=\"expand\"\n >\n <ng-template #caption>\n <div class=\"text-end\">\n <label for=\"ai-knowledge-search-{{ scope }}\" class=\"visually-hidden\">{{ 'AiKnowledge.SearchPlaceholder' | transloco }}</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input type=\"text\"\n id=\"ai-knowledge-search-{{ scope }}\"\n name=\"ai-knowledge-search-{{ scope }}\"\n [(ngModel)]=\"searchText\"\n pInputText\n [placeholder]=\"'AiKnowledge.SearchPlaceholder' | transloco\"\n (input)=\"dt.filterGlobal(searchText, 'contains')\"\n [attr.aria-label]=\"'AiKnowledge.SearchPlaceholder' | transloco\" />\n </p-iconfield>\n </div>\n </ng-template>\n <ng-template #emptymessage>\n <tr>\n <td [attr.colspan]=\"showFolder ? 5 : 4\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\"\n [description]=\"'Search.NoDataDescription' | transloco\"></pw-no-data>\n </td>\n </tr>\n </ng-template>\n <ng-template #header>\n <tr>\n <th pResizableColumn scope=\"col\">{{ 'Label.Name' | transloco }}</th>\n @if (showFolder) {\n <th pResizableColumn scope=\"col\">{{ 'AiKnowledge.Folder' | transloco }}</th>\n }\n <th pResizableColumn scope=\"col\">{{ 'AiKnowledge.Size' | transloco }}</th>\n <th pResizableColumn scope=\"col\">{{ 'AiKnowledge.Modified' | transloco }}</th>\n <th class=\"actions-list-two\" scope=\"col\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body let-file>\n <tr>\n <td data-head=\"Name\">\n <a href=\"\" [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n (click)=\"$event.preventDefault(); download(file)\">{{ file.name }}</a>\n </td>\n @if (showFolder) {\n <td data-head=\"Folder\">\n @if (folderOf(file); as folder) {\n <span class=\"badge\" [ngClass]=\"folderBadgeClass(file)\">{{ folder }}</span>\n }\n </td>\n }\n <td data-head=\"Size\">{{ sizeOf(file.size) }}</td>\n <td data-head=\"Modified\">{{ file.last_modified | dateFormat: 'datetime' }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n <li [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DownloadFile' | transloco\"\n (click)=\"download(file)\" (keydown.enter)=\"download(file)\">\n <i class=\"fa fa-download edit-icon\" aria-hidden=\"true\"></i>\n </li>\n <li [pTooltip]=\"'AiKnowledge.DeleteFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DeleteFile' | transloco\"\n (click)=\"remove(file)\" (keydown.enter)=\"remove(file)\">\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <pw-records-summary [showing]=\"shownOnPage(dt)\" [total]=\"matchingCount(dt)\" />\n </div>\n @if (truncated) {\n <p class=\"ai-knowledge-hint mt-2\">{{ 'AiKnowledge.Truncated' | transloco: { count: files.length } }}</p>\n }\n } @else if (loadFailed) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.LoadFailed' | transloco\"\n [description]=\"unavailableReason || ('AiKnowledge.LoadFailedDescription' | transloco)\">\n <div #content>\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\" (click)=\"load()\">\n <i class=\"fa fa-rotate-right\" aria-hidden=\"true\"></i>\n {{ 'AiKnowledge.TryAgain' | transloco }}\n </button>\n </div>\n </pw-no-data>\n } @else if (useOwnData) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoFiles' | transloco\"\n [description]=\"'AiKnowledge.NoFilesDescription' | transloco\"></pw-no-data>\n }\n }\n</section>\n",
569
572
  styles: [".ai-knowledge-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-bottom:16px}.ai-knowledge-hint{color:#5a6473;font-size:12px}td[data-head=Name]{min-width:200px}td[data-head=Size],td[data-head=Modified]{white-space:nowrap;font-variant-numeric:tabular-nums}.ai-knowledge-off{display:flex;align-items:baseline;gap:8px}\n"],
570
573
  dependencies: [
571
574
  {
@@ -787,6 +790,12 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
787
790
  "onStateRestore"
788
791
  ]
789
792
  },
793
+ {
794
+ kind: "directive",
795
+ type: i11.ResizableColumn,
796
+ selector: "[pResizableColumn]",
797
+ inputs: ["pResizableColumnDisabled"]
798
+ },
790
799
  {
791
800
  kind: "directive",
792
801
  type: i1$3.NgClass,
@@ -833,7 +842,7 @@ i0.ɵɵngDeclareClassMetadata({
833
842
  args: [{
834
843
  selector: "pw-ai-knowledge",
835
844
  standalone: false,
836
- template: "<section class=\"ai-knowledge\">\n <div class=\"title\">\n <h2>{{ (scope === 'personal' ? 'AiKnowledge.PersonalTitle' : 'AiKnowledge.Title') | transloco: { name: subscriptionName } }}</h2>\n </div>\n <p>{{ (scope === 'personal' ? 'AiKnowledge.PersonalIntro' : 'AiKnowledge.Intro') | transloco: { name: subscriptionName } }}</p>\n\n @if (!useOwnData) {\n <div class=\"alert alert-warning ai-knowledge-off\" role=\"status\">\n <i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>\n <span>\n {{ (scope === 'personal' ? 'AiKnowledge.PersonalUseOwnDataOff' : 'AiKnowledge.UseOwnDataOff') | transloco: { name: subscriptionName } }}\n @if (scope === 'subscription' && subscriptionId) {\n <a [routerLink]=\"['/account/subscriptions', subscriptionId]\">{{ 'AiKnowledge.OpenSubscriptionSettings' | transloco }}</a>\n }\n </span>\n </div>\n }\n\n @if (useOwnData) {\n <div class=\"ai-knowledge-toolbar\">\n <span class=\"ai-knowledge-hint\">{{ 'AiKnowledge.Accepted' | transloco }}</span>\n <input #fileInput type=\"file\" class=\"d-none\" id=\"ai-knowledge-file-{{ scope }}\"\n [accept]=\"accept\" (change)=\"onFileSelected($event)\" />\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\"\n [disabled]=\"uploading || !subscriptionId\" (click)=\"chooseFile()\">\n <i class=\"fa\" [class.fa-upload]=\"!uploading\" [class.fa-spinner]=\"uploading\" [class.fa-spin]=\"uploading\"\n aria-hidden=\"true\"></i>\n {{ (uploading ? 'AiKnowledge.Uploading' : 'AiKnowledge.UploadFile') | transloco }}\n </button>\n </div>\n }\n\n <pw-loader [isVisible]=\"loading\"></pw-loader>\n\n @if (!loading) {\n @if (files.length) {\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\">\n <p-table #dt [value]=\"files\" dataKey=\"path\"\n [paginator]=\"files.length !== 0\"\n [rows]=\"pageSize\"\n [globalFilterFields]=\"['name', 'path']\"\n (onPage)=\"pageFirst = $event.first\"\n (onFilter)=\"pageFirst = 0\">\n <ng-template #caption>\n <div class=\"text-end\">\n <label for=\"ai-knowledge-search-{{ scope }}\" class=\"visually-hidden\">{{ 'AiKnowledge.SearchPlaceholder' | transloco }}</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input type=\"text\"\n id=\"ai-knowledge-search-{{ scope }}\"\n name=\"ai-knowledge-search-{{ scope }}\"\n [(ngModel)]=\"searchText\"\n pInputText\n [placeholder]=\"'AiKnowledge.SearchPlaceholder' | transloco\"\n (input)=\"dt.filterGlobal(searchText, 'contains')\"\n [attr.aria-label]=\"'AiKnowledge.SearchPlaceholder' | transloco\" />\n </p-iconfield>\n </div>\n </ng-template>\n <ng-template #emptymessage>\n <tr>\n <td [attr.colspan]=\"showFolder ? 5 : 4\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\"\n [description]=\"'Search.NoDataDescription' | transloco\"></pw-no-data>\n </td>\n </tr>\n </ng-template>\n <ng-template #header>\n <tr>\n <th scope=\"col\">{{ 'Label.Name' | transloco }}</th>\n @if (showFolder) {\n <th scope=\"col\">{{ 'AiKnowledge.Folder' | transloco }}</th>\n }\n <th scope=\"col\">{{ 'AiKnowledge.Size' | transloco }}</th>\n <th scope=\"col\">{{ 'AiKnowledge.Modified' | transloco }}</th>\n <th class=\"actions-list-two\" scope=\"col\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body let-file>\n <tr>\n <td data-head=\"Name\">\n <a href=\"\" [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n (click)=\"$event.preventDefault(); download(file)\">{{ file.name }}</a>\n </td>\n @if (showFolder) {\n <td data-head=\"Folder\">\n @if (folderOf(file); as folder) {\n <span class=\"badge\" [ngClass]=\"folderBadgeClass(file)\">{{ folder }}</span>\n }\n </td>\n }\n <td data-head=\"Size\">{{ sizeOf(file.size) }}</td>\n <td data-head=\"Modified\">{{ file.last_modified | dateFormat: 'datetime' }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n <li [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DownloadFile' | transloco\"\n (click)=\"download(file)\" (keydown.enter)=\"download(file)\">\n <i class=\"fa fa-download edit-icon\" aria-hidden=\"true\"></i>\n </li>\n <li [pTooltip]=\"'AiKnowledge.DeleteFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DeleteFile' | transloco\"\n (click)=\"remove(file)\" (keydown.enter)=\"remove(file)\">\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <pw-records-summary [showing]=\"shownOnPage(dt)\" [total]=\"matchingCount(dt)\" />\n </div>\n @if (truncated) {\n <p class=\"ai-knowledge-hint mt-2\">{{ 'AiKnowledge.Truncated' | transloco: { count: files.length } }}</p>\n }\n } @else if (loadFailed) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.LoadFailed' | transloco\"\n [description]=\"unavailableReason || ('AiKnowledge.LoadFailedDescription' | transloco)\">\n <div #content>\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\" (click)=\"load()\">\n <i class=\"fa fa-rotate-right\" aria-hidden=\"true\"></i>\n {{ 'AiKnowledge.TryAgain' | transloco }}\n </button>\n </div>\n </pw-no-data>\n } @else if (useOwnData) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoFiles' | transloco\"\n [description]=\"'AiKnowledge.NoFilesDescription' | transloco\"></pw-no-data>\n }\n }\n</section>\n",
845
+ template: "<section class=\"ai-knowledge\">\n <div class=\"title\">\n <h2>{{ (scope === 'personal' ? 'AiKnowledge.PersonalTitle' : 'AiKnowledge.Title') | transloco: { name: subscriptionName } }}</h2>\n </div>\n <p>{{ (scope === 'personal' ? 'AiKnowledge.PersonalIntro' : 'AiKnowledge.Intro') | transloco: { name: subscriptionName } }}</p>\n\n @if (!useOwnData) {\n <output class=\"alert alert-warning ai-knowledge-off\">\n <i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>\n <span>\n {{ (scope === 'personal' ? 'AiKnowledge.PersonalUseOwnDataOff' : 'AiKnowledge.UseOwnDataOff') | transloco: { name: subscriptionName } }}\n @if (scope === 'subscription' && subscriptionId) {\n <a [routerLink]=\"['/account/subscriptions', subscriptionId]\">{{ 'AiKnowledge.OpenSubscriptionSettings' | transloco }}</a>\n }\n </span>\n </output>\n }\n\n @if (useOwnData) {\n <div class=\"ai-knowledge-toolbar\">\n <span class=\"ai-knowledge-hint\">{{ 'AiKnowledge.Accepted' | transloco }}</span>\n <input #fileInput type=\"file\" class=\"d-none\" id=\"ai-knowledge-file-{{ scope }}\"\n [accept]=\"accept\" (change)=\"onFileSelected($event)\" />\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\"\n [disabled]=\"uploading || !subscriptionId\" (click)=\"chooseFile()\">\n <i class=\"fa\" [class.fa-upload]=\"!uploading\" [class.fa-spinner]=\"uploading\" [class.fa-spin]=\"uploading\"\n aria-hidden=\"true\"></i>\n {{ (uploading ? 'AiKnowledge.Uploading' : 'AiKnowledge.UploadFile') | transloco }}\n </button>\n </div>\n }\n\n <pw-loader [isVisible]=\"loading\"></pw-loader>\n\n @if (!loading) {\n @if (files.length) {\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\">\n <p-table #dt [value]=\"files\" dataKey=\"path\"\n [paginator]=\"files.length !== 0\"\n [rows]=\"pageSize\"\n [globalFilterFields]=\"['name', 'path']\"\n (onPage)=\"pageFirst = $event.first\"\n (onFilter)=\"pageFirst = 0\"\n stateKey=\"pw-table.ai-knowledge\"\n stateStorage=\"session\"\n [resizableColumns]=\"true\"\n columnResizeMode=\"expand\"\n >\n <ng-template #caption>\n <div class=\"text-end\">\n <label for=\"ai-knowledge-search-{{ scope }}\" class=\"visually-hidden\">{{ 'AiKnowledge.SearchPlaceholder' | transloco }}</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input type=\"text\"\n id=\"ai-knowledge-search-{{ scope }}\"\n name=\"ai-knowledge-search-{{ scope }}\"\n [(ngModel)]=\"searchText\"\n pInputText\n [placeholder]=\"'AiKnowledge.SearchPlaceholder' | transloco\"\n (input)=\"dt.filterGlobal(searchText, 'contains')\"\n [attr.aria-label]=\"'AiKnowledge.SearchPlaceholder' | transloco\" />\n </p-iconfield>\n </div>\n </ng-template>\n <ng-template #emptymessage>\n <tr>\n <td [attr.colspan]=\"showFolder ? 5 : 4\">\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\"\n [description]=\"'Search.NoDataDescription' | transloco\"></pw-no-data>\n </td>\n </tr>\n </ng-template>\n <ng-template #header>\n <tr>\n <th pResizableColumn scope=\"col\">{{ 'Label.Name' | transloco }}</th>\n @if (showFolder) {\n <th pResizableColumn scope=\"col\">{{ 'AiKnowledge.Folder' | transloco }}</th>\n }\n <th pResizableColumn scope=\"col\">{{ 'AiKnowledge.Size' | transloco }}</th>\n <th pResizableColumn scope=\"col\">{{ 'AiKnowledge.Modified' | transloco }}</th>\n <th class=\"actions-list-two\" scope=\"col\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body let-file>\n <tr>\n <td data-head=\"Name\">\n <a href=\"\" [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n (click)=\"$event.preventDefault(); download(file)\">{{ file.name }}</a>\n </td>\n @if (showFolder) {\n <td data-head=\"Folder\">\n @if (folderOf(file); as folder) {\n <span class=\"badge\" [ngClass]=\"folderBadgeClass(file)\">{{ folder }}</span>\n }\n </td>\n }\n <td data-head=\"Size\">{{ sizeOf(file.size) }}</td>\n <td data-head=\"Modified\">{{ file.last_modified | dateFormat: 'datetime' }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n <li [pTooltip]=\"'AiKnowledge.DownloadFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DownloadFile' | transloco\"\n (click)=\"download(file)\" (keydown.enter)=\"download(file)\">\n <i class=\"fa fa-download edit-icon\" aria-hidden=\"true\"></i>\n </li>\n <li [pTooltip]=\"'AiKnowledge.DeleteFile' | transloco\" tooltipPosition=\"top\" appendTo=\"body\"\n [attr.aria-label]=\"'AiKnowledge.DeleteFile' | transloco\"\n (click)=\"remove(file)\" (keydown.enter)=\"remove(file)\">\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n <pw-records-summary [showing]=\"shownOnPage(dt)\" [total]=\"matchingCount(dt)\" />\n </div>\n @if (truncated) {\n <p class=\"ai-knowledge-hint mt-2\">{{ 'AiKnowledge.Truncated' | transloco: { count: files.length } }}</p>\n }\n } @else if (loadFailed) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.LoadFailed' | transloco\"\n [description]=\"unavailableReason || ('AiKnowledge.LoadFailedDescription' | transloco)\">\n <div #content>\n <button type=\"button\" class=\"btn btn-sm btn-outline-primary\" (click)=\"load()\">\n <i class=\"fa fa-rotate-right\" aria-hidden=\"true\"></i>\n {{ 'AiKnowledge.TryAgain' | transloco }}\n </button>\n </div>\n </pw-no-data>\n } @else if (useOwnData) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoFiles' | transloco\"\n [description]=\"'AiKnowledge.NoFilesDescription' | transloco\"></pw-no-data>\n }\n }\n</section>\n",
837
846
  styles: [".ai-knowledge-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-bottom:16px}.ai-knowledge-hint{color:#5a6473;font-size:12px}td[data-head=Name]{min-width:200px}td[data-head=Size],td[data-head=Modified]{white-space:nowrap;font-variant-numeric:tabular-nums}.ai-knowledge-off{display:flex;align-items:baseline;gap:8px}\n"]
838
847
  }]
839
848
  }],
@@ -2922,7 +2931,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
2922
2931
  { token: i1$2.LocalStorage },
2923
2932
  { token: i9$1.Router },
2924
2933
  { token: i0.ChangeDetectorRef },
2925
- { token: i3.Store },
2934
+ { token: i3$1.Store },
2926
2935
  { token: DynamicPageContextService },
2927
2936
  {
2928
2937
  token: i2$3.AppConfigService,
@@ -3095,7 +3104,7 @@ i0.ɵɵngDeclareClassMetadata({
3095
3104
  { type: i1$2.LocalStorage },
3096
3105
  { type: i9$1.Router },
3097
3106
  { type: i0.ChangeDetectorRef },
3098
- { type: i3.Store },
3107
+ { type: i3$1.Store },
3099
3108
  { type: DynamicPageContextService },
3100
3109
  {
3101
3110
  type: i2$3.AppConfigService,
@@ -5337,7 +5346,7 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
5337
5346
  }],
5338
5347
  usesInheritance: true,
5339
5348
  ngImport: i0,
5340
- template: "<div>\n <div class=\"row\">\n <div class=\"col-12 mb-3\">\n <h2>Team View</h2>\n\n <p>\n In this section, based on your permissions, you can add/remove members from your\n teams.\n <br />\n Then, you'll be able to see powerful insight on the activities performed by your\n team's members.\n </p>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-md-6 col-xs-12 d-flex align-items-sm-center align-items-top text-start pe-0\">\n <a aria-label=\"Navigate to Target\"\n (click)=\"back()\"\n class=\"previous\"><i class=\"fa fa-arrow-alt-circle-left\" aria-hidden=\"true\"></i></a>\n <h3 class=\"ms-sm-2 d-inline mt-0 card-title mb-3 mb-sm-0\">\n Team view: {{ selectedGroup?.name }}\n </h3>\n </div>\n <div class=\"col-md-6 col-xs-12 text-end justify-content-end\">\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary\"\n (click)=\"open()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> Add Members\n </button>\n }\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary ms-2\"\n (click)=\"navigateToCommunications()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> See Communications\n </button>\n }\n </div>\n </div>\n\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\"\n [class.hideTable]=\"subscribedMembers?.length === 0\">\n <p-table #dt\n [value]=\"subscribedMembers\"\n [paginator]=\"true\"\n [rows]=\"PAGE_SIZE\">\n <ng-template #header>\n <tr>\n <th scope=\"true\">{{ 'Label.FirstName' | transloco }}</th>\n <th scope=\"true\">{{ 'Label.LastName' | transloco }}</th>\n <th scope=\"true\">{{ 'Label.Email' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-three\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body\n let-member>\n <tr class=\"table-row\">\n <td data-head=\"First Name\">\n <a [routerLink]=\"['/members', member.slug]\">{{ member.first_name || null }}\n </a>\n </td>\n <td data-head=\"Last Name\">{{ member.last_name || null }}</td>\n <td data-head=\"Email\">{{ member.email }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n @if (member.id !== userId) {\n <li pTooltip=\"Message\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n [routerLink]=\"['/message']\"\n [fragment]=\"member.slug\">\n <i\n class=\"fa fa-comments cta1-icon\"\n *rbacAllow=\"chatPermission\"\n aria-hidden=\"true\"\n ></i>\n </li>\n }\n @if (hasAccess) {\n <li pTooltip=\"Remove\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n (click)=\"onDelete(member.id)\"\n (keydown.enter)=\"onDelete(member.id)\"\n (keydown.space)=\"onDelete(member.id)\"\n >\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n }\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n </div>\n @if (subscribedMembers?.length === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"There are no members in this team yet.\"\n >\n </pw-no-data>\n }\n </div>\n\n <ng-template #content\n let-modal>\n <div class=\"modal-header\">\n <h4 class=\"modal-title\"\n id=\"modal-basic-title\">Add Members</h4>\n <button type=\"button\"\n class=\"btn-close float-end\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\">\n\n </button>\n </div>\n <div class=\"modal-body\">\n <p>Please start typing to select the members to add to this team.</p>\n <div class=\"ui-fluid skills-modal\">\n <p-auto-complete class=\"w-100\" appendTo=\"body\" [suggestions]=\"filteredMembers\"\n [(ngModel)]=\"selectedMembers\"\n dataKey=\"id\"\n optionLabel=\"displayName\"\n (completeMethod)=\"search($event)\"\n placeholder=\"Member\"\n [multiple]=\"true\">\n </p-auto-complete>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\"\n class=\"btn btn-outline-default\"\n (click)=\"closeModal(modal)\">\n {{ 'Button.Cancel' | transloco }}\n </button>\n <button type=\"button\"\n class=\"btn btn-primary\"\n (click)=\"onSave()\">\n {{ 'Button.Save' | transloco }}\n </button>\n </div>\n </ng-template>\n",
5349
+ template: "<div>\n <div class=\"row\">\n <div class=\"col-12 mb-3\">\n <h2>Team View</h2>\n\n <p>\n In this section, based on your permissions, you can add/remove members from your\n teams.\n <br />\n Then, you'll be able to see powerful insight on the activities performed by your\n team's members.\n </p>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-md-6 col-xs-12 d-flex align-items-sm-center align-items-top text-start pe-0\">\n <a aria-label=\"Navigate to Target\"\n (click)=\"back()\"\n class=\"previous\"><i class=\"fa fa-arrow-alt-circle-left\" aria-hidden=\"true\"></i></a>\n <h3 class=\"ms-sm-2 d-inline mt-0 card-title mb-3 mb-sm-0\">\n Team view: {{ selectedGroup?.name }}\n </h3>\n </div>\n <div class=\"col-md-6 col-xs-12 text-end justify-content-end\">\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary\"\n (click)=\"open()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> Add Members\n </button>\n }\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary ms-2\"\n (click)=\"navigateToCommunications()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> See Communications\n </button>\n }\n </div>\n </div>\n\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\"\n [class.hideTable]=\"subscribedMembers?.length === 0\">\n <p-table #dt\n [value]=\"subscribedMembers\"\n [paginator]=\"true\"\n [rows]=\"PAGE_SIZE\"\n stateKey=\"pw-table.entity-group\"\n stateStorage=\"session\"\n [resizableColumns]=\"true\"\n columnResizeMode=\"expand\"\n >\n <ng-template #header>\n <tr>\n <th pResizableColumn scope=\"true\">{{ 'Label.FirstName' | transloco }}</th>\n <th pResizableColumn scope=\"true\">{{ 'Label.LastName' | transloco }}</th>\n <th pResizableColumn scope=\"true\">{{ 'Label.Email' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-three\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body\n let-member>\n <tr class=\"table-row\">\n <td data-head=\"First Name\">\n <a [routerLink]=\"['/members', member.slug]\">{{ member.first_name || null }}\n </a>\n </td>\n <td data-head=\"Last Name\">{{ member.last_name || null }}</td>\n <td data-head=\"Email\">{{ member.email }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n @if (member.id !== userId) {\n <li pTooltip=\"Message\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n [routerLink]=\"['/message']\"\n [fragment]=\"member.slug\">\n <i\n class=\"fa fa-comments cta1-icon\"\n *rbacAllow=\"chatPermission\"\n aria-hidden=\"true\"\n ></i>\n </li>\n }\n @if (hasAccess) {\n <li pTooltip=\"Remove\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n (click)=\"onDelete(member.id)\"\n (keydown.enter)=\"onDelete(member.id)\"\n (keydown.space)=\"onDelete(member.id)\"\n >\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n }\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n </div>\n @if (subscribedMembers?.length === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"There are no members in this team yet.\"\n >\n </pw-no-data>\n }\n </div>\n\n <ng-template #content\n let-modal>\n <div class=\"modal-header\">\n <h4 class=\"modal-title\"\n id=\"modal-basic-title\">Add Members</h4>\n <button type=\"button\"\n class=\"btn-close float-end\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\">\n\n </button>\n </div>\n <div class=\"modal-body\">\n <p>Please start typing to select the members to add to this team.</p>\n <div class=\"ui-fluid skills-modal\">\n <p-auto-complete class=\"w-100\" appendTo=\"body\" [suggestions]=\"filteredMembers\"\n [(ngModel)]=\"selectedMembers\"\n dataKey=\"id\"\n optionLabel=\"displayName\"\n (completeMethod)=\"search($event)\"\n placeholder=\"Member\"\n [multiple]=\"true\">\n </p-auto-complete>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\"\n class=\"btn btn-outline-default\"\n (click)=\"closeModal(modal)\">\n {{ 'Button.Cancel' | transloco }}\n </button>\n <button type=\"button\"\n class=\"btn btn-primary\"\n (click)=\"onSave()\">\n {{ 'Button.Save' | transloco }}\n </button>\n </div>\n </ng-template>\n",
5341
5350
  styles: ["a.previous i{line-height:23px}\n"],
5342
5351
  dependencies: [
5343
5352
  {
@@ -5524,6 +5533,12 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
5524
5533
  "onStateRestore"
5525
5534
  ]
5526
5535
  },
5536
+ {
5537
+ kind: "directive",
5538
+ type: i11.ResizableColumn,
5539
+ selector: "[pResizableColumn]",
5540
+ inputs: ["pResizableColumnDisabled"]
5541
+ },
5527
5542
  {
5528
5543
  kind: "component",
5529
5544
  type: i8.ProgressSpinner,
@@ -5646,7 +5661,7 @@ i0.ɵɵngDeclareClassMetadata({
5646
5661
  args: [{
5647
5662
  selector: "pw-entity-group",
5648
5663
  standalone: false,
5649
- template: "<div>\n <div class=\"row\">\n <div class=\"col-12 mb-3\">\n <h2>Team View</h2>\n\n <p>\n In this section, based on your permissions, you can add/remove members from your\n teams.\n <br />\n Then, you'll be able to see powerful insight on the activities performed by your\n team's members.\n </p>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-md-6 col-xs-12 d-flex align-items-sm-center align-items-top text-start pe-0\">\n <a aria-label=\"Navigate to Target\"\n (click)=\"back()\"\n class=\"previous\"><i class=\"fa fa-arrow-alt-circle-left\" aria-hidden=\"true\"></i></a>\n <h3 class=\"ms-sm-2 d-inline mt-0 card-title mb-3 mb-sm-0\">\n Team view: {{ selectedGroup?.name }}\n </h3>\n </div>\n <div class=\"col-md-6 col-xs-12 text-end justify-content-end\">\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary\"\n (click)=\"open()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> Add Members\n </button>\n }\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary ms-2\"\n (click)=\"navigateToCommunications()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> See Communications\n </button>\n }\n </div>\n </div>\n\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\"\n [class.hideTable]=\"subscribedMembers?.length === 0\">\n <p-table #dt\n [value]=\"subscribedMembers\"\n [paginator]=\"true\"\n [rows]=\"PAGE_SIZE\">\n <ng-template #header>\n <tr>\n <th scope=\"true\">{{ 'Label.FirstName' | transloco }}</th>\n <th scope=\"true\">{{ 'Label.LastName' | transloco }}</th>\n <th scope=\"true\">{{ 'Label.Email' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-three\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body\n let-member>\n <tr class=\"table-row\">\n <td data-head=\"First Name\">\n <a [routerLink]=\"['/members', member.slug]\">{{ member.first_name || null }}\n </a>\n </td>\n <td data-head=\"Last Name\">{{ member.last_name || null }}</td>\n <td data-head=\"Email\">{{ member.email }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n @if (member.id !== userId) {\n <li pTooltip=\"Message\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n [routerLink]=\"['/message']\"\n [fragment]=\"member.slug\">\n <i\n class=\"fa fa-comments cta1-icon\"\n *rbacAllow=\"chatPermission\"\n aria-hidden=\"true\"\n ></i>\n </li>\n }\n @if (hasAccess) {\n <li pTooltip=\"Remove\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n (click)=\"onDelete(member.id)\"\n (keydown.enter)=\"onDelete(member.id)\"\n (keydown.space)=\"onDelete(member.id)\"\n >\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n }\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n </div>\n @if (subscribedMembers?.length === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"There are no members in this team yet.\"\n >\n </pw-no-data>\n }\n </div>\n\n <ng-template #content\n let-modal>\n <div class=\"modal-header\">\n <h4 class=\"modal-title\"\n id=\"modal-basic-title\">Add Members</h4>\n <button type=\"button\"\n class=\"btn-close float-end\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\">\n\n </button>\n </div>\n <div class=\"modal-body\">\n <p>Please start typing to select the members to add to this team.</p>\n <div class=\"ui-fluid skills-modal\">\n <p-auto-complete class=\"w-100\" appendTo=\"body\" [suggestions]=\"filteredMembers\"\n [(ngModel)]=\"selectedMembers\"\n dataKey=\"id\"\n optionLabel=\"displayName\"\n (completeMethod)=\"search($event)\"\n placeholder=\"Member\"\n [multiple]=\"true\">\n </p-auto-complete>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\"\n class=\"btn btn-outline-default\"\n (click)=\"closeModal(modal)\">\n {{ 'Button.Cancel' | transloco }}\n </button>\n <button type=\"button\"\n class=\"btn btn-primary\"\n (click)=\"onSave()\">\n {{ 'Button.Save' | transloco }}\n </button>\n </div>\n </ng-template>\n",
5664
+ template: "<div>\n <div class=\"row\">\n <div class=\"col-12 mb-3\">\n <h2>Team View</h2>\n\n <p>\n In this section, based on your permissions, you can add/remove members from your\n teams.\n <br />\n Then, you'll be able to see powerful insight on the activities performed by your\n team's members.\n </p>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-md-6 col-xs-12 d-flex align-items-sm-center align-items-top text-start pe-0\">\n <a aria-label=\"Navigate to Target\"\n (click)=\"back()\"\n class=\"previous\"><i class=\"fa fa-arrow-alt-circle-left\" aria-hidden=\"true\"></i></a>\n <h3 class=\"ms-sm-2 d-inline mt-0 card-title mb-3 mb-sm-0\">\n Team view: {{ selectedGroup?.name }}\n </h3>\n </div>\n <div class=\"col-md-6 col-xs-12 text-end justify-content-end\">\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary\"\n (click)=\"open()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> Add Members\n </button>\n }\n @if (hasAccess) {\n <button\n class=\"btn btn-sm btn-outline-primary ms-2\"\n (click)=\"navigateToCommunications()\">\n <i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> See Communications\n </button>\n }\n </div>\n </div>\n\n @if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\"\n >\n <p-progress-spinner strokeWidth=\"2\"> </p-progress-spinner>\n </div>\n }\n\n <div class=\"primeng-datatable-container actions-collapsed table-responsive\"\n [class.hideTable]=\"subscribedMembers?.length === 0\">\n <p-table #dt\n [value]=\"subscribedMembers\"\n [paginator]=\"true\"\n [rows]=\"PAGE_SIZE\"\n stateKey=\"pw-table.entity-group\"\n stateStorage=\"session\"\n [resizableColumns]=\"true\"\n columnResizeMode=\"expand\"\n >\n <ng-template #header>\n <tr>\n <th pResizableColumn scope=\"true\">{{ 'Label.FirstName' | transloco }}</th>\n <th pResizableColumn scope=\"true\">{{ 'Label.LastName' | transloco }}</th>\n <th pResizableColumn scope=\"true\">{{ 'Label.Email' | transloco }}</th>\n <th scope=\"true\" class=\"actions-list-three\">{{ 'Label.Actions' | transloco }}</th>\n </tr>\n </ng-template>\n <ng-template #body\n let-member>\n <tr class=\"table-row\">\n <td data-head=\"First Name\">\n <a [routerLink]=\"['/members', member.slug]\">{{ member.first_name || null }}\n </a>\n </td>\n <td data-head=\"Last Name\">{{ member.last_name || null }}</td>\n <td data-head=\"Email\">{{ member.email }}</td>\n <td data-head=\"Action\">\n <ul class=\"list-unstyled list-inline list-action\">\n @if (member.id !== userId) {\n <li pTooltip=\"Message\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n [routerLink]=\"['/message']\"\n [fragment]=\"member.slug\">\n <i\n class=\"fa fa-comments cta1-icon\"\n *rbacAllow=\"chatPermission\"\n aria-hidden=\"true\"\n ></i>\n </li>\n }\n @if (hasAccess) {\n <li pTooltip=\"Remove\"\n tooltipPosition=\"top\"\n appendTo=\"body\"\n class=\"me-2 me-sm-3\"\n (click)=\"onDelete(member.id)\"\n (keydown.enter)=\"onDelete(member.id)\"\n (keydown.space)=\"onDelete(member.id)\"\n >\n <i class=\"fa fa-trash delete-icon\" aria-hidden=\"true\"></i>\n </li>\n }\n </ul>\n </td>\n </tr>\n </ng-template>\n </p-table>\n </div>\n @if (subscribedMembers?.length === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"There are no members in this team yet.\"\n >\n </pw-no-data>\n }\n </div>\n\n <ng-template #content\n let-modal>\n <div class=\"modal-header\">\n <h4 class=\"modal-title\"\n id=\"modal-basic-title\">Add Members</h4>\n <button type=\"button\"\n class=\"btn-close float-end\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\">\n\n </button>\n </div>\n <div class=\"modal-body\">\n <p>Please start typing to select the members to add to this team.</p>\n <div class=\"ui-fluid skills-modal\">\n <p-auto-complete class=\"w-100\" appendTo=\"body\" [suggestions]=\"filteredMembers\"\n [(ngModel)]=\"selectedMembers\"\n dataKey=\"id\"\n optionLabel=\"displayName\"\n (completeMethod)=\"search($event)\"\n placeholder=\"Member\"\n [multiple]=\"true\">\n </p-auto-complete>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\"\n class=\"btn btn-outline-default\"\n (click)=\"closeModal(modal)\">\n {{ 'Button.Cancel' | transloco }}\n </button>\n <button type=\"button\"\n class=\"btn btn-primary\"\n (click)=\"onSave()\">\n {{ 'Button.Save' | transloco }}\n </button>\n </div>\n </ng-template>\n",
5650
5665
  styles: ["a.previous i{line-height:23px}\n"]
5651
5666
  }]
5652
5667
  }],
@@ -8259,6 +8274,211 @@ i0.ɵɵngDeclareClassMetadata({
8259
8274
  value: [{ type: Input }]
8260
8275
  }
8261
8276
  });
8277
+ const STATE_ICONS = {
8278
+ done: faCircleCheck,
8279
+ next: faCircleHalfStroke,
8280
+ ready: faCircleHalfStroke,
8281
+ blocked: faCircleExclamation,
8282
+ waiting: faHourglassHalf,
8283
+ todo: faCircle,
8284
+ optional: faCircle,
8285
+ unknown: faCircleQuestion
8286
+ };
8287
+ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8288
+ constructor() {
8289
+ this.status = null;
8290
+ this.loading = false;
8291
+ this.loadFailed = false;
8292
+ this.slug = "";
8293
+ this.subscriptionId = null;
8294
+ this.retry = new EventEmitter();
8295
+ this.doneIcon = faCircleCheck;
8296
+ }
8297
+ get visible() {
8298
+ return this.loading || this.loadFailed || this.status?.status === "ok";
8299
+ }
8300
+ get progressPercent() {
8301
+ const progress = this.status?.progress;
8302
+ return progress?.total ? Math.round(100 * progress.done / progress.total) : 0;
8303
+ }
8304
+ get currentStep() {
8305
+ return this.status?.steps.find((step) => step.current) ?? null;
8306
+ }
8307
+ icon(step) {
8308
+ return STATE_ICONS[step.state] ?? faCircle;
8309
+ }
8310
+ routeFor(step) {
8311
+ if (!step.route) return null;
8312
+ return step.route.replace("{slug}", this.slug ?? "").replace("{subscription_id}", String(this.subscriptionId ?? ""));
8313
+ }
8314
+ actionKey(step) {
8315
+ if (step.can_act === false || step.state === "waiting" || !this.routeFor(step)) return null;
8316
+ if (step.state === "blocked") return "OnboardingChecklist.Action.Fix";
8317
+ return step.state === "ready" ? "OnboardingChecklist.Action.Finish" : "OnboardingChecklist.Action.Start";
8318
+ }
8319
+ trackByKey(_index, step) {
8320
+ return step.key;
8321
+ }
8322
+ static {
8323
+ this.ɵfac = i0.ɵɵngDeclareFactory({
8324
+ minVersion: "12.0.0",
8325
+ version: "22.2.0",
8326
+ ngImport: i0,
8327
+ type: OnboardingChecklistComponent,
8328
+ deps: [],
8329
+ target: i0.ɵɵFactoryTarget.Component
8330
+ });
8331
+ }
8332
+ static {
8333
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
8334
+ minVersion: "17.0.0",
8335
+ version: "22.2.0",
8336
+ type: OnboardingChecklistComponent,
8337
+ isStandalone: false,
8338
+ selector: "pw-onboarding-checklist",
8339
+ inputs: {
8340
+ status: "status",
8341
+ loading: "loading",
8342
+ loadFailed: "loadFailed",
8343
+ slug: "slug",
8344
+ subscriptionId: "subscriptionId"
8345
+ },
8346
+ outputs: { retry: "retry" },
8347
+ 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"],
8350
+ dependencies: [
8351
+ {
8352
+ kind: "directive",
8353
+ type: i1$3.NgClass,
8354
+ selector: "[ngClass]",
8355
+ inputs: ["class", "ngClass"]
8356
+ },
8357
+ {
8358
+ kind: "directive",
8359
+ type: i9$1.RouterLink,
8360
+ selector: "[routerLink]",
8361
+ inputs: [
8362
+ "target",
8363
+ "queryParams",
8364
+ "fragment",
8365
+ "queryParamsHandling",
8366
+ "state",
8367
+ "info",
8368
+ "relativeTo",
8369
+ "preserveFragment",
8370
+ "skipLocationChange",
8371
+ "replaceUrl",
8372
+ "browserUrl",
8373
+ "routerLink"
8374
+ ]
8375
+ },
8376
+ {
8377
+ kind: "component",
8378
+ type: i3.FaIconComponent,
8379
+ selector: "fa-icon",
8380
+ inputs: [
8381
+ "icon",
8382
+ "title",
8383
+ "animation",
8384
+ "mask",
8385
+ "flip",
8386
+ "size",
8387
+ "pull",
8388
+ "border",
8389
+ "inverse",
8390
+ "symbol",
8391
+ "rotate",
8392
+ "fixedWidth",
8393
+ "transform",
8394
+ "a11yRole"
8395
+ ],
8396
+ outputs: [
8397
+ "iconChange",
8398
+ "titleChange",
8399
+ "animationChange",
8400
+ "maskChange",
8401
+ "flipChange",
8402
+ "sizeChange",
8403
+ "pullChange",
8404
+ "borderChange",
8405
+ "inverseChange",
8406
+ "symbolChange",
8407
+ "rotateChange",
8408
+ "fixedWidthChange",
8409
+ "transformChange",
8410
+ "a11yRoleChange"
8411
+ ]
8412
+ },
8413
+ {
8414
+ kind: "component",
8415
+ type: i8$1.AppLoaderComponent,
8416
+ selector: "pw-loader",
8417
+ inputs: [
8418
+ "isVisible",
8419
+ "closeOnOutsideClick",
8420
+ "autoCloseTimeOut"
8421
+ ]
8422
+ },
8423
+ {
8424
+ kind: "component",
8425
+ type: NoDataComponent,
8426
+ selector: "pw-no-data",
8427
+ inputs: [
8428
+ "message",
8429
+ "description",
8430
+ "withImage"
8431
+ ]
8432
+ },
8433
+ {
8434
+ kind: "component",
8435
+ type: CompletionBarComponent,
8436
+ selector: "pw-completion-bar",
8437
+ inputs: [
8438
+ "segments",
8439
+ "showLabel",
8440
+ "label",
8441
+ "ariaLabel",
8442
+ "tooltip",
8443
+ "lowThreshold",
8444
+ "highThreshold",
8445
+ "value"
8446
+ ]
8447
+ },
8448
+ {
8449
+ kind: "pipe",
8450
+ type: i2$4.TranslocoPipe,
8451
+ name: "transloco"
8452
+ }
8453
+ ],
8454
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
8455
+ });
8456
+ }
8457
+ };
8458
+ i0.ɵɵngDeclareClassMetadata({
8459
+ minVersion: "12.0.0",
8460
+ version: "22.2.0",
8461
+ ngImport: i0,
8462
+ type: OnboardingChecklistComponent,
8463
+ decorators: [{
8464
+ type: Component,
8465
+ args: [{
8466
+ selector: "pw-onboarding-checklist",
8467
+ standalone: false,
8468
+ 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"]
8471
+ }]
8472
+ }],
8473
+ propDecorators: {
8474
+ status: [{ type: Input }],
8475
+ loading: [{ type: Input }],
8476
+ loadFailed: [{ type: Input }],
8477
+ slug: [{ type: Input }],
8478
+ subscriptionId: [{ type: Input }],
8479
+ retry: [{ type: Output }]
8480
+ }
8481
+ });
8262
8482
  var ResourceSharedComponentsModule = class ResourceSharedComponentsModule {
8263
8483
  static {
8264
8484
  this.ɵfac = i0.ɵɵngDeclareFactory({
@@ -8280,12 +8500,15 @@ var ResourceSharedComponentsModule = class ResourceSharedComponentsModule {
8280
8500
  NoDataComponent,
8281
8501
  InputContainerComponent,
8282
8502
  CompletionBarComponent,
8283
- RecordsSummaryComponent
8503
+ RecordsSummaryComponent,
8504
+ OnboardingChecklistComponent
8284
8505
  ],
8285
8506
  imports: [
8286
8507
  CommonModule,
8287
8508
  FormsModule,
8288
8509
  ReactiveFormsModule,
8510
+ RouterModule,
8511
+ FontAwesomeModule,
8289
8512
  AppLoaderModule,
8290
8513
  CoreTranslocoModule,
8291
8514
  DirectivesModule,
@@ -8306,6 +8529,7 @@ var ResourceSharedComponentsModule = class ResourceSharedComponentsModule {
8306
8529
  NoDataComponent,
8307
8530
  CompletionBarComponent,
8308
8531
  RecordsSummaryComponent,
8532
+ OnboardingChecklistComponent,
8309
8533
  ButtonModule,
8310
8534
  DragDropModule,
8311
8535
  ProgressSpinnerModule,
@@ -8325,6 +8549,8 @@ var ResourceSharedComponentsModule = class ResourceSharedComponentsModule {
8325
8549
  CommonModule,
8326
8550
  FormsModule,
8327
8551
  ReactiveFormsModule,
8552
+ RouterModule,
8553
+ FontAwesomeModule,
8328
8554
  AppLoaderModule,
8329
8555
  CoreTranslocoModule,
8330
8556
  DirectivesModule,
@@ -8361,12 +8587,15 @@ i0.ɵɵngDeclareClassMetadata({
8361
8587
  NoDataComponent,
8362
8588
  InputContainerComponent,
8363
8589
  CompletionBarComponent,
8364
- RecordsSummaryComponent
8590
+ RecordsSummaryComponent,
8591
+ OnboardingChecklistComponent
8365
8592
  ],
8366
8593
  imports: [
8367
8594
  CommonModule,
8368
8595
  FormsModule,
8369
8596
  ReactiveFormsModule,
8597
+ RouterModule,
8598
+ FontAwesomeModule,
8370
8599
  AppLoaderModule,
8371
8600
  CoreTranslocoModule,
8372
8601
  DirectivesModule,
@@ -8387,6 +8616,7 @@ i0.ɵɵngDeclareClassMetadata({
8387
8616
  NoDataComponent,
8388
8617
  CompletionBarComponent,
8389
8618
  RecordsSummaryComponent,
8619
+ OnboardingChecklistComponent,
8390
8620
  ButtonModule,
8391
8621
  DragDropModule,
8392
8622
  ProgressSpinnerModule,
@@ -8862,6 +9092,6 @@ i0.ɵɵngDeclareClassMetadata({
8862
9092
  }],
8863
9093
  ctorParameters: () => [{ type: i1$2.MainApiHttpService }]
8864
9094
  });
8865
- export { AiKnowledgeComponent, AuthenticatorComponent, 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, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
9095
+ export { AiKnowledgeComponent, AuthenticatorComponent, 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 };
8866
9096
 
8867
9097
  //# sourceMappingURL=posiwise-shared-components.mjs.map