@eric-emg/symphiq-components 1.2.490 → 1.2.491

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.
@@ -46121,6 +46121,7 @@ function MarkAsReviewedFooterComponent_Conditional_0_Template(rf, ctx) { if (rf
46121
46121
  } }
46122
46122
  class MarkAsReviewedFooterComponent {
46123
46123
  constructor() {
46124
+ this.confettiService = inject(ConfettiService);
46124
46125
  this.viewMode = input(ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "viewMode" }] : []));
46125
46126
  this.reviewStatus = input(...(ngDevMode ? [undefined, { debugName: "reviewStatus" }] : []));
46126
46127
  this.isMarkingAsReviewed = input(false, ...(ngDevMode ? [{ debugName: "isMarkingAsReviewed" }] : []));
@@ -46131,6 +46132,10 @@ class MarkAsReviewedFooterComponent {
46131
46132
  this.isLightMode = computed(() => this.viewMode() === ViewModeEnum.LIGHT, ...(ngDevMode ? [{ debugName: "isLightMode" }] : []));
46132
46133
  }
46133
46134
  handleClick() {
46135
+ this.confettiService.trigger({
46136
+ intensity: 'celebration',
46137
+ viewMode: this.viewMode()
46138
+ });
46134
46139
  this.markAsReviewedClick.emit();
46135
46140
  }
46136
46141
  static { this.ɵfac = function MarkAsReviewedFooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkAsReviewedFooterComponent)(); }; }
@@ -46147,47 +46152,47 @@ class MarkAsReviewedFooterComponent {
46147
46152
  standalone: true,
46148
46153
  imports: [CommonModule],
46149
46154
  changeDetection: ChangeDetectionStrategy.OnPush,
46150
- template: `
46151
- @if (shouldShowFooter()) {
46152
- <div
46153
- [ngClass]="isLightMode() ? 'bg-white/95 border-slate-200' : 'bg-slate-900/95 border-slate-700/50'"
46154
- class="fixed bottom-0 left-0 right-0 z-[100] border-t backdrop-blur-lg"
46155
- >
46156
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
46157
- <button
46158
- type="button"
46159
- [disabled]="isMarkingAsReviewed()"
46160
- (click)="handleClick()"
46161
- [ngClass]="isLightMode()
46162
- ? 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-700 hover:via-cyan-700 hover:to-teal-700 hover:scale-[1.02] hover:shadow-blue-600/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'
46163
- : 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-500 hover:via-cyan-500 hover:to-teal-500 hover:scale-[1.02] hover:shadow-blue-500/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'"
46164
- class="w-full px-6 py-4 rounded-xl font-semibold text-lg transition-all duration-300 flex items-center justify-center gap-3 shadow-2xl group"
46165
- >
46166
- @if (isMarkingAsReviewed()) {
46167
- <svg class="w-6 h-6 animate-spin" fill="none" viewBox="0 0 24 24">
46168
- <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
46169
- <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
46170
- </svg>
46171
- <span>Marking as Reviewed...</span>
46172
- } @else {
46173
- <span>Mark Analysis as Reviewed</span>
46174
- <svg
46175
- class="w-6 h-6 transition-transform duration-200 group-hover:translate-x-1"
46176
- fill="none"
46177
- stroke="currentColor"
46178
- viewBox="0 0 24 24"
46179
- >
46180
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
46181
- </svg>
46182
- }
46183
- </button>
46184
- </div>
46185
- </div>
46186
- }
46155
+ template: `
46156
+ @if (shouldShowFooter()) {
46157
+ <div
46158
+ [ngClass]="isLightMode() ? 'bg-white/95 border-slate-200' : 'bg-slate-900/95 border-slate-700/50'"
46159
+ class="fixed bottom-0 left-0 right-0 z-[100] border-t backdrop-blur-lg"
46160
+ >
46161
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
46162
+ <button
46163
+ type="button"
46164
+ [disabled]="isMarkingAsReviewed()"
46165
+ (click)="handleClick()"
46166
+ [ngClass]="isLightMode()
46167
+ ? 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-700 hover:via-cyan-700 hover:to-teal-700 hover:scale-[1.02] hover:shadow-blue-600/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'
46168
+ : 'bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600 text-white hover:from-blue-500 hover:via-cyan-500 hover:to-teal-500 hover:scale-[1.02] hover:shadow-blue-500/25 active:scale-[0.98] disabled:opacity-70 disabled:cursor-not-allowed disabled:hover:scale-100'"
46169
+ class="w-full px-6 py-4 rounded-xl font-semibold text-lg transition-all duration-300 flex items-center justify-center gap-3 shadow-2xl group"
46170
+ >
46171
+ @if (isMarkingAsReviewed()) {
46172
+ <svg class="w-6 h-6 animate-spin" fill="none" viewBox="0 0 24 24">
46173
+ <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
46174
+ <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
46175
+ </svg>
46176
+ <span>Marking as Reviewed...</span>
46177
+ } @else {
46178
+ <span>Mark Analysis as Reviewed</span>
46179
+ <svg
46180
+ class="w-6 h-6 transition-transform duration-200 group-hover:translate-x-1"
46181
+ fill="none"
46182
+ stroke="currentColor"
46183
+ viewBox="0 0 24 24"
46184
+ >
46185
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
46186
+ </svg>
46187
+ }
46188
+ </button>
46189
+ </div>
46190
+ </div>
46191
+ }
46187
46192
  `
46188
46193
  }]
46189
46194
  }], null, { viewMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewMode", required: false }] }], reviewStatus: [{ type: i0.Input, args: [{ isSignal: true, alias: "reviewStatus", required: false }] }], isMarkingAsReviewed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMarkingAsReviewed", required: false }] }], markAsReviewedClick: [{ type: i0.Output, args: ["markAsReviewedClick"] }] }); })();
46190
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkAsReviewedFooterComponent, { className: "MarkAsReviewedFooterComponent", filePath: "lib/components/shared/mark-as-reviewed-footer.component.ts", lineNumber: 49 }); })();
46195
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkAsReviewedFooterComponent, { className: "MarkAsReviewedFooterComponent", filePath: "lib/components/shared/mark-as-reviewed-footer.component.ts", lineNumber: 50 }); })();
46191
46196
 
46192
46197
  const _c0$F = ["dashboardContainer"];
46193
46198
  const _c1$h = () => ({});