@eric-emg/symphiq-components 1.2.563 → 1.2.565

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.
@@ -99638,71 +99638,71 @@ class SymphiqProfileMetricDashboardComponent {
99638
99638
  ScrollProgressBarComponent
99639
99639
  ],
99640
99640
  changeDetection: ChangeDetectionStrategy.OnPush,
99641
- template: `
99642
- <div [ngClass]="getContainerClasses()" class="relative" [class.min-h-screen]="!embedded()">
99643
- <div class="animated-bubbles" [class.light-mode]="isLightMode()"
99644
- style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
99645
-
99646
- <symphiq-scroll-progress-bar
99647
- [viewMode]="viewMode()"
99648
- [progress]="scrollProgress()"
99649
- [embedded]="embedded()"
99650
- />
99651
-
99652
- <div class="relative z-10">
99653
- <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
99654
- [class.pb-32]="shouldShowStickyFooter()">
99655
-
99656
- @if (isLoading()) {
99657
- <symphiq-loading-card
99658
- [viewMode]="viewMode()"
99659
- title="Loading Metric Profile"
99660
- subtitle="Please wait while we prepare your questions..."
99661
- [backdropBlur]="true"
99662
- />
99663
- } @else if (profileMetric()) {
99664
- <symphiq-profile-status-card
99665
- [viewMode]="viewMode()"
99666
- [totalQuestions]="totalQuestions()"
99667
- [answeredQuestions]="answeredQuestions()"
99668
- [questions]="profileMetricQuestions() || []"
99669
- [profileAnswers]="profileAnswers() || []"
99670
- [profileAnswerHistories]="profileAnswerHistories() || []"
99671
- [users]="users() || []"
99672
- [config]="statusCardConfig()"
99673
- [groupConfig]="statusCardGroupConfig"
99674
- [categoryNameFormatter]="categoryNameFormatter"
99675
- [currentUser]="currentUser()"
99676
- (startCategoryQuestions)="handleStartCategoryQuestions($event)"
99677
- (answerSave)="handleAnswerSave($event)"
99678
- (adminAnswerAction)="adminAnswerAction.emit($event)"
99679
- />
99680
- } @else {
99681
- <div [ngClass]="getEmptyStateClasses()" class="rounded-2xl border shadow-lg p-8 text-center">
99682
- <svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24">
99683
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path>
99684
- </svg>
99685
- <h3 [ngClass]="getEmptyStateTitleClasses()" class="text-xl font-semibold mb-2">
99686
- No Metric Selected
99687
- </h3>
99688
- <p [ngClass]="getEmptyStateSubtitleClasses()" class="text-sm">
99689
- Please select a metric to view its profile questions.
99690
- </p>
99691
- </div>
99692
- }
99693
- </main>
99694
-
99695
- @if (shouldShowStickyFooter()) {
99696
- <symphiq-profile-sticky-footer
99697
- [viewMode]="viewMode()"
99698
- [totalQuestions]="totalQuestions()"
99699
- [answeredQuestions]="answeredQuestions()"
99700
- [buttonConfig]="stickyFooterButtonConfig"
99701
- (continueClick)="handleContinueClick()"
99702
- />
99703
- }
99704
- </div>
99705
- </div>
99641
+ template: `
99642
+ <div [ngClass]="getContainerClasses()" class="relative" [class.min-h-screen]="!embedded()">
99643
+ <div class="animated-bubbles" [class.light-mode]="isLightMode()"
99644
+ style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none;"></div>
99645
+
99646
+ <symphiq-scroll-progress-bar
99647
+ [viewMode]="viewMode()"
99648
+ [progress]="scrollProgress()"
99649
+ [embedded]="embedded()"
99650
+ />
99651
+
99652
+ <div class="relative z-10">
99653
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"
99654
+ [class.pb-32]="shouldShowStickyFooter()">
99655
+
99656
+ @if (isLoading()) {
99657
+ <symphiq-loading-card
99658
+ [viewMode]="viewMode()"
99659
+ title="Loading Metric Profile"
99660
+ subtitle="Please wait while we prepare your questions..."
99661
+ [backdropBlur]="true"
99662
+ />
99663
+ } @else if (profileMetric()) {
99664
+ <symphiq-profile-status-card
99665
+ [viewMode]="viewMode()"
99666
+ [totalQuestions]="totalQuestions()"
99667
+ [answeredQuestions]="answeredQuestions()"
99668
+ [questions]="profileMetricQuestions() || []"
99669
+ [profileAnswers]="profileAnswers() || []"
99670
+ [profileAnswerHistories]="profileAnswerHistories() || []"
99671
+ [users]="users() || []"
99672
+ [config]="statusCardConfig()"
99673
+ [groupConfig]="statusCardGroupConfig"
99674
+ [categoryNameFormatter]="categoryNameFormatter"
99675
+ [currentUser]="currentUser()"
99676
+ (startCategoryQuestions)="handleStartCategoryQuestions($event)"
99677
+ (answerSave)="handleAnswerSave($event)"
99678
+ (adminAnswerAction)="adminAnswerAction.emit($event)"
99679
+ />
99680
+ } @else {
99681
+ <div [ngClass]="getEmptyStateClasses()" class="rounded-2xl border shadow-lg p-8 text-center">
99682
+ <svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24">
99683
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path>
99684
+ </svg>
99685
+ <h3 [ngClass]="getEmptyStateTitleClasses()" class="text-xl font-semibold mb-2">
99686
+ No Metric Selected
99687
+ </h3>
99688
+ <p [ngClass]="getEmptyStateSubtitleClasses()" class="text-sm">
99689
+ Please select a metric to view its profile questions.
99690
+ </p>
99691
+ </div>
99692
+ }
99693
+ </main>
99694
+
99695
+ @if (shouldShowStickyFooter()) {
99696
+ <symphiq-profile-sticky-footer
99697
+ [viewMode]="viewMode()"
99698
+ [totalQuestions]="totalQuestions()"
99699
+ [answeredQuestions]="answeredQuestions()"
99700
+ [buttonConfig]="stickyFooterButtonConfig"
99701
+ (continueClick)="handleContinueClick()"
99702
+ />
99703
+ }
99704
+ </div>
99705
+ </div>
99706
99706
  `
99707
99707
  }]
99708
99708
  }], null, { profileStatusCard: [{