@cqa-lib/cqa-ui 0.0.1 → 0.0.2

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.
Files changed (40) hide show
  1. package/README.md +90 -4
  2. package/dist/cqa-ui/README.md +226 -0
  3. package/dist/cqa-ui/esm2020/lib/button/button.component.mjs +257 -0
  4. package/dist/cqa-ui/esm2020/lib/dialog/dialog.component.mjs +127 -0
  5. package/dist/cqa-ui/esm2020/lib/search-bar/search-bar.component.mjs +95 -0
  6. package/dist/cqa-ui/esm2020/lib/segment-control/segment-control.component.mjs +211 -0
  7. package/{fesm2015 → dist/cqa-ui/fesm2015}/cqa-lib-cqa-ui.mjs +13 -53
  8. package/dist/cqa-ui/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -0
  9. package/{fesm2020 → dist/cqa-ui/fesm2020}/cqa-lib-cqa-ui.mjs +13 -53
  10. package/dist/cqa-ui/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -0
  11. package/{lib → dist/cqa-ui/lib}/button/button.component.d.ts +0 -2
  12. package/{lib → dist/cqa-ui/lib}/dialog/dialog.component.d.ts +0 -2
  13. package/{lib → dist/cqa-ui/lib}/search-bar/search-bar.component.d.ts +0 -3
  14. package/{lib → dist/cqa-ui/lib}/segment-control/segment-control.component.d.ts +0 -2
  15. package/dist/cqa-ui/package.json +56 -0
  16. package/dist/cqa-ui/styles.css +1 -0
  17. package/package.json +49 -23
  18. package/esm2020/lib/button/button.component.mjs +0 -265
  19. package/esm2020/lib/dialog/dialog.component.mjs +0 -135
  20. package/esm2020/lib/search-bar/search-bar.component.mjs +0 -111
  21. package/esm2020/lib/segment-control/segment-control.component.mjs +0 -219
  22. package/fesm2015/cqa-lib-cqa-ui.mjs.map +0 -1
  23. package/fesm2020/cqa-lib-cqa-ui.mjs.map +0 -1
  24. package/styles.css +0 -1
  25. /package/{cqa-lib-cqa-ui.d.ts → dist/cqa-ui/cqa-lib-cqa-ui.d.ts} +0 -0
  26. /package/{esm2020 → dist/cqa-ui/esm2020}/cqa-lib-cqa-ui.mjs +0 -0
  27. /package/{esm2020 → dist/cqa-ui/esm2020}/lib/dialog/dialog-ref.mjs +0 -0
  28. /package/{esm2020 → dist/cqa-ui/esm2020}/lib/dialog/dialog.models.mjs +0 -0
  29. /package/{esm2020 → dist/cqa-ui/esm2020}/lib/dialog/dialog.service.mjs +0 -0
  30. /package/{esm2020 → dist/cqa-ui/esm2020}/lib/dialog/dialog.tokens.mjs +0 -0
  31. /package/{esm2020 → dist/cqa-ui/esm2020}/lib/root-wrapper/root-wrapper.component.mjs +0 -0
  32. /package/{esm2020 → dist/cqa-ui/esm2020}/lib/ui-kit.module.mjs +0 -0
  33. /package/{esm2020 → dist/cqa-ui/esm2020}/public-api.mjs +0 -0
  34. /package/{lib → dist/cqa-ui/lib}/dialog/dialog-ref.d.ts +0 -0
  35. /package/{lib → dist/cqa-ui/lib}/dialog/dialog.models.d.ts +0 -0
  36. /package/{lib → dist/cqa-ui/lib}/dialog/dialog.service.d.ts +0 -0
  37. /package/{lib → dist/cqa-ui/lib}/dialog/dialog.tokens.d.ts +0 -0
  38. /package/{lib → dist/cqa-ui/lib}/root-wrapper/root-wrapper.component.d.ts +0 -0
  39. /package/{lib → dist/cqa-ui/lib}/ui-kit.module.d.ts +0 -0
  40. /package/{public-api.d.ts → dist/cqa-ui/public-api.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, HostBinding, Input, Output, HostListener, ViewChildren, ViewChild, ChangeDetectionStrategy, NgModule, InjectionToken, Injector, Injectable } from '@angular/core';
2
+ import { EventEmitter, Component, Input, Output, HostListener, ViewChildren, ViewChild, ChangeDetectionStrategy, NgModule, InjectionToken, Injector, Injectable } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2$1 from '@angular/forms';
@@ -15,8 +15,6 @@ import { Subject } from 'rxjs';
15
15
 
16
16
  class ButtonComponent {
17
17
  constructor() {
18
- this.id = 'cqa-ui-root';
19
- this.display = 'contents';
20
18
  this.variant = 'filled';
21
19
  this.disabled = false;
22
20
  this.iconPosition = 'start';
@@ -232,17 +230,11 @@ class ButtonComponent {
232
230
  }
233
231
  }
234
232
  ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
235
- ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: ButtonComponent, selector: "cqa-button", inputs: { variant: "variant", disabled: "disabled", icon: "icon", iconPosition: "iconPosition", type: "type" }, outputs: { clicked: "clicked" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "mousedown": "onMouseDown()", "mouseup": "onMouseUp()", "focus": "onFocus()", "blur": "onBlur()" }, properties: { "attr.id": "this.id", "style.display": "this.display" } }, ngImport: i0, template: "<button\n [type]=\"type\"\n [disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [class]=\"buttonClasses\"\n (click)=\"onClick($event)\"\n>\n <span [class]=\"stateLayerClasses\">\n <span *ngIf=\"icon && iconPosition === 'start'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n <span [class]=\"labelClasses\" [ngClass]=\"textClass\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"icon && iconPosition === 'end'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n </span>\n</button>\n\n", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
233
+ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: ButtonComponent, selector: "cqa-button", inputs: { variant: "variant", disabled: "disabled", icon: "icon", iconPosition: "iconPosition", type: "type" }, outputs: { clicked: "clicked" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "mousedown": "onMouseDown()", "mouseup": "onMouseUp()", "focus": "onFocus()", "blur": "onBlur()" } }, ngImport: i0, template: "<div id=\"cqa-ui-root\" style=\"display: inline-block; width: auto;\">\n <button\n [type]=\"type\"\n [disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [class]=\"buttonClasses\"\n (click)=\"onClick($event)\"\n >\n <span [class]=\"stateLayerClasses\">\n <span *ngIf=\"icon && iconPosition === 'start'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n <span [class]=\"labelClasses\" [ngClass]=\"textClass\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"icon && iconPosition === 'end'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n </span>\n </button>\n</div>\n\n", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
236
234
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonComponent, decorators: [{
237
235
  type: Component,
238
- args: [{ selector: 'cqa-button', template: "<button\n [type]=\"type\"\n [disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [class]=\"buttonClasses\"\n (click)=\"onClick($event)\"\n>\n <span [class]=\"stateLayerClasses\">\n <span *ngIf=\"icon && iconPosition === 'start'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n <span [class]=\"labelClasses\" [ngClass]=\"textClass\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"icon && iconPosition === 'end'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n </span>\n</button>\n\n", styles: [] }]
239
- }], propDecorators: { id: [{
240
- type: HostBinding,
241
- args: ['attr.id']
242
- }], display: [{
243
- type: HostBinding,
244
- args: ['style.display']
245
- }], variant: [{
236
+ args: [{ selector: 'cqa-button', template: "<div id=\"cqa-ui-root\" style=\"display: inline-block; width: auto;\">\n <button\n [type]=\"type\"\n [disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [class]=\"buttonClasses\"\n (click)=\"onClick($event)\"\n >\n <span [class]=\"stateLayerClasses\">\n <span *ngIf=\"icon && iconPosition === 'start'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n <span [class]=\"labelClasses\" [ngClass]=\"textClass\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"icon && iconPosition === 'end'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n </span>\n </button>\n</div>\n\n", styles: [] }]
237
+ }], propDecorators: { variant: [{
246
238
  type: Input
247
239
  }], disabled: [{
248
240
  type: Input
@@ -276,7 +268,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
276
268
 
277
269
  class SearchBarComponent {
278
270
  constructor() {
279
- this.id = 'cqa-ui-root';
280
271
  /** Placeholder text for the input */
281
272
  this.placeholder = 'Search';
282
273
  /** Initial value or externally controlled value */
@@ -306,12 +297,6 @@ class SearchBarComponent {
306
297
  lg: 'w-[495px]',
307
298
  };
308
299
  }
309
- get displayStyle() {
310
- return this.fullWidth ? 'block' : 'inline-block';
311
- }
312
- get widthStyle() {
313
- return this.fullWidth ? '100%' : 'auto';
314
- }
315
300
  ngOnChanges(changes) {
316
301
  if (changes['value'] && changes['value'].currentValue !== undefined) {
317
302
  const newValue = changes['value'].currentValue ?? '';
@@ -343,20 +328,11 @@ class SearchBarComponent {
343
328
  }
344
329
  }
345
330
  SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SearchBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
346
- SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SearchBarComponent, selector: "cqa-search-bar", inputs: { placeholder: "placeholder", value: "value", disabled: "disabled", showClear: "showClear", ariaLabel: "ariaLabel", autoFocus: "autoFocus", size: "size", fullWidth: "fullWidth" }, outputs: { valueChange: "valueChange", search: "search", cleared: "cleared" }, host: { properties: { "attr.id": "this.id", "style.display": "this.displayStyle", "style.width": "this.widthStyle" } }, usesOnChanges: true, ngImport: i0, template: "<form\n class=\"inline-flex items-center gap-2 px-6 py-3 text-[14px] border border-gray-200 rounded-md bg-white shadow-sm transition-colors\"\n [ngClass]=\"fullWidth ? 'w-full' : widthClasses[size]\"\n (submit)=\"onSubmit($event)\"\n>\n <span\n class=\"flex-none flex items-center justify-center text-gray-400 w-4 h-4\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n >\n search\n </mat-icon>\n </span>\n\n <input\n type=\"text\"\n class=\"flex-1 min-w-[180px] border-none outline-none bg-transparent placeholder:text-gray-400 disabled:text-gray-400 disabled:cursor-not-allowed font-['SF_Pro_Text'] font-normal text-[12.3px] leading-none tracking-normal align-middle text-[#99999E]\"\n style=\"font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0;\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n (input)=\"onInput($event)\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n autocomplete=\"off\"\n autocapitalize=\"none\"\n spellcheck=\"false\"\n [attr.autofocus]=\"autoFocus ? '' : null\"\n />\n\n <button\n *ngIf=\"showClear && inputValue\"\n type=\"button\"\n class=\"flex items-center justify-center p-0 w-4 h-4 border-0 bg-transparent cursor-pointer text-gray-500 hover:text-gray-700 disabled:text-gray-300 transition-colors leading-none\"\n (click)=\"clear()\"\n [disabled]=\"disabled\"\n aria-label=\"Clear search\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n close\n </mat-icon>\n </button>\n</form>\n", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
331
+ SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SearchBarComponent, selector: "cqa-search-bar", inputs: { placeholder: "placeholder", value: "value", disabled: "disabled", showClear: "showClear", ariaLabel: "ariaLabel", autoFocus: "autoFocus", size: "size", fullWidth: "fullWidth" }, outputs: { valueChange: "valueChange", search: "search", cleared: "cleared" }, usesOnChanges: true, ngImport: i0, template: "<div id=\"cqa-ui-root\" [style.display]=\"fullWidth ? 'block' : 'inline-block'\" [style.width]=\"fullWidth ? '100%' : 'auto'\">\n <form\n class=\"inline-flex items-center gap-2 px-6 py-3 text-[14px] border border-gray-200 rounded-md bg-white shadow-sm transition-colors\"\n [ngClass]=\"fullWidth ? 'w-full' : widthClasses[size]\"\n (submit)=\"onSubmit($event)\"\n >\n <span\n class=\"flex-none flex items-center justify-center text-gray-400 w-4 h-4\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n >\n search\n </mat-icon>\n </span>\n\n <input\n type=\"text\"\n class=\"flex-1 min-w-[180px] border-none outline-none bg-transparent placeholder:text-gray-400 disabled:text-gray-400 disabled:cursor-not-allowed font-['SF_Pro_Text'] font-normal text-[12.3px] leading-none tracking-normal align-middle text-[#99999E]\"\n style=\"font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0;\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n (input)=\"onInput($event)\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n autocomplete=\"off\"\n autocapitalize=\"none\"\n spellcheck=\"false\"\n [attr.autofocus]=\"autoFocus ? '' : null\"\n />\n\n <button\n *ngIf=\"showClear && inputValue\"\n type=\"button\"\n class=\"flex items-center justify-center p-0 w-4 h-4 border-0 bg-transparent cursor-pointer text-gray-500 hover:text-gray-700 disabled:text-gray-300 transition-colors leading-none\"\n (click)=\"clear()\"\n [disabled]=\"disabled\"\n aria-label=\"Clear search\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n close\n </mat-icon>\n </button>\n </form>\n</div>\n", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
347
332
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SearchBarComponent, decorators: [{
348
333
  type: Component,
349
- args: [{ selector: 'cqa-search-bar', template: "<form\n class=\"inline-flex items-center gap-2 px-6 py-3 text-[14px] border border-gray-200 rounded-md bg-white shadow-sm transition-colors\"\n [ngClass]=\"fullWidth ? 'w-full' : widthClasses[size]\"\n (submit)=\"onSubmit($event)\"\n>\n <span\n class=\"flex-none flex items-center justify-center text-gray-400 w-4 h-4\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n >\n search\n </mat-icon>\n </span>\n\n <input\n type=\"text\"\n class=\"flex-1 min-w-[180px] border-none outline-none bg-transparent placeholder:text-gray-400 disabled:text-gray-400 disabled:cursor-not-allowed font-['SF_Pro_Text'] font-normal text-[12.3px] leading-none tracking-normal align-middle text-[#99999E]\"\n style=\"font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0;\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n (input)=\"onInput($event)\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n autocomplete=\"off\"\n autocapitalize=\"none\"\n spellcheck=\"false\"\n [attr.autofocus]=\"autoFocus ? '' : null\"\n />\n\n <button\n *ngIf=\"showClear && inputValue\"\n type=\"button\"\n class=\"flex items-center justify-center p-0 w-4 h-4 border-0 bg-transparent cursor-pointer text-gray-500 hover:text-gray-700 disabled:text-gray-300 transition-colors leading-none\"\n (click)=\"clear()\"\n [disabled]=\"disabled\"\n aria-label=\"Clear search\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n close\n </mat-icon>\n </button>\n</form>\n", styles: [] }]
350
- }], propDecorators: { id: [{
351
- type: HostBinding,
352
- args: ['attr.id']
353
- }], displayStyle: [{
354
- type: HostBinding,
355
- args: ['style.display']
356
- }], widthStyle: [{
357
- type: HostBinding,
358
- args: ['style.width']
359
- }], placeholder: [{
334
+ args: [{ selector: 'cqa-search-bar', template: "<div id=\"cqa-ui-root\" [style.display]=\"fullWidth ? 'block' : 'inline-block'\" [style.width]=\"fullWidth ? '100%' : 'auto'\">\n <form\n class=\"inline-flex items-center gap-2 px-6 py-3 text-[14px] border border-gray-200 rounded-md bg-white shadow-sm transition-colors\"\n [ngClass]=\"fullWidth ? 'w-full' : widthClasses[size]\"\n (submit)=\"onSubmit($event)\"\n >\n <span\n class=\"flex-none flex items-center justify-center text-gray-400 w-4 h-4\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n >\n search\n </mat-icon>\n </span>\n\n <input\n type=\"text\"\n class=\"flex-1 min-w-[180px] border-none outline-none bg-transparent placeholder:text-gray-400 disabled:text-gray-400 disabled:cursor-not-allowed font-['SF_Pro_Text'] font-normal text-[12.3px] leading-none tracking-normal align-middle text-[#99999E]\"\n style=\"font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0;\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n (input)=\"onInput($event)\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n autocomplete=\"off\"\n autocapitalize=\"none\"\n spellcheck=\"false\"\n [attr.autofocus]=\"autoFocus ? '' : null\"\n />\n\n <button\n *ngIf=\"showClear && inputValue\"\n type=\"button\"\n class=\"flex items-center justify-center p-0 w-4 h-4 border-0 bg-transparent cursor-pointer text-gray-500 hover:text-gray-700 disabled:text-gray-300 transition-colors leading-none\"\n (click)=\"clear()\"\n [disabled]=\"disabled\"\n aria-label=\"Clear search\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n close\n </mat-icon>\n </button>\n </form>\n</div>\n", styles: [] }]
335
+ }], propDecorators: { placeholder: [{
360
336
  type: Input
361
337
  }], value: [{
362
338
  type: Input
@@ -382,8 +358,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
382
358
 
383
359
  class SegmentControlComponent {
384
360
  constructor() {
385
- this.id = 'cqa-ui-root';
386
- this.display = 'inline-block';
387
361
  this.segments = [
388
362
  { label: 'Tab Group', value: 'tab-group-1' },
389
363
  { label: 'Tab Group', value: 'tab-group-2' },
@@ -570,17 +544,11 @@ class SegmentControlComponent {
570
544
  }
571
545
  }
572
546
  SegmentControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SegmentControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
573
- SegmentControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SegmentControlComponent, selector: "cqa-segment-control", inputs: { segments: "segments", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, host: { properties: { "attr.id": "this.id", "style.display": "this.display" } }, viewQueries: [{ propertyName: "segmentContainer", first: true, predicate: ["segmentContainer"], descendants: true }, { propertyName: "segmentButtons", predicate: ["segmentButton"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #segmentContainer\n class=\"relative inline-flex flex-row items-start p-[3.5px] h-[31.5px] bg-[#F5F5F5] rounded-[8px]\"\n role=\"tablist\"\n [attr.aria-disabled]=\"disabled || null\"\n>\n <div\n class=\"absolute rounded-[8px] transition-all duration-200 ease-in-out pointer-events-none\"\n [class.opacity-0]=\"!isIndicatorVisible\"\n [ngStyle]=\"indicatorStyle\"\n aria-hidden=\"true\"\n ></div>\n\n <button\n *ngFor=\"let segment of segments; index as index; trackBy: trackByValue\"\n #segmentButton\n type=\"button\"\n role=\"tab\"\n class=\"relative z-10 flex flex-col justify-center items-center px-[14px] py-[3.5px] h-[25px] rounded-[8px] transition-all duration-200 ease-in-out whitespace-nowrap text-center focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 flex-none\"\n [ngClass]=\"{\n 'text-white font-medium': isSelected(segment),\n 'text-[#99999E]': !isSelected(segment) && !(disabled || segment.disabled),\n 'cursor-not-allowed': disabled || segment.disabled,\n 'text-[#C7C7C7]': (disabled || segment.disabled) && !isSelected(segment),\n 'hover:text-black': !isSelected(segment) && !disabled && !segment.disabled\n }\"\n [disabled]=\"disabled || segment.disabled\"\n [attr.aria-selected]=\"isSelected(segment)\"\n [attr.tabindex]=\"!disabled && !segment.disabled ? (isSelected(segment) ? 0 : -1) : -1\"\n (click)=\"select(segment, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"flex items-center justify-center h-[18px] font-['Inter'] font-normal text-[12px] leading-[12px] text-center align-middle\">\n {{ segment.label }}\n </span>\n </button>\n</div>\n", directives: [{ type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
547
+ SegmentControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SegmentControlComponent, selector: "cqa-segment-control", inputs: { segments: "segments", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "segmentContainer", first: true, predicate: ["segmentContainer"], descendants: true }, { propertyName: "segmentButtons", predicate: ["segmentButton"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div id=\"cqa-ui-root\" style=\"display: inline-block;\">\n <div\n #segmentContainer\n class=\"relative inline-flex flex-row items-start p-[3.5px] h-[31.5px] bg-[#F5F5F5] rounded-[8px]\"\n role=\"tablist\"\n [attr.aria-disabled]=\"disabled || null\"\n >\n <div\n class=\"absolute rounded-[8px] transition-all duration-200 ease-in-out pointer-events-none\"\n [class.opacity-0]=\"!isIndicatorVisible\"\n [ngStyle]=\"indicatorStyle\"\n aria-hidden=\"true\"\n ></div>\n\n <button\n *ngFor=\"let segment of segments; index as index; trackBy: trackByValue\"\n #segmentButton\n type=\"button\"\n role=\"tab\"\n class=\"relative z-10 flex flex-col justify-center items-center px-[14px] py-[3.5px] h-[25px] rounded-[8px] transition-all duration-200 ease-in-out whitespace-nowrap text-center focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 flex-none\"\n [ngClass]=\"{\n 'text-white font-medium': isSelected(segment),\n 'text-[#99999E]': !isSelected(segment) && !(disabled || segment.disabled),\n 'cursor-not-allowed': disabled || segment.disabled,\n 'text-[#C7C7C7]': (disabled || segment.disabled) && !isSelected(segment),\n 'hover:text-black': !isSelected(segment) && !disabled && !segment.disabled\n }\"\n [disabled]=\"disabled || segment.disabled\"\n [attr.aria-selected]=\"isSelected(segment)\"\n [attr.tabindex]=\"!disabled && !segment.disabled ? (isSelected(segment) ? 0 : -1) : -1\"\n (click)=\"select(segment, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"flex items-center justify-center h-[18px] font-['Inter'] font-normal text-[12px] leading-[12px] text-center align-middle\">\n {{ segment.label }}\n </span>\n </button>\n </div>\n</div>\n", directives: [{ type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
574
548
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SegmentControlComponent, decorators: [{
575
549
  type: Component,
576
- args: [{ selector: 'cqa-segment-control', template: "<div\n #segmentContainer\n class=\"relative inline-flex flex-row items-start p-[3.5px] h-[31.5px] bg-[#F5F5F5] rounded-[8px]\"\n role=\"tablist\"\n [attr.aria-disabled]=\"disabled || null\"\n>\n <div\n class=\"absolute rounded-[8px] transition-all duration-200 ease-in-out pointer-events-none\"\n [class.opacity-0]=\"!isIndicatorVisible\"\n [ngStyle]=\"indicatorStyle\"\n aria-hidden=\"true\"\n ></div>\n\n <button\n *ngFor=\"let segment of segments; index as index; trackBy: trackByValue\"\n #segmentButton\n type=\"button\"\n role=\"tab\"\n class=\"relative z-10 flex flex-col justify-center items-center px-[14px] py-[3.5px] h-[25px] rounded-[8px] transition-all duration-200 ease-in-out whitespace-nowrap text-center focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 flex-none\"\n [ngClass]=\"{\n 'text-white font-medium': isSelected(segment),\n 'text-[#99999E]': !isSelected(segment) && !(disabled || segment.disabled),\n 'cursor-not-allowed': disabled || segment.disabled,\n 'text-[#C7C7C7]': (disabled || segment.disabled) && !isSelected(segment),\n 'hover:text-black': !isSelected(segment) && !disabled && !segment.disabled\n }\"\n [disabled]=\"disabled || segment.disabled\"\n [attr.aria-selected]=\"isSelected(segment)\"\n [attr.tabindex]=\"!disabled && !segment.disabled ? (isSelected(segment) ? 0 : -1) : -1\"\n (click)=\"select(segment, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"flex items-center justify-center h-[18px] font-['Inter'] font-normal text-[12px] leading-[12px] text-center align-middle\">\n {{ segment.label }}\n </span>\n </button>\n</div>\n", styles: [] }]
577
- }], propDecorators: { id: [{
578
- type: HostBinding,
579
- args: ['attr.id']
580
- }], display: [{
581
- type: HostBinding,
582
- args: ['style.display']
583
- }], segments: [{
550
+ args: [{ selector: 'cqa-segment-control', template: "<div id=\"cqa-ui-root\" style=\"display: inline-block;\">\n <div\n #segmentContainer\n class=\"relative inline-flex flex-row items-start p-[3.5px] h-[31.5px] bg-[#F5F5F5] rounded-[8px]\"\n role=\"tablist\"\n [attr.aria-disabled]=\"disabled || null\"\n >\n <div\n class=\"absolute rounded-[8px] transition-all duration-200 ease-in-out pointer-events-none\"\n [class.opacity-0]=\"!isIndicatorVisible\"\n [ngStyle]=\"indicatorStyle\"\n aria-hidden=\"true\"\n ></div>\n\n <button\n *ngFor=\"let segment of segments; index as index; trackBy: trackByValue\"\n #segmentButton\n type=\"button\"\n role=\"tab\"\n class=\"relative z-10 flex flex-col justify-center items-center px-[14px] py-[3.5px] h-[25px] rounded-[8px] transition-all duration-200 ease-in-out whitespace-nowrap text-center focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 flex-none\"\n [ngClass]=\"{\n 'text-white font-medium': isSelected(segment),\n 'text-[#99999E]': !isSelected(segment) && !(disabled || segment.disabled),\n 'cursor-not-allowed': disabled || segment.disabled,\n 'text-[#C7C7C7]': (disabled || segment.disabled) && !isSelected(segment),\n 'hover:text-black': !isSelected(segment) && !disabled && !segment.disabled\n }\"\n [disabled]=\"disabled || segment.disabled\"\n [attr.aria-selected]=\"isSelected(segment)\"\n [attr.tabindex]=\"!disabled && !segment.disabled ? (isSelected(segment) ? 0 : -1) : -1\"\n (click)=\"select(segment, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"flex items-center justify-center h-[18px] font-['Inter'] font-normal text-[12px] leading-[12px] text-center align-middle\">\n {{ segment.label }}\n </span>\n </button>\n </div>\n</div>\n", styles: [] }]
551
+ }], propDecorators: { segments: [{
584
552
  type: Input
585
553
  }], value: [{
586
554
  type: Input
@@ -600,8 +568,6 @@ class DialogComponent {
600
568
  constructor(viewContainerRef, cdr) {
601
569
  this.viewContainerRef = viewContainerRef;
602
570
  this.cdr = cdr;
603
- this.id = 'cqa-ui-root';
604
- this.display = 'block';
605
571
  this.contentAttached = false;
606
572
  }
607
573
  attachTemplate(template, context) {
@@ -710,17 +676,11 @@ class DialogComponent {
710
676
  }
711
677
  }
712
678
  DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
713
- DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogComponent, selector: "cqa-dialog", host: { properties: { "attr.id": "this.id", "style.display": "this.display" } }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], ngImport: i0, template: "<div class=\"flex w-full justify-center px-4 sm:px-6\">\n <div [ngClass]=\"panelClassList\" [ngStyle]=\"panelStyles\">\n <div class=\"flex flex-col gap-5\">\n <div class=\"flex flex-col gap-3\">\n <h2 class=\"text-lg font-semibold text-[#111827]\">\n {{ config.title }}\n </h2>\n\n <p *ngIf=\"config.description\" class=\"text-sm leading-6 text-[#4B5563]\">\n {{ config.description }}\n </p>\n\n <div\n *ngIf=\"config.warning\"\n class=\"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm leading-5 text-red-700\"\n >\n {{ config.warning }}\n </div>\n </div>\n\n <div class=\"text-sm text-[#111827]\" [class.hidden]=\"!contentAttached\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n\n <div class=\"mt-4 flex flex-wrap gap-3\" [ngClass]=\"buttonAlignmentClass\">\n <cqa-button\n *ngFor=\"let button of config.buttons\"\n type=\"button\"\n [variant]=\"buttonVariant(button)\"\n [ngClass]=\"buttonHostClasses(button)\"\n (clicked)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </cqa-button>\n </div>\n </div>\n </div>\n</div>\n\n\n", components: [{ type: ButtonComponent, selector: "cqa-button", inputs: ["variant", "disabled", "icon", "iconPosition", "type"], outputs: ["clicked"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
679
+ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogComponent, selector: "cqa-dialog", viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], ngImport: i0, template: "<div id=\"cqa-ui-root\" style=\"display: block;\">\n <div class=\"flex w-full justify-center px-4 sm:px-6\">\n <div [ngClass]=\"panelClassList\" [ngStyle]=\"panelStyles\">\n <div class=\"flex flex-col gap-5\">\n <div class=\"flex flex-col gap-3\">\n <h2 class=\"text-lg font-semibold text-[#111827]\">\n {{ config.title }}\n </h2>\n\n <p *ngIf=\"config.description\" class=\"text-sm leading-6 text-[#4B5563]\">\n {{ config.description }}\n </p>\n\n <div\n *ngIf=\"config.warning\"\n class=\"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm leading-5 text-red-700\"\n >\n {{ config.warning }}\n </div>\n </div>\n\n <div class=\"text-sm text-[#111827]\" [class.hidden]=\"!contentAttached\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n\n <div class=\"mt-4 flex flex-wrap gap-3\" [ngClass]=\"buttonAlignmentClass\">\n <cqa-button\n *ngFor=\"let button of config.buttons\"\n type=\"button\"\n [variant]=\"buttonVariant(button)\"\n [ngClass]=\"buttonHostClasses(button)\"\n (clicked)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </cqa-button>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n\n", components: [{ type: ButtonComponent, selector: "cqa-button", inputs: ["variant", "disabled", "icon", "iconPosition", "type"], outputs: ["clicked"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
714
680
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogComponent, decorators: [{
715
681
  type: Component,
716
- args: [{ selector: 'cqa-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex w-full justify-center px-4 sm:px-6\">\n <div [ngClass]=\"panelClassList\" [ngStyle]=\"panelStyles\">\n <div class=\"flex flex-col gap-5\">\n <div class=\"flex flex-col gap-3\">\n <h2 class=\"text-lg font-semibold text-[#111827]\">\n {{ config.title }}\n </h2>\n\n <p *ngIf=\"config.description\" class=\"text-sm leading-6 text-[#4B5563]\">\n {{ config.description }}\n </p>\n\n <div\n *ngIf=\"config.warning\"\n class=\"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm leading-5 text-red-700\"\n >\n {{ config.warning }}\n </div>\n </div>\n\n <div class=\"text-sm text-[#111827]\" [class.hidden]=\"!contentAttached\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n\n <div class=\"mt-4 flex flex-wrap gap-3\" [ngClass]=\"buttonAlignmentClass\">\n <cqa-button\n *ngFor=\"let button of config.buttons\"\n type=\"button\"\n [variant]=\"buttonVariant(button)\"\n [ngClass]=\"buttonHostClasses(button)\"\n (clicked)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </cqa-button>\n </div>\n </div>\n </div>\n</div>\n\n\n", styles: [] }]
717
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
718
- type: HostBinding,
719
- args: ['attr.id']
720
- }], display: [{
721
- type: HostBinding,
722
- args: ['style.display']
723
- }], portalOutlet: [{
682
+ args: [{ selector: 'cqa-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div id=\"cqa-ui-root\" style=\"display: block;\">\n <div class=\"flex w-full justify-center px-4 sm:px-6\">\n <div [ngClass]=\"panelClassList\" [ngStyle]=\"panelStyles\">\n <div class=\"flex flex-col gap-5\">\n <div class=\"flex flex-col gap-3\">\n <h2 class=\"text-lg font-semibold text-[#111827]\">\n {{ config.title }}\n </h2>\n\n <p *ngIf=\"config.description\" class=\"text-sm leading-6 text-[#4B5563]\">\n {{ config.description }}\n </p>\n\n <div\n *ngIf=\"config.warning\"\n class=\"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm leading-5 text-red-700\"\n >\n {{ config.warning }}\n </div>\n </div>\n\n <div class=\"text-sm text-[#111827]\" [class.hidden]=\"!contentAttached\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n\n <div class=\"mt-4 flex flex-wrap gap-3\" [ngClass]=\"buttonAlignmentClass\">\n <cqa-button\n *ngFor=\"let button of config.buttons\"\n type=\"button\"\n [variant]=\"buttonVariant(button)\"\n [ngClass]=\"buttonHostClasses(button)\"\n (clicked)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </cqa-button>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n\n", styles: [] }]
683
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { portalOutlet: [{
724
684
  type: ViewChild,
725
685
  args: [CdkPortalOutlet, { static: true }]
726
686
  }] } });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cqa-lib-cqa-ui.mjs","sources":["../../../src/lib/button/button.component.ts","../../../src/lib/button/button.component.html","../../../src/lib/search-bar/search-bar.component.ts","../../../src/lib/search-bar/search-bar.component.html","../../../src/lib/segment-control/segment-control.component.ts","../../../src/lib/segment-control/segment-control.component.html","../../../src/lib/dialog/dialog.component.ts","../../../src/lib/dialog/dialog.component.html","../../../src/lib/root-wrapper/root-wrapper.component.ts","../../../src/lib/root-wrapper/root-wrapper.component.html","../../../src/lib/ui-kit.module.ts","../../../src/lib/dialog/dialog-ref.ts","../../../src/lib/dialog/dialog.tokens.ts","../../../src/lib/dialog/dialog.service.ts","../../../src/cqa-lib-cqa-ui.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, HostListener } from '@angular/core';\n\nexport type ButtonVariant = 'filled' | 'outlined' | 'text' | 'elevated' | 'tonal';\n\n@Component({\n selector: 'cqa-button',\n templateUrl: './button.component.html',\n styleUrls: []\n})\nexport class ButtonComponent {\n\n @Input() variant: ButtonVariant = 'filled';\n @Input() disabled: boolean = false;\n @Input() icon?: string;\n @Input() iconPosition: 'start' | 'end' = 'start';\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\n @Output() clicked = new EventEmitter<MouseEvent>();\n\n // Internal state tracking\n isHovered: boolean = false;\n isFocused: boolean = false;\n isPressed: boolean = false;\n\n get hasIcon(): boolean {\n return !!this.icon;\n }\n\n get buttonClasses(): string {\n const baseClasses = [\n 'flex',\n 'flex-col',\n 'justify-center',\n 'items-center',\n 'p-0',\n 'gap-2',\n 'rounded-lg',\n 'cursor-pointer',\n 'font-inter',\n 'font-semibold',\n 'text-sm',\n 'leading-[14px]',\n 'transition-all',\n 'duration-200',\n 'outline-none'\n ];\n\n if (this.disabled) {\n baseClasses.push('cursor-not-allowed');\n }\n\n // Add variant and state specific classes\n const variantClasses = this.getVariantClasses();\n \n return [...baseClasses, ...variantClasses].join(' ');\n }\n\n get stateLayerClasses(): string {\n const classes = [\n 'flex',\n 'flex-row',\n 'justify-center',\n 'items-center',\n 'gap-2',\n 'w-full',\n 'h-full',\n 'py-[10px]',\n 'px-6',\n ];\n\n return classes.join(' ');\n }\n\n get labelClasses(): string {\n const classes = [\n 'flex',\n 'items-center',\n 'text-center',\n 'font-inter',\n 'font-semibold',\n 'text-sm',\n 'leading-[14px]',\n 'flex-none',\n this.textClass,\n ];\n\n if (this.disabled) {\n classes.push('opacity-[0.38]');\n }\n\n return classes.join(' ');\n }\n\n get iconClasses(): string {\n const classes = [\n 'flex',\n 'items-center',\n 'justify-center',\n 'w-[14px]',\n 'h-[14px]',\n 'shrink-0',\n 'flex-none'\n ];\n if (this.disabled) {\n classes.push('opacity-[0.38]');\n }\n return classes.join(' ');\n }\n\n private getVariantClasses(): string[] {\n const classes: string[] = [];\n\n if (this.variant === 'filled') {\n if (this.disabled) {\n classes.push('bg-primary-muted');\n } else {\n classes.push('bg-primary');\n if (this.isHovered) {\n classes.push('shadow-[0px_1px_2px_rgba(0,0,0,0.3),0px_1px_3px_1px_rgba(0,0,0,0.15)]');\n }\n }\n } else if (this.variant === 'outlined') {\n if (this.disabled) {\n classes.push('bg-transparent', 'border', 'border-primary-muted');\n } else {\n if (this.isFocused) {\n classes.push('bg-primary-surface-alt', 'border', 'border-primary-hover', 'shadow-[0px_4px_4px_rgba(0,0,0,0.25)]');\n } else if (this.isHovered || this.isPressed) {\n classes.push('bg-primary-surface', 'border', 'border-primary');\n } else {\n classes.push('bg-transparent', 'border', 'border-slate');\n }\n }\n } else if (this.variant === 'text') {\n if (this.disabled) {\n classes.push('bg-transparent');\n } else {\n classes.push('bg-transparent');\n if (this.isHovered || this.isFocused || this.isPressed) {\n classes.push('bg-primary-surface');\n }\n }\n } else if (this.variant === 'elevated') {\n if (this.disabled) {\n classes.push('bg-primary-muted', 'shadow-none');\n } else {\n if (this.isFocused) {\n classes.push('bg-primary-surface-alt', 'shadow-[0px_4px_4px_rgba(0,0,0,0.25)]');\n } else if (this.isPressed) {\n classes.push('bg-primary-surface', 'shadow-[0px_1px_2px_rgba(0,0,0,0.3),0px_1px_3px_1px_rgba(0,0,0,0.15)]');\n } else if (this.isHovered) {\n classes.push('bg-primary-surface-alt', 'shadow-[0px_1px_2px_rgba(0,0,0,0.3),0px_2px_6px_2px_rgba(0,0,0,0.15)]');\n } else {\n classes.push('bg-primary-surface', 'shadow-[0px_1px_2px_rgba(0,0,0,0.3),0px_1px_3px_1px_rgba(0,0,0,0.15)]');\n }\n }\n } else if (this.variant === 'tonal') {\n if (this.disabled) {\n classes.push('bg-primary-muted');\n } else {\n if (this.isHovered) {\n classes.push('bg-tonal-hover', 'shadow-[0px_1px_2px_rgba(0,0,0,0.3),0px_1px_3px_1px_rgba(0,0,0,0.15)]');\n } else {\n classes.push('bg-primary-surface-alt');\n }\n }\n }\n\n return classes;\n }\n\n get textClass(): string {\n if (this.disabled) {\n if (this.variant === 'outlined' || this.variant === 'text') {\n return 'text-ink';\n }\n return 'text-ink-muted';\n }\n\n switch (this.variant) {\n case 'filled':\n return 'text-surface-default';\n case 'outlined':\n if (this.isFocused || this.isHovered || this.isPressed) {\n return 'text-primary-hover';\n }\n return 'text-slate';\n case 'text':\n case 'elevated':\n return 'text-primary-hover';\n case 'tonal':\n return 'text-ink';\n default:\n return '';\n }\n }\n\n @HostListener('mouseenter')\n onMouseEnter() {\n if (!this.disabled) {\n this.isHovered = true;\n }\n }\n\n @HostListener('mouseleave')\n onMouseLeave() {\n this.isHovered = false;\n this.isPressed = false;\n }\n\n @HostListener('mousedown')\n onMouseDown() {\n if (!this.disabled) {\n this.isPressed = true;\n }\n }\n\n @HostListener('mouseup')\n onMouseUp() {\n this.isPressed = false;\n }\n\n @HostListener('focus')\n onFocus() {\n if (!this.disabled) {\n this.isFocused = true;\n }\n }\n\n @HostListener('blur')\n onBlur() {\n this.isFocused = false;\n this.isPressed = false;\n }\n\n onClick(event: MouseEvent) {\n if (!this.disabled) {\n this.clicked.emit(event);\n }\n }\n}\n\n","<div id=\"cqa-ui-root\" style=\"display: inline-block; width: auto;\">\n <button\n [type]=\"type\"\n [disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [class]=\"buttonClasses\"\n (click)=\"onClick($event)\"\n >\n <span [class]=\"stateLayerClasses\">\n <span *ngIf=\"icon && iconPosition === 'start'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n <span [class]=\"labelClasses\" [ngClass]=\"textClass\">\n <ng-content></ng-content>\n </span>\n <span *ngIf=\"icon && iconPosition === 'end'\" [class]=\"iconClasses\" [ngClass]=\"textClass\">\n <mat-icon class=\"text-[18px] leading-[18px] w-[18px] h-[18px]\">\n {{ icon }}\n </mat-icon>\n </span>\n </span>\n </button>\n</div>\n\n","import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\n\ntype SearchBarSize = 'sm' | 'md' | 'lg';\n\n@Component({\n selector: 'cqa-search-bar',\n templateUrl: './search-bar.component.html',\n styleUrls: []\n})\nexport class SearchBarComponent implements OnChanges {\n\n /** Placeholder text for the input */\n @Input() placeholder = 'Search';\n\n /** Initial value or externally controlled value */\n @Input() value = '';\n\n /** Disable interactions */\n @Input() disabled = false;\n\n /** Whether the clear button should be visible when there is text */\n @Input() showClear = true;\n\n /** Accessible label for the input */\n @Input() ariaLabel = 'Search';\n\n /** Automatically focus the input when rendered */\n @Input() autoFocus = false;\n\n /** Search bar size */\n @Input() size: SearchBarSize = 'md';\n\n /** Stretch to fill container width */\n @Input() fullWidth = false;\n\n /** Emit on value changes (e.g. for two-way binding) */\n @Output() valueChange = new EventEmitter<string>();\n\n /** Emit when user submits search (Enter key or form submit) */\n @Output() search = new EventEmitter<string>();\n\n /** Emit when the value is cleared via the clear button */\n @Output() cleared = new EventEmitter<void>();\n\n inputValue = '';\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['value'] && changes['value'].currentValue !== undefined) {\n const newValue = changes['value'].currentValue ?? '';\n if (newValue !== this.inputValue) {\n this.inputValue = newValue;\n }\n }\n }\n\n readonly widthClasses: Record<SearchBarSize, string> = {\n sm: 'w-[295px]',\n md: 'w-[395px]',\n lg: 'w-[495px]',\n };\n\n onInput(event: Event): void {\n const target = event.target as HTMLInputElement | null;\n const nextValue = target?.value ?? '';\n this.inputValue = nextValue;\n this.valueChange.emit(this.inputValue);\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n if (this.disabled) {\n return;\n }\n\n this.search.emit(this.inputValue.trim());\n }\n\n clear(): void {\n if (this.disabled || this.inputValue === '') {\n return;\n }\n\n this.inputValue = '';\n this.valueChange.emit('');\n this.cleared.emit();\n }\n}\n","<div id=\"cqa-ui-root\" [style.display]=\"fullWidth ? 'block' : 'inline-block'\" [style.width]=\"fullWidth ? '100%' : 'auto'\">\n <form\n class=\"inline-flex items-center gap-2 px-6 py-3 text-[14px] border border-gray-200 rounded-md bg-white shadow-sm transition-colors\"\n [ngClass]=\"fullWidth ? 'w-full' : widthClasses[size]\"\n (submit)=\"onSubmit($event)\"\n >\n <span\n class=\"flex-none flex items-center justify-center text-gray-400 w-4 h-4\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n >\n search\n </mat-icon>\n </span>\n\n <input\n type=\"text\"\n class=\"flex-1 min-w-[180px] border-none outline-none bg-transparent placeholder:text-gray-400 disabled:text-gray-400 disabled:cursor-not-allowed font-['SF_Pro_Text'] font-normal text-[12.3px] leading-none tracking-normal align-middle text-[#99999E]\"\n style=\"font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0;\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n (input)=\"onInput($event)\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n autocomplete=\"off\"\n autocapitalize=\"none\"\n spellcheck=\"false\"\n [attr.autofocus]=\"autoFocus ? '' : null\"\n />\n\n <button\n *ngIf=\"showClear && inputValue\"\n type=\"button\"\n class=\"flex items-center justify-center p-0 w-4 h-4 border-0 bg-transparent cursor-pointer text-gray-500 hover:text-gray-700 disabled:text-gray-300 transition-colors leading-none\"\n (click)=\"clear()\"\n [disabled]=\"disabled\"\n aria-label=\"Clear search\"\n >\n <mat-icon\n class=\"flex items-center justify-center leading-none p-0\"\n [style.width.px]=\"16\"\n [style.height.px]=\"16\"\n [style.fontSize.px]=\"16\"\n [ngClass]=\"{ 'opacity-[0.38]': disabled }\"\n >\n close\n </mat-icon>\n </button>\n </form>\n</div>\n","import {\n AfterViewInit,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnDestroy,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\ntype SegmentOption = {\n label: string;\n value: string;\n disabled?: boolean;\n};\n\n@Component({\n selector: 'cqa-segment-control',\n templateUrl: './segment-control.component.html',\n styleUrls: [],\n})\nexport class SegmentControlComponent implements OnChanges, AfterViewInit, OnDestroy {\n\n @Input() segments: SegmentOption[] = [\n { label: 'Tab Group', value: 'tab-group-1' },\n { label: 'Tab Group', value: 'tab-group-2' },\n ];\n\n @Input() value?: string;\n @Input() disabled = false;\n\n @Output() valueChange = new EventEmitter<string>();\n\n @ViewChildren('segmentButton') segmentButtons!: QueryList<ElementRef<HTMLButtonElement>>;\n @ViewChild('segmentContainer') segmentContainer?: ElementRef<HTMLDivElement>;\n\n indicatorStyle: Record<string, string> = {};\n indicatorVisible = false;\n private buttonChangesSub?: Subscription;\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['segments'] || changes['value']) {\n this.ensureSelectedValue();\n }\n }\n\n ngAfterViewInit(): void {\n this.buttonChangesSub = this.segmentButtons.changes.subscribe(() => this.updateIndicator());\n this.ensureSelectedValue();\n this.updateIndicator();\n }\n\n ngOnDestroy(): void {\n this.buttonChangesSub?.unsubscribe?.();\n }\n\n trackByValue(_index: number, option: SegmentOption): string {\n return option.value;\n }\n\n isSelected(option: SegmentOption): boolean {\n return option.value === this.value;\n }\n\n select(option: SegmentOption, index: number): void {\n if (this.disabled || option.disabled) {\n return;\n }\n\n const nextValue = option.value;\n if (nextValue !== this.value) {\n this.value = nextValue;\n this.valueChange.emit(nextValue);\n }\n\n this.focusButton(index);\n this.updateIndicator();\n }\n\n onKeyDown(event: KeyboardEvent, currentIndex: number): void {\n if (this.disabled) {\n return;\n }\n\n switch (event.key) {\n case 'ArrowRight':\n case 'ArrowDown':\n event.preventDefault();\n this.moveSelection(1, currentIndex);\n break;\n case 'ArrowLeft':\n case 'ArrowUp':\n event.preventDefault();\n this.moveSelection(-1, currentIndex);\n break;\n case 'Home':\n event.preventDefault();\n this.selectFirstEnabled();\n break;\n case 'End':\n event.preventDefault();\n this.selectLastEnabled();\n break;\n case ' ':\n case 'Enter':\n event.preventDefault();\n this.select(this.segments[currentIndex], currentIndex);\n break;\n default:\n break;\n }\n }\n\n private moveSelection(step: 1 | -1, startIndex: number): void {\n const enabledIndexes = this.getEnabledIndexes();\n if (enabledIndexes.length === 0) {\n return;\n }\n\n const currentEnabledIndex = enabledIndexes.indexOf(startIndex);\n const fallbackIndex = this.getSelectedIndex(enabledIndexes);\n const baseIndex = currentEnabledIndex >= 0 ? currentEnabledIndex : fallbackIndex;\n const nextPosition = (baseIndex + step + enabledIndexes.length) % enabledIndexes.length;\n const targetIndex = enabledIndexes[nextPosition];\n\n this.select(this.segments[targetIndex], targetIndex);\n }\n\n private selectFirstEnabled(): void {\n const enabledIndexes = this.getEnabledIndexes();\n if (enabledIndexes.length > 0) {\n const index = enabledIndexes[0];\n this.select(this.segments[index], index);\n this.updateIndicator();\n }\n }\n\n private selectLastEnabled(): void {\n const enabledIndexes = this.getEnabledIndexes();\n if (enabledIndexes.length > 0) {\n const index = enabledIndexes[enabledIndexes.length - 1];\n this.select(this.segments[index], index);\n this.updateIndicator();\n }\n }\n\n private getEnabledIndexes(): number[] {\n return this.segments\n .map((option, index) => ({ option, index }))\n .filter(({ option }) => !option.disabled)\n .map(({ index }) => index);\n }\n\n private getSelectedIndex(enabledIndexes: number[]): number {\n const current = this.segments.findIndex((option) => option.value === this.value && !option.disabled);\n if (current >= 0) {\n return enabledIndexes.indexOf(current);\n }\n\n return 0;\n }\n\n private ensureSelectedValue(): void {\n const enabled = this.segments.filter((option) => !option.disabled);\n if (enabled.length === 0) {\n this.value = undefined;\n return;\n }\n\n if (!this.value || !this.segments.some((option) => option.value === this.value)) {\n this.value = enabled[0].value;\n this.valueChange.emit(this.value);\n const index = this.segments.indexOf(enabled[0]);\n this.focusButton(index);\n this.updateIndicator(index);\n return;\n }\n\n const selected = this.segments.find((option) => option.value === this.value);\n if (selected?.disabled) {\n this.value = enabled[0].value;\n this.valueChange.emit(this.value);\n const index = this.segments.indexOf(enabled[0]);\n this.focusButton(index);\n this.updateIndicator(index);\n }\n this.updateIndicator();\n }\n\n private focusButton(index: number): void {\n queueMicrotask(() => {\n const button = this.segmentButtons?.get(index)?.nativeElement;\n button?.focus();\n });\n }\n\n private updateIndicator(preferredIndex?: number): void {\n queueMicrotask(() => {\n const container = this.segmentContainer?.nativeElement;\n const buttons = this.segmentButtons?.toArray() ?? [];\n if (!container || buttons.length === 0) {\n this.indicatorVisible = false;\n this.indicatorStyle = {};\n return;\n }\n\n const index = preferredIndex ?? buttons.findIndex((button, idx) => this.segments[idx]?.value === this.value);\n if (index === -1) {\n this.indicatorVisible = false;\n this.indicatorStyle = {};\n return;\n }\n\n const buttonEl = buttons[index]?.nativeElement;\n if (!buttonEl) {\n this.indicatorVisible = false;\n this.indicatorStyle = {};\n return;\n }\n\n const containerRect = container.getBoundingClientRect();\n const buttonRect = buttonEl.getBoundingClientRect();\n const offsetLeft = buttonEl.offsetLeft;\n const offsetTop = buttonEl.offsetTop;\n const width = buttonEl.offsetWidth;\n const height = buttonEl.offsetHeight;\n\n const isDisabled = this.disabled || this.segments[index]?.disabled;\n this.indicatorStyle = {\n width: `${width}px`,\n height: `${height}px`,\n left: `${offsetLeft}px`,\n top: `${offsetTop}px`,\n backgroundColor: isDisabled ? '#9BA0F4' : '#3F43EE',\n };\n this.indicatorVisible = true;\n });\n }\n\n get isIndicatorVisible(): boolean {\n return this.indicatorVisible;\n }\n}\n","<div id=\"cqa-ui-root\" style=\"display: inline-block;\">\n <div\n #segmentContainer\n class=\"relative inline-flex flex-row items-start p-[3.5px] h-[31.5px] bg-[#F5F5F5] rounded-[8px]\"\n role=\"tablist\"\n [attr.aria-disabled]=\"disabled || null\"\n >\n <div\n class=\"absolute rounded-[8px] transition-all duration-200 ease-in-out pointer-events-none\"\n [class.opacity-0]=\"!isIndicatorVisible\"\n [ngStyle]=\"indicatorStyle\"\n aria-hidden=\"true\"\n ></div>\n\n <button\n *ngFor=\"let segment of segments; index as index; trackBy: trackByValue\"\n #segmentButton\n type=\"button\"\n role=\"tab\"\n class=\"relative z-10 flex flex-col justify-center items-center px-[14px] py-[3.5px] h-[25px] rounded-[8px] transition-all duration-200 ease-in-out whitespace-nowrap text-center focus:outline-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 flex-none\"\n [ngClass]=\"{\n 'text-white font-medium': isSelected(segment),\n 'text-[#99999E]': !isSelected(segment) && !(disabled || segment.disabled),\n 'cursor-not-allowed': disabled || segment.disabled,\n 'text-[#C7C7C7]': (disabled || segment.disabled) && !isSelected(segment),\n 'hover:text-black': !isSelected(segment) && !disabled && !segment.disabled\n }\"\n [disabled]=\"disabled || segment.disabled\"\n [attr.aria-selected]=\"isSelected(segment)\"\n [attr.tabindex]=\"!disabled && !segment.disabled ? (isSelected(segment) ? 0 : -1) : -1\"\n (click)=\"select(segment, index)\"\n (keydown)=\"onKeyDown($event, index)\"\n >\n <span class=\"flex items-center justify-center h-[18px] font-['Inter'] font-normal text-[12px] leading-[12px] text-center align-middle\">\n {{ segment.label }}\n </span>\n </button>\n </div>\n</div>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ComponentRef,\n TemplateRef,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport { CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';\nimport { DialogButtonAlignment, DialogButtonConfig, DialogConfig, DialogContentConfig } from './dialog.models';\nimport { ButtonVariant } from '../button/button.component';\nimport { DialogRef } from './dialog-ref';\n\n@Component({\n selector: 'cqa-dialog',\n templateUrl: './dialog.component.html',\n styleUrls: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DialogComponent<TResult = unknown> {\n\n @ViewChild(CdkPortalOutlet, { static: true }) portalOutlet?: CdkPortalOutlet;\n\n config!: DialogConfig<DialogContentConfig, TResult>;\n dialogRef!: DialogRef<TResult>;\n\n contentAttached = false;\n\n constructor(private readonly viewContainerRef: ViewContainerRef, private readonly cdr: ChangeDetectorRef) {}\n\n attachTemplate(template: TemplateRef<unknown>, context?: Record<string, unknown>): void {\n if (!this.portalOutlet) {\n return;\n }\n\n const templateContext =\n context ??\n {\n $implicit: this.config?.data,\n data: this.config?.data,\n };\n const portal = new TemplatePortal(template, this.viewContainerRef, templateContext);\n this.portalOutlet.attachTemplatePortal(portal);\n this.markContentAttached();\n }\n\n attachComponent(component: ComponentPortal<unknown>): ComponentRef<unknown> | undefined {\n if (!this.portalOutlet) {\n return undefined;\n }\n\n const componentRef = this.portalOutlet.attachComponentPortal(component);\n this.markContentAttached();\n return componentRef;\n }\n\n async onButtonClick(button: DialogButtonConfig<TResult>): Promise<void> {\n const closeOnClick = button.closeOnClick ?? true;\n let handlerResult: TResult | false | void | Promise<TResult | false | void> = undefined;\n\n if (button.handler) {\n handlerResult = button.handler(this.dialogRef);\n }\n\n const resolved = handlerResult instanceof Promise ? await handlerResult : handlerResult;\n\n if (!closeOnClick || resolved === false) {\n return;\n }\n\n this.dialogRef.close(resolved as TResult | undefined);\n }\n\n get buttonAlignmentClass(): string {\n const alignment = this.config?.buttonAlignment ?? 'right';\n return this.mapAlignmentToClass(alignment);\n }\n\n get panelClassList(): string[] {\n const baseClasses = [\n 'relative',\n 'w-full',\n 'bg-white',\n 'rounded-2xl',\n 'shadow-md',\n 'border',\n 'border-[#E5E7EB]',\n 'p-6',\n 'text-left',\n ];\n\n const custom = this.config?.panelClass;\n\n if (!custom) {\n return baseClasses;\n }\n\n return Array.isArray(custom) ? [...baseClasses, ...custom] : [...baseClasses, custom];\n }\n\n get panelStyles(): Record<string, string | undefined> {\n return {\n width: this.config?.width,\n maxWidth: this.config?.maxWidth ?? '480px',\n };\n }\n\n buttonVariant(button: DialogButtonConfig<TResult>): ButtonVariant {\n const role = this.normalizeRole(button.role);\n\n switch (role) {\n case 'secondary':\n return 'outlined';\n case 'text':\n return 'text';\n case 'tonal':\n return 'tonal';\n case 'elevated':\n return 'elevated';\n case 'filled':\n case 'primary':\n case 'warn':\n default:\n return 'filled';\n }\n }\n\n buttonHostClasses(button: DialogButtonConfig<TResult>): string[] {\n const role = this.normalizeRole(button.role);\n\n if (role === 'warn') {\n return ['cqa-dialog-btn-warn'];\n }\n\n return [];\n }\n\n private mapAlignmentToClass(alignment: DialogButtonAlignment): string {\n switch (alignment) {\n case 'left':\n return 'justify-start';\n case 'center':\n return 'justify-center';\n case 'right':\n default:\n return 'justify-end';\n }\n }\n\n private markContentAttached(): void {\n this.contentAttached = true;\n this.cdr.markForCheck();\n }\n\n private normalizeRole(role: string | undefined): string {\n return (role ?? 'secondary').trim().split(/\\s+/)[0];\n }\n}\n\n\n","<div id=\"cqa-ui-root\" style=\"display: block;\">\n <div class=\"flex w-full justify-center px-4 sm:px-6\">\n <div [ngClass]=\"panelClassList\" [ngStyle]=\"panelStyles\">\n <div class=\"flex flex-col gap-5\">\n <div class=\"flex flex-col gap-3\">\n <h2 class=\"text-lg font-semibold text-[#111827]\">\n {{ config.title }}\n </h2>\n\n <p *ngIf=\"config.description\" class=\"text-sm leading-6 text-[#4B5563]\">\n {{ config.description }}\n </p>\n\n <div\n *ngIf=\"config.warning\"\n class=\"rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm leading-5 text-red-700\"\n >\n {{ config.warning }}\n </div>\n </div>\n\n <div class=\"text-sm text-[#111827]\" [class.hidden]=\"!contentAttached\">\n <ng-template cdkPortalOutlet></ng-template>\n </div>\n\n <div class=\"mt-4 flex flex-wrap gap-3\" [ngClass]=\"buttonAlignmentClass\">\n <cqa-button\n *ngFor=\"let button of config.buttons\"\n type=\"button\"\n [variant]=\"buttonVariant(button)\"\n [ngClass]=\"buttonHostClasses(button)\"\n (clicked)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </cqa-button>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'cqa-ui-root',\n templateUrl: './root-wrapper.component.html',\n styles: []\n})\nexport class RootWrapperComponent {\n @Input() display: 'block' | 'inline-block' | 'inline' | 'inline-flex' | 'flex' = 'inline-block';\n @Input() width?: string;\n @Input() fullWidth = false;\n\n get rootStyles(): Record<string, string> {\n const styles: Record<string, string> = {\n display: this.fullWidth ? 'block' : this.display\n };\n \n if (this.fullWidth) {\n styles['width'] = '100%';\n } else if (this.width) {\n styles['width'] = this.width;\n }\n \n return styles;\n }\n}\n\n","<div id=\"cqa-ui-root\" [ngStyle]=\"rootStyles\">\n <ng-content></ng-content>\n</div>\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { MatIconModule } from '@angular/material/icon';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ButtonComponent } from './button/button.component';\nimport { SearchBarComponent } from './search-bar/search-bar.component';\nimport { SegmentControlComponent } from './segment-control/segment-control.component';\nimport { DialogComponent } from './dialog/dialog.component';\nimport { RootWrapperComponent } from './root-wrapper/root-wrapper.component';\n// import { CardComponent } from './card/card.component';\n// import { InputComponent } from './input/input.component';\n// import { IconButtonComponent } from './icon-button/icon-button.component';\n\n@NgModule({\n declarations: [\n ButtonComponent,\n SearchBarComponent,\n SegmentControlComponent,\n DialogComponent,\n RootWrapperComponent,\n // CardComponent,\n // InputComponent,\n // IconButtonComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n MatIconModule,\n OverlayModule,\n PortalModule\n ],\n exports: [\n ButtonComponent,\n SearchBarComponent,\n SegmentControlComponent,\n DialogComponent,\n RootWrapperComponent,\n // CardComponent,\n // InputComponent,\n // IconButtonComponent\n ]\n})\nexport class UiKitModule { }\n\n","import { OverlayRef } from '@angular/cdk/overlay';\nimport { Observable, Subject } from 'rxjs';\n\nexport class DialogRef<TResult = unknown> {\n private readonly closed$ = new Subject<TResult | undefined>();\n private isClosed = false;\n private componentInstance?: unknown;\n\n constructor(private readonly overlayRef: OverlayRef) {\n this.overlayRef.detachments().subscribe(() => {\n this.finishClose(undefined);\n });\n }\n\n close(result?: TResult): void {\n if (this.isClosed) {\n return;\n }\n\n this.finishClose(result);\n this.overlayRef.dispose();\n }\n\n afterClosed(): Observable<TResult | undefined> {\n return this.closed$.asObservable();\n }\n\n setComponentInstance(instance: unknown): void {\n this.componentInstance = instance;\n }\n\n getComponentInstance<TComponent>(): TComponent | undefined {\n return this.componentInstance as TComponent | undefined;\n }\n\n private finishClose(result: TResult | undefined): void {\n if (this.isClosed) {\n return;\n }\n\n this.isClosed = true;\n this.closed$.next(result);\n this.closed$.complete();\n }\n}\n\n\n","import { InjectionToken } from '@angular/core';\nimport { DialogRef } from './dialog-ref';\n\nexport const DIALOG_REF = new InjectionToken<DialogRef<any>>('CQA_DIALOG_REF');\nexport const DIALOG_DATA = new InjectionToken<any>('CQA_DIALOG_DATA');\n\n\n","import { Injectable, Injector } from '@angular/core';\nimport { Overlay, OverlayConfig } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { filter } from 'rxjs/operators';\nimport { DialogConfig, DialogContentConfig } from './dialog.models';\nimport { DialogRef } from './dialog-ref';\nimport { DialogComponent } from './dialog.component';\nimport { DIALOG_DATA, DIALOG_REF } from './dialog.tokens';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DialogService {\n constructor(private readonly overlay: Overlay, private readonly injector: Injector) {}\n\n open<TContent extends DialogContentConfig = DialogContentConfig, TResult = unknown>(\n config: DialogConfig<TContent, TResult>\n ): DialogRef<TResult> {\n this.assertValidConfig(config);\n\n const overlayRef = this.overlay.create(this.buildOverlayConfig(config));\n const dialogRef = new DialogRef<TResult>(overlayRef);\n\n const injector = Injector.create({\n parent: this.injector,\n providers: [\n { provide: DIALOG_REF, useValue: dialogRef },\n { provide: DIALOG_DATA, useValue: config.data },\n ],\n });\n\n const containerPortal = new ComponentPortal(DialogComponent, undefined, injector);\n const containerRef = overlayRef.attach(containerPortal);\n const containerInstance = containerRef.instance as DialogComponent<TResult>;\n\n containerInstance.config = config;\n containerInstance.dialogRef = dialogRef;\n\n if (config.content?.type === 'template') {\n containerInstance.attachTemplate(\n config.content.template,\n config.content.context ?? {\n $implicit: config.data,\n data: config.data,\n }\n );\n }\n\n if (config.content?.type === 'component') {\n const componentPortal = new ComponentPortal(\n config.content.component,\n undefined,\n Injector.create({\n parent: injector,\n providers: [\n { provide: DIALOG_REF, useValue: dialogRef },\n { provide: DIALOG_DATA, useValue: config.data },\n ],\n })\n );\n\n const componentRef = containerInstance.attachComponent(componentPortal);\n\n if (componentRef && config.content.inputs) {\n Object.entries(config.content.inputs).forEach(([key, value]) => {\n (componentRef.instance as Record<string, unknown>)[key] = value;\n });\n componentRef.changeDetectorRef.markForCheck();\n }\n\n if (componentRef) {\n dialogRef.setComponentInstance(componentRef.instance);\n }\n }\n\n containerRef.changeDetectorRef.markForCheck();\n\n if (!config.disableClose) {\n overlayRef.backdropClick().subscribe(() => dialogRef.close());\n overlayRef\n .keydownEvents()\n .pipe(\n filter((event): event is KeyboardEvent => {\n return (event as KeyboardEvent).key === 'Escape' || (event as KeyboardEvent).key === 'Esc';\n })\n )\n .subscribe(() => dialogRef.close());\n }\n\n return dialogRef;\n }\n\n private assertValidConfig<TContent extends DialogContentConfig, TResult>(\n config: DialogConfig<TContent, TResult>\n ): void {\n if (!config.title) {\n throw new Error('Dialog title is required.');\n }\n\n if (!config.buttons || config.buttons.length < 2) {\n throw new Error('Dialog requires at least two buttons to be provided.');\n }\n }\n\n private buildOverlayConfig<TContent extends DialogContentConfig, TResult>(\n config: DialogConfig<TContent, TResult>\n ): OverlayConfig {\n const panelClass = Array.isArray(config.panelClass)\n ? config.panelClass\n : config.panelClass\n ? [config.panelClass]\n : [];\n\n return new OverlayConfig({\n hasBackdrop: true,\n backdropClass: ['cdk-overlay-dark-backdrop', 'cqa-dialog-backdrop'],\n scrollStrategy: this.overlay.scrollStrategies.block(),\n positionStrategy: this.overlay.position().global().centerHorizontally().centerVertically(),\n width: config.width,\n maxWidth: config.maxWidth ?? '90vw',\n panelClass: ['cqa-dialog-panel', ...panelClass],\n });\n }\n}\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i3","i1","i1.ButtonComponent"],"mappings":";;;;;;;;;;;;;;;MASa,eAAe,CAAA;AAL5B,IAAA,WAAA,GAAA;QAOW,IAAO,CAAA,OAAA,GAAkB,QAAQ,CAAC;QAClC,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;QAE1B,IAAY,CAAA,YAAA,GAAoB,OAAO,CAAC;QACxC,IAAI,CAAA,IAAA,GAAkC,QAAQ,CAAC;AAC9C,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,YAAY,EAAc,CAAC;;QAGnD,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;QAC3B,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;QAC3B,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;AA0N5B,KAAA;AAxNC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;KACpB;AAED,IAAA,IAAI,aAAa,GAAA;AACf,QAAA,MAAM,WAAW,GAAG;YAClB,MAAM;YACN,UAAU;YACV,gBAAgB;YAChB,cAAc;YACd,KAAK;YACL,OAAO;YACP,YAAY;YACZ,gBAAgB;YAChB,YAAY;YACZ,eAAe;YACf,SAAS;YACT,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;SACf,CAAC;QAEF,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB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CAAC;YACnE,cAAc,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,EAAE;AACrD,YAAA,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,kBAAkB,EAAE,CAAC,gBAAgB,EAAE;YAC1F,KAAK,EAAE,MAAM,CAAC,KAAK;AACnB,YAAA,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,MAAM;AACnC,YAAA,UAAU,EAAE,CAAC,kBAAkB,EAAE,GAAG,UAAU,CAAC;AAChD,SAAA,CAAC,CAAC;KACJ;;0GA9GU,aAAa,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,OAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,cAFZ,MAAM,EAAA,CAAA,CAAA;2FAEP,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -2,8 +2,6 @@ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare type ButtonVariant = 'filled' | 'outlined' | 'text' | 'elevated' | 'tonal';
4
4
  export declare class ButtonComponent {
5
- id: string;
6
- display: string;
7
5
  variant: ButtonVariant;
8
6
  disabled: boolean;
9
7
  icon?: string;
@@ -7,8 +7,6 @@ import * as i0 from "@angular/core";
7
7
  export declare class DialogComponent<TResult = unknown> {
8
8
  private readonly viewContainerRef;
9
9
  private readonly cdr;
10
- id: string;
11
- display: string;
12
10
  portalOutlet?: CdkPortalOutlet;
13
11
  config: DialogConfig<DialogContentConfig, TResult>;
14
12
  dialogRef: DialogRef<TResult>;
@@ -2,9 +2,6 @@ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  declare type SearchBarSize = 'sm' | 'md' | 'lg';
4
4
  export declare class SearchBarComponent implements OnChanges {
5
- id: string;
6
- get displayStyle(): "block" | "inline-block";
7
- get widthStyle(): "100%" | "auto";
8
5
  /** Placeholder text for the input */
9
6
  placeholder: string;
10
7
  /** Initial value or externally controlled value */
@@ -6,8 +6,6 @@ declare type SegmentOption = {
6
6
  disabled?: boolean;
7
7
  };
8
8
  export declare class SegmentControlComponent implements OnChanges, AfterViewInit, OnDestroy {
9
- id: string;
10
- display: string;
11
9
  segments: SegmentOption[];
12
10
  value?: string;
13
11
  disabled: boolean;
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@cqa-lib/cqa-ui",
3
+ "version": "0.0.1",
4
+ "description": "UI Kit library for Angular 13.4",
5
+ "keywords": [
6
+ "angular",
7
+ "library",
8
+ "ui-kit",
9
+ "cqa-ui"
10
+ ],
11
+ "author": "",
12
+ "license": "MIT",
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "private": false,
17
+ "engines": {
18
+ "node": "16.20.2",
19
+ "npm": "8.19.4"
20
+ },
21
+ "overrides": {
22
+ "glob": "7.2.3",
23
+ "minimatch": "5.1.6"
24
+ },
25
+ "peerDependencies": {
26
+ "@angular/cdk": "^13.3.9",
27
+ "@angular/common": "^13.4.0",
28
+ "@angular/core": "^13.4.0",
29
+ "@angular/forms": "^13.4.0",
30
+ "@angular/material": "^13.3.9",
31
+ "rxjs": "^6.6.7 || ^7.5.0"
32
+ },
33
+ "module": "fesm2015/cqa-lib-cqa-ui.mjs",
34
+ "es2020": "fesm2020/cqa-lib-cqa-ui.mjs",
35
+ "esm2020": "esm2020/cqa-lib-cqa-ui.mjs",
36
+ "fesm2020": "fesm2020/cqa-lib-cqa-ui.mjs",
37
+ "fesm2015": "fesm2015/cqa-lib-cqa-ui.mjs",
38
+ "typings": "cqa-lib-cqa-ui.d.ts",
39
+ "exports": {
40
+ "./package.json": {
41
+ "default": "./package.json"
42
+ },
43
+ ".": {
44
+ "types": "./cqa-lib-cqa-ui.d.ts",
45
+ "esm2020": "./esm2020/cqa-lib-cqa-ui.mjs",
46
+ "es2020": "./fesm2020/cqa-lib-cqa-ui.mjs",
47
+ "es2015": "./fesm2015/cqa-lib-cqa-ui.mjs",
48
+ "node": "./fesm2015/cqa-lib-cqa-ui.mjs",
49
+ "default": "./fesm2020/cqa-lib-cqa-ui.mjs"
50
+ }
51
+ },
52
+ "sideEffects": false,
53
+ "dependencies": {
54
+ "tslib": "^2.3.0"
55
+ }
56
+ }
@@ -0,0 +1 @@
1
+ /*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com*//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:initial;background-image:none}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:-moz-focusring{outline:auto}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity));--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);--tw-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.container{width:100%}.\!container{width:100%!important}@media (min-width:640px){.container{max-width:640px}.\!container{max-width:640px!important}}@media (min-width:768px){.container{max-width:768px}.\!container{max-width:768px!important}}@media (min-width:1024px){.container{max-width:1024px}.\!container{max-width:1024px!important}}@media (min-width:1280px){.container{max-width:1280px}.\!container{max-width:1280px!important}}@media (min-width:1536px){.container{max-width:1536px}.\!container{max-width:1536px!important}}button{font-family:Inter,sans-serif;font-weight:600}#cqa-ui-root .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#cqa-ui-root .pointer-events-none{pointer-events:none}#cqa-ui-root .visible{visibility:visible}#cqa-ui-root .static{position:static}#cqa-ui-root .absolute{position:absolute}#cqa-ui-root .relative{position:relative}#cqa-ui-root .z-10{z-index:10}#cqa-ui-root .mt-4{margin-top:1rem}#cqa-ui-root .mt-1{margin-top:.25rem}#cqa-ui-root .block{display:block}#cqa-ui-root .inline-block{display:inline-block}#cqa-ui-root .inline{display:inline}#cqa-ui-root .flex{display:flex}#cqa-ui-root .inline-flex{display:inline-flex}#cqa-ui-root .hidden{display:none}#cqa-ui-root .h-\[18px\]{height:18px}#cqa-ui-root .h-full{height:100%}#cqa-ui-root .h-\[14px\]{height:14px}#cqa-ui-root .h-4{height:1rem}#cqa-ui-root .h-\[31\.5px\]{height:31.5px}#cqa-ui-root .h-\[25px\]{height:25px}#cqa-ui-root .w-\[18px\]{width:18px}#cqa-ui-root .w-full{width:100%}#cqa-ui-root .w-\[14px\]{width:14px}#cqa-ui-root .w-4{width:1rem}#cqa-ui-root .w-\[295px\]{width:295px}#cqa-ui-root .w-\[395px\]{width:395px}#cqa-ui-root .w-\[495px\]{width:495px}#cqa-ui-root .min-w-\[180px\]{min-width:180px}#cqa-ui-root .flex-none{flex:none}#cqa-ui-root .flex-1{flex:1 1 0%}#cqa-ui-root .cursor-pointer{cursor:pointer}#cqa-ui-root .cursor-not-allowed{cursor:not-allowed}#cqa-ui-root .list-disc{list-style-type:disc}#cqa-ui-root .flex-row{flex-direction:row}#cqa-ui-root .flex-col{flex-direction:column}#cqa-ui-root .flex-wrap{flex-wrap:wrap}#cqa-ui-root .items-start{align-items:flex-start}#cqa-ui-root .items-center{align-items:center}#cqa-ui-root .justify-start{justify-content:flex-start}#cqa-ui-root .justify-end{justify-content:flex-end}#cqa-ui-root .justify-center{justify-content:center}#cqa-ui-root .justify-between{justify-content:space-between}#cqa-ui-root .gap-4{gap:1rem}#cqa-ui-root .gap-2{gap:.5rem}#cqa-ui-root .gap-5{gap:1.25rem}#cqa-ui-root .gap-3{gap:.75rem}#cqa-ui-root .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}#cqa-ui-root .whitespace-nowrap{white-space:nowrap}#cqa-ui-root .whitespace-pre-line{white-space:pre-line}#cqa-ui-root .rounded-lg{border-radius:.5rem}#cqa-ui-root .rounded-xl{border-radius:.75rem}#cqa-ui-root .rounded-2xl{border-radius:1rem}#cqa-ui-root .rounded-md{border-radius:.375rem}#cqa-ui-root .rounded-\[8px\]{border-radius:8px}#cqa-ui-root .border{border-width:1px}#cqa-ui-root .border-0{border-width:0}#cqa-ui-root .border-none{border-style:none}#cqa-ui-root .border-primary-muted{--tw-border-opacity:1;border-color:rgba(226,226,227,var(--tw-border-opacity))}#cqa-ui-root .border-primary-hover{--tw-border-opacity:1;border-color:rgba(27,31,235,var(--tw-border-opacity))}#cqa-ui-root .border-primary{--tw-border-opacity:1;border-color:rgba(63,67,238,var(--tw-border-opacity))}#cqa-ui-root .border-slate{--tw-border-opacity:1;border-color:rgba(65,65,70,var(--tw-border-opacity))}#cqa-ui-root .border-red-200{--tw-border-opacity:1;border-color:rgba(254,202,202,var(--tw-border-opacity))}#cqa-ui-root .border-\[\#CBD5F5\]{--tw-border-opacity:1;border-color:rgba(203,213,245,var(--tw-border-opacity))}#cqa-ui-root .border-\[\#E5E7EB\]{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity))}#cqa-ui-root .border-\[\#FEE2E2\]{--tw-border-opacity:1;border-color:rgba(254,226,226,var(--tw-border-opacity))}#cqa-ui-root .border-gray-200{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity))}#cqa-ui-root .bg-primary-muted{--tw-bg-opacity:1;background-color:rgba(226,226,227,var(--tw-bg-opacity))}#cqa-ui-root .bg-primary{--tw-bg-opacity:1;background-color:rgba(63,67,238,var(--tw-bg-opacity))}#cqa-ui-root .bg-transparent{background-color:initial}#cqa-ui-root .bg-primary-surface-alt{--tw-bg-opacity:1;background-color:rgba(177,178,248,var(--tw-bg-opacity))}#cqa-ui-root .bg-primary-surface{--tw-bg-opacity:1;background-color:rgba(216,217,252,var(--tw-bg-opacity))}#cqa-ui-root .bg-tonal-hover{--tw-bg-opacity:1;background-color:rgba(138,140,244,var(--tw-bg-opacity))}#cqa-ui-root .bg-red-50{--tw-bg-opacity:1;background-color:rgba(254,242,242,var(--tw-bg-opacity))}#cqa-ui-root .bg-primary\/10{background-color:rgba(63,67,238,.1)}#cqa-ui-root .bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}#cqa-ui-root .bg-\[\#FEF2F2\]{--tw-bg-opacity:1;background-color:rgba(254,242,242,var(--tw-bg-opacity))}#cqa-ui-root .bg-\[\#F5F5F5\]{--tw-bg-opacity:1;background-color:rgba(245,245,245,var(--tw-bg-opacity))}#cqa-ui-root .\!p-0{padding:0!important}#cqa-ui-root .p-0{padding:0}#cqa-ui-root .p-6{padding:1.5rem}#cqa-ui-root .p-\[3\.5px\]{padding:3.5px}#cqa-ui-root .py-\[10px\]{padding-top:10px;padding-bottom:10px}#cqa-ui-root .px-6{padding-left:1.5rem;padding-right:1.5rem}#cqa-ui-root .px-4{padding-left:1rem;padding-right:1rem}#cqa-ui-root .py-3{padding-top:.75rem;padding-bottom:.75rem}#cqa-ui-root .px-3{padding-left:.75rem;padding-right:.75rem}#cqa-ui-root .py-2{padding-top:.5rem;padding-bottom:.5rem}#cqa-ui-root .px-\[14px\]{padding-left:14px;padding-right:14px}#cqa-ui-root .py-\[3\.5px\]{padding-top:3.5px;padding-bottom:3.5px}#cqa-ui-root .pl-5{padding-left:1.25rem}#cqa-ui-root .text-left{text-align:left}#cqa-ui-root .text-center{text-align:center}#cqa-ui-root .align-middle{vertical-align:middle}#cqa-ui-root .font-inter{font-family:Inter,sans-serif}#cqa-ui-root .text-\[18px\]{font-size:18px}#cqa-ui-root .text-sm{font-size:.875rem;line-height:1.25rem}#cqa-ui-root .text-lg{font-size:1.125rem;line-height:1.75rem}#cqa-ui-root .text-xs{font-size:.75rem;line-height:1rem}#cqa-ui-root .text-\[14px\]{font-size:14px}#cqa-ui-root .text-\[12\.3px\]{font-size:12.3px}#cqa-ui-root .text-\[12px\]{font-size:12px}#cqa-ui-root .font-semibold{font-weight:600}#cqa-ui-root .font-medium{font-weight:500}#cqa-ui-root .font-normal{font-weight:400}#cqa-ui-root .uppercase{text-transform:uppercase}#cqa-ui-root .leading-\[18px\]{line-height:18px}#cqa-ui-root .leading-\[14px\]{line-height:14px}#cqa-ui-root .leading-6{line-height:1.5rem}#cqa-ui-root .leading-5{line-height:1.25rem}#cqa-ui-root .leading-none{line-height:1}#cqa-ui-root .leading-\[12px\]{line-height:12px}#cqa-ui-root .tracking-wide{letter-spacing:.025em}#cqa-ui-root .tracking-normal{letter-spacing:0}#cqa-ui-root .text-ink{--tw-text-opacity:1;color:rgba(11,11,12,var(--tw-text-opacity))}#cqa-ui-root .text-ink-muted{--tw-text-opacity:1;color:rgba(22,22,23,var(--tw-text-opacity))}#cqa-ui-root .text-surface-default{--tw-text-opacity:1;color:rgba(251,252,255,var(--tw-text-opacity))}#cqa-ui-root .text-primary-hover{--tw-text-opacity:1;color:rgba(27,31,235,var(--tw-text-opacity))}#cqa-ui-root .text-slate{--tw-text-opacity:1;color:rgba(65,65,70,var(--tw-text-opacity))}#cqa-ui-root .text-\[\#111827\]{--tw-text-opacity:1;color:rgba(17,24,39,var(--tw-text-opacity))}#cqa-ui-root .text-\[\#4B5563\]{--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity))}#cqa-ui-root .text-red-700{--tw-text-opacity:1;color:rgba(185,28,28,var(--tw-text-opacity))}#cqa-ui-root .text-\[\#6B7280\]{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}#cqa-ui-root .text-primary{--tw-text-opacity:1;color:rgba(63,67,238,var(--tw-text-opacity))}#cqa-ui-root .text-\[\#B91C1C\]{--tw-text-opacity:1;color:rgba(185,28,28,var(--tw-text-opacity))}#cqa-ui-root .text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}#cqa-ui-root .text-\[\#99999E\]{--tw-text-opacity:1;color:rgba(153,153,158,var(--tw-text-opacity))}#cqa-ui-root .text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}#cqa-ui-root .text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}#cqa-ui-root .text-\[\#C7C7C7\]{--tw-text-opacity:1;color:rgba(199,199,199,var(--tw-text-opacity))}#cqa-ui-root .underline{text-decoration:underline}#cqa-ui-root .opacity-\[0\.38\]{opacity:.38}#cqa-ui-root .opacity-0{opacity:0}#cqa-ui-root .shadow-none{--tw-shadow:0 0 #0000}#cqa-ui-root .shadow-none,#cqa-ui-root .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}#cqa-ui-root .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,0.05)}#cqa-ui-root .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}#cqa-ui-root .outline-none{outline:2px solid transparent;outline-offset:2px}#cqa-ui-root .blur{--tw-blur:blur(8px)}#cqa-ui-root .blur,#cqa-ui-root .filter{filter:var(--tw-filter)}#cqa-ui-root .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#cqa-ui-root .transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#cqa-ui-root .transition-colors{transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#cqa-ui-root .duration-200{transition-duration:.2s}#cqa-ui-root .duration-150{transition-duration:.15s}#cqa-ui-root .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.cdk-overlay-container{position:fixed;inset:0;width:100vw;height:100vh;z-index:10000;pointer-events:none}.cdk-overlay-backdrop.cqa-dialog-backdrop{position:fixed;inset:0;background-color:rgba(17,24,39,.45)!important;opacity:1!important;overflow:hidden;pointer-events:auto}.cdk-overlay-backdrop.cqa-dialog-backdrop:before{content:"";position:absolute;inset:-40px;background:rgba(17,24,39,.55);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);pointer-events:none}.cdk-overlay-pane.cqa-dialog-panel{display:flex;align-items:center;justify-content:center;min-height:100vh;pointer-events:none;padding:24px;box-sizing:border-box}.cdk-overlay-pane.cqa-dialog-panel>*{pointer-events:auto}.cqa-dialog-btn-warn cqa-button button,.cqa-dialog-btn-warn ui-button button{background-color:#dc2626;color:#fff}.cqa-dialog-btn-warn cqa-button button:hover,.cqa-dialog-btn-warn ui-button button:hover{background-color:#b91c1c}.cdk-overlay-container .cdk-overlay-pane{pointer-events:none}.cdk-overlay-container .cdk-overlay-pane>*{pointer-events:auto}.cdk-global-overlay-wrapper{display:flex!important;align-items:center;justify-content:center;min-height:100vh;width:100%}#cqa-ui-root .hover\:border-primary\/60:hover{border-color:rgba(63,67,238,.6)}#cqa-ui-root .hover\:border-primary:hover{--tw-border-opacity:1;border-color:rgba(63,67,238,var(--tw-border-opacity))}#cqa-ui-root .hover\:bg-primary\/5:hover{background-color:rgba(63,67,238,.05)}#cqa-ui-root .hover\:text-gray-700:hover{--tw-text-opacity:1;color:rgba(55,65,81,var(--tw-text-opacity))}#cqa-ui-root .hover\:text-black:hover{--tw-text-opacity:1;color:rgba(0,0,0,var(--tw-text-opacity))}#cqa-ui-root .hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}#cqa-ui-root .focus\:border-primary:focus{--tw-border-opacity:1;border-color:rgba(63,67,238,var(--tw-border-opacity))}#cqa-ui-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#cqa-ui-root .focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}#cqa-ui-root .focus\:ring-primary\/40:focus{--tw-ring-color:rgba(63,67,238,0.4)}#cqa-ui-root .focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}#cqa-ui-root .focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}#cqa-ui-root .focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}#cqa-ui-root .focus-visible\:ring-primary:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgba(63,67,238,var(--tw-ring-opacity))}#cqa-ui-root .focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}#cqa-ui-root .focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}#cqa-ui-root .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}#cqa-ui-root .disabled\:text-gray-400:disabled{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}#cqa-ui-root .disabled\:text-gray-300:disabled{--tw-text-opacity:1;color:rgba(209,213,219,var(--tw-text-opacity))}@media (min-width:640px){#cqa-ui-root .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}