@pumpkin-tech/pumpkin-tech-ng 0.2.54 → 0.2.55

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.
@@ -1210,6 +1210,18 @@ class ButtonComponent extends BaseField {
1210
1210
  get dashedTextColor() {
1211
1211
  return this.textColor !== this.DEFAULT_TEXT_COLOR ? this.textColor : null;
1212
1212
  }
1213
+ /**
1214
+ * `textColor`'s default (white "on-accent") is only correct for variants Material actually
1215
+ * fills with the theme color (raised/flat/fab/etc) - for unfilled variants (basic/stroked/
1216
+ * link, transparent or outlined-only background) it made the label/icon invisible (white on
1217
+ * white/transparent) unless every single consumer remembered to override [textColor]
1218
+ * manually. Same "only apply when explicitly customized" pattern as dashedTextColor above;
1219
+ * when not customized, returning null here lets Material's own [color]="themeColor" binding
1220
+ * (already correct for these variants out of the box) take over unopposed.
1221
+ */
1222
+ get unfilledTextColor() {
1223
+ return this.textColor !== this.DEFAULT_TEXT_COLOR ? this.textColor : null;
1224
+ }
1213
1225
  get dashedColor() {
1214
1226
  if (!this.isThemeColor)
1215
1227
  return this.color;
@@ -1276,7 +1288,7 @@ class ButtonComponent extends BaseField {
1276
1288
  [style.--btn-fs.px]="sizeCfg.font"
1277
1289
  [style.--btn-pad]="sizeCfg.pad"
1278
1290
  [style.width]="fullWidth ? '100%' : null"
1279
- [style.color]="textColor"
1291
+ [style.color]="customBackground ? textColor : unfilledTextColor"
1280
1292
  [style.background-color]="customBackground"
1281
1293
  (click)="onInnerClick($event)"
1282
1294
  >
@@ -1358,7 +1370,7 @@ class ButtonComponent extends BaseField {
1358
1370
  [style.--btn-fs.px]="sizeCfg.font"
1359
1371
  [style.--btn-pad]="sizeCfg.pad"
1360
1372
  [style.width]="fullWidth ? '100%' : null"
1361
- [style.color]="textColor"
1373
+ [style.color]="unfilledTextColor"
1362
1374
  (click)="onInnerClick($event)"
1363
1375
  >
1364
1376
  <!-- SLOT FIXO DO ÍCONE/SPINNER -->
@@ -1576,6 +1588,7 @@ class ButtonComponent extends BaseField {
1576
1588
  *ngSwitchCase="'link'"
1577
1589
  class="ptech-btn ptech-link"
1578
1590
  mat-button
1591
+ [color]="themeColor"
1579
1592
  [href]="(disabled || loading) ? null : link"
1580
1593
  [target]="target"
1581
1594
  [matTooltip]="tooltip || null"
@@ -1587,7 +1600,7 @@ class ButtonComponent extends BaseField {
1587
1600
  [style.--icon-fs.px]="sizeCfg.icon"
1588
1601
  [style.--btn-fs.px]="sizeCfg.font"
1589
1602
  [style.--btn-pad]="sizeCfg.pad"
1590
- [style.color]="textColor"
1603
+ [style.color]="unfilledTextColor"
1591
1604
  (click)="onLinkClick($event)">
1592
1605
  <span class="btn-icon-wrapper" *ngIf="icon || loading">
1593
1606
  <mat-icon *ngIf="!loading && icon" class="btn-icon">{{ icon }}</mat-icon>
@@ -1626,7 +1639,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1626
1639
  [style.--btn-fs.px]="sizeCfg.font"
1627
1640
  [style.--btn-pad]="sizeCfg.pad"
1628
1641
  [style.width]="fullWidth ? '100%' : null"
1629
- [style.color]="textColor"
1642
+ [style.color]="customBackground ? textColor : unfilledTextColor"
1630
1643
  [style.background-color]="customBackground"
1631
1644
  (click)="onInnerClick($event)"
1632
1645
  >
@@ -1708,7 +1721,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1708
1721
  [style.--btn-fs.px]="sizeCfg.font"
1709
1722
  [style.--btn-pad]="sizeCfg.pad"
1710
1723
  [style.width]="fullWidth ? '100%' : null"
1711
- [style.color]="textColor"
1724
+ [style.color]="unfilledTextColor"
1712
1725
  (click)="onInnerClick($event)"
1713
1726
  >
1714
1727
  <!-- SLOT FIXO DO ÍCONE/SPINNER -->
@@ -1926,6 +1939,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1926
1939
  *ngSwitchCase="'link'"
1927
1940
  class="ptech-btn ptech-link"
1928
1941
  mat-button
1942
+ [color]="themeColor"
1929
1943
  [href]="(disabled || loading) ? null : link"
1930
1944
  [target]="target"
1931
1945
  [matTooltip]="tooltip || null"
@@ -1937,7 +1951,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1937
1951
  [style.--icon-fs.px]="sizeCfg.icon"
1938
1952
  [style.--btn-fs.px]="sizeCfg.font"
1939
1953
  [style.--btn-pad]="sizeCfg.pad"
1940
- [style.color]="textColor"
1954
+ [style.color]="unfilledTextColor"
1941
1955
  (click)="onLinkClick($event)">
1942
1956
  <span class="btn-icon-wrapper" *ngIf="icon || loading">
1943
1957
  <mat-icon *ngIf="!loading && icon" class="btn-icon">{{ icon }}</mat-icon>
@@ -3069,8 +3083,11 @@ class BreadcrumbComponent {
3069
3083
  </li>
3070
3084
  </ul>
3071
3085
  </div>
3086
+ <div class="end-content">
3087
+ <ng-content select="[end-content]"></ng-content>
3088
+ </div>
3072
3089
  </nav>
3073
- `, isInline: true, styles: [":host{display:block;width:100%;box-sizing:border-box;margin-bottom:var(--ptech-breadcrumb-margin-bottom, 16px)}.ptech-breadcrumb-bar{display:flex;width:100%;box-sizing:border-box;padding:var(--ptech-breadcrumb-padding, 10px 16px);gap:var(--ptech-breadcrumb-gap, 10px);background-color:var(--ptech-breadcrumb-background, var(--ptech-breadcrumb-bg, var(--app-surface, #fff)));border-top:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));border-bottom:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));overflow-x:auto;-webkit-overflow-scrolling:touch}.box{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-width:max-content}.breadcrumbs-list{display:flex;gap:10px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:nowrap}.ptech-breadcrumb-item{font-family:ProximaNova-Regular,Roboto,Nunito,Helvetica Neue,sans-serif;font-size:13px;color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));gap:4px;font-weight:400;display:flex;align-items:center;white-space:nowrap;flex-shrink:0}.ptech-breadcrumb-item a{color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));text-decoration:none;padding-right:4px}.ptech-breadcrumb-item a:hover{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));text-decoration:underline}.ptech-breadcrumb-item .current-page{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));font-weight:600}.ptech-breadcrumb-item .start-icon{padding-top:4px!important}.separator{margin:0 4px;color:var(--ptech-breadcrumb-separator, var(--app-muted, #b1b1b1))}@media (max-width: 599.98px){:host{margin-bottom:var(--ptech-breadcrumb-margin-bottom-mobile, 12px)}.ptech-breadcrumb-bar{padding:var(--ptech-breadcrumb-padding-mobile, 8px 12px)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CoreMaterialModule }] });
3090
+ `, isInline: true, styles: [":host{display:block;width:100%;box-sizing:border-box;margin-bottom:var(--ptech-breadcrumb-margin-bottom, 16px)}.ptech-breadcrumb-bar{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;padding:var(--ptech-breadcrumb-padding, 10px 16px);gap:var(--ptech-breadcrumb-gap, 10px);background-color:var(--ptech-breadcrumb-background, var(--ptech-breadcrumb-bg, var(--app-surface, #fff)));border-top:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));border-bottom:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));overflow-x:auto;-webkit-overflow-scrolling:touch}.box{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:max-content}.end-content{display:flex;align-items:center;flex-shrink:0;margin-left:auto}.end-content:empty{display:none}.breadcrumbs-list{display:flex;gap:10px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:nowrap}.ptech-breadcrumb-item{font-family:ProximaNova-Regular,Roboto,Nunito,Helvetica Neue,sans-serif;font-size:13px;color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));gap:4px;font-weight:400;display:flex;align-items:center;white-space:nowrap;flex-shrink:0}.ptech-breadcrumb-item a{color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));text-decoration:none;padding-right:4px}.ptech-breadcrumb-item a:hover{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));text-decoration:underline}.ptech-breadcrumb-item .current-page{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));font-weight:600}.ptech-breadcrumb-item .start-icon{padding-top:4px!important}.separator{margin:0 4px;color:var(--ptech-breadcrumb-separator, var(--app-muted, #b1b1b1))}@media (max-width: 599.98px){:host{margin-bottom:var(--ptech-breadcrumb-margin-bottom-mobile, 12px)}.ptech-breadcrumb-bar{padding:var(--ptech-breadcrumb-padding-mobile, 8px 12px)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CoreMaterialModule }] });
3074
3091
  }
3075
3092
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: BreadcrumbComponent, decorators: [{
3076
3093
  type: Component,
@@ -3095,8 +3112,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3095
3112
  </li>
3096
3113
  </ul>
3097
3114
  </div>
3115
+ <div class="end-content">
3116
+ <ng-content select="[end-content]"></ng-content>
3117
+ </div>
3098
3118
  </nav>
3099
- `, styles: [":host{display:block;width:100%;box-sizing:border-box;margin-bottom:var(--ptech-breadcrumb-margin-bottom, 16px)}.ptech-breadcrumb-bar{display:flex;width:100%;box-sizing:border-box;padding:var(--ptech-breadcrumb-padding, 10px 16px);gap:var(--ptech-breadcrumb-gap, 10px);background-color:var(--ptech-breadcrumb-background, var(--ptech-breadcrumb-bg, var(--app-surface, #fff)));border-top:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));border-bottom:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));overflow-x:auto;-webkit-overflow-scrolling:touch}.box{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-width:max-content}.breadcrumbs-list{display:flex;gap:10px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:nowrap}.ptech-breadcrumb-item{font-family:ProximaNova-Regular,Roboto,Nunito,Helvetica Neue,sans-serif;font-size:13px;color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));gap:4px;font-weight:400;display:flex;align-items:center;white-space:nowrap;flex-shrink:0}.ptech-breadcrumb-item a{color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));text-decoration:none;padding-right:4px}.ptech-breadcrumb-item a:hover{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));text-decoration:underline}.ptech-breadcrumb-item .current-page{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));font-weight:600}.ptech-breadcrumb-item .start-icon{padding-top:4px!important}.separator{margin:0 4px;color:var(--ptech-breadcrumb-separator, var(--app-muted, #b1b1b1))}@media (max-width: 599.98px){:host{margin-bottom:var(--ptech-breadcrumb-margin-bottom-mobile, 12px)}.ptech-breadcrumb-bar{padding:var(--ptech-breadcrumb-padding-mobile, 8px 12px)}}\n"] }]
3119
+ `, styles: [":host{display:block;width:100%;box-sizing:border-box;margin-bottom:var(--ptech-breadcrumb-margin-bottom, 16px)}.ptech-breadcrumb-bar{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;padding:var(--ptech-breadcrumb-padding, 10px 16px);gap:var(--ptech-breadcrumb-gap, 10px);background-color:var(--ptech-breadcrumb-background, var(--ptech-breadcrumb-bg, var(--app-surface, #fff)));border-top:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));border-bottom:1px solid var(--ptech-breadcrumb-border-color, var(--app-border-color, transparent));overflow-x:auto;-webkit-overflow-scrolling:touch}.box{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:max-content}.end-content{display:flex;align-items:center;flex-shrink:0;margin-left:auto}.end-content:empty{display:none}.breadcrumbs-list{display:flex;gap:10px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:nowrap}.ptech-breadcrumb-item{font-family:ProximaNova-Regular,Roboto,Nunito,Helvetica Neue,sans-serif;font-size:13px;color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));gap:4px;font-weight:400;display:flex;align-items:center;white-space:nowrap;flex-shrink:0}.ptech-breadcrumb-item a{color:var(--ptech-breadcrumb-text, var(--ptech-breadcrumb-color, var(--app-muted, #c3c3c3)));text-decoration:none;padding-right:4px}.ptech-breadcrumb-item a:hover{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));text-decoration:underline}.ptech-breadcrumb-item .current-page{color:var(--ptech-breadcrumb-text-hover, var(--app-text, #b1b1b1));font-weight:600}.ptech-breadcrumb-item .start-icon{padding-top:4px!important}.separator{margin:0 4px;color:var(--ptech-breadcrumb-separator, var(--app-muted, #b1b1b1))}@media (max-width: 599.98px){:host{margin-bottom:var(--ptech-breadcrumb-margin-bottom-mobile, 12px)}.ptech-breadcrumb-bar{padding:var(--ptech-breadcrumb-padding-mobile, 8px 12px)}}\n"] }]
3100
3120
  }], propDecorators: { routes: [{
3101
3121
  type: Input
3102
3122
  }], hasStartIcon: [{
@@ -8404,7 +8424,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8404
8424
  }] } });
8405
8425
 
8406
8426
  class PtechAutocompleteComponent extends BaseField {
8407
- constructor(el) { super(el); }
8427
+ cdr;
8428
+ constructor(el, cdr) {
8429
+ super(el);
8430
+ this.cdr = cdr;
8431
+ }
8408
8432
  searchInput;
8409
8433
  optionTemplate;
8410
8434
  multiple = false;
@@ -8432,6 +8456,9 @@ class PtechAutocompleteComponent extends BaseField {
8432
8456
  subscription = this.search$.pipe(debounceTime(this.debounce), distinctUntilChanged(), tap(term => this.search.emit(term)), switchMap(term => this.resolveOptions(term))).subscribe(options => {
8433
8457
  this.filteredOptions = options || [];
8434
8458
  this.setLoading(false);
8459
+ // This resolves asynchronously (debounceTime + switchMap), outside the zone task that
8460
+ // originated the keystroke - OnPush won't pick up the new filteredOptions on its own here.
8461
+ this.cdr.markForCheck();
8435
8462
  });
8436
8463
  ngOnChanges(changes) {
8437
8464
  if (changes['entities']) {
@@ -8538,7 +8565,11 @@ class PtechAutocompleteComponent extends BaseField {
8538
8565
  this.loadingChange.emit(loading);
8539
8566
  }
8540
8567
  normalize(value) {
8541
- return (value || '').normalize('NFD').replace(/[\u0300-\u036f]/g, '').toLowerCase();
8568
+ // getDisplay(item) is fed by whatever a consumer's displayWith/propertyFn/property
8569
+ // resolves to for an item of generic type T - if that returns a non-string (e.g. a
8570
+ // consumer's displayWith accidentally returns the entity itself), String.prototype.normalize
8571
+ // must not be assumed to exist on it. Coerce defensively instead of trusting the type.
8572
+ return String(value ?? '').normalize('NFD').replace(/[\u0300-\u036f]/g, '').toLowerCase();
8542
8573
  }
8543
8574
  escapeHtml(value) {
8544
8575
  return value.replace(/[&<>"']/g, char => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#039;' }[char] || char));
@@ -8546,7 +8577,7 @@ class PtechAutocompleteComponent extends BaseField {
8546
8577
  escapeRegExp(value) {
8547
8578
  return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
8548
8579
  }
8549
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechAutocompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
8580
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PtechAutocompleteComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
8550
8581
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: PtechAutocompleteComponent, isStandalone: true, selector: "ptech-autocomplete", inputs: { multiple: "multiple", clearable: "clearable", property: "property", propertyEnum: "propertyEnum", propertyFn: "propertyFn", displayWith: "displayWith", idProperty: "idProperty", minLength: "minLength", debounce: "debounce", emptyText: "emptyText", loadingText: "loadingText", clearLabel: "clearLabel", datasource: "datasource", entities: "entities" }, outputs: { search: "search", selectionChange: "selectionChange", loadingChange: "loadingChange" }, providers: [{
8551
8582
  provide: NG_VALUE_ACCESSOR,
8552
8583
  useExisting: forwardRef(() => PtechAutocompleteComponent),
@@ -8678,7 +8709,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8678
8709
  useExisting: forwardRef(() => PtechAutocompleteComponent),
8679
8710
  multi: true,
8680
8711
  }], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;width:100%;min-width:0;box-sizing:border-box}.ptech-autocomplete-field{width:100%}.state-text{margin-left:8px}.selected-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.selected-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--app-border-color, rgba(0,0,0,.14));background:var(--app-chip-bg, rgba(0,0,0,.05));color:var(--app-text, inherit);border-radius:999px;padding:4px 8px;cursor:pointer}.selected-chip:disabled{opacity:.6;cursor:default}.selected-chip mat-icon{font-size:16px;width:16px;height:16px}::ng-deep .ptech-autocomplete-highlight{font-weight:700;color:var(--app-primary, #3f51b5)}:host ::ng-deep .ptech-autocomplete-field{--mat-form-field-container-height: var(--ptech-field-height, 56px);--mat-form-field-container-vertical-padding: var(--ptech-field-vertical-padding, 16px)}:host ::ng-deep .ptech-autocomplete-field .mdc-text-field{background-color:var(--ptech-field-bg, var(--app-surface, transparent));color:var(--ptech-field-text, var(--app-text, inherit))}:host ::ng-deep .ptech-autocomplete-field .mat-mdc-input-element,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field__input{color:var(--ptech-field-text, var(--app-text, inherit))!important;caret-color:var(--ptech-field-text, var(--app-text, inherit))!important}:host ::ng-deep .ptech-autocomplete-field input::placeholder,:host ::ng-deep .ptech-autocomplete-field .mat-mdc-input-element::placeholder,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field__input::placeholder{color:var(--ptech-field-placeholder, var(--app-text, inherit))!important}:host ::ng-deep .ptech-autocomplete-field .mdc-floating-label,:host ::ng-deep .ptech-autocomplete-field .mdc-floating-label--float-above{color:var(--ptech-field-label, var(--app-text, inherit))!important}:host ::ng-deep .ptech-autocomplete-field{--mdc-outlined-text-field-outline-color: var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)));--mdc-outlined-text-field-hover-outline-color: var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)));--mdc-outlined-text-field-focus-outline-color: var(--ptech-field-outline-focus, var(--app-text, #3f51b5))}:host ::ng-deep .ptech-autocomplete-field .mdc-text-field .mdc-notched-outline__leading,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field .mdc-notched-outline__notch,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline, var(--app-border-color, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-autocomplete-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__leading,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__notch,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field.mdc-text-field--hover .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-hover, var(--app-text, rgba(0,0,0,.87)))!important}:host ::ng-deep .ptech-autocomplete-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__leading,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__notch,:host ::ng-deep .ptech-autocomplete-field .mdc-text-field.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--ptech-field-outline-focus, var(--app-text, #3f51b5))!important}:host ::ng-deep .ptech-autocomplete-field button[mat-icon-button][matSuffix] mat-icon{color:var(--ptech-field-icon, var(--app-text, inherit))!important}:host ::ng-deep .ptech-autocomplete-field.mat-form-field-disabled .mdc-text-field__input,:host ::ng-deep .ptech-autocomplete-field.mat-form-field-disabled .mat-mdc-input-element,:host ::ng-deep .ptech-autocomplete-field.mat-form-field-disabled .mdc-floating-label{color:var(--ptech-field-disabled, var(--app-muted, rgba(0,0,0,.38)))!important;-webkit-text-fill-color:var(--ptech-field-disabled, var(--app-muted, rgba(0,0,0,.38)))!important}:host ::ng-deep .ptech-autocomplete-field.mat-form-field-disabled .mdc-notched-outline__leading,:host ::ng-deep .ptech-autocomplete-field.mat-form-field-disabled .mdc-notched-outline__notch,:host ::ng-deep .ptech-autocomplete-field.mat-form-field-disabled .mdc-notched-outline__trailing{border-color:var(--ptech-field-disabled, var(--app-border-color, rgba(0,0,0,.24)))!important}:host ::ng-deep .ptech-autocomplete-field .mat-mdc-form-field-hint{color:var(--ptech-field-hint, var(--app-muted, rgba(0,0,0,.6)))!important}:host ::ng-deep .ptech-autocomplete-field .mat-mdc-form-field-error{color:var(--ptech-field-error, var(--app-status-error, #f44336))!important}:host ::ng-deep .ptech-autocomplete-field.mat-form-field-invalid .mdc-notched-outline__leading,:host ::ng-deep .ptech-autocomplete-field.mat-form-field-invalid .mdc-notched-outline__notch,:host ::ng-deep .ptech-autocomplete-field.mat-form-field-invalid .mdc-notched-outline__trailing{border-color:var(--ptech-field-error, var(--app-status-error, #f44336))!important}::ng-deep .ptech-autocomplete-panel.mat-mdc-autocomplete-panel,::ng-deep .cdk-overlay-pane .ptech-autocomplete-panel{background-color:var(--app-surface, #fff)!important;color:var(--app-text, inherit)!important;border:1px solid var(--app-border-color, rgba(0,0,0,.12))!important;box-shadow:0 12px 30px #00000059!important}::ng-deep .ptech-autocomplete-panel .mat-mdc-option .mdc-list-item__primary-text{color:var(--app-text, inherit)!important}::ng-deep .ptech-autocomplete-panel .mat-mdc-option:hover:not(.mdc-list-item--disabled),::ng-deep .ptech-autocomplete-panel .mat-mdc-option.mat-mdc-option-active:not(.mdc-list-item--disabled){background-color:var(--app-chip-bg, rgba(0,0,0,.06))!important}::ng-deep .ptech-autocomplete-panel .mat-mdc-option.mdc-list-item--disabled{color:var(--app-muted, rgba(0,0,0,.38))!important}\n"] }]
8681
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { searchInput: [{
8712
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { searchInput: [{
8682
8713
  type: ViewChild,
8683
8714
  args: ['searchInput']
8684
8715
  }], optionTemplate: [{