@praxisui/dynamic-fields 8.0.0-beta.27 → 8.0.0-beta.29
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.
- package/docs/dynamic-fields-inline-components-guide.md +2 -2
- package/docs/dynamic-fields-inline-filter-catalog.md +3 -3
- package/docs/dynamic-fields-inline-filter-inventory.md +1 -1
- package/fesm2022/praxisui-dynamic-fields.mjs +943 -117
- package/index.d.ts +61 -1
- package/package.json +3 -3
- package/src/lib/components/field-shell/praxis-field-shell.json-api.md +4 -3
- package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +46 -7
|
@@ -3,8 +3,8 @@ import { NgControl, FormControl, Validators, ReactiveFormsModule, NG_VALUE_ACCES
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, inject, DestroyRef, ElementRef, ChangeDetectorRef, Injector, signal, output, computed, Input, Directive, viewChild, effect, EventEmitter, Output, Component, forwardRef, LOCALE_ID, Injectable, ChangeDetectionStrategy, ViewChild, ViewContainerRef, HostListener, HostBinding, ViewEncapsulation, ENVIRONMENT_INITIALIZER, Inject, ViewChildren, TemplateRef, ContentChild, APP_INITIALIZER, Optional } from '@angular/core';
|
|
5
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
|
-
import { providePraxisI18n, PraxisI18nService, isCssTextTransform, getTextTransformer, GlobalActionService, GenericCrudService, GlobalConfigService, PraxisIconDirective, FieldControlType, resolveBuiltinPresets, INLINE_FILTER_CONTROL_TYPES, FieldSelectorRegistry, FIELD_SELECTOR_REGISTRY_BASE, FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS, LoggerService, normalizeControlTypeToken, resolveInlineFilterControlType, resolveControlTypeAlias, DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP, resolveValuePresentation, FieldDataType, DynamicFormService, classifyEntityLookupResult, ComponentMetadataRegistry, createCpfCnpjValidator, NumericFormat, interpolatePraxisTranslation, FIELD_METADATA_CAPABILITIES } from '@praxisui/core';
|
|
7
|
-
import { BehaviorSubject, combineLatest, of, Subscription, EMPTY, fromEvent, take as take$1 } from 'rxjs';
|
|
6
|
+
import { providePraxisI18n, PraxisI18nService, isCssTextTransform, getTextTransformer, GlobalActionService, GenericCrudService, GlobalConfigService, PraxisIconDirective, FieldControlType, resolveBuiltinPresets, INLINE_FILTER_CONTROL_TYPES, FieldSelectorRegistry, FIELD_SELECTOR_REGISTRY_BASE, FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS, LoggerService, normalizeControlTypeToken, resolveInlineFilterControlType, resolveControlTypeAlias, DEFAULT_FIELD_SELECTOR_CONTROL_TYPE_MAP, resolveValuePresentation, FieldDataType, DynamicFormService, ResourceDiscoveryService, ResourceSurfaceOpenAdapterService, classifyEntityLookupResult, ComponentMetadataRegistry, createCpfCnpjValidator, NumericFormat, interpolatePraxisTranslation, FIELD_METADATA_CAPABILITIES } from '@praxisui/core';
|
|
7
|
+
import { BehaviorSubject, combineLatest, of, Subscription, EMPTY, firstValueFrom, fromEvent, take as take$1 } from 'rxjs';
|
|
8
8
|
import { Router } from '@angular/router';
|
|
9
9
|
import * as i1$3 from '@angular/material/dialog';
|
|
10
10
|
import { MatDialog, MAT_DIALOG_DATA, MatDialogRef, MatDialogModule } from '@angular/material/dialog';
|
|
@@ -282,6 +282,10 @@ const PRAXIS_DYNAMIC_FIELDS_EN_US = {
|
|
|
282
282
|
'praxis.dynamicFields.color.cancelActionLabel': 'Cancel',
|
|
283
283
|
'praxis.dynamicFields.color.applyActionLabel': 'Apply',
|
|
284
284
|
'praxis.dynamicFields.multiSelect.selectAllLabel': 'Select all',
|
|
285
|
+
'praxis.dynamicFields.multiSelect.selectedTokensAriaLabel': 'Selected: {{items}}',
|
|
286
|
+
'praxis.dynamicFields.multiSelect.removeSelectionAriaLabel': 'Remove {{label}}',
|
|
287
|
+
'praxis.dynamicFields.multiSelect.selectedPanelTitle': 'Selected',
|
|
288
|
+
'praxis.dynamicFields.multiSelect.selectedPanelRemoveHint': 'Click to remove',
|
|
285
289
|
'praxis.dynamicFields.transferList.availableLabel': 'Available',
|
|
286
290
|
'praxis.dynamicFields.transferList.selectedLabel': 'Selected',
|
|
287
291
|
'praxis.dynamicFields.transferList.moveSelectedToRightAriaLabel': 'Move selected items to the selected list',
|
|
@@ -304,7 +308,7 @@ const PRAXIS_DYNAMIC_FIELDS_EN_US = {
|
|
|
304
308
|
'praxis.dynamicFields.editorial.select.description': 'Simple selection field (MatSelect) with an empty option.',
|
|
305
309
|
'praxis.dynamicFields.editorial.entityLookup.friendlyName': 'Entity lookup',
|
|
306
310
|
'praxis.dynamicFields.editorial.entityLookup.description': 'Business entity lookup backed by RESOURCE_ENTITY option sources, rehydration and selection policy.',
|
|
307
|
-
'praxis.dynamicFields.entityLookup.resultCount': '{count} results',
|
|
311
|
+
'praxis.dynamicFields.entityLookup.resultCount': '{{count}} results',
|
|
308
312
|
'praxis.dynamicFields.entityLookup.action.detail': 'Detail',
|
|
309
313
|
'praxis.dynamicFields.entityLookup.action.change': 'Change',
|
|
310
314
|
'praxis.dynamicFields.entityLookup.action.copyCode': 'Code',
|
|
@@ -577,6 +581,10 @@ const PRAXIS_DYNAMIC_FIELDS_PT_BR = {
|
|
|
577
581
|
'praxis.dynamicFields.color.cancelActionLabel': 'Cancelar',
|
|
578
582
|
'praxis.dynamicFields.color.applyActionLabel': 'Aplicar',
|
|
579
583
|
'praxis.dynamicFields.multiSelect.selectAllLabel': 'Selecionar todos',
|
|
584
|
+
'praxis.dynamicFields.multiSelect.selectedTokensAriaLabel': 'Selecionados: {{items}}',
|
|
585
|
+
'praxis.dynamicFields.multiSelect.removeSelectionAriaLabel': 'Remover {{label}}',
|
|
586
|
+
'praxis.dynamicFields.multiSelect.selectedPanelTitle': 'Selecionados',
|
|
587
|
+
'praxis.dynamicFields.multiSelect.selectedPanelRemoveHint': 'Clique para remover',
|
|
580
588
|
'praxis.dynamicFields.transferList.availableLabel': 'Disponíveis',
|
|
581
589
|
'praxis.dynamicFields.transferList.selectedLabel': 'Selecionados',
|
|
582
590
|
'praxis.dynamicFields.transferList.moveSelectedToRightAriaLabel': 'Mover itens selecionados para a lista de selecionados',
|
|
@@ -599,7 +607,7 @@ const PRAXIS_DYNAMIC_FIELDS_PT_BR = {
|
|
|
599
607
|
'praxis.dynamicFields.editorial.select.description': 'Campo de seleção simples (MatSelect) com opção vazia.',
|
|
600
608
|
'praxis.dynamicFields.editorial.entityLookup.friendlyName': 'Consulta de entidade',
|
|
601
609
|
'praxis.dynamicFields.editorial.entityLookup.description': 'Lookup de entidade de negócio apoiado por option sources RESOURCE_ENTITY, reidratação e política de seleção.',
|
|
602
|
-
'praxis.dynamicFields.entityLookup.resultCount': '{count} resultados',
|
|
610
|
+
'praxis.dynamicFields.entityLookup.resultCount': '{{count}} resultados',
|
|
603
611
|
'praxis.dynamicFields.entityLookup.action.detail': 'Detalhe',
|
|
604
612
|
'praxis.dynamicFields.entityLookup.action.change': 'Trocar',
|
|
605
613
|
'praxis.dynamicFields.entityLookup.action.copyCode': 'Código',
|
|
@@ -9363,6 +9371,7 @@ class FieldShellComponent {
|
|
|
9363
9371
|
canvasMouseEnter = new EventEmitter();
|
|
9364
9372
|
canvasMouseLeave = new EventEmitter();
|
|
9365
9373
|
canvasClick = new EventEmitter();
|
|
9374
|
+
canvasFocus = new EventEmitter();
|
|
9366
9375
|
get fieldNameAttr() {
|
|
9367
9376
|
return this._field?.name;
|
|
9368
9377
|
}
|
|
@@ -9406,6 +9415,11 @@ class FieldShellComponent {
|
|
|
9406
9415
|
this.canvasClick.emit(this.field);
|
|
9407
9416
|
}
|
|
9408
9417
|
}
|
|
9418
|
+
onFocusIn(event) {
|
|
9419
|
+
if (this.canvasMode) {
|
|
9420
|
+
this.canvasFocus.emit(this.field);
|
|
9421
|
+
}
|
|
9422
|
+
}
|
|
9409
9423
|
/**
|
|
9410
9424
|
* Host wrapper template. Receives `field`, `index` and a `content` template
|
|
9411
9425
|
* that projects the actual field component.
|
|
@@ -9619,7 +9633,7 @@ class FieldShellComponent {
|
|
|
9619
9633
|
});
|
|
9620
9634
|
}
|
|
9621
9635
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: FieldShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9622
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.17", type: FieldShellComponent, isStandalone: true, selector: "praxis-field-shell", inputs: { field: "field", index: "index", control: "control", readonlyMode: "readonlyMode", disabledMode: "disabledMode", visible: "visible", presentationMode: "presentationMode", canvasMode: "canvasMode", itemTemplate: "itemTemplate" }, outputs: { canvasMouseEnter: "canvasMouseEnter", canvasMouseLeave: "canvasMouseLeave", canvasClick: "canvasClick" }, host: { listeners: { "mouseenter": "onMouseEnter($event)", "mouseleave": "onMouseLeave()", "click": "onClick($event)" }, properties: { "attr.data-field-name": "this.fieldNameAttr", "attr.data-field-id": "this.fieldIdAttr", "attr.data-control-type": "this.fieldControlTypeAttr", "attr.data-field-index": "this.fieldIndexAttr", "style.display": "this.hostDisplay", "class.canvas-element": "this.isCanvasElement", "attr.data-canvas-type": "this.canvasType" }, classAttribute: "pfx-field-shell" }, providers: [GenericCrudService], viewQueries: [{ propertyName: "vc", first: true, predicate: ["insertionPoint"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: `
|
|
9636
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.17", type: FieldShellComponent, isStandalone: true, selector: "praxis-field-shell", inputs: { field: "field", index: "index", control: "control", readonlyMode: "readonlyMode", disabledMode: "disabledMode", visible: "visible", presentationMode: "presentationMode", canvasMode: "canvasMode", itemTemplate: "itemTemplate" }, outputs: { canvasMouseEnter: "canvasMouseEnter", canvasMouseLeave: "canvasMouseLeave", canvasClick: "canvasClick", canvasFocus: "canvasFocus" }, host: { listeners: { "focusin": "onFocusIn($event)", "mouseenter": "onMouseEnter($event)", "mouseleave": "onMouseLeave()", "click": "onClick($event)" }, properties: { "attr.data-field-name": "this.fieldNameAttr", "attr.data-field-id": "this.fieldIdAttr", "attr.data-control-type": "this.fieldControlTypeAttr", "attr.data-field-index": "this.fieldIndexAttr", "style.display": "this.hostDisplay", "class.canvas-element": "this.isCanvasElement", "attr.data-canvas-type": "this.canvasType" }, classAttribute: "pfx-field-shell" }, providers: [GenericCrudService], viewQueries: [{ propertyName: "vc", first: true, predicate: ["insertionPoint"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: `
|
|
9623
9637
|
<div
|
|
9624
9638
|
class="pfx-field-shell-wrapper"
|
|
9625
9639
|
[attr.data-field-index]="index"
|
|
@@ -9714,7 +9728,10 @@ class FieldShellComponent {
|
|
|
9714
9728
|
}
|
|
9715
9729
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: FieldShellComponent, decorators: [{
|
|
9716
9730
|
type: Component,
|
|
9717
|
-
args: [{ selector: 'praxis-field-shell', standalone: true, imports: [CommonModule, MatIconModule, PraxisIconDirective], providers: [GenericCrudService], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None,
|
|
9731
|
+
args: [{ selector: 'praxis-field-shell', standalone: true, imports: [CommonModule, MatIconModule, PraxisIconDirective], providers: [GenericCrudService], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
9732
|
+
class: 'pfx-field-shell',
|
|
9733
|
+
'(focusin)': 'onFocusIn($event)',
|
|
9734
|
+
}, template: `
|
|
9718
9735
|
<div
|
|
9719
9736
|
class="pfx-field-shell-wrapper"
|
|
9720
9737
|
[attr.data-field-index]="index"
|
|
@@ -9805,7 +9822,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
9805
9822
|
|
|
9806
9823
|
</div>
|
|
9807
9824
|
</div>
|
|
9808
|
-
`,
|
|
9825
|
+
`, styles: [".pfx-field-shell .mat-mdc-form-field,.pfx-field-shell mat-form-field{width:var(--pfx-field-shell-field-width, 100%)}.pfx-field-shell .mat-mdc-form-field-subscript-wrapper{min-height:20px;margin-top:2px}.pfx-field-shell .mat-mdc-form-field{margin-bottom:8px}.pfx-field-shell .mat-mdc-form-field-infix{min-width:0}:host{display:block;cursor:pointer;width:var(--pfx-field-shell-width, 100%);min-width:0;max-width:100%}.pfx-field-shell-wrapper,.pfx-field-shell-host{position:relative}.praxis-interaction-overlay{position:absolute;inset:0;pointer-events:all}.praxis-readonly-overlay,.praxis-disabled-overlay{cursor:not-allowed}.praxis-presentation{white-space:pre-wrap;display:block;max-width:100%;min-width:0;padding:6px 0}.praxis-presentation__label{display:block;font-size:var(--pfx-pres-label-size, .78rem);line-height:1.2;letter-spacing:.02em;font-weight:500;opacity:.8;margin-bottom:2px}.praxis-presentation__value{display:block;flex:1 1 auto;max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;font-size:var(--pfx-pres-value-size, 1rem);line-height:1.35;font-weight:600;opacity:.95}.praxis-presentation__value a{color:var( --pfx-pres-link-color, color-mix( in srgb, var(--mat-sys-primary, #90caf9) 78%, var(--mat-sys-on-surface, #ffffff) 22% ) );text-decoration-color:var( --pfx-pres-link-decoration-color, color-mix(in srgb, currentColor 62%, transparent) );text-decoration-thickness:.08em;text-underline-offset:.18em;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.praxis-presentation__value a:visited{color:var(--pfx-pres-link-visited-color, var(--pfx-pres-link-color, inherit))}.praxis-presentation__value a:hover{color:var(--pfx-pres-link-hover-color, var(--pfx-pres-link-color, currentColor));text-decoration-color:currentColor}.praxis-presentation__value a:focus-visible{outline:2px solid var(--pfx-pres-link-focus-ring-color, currentColor);outline-offset:2px;border-radius:2px}.praxis-presentation__content{display:flex;align-items:center;gap:6px;max-width:100%;min-width:0}.praxis-presentation__icon{flex:0 0 auto;font-size:1.125rem;width:1.125rem;height:1.125rem;line-height:1;opacity:.85}.presentation-mode.pres-label-left .praxis-presentation{display:flex;align-items:center;gap:8px}.presentation-mode.pres-label-left .praxis-presentation__label{margin:0;min-width:var(--pfx-pres-label-width, 140px);opacity:.85;text-align:var(--pfx-pres-label-align, start)}.presentation-mode .praxis-presentation__value,.presentation-mode .praxis-presentation__content{flex:1 1 auto;min-width:0;text-align:var(--pfx-pres-value-align, start)}.presentation-mode.pres-density-cozy .praxis-presentation{padding:6px 0}.presentation-mode.pres-density-compact .praxis-presentation{padding:2px 0;gap:6px}.presentation-mode.pres-compact .praxis-presentation{padding:2px 0}\n"] }]
|
|
9809
9826
|
}], propDecorators: { field: [{
|
|
9810
9827
|
type: Input
|
|
9811
9828
|
}], index: [{
|
|
@@ -9828,6 +9845,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
9828
9845
|
type: Output
|
|
9829
9846
|
}], canvasClick: [{
|
|
9830
9847
|
type: Output
|
|
9848
|
+
}], canvasFocus: [{
|
|
9849
|
+
type: Output
|
|
9831
9850
|
}], fieldNameAttr: [{
|
|
9832
9851
|
type: HostBinding,
|
|
9833
9852
|
args: ['attr.data-field-name']
|
|
@@ -10084,6 +10103,8 @@ class DynamicFieldLoaderDirective {
|
|
|
10084
10103
|
canvasMouseLeave = new EventEmitter();
|
|
10085
10104
|
/** @internal Emits when a field is clicked in canvas mode */
|
|
10086
10105
|
canvasClick = new EventEmitter();
|
|
10106
|
+
/** @internal Emits when a field receives focus in canvas mode */
|
|
10107
|
+
canvasFocus = new EventEmitter();
|
|
10087
10108
|
// Drag events removed – no longer supported by FieldShellComponent
|
|
10088
10109
|
// =============================================================================
|
|
10089
10110
|
// PRIVATE STATE
|
|
@@ -10879,6 +10900,12 @@ class DynamicFieldLoaderDirective {
|
|
|
10879
10900
|
element: shellRef.location.nativeElement,
|
|
10880
10901
|
});
|
|
10881
10902
|
}));
|
|
10903
|
+
subscriptions.add(shellRef.instance.canvasFocus.subscribe((fieldMetadata) => {
|
|
10904
|
+
this.canvasFocus.emit({
|
|
10905
|
+
field: fieldMetadata,
|
|
10906
|
+
element: shellRef.location.nativeElement,
|
|
10907
|
+
});
|
|
10908
|
+
}));
|
|
10882
10909
|
}
|
|
10883
10910
|
this.shellSubscriptions.set(field.name, subscriptions);
|
|
10884
10911
|
const shouldSkipComponentCreation = shellRef.instance.effectivePresentationMode &&
|
|
@@ -11082,7 +11109,7 @@ class DynamicFieldLoaderDirective {
|
|
|
11082
11109
|
}
|
|
11083
11110
|
}
|
|
11084
11111
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: DynamicFieldLoaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11085
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.17", type: DynamicFieldLoaderDirective, isStandalone: true, selector: "[dynamicFieldLoader]", inputs: { fields: "fields", formGroup: "formGroup", enableExternalControlBinding: "enableExternalControlBinding", itemTemplate: "itemTemplate", debugTrace: "debugTrace", debugTraceLabel: "debugTraceLabel", readonlyMode: "readonlyMode", disabledMode: "disabledMode", presentationMode: "presentationMode", visible: "visible", canvasMode: "canvasMode" }, outputs: { componentsCreated: "componentsCreated", fieldCreated: "fieldCreated", fieldDestroyed: "fieldDestroyed", renderError: "renderError", canvasMouseEnter: "canvasMouseEnter", canvasMouseLeave: "canvasMouseLeave", canvasClick: "canvasClick" }, usesOnChanges: true, ngImport: i0 });
|
|
11112
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.17", type: DynamicFieldLoaderDirective, isStandalone: true, selector: "[dynamicFieldLoader]", inputs: { fields: "fields", formGroup: "formGroup", enableExternalControlBinding: "enableExternalControlBinding", itemTemplate: "itemTemplate", debugTrace: "debugTrace", debugTraceLabel: "debugTraceLabel", readonlyMode: "readonlyMode", disabledMode: "disabledMode", presentationMode: "presentationMode", visible: "visible", canvasMode: "canvasMode" }, outputs: { componentsCreated: "componentsCreated", fieldCreated: "fieldCreated", fieldDestroyed: "fieldDestroyed", renderError: "renderError", canvasMouseEnter: "canvasMouseEnter", canvasMouseLeave: "canvasMouseLeave", canvasClick: "canvasClick", canvasFocus: "canvasFocus" }, usesOnChanges: true, ngImport: i0 });
|
|
11086
11113
|
}
|
|
11087
11114
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: DynamicFieldLoaderDirective, decorators: [{
|
|
11088
11115
|
type: Directive,
|
|
@@ -11128,6 +11155,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
11128
11155
|
type: Output
|
|
11129
11156
|
}], canvasClick: [{
|
|
11130
11157
|
type: Output
|
|
11158
|
+
}], canvasFocus: [{
|
|
11159
|
+
type: Output
|
|
11131
11160
|
}] } });
|
|
11132
11161
|
|
|
11133
11162
|
class EditableCollectionComponent {
|
|
@@ -11379,7 +11408,7 @@ class EditableCollectionComponent {
|
|
|
11379
11408
|
}
|
|
11380
11409
|
</section>
|
|
11381
11410
|
}
|
|
11382
|
-
`, isInline: true, styles: [":host{display:block;width:100%}.pdx-array{display:grid;gap:12px;width:100%}.pdx-array__header,.pdx-array__item-header{align-items:center;display:flex;gap:12px;justify-content:space-between}.pdx-array__title{font-size:1rem;font-weight:600;line-height:1.35;margin:0}.pdx-array__hint,.pdx-array__empty,.pdx-array__errors p{font-size:.875rem;line-height:1.4;margin:0}.pdx-array__hint,.pdx-array__empty{color:var(--md-sys-color-on-surface-variant, #526070)}.pdx-array__items{display:grid;gap:12px}.pdx-array__item{background:var(--md-sys-color-surface-container-low, #f8fafc);border:1px solid var(--md-sys-color-outline-variant, #d7dde5);border-radius:8px;display:grid;gap:12px;padding:12px}.pdx-array__item-title{font-size:.95rem;line-height:1.35;overflow-wrap:anywhere}.pdx-array__fields{display:grid;gap:12px}.pdx-array__add,.pdx-array__remove{border:1px solid var(--md-sys-color-outline, #8b95a1);border-radius:8px;background:var(--md-sys-color-surface, #ffffff);color:var(--md-sys-color-primary, #2563eb);cursor:pointer;font:inherit;min-height:36px;padding:6px 12px}.pdx-array__remove{color:var(--md-sys-color-error, #ba1a1a)}.pdx-array__add:disabled,.pdx-array__remove:disabled{cursor:not-allowed;opacity:.56}.pdx-array__errors{color:var(--md-sys-color-error, #ba1a1a);display:grid;gap:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: DynamicFieldLoaderDirective, selector: "[dynamicFieldLoader]", inputs: ["fields", "formGroup", "enableExternalControlBinding", "itemTemplate", "debugTrace", "debugTraceLabel", "readonlyMode", "disabledMode", "presentationMode", "visible", "canvasMode"], outputs: ["componentsCreated", "fieldCreated", "fieldDestroyed", "renderError", "canvasMouseEnter", "canvasMouseLeave", "canvasClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11411
|
+
`, isInline: true, styles: [":host{display:block;width:100%}.pdx-array{display:grid;gap:12px;width:100%}.pdx-array__header,.pdx-array__item-header{align-items:center;display:flex;gap:12px;justify-content:space-between}.pdx-array__title{font-size:1rem;font-weight:600;line-height:1.35;margin:0}.pdx-array__hint,.pdx-array__empty,.pdx-array__errors p{font-size:.875rem;line-height:1.4;margin:0}.pdx-array__hint,.pdx-array__empty{color:var(--md-sys-color-on-surface-variant, #526070)}.pdx-array__items{display:grid;gap:12px}.pdx-array__item{background:var(--md-sys-color-surface-container-low, #f8fafc);border:1px solid var(--md-sys-color-outline-variant, #d7dde5);border-radius:8px;display:grid;gap:12px;padding:12px}.pdx-array__item-title{font-size:.95rem;line-height:1.35;overflow-wrap:anywhere}.pdx-array__fields{display:grid;gap:12px}.pdx-array__add,.pdx-array__remove{border:1px solid var(--md-sys-color-outline, #8b95a1);border-radius:8px;background:var(--md-sys-color-surface, #ffffff);color:var(--md-sys-color-primary, #2563eb);cursor:pointer;font:inherit;min-height:36px;padding:6px 12px}.pdx-array__remove{color:var(--md-sys-color-error, #ba1a1a)}.pdx-array__add:disabled,.pdx-array__remove:disabled{cursor:not-allowed;opacity:.56}.pdx-array__errors{color:var(--md-sys-color-error, #ba1a1a);display:grid;gap:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: DynamicFieldLoaderDirective, selector: "[dynamicFieldLoader]", inputs: ["fields", "formGroup", "enableExternalControlBinding", "itemTemplate", "debugTrace", "debugTraceLabel", "readonlyMode", "disabledMode", "presentationMode", "visible", "canvasMode"], outputs: ["componentsCreated", "fieldCreated", "fieldDestroyed", "renderError", "canvasMouseEnter", "canvasMouseLeave", "canvasClick", "canvasFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11383
11412
|
}
|
|
11384
11413
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: EditableCollectionComponent, decorators: [{
|
|
11385
11414
|
type: Component,
|
|
@@ -11521,6 +11550,7 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
11521
11550
|
termControl = new FormControl('');
|
|
11522
11551
|
activeLookupFilters = signal([], ...(ngDevMode ? [{ debugName: "activeLookupFilters" }] : []));
|
|
11523
11552
|
selectedLookupSortKey = signal(null, ...(ngDevMode ? [{ debugName: "selectedLookupSortKey" }] : []));
|
|
11553
|
+
remoteTotalElements = signal(null, ...(ngDevMode ? [{ debugName: "remoteTotalElements" }] : []));
|
|
11524
11554
|
store = new OptionStore();
|
|
11525
11555
|
endReached = signal(false, ...(ngDevMode ? [{ debugName: "endReached" }] : []));
|
|
11526
11556
|
cursorAfter = null;
|
|
@@ -11555,6 +11585,7 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
11555
11585
|
const optionSource = metadata.optionSource ?? null;
|
|
11556
11586
|
const isCategoricalBucket = this.isCategoricalBucketOptionSource(optionSource);
|
|
11557
11587
|
this.optionSource.set(optionSource);
|
|
11588
|
+
this.remoteTotalElements.set(null);
|
|
11558
11589
|
this.initializeLookupFilteringState();
|
|
11559
11590
|
// Local select configuration
|
|
11560
11591
|
if (mappedOptions)
|
|
@@ -11812,11 +11843,15 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
11812
11843
|
const include = reset && !this.useCursor && selected.length ? { includeIds: selected } : undefined;
|
|
11813
11844
|
const observeVersion = reset;
|
|
11814
11845
|
this.loading.set(true);
|
|
11846
|
+
if (reset) {
|
|
11847
|
+
this.remoteTotalElements.set(null);
|
|
11848
|
+
}
|
|
11815
11849
|
if (this.useCursor) {
|
|
11816
11850
|
const req = { size: this.pageSize(), after: reset ? undefined : this.cursorAfter ?? undefined };
|
|
11817
11851
|
return this.crudService
|
|
11818
11852
|
.filterByCursor(filter, req)
|
|
11819
11853
|
.pipe(tap((resp) => {
|
|
11854
|
+
this.remoteTotalElements.set(null);
|
|
11820
11855
|
this.cursorAfter = resp.next ?? null;
|
|
11821
11856
|
this.store.addPage(this.cursorPageIndex++, resp.content);
|
|
11822
11857
|
this.store.ensureVisible(selected);
|
|
@@ -11848,6 +11883,7 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
11848
11883
|
.pipe(tap((resp) => {
|
|
11849
11884
|
if (resp.dataVersion)
|
|
11850
11885
|
this.dataVersion = resp.dataVersion;
|
|
11886
|
+
this.remoteTotalElements.set(Number.isFinite(resp.totalElements) ? resp.totalElements : null);
|
|
11851
11887
|
this.store.addPage(page, resp.content);
|
|
11852
11888
|
this.store.ensureVisible(selected);
|
|
11853
11889
|
this.endReached.set(resp.content.length < this.pageSize());
|
|
@@ -12017,7 +12053,13 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
12017
12053
|
[matTooltipDisabled]="!(tooltipEnabled() && !!errorMessage())"
|
|
12018
12054
|
[matTooltipPosition]="tooltipPosition()"
|
|
12019
12055
|
>
|
|
12020
|
-
<
|
|
12056
|
+
<div
|
|
12057
|
+
*ngIf="searchable()"
|
|
12058
|
+
class="pdx-select-search-option"
|
|
12059
|
+
role="presentation"
|
|
12060
|
+
(mousedown)="$event.stopPropagation()"
|
|
12061
|
+
(click)="$event.stopPropagation()"
|
|
12062
|
+
>
|
|
12021
12063
|
<input
|
|
12022
12064
|
#searchInput
|
|
12023
12065
|
matInput
|
|
@@ -12027,7 +12069,7 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
12027
12069
|
(keydown)="handleKey($event)"
|
|
12028
12070
|
[placeholder]="searchInputPlaceholder()"
|
|
12029
12071
|
/>
|
|
12030
|
-
</
|
|
12072
|
+
</div>
|
|
12031
12073
|
<mat-option
|
|
12032
12074
|
*ngIf="!multiple() && emptyOptionText()"
|
|
12033
12075
|
[value]="null"
|
|
@@ -12090,7 +12132,7 @@ class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
12090
12132
|
<mat-hint>{{ metadata()!.hint }}</mat-hint>
|
|
12091
12133
|
}
|
|
12092
12134
|
</mat-form-field>
|
|
12093
|
-
`, isInline: true, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] });
|
|
12135
|
+
`, isInline: true, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .pdx-material-async-select-panel .pdx-select-search-option{box-sizing:border-box;display:block;padding:10px 16px}::ng-deep .pdx-material-async-select-panel .pdx-select-search-option input{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] });
|
|
12094
12136
|
}
|
|
12095
12137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: MaterialAsyncSelectComponent, decorators: [{
|
|
12096
12138
|
type: Component,
|
|
@@ -12126,7 +12168,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
12126
12168
|
[matTooltipDisabled]="!(tooltipEnabled() && !!errorMessage())"
|
|
12127
12169
|
[matTooltipPosition]="tooltipPosition()"
|
|
12128
12170
|
>
|
|
12129
|
-
<
|
|
12171
|
+
<div
|
|
12172
|
+
*ngIf="searchable()"
|
|
12173
|
+
class="pdx-select-search-option"
|
|
12174
|
+
role="presentation"
|
|
12175
|
+
(mousedown)="$event.stopPropagation()"
|
|
12176
|
+
(click)="$event.stopPropagation()"
|
|
12177
|
+
>
|
|
12130
12178
|
<input
|
|
12131
12179
|
#searchInput
|
|
12132
12180
|
matInput
|
|
@@ -12136,7 +12184,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
12136
12184
|
(keydown)="handleKey($event)"
|
|
12137
12185
|
[placeholder]="searchInputPlaceholder()"
|
|
12138
12186
|
/>
|
|
12139
|
-
</
|
|
12187
|
+
</div>
|
|
12140
12188
|
<mat-option
|
|
12141
12189
|
*ngIf="!multiple() && emptyOptionText()"
|
|
12142
12190
|
[value]="null"
|
|
@@ -12214,7 +12262,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
12214
12262
|
'[attr.data-field-type]': '"async-select"',
|
|
12215
12263
|
'[attr.data-field-name]': 'metadata()?.name',
|
|
12216
12264
|
'[attr.data-component-id]': 'componentId()',
|
|
12217
|
-
}, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}\n"] }]
|
|
12265
|
+
}, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-async-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .pdx-material-async-select-panel .pdx-select-search-option{box-sizing:border-box;display:block;padding:10px 16px}::ng-deep .pdx-material-async-select-panel .pdx-select-search-option input{width:100%}\n"] }]
|
|
12218
12266
|
}], propDecorators: { readonlyMode: [{
|
|
12219
12267
|
type: Input
|
|
12220
12268
|
}], disabledMode: [{
|
|
@@ -12230,6 +12278,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
12230
12278
|
|
|
12231
12279
|
class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
12232
12280
|
dialog = inject(MatDialog);
|
|
12281
|
+
globalActions = inject(GlobalActionService, { optional: true });
|
|
12282
|
+
resourceDiscovery = inject(ResourceDiscoveryService, { optional: true });
|
|
12283
|
+
surfaceOpenAdapter = inject(ResourceSurfaceOpenAdapterService, { optional: true });
|
|
12233
12284
|
inlineMinWidthPx = 148;
|
|
12234
12285
|
inlineMaxWidthPx = 420;
|
|
12235
12286
|
fieldLabelText = 'Lookup';
|
|
@@ -12269,6 +12320,11 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12269
12320
|
getSpecificCssClasses() {
|
|
12270
12321
|
return ['pdx-simple-select', 'pdx-inline-entity-lookup'];
|
|
12271
12322
|
}
|
|
12323
|
+
selectPanelClasses() {
|
|
12324
|
+
return this.fullFieldLayout()
|
|
12325
|
+
? ['pdx-inline-entity-lookup-panel', 'pdx-entity-lookup-panel']
|
|
12326
|
+
: ['pdx-inline-entity-lookup-panel'];
|
|
12327
|
+
}
|
|
12272
12328
|
hasSelection() {
|
|
12273
12329
|
return this.selectedCount() > 0;
|
|
12274
12330
|
}
|
|
@@ -12304,20 +12360,28 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12304
12360
|
}
|
|
12305
12361
|
richLayoutEnabled() {
|
|
12306
12362
|
const meta = this.currentMetadata();
|
|
12307
|
-
const
|
|
12308
|
-
const
|
|
12309
|
-
|
|
12363
|
+
const display = this.lookupDisplayConfig();
|
|
12364
|
+
const selectedLayout = String(display.selectedLayout || '').trim();
|
|
12365
|
+
const resultLayout = String(display.resultLayout || '').trim();
|
|
12366
|
+
const density = this.displayDensity();
|
|
12367
|
+
if (selectedLayout === 'token' || resultLayout === 'denseList' || density === 'compact') {
|
|
12310
12368
|
return false;
|
|
12311
12369
|
}
|
|
12312
12370
|
return meta.controlType === 'entityLookup';
|
|
12313
12371
|
}
|
|
12314
12372
|
selectedCardLayout() {
|
|
12315
|
-
const
|
|
12316
|
-
const selectedLayout = String(meta.selectedLayout || '').trim();
|
|
12373
|
+
const selectedLayout = String(this.lookupDisplayConfig().selectedLayout || '').trim();
|
|
12317
12374
|
if (!this.richLayoutEnabled() || !this.hasSelection() || this.multiple()) {
|
|
12318
12375
|
return false;
|
|
12319
12376
|
}
|
|
12320
|
-
return selectedLayout === '
|
|
12377
|
+
return selectedLayout === 'card';
|
|
12378
|
+
}
|
|
12379
|
+
selectedCompactLayout() {
|
|
12380
|
+
const selectedLayout = String(this.lookupDisplayConfig().selectedLayout || '').trim();
|
|
12381
|
+
if (!this.richLayoutEnabled() || !this.hasSelection() || this.multiple()) {
|
|
12382
|
+
return false;
|
|
12383
|
+
}
|
|
12384
|
+
return selectedLayout === '' || selectedLayout === 'compact' || selectedLayout === 'inline';
|
|
12321
12385
|
}
|
|
12322
12386
|
fullFieldLayout() {
|
|
12323
12387
|
return this.currentMetadata().controlType === 'entityLookup';
|
|
@@ -12388,6 +12452,13 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12388
12452
|
hiddenSelectedLookupTokenCount() {
|
|
12389
12453
|
return Math.max(0, this.selectedLookupViews().length - this.maxVisibleSelectedTokens());
|
|
12390
12454
|
}
|
|
12455
|
+
isSelected(option) {
|
|
12456
|
+
const value = this.control().value;
|
|
12457
|
+
if (Array.isArray(value)) {
|
|
12458
|
+
return value.some((selected) => this.equalsOptionValue(option.value, selected));
|
|
12459
|
+
}
|
|
12460
|
+
return this.equalsOptionValue(option.value, value);
|
|
12461
|
+
}
|
|
12391
12462
|
showSelectedTokenRemove() {
|
|
12392
12463
|
return this.multiple() && !this.interactionDisabled();
|
|
12393
12464
|
}
|
|
@@ -12418,29 +12489,45 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12418
12489
|
};
|
|
12419
12490
|
}
|
|
12420
12491
|
showCode() {
|
|
12421
|
-
|
|
12492
|
+
const explicit = this.lookupDisplayBoolean('showCode');
|
|
12493
|
+
if (explicit !== undefined) {
|
|
12494
|
+
return explicit;
|
|
12495
|
+
}
|
|
12496
|
+
return this.displayPreset() === 'reference';
|
|
12422
12497
|
}
|
|
12423
12498
|
showDescription() {
|
|
12424
|
-
return this.
|
|
12499
|
+
return this.lookupDisplayBoolean('showDescription') !== false;
|
|
12425
12500
|
}
|
|
12426
12501
|
showStatus() {
|
|
12427
|
-
|
|
12502
|
+
const explicit = this.lookupDisplayBoolean('showStatus');
|
|
12503
|
+
if (explicit !== undefined) {
|
|
12504
|
+
return explicit;
|
|
12505
|
+
}
|
|
12506
|
+
return this.displayPreset() === 'status';
|
|
12428
12507
|
}
|
|
12429
12508
|
showAvatar() {
|
|
12430
|
-
|
|
12509
|
+
const explicit = this.lookupDisplayBoolean('showAvatar');
|
|
12510
|
+
if (explicit !== undefined) {
|
|
12511
|
+
return explicit;
|
|
12512
|
+
}
|
|
12513
|
+
return ['directory', 'rich', 'status'].includes(this.displayPreset());
|
|
12431
12514
|
}
|
|
12432
12515
|
showBadges() {
|
|
12433
|
-
|
|
12516
|
+
const explicit = this.lookupDisplayBoolean('showBadges');
|
|
12517
|
+
if (explicit !== undefined) {
|
|
12518
|
+
return explicit;
|
|
12519
|
+
}
|
|
12520
|
+
return ['directory', 'status'].includes(this.displayPreset());
|
|
12434
12521
|
}
|
|
12435
12522
|
showDisabledReason() {
|
|
12436
|
-
return this.
|
|
12523
|
+
return this.lookupDisplayBoolean('showDisabledReason') !== false;
|
|
12437
12524
|
}
|
|
12438
12525
|
showResultCount() {
|
|
12439
|
-
return this.richLayoutEnabled() && this.
|
|
12526
|
+
return this.richLayoutEnabled() && this.lookupDisplayBoolean('showResultCount') !== false;
|
|
12440
12527
|
}
|
|
12441
12528
|
resultCountText() {
|
|
12442
|
-
const count = this.options().length;
|
|
12443
|
-
return this.tDynamicFields('entityLookup.resultCount', '{count} resultados', { count });
|
|
12529
|
+
const count = this.remoteTotalElements() ?? this.options().length;
|
|
12530
|
+
return this.tDynamicFields('entityLookup.resultCount', '{{count}} resultados', { count });
|
|
12444
12531
|
}
|
|
12445
12532
|
hasVisibleBadges(item) {
|
|
12446
12533
|
return ((this.showStatus() && !!item.status)
|
|
@@ -12448,7 +12535,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12448
12535
|
|| (this.showDisabledReason() && item.selectionState !== 'selectable' && !!item.disabledReason));
|
|
12449
12536
|
}
|
|
12450
12537
|
visibleBadges(item) {
|
|
12451
|
-
const max = this.
|
|
12538
|
+
const max = this.lookupDisplayConfig().maxVisibleBadges ?? 3;
|
|
12452
12539
|
return item.badges.slice(0, Math.max(0, max));
|
|
12453
12540
|
}
|
|
12454
12541
|
statusBadgeClass(item) {
|
|
@@ -12469,7 +12556,13 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12469
12556
|
if (actions?.showDetail === false) {
|
|
12470
12557
|
return false;
|
|
12471
12558
|
}
|
|
12472
|
-
return !!(item.detailHref || item.detailRoute);
|
|
12559
|
+
return !!(item.detailHref || item.detailRoute || this.hasGovernedDetailSurface());
|
|
12560
|
+
}
|
|
12561
|
+
hasGovernedDetailSurface() {
|
|
12562
|
+
const detail = this.lookupOptionSource()?.detail;
|
|
12563
|
+
return String(detail?.kind || '').toLowerCase() === 'surface'
|
|
12564
|
+
|| !!detail?.surfaceId
|
|
12565
|
+
|| String(detail?.openDetailMode || '').toLowerCase() === 'surface';
|
|
12473
12566
|
}
|
|
12474
12567
|
showChangeAction() {
|
|
12475
12568
|
if (this.interactionDisabled()) {
|
|
@@ -12534,12 +12627,95 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
12534
12627
|
onDetailAction(event, item) {
|
|
12535
12628
|
event.preventDefault();
|
|
12536
12629
|
event.stopPropagation();
|
|
12630
|
+
void this.openDetailSurface(item);
|
|
12631
|
+
}
|
|
12632
|
+
async openDetailSurface(item) {
|
|
12633
|
+
if (await this.tryOpenGovernedDetailSurface(item)) {
|
|
12634
|
+
return;
|
|
12635
|
+
}
|
|
12537
12636
|
const href = item.detailHref || item.detailRoute;
|
|
12538
12637
|
if (!href || typeof window === 'undefined') {
|
|
12539
12638
|
return;
|
|
12540
12639
|
}
|
|
12541
12640
|
window.open(href, '_blank', 'noopener');
|
|
12542
12641
|
}
|
|
12642
|
+
async tryOpenGovernedDetailSurface(item) {
|
|
12643
|
+
const detail = this.lookupOptionSource()?.detail;
|
|
12644
|
+
const wantsSurface = String(detail?.kind || '').toLowerCase() === 'surface'
|
|
12645
|
+
|| !!detail?.surfaceId
|
|
12646
|
+
|| String(detail?.openDetailMode || '').toLowerCase() === 'surface';
|
|
12647
|
+
if (!wantsSurface || !this.globalActions || !this.resourceDiscovery || !this.surfaceOpenAdapter) {
|
|
12648
|
+
return false;
|
|
12649
|
+
}
|
|
12650
|
+
const resourcePath = this.lookupOptionSource()?.resourcePath || this.resourcePath();
|
|
12651
|
+
const resourceId = item.identity || item.id;
|
|
12652
|
+
if (!resourcePath || !resourceId) {
|
|
12653
|
+
return false;
|
|
12654
|
+
}
|
|
12655
|
+
try {
|
|
12656
|
+
const catalog = await firstValueFrom(this.resourceDiscovery.fetchJson(this.itemSurfacesHref(resourcePath, resourceId)));
|
|
12657
|
+
const surface = this.selectDetailSurface(catalog?.surfaces || [], detail?.surfaceId);
|
|
12658
|
+
if (!surface) {
|
|
12659
|
+
return false;
|
|
12660
|
+
}
|
|
12661
|
+
const payload = this.surfaceOpenAdapter.toPayload(surface, {
|
|
12662
|
+
resourcePath,
|
|
12663
|
+
resourceId,
|
|
12664
|
+
presentation: this.lookupDetailPresentation(detail?.presentation),
|
|
12665
|
+
title: this.detailSurfaceTitle(item, surface),
|
|
12666
|
+
subtitle: item.description || surface.description || undefined,
|
|
12667
|
+
icon: 'badge',
|
|
12668
|
+
});
|
|
12669
|
+
const result = await this.globalActions.execute('surface.open', payload, {
|
|
12670
|
+
sourceId: this.componentId(),
|
|
12671
|
+
output: 'entityLookup.detail',
|
|
12672
|
+
payload: {
|
|
12673
|
+
item,
|
|
12674
|
+
value: this.control().value,
|
|
12675
|
+
optionSource: this.lookupOptionSource(),
|
|
12676
|
+
},
|
|
12677
|
+
runtime: {
|
|
12678
|
+
item,
|
|
12679
|
+
value: this.control().value,
|
|
12680
|
+
},
|
|
12681
|
+
meta: {
|
|
12682
|
+
component: 'pdx-inline-entity-lookup',
|
|
12683
|
+
action: 'detail',
|
|
12684
|
+
},
|
|
12685
|
+
});
|
|
12686
|
+
return result.success;
|
|
12687
|
+
}
|
|
12688
|
+
catch {
|
|
12689
|
+
return false;
|
|
12690
|
+
}
|
|
12691
|
+
}
|
|
12692
|
+
itemSurfacesHref(resourcePath, resourceId) {
|
|
12693
|
+
const path = String(resourcePath || '').trim().replace(/^\/+/, '').replace(/\/+$/, '');
|
|
12694
|
+
return `/${path}/${encodeURIComponent(resourceId)}/surfaces`;
|
|
12695
|
+
}
|
|
12696
|
+
selectDetailSurface(surfaces, preferredSurfaceId) {
|
|
12697
|
+
const available = surfaces.filter((surface) => surface.scope === 'ITEM' && surface.availability?.allowed !== false);
|
|
12698
|
+
const preferred = String(preferredSurfaceId || '').trim();
|
|
12699
|
+
if (preferred) {
|
|
12700
|
+
const match = available.find((surface) => surface.id === preferred);
|
|
12701
|
+
if (match) {
|
|
12702
|
+
return match;
|
|
12703
|
+
}
|
|
12704
|
+
}
|
|
12705
|
+
return (available.find((surface) => surface.id === 'detail') ||
|
|
12706
|
+
available.find((surface) => surface.id === 'view') ||
|
|
12707
|
+
available.find((surface) => surface.kind === 'VIEW' || surface.kind === 'READ_PROJECTION') ||
|
|
12708
|
+
available.find((surface) => surface.kind === 'FORM' || surface.kind === 'PARTIAL_FORM') ||
|
|
12709
|
+
null);
|
|
12710
|
+
}
|
|
12711
|
+
lookupDetailPresentation(value) {
|
|
12712
|
+
const normalized = String(value || '').trim();
|
|
12713
|
+
return normalized === 'drawer' || normalized === 'modal' ? normalized : undefined;
|
|
12714
|
+
}
|
|
12715
|
+
detailSurfaceTitle(item, surface) {
|
|
12716
|
+
const baseTitle = surface.title || this.detailActionText();
|
|
12717
|
+
return item.label ? `${baseTitle}: ${item.label}` : baseTitle;
|
|
12718
|
+
}
|
|
12543
12719
|
onChangeAction(event) {
|
|
12544
12720
|
event.preventDefault();
|
|
12545
12721
|
event.stopPropagation();
|
|
@@ -13058,6 +13234,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13058
13234
|
detailHref: lookup.detailHref,
|
|
13059
13235
|
detailRoute: lookup.detailRoute,
|
|
13060
13236
|
badges: lookup.badges,
|
|
13237
|
+
richFields: lookup.richFields,
|
|
13061
13238
|
};
|
|
13062
13239
|
}
|
|
13063
13240
|
resolveLookupData(source, fallbackLabel) {
|
|
@@ -13066,7 +13243,9 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13066
13243
|
const subtitleKeys = this.lookupSubtitleKeys();
|
|
13067
13244
|
const statusKeys = this.lookupStatusKeys();
|
|
13068
13245
|
if (source && typeof source === 'object') {
|
|
13069
|
-
const
|
|
13246
|
+
const sourceRecord = source;
|
|
13247
|
+
const extraRecord = this.asRecord(sourceRecord['extra']);
|
|
13248
|
+
const value = extraRecord ? { ...extraRecord, ...sourceRecord } : sourceRecord;
|
|
13070
13249
|
const id = this.normalizeLookupText(this.firstDefined(value, idKeys));
|
|
13071
13250
|
const identity = this.normalizeLookupText(this.resolveLookupIdentity(value)) || id;
|
|
13072
13251
|
const code = this.normalizeLookupText(this.firstDefined(value, this.lookupCodeKeys()));
|
|
@@ -13078,6 +13257,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13078
13257
|
const detailHref = this.normalizeLookupText(this.firstDefined(value, ['detailHref', 'href', 'url']));
|
|
13079
13258
|
const detailRoute = this.normalizeLookupText(this.firstDefined(value, ['detailRoute', 'route']));
|
|
13080
13259
|
const badges = this.lookupBadges(value, status);
|
|
13260
|
+
const richFields = this.lookupRichFields(value);
|
|
13081
13261
|
return {
|
|
13082
13262
|
id,
|
|
13083
13263
|
identity,
|
|
@@ -13091,6 +13271,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13091
13271
|
detailHref,
|
|
13092
13272
|
detailRoute,
|
|
13093
13273
|
badges,
|
|
13274
|
+
richFields,
|
|
13094
13275
|
};
|
|
13095
13276
|
}
|
|
13096
13277
|
const primitive = this.normalizeLookupText(source);
|
|
@@ -13108,6 +13289,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13108
13289
|
detailHref: '',
|
|
13109
13290
|
detailRoute: '',
|
|
13110
13291
|
badges: [],
|
|
13292
|
+
richFields: [],
|
|
13111
13293
|
};
|
|
13112
13294
|
}
|
|
13113
13295
|
buildLookupPrimaryText(id, label) {
|
|
@@ -13177,8 +13359,10 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13177
13359
|
const meta = this.metadata() || {};
|
|
13178
13360
|
const custom = this.normalizeLookupText(meta.lookupSubtitleKey);
|
|
13179
13361
|
const source = this.lookupOptionSource();
|
|
13362
|
+
const display = this.lookupDisplayConfig();
|
|
13180
13363
|
return this.uniqueLookupKeys([
|
|
13181
13364
|
custom,
|
|
13365
|
+
...(display.secondaryPropertyPaths ?? []),
|
|
13182
13366
|
...(source?.descriptionPropertyPaths ?? []),
|
|
13183
13367
|
'description',
|
|
13184
13368
|
'subtitle',
|
|
@@ -13208,10 +13392,14 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13208
13392
|
return true;
|
|
13209
13393
|
}
|
|
13210
13394
|
lookupBadges(record, status) {
|
|
13211
|
-
const
|
|
13395
|
+
const display = this.lookupDisplayConfig();
|
|
13396
|
+
const configuredKeys = [
|
|
13397
|
+
...(display.badgeKeys ?? []),
|
|
13398
|
+
...(display.badgePropertyPaths ?? []),
|
|
13399
|
+
];
|
|
13212
13400
|
const rawValues = [];
|
|
13213
13401
|
for (const key of configuredKeys) {
|
|
13214
|
-
rawValues.push(record
|
|
13402
|
+
rawValues.push(this.readLookupPath(record, key));
|
|
13215
13403
|
}
|
|
13216
13404
|
rawValues.push(record['badges'], record['tags'], record['riskLevel'], record['homologationStatus']);
|
|
13217
13405
|
const seen = new Set();
|
|
@@ -13231,6 +13419,77 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13231
13419
|
rawValues.forEach(pushBadge);
|
|
13232
13420
|
return badges;
|
|
13233
13421
|
}
|
|
13422
|
+
richFieldToneClass(field) {
|
|
13423
|
+
return `is-${field.tone || 'neutral'}`;
|
|
13424
|
+
}
|
|
13425
|
+
lookupRichFields(record) {
|
|
13426
|
+
const explicit = this.asRichFieldArray(record['richFields']);
|
|
13427
|
+
if (explicit.length) {
|
|
13428
|
+
return explicit;
|
|
13429
|
+
}
|
|
13430
|
+
const fields = this.lookupDisplayConfig().fields ?? [];
|
|
13431
|
+
if (!fields.length) {
|
|
13432
|
+
return [];
|
|
13433
|
+
}
|
|
13434
|
+
return fields
|
|
13435
|
+
.map((field, index) => this.lookupRichFieldFromDescriptor(field, record, undefined, index))
|
|
13436
|
+
.filter((field) => !!field);
|
|
13437
|
+
}
|
|
13438
|
+
lookupRichFieldFromDescriptor(field, record, fallbackValue, index) {
|
|
13439
|
+
const rawValue = this.readLookupPath(record, field.propertyPath ?? '') ?? fallbackValue;
|
|
13440
|
+
const value = this.formatLookupRichFieldValue(rawValue, field);
|
|
13441
|
+
if (!value) {
|
|
13442
|
+
return null;
|
|
13443
|
+
}
|
|
13444
|
+
return {
|
|
13445
|
+
key: this.normalizeLookupText(field.key) || this.normalizeLookupText(field.propertyPath) || `field-${index}`,
|
|
13446
|
+
label: this.normalizeLookupText(field.label),
|
|
13447
|
+
value,
|
|
13448
|
+
icon: this.normalizeLookupText(field.icon),
|
|
13449
|
+
presentation: this.normalizeLookupText(field.presentation) || 'text',
|
|
13450
|
+
tone: this.normalizeLookupTone(field.tone),
|
|
13451
|
+
};
|
|
13452
|
+
}
|
|
13453
|
+
asRichFieldArray(value) {
|
|
13454
|
+
if (!Array.isArray(value)) {
|
|
13455
|
+
return [];
|
|
13456
|
+
}
|
|
13457
|
+
return value
|
|
13458
|
+
.map((item, index) => {
|
|
13459
|
+
const record = this.asRecord(item);
|
|
13460
|
+
if (!record) {
|
|
13461
|
+
return null;
|
|
13462
|
+
}
|
|
13463
|
+
const field = this.lookupRichFieldFromDescriptor(record, record, record['value'], index);
|
|
13464
|
+
return field;
|
|
13465
|
+
})
|
|
13466
|
+
.filter((field) => !!field);
|
|
13467
|
+
}
|
|
13468
|
+
formatLookupRichFieldValue(value, field) {
|
|
13469
|
+
const normalized = this.normalizeLookupText(value);
|
|
13470
|
+
if (!normalized) {
|
|
13471
|
+
return '';
|
|
13472
|
+
}
|
|
13473
|
+
const presentation = this.normalizeLookupText(field.presentation);
|
|
13474
|
+
if (presentation === 'date' || field.format === 'date') {
|
|
13475
|
+
const localDate = /^(\d{4})-(\d{2})-(\d{2})$/.exec(normalized);
|
|
13476
|
+
if (localDate) {
|
|
13477
|
+
return `${localDate[3]}/${localDate[2]}/${localDate[1]}`;
|
|
13478
|
+
}
|
|
13479
|
+
const date = new Date(normalized);
|
|
13480
|
+
if (!Number.isNaN(date.getTime())) {
|
|
13481
|
+
return new Intl.DateTimeFormat('pt-BR', { dateStyle: 'short' }).format(date);
|
|
13482
|
+
}
|
|
13483
|
+
}
|
|
13484
|
+
return normalized;
|
|
13485
|
+
}
|
|
13486
|
+
normalizeLookupTone(value) {
|
|
13487
|
+
const normalized = this.normalizeLookupText(value).toLowerCase();
|
|
13488
|
+
if (normalized === 'success' || normalized === 'warning' || normalized === 'danger' || normalized === 'neutral' || normalized === 'info') {
|
|
13489
|
+
return normalized;
|
|
13490
|
+
}
|
|
13491
|
+
return 'neutral';
|
|
13492
|
+
}
|
|
13234
13493
|
classifyLookupSelectionState(record) {
|
|
13235
13494
|
return classifyEntityLookupResult({
|
|
13236
13495
|
extra: {
|
|
@@ -13296,16 +13555,20 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13296
13555
|
const normalized = this.normalizeLookupText(key);
|
|
13297
13556
|
if (!normalized)
|
|
13298
13557
|
continue;
|
|
13299
|
-
|
|
13300
|
-
|
|
13558
|
+
const value = this.readLookupPath(record, normalized);
|
|
13559
|
+
if (value !== undefined && value !== null) {
|
|
13560
|
+
return value;
|
|
13301
13561
|
}
|
|
13302
13562
|
}
|
|
13303
13563
|
return undefined;
|
|
13304
13564
|
}
|
|
13305
13565
|
lookupSubtitleText(record, keys) {
|
|
13306
|
-
const
|
|
13566
|
+
const display = this.lookupDisplayConfig();
|
|
13567
|
+
const sourceDescriptionKeys = display.secondaryPropertyPaths?.length
|
|
13568
|
+
? display.secondaryPropertyPaths
|
|
13569
|
+
: this.lookupOptionSource()?.descriptionPropertyPaths ?? [];
|
|
13307
13570
|
const composed = sourceDescriptionKeys
|
|
13308
|
-
.map((key) => this.normalizeLookupText(
|
|
13571
|
+
.map((key) => this.normalizeLookupText(this.readLookupPath(record, key)))
|
|
13309
13572
|
.filter((value) => value.length > 0);
|
|
13310
13573
|
if (composed.length) {
|
|
13311
13574
|
return composed.join(' - ');
|
|
@@ -13368,6 +13631,80 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13368
13631
|
'key',
|
|
13369
13632
|
]);
|
|
13370
13633
|
}
|
|
13634
|
+
displayPreset() {
|
|
13635
|
+
const preset = this.normalizeLookupText(this.lookupDisplayConfig().preset).toLowerCase();
|
|
13636
|
+
if (preset === 'compact'
|
|
13637
|
+
|| preset === 'rich'
|
|
13638
|
+
|| preset === 'directory'
|
|
13639
|
+
|| preset === 'status'
|
|
13640
|
+
|| preset === 'reference'
|
|
13641
|
+
|| preset === 'hierarchical') {
|
|
13642
|
+
return preset;
|
|
13643
|
+
}
|
|
13644
|
+
return this.currentMetadata().controlType === 'entityLookup' ? 'rich' : 'compact';
|
|
13645
|
+
}
|
|
13646
|
+
displayDensity() {
|
|
13647
|
+
const density = this.normalizeLookupText(this.lookupDisplayConfig().density).toLowerCase();
|
|
13648
|
+
if (density === 'compact' || density === 'comfortable' || density === 'rich') {
|
|
13649
|
+
return density;
|
|
13650
|
+
}
|
|
13651
|
+
return this.currentMetadata().controlType === 'entityLookup' ? 'comfortable' : 'compact';
|
|
13652
|
+
}
|
|
13653
|
+
lookupDisplayConfig() {
|
|
13654
|
+
const optionDisplay = this.lookupOptionSource()?.display ?? {};
|
|
13655
|
+
const metadata = this.currentMetadata();
|
|
13656
|
+
return {
|
|
13657
|
+
...optionDisplay,
|
|
13658
|
+
preset: metadata.preset ?? optionDisplay.preset,
|
|
13659
|
+
usage: metadata.usage ?? optionDisplay.usage,
|
|
13660
|
+
density: metadata.density ?? optionDisplay.density,
|
|
13661
|
+
selectedLayout: metadata.selectedLayout ?? optionDisplay.selectedLayout,
|
|
13662
|
+
resultLayout: metadata.resultLayout ?? optionDisplay.resultLayout,
|
|
13663
|
+
primaryPropertyPath: metadata.primaryPropertyPath ?? optionDisplay.primaryPropertyPath,
|
|
13664
|
+
secondaryPropertyPaths: metadata.secondaryPropertyPaths ?? optionDisplay.secondaryPropertyPaths,
|
|
13665
|
+
badgePropertyPaths: metadata.badgePropertyPaths ?? optionDisplay.badgePropertyPaths,
|
|
13666
|
+
avatarPropertyPath: metadata.avatarPropertyPath ?? optionDisplay.avatarPropertyPath,
|
|
13667
|
+
showCode: metadata.showCode ?? optionDisplay.showCode,
|
|
13668
|
+
showDescription: metadata.showDescription ?? optionDisplay.showDescription,
|
|
13669
|
+
showStatus: metadata.showStatus ?? optionDisplay.showStatus,
|
|
13670
|
+
showAvatar: metadata.showAvatar ?? optionDisplay.showAvatar,
|
|
13671
|
+
showBadges: metadata.showBadges ?? optionDisplay.showBadges,
|
|
13672
|
+
showDisabledReason: metadata.showDisabledReason ?? optionDisplay.showDisabledReason,
|
|
13673
|
+
showResultCount: metadata.showResultCount ?? optionDisplay.showResultCount,
|
|
13674
|
+
statusToneMap: metadata.statusToneMap ?? optionDisplay.statusToneMap,
|
|
13675
|
+
badgeKeys: metadata.badgeKeys ?? optionDisplay.badgeKeys,
|
|
13676
|
+
maxVisibleBadges: metadata.maxVisibleBadges ?? optionDisplay.maxVisibleBadges,
|
|
13677
|
+
detailActionLabel: metadata.detailActionLabel ?? optionDisplay.detailActionLabel,
|
|
13678
|
+
changeActionLabel: metadata.changeActionLabel ?? optionDisplay.changeActionLabel,
|
|
13679
|
+
copyCodeActionLabel: metadata.copyCodeActionLabel ?? optionDisplay.copyCodeActionLabel,
|
|
13680
|
+
copyIdActionLabel: metadata.copyIdActionLabel ?? optionDisplay.copyIdActionLabel,
|
|
13681
|
+
createActionLabel: metadata.createActionLabel ?? optionDisplay.createActionLabel,
|
|
13682
|
+
clearActionLabel: metadata.clearActionLabel ?? optionDisplay.clearActionLabel,
|
|
13683
|
+
actions: metadata.actions ?? optionDisplay.actions,
|
|
13684
|
+
};
|
|
13685
|
+
}
|
|
13686
|
+
lookupDisplayBoolean(key) {
|
|
13687
|
+
const value = this.lookupDisplayConfig()[key];
|
|
13688
|
+
return typeof value === 'boolean' ? value : undefined;
|
|
13689
|
+
}
|
|
13690
|
+
readLookupPath(record, path) {
|
|
13691
|
+
const normalized = this.normalizeLookupText(path);
|
|
13692
|
+
if (!normalized) {
|
|
13693
|
+
return undefined;
|
|
13694
|
+
}
|
|
13695
|
+
if (record[normalized] !== undefined) {
|
|
13696
|
+
return record[normalized];
|
|
13697
|
+
}
|
|
13698
|
+
const segments = normalized.split('.').filter(Boolean);
|
|
13699
|
+
let cursor = record;
|
|
13700
|
+
for (const segment of segments) {
|
|
13701
|
+
if (!cursor || typeof cursor !== 'object') {
|
|
13702
|
+
return undefined;
|
|
13703
|
+
}
|
|
13704
|
+
cursor = cursor[segment];
|
|
13705
|
+
}
|
|
13706
|
+
return cursor;
|
|
13707
|
+
}
|
|
13371
13708
|
isPrimitiveLookupValue(value) {
|
|
13372
13709
|
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean';
|
|
13373
13710
|
}
|
|
@@ -13522,7 +13859,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13522
13859
|
return { min, max };
|
|
13523
13860
|
}
|
|
13524
13861
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: InlineEntityLookupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13525
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.17", type: InlineEntityLookupComponent, isStandalone: true, selector: "pdx-inline-entity-lookup", inputs: { initialMetadata: "initialMetadata" }, host: { listeners: { "window:resize": "onViewportResize()" }, properties: { "class": "componentCssClasses()", "class.pdx-entity-lookup-host-block": "fullFieldLayout()", "class.praxis-disabled": "disabledMode", "style.display": "visible ? (fullFieldLayout() ? \"block\" : \"inline-block\") : \"none\"", "attr.aria-hidden": "visible ? null : \"true\"", "style.width": "fullFieldLayout() ? \"100%\" : \"auto\"", "style.maxWidth": "\"100%\"", "attr.data-field-type": "\"inlineEntityLookup\"", "attr.data-field-name": "metadata()?.name", "attr.data-component-id": "componentId()" } }, providers: [
|
|
13862
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.17", type: InlineEntityLookupComponent, isStandalone: true, selector: "pdx-inline-entity-lookup", inputs: { initialMetadata: "initialMetadata" }, host: { listeners: { "window:resize": "onViewportResize()" }, properties: { "class": "componentCssClasses()", "class.pdx-entity-lookup-host-block": "fullFieldLayout()", "class.praxis-disabled": "disabledMode", "style.display": "visible ? (fullFieldLayout() ? \"block\" : \"inline-block\") : \"none\"", "attr.aria-hidden": "visible ? null : \"true\"", "style.width": "fullFieldLayout() ? \"100%\" : \"auto\"", "style.maxWidth": "\"100%\"", "attr.data-field-type": "fullFieldLayout() ? \"entityLookup\" : \"inlineEntityLookup\"", "attr.data-field-name": "metadata()?.name", "attr.data-component-id": "componentId()" } }, providers: [
|
|
13526
13863
|
GenericCrudService,
|
|
13527
13864
|
{
|
|
13528
13865
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -13547,7 +13884,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13547
13884
|
>
|
|
13548
13885
|
<mat-select
|
|
13549
13886
|
class="pdx-inline-entity-lookup-control"
|
|
13550
|
-
[panelClass]="
|
|
13887
|
+
[panelClass]="selectPanelClasses()"
|
|
13551
13888
|
[placeholder]="placeholderText()"
|
|
13552
13889
|
[errorStateMatcher]="errorStateMatcher()"
|
|
13553
13890
|
[formControl]="control()"
|
|
@@ -13560,8 +13897,13 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13560
13897
|
(openedChange)="onOpenedChange($event)"
|
|
13561
13898
|
>
|
|
13562
13899
|
@if (searchable()) {
|
|
13563
|
-
<
|
|
13564
|
-
|
|
13900
|
+
<div
|
|
13901
|
+
class="pdx-panel-search-option"
|
|
13902
|
+
role="presentation"
|
|
13903
|
+
(mousedown)="$event.stopPropagation()"
|
|
13904
|
+
(click)="$event.stopPropagation()"
|
|
13905
|
+
>
|
|
13906
|
+
<div class="pdx-panel-search-row">
|
|
13565
13907
|
<mat-icon
|
|
13566
13908
|
class="pdx-panel-search-icon"
|
|
13567
13909
|
aria-hidden="true"
|
|
@@ -13585,7 +13927,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13585
13927
|
}
|
|
13586
13928
|
</div>
|
|
13587
13929
|
@if (showLookupToolbar()) {
|
|
13588
|
-
<div class="pdx-panel-toolbar-row"
|
|
13930
|
+
<div class="pdx-panel-toolbar-row">
|
|
13589
13931
|
@if (showLookupSortControl()) {
|
|
13590
13932
|
<label class="pdx-panel-sort-control">
|
|
13591
13933
|
<span>{{ sortLabelText() }}</span>
|
|
@@ -13627,7 +13969,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13627
13969
|
}
|
|
13628
13970
|
</div>
|
|
13629
13971
|
}
|
|
13630
|
-
</
|
|
13972
|
+
</div>
|
|
13631
13973
|
}
|
|
13632
13974
|
|
|
13633
13975
|
@if (showDialogOption()) {
|
|
@@ -13677,7 +14019,26 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13677
14019
|
<span class="pdx-lookup-selected-heading">
|
|
13678
14020
|
<strong>{{ selected.label }}</strong>
|
|
13679
14021
|
</span>
|
|
13680
|
-
@if (
|
|
14022
|
+
@if (selected.richFields.length) {
|
|
14023
|
+
<span class="pdx-lookup-rich-fields">
|
|
14024
|
+
<span
|
|
14025
|
+
class="pdx-lookup-rich-field"
|
|
14026
|
+
*ngFor="let field of selected.richFields"
|
|
14027
|
+
[class.is-chip]="field.presentation === 'chip' || field.presentation === 'date' || field.presentation === 'currency' || field.presentation === 'metric'"
|
|
14028
|
+
[class.is-badge]="field.presentation === 'badge'"
|
|
14029
|
+
[class.is-text]="field.presentation === 'text'"
|
|
14030
|
+
[ngClass]="richFieldToneClass(field)"
|
|
14031
|
+
>
|
|
14032
|
+
@if (field.icon) {
|
|
14033
|
+
<mat-icon aria-hidden="true">{{ field.icon }}</mat-icon>
|
|
14034
|
+
}
|
|
14035
|
+
@if (field.label && field.presentation === 'text') {
|
|
14036
|
+
<small>{{ field.label }}</small>
|
|
14037
|
+
}
|
|
14038
|
+
<span>{{ field.value }}</span>
|
|
14039
|
+
</span>
|
|
14040
|
+
</span>
|
|
14041
|
+
} @else if (showDescription() && selected.description) {
|
|
13681
14042
|
<span class="pdx-lookup-description">{{ selected.description }}</span>
|
|
13682
14043
|
}
|
|
13683
14044
|
@if (showDisabledReason() && selected.selectionState !== 'selectable' && selected.disabledReason) {
|
|
@@ -13746,6 +14107,83 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13746
14107
|
}
|
|
13747
14108
|
</span>
|
|
13748
14109
|
</span>
|
|
14110
|
+
} @else if (selectedCompactLayout() && selectedLookupView(); as selected) {
|
|
14111
|
+
<span class="pdx-lookup-selected-compact-trigger">
|
|
14112
|
+
@if (showAvatar()) {
|
|
14113
|
+
<span class="pdx-lookup-avatar pdx-lookup-avatar-compact" aria-hidden="true">
|
|
14114
|
+
{{ lookupInitials(selected) }}
|
|
14115
|
+
</span>
|
|
14116
|
+
}
|
|
14117
|
+
<span class="pdx-lookup-selected-compact-main">
|
|
14118
|
+
<span class="pdx-lookup-selected-compact-heading">
|
|
14119
|
+
<strong>{{ selected.label }}</strong>
|
|
14120
|
+
@if (showStatus() && selected.status) {
|
|
14121
|
+
<span class="pdx-lookup-badge" [ngClass]="statusBadgeClass(selected)">
|
|
14122
|
+
{{ selected.status }}
|
|
14123
|
+
</span>
|
|
14124
|
+
}
|
|
14125
|
+
</span>
|
|
14126
|
+
@if (selected.richFields.length) {
|
|
14127
|
+
<span class="pdx-lookup-rich-fields is-compact">
|
|
14128
|
+
<span
|
|
14129
|
+
class="pdx-lookup-rich-field"
|
|
14130
|
+
*ngFor="let field of selected.richFields"
|
|
14131
|
+
[class.is-chip]="field.presentation === 'chip' || field.presentation === 'date' || field.presentation === 'currency' || field.presentation === 'metric'"
|
|
14132
|
+
[class.is-badge]="field.presentation === 'badge'"
|
|
14133
|
+
[class.is-text]="field.presentation === 'text'"
|
|
14134
|
+
[ngClass]="richFieldToneClass(field)"
|
|
14135
|
+
>
|
|
14136
|
+
@if (field.icon) {
|
|
14137
|
+
<mat-icon aria-hidden="true">{{ field.icon }}</mat-icon>
|
|
14138
|
+
}
|
|
14139
|
+
<span>{{ field.value }}</span>
|
|
14140
|
+
</span>
|
|
14141
|
+
</span>
|
|
14142
|
+
} @else if (showDescription() && selected.description) {
|
|
14143
|
+
<span class="pdx-lookup-selected-compact-description">
|
|
14144
|
+
{{ selected.description }}
|
|
14145
|
+
</span>
|
|
14146
|
+
}
|
|
14147
|
+
</span>
|
|
14148
|
+
<span class="pdx-lookup-selected-compact-actions">
|
|
14149
|
+
@if (showDetailAction(selected)) {
|
|
14150
|
+
<button
|
|
14151
|
+
type="button"
|
|
14152
|
+
class="pdx-lookup-icon-action"
|
|
14153
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
14154
|
+
(click)="onDetailAction($event, selected)"
|
|
14155
|
+
[attr.aria-label]="detailActionText()"
|
|
14156
|
+
[matTooltip]="detailActionText()"
|
|
14157
|
+
>
|
|
14158
|
+
<mat-icon aria-hidden="true">open_in_new</mat-icon>
|
|
14159
|
+
</button>
|
|
14160
|
+
}
|
|
14161
|
+
@if (showChangeAction()) {
|
|
14162
|
+
<button
|
|
14163
|
+
type="button"
|
|
14164
|
+
class="pdx-lookup-icon-action"
|
|
14165
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
14166
|
+
(click)="onChangeAction($event)"
|
|
14167
|
+
[attr.aria-label]="changeActionText()"
|
|
14168
|
+
[matTooltip]="changeActionText()"
|
|
14169
|
+
>
|
|
14170
|
+
<mat-icon aria-hidden="true">manage_search</mat-icon>
|
|
14171
|
+
</button>
|
|
14172
|
+
}
|
|
14173
|
+
@if (showQuickClear()) {
|
|
14174
|
+
<button
|
|
14175
|
+
type="button"
|
|
14176
|
+
class="pdx-lookup-icon-action is-danger"
|
|
14177
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
14178
|
+
(click)="onQuickClear($event)"
|
|
14179
|
+
[attr.aria-label]="clearActionText()"
|
|
14180
|
+
[matTooltip]="clearActionText()"
|
|
14181
|
+
>
|
|
14182
|
+
<mat-icon aria-hidden="true">close</mat-icon>
|
|
14183
|
+
</button>
|
|
14184
|
+
}
|
|
14185
|
+
</span>
|
|
14186
|
+
</span>
|
|
13749
14187
|
} @else if (fullFieldLayout() && !multiple()) {
|
|
13750
14188
|
<span
|
|
13751
14189
|
class="pdx-lookup-empty-trigger"
|
|
@@ -13855,7 +14293,14 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13855
14293
|
>
|
|
13856
14294
|
@if (richLayoutEnabled()) {
|
|
13857
14295
|
@if (optionLookupView(option); as item) {
|
|
13858
|
-
<span
|
|
14296
|
+
<span
|
|
14297
|
+
class="pdx-lookup-option-row"
|
|
14298
|
+
[class.is-disabled]="option.disabled"
|
|
14299
|
+
[class.is-selected]="isSelected(option)"
|
|
14300
|
+
[class.is-directory]="displayPreset() === 'directory'"
|
|
14301
|
+
[class.is-reference]="displayPreset() === 'reference'"
|
|
14302
|
+
[class.is-status]="displayPreset() === 'status'"
|
|
14303
|
+
>
|
|
13859
14304
|
@if (showAvatar()) {
|
|
13860
14305
|
<span class="pdx-lookup-avatar" aria-hidden="true">{{ lookupInitials(item) }}</span>
|
|
13861
14306
|
}
|
|
@@ -13873,7 +14318,26 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13873
14318
|
<span class="pdx-lookup-option-heading">
|
|
13874
14319
|
<strong>{{ item.label }}</strong>
|
|
13875
14320
|
</span>
|
|
13876
|
-
@if (
|
|
14321
|
+
@if (item.richFields.length) {
|
|
14322
|
+
<span class="pdx-lookup-rich-fields">
|
|
14323
|
+
<span
|
|
14324
|
+
class="pdx-lookup-rich-field"
|
|
14325
|
+
*ngFor="let field of item.richFields"
|
|
14326
|
+
[class.is-chip]="field.presentation === 'chip' || field.presentation === 'date' || field.presentation === 'currency' || field.presentation === 'metric'"
|
|
14327
|
+
[class.is-badge]="field.presentation === 'badge'"
|
|
14328
|
+
[class.is-text]="field.presentation === 'text'"
|
|
14329
|
+
[ngClass]="richFieldToneClass(field)"
|
|
14330
|
+
>
|
|
14331
|
+
@if (field.icon) {
|
|
14332
|
+
<mat-icon aria-hidden="true">{{ field.icon }}</mat-icon>
|
|
14333
|
+
}
|
|
14334
|
+
@if (field.label && field.presentation === 'text') {
|
|
14335
|
+
<small>{{ field.label }}</small>
|
|
14336
|
+
}
|
|
14337
|
+
<span>{{ field.value }}</span>
|
|
14338
|
+
</span>
|
|
14339
|
+
</span>
|
|
14340
|
+
} @else if (showDescription() && item.description) {
|
|
13877
14341
|
<span class="pdx-lookup-description">{{ item.description }}</span>
|
|
13878
14342
|
}
|
|
13879
14343
|
@if (showDisabledReason() && item.selectionState !== 'selectable' && item.disabledReason) {
|
|
@@ -13896,6 +14360,11 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13896
14360
|
}
|
|
13897
14361
|
</span>
|
|
13898
14362
|
</span>
|
|
14363
|
+
@if (isSelected(option)) {
|
|
14364
|
+
<span class="pdx-lookup-option-check" aria-hidden="true">
|
|
14365
|
+
<mat-icon>check</mat-icon>
|
|
14366
|
+
</span>
|
|
14367
|
+
}
|
|
13899
14368
|
</span>
|
|
13900
14369
|
}
|
|
13901
14370
|
} @else {
|
|
@@ -13931,7 +14400,7 @@ class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
13931
14400
|
</mat-option>
|
|
13932
14401
|
</mat-select>
|
|
13933
14402
|
</mat-form-field>
|
|
13934
|
-
`, isInline: true, styles: [":host{display:inline-block;width:auto;min-width:0;max-width:100%}:host(.pdx-entity-lookup-host-block){display:block;width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-token-list{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.pdx-chip-token{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:2px 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent)}.pdx-chip-token-text{display:inline-block;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-chip-token-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;border:0;border-radius:6px;padding:0;background:transparent;color:inherit;cursor:pointer}.pdx-chip-token-remove:hover{background:color-mix(in srgb,currentColor 14%,transparent)}.pdx-chip-token-remove mat-icon{width:14px;height:14px;font-size:14px;line-height:1}.pdx-chip-token-overflow{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent);font-size:.75rem;font-weight:600}.pdx-panel-toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0 0}.pdx-panel-sort-control{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--md-sys-color-on-surface-variant)}.pdx-panel-sort-select{min-width:148px;min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:6px;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);padding:0 10px}.pdx-panel-filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pdx-panel-filter-chip,.pdx-panel-filter-clear{display:inline-flex;align-items:center;gap:4px;min-height:28px;border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);padding:0 10px;cursor:pointer}.pdx-panel-filter-chip mat-icon{width:14px;height:14px;font-size:14px}.pdx-panel-filter-clear{border-style:dashed}.pdx-panel-dialog-content{display:inline-flex;align-items:start;gap:8px}.pdx-panel-dialog-copy{display:grid;gap:2px}.pdx-panel-dialog-copy strong{font-size:.88rem;line-height:1.2}.pdx-panel-dialog-copy small{color:var(--md-sys-color-on-surface-variant);font-size:.74rem;line-height:1.25}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--md-sys-color-on-primary);background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-primary) 30%,transparent)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}.pdx-lookup-selected-card-trigger{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;max-width:none;min-height:116px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface);box-sizing:border-box;overflow:hidden}.pdx-lookup-selected-main{display:grid;gap:8px;min-width:0;padding:14px 14px 10px 0}.pdx-lookup-selected-meta,.pdx-lookup-option-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.pdx-lookup-selected-heading,.pdx-lookup-option-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;min-width:0}.pdx-lookup-selected-heading small,.pdx-lookup-option-heading small{border-radius:6px;padding:2px 6px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;line-height:1.2}.pdx-lookup-selected-heading strong,.pdx-lookup-option-heading strong{min-width:0;color:var(--md-sys-color-on-surface);font-size:1.08rem;line-height:1.3;font-weight:800;overflow-wrap:anywhere}.pdx-lookup-description{min-width:0;color:var(--md-sys-color-on-surface-variant);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.pdx-lookup-avatar{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;border-radius:8px;background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent);color:var(--md-sys-color-primary);font-size:.82rem;font-weight:800;line-height:1}.pdx-lookup-avatar-large{align-self:start;width:54px;height:54px;min-width:54px;margin:14px 0 0 14px}.pdx-lookup-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.pdx-lookup-badge,.pdx-lookup-disabled-reason{display:inline-flex;align-items:center;min-height:22px;border-radius:8px;padding:2px 8px;font-size:.73rem;font-weight:800;line-height:1.2}.pdx-lookup-badge.is-success{background:#dcfce7;color:#166534}.pdx-lookup-badge.is-warning{background:#fef3c7;color:#92400e}.pdx-lookup-badge.is-danger,.pdx-lookup-disabled-reason{background:#fee2e2;color:#991b1b}.pdx-lookup-badge.is-neutral{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.pdx-lookup-disabled-reason{font-style:italic;font-weight:600}.pdx-lookup-selected-note{display:grid;gap:2px;min-width:0;padding:8px 10px;border-radius:8px;border:1px solid transparent;font-size:.78rem;line-height:1.35}.pdx-lookup-selected-note strong{font-size:.72rem;line-height:1.2;text-transform:uppercase;letter-spacing:.02em}.pdx-lookup-selected-note.is-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.pdx-lookup-selected-note.is-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.pdx-lookup-selected-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid var(--md-sys-color-outline-variant);padding:10px 14px;background:var(--md-sys-color-surface-container)}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pdx-lookup-selected-actions-main{min-width:0;flex:1 1 auto}.pdx-lookup-selected-actions-danger{margin-left:auto}.pdx-lookup-action{min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;padding:0 10px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.pdx-lookup-action:hover{border-color:var(--md-sys-color-primary);color:var(--md-sys-color-primary)}.pdx-lookup-action.is-danger{margin-left:auto;border-color:transparent;color:#b91c1c}.pdx-lookup-empty-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 0;color:var(--md-sys-color-on-surface-variant);box-sizing:border-box}.pdx-lookup-empty-leading{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:8px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-primary)}.pdx-lookup-empty-trigger.is-dependency-pending .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-tertiary) 14%,var(--md-sys-color-surface-container-high));color:var(--md-sys-color-tertiary)}.pdx-lookup-empty-trigger.is-search-ready .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}.pdx-lookup-empty-leading mat-icon{width:18px;height:18px;font-size:18px;line-height:1}.pdx-lookup-empty-copy{display:grid;gap:4px;min-width:0;flex:1 1 auto}.pdx-lookup-empty-label{display:inline-flex;align-items:center;min-width:0;color:inherit;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-supporting,.pdx-lookup-empty-context{display:block;min-width:0;font-size:.82rem;line-height:1.3;color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-context{font-size:.75rem}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-tertiary) 58%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-primary) 46%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-entity-lookup-rich.mat-mdc-form-field,:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field{width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select{width:100%;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-flex{min-height:56px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:56px;border-radius:8px;overflow:hidden!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-trigger{width:min(760px,calc(100vw - 48px));max-width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline{display:flex}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline__notch{width:auto!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-infix{width:100%;min-height:56px;padding:0 14px 0 0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-arrow-wrapper{display:flex;margin-right:10px}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:flex;align-items:center;width:100%;min-height:54px;min-inline-size:0;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:100%;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{width:min(760px,calc(100vw - 48px));min-height:52px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{width:min(760px,calc(100vw - 48px));min-height:52px;border-radius:8px;background:var(--md-sys-color-surface-container-low)}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel{min-width:min(420px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;max-height:min(60vh,460px)!important;padding:6px 0!important;border-radius:8px!important;overflow:hidden!important;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel{border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option{min-height:52px;padding-inline:18px;font-size:1rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-main{display:block;font-size:1rem;font-weight:500;line-height:1.25}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-secondary{display:block;margin-top:2px;font-size:.82rem;line-height:1.2;color:var(--md-sys-color-on-surface-variant);opacity:.9}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-icon{width:18px;height:18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-result-count{color:var(--md-sys-color-on-surface-variant);font-size:.78rem;white-space:nowrap}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;padding:8px 0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-disabled{opacity:.68}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-body{display:grid;gap:5px;min-width:0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-option{min-height:44px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;color:var(--md-sys-color-primary)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content mat-icon{width:16px;height:16px;font-size:16px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-load-more .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-end-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-empty-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-loading-option .mdc-list-item__primary-text{font-size:.92rem;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text{color:var(--md-sys-color-error)}::ng-deep .pdx-inline-entity-lookup-panel .mdc-list-item--selected{background:var(--md-sys-color-surface-container-high)}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}.pdx-lookup-selected-card-trigger{width:100%;min-height:auto;grid-template-columns:minmax(0,1fr)}.pdx-lookup-avatar-large{width:46px;height:46px;min-width:46px;margin:12px 0 0 12px}.pdx-lookup-selected-main{gap:6px;padding:0 12px 10px}.pdx-lookup-selected-heading strong{font-size:1rem;line-height:1.25}.pdx-lookup-description{font-size:.82rem;line-height:1.3}.pdx-lookup-selected-actions{gap:10px;justify-content:flex-start;padding:8px 12px 12px}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{width:100%}.pdx-lookup-selected-actions-main .pdx-lookup-action{flex:1 1 calc(50% - 4px);text-align:center}.pdx-lookup-selected-actions-danger{margin-left:0}.pdx-lookup-selected-actions-danger .pdx-lookup-action{width:100%;text-align:center}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
14403
|
+
`, isInline: true, styles: [":host{display:inline-block;width:auto;min-width:0;max-width:100%}:host(.pdx-entity-lookup-host-block){display:block;width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-token-list{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.pdx-chip-token{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:2px 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent)}.pdx-chip-token-text{display:inline-block;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-chip-token-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;border:0;border-radius:6px;padding:0;background:transparent;color:inherit;cursor:pointer}.pdx-chip-token-remove:hover{background:color-mix(in srgb,currentColor 14%,transparent)}.pdx-chip-token-remove mat-icon{width:14px;height:14px;font-size:14px;line-height:1}.pdx-chip-token-overflow{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent);font-size:.75rem;font-weight:600}.pdx-panel-toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0 0}.pdx-panel-sort-control{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--md-sys-color-on-surface-variant)}.pdx-panel-sort-select{min-width:148px;min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:6px;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);padding:0 10px}.pdx-panel-filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pdx-panel-filter-chip,.pdx-panel-filter-clear{display:inline-flex;align-items:center;gap:4px;min-height:28px;border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);padding:0 10px;cursor:pointer}.pdx-panel-filter-chip mat-icon{width:14px;height:14px;font-size:14px}.pdx-panel-filter-clear{border-style:dashed}.pdx-panel-dialog-content{display:inline-flex;align-items:start;gap:8px}.pdx-panel-dialog-copy{display:grid;gap:2px}.pdx-panel-dialog-copy strong{font-size:.88rem;line-height:1.2}.pdx-panel-dialog-copy small{color:var(--md-sys-color-on-surface-variant);font-size:.74rem;line-height:1.25}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--md-sys-color-on-primary);background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-primary) 30%,transparent)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}.pdx-lookup-selected-card-trigger{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;max-width:none;min-height:116px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface);box-sizing:border-box;overflow:hidden}.pdx-lookup-selected-main{display:grid;gap:8px;min-width:0;padding:14px 14px 10px 0}.pdx-lookup-selected-meta,.pdx-lookup-option-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.pdx-lookup-selected-heading,.pdx-lookup-option-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;min-width:0}.pdx-lookup-selected-heading small,.pdx-lookup-option-heading small{border-radius:6px;padding:2px 6px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;line-height:1.2}.pdx-lookup-selected-heading strong,.pdx-lookup-option-heading strong{min-width:0;color:var(--md-sys-color-on-surface);font-size:1.08rem;line-height:1.3;font-weight:800;overflow-wrap:anywhere}.pdx-lookup-description{min-width:0;color:var(--md-sys-color-on-surface-variant);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.pdx-lookup-rich-fields{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.pdx-lookup-rich-fields.is-compact{gap:5px;overflow:hidden;max-height:26px}.pdx-lookup-rich-field{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;color:var(--md-sys-color-on-surface-variant);font-size:.8rem;line-height:1.25}.pdx-lookup-rich-field mat-icon{width:14px;height:14px;min-width:14px;font-size:14px;line-height:1}.pdx-lookup-rich-field span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-lookup-rich-field small{color:var(--md-sys-color-on-surface-variant);font-size:.72rem;line-height:1}.pdx-lookup-rich-field.is-chip,.pdx-lookup-rich-field.is-badge{min-height:24px;border-radius:999px;padding:2px 8px;border:1px solid transparent;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font-weight:650}.pdx-lookup-rich-field.is-badge{border-radius:8px;font-weight:780}.pdx-lookup-rich-field.is-success{background:#dcfce7;color:#166534}.pdx-lookup-rich-field.is-info{background:color-mix(in srgb,var(--md-sys-color-primary) 14%,var(--md-sys-color-surface-container-high));color:var(--md-sys-color-primary)}.pdx-lookup-rich-field.is-warning{background:#fef3c7;color:#92400e}.pdx-lookup-rich-field.is-danger{background:#fee2e2;color:#991b1b}.pdx-lookup-avatar{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;border-radius:8px;background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent);color:var(--md-sys-color-primary);font-size:.82rem;font-weight:800;line-height:1}.pdx-lookup-avatar-large{align-self:start;width:54px;height:54px;min-width:54px;margin:14px 0 0 14px}.pdx-lookup-avatar-compact{width:32px;height:32px;min-width:32px;border-radius:8px;font-size:.72rem}.pdx-lookup-selected-compact-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:56px;max-width:none;padding:6px 0;color:var(--md-sys-color-on-surface);box-sizing:border-box;overflow:hidden}.pdx-lookup-selected-compact-main{display:grid;gap:2px;min-width:0}.pdx-lookup-selected-compact-heading{display:flex;align-items:center;gap:8px;min-width:0}.pdx-lookup-selected-compact-heading strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-sys-color-on-surface);font-size:.98rem;font-weight:700;line-height:1.25}.pdx-lookup-selected-compact-description{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-sys-color-on-surface-variant);font-size:.8rem;line-height:1.25}.pdx-lookup-selected-compact-actions{display:inline-flex;align-items:center;gap:2px;min-width:max-content}.pdx-lookup-icon-action{display:inline-grid;place-items:center;width:30px;height:30px;min-width:30px;border:0;border-radius:50%;padding:0;background:transparent;color:var(--md-sys-color-on-surface-variant);cursor:pointer}.pdx-lookup-icon-action:hover{background:color-mix(in srgb,var(--md-sys-color-primary) 10%,transparent);color:var(--md-sys-color-primary)}.pdx-lookup-icon-action.is-danger:hover{background:#fee2e2;color:#b91c1c}.pdx-lookup-icon-action mat-icon{width:18px;height:18px;font-size:18px;line-height:1}.pdx-lookup-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.pdx-lookup-badge,.pdx-lookup-disabled-reason{display:inline-flex;align-items:center;min-height:22px;border-radius:8px;padding:2px 8px;font-size:.73rem;font-weight:800;line-height:1.2}.pdx-lookup-badge.is-success{background:#dcfce7;color:#166534}.pdx-lookup-badge.is-warning{background:#fef3c7;color:#92400e}.pdx-lookup-badge.is-danger,.pdx-lookup-disabled-reason{background:#fee2e2;color:#991b1b}.pdx-lookup-badge.is-neutral{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.pdx-lookup-disabled-reason{font-style:italic;font-weight:600}.pdx-lookup-selected-note{display:grid;gap:2px;min-width:0;padding:8px 10px;border-radius:8px;border:1px solid transparent;font-size:.78rem;line-height:1.35}.pdx-lookup-selected-note strong{font-size:.72rem;line-height:1.2;text-transform:uppercase;letter-spacing:.02em}.pdx-lookup-selected-note.is-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.pdx-lookup-selected-note.is-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.pdx-lookup-selected-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid var(--md-sys-color-outline-variant);padding:10px 14px;background:var(--md-sys-color-surface-container)}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pdx-lookup-selected-actions-main{min-width:0;flex:1 1 auto}.pdx-lookup-selected-actions-danger{margin-left:auto}.pdx-lookup-action{min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;padding:0 10px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.pdx-lookup-action:hover{border-color:var(--md-sys-color-primary);color:var(--md-sys-color-primary)}.pdx-lookup-action.is-danger{margin-left:auto;border-color:transparent;color:#b91c1c}.pdx-lookup-empty-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 0;color:var(--md-sys-color-on-surface-variant);box-sizing:border-box}.pdx-lookup-empty-leading{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:8px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-primary)}.pdx-lookup-empty-trigger.is-dependency-pending .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-tertiary) 14%,var(--md-sys-color-surface-container-high));color:var(--md-sys-color-tertiary)}.pdx-lookup-empty-trigger.is-search-ready .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}.pdx-lookup-empty-leading mat-icon{width:18px;height:18px;font-size:18px;line-height:1}.pdx-lookup-empty-copy{display:grid;gap:4px;min-width:0;flex:1 1 auto}.pdx-lookup-empty-label{display:inline-flex;align-items:center;min-width:0;color:inherit;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-supporting,.pdx-lookup-empty-context{display:block;min-width:0;font-size:.82rem;line-height:1.3;color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-context{font-size:.75rem}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-tertiary) 58%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-primary) 46%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-entity-lookup-rich.mat-mdc-form-field,:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field{width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select{--pdx-entity-lookup-arrow-zone: 40px;width:100%;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-flex{min-height:56px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:56px;border-radius:8px;overflow:hidden!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-trigger{width:100%;max-width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline{display:flex}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline__notch{width:auto!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-infix{width:100%;min-height:56px;padding:0 14px 0 0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-arrow-wrapper{display:flex;justify-content:center;width:var(--pdx-entity-lookup-arrow-zone);min-width:var(--pdx-entity-lookup-arrow-zone);margin-right:0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-value{width:calc(100% - var(--pdx-entity-lookup-arrow-zone));max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:flex;align-items:center;width:100%;min-height:54px;min-inline-size:0;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{width:100%;min-height:52px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{width:100%;min-inline-size:0;max-width:none;min-height:52px;padding-right:12px;border-radius:8px;background:var(--md-sys-color-surface-container-low)}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel:not(.pdx-entity-lookup-panel)){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:8px!important;overflow:hidden!important}::ng-deep .cdk-overlay-pane:has(.pdx-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important;min-width:0!important;max-width:calc(100vw - 24px)!important;border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel{max-height:min(60vh,460px)!important;padding:6px 0!important;border-radius:8px!important;overflow:hidden!important;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .pdx-inline-entity-lookup-panel:not(.pdx-entity-lookup-panel){min-width:min(420px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important}::ng-deep .pdx-inline-entity-lookup-panel.pdx-entity-lookup-panel{min-width:0!important;width:100%!important;max-width:100%!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel{border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option{min-height:58px;padding-inline:14px;font-size:1rem}::ng-deep .pdx-inline-entity-lookup-panel.pdx-entity-lookup-panel .mat-mdc-option{min-height:64px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-main{display:block;font-size:1rem;font-weight:500;line-height:1.25}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-secondary{display:block;margin-top:2px;font-size:.82rem;line-height:1.2;color:var(--md-sys-color-on-surface-variant);opacity:.9}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%;min-width:0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-icon{width:18px;height:18px;flex:0 0 18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input{flex:1 1 auto;width:auto;min-width:0;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-result-count{flex:0 0 auto;color:var(--md-sys-color-on-surface-variant);font-size:.78rem;white-space:nowrap}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0;padding:8px 0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-directory{padding:9px 0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-reference{grid-template-columns:minmax(0,1fr) auto}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-disabled{opacity:.68}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-selected{color:var(--md-sys-color-on-surface)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-body{display:grid;gap:6px;min-width:0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-avatar{width:38px;height:38px;min-width:38px;border-radius:8px;font-size:.76rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-heading{gap:6px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-heading strong{font-size:.98rem;line-height:1.22;font-weight:760}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-fields{gap:5px;flex-wrap:nowrap;max-height:24px;overflow:hidden}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-field{font-size:.78rem;line-height:1.18}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-field.is-chip,::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-field.is-badge{min-height:22px;padding:2px 7px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-check{display:inline-grid;place-items:center;width:28px;height:28px;min-width:28px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent);color:var(--md-sys-color-primary)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-check mat-icon{width:18px;height:18px;font-size:18px;line-height:1}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option.mdc-list-item--selected{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-option{min-height:44px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;color:var(--md-sys-color-primary)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content mat-icon{width:16px;height:16px;font-size:16px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-load-more .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-end-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-empty-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-loading-option .mdc-list-item__primary-text{font-size:.92rem;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text{color:var(--md-sys-color-error)}::ng-deep .pdx-inline-entity-lookup-panel .mdc-list-item--selected{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}.pdx-lookup-selected-card-trigger{width:100%;min-height:auto;grid-template-columns:minmax(0,1fr)}.pdx-lookup-avatar-large{width:46px;height:46px;min-width:46px;margin:12px 0 0 12px}.pdx-lookup-selected-main{gap:6px;padding:0 12px 10px}.pdx-lookup-selected-heading strong{font-size:1rem;line-height:1.25}.pdx-lookup-description{font-size:.82rem;line-height:1.3}.pdx-lookup-selected-actions{gap:10px;justify-content:flex-start;padding:8px 12px 12px}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{width:100%}.pdx-lookup-selected-actions-main .pdx-lookup-action{flex:1 1 calc(50% - 4px);text-align:center}.pdx-lookup-selected-actions-danger{margin-left:0}.pdx-lookup-selected-actions-danger .pdx-lookup-action{width:100%;text-align:center}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
13935
14404
|
}
|
|
13936
14405
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: InlineEntityLookupComponent, decorators: [{
|
|
13937
14406
|
type: Component,
|
|
@@ -13962,7 +14431,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
13962
14431
|
>
|
|
13963
14432
|
<mat-select
|
|
13964
14433
|
class="pdx-inline-entity-lookup-control"
|
|
13965
|
-
[panelClass]="
|
|
14434
|
+
[panelClass]="selectPanelClasses()"
|
|
13966
14435
|
[placeholder]="placeholderText()"
|
|
13967
14436
|
[errorStateMatcher]="errorStateMatcher()"
|
|
13968
14437
|
[formControl]="control()"
|
|
@@ -13975,8 +14444,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
13975
14444
|
(openedChange)="onOpenedChange($event)"
|
|
13976
14445
|
>
|
|
13977
14446
|
@if (searchable()) {
|
|
13978
|
-
<
|
|
13979
|
-
|
|
14447
|
+
<div
|
|
14448
|
+
class="pdx-panel-search-option"
|
|
14449
|
+
role="presentation"
|
|
14450
|
+
(mousedown)="$event.stopPropagation()"
|
|
14451
|
+
(click)="$event.stopPropagation()"
|
|
14452
|
+
>
|
|
14453
|
+
<div class="pdx-panel-search-row">
|
|
13980
14454
|
<mat-icon
|
|
13981
14455
|
class="pdx-panel-search-icon"
|
|
13982
14456
|
aria-hidden="true"
|
|
@@ -14000,7 +14474,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14000
14474
|
}
|
|
14001
14475
|
</div>
|
|
14002
14476
|
@if (showLookupToolbar()) {
|
|
14003
|
-
<div class="pdx-panel-toolbar-row"
|
|
14477
|
+
<div class="pdx-panel-toolbar-row">
|
|
14004
14478
|
@if (showLookupSortControl()) {
|
|
14005
14479
|
<label class="pdx-panel-sort-control">
|
|
14006
14480
|
<span>{{ sortLabelText() }}</span>
|
|
@@ -14042,7 +14516,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14042
14516
|
}
|
|
14043
14517
|
</div>
|
|
14044
14518
|
}
|
|
14045
|
-
</
|
|
14519
|
+
</div>
|
|
14046
14520
|
}
|
|
14047
14521
|
|
|
14048
14522
|
@if (showDialogOption()) {
|
|
@@ -14092,7 +14566,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14092
14566
|
<span class="pdx-lookup-selected-heading">
|
|
14093
14567
|
<strong>{{ selected.label }}</strong>
|
|
14094
14568
|
</span>
|
|
14095
|
-
@if (
|
|
14569
|
+
@if (selected.richFields.length) {
|
|
14570
|
+
<span class="pdx-lookup-rich-fields">
|
|
14571
|
+
<span
|
|
14572
|
+
class="pdx-lookup-rich-field"
|
|
14573
|
+
*ngFor="let field of selected.richFields"
|
|
14574
|
+
[class.is-chip]="field.presentation === 'chip' || field.presentation === 'date' || field.presentation === 'currency' || field.presentation === 'metric'"
|
|
14575
|
+
[class.is-badge]="field.presentation === 'badge'"
|
|
14576
|
+
[class.is-text]="field.presentation === 'text'"
|
|
14577
|
+
[ngClass]="richFieldToneClass(field)"
|
|
14578
|
+
>
|
|
14579
|
+
@if (field.icon) {
|
|
14580
|
+
<mat-icon aria-hidden="true">{{ field.icon }}</mat-icon>
|
|
14581
|
+
}
|
|
14582
|
+
@if (field.label && field.presentation === 'text') {
|
|
14583
|
+
<small>{{ field.label }}</small>
|
|
14584
|
+
}
|
|
14585
|
+
<span>{{ field.value }}</span>
|
|
14586
|
+
</span>
|
|
14587
|
+
</span>
|
|
14588
|
+
} @else if (showDescription() && selected.description) {
|
|
14096
14589
|
<span class="pdx-lookup-description">{{ selected.description }}</span>
|
|
14097
14590
|
}
|
|
14098
14591
|
@if (showDisabledReason() && selected.selectionState !== 'selectable' && selected.disabledReason) {
|
|
@@ -14161,6 +14654,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14161
14654
|
}
|
|
14162
14655
|
</span>
|
|
14163
14656
|
</span>
|
|
14657
|
+
} @else if (selectedCompactLayout() && selectedLookupView(); as selected) {
|
|
14658
|
+
<span class="pdx-lookup-selected-compact-trigger">
|
|
14659
|
+
@if (showAvatar()) {
|
|
14660
|
+
<span class="pdx-lookup-avatar pdx-lookup-avatar-compact" aria-hidden="true">
|
|
14661
|
+
{{ lookupInitials(selected) }}
|
|
14662
|
+
</span>
|
|
14663
|
+
}
|
|
14664
|
+
<span class="pdx-lookup-selected-compact-main">
|
|
14665
|
+
<span class="pdx-lookup-selected-compact-heading">
|
|
14666
|
+
<strong>{{ selected.label }}</strong>
|
|
14667
|
+
@if (showStatus() && selected.status) {
|
|
14668
|
+
<span class="pdx-lookup-badge" [ngClass]="statusBadgeClass(selected)">
|
|
14669
|
+
{{ selected.status }}
|
|
14670
|
+
</span>
|
|
14671
|
+
}
|
|
14672
|
+
</span>
|
|
14673
|
+
@if (selected.richFields.length) {
|
|
14674
|
+
<span class="pdx-lookup-rich-fields is-compact">
|
|
14675
|
+
<span
|
|
14676
|
+
class="pdx-lookup-rich-field"
|
|
14677
|
+
*ngFor="let field of selected.richFields"
|
|
14678
|
+
[class.is-chip]="field.presentation === 'chip' || field.presentation === 'date' || field.presentation === 'currency' || field.presentation === 'metric'"
|
|
14679
|
+
[class.is-badge]="field.presentation === 'badge'"
|
|
14680
|
+
[class.is-text]="field.presentation === 'text'"
|
|
14681
|
+
[ngClass]="richFieldToneClass(field)"
|
|
14682
|
+
>
|
|
14683
|
+
@if (field.icon) {
|
|
14684
|
+
<mat-icon aria-hidden="true">{{ field.icon }}</mat-icon>
|
|
14685
|
+
}
|
|
14686
|
+
<span>{{ field.value }}</span>
|
|
14687
|
+
</span>
|
|
14688
|
+
</span>
|
|
14689
|
+
} @else if (showDescription() && selected.description) {
|
|
14690
|
+
<span class="pdx-lookup-selected-compact-description">
|
|
14691
|
+
{{ selected.description }}
|
|
14692
|
+
</span>
|
|
14693
|
+
}
|
|
14694
|
+
</span>
|
|
14695
|
+
<span class="pdx-lookup-selected-compact-actions">
|
|
14696
|
+
@if (showDetailAction(selected)) {
|
|
14697
|
+
<button
|
|
14698
|
+
type="button"
|
|
14699
|
+
class="pdx-lookup-icon-action"
|
|
14700
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
14701
|
+
(click)="onDetailAction($event, selected)"
|
|
14702
|
+
[attr.aria-label]="detailActionText()"
|
|
14703
|
+
[matTooltip]="detailActionText()"
|
|
14704
|
+
>
|
|
14705
|
+
<mat-icon aria-hidden="true">open_in_new</mat-icon>
|
|
14706
|
+
</button>
|
|
14707
|
+
}
|
|
14708
|
+
@if (showChangeAction()) {
|
|
14709
|
+
<button
|
|
14710
|
+
type="button"
|
|
14711
|
+
class="pdx-lookup-icon-action"
|
|
14712
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
14713
|
+
(click)="onChangeAction($event)"
|
|
14714
|
+
[attr.aria-label]="changeActionText()"
|
|
14715
|
+
[matTooltip]="changeActionText()"
|
|
14716
|
+
>
|
|
14717
|
+
<mat-icon aria-hidden="true">manage_search</mat-icon>
|
|
14718
|
+
</button>
|
|
14719
|
+
}
|
|
14720
|
+
@if (showQuickClear()) {
|
|
14721
|
+
<button
|
|
14722
|
+
type="button"
|
|
14723
|
+
class="pdx-lookup-icon-action is-danger"
|
|
14724
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
14725
|
+
(click)="onQuickClear($event)"
|
|
14726
|
+
[attr.aria-label]="clearActionText()"
|
|
14727
|
+
[matTooltip]="clearActionText()"
|
|
14728
|
+
>
|
|
14729
|
+
<mat-icon aria-hidden="true">close</mat-icon>
|
|
14730
|
+
</button>
|
|
14731
|
+
}
|
|
14732
|
+
</span>
|
|
14733
|
+
</span>
|
|
14164
14734
|
} @else if (fullFieldLayout() && !multiple()) {
|
|
14165
14735
|
<span
|
|
14166
14736
|
class="pdx-lookup-empty-trigger"
|
|
@@ -14270,7 +14840,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14270
14840
|
>
|
|
14271
14841
|
@if (richLayoutEnabled()) {
|
|
14272
14842
|
@if (optionLookupView(option); as item) {
|
|
14273
|
-
<span
|
|
14843
|
+
<span
|
|
14844
|
+
class="pdx-lookup-option-row"
|
|
14845
|
+
[class.is-disabled]="option.disabled"
|
|
14846
|
+
[class.is-selected]="isSelected(option)"
|
|
14847
|
+
[class.is-directory]="displayPreset() === 'directory'"
|
|
14848
|
+
[class.is-reference]="displayPreset() === 'reference'"
|
|
14849
|
+
[class.is-status]="displayPreset() === 'status'"
|
|
14850
|
+
>
|
|
14274
14851
|
@if (showAvatar()) {
|
|
14275
14852
|
<span class="pdx-lookup-avatar" aria-hidden="true">{{ lookupInitials(item) }}</span>
|
|
14276
14853
|
}
|
|
@@ -14288,7 +14865,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14288
14865
|
<span class="pdx-lookup-option-heading">
|
|
14289
14866
|
<strong>{{ item.label }}</strong>
|
|
14290
14867
|
</span>
|
|
14291
|
-
@if (
|
|
14868
|
+
@if (item.richFields.length) {
|
|
14869
|
+
<span class="pdx-lookup-rich-fields">
|
|
14870
|
+
<span
|
|
14871
|
+
class="pdx-lookup-rich-field"
|
|
14872
|
+
*ngFor="let field of item.richFields"
|
|
14873
|
+
[class.is-chip]="field.presentation === 'chip' || field.presentation === 'date' || field.presentation === 'currency' || field.presentation === 'metric'"
|
|
14874
|
+
[class.is-badge]="field.presentation === 'badge'"
|
|
14875
|
+
[class.is-text]="field.presentation === 'text'"
|
|
14876
|
+
[ngClass]="richFieldToneClass(field)"
|
|
14877
|
+
>
|
|
14878
|
+
@if (field.icon) {
|
|
14879
|
+
<mat-icon aria-hidden="true">{{ field.icon }}</mat-icon>
|
|
14880
|
+
}
|
|
14881
|
+
@if (field.label && field.presentation === 'text') {
|
|
14882
|
+
<small>{{ field.label }}</small>
|
|
14883
|
+
}
|
|
14884
|
+
<span>{{ field.value }}</span>
|
|
14885
|
+
</span>
|
|
14886
|
+
</span>
|
|
14887
|
+
} @else if (showDescription() && item.description) {
|
|
14292
14888
|
<span class="pdx-lookup-description">{{ item.description }}</span>
|
|
14293
14889
|
}
|
|
14294
14890
|
@if (showDisabledReason() && item.selectionState !== 'selectable' && item.disabledReason) {
|
|
@@ -14311,6 +14907,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14311
14907
|
}
|
|
14312
14908
|
</span>
|
|
14313
14909
|
</span>
|
|
14910
|
+
@if (isSelected(option)) {
|
|
14911
|
+
<span class="pdx-lookup-option-check" aria-hidden="true">
|
|
14912
|
+
<mat-icon>check</mat-icon>
|
|
14913
|
+
</span>
|
|
14914
|
+
}
|
|
14314
14915
|
</span>
|
|
14315
14916
|
}
|
|
14316
14917
|
} @else {
|
|
@@ -14361,10 +14962,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
14361
14962
|
'[attr.aria-hidden]': 'visible ? null : "true"',
|
|
14362
14963
|
'[style.width]': 'fullFieldLayout() ? "100%" : "auto"',
|
|
14363
14964
|
'[style.maxWidth]': '"100%"',
|
|
14364
|
-
'[attr.data-field-type]': '"inlineEntityLookup"',
|
|
14965
|
+
'[attr.data-field-type]': 'fullFieldLayout() ? "entityLookup" : "inlineEntityLookup"',
|
|
14365
14966
|
'[attr.data-field-name]': 'metadata()?.name',
|
|
14366
14967
|
'[attr.data-component-id]': 'componentId()',
|
|
14367
|
-
}, styles: [":host{display:inline-block;width:auto;min-width:0;max-width:100%}:host(.pdx-entity-lookup-host-block){display:block;width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-token-list{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.pdx-chip-token{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:2px 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent)}.pdx-chip-token-text{display:inline-block;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-chip-token-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;border:0;border-radius:6px;padding:0;background:transparent;color:inherit;cursor:pointer}.pdx-chip-token-remove:hover{background:color-mix(in srgb,currentColor 14%,transparent)}.pdx-chip-token-remove mat-icon{width:14px;height:14px;font-size:14px;line-height:1}.pdx-chip-token-overflow{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent);font-size:.75rem;font-weight:600}.pdx-panel-toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0 0}.pdx-panel-sort-control{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--md-sys-color-on-surface-variant)}.pdx-panel-sort-select{min-width:148px;min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:6px;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);padding:0 10px}.pdx-panel-filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pdx-panel-filter-chip,.pdx-panel-filter-clear{display:inline-flex;align-items:center;gap:4px;min-height:28px;border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);padding:0 10px;cursor:pointer}.pdx-panel-filter-chip mat-icon{width:14px;height:14px;font-size:14px}.pdx-panel-filter-clear{border-style:dashed}.pdx-panel-dialog-content{display:inline-flex;align-items:start;gap:8px}.pdx-panel-dialog-copy{display:grid;gap:2px}.pdx-panel-dialog-copy strong{font-size:.88rem;line-height:1.2}.pdx-panel-dialog-copy small{color:var(--md-sys-color-on-surface-variant);font-size:.74rem;line-height:1.25}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--md-sys-color-on-primary);background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-primary) 30%,transparent)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}.pdx-lookup-selected-card-trigger{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;max-width:none;min-height:116px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface);box-sizing:border-box;overflow:hidden}.pdx-lookup-selected-main{display:grid;gap:8px;min-width:0;padding:14px 14px 10px 0}.pdx-lookup-selected-meta,.pdx-lookup-option-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.pdx-lookup-selected-heading,.pdx-lookup-option-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;min-width:0}.pdx-lookup-selected-heading small,.pdx-lookup-option-heading small{border-radius:6px;padding:2px 6px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;line-height:1.2}.pdx-lookup-selected-heading strong,.pdx-lookup-option-heading strong{min-width:0;color:var(--md-sys-color-on-surface);font-size:1.08rem;line-height:1.3;font-weight:800;overflow-wrap:anywhere}.pdx-lookup-description{min-width:0;color:var(--md-sys-color-on-surface-variant);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.pdx-lookup-avatar{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;border-radius:8px;background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent);color:var(--md-sys-color-primary);font-size:.82rem;font-weight:800;line-height:1}.pdx-lookup-avatar-large{align-self:start;width:54px;height:54px;min-width:54px;margin:14px 0 0 14px}.pdx-lookup-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.pdx-lookup-badge,.pdx-lookup-disabled-reason{display:inline-flex;align-items:center;min-height:22px;border-radius:8px;padding:2px 8px;font-size:.73rem;font-weight:800;line-height:1.2}.pdx-lookup-badge.is-success{background:#dcfce7;color:#166534}.pdx-lookup-badge.is-warning{background:#fef3c7;color:#92400e}.pdx-lookup-badge.is-danger,.pdx-lookup-disabled-reason{background:#fee2e2;color:#991b1b}.pdx-lookup-badge.is-neutral{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.pdx-lookup-disabled-reason{font-style:italic;font-weight:600}.pdx-lookup-selected-note{display:grid;gap:2px;min-width:0;padding:8px 10px;border-radius:8px;border:1px solid transparent;font-size:.78rem;line-height:1.35}.pdx-lookup-selected-note strong{font-size:.72rem;line-height:1.2;text-transform:uppercase;letter-spacing:.02em}.pdx-lookup-selected-note.is-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.pdx-lookup-selected-note.is-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.pdx-lookup-selected-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid var(--md-sys-color-outline-variant);padding:10px 14px;background:var(--md-sys-color-surface-container)}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pdx-lookup-selected-actions-main{min-width:0;flex:1 1 auto}.pdx-lookup-selected-actions-danger{margin-left:auto}.pdx-lookup-action{min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;padding:0 10px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.pdx-lookup-action:hover{border-color:var(--md-sys-color-primary);color:var(--md-sys-color-primary)}.pdx-lookup-action.is-danger{margin-left:auto;border-color:transparent;color:#b91c1c}.pdx-lookup-empty-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 0;color:var(--md-sys-color-on-surface-variant);box-sizing:border-box}.pdx-lookup-empty-leading{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:8px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-primary)}.pdx-lookup-empty-trigger.is-dependency-pending .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-tertiary) 14%,var(--md-sys-color-surface-container-high));color:var(--md-sys-color-tertiary)}.pdx-lookup-empty-trigger.is-search-ready .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}.pdx-lookup-empty-leading mat-icon{width:18px;height:18px;font-size:18px;line-height:1}.pdx-lookup-empty-copy{display:grid;gap:4px;min-width:0;flex:1 1 auto}.pdx-lookup-empty-label{display:inline-flex;align-items:center;min-width:0;color:inherit;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-supporting,.pdx-lookup-empty-context{display:block;min-width:0;font-size:.82rem;line-height:1.3;color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-context{font-size:.75rem}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-tertiary) 58%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-primary) 46%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-entity-lookup-rich.mat-mdc-form-field,:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field{width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select{width:100%;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-flex{min-height:56px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:56px;border-radius:8px;overflow:hidden!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-trigger{width:min(760px,calc(100vw - 48px));max-width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline{display:flex}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline__notch{width:auto!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-infix{width:100%;min-height:56px;padding:0 14px 0 0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-arrow-wrapper{display:flex;margin-right:10px}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:flex;align-items:center;width:100%;min-height:54px;min-inline-size:0;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:100%;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{width:min(760px,calc(100vw - 48px));min-height:52px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{width:min(760px,calc(100vw - 48px));min-height:52px;border-radius:8px;background:var(--md-sys-color-surface-container-low)}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel{min-width:min(420px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;max-height:min(60vh,460px)!important;padding:6px 0!important;border-radius:8px!important;overflow:hidden!important;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel{border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option{min-height:52px;padding-inline:18px;font-size:1rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-main{display:block;font-size:1rem;font-weight:500;line-height:1.25}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-secondary{display:block;margin-top:2px;font-size:.82rem;line-height:1.2;color:var(--md-sys-color-on-surface-variant);opacity:.9}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-icon{width:18px;height:18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-result-count{color:var(--md-sys-color-on-surface-variant);font-size:.78rem;white-space:nowrap}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;padding:8px 0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-disabled{opacity:.68}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-body{display:grid;gap:5px;min-width:0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-option{min-height:44px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;color:var(--md-sys-color-primary)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content mat-icon{width:16px;height:16px;font-size:16px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-load-more .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-end-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-empty-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-loading-option .mdc-list-item__primary-text{font-size:.92rem;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text{color:var(--md-sys-color-error)}::ng-deep .pdx-inline-entity-lookup-panel .mdc-list-item--selected{background:var(--md-sys-color-surface-container-high)}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}.pdx-lookup-selected-card-trigger{width:100%;min-height:auto;grid-template-columns:minmax(0,1fr)}.pdx-lookup-avatar-large{width:46px;height:46px;min-width:46px;margin:12px 0 0 12px}.pdx-lookup-selected-main{gap:6px;padding:0 12px 10px}.pdx-lookup-selected-heading strong{font-size:1rem;line-height:1.25}.pdx-lookup-description{font-size:.82rem;line-height:1.3}.pdx-lookup-selected-actions{gap:10px;justify-content:flex-start;padding:8px 12px 12px}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{width:100%}.pdx-lookup-selected-actions-main .pdx-lookup-action{flex:1 1 calc(50% - 4px);text-align:center}.pdx-lookup-selected-actions-danger{margin-left:0}.pdx-lookup-selected-actions-danger .pdx-lookup-action{width:100%;text-align:center}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"] }]
|
|
14968
|
+
}, styles: [":host{display:inline-block;width:auto;min-width:0;max-width:100%}:host(.pdx-entity-lookup-host-block){display:block;width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-token-list{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}.pdx-chip-token{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:2px 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent)}.pdx-chip-token-text{display:inline-block;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-chip-token-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;border:0;border-radius:6px;padding:0;background:transparent;color:inherit;cursor:pointer}.pdx-chip-token-remove:hover{background:color-mix(in srgb,currentColor 14%,transparent)}.pdx-chip-token-remove mat-icon{width:14px;height:14px;font-size:14px;line-height:1}.pdx-chip-token-overflow{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:6px;background:color-mix(in srgb,currentColor 12%,transparent);font-size:.75rem;font-weight:600}.pdx-panel-toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0 0}.pdx-panel-sort-control{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--md-sys-color-on-surface-variant)}.pdx-panel-sort-select{min-width:148px;min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:6px;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);padding:0 10px}.pdx-panel-filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pdx-panel-filter-chip,.pdx-panel-filter-clear{display:inline-flex;align-items:center;gap:4px;min-height:28px;border:1px solid var(--md-sys-color-outline-variant);border-radius:999px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);padding:0 10px;cursor:pointer}.pdx-panel-filter-chip mat-icon{width:14px;height:14px;font-size:14px}.pdx-panel-filter-clear{border-style:dashed}.pdx-panel-dialog-content{display:inline-flex;align-items:start;gap:8px}.pdx-panel-dialog-copy{display:grid;gap:2px}.pdx-panel-dialog-copy strong{font-size:.88rem;line-height:1.2}.pdx-panel-dialog-copy small{color:var(--md-sys-color-on-surface-variant);font-size:.74rem;line-height:1.25}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--md-sys-color-on-primary);background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-primary) 30%,transparent)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}.pdx-lookup-selected-card-trigger{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;max-width:none;min-height:116px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface);box-sizing:border-box;overflow:hidden}.pdx-lookup-selected-main{display:grid;gap:8px;min-width:0;padding:14px 14px 10px 0}.pdx-lookup-selected-meta,.pdx-lookup-option-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.pdx-lookup-selected-heading,.pdx-lookup-option-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;min-width:0}.pdx-lookup-selected-heading small,.pdx-lookup-option-heading small{border-radius:6px;padding:2px 6px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;line-height:1.2}.pdx-lookup-selected-heading strong,.pdx-lookup-option-heading strong{min-width:0;color:var(--md-sys-color-on-surface);font-size:1.08rem;line-height:1.3;font-weight:800;overflow-wrap:anywhere}.pdx-lookup-description{min-width:0;color:var(--md-sys-color-on-surface-variant);font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.pdx-lookup-rich-fields{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.pdx-lookup-rich-fields.is-compact{gap:5px;overflow:hidden;max-height:26px}.pdx-lookup-rich-field{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;color:var(--md-sys-color-on-surface-variant);font-size:.8rem;line-height:1.25}.pdx-lookup-rich-field mat-icon{width:14px;height:14px;min-width:14px;font-size:14px;line-height:1}.pdx-lookup-rich-field span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-lookup-rich-field small{color:var(--md-sys-color-on-surface-variant);font-size:.72rem;line-height:1}.pdx-lookup-rich-field.is-chip,.pdx-lookup-rich-field.is-badge{min-height:24px;border-radius:999px;padding:2px 8px;border:1px solid transparent;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font-weight:650}.pdx-lookup-rich-field.is-badge{border-radius:8px;font-weight:780}.pdx-lookup-rich-field.is-success{background:#dcfce7;color:#166534}.pdx-lookup-rich-field.is-info{background:color-mix(in srgb,var(--md-sys-color-primary) 14%,var(--md-sys-color-surface-container-high));color:var(--md-sys-color-primary)}.pdx-lookup-rich-field.is-warning{background:#fef3c7;color:#92400e}.pdx-lookup-rich-field.is-danger{background:#fee2e2;color:#991b1b}.pdx-lookup-avatar{display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;border-radius:8px;background:color-mix(in srgb,var(--md-sys-color-primary) 12%,transparent);color:var(--md-sys-color-primary);font-size:.82rem;font-weight:800;line-height:1}.pdx-lookup-avatar-large{align-self:start;width:54px;height:54px;min-width:54px;margin:14px 0 0 14px}.pdx-lookup-avatar-compact{width:32px;height:32px;min-width:32px;border-radius:8px;font-size:.72rem}.pdx-lookup-selected-compact-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:56px;max-width:none;padding:6px 0;color:var(--md-sys-color-on-surface);box-sizing:border-box;overflow:hidden}.pdx-lookup-selected-compact-main{display:grid;gap:2px;min-width:0}.pdx-lookup-selected-compact-heading{display:flex;align-items:center;gap:8px;min-width:0}.pdx-lookup-selected-compact-heading strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-sys-color-on-surface);font-size:.98rem;font-weight:700;line-height:1.25}.pdx-lookup-selected-compact-description{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--md-sys-color-on-surface-variant);font-size:.8rem;line-height:1.25}.pdx-lookup-selected-compact-actions{display:inline-flex;align-items:center;gap:2px;min-width:max-content}.pdx-lookup-icon-action{display:inline-grid;place-items:center;width:30px;height:30px;min-width:30px;border:0;border-radius:50%;padding:0;background:transparent;color:var(--md-sys-color-on-surface-variant);cursor:pointer}.pdx-lookup-icon-action:hover{background:color-mix(in srgb,var(--md-sys-color-primary) 10%,transparent);color:var(--md-sys-color-primary)}.pdx-lookup-icon-action.is-danger:hover{background:#fee2e2;color:#b91c1c}.pdx-lookup-icon-action mat-icon{width:18px;height:18px;font-size:18px;line-height:1}.pdx-lookup-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.pdx-lookup-badge,.pdx-lookup-disabled-reason{display:inline-flex;align-items:center;min-height:22px;border-radius:8px;padding:2px 8px;font-size:.73rem;font-weight:800;line-height:1.2}.pdx-lookup-badge.is-success{background:#dcfce7;color:#166534}.pdx-lookup-badge.is-warning{background:#fef3c7;color:#92400e}.pdx-lookup-badge.is-danger,.pdx-lookup-disabled-reason{background:#fee2e2;color:#991b1b}.pdx-lookup-badge.is-neutral{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.pdx-lookup-disabled-reason{font-style:italic;font-weight:600}.pdx-lookup-selected-note{display:grid;gap:2px;min-width:0;padding:8px 10px;border-radius:8px;border:1px solid transparent;font-size:.78rem;line-height:1.35}.pdx-lookup-selected-note strong{font-size:.72rem;line-height:1.2;text-transform:uppercase;letter-spacing:.02em}.pdx-lookup-selected-note.is-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.pdx-lookup-selected-note.is-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.pdx-lookup-selected-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid var(--md-sys-color-outline-variant);padding:10px 14px;background:var(--md-sys-color-surface-container)}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pdx-lookup-selected-actions-main{min-width:0;flex:1 1 auto}.pdx-lookup-selected-actions-danger{margin-left:auto}.pdx-lookup-action{min-height:32px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;padding:0 10px;background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.pdx-lookup-action:hover{border-color:var(--md-sys-color-primary);color:var(--md-sys-color-primary)}.pdx-lookup-action.is-danger{margin-left:auto;border-color:transparent;color:#b91c1c}.pdx-lookup-empty-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 0;color:var(--md-sys-color-on-surface-variant);box-sizing:border-box}.pdx-lookup-empty-leading{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:8px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-primary)}.pdx-lookup-empty-trigger.is-dependency-pending .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-tertiary) 14%,var(--md-sys-color-surface-container-high));color:var(--md-sys-color-tertiary)}.pdx-lookup-empty-trigger.is-search-ready .pdx-lookup-empty-leading{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}.pdx-lookup-empty-leading mat-icon{width:18px;height:18px;font-size:18px;line-height:1}.pdx-lookup-empty-copy{display:grid;gap:4px;min-width:0;flex:1 1 auto}.pdx-lookup-empty-label{display:inline-flex;align-items:center;min-width:0;color:inherit;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-supporting,.pdx-lookup-empty-context{display:block;min-width:0;font-size:.82rem;line-height:1.3;color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdx-lookup-empty-context{font-size:.75rem}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-context-pending .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-tertiary) 58%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__leading,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__notch,:host ::ng-deep .pdx-inline-entity-lookup.pdx-entity-lookup-search-ready .mdc-notched-outline__trailing{border-color:color-mix(in srgb,var(--md-sys-color-primary) 46%,var(--md-sys-color-outline-variant))}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-entity-lookup-rich.mat-mdc-form-field,:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field{width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select{--pdx-entity-lookup-arrow-zone: 40px;width:100%;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-flex{min-height:56px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:56px;border-radius:8px;overflow:hidden!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-trigger{width:100%;max-width:100%}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline{display:flex}:host ::ng-deep .pdx-inline-entity-lookup .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-entity-lookup-rich .mdc-notched-outline__notch{width:auto!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-form-field-infix{width:100%;min-height:56px;padding:0 14px 0 0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-arrow-wrapper{display:flex;justify-content:center;width:var(--pdx-entity-lookup-arrow-zone);min-width:var(--pdx-entity-lookup-arrow-zone);margin-right:0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select-value{width:calc(100% - var(--pdx-entity-lookup-arrow-zone));max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:flex;align-items:center;width:100%;min-height:54px;min-inline-size:0;max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{max-width:none}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-entity-lookup-min-w, 148px);max-width:min(var(--pdx-inline-entity-lookup-max-w, 420px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{width:100%;min-height:52px}:host ::ng-deep .pdx-entity-lookup-rich .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{width:100%;min-inline-size:0;max-width:none;min-height:52px;padding-right:12px;border-radius:8px;background:var(--md-sys-color-surface-container-low)}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel:not(.pdx-entity-lookup-panel)){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:8px!important;overflow:hidden!important}::ng-deep .cdk-overlay-pane:has(.pdx-entity-lookup-panel){z-index:var(--praxis-layer-popup, 1400)!important;min-width:0!important;max-width:calc(100vw - 24px)!important;border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel{max-height:min(60vh,460px)!important;padding:6px 0!important;border-radius:8px!important;overflow:hidden!important;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .pdx-inline-entity-lookup-panel:not(.pdx-entity-lookup-panel){min-width:min(420px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important}::ng-deep .pdx-inline-entity-lookup-panel.pdx-entity-lookup-panel{min-width:0!important;width:100%!important;max-width:100%!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-entity-lookup-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-entity-lookup-panel{border-radius:8px!important;overflow:hidden!important}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option{min-height:58px;padding-inline:14px;font-size:1rem}::ng-deep .pdx-inline-entity-lookup-panel.pdx-entity-lookup-panel .mat-mdc-option{min-height:64px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-main{display:block;font-size:1rem;font-weight:500;line-height:1.25}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-secondary{display:block;margin-top:2px;font-size:.82rem;line-height:1.2;color:var(--md-sys-color-on-surface-variant);opacity:.9}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%;min-width:0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-icon{width:18px;height:18px;flex:0 0 18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input{flex:1 1 auto;width:auto;min-width:0;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-result-count{flex:0 0 auto;color:var(--md-sys-color-on-surface-variant);font-size:.78rem;white-space:nowrap}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0;padding:8px 0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-directory{padding:9px 0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-reference{grid-template-columns:minmax(0,1fr) auto}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-disabled{opacity:.68}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-row.is-selected{color:var(--md-sys-color-on-surface)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-body{display:grid;gap:6px;min-width:0}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-avatar{width:38px;height:38px;min-width:38px;border-radius:8px;font-size:.76rem}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-heading{gap:6px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-heading strong{font-size:.98rem;line-height:1.22;font-weight:760}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-fields{gap:5px;flex-wrap:nowrap;max-height:24px;overflow:hidden}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-field{font-size:.78rem;line-height:1.18}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-field.is-chip,::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-rich-field.is-badge{min-height:22px;padding:2px 7px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-check{display:inline-grid;place-items:center;width:28px;height:28px;min-width:28px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent);color:var(--md-sys-color-primary)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-lookup-option-check mat-icon{width:18px;height:18px;font-size:18px;line-height:1}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option.mdc-list-item--selected{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-option{min-height:44px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;color:var(--md-sys-color-primary)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-reset-content mat-icon{width:16px;height:16px;font-size:16px}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-load-more .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-end-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-empty-option .mdc-list-item__primary-text,::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-loading-option .mdc-list-item__primary-text{font-size:.92rem;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-entity-lookup-panel .pdx-panel-error-option .mdc-list-item__primary-text{color:var(--md-sys-color-error)}::ng-deep .pdx-inline-entity-lookup-panel .mdc-list-item--selected{background:color-mix(in srgb,var(--md-sys-color-primary) 12%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}::ng-deep .pdx-inline-entity-lookup-panel .mat-mdc-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}.pdx-lookup-selected-card-trigger{width:100%;min-height:auto;grid-template-columns:minmax(0,1fr)}.pdx-lookup-avatar-large{width:46px;height:46px;min-width:46px;margin:12px 0 0 12px}.pdx-lookup-selected-main{gap:6px;padding:0 12px 10px}.pdx-lookup-selected-heading strong{font-size:1rem;line-height:1.25}.pdx-lookup-description{font-size:.82rem;line-height:1.3}.pdx-lookup-selected-actions{gap:10px;justify-content:flex-start;padding:8px 12px 12px}.pdx-lookup-selected-actions-main,.pdx-lookup-selected-actions-danger{width:100%}.pdx-lookup-selected-actions-main .pdx-lookup-action{flex:1 1 calc(50% - 4px);text-align:center}.pdx-lookup-selected-actions-danger{margin-left:0}.pdx-lookup-selected-actions-danger .pdx-lookup-action{width:100%;text-align:center}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-entity-lookup .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"] }]
|
|
14368
14969
|
}], propDecorators: { initialMetadata: [{
|
|
14369
14970
|
type: Input
|
|
14370
14971
|
}], onViewportResize: [{
|
|
@@ -23107,8 +23708,13 @@ class InlineSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23107
23708
|
(openedChange)="onOpenedChange($event)"
|
|
23108
23709
|
>
|
|
23109
23710
|
@if (searchable()) {
|
|
23110
|
-
<
|
|
23111
|
-
|
|
23711
|
+
<div
|
|
23712
|
+
class="pdx-panel-search-option"
|
|
23713
|
+
role="presentation"
|
|
23714
|
+
(mousedown)="$event.stopPropagation()"
|
|
23715
|
+
(click)="$event.stopPropagation()"
|
|
23716
|
+
>
|
|
23717
|
+
<div class="pdx-panel-search-row">
|
|
23112
23718
|
<mat-icon
|
|
23113
23719
|
class="pdx-panel-search-icon"
|
|
23114
23720
|
aria-hidden="true"
|
|
@@ -23127,7 +23733,7 @@ class InlineSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23127
23733
|
(click)="$event.stopPropagation()"
|
|
23128
23734
|
/>
|
|
23129
23735
|
</div>
|
|
23130
|
-
</
|
|
23736
|
+
</div>
|
|
23131
23737
|
}
|
|
23132
23738
|
|
|
23133
23739
|
<mat-select-trigger>
|
|
@@ -23239,8 +23845,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23239
23845
|
(openedChange)="onOpenedChange($event)"
|
|
23240
23846
|
>
|
|
23241
23847
|
@if (searchable()) {
|
|
23242
|
-
<
|
|
23243
|
-
|
|
23848
|
+
<div
|
|
23849
|
+
class="pdx-panel-search-option"
|
|
23850
|
+
role="presentation"
|
|
23851
|
+
(mousedown)="$event.stopPropagation()"
|
|
23852
|
+
(click)="$event.stopPropagation()"
|
|
23853
|
+
>
|
|
23854
|
+
<div class="pdx-panel-search-row">
|
|
23244
23855
|
<mat-icon
|
|
23245
23856
|
class="pdx-panel-search-icon"
|
|
23246
23857
|
aria-hidden="true"
|
|
@@ -23259,7 +23870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23259
23870
|
(click)="$event.stopPropagation()"
|
|
23260
23871
|
/>
|
|
23261
23872
|
</div>
|
|
23262
|
-
</
|
|
23873
|
+
</div>
|
|
23263
23874
|
}
|
|
23264
23875
|
|
|
23265
23876
|
<mat-select-trigger>
|
|
@@ -23656,7 +24267,13 @@ class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23656
24267
|
[matTooltipPosition]="tooltipPosition()"
|
|
23657
24268
|
[errorStateMatcher]="errorStateMatcher()"
|
|
23658
24269
|
>
|
|
23659
|
-
<
|
|
24270
|
+
<div
|
|
24271
|
+
*ngIf="searchable()"
|
|
24272
|
+
class="pdx-select-search-option"
|
|
24273
|
+
role="presentation"
|
|
24274
|
+
(mousedown)="$event.stopPropagation()"
|
|
24275
|
+
(click)="$event.stopPropagation()"
|
|
24276
|
+
>
|
|
23660
24277
|
<input
|
|
23661
24278
|
#searchInput
|
|
23662
24279
|
matInput
|
|
@@ -23668,7 +24285,7 @@ class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23668
24285
|
[disabled]="isInteractionDisabled()"
|
|
23669
24286
|
[readOnly]="isReadonlyEffective() || presentationMode"
|
|
23670
24287
|
/>
|
|
23671
|
-
</
|
|
24288
|
+
</div>
|
|
23672
24289
|
<mat-option
|
|
23673
24290
|
*ngFor="let option of filteredOptions(); trackBy: trackByOption"
|
|
23674
24291
|
[value]="option.value"
|
|
@@ -23701,7 +24318,13 @@ class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23701
24318
|
[matTooltipPosition]="tooltipPosition()"
|
|
23702
24319
|
[errorStateMatcher]="errorStateMatcher()"
|
|
23703
24320
|
>
|
|
23704
|
-
<
|
|
24321
|
+
<div
|
|
24322
|
+
*ngIf="searchable()"
|
|
24323
|
+
class="pdx-select-search-option"
|
|
24324
|
+
role="presentation"
|
|
24325
|
+
(mousedown)="$event.stopPropagation()"
|
|
24326
|
+
(click)="$event.stopPropagation()"
|
|
24327
|
+
>
|
|
23705
24328
|
<input
|
|
23706
24329
|
#searchInput
|
|
23707
24330
|
matInput
|
|
@@ -23713,7 +24336,7 @@ class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23713
24336
|
[disabled]="isInteractionDisabled()"
|
|
23714
24337
|
[readOnly]="isReadonlyEffective() || presentationMode"
|
|
23715
24338
|
/>
|
|
23716
|
-
</
|
|
24339
|
+
</div>
|
|
23717
24340
|
<mat-option
|
|
23718
24341
|
*ngIf="emptyOptionText()"
|
|
23719
24342
|
[value]="null"
|
|
@@ -23777,7 +24400,7 @@ class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
|
23777
24400
|
<mat-hint>{{ metadata()!.hint }}</mat-hint>
|
|
23778
24401
|
}
|
|
23779
24402
|
</mat-form-field>
|
|
23780
|
-
`, isInline: true, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] });
|
|
24403
|
+
`, isInline: true, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .pdx-material-searchable-select-panel .pdx-select-search-option{box-sizing:border-box;display:block;padding:10px 16px}::ng-deep .pdx-material-searchable-select-panel .pdx-select-search-option input{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] });
|
|
23781
24404
|
}
|
|
23782
24405
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: MaterialSearchableSelectComponent, decorators: [{
|
|
23783
24406
|
type: Component,
|
|
@@ -23816,7 +24439,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23816
24439
|
[matTooltipPosition]="tooltipPosition()"
|
|
23817
24440
|
[errorStateMatcher]="errorStateMatcher()"
|
|
23818
24441
|
>
|
|
23819
|
-
<
|
|
24442
|
+
<div
|
|
24443
|
+
*ngIf="searchable()"
|
|
24444
|
+
class="pdx-select-search-option"
|
|
24445
|
+
role="presentation"
|
|
24446
|
+
(mousedown)="$event.stopPropagation()"
|
|
24447
|
+
(click)="$event.stopPropagation()"
|
|
24448
|
+
>
|
|
23820
24449
|
<input
|
|
23821
24450
|
#searchInput
|
|
23822
24451
|
matInput
|
|
@@ -23828,7 +24457,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23828
24457
|
[disabled]="isInteractionDisabled()"
|
|
23829
24458
|
[readOnly]="isReadonlyEffective() || presentationMode"
|
|
23830
24459
|
/>
|
|
23831
|
-
</
|
|
24460
|
+
</div>
|
|
23832
24461
|
<mat-option
|
|
23833
24462
|
*ngFor="let option of filteredOptions(); trackBy: trackByOption"
|
|
23834
24463
|
[value]="option.value"
|
|
@@ -23861,7 +24490,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23861
24490
|
[matTooltipPosition]="tooltipPosition()"
|
|
23862
24491
|
[errorStateMatcher]="errorStateMatcher()"
|
|
23863
24492
|
>
|
|
23864
|
-
<
|
|
24493
|
+
<div
|
|
24494
|
+
*ngIf="searchable()"
|
|
24495
|
+
class="pdx-select-search-option"
|
|
24496
|
+
role="presentation"
|
|
24497
|
+
(mousedown)="$event.stopPropagation()"
|
|
24498
|
+
(click)="$event.stopPropagation()"
|
|
24499
|
+
>
|
|
23865
24500
|
<input
|
|
23866
24501
|
#searchInput
|
|
23867
24502
|
matInput
|
|
@@ -23873,7 +24508,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23873
24508
|
[disabled]="isInteractionDisabled()"
|
|
23874
24509
|
[readOnly]="isReadonlyEffective() || presentationMode"
|
|
23875
24510
|
/>
|
|
23876
|
-
</
|
|
24511
|
+
</div>
|
|
23877
24512
|
<mat-option
|
|
23878
24513
|
*ngIf="emptyOptionText()"
|
|
23879
24514
|
[value]="null"
|
|
@@ -23954,7 +24589,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
23954
24589
|
'[attr.data-field-type]': '"searchable-select"',
|
|
23955
24590
|
'[attr.data-field-name]': 'metadata()?.name',
|
|
23956
24591
|
'[attr.data-component-id]': 'componentId()',
|
|
23957
|
-
}, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}\n"] }]
|
|
24592
|
+
}, styles: ["::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-material-searchable-select-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .pdx-material-searchable-select-panel .pdx-select-search-option{box-sizing:border-box;display:block;padding:10px 16px}::ng-deep .pdx-material-searchable-select-panel .pdx-select-search-option input{width:100%}\n"] }]
|
|
23958
24593
|
}], propDecorators: { readonlyMode: [{
|
|
23959
24594
|
type: Input
|
|
23960
24595
|
}], disabledMode: [{
|
|
@@ -24230,8 +24865,13 @@ class InlineSearchableSelectComponent extends MaterialSearchableSelectComponent
|
|
|
24230
24865
|
(openedChange)="onOpenedChange($event)"
|
|
24231
24866
|
>
|
|
24232
24867
|
@if (searchable()) {
|
|
24233
|
-
<
|
|
24234
|
-
|
|
24868
|
+
<div
|
|
24869
|
+
class="pdx-panel-search-option"
|
|
24870
|
+
role="presentation"
|
|
24871
|
+
(mousedown)="$event.stopPropagation()"
|
|
24872
|
+
(click)="$event.stopPropagation()"
|
|
24873
|
+
>
|
|
24874
|
+
<div class="pdx-panel-search-row">
|
|
24235
24875
|
<mat-icon
|
|
24236
24876
|
class="pdx-panel-search-icon"
|
|
24237
24877
|
aria-hidden="true"
|
|
@@ -24250,7 +24890,7 @@ class InlineSearchableSelectComponent extends MaterialSearchableSelectComponent
|
|
|
24250
24890
|
(click)="$event.stopPropagation()"
|
|
24251
24891
|
/>
|
|
24252
24892
|
</div>
|
|
24253
|
-
</
|
|
24893
|
+
</div>
|
|
24254
24894
|
}
|
|
24255
24895
|
|
|
24256
24896
|
<mat-select-trigger>
|
|
@@ -24378,8 +25018,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
24378
25018
|
(openedChange)="onOpenedChange($event)"
|
|
24379
25019
|
>
|
|
24380
25020
|
@if (searchable()) {
|
|
24381
|
-
<
|
|
24382
|
-
|
|
25021
|
+
<div
|
|
25022
|
+
class="pdx-panel-search-option"
|
|
25023
|
+
role="presentation"
|
|
25024
|
+
(mousedown)="$event.stopPropagation()"
|
|
25025
|
+
(click)="$event.stopPropagation()"
|
|
25026
|
+
>
|
|
25027
|
+
<div class="pdx-panel-search-row">
|
|
24383
25028
|
<mat-icon
|
|
24384
25029
|
class="pdx-panel-search-icon"
|
|
24385
25030
|
aria-hidden="true"
|
|
@@ -24398,7 +25043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
24398
25043
|
(click)="$event.stopPropagation()"
|
|
24399
25044
|
/>
|
|
24400
25045
|
</div>
|
|
24401
|
-
</
|
|
25046
|
+
</div>
|
|
24402
25047
|
}
|
|
24403
25048
|
|
|
24404
25049
|
<mat-select-trigger>
|
|
@@ -24816,8 +25461,13 @@ class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
24816
25461
|
(openedChange)="onOpenedChange($event)"
|
|
24817
25462
|
>
|
|
24818
25463
|
@if (searchable()) {
|
|
24819
|
-
<
|
|
24820
|
-
|
|
25464
|
+
<div
|
|
25465
|
+
class="pdx-panel-search-option"
|
|
25466
|
+
role="presentation"
|
|
25467
|
+
(mousedown)="$event.stopPropagation()"
|
|
25468
|
+
(click)="$event.stopPropagation()"
|
|
25469
|
+
>
|
|
25470
|
+
<div class="pdx-panel-search-row">
|
|
24821
25471
|
<mat-icon
|
|
24822
25472
|
class="pdx-panel-search-icon"
|
|
24823
25473
|
aria-hidden="true"
|
|
@@ -24837,7 +25487,7 @@ class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
24837
25487
|
(click)="$event.stopPropagation()"
|
|
24838
25488
|
/>
|
|
24839
25489
|
</div>
|
|
24840
|
-
</
|
|
25490
|
+
</div>
|
|
24841
25491
|
}
|
|
24842
25492
|
|
|
24843
25493
|
<mat-select-trigger>
|
|
@@ -24965,8 +25615,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
24965
25615
|
(openedChange)="onOpenedChange($event)"
|
|
24966
25616
|
>
|
|
24967
25617
|
@if (searchable()) {
|
|
24968
|
-
<
|
|
24969
|
-
|
|
25618
|
+
<div
|
|
25619
|
+
class="pdx-panel-search-option"
|
|
25620
|
+
role="presentation"
|
|
25621
|
+
(mousedown)="$event.stopPropagation()"
|
|
25622
|
+
(click)="$event.stopPropagation()"
|
|
25623
|
+
>
|
|
25624
|
+
<div class="pdx-panel-search-row">
|
|
24970
25625
|
<mat-icon
|
|
24971
25626
|
class="pdx-panel-search-icon"
|
|
24972
25627
|
aria-hidden="true"
|
|
@@ -24986,7 +25641,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
24986
25641
|
(click)="$event.stopPropagation()"
|
|
24987
25642
|
/>
|
|
24988
25643
|
</div>
|
|
24989
|
-
</
|
|
25644
|
+
</div>
|
|
24990
25645
|
}
|
|
24991
25646
|
|
|
24992
25647
|
<mat-select-trigger>
|
|
@@ -25161,6 +25816,48 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25161
25816
|
}
|
|
25162
25817
|
return `${labels[0]} +${labels.length - 1}`;
|
|
25163
25818
|
}
|
|
25819
|
+
selectedTokens() {
|
|
25820
|
+
return this.currentValues().map((value, index) => {
|
|
25821
|
+
const text = this.resolveOptionLabel(value);
|
|
25822
|
+
return {
|
|
25823
|
+
value,
|
|
25824
|
+
text,
|
|
25825
|
+
title: text,
|
|
25826
|
+
trackKey: `${index}:${this.stringifyTokenValue(value)}`,
|
|
25827
|
+
};
|
|
25828
|
+
});
|
|
25829
|
+
}
|
|
25830
|
+
visibleSelectedTokens() {
|
|
25831
|
+
return this.selectedTokens().slice(0, this.maxVisibleSelectedTokens());
|
|
25832
|
+
}
|
|
25833
|
+
hiddenSelectedTokenCount() {
|
|
25834
|
+
return Math.max(0, this.selectedTokens().length - this.maxVisibleSelectedTokens());
|
|
25835
|
+
}
|
|
25836
|
+
hiddenSelectedTokenTitle() {
|
|
25837
|
+
return this.selectedTokens()
|
|
25838
|
+
.slice(this.maxVisibleSelectedTokens())
|
|
25839
|
+
.map((token) => token.text)
|
|
25840
|
+
.join(', ');
|
|
25841
|
+
}
|
|
25842
|
+
selectedTokensAriaLabel() {
|
|
25843
|
+
const labels = this.selectedTokens().map((token) => token.text).join(', ');
|
|
25844
|
+
return labels
|
|
25845
|
+
? this.tDynamicFields('multiSelect.selectedTokensAriaLabel', 'Selecionados: {{items}}', {
|
|
25846
|
+
items: labels,
|
|
25847
|
+
})
|
|
25848
|
+
: '';
|
|
25849
|
+
}
|
|
25850
|
+
selectedTokenRemoveAriaLabel(text) {
|
|
25851
|
+
return this.tDynamicFields('multiSelect.removeSelectionAriaLabel', 'Remover {{label}}', {
|
|
25852
|
+
label: text,
|
|
25853
|
+
});
|
|
25854
|
+
}
|
|
25855
|
+
selectedPanelTitle() {
|
|
25856
|
+
return this.tDynamicFields('multiSelect.selectedPanelTitle', 'Selecionados');
|
|
25857
|
+
}
|
|
25858
|
+
selectedPanelRemoveHint() {
|
|
25859
|
+
return this.tDynamicFields('multiSelect.selectedPanelRemoveHint', 'Clique para remover');
|
|
25860
|
+
}
|
|
25164
25861
|
showQuickClear() {
|
|
25165
25862
|
const clearCfg = this.metadata()?.clearButton;
|
|
25166
25863
|
if (clearCfg === undefined || clearCfg === null || clearCfg === false) {
|
|
@@ -25183,6 +25880,14 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25183
25880
|
event.stopPropagation();
|
|
25184
25881
|
this.onClearClick();
|
|
25185
25882
|
}
|
|
25883
|
+
onRemoveSelectedToken(event, value) {
|
|
25884
|
+
event.preventDefault();
|
|
25885
|
+
event.stopPropagation();
|
|
25886
|
+
const next = this.currentValues().filter((item) => !this.equalsOptionValue(item, value));
|
|
25887
|
+
this.control().setValue(next);
|
|
25888
|
+
this.control().markAsDirty();
|
|
25889
|
+
this.control().markAsTouched();
|
|
25890
|
+
}
|
|
25186
25891
|
onOpenedChange(opened) {
|
|
25187
25892
|
if (!opened) {
|
|
25188
25893
|
if (this.searchTerm()) {
|
|
@@ -25229,10 +25934,12 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25229
25934
|
return custom || this.searchPlaceholderText();
|
|
25230
25935
|
}
|
|
25231
25936
|
ariaLabel() {
|
|
25232
|
-
|
|
25937
|
+
const base = this.metadata()?.ariaLabel ||
|
|
25233
25938
|
this.label ||
|
|
25234
25939
|
this.metadata()?.name ||
|
|
25235
|
-
'Filtro'
|
|
25940
|
+
'Filtro';
|
|
25941
|
+
const selected = this.selectedTokens().map((token) => token.text).join(', ');
|
|
25942
|
+
return selected ? `${base}: ${selected}` : base;
|
|
25236
25943
|
}
|
|
25237
25944
|
currentValues() {
|
|
25238
25945
|
const value = this.control().value;
|
|
@@ -25250,6 +25957,19 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25250
25957
|
}
|
|
25251
25958
|
return JSON.stringify(optionValue) === JSON.stringify(value);
|
|
25252
25959
|
}
|
|
25960
|
+
maxVisibleSelectedTokens() {
|
|
25961
|
+
const viewportWidth = typeof window !== 'undefined' ? window.innerWidth : 1280;
|
|
25962
|
+
const isMobile = viewportWidth <= 768;
|
|
25963
|
+
return isMobile ? 1 : 2;
|
|
25964
|
+
}
|
|
25965
|
+
stringifyTokenValue(value) {
|
|
25966
|
+
try {
|
|
25967
|
+
return JSON.stringify(value);
|
|
25968
|
+
}
|
|
25969
|
+
catch {
|
|
25970
|
+
return String(value ?? '');
|
|
25971
|
+
}
|
|
25972
|
+
}
|
|
25253
25973
|
resolveFieldLabelFromMetadata(meta) {
|
|
25254
25974
|
const candidates = [
|
|
25255
25975
|
this.label,
|
|
@@ -25345,8 +26065,13 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25345
26065
|
(openedChange)="onOpenedChange($event)"
|
|
25346
26066
|
>
|
|
25347
26067
|
@if (searchable()) {
|
|
25348
|
-
<
|
|
25349
|
-
|
|
26068
|
+
<div
|
|
26069
|
+
class="pdx-panel-search-option"
|
|
26070
|
+
role="presentation"
|
|
26071
|
+
(mousedown)="$event.stopPropagation()"
|
|
26072
|
+
(click)="$event.stopPropagation()"
|
|
26073
|
+
>
|
|
26074
|
+
<div class="pdx-panel-search-row">
|
|
25350
26075
|
<mat-icon
|
|
25351
26076
|
class="pdx-panel-search-icon"
|
|
25352
26077
|
aria-hidden="true"
|
|
@@ -25365,7 +26090,7 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25365
26090
|
(click)="$event.stopPropagation()"
|
|
25366
26091
|
/>
|
|
25367
26092
|
</div>
|
|
25368
|
-
</
|
|
26093
|
+
</div>
|
|
25369
26094
|
}
|
|
25370
26095
|
|
|
25371
26096
|
<mat-select-trigger>
|
|
@@ -25383,9 +26108,36 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25383
26108
|
{{ chipLeadingIcon() }}
|
|
25384
26109
|
</mat-icon>
|
|
25385
26110
|
}
|
|
25386
|
-
|
|
25387
|
-
|
|
25388
|
-
|
|
26111
|
+
@if (hasSelection()) {
|
|
26112
|
+
<span
|
|
26113
|
+
class="pdx-chip-token-list"
|
|
26114
|
+
[attr.aria-label]="selectedTokensAriaLabel()"
|
|
26115
|
+
>
|
|
26116
|
+
@for (token of visibleSelectedTokens(); track token.trackKey) {
|
|
26117
|
+
<span class="pdx-chip-token" [attr.title]="token.title">
|
|
26118
|
+
<span class="pdx-chip-token-text">{{ token.text }}</span>
|
|
26119
|
+
<button
|
|
26120
|
+
type="button"
|
|
26121
|
+
class="pdx-chip-token-remove"
|
|
26122
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
26123
|
+
(click)="onRemoveSelectedToken($event, token.value)"
|
|
26124
|
+
[attr.aria-label]="selectedTokenRemoveAriaLabel(token.text)"
|
|
26125
|
+
>
|
|
26126
|
+
<mat-icon aria-hidden="true">close</mat-icon>
|
|
26127
|
+
</button>
|
|
26128
|
+
</span>
|
|
26129
|
+
}
|
|
26130
|
+
@if (hiddenSelectedTokenCount() > 0) {
|
|
26131
|
+
<span
|
|
26132
|
+
class="pdx-chip-token-overflow"
|
|
26133
|
+
[attr.title]="hiddenSelectedTokenTitle()"
|
|
26134
|
+
>
|
|
26135
|
+
+{{ hiddenSelectedTokenCount() }}
|
|
26136
|
+
</span>
|
|
26137
|
+
}
|
|
26138
|
+
</span>
|
|
26139
|
+
} @else {
|
|
26140
|
+
<span class="pdx-chip-label">{{ displayText() }}</span>
|
|
25389
26141
|
}
|
|
25390
26142
|
@if (chipTrailingIcon()) {
|
|
25391
26143
|
<mat-icon
|
|
@@ -25432,16 +26184,37 @@ class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
25432
26184
|
</mat-option>
|
|
25433
26185
|
}
|
|
25434
26186
|
|
|
25435
|
-
|
|
25436
|
-
|
|
25437
|
-
|
|
25438
|
-
|
|
25439
|
-
|
|
25440
|
-
|
|
25441
|
-
|
|
26187
|
+
@if (hasSelection()) {
|
|
26188
|
+
<mat-option class="pdx-panel-selection-heading" disabled>
|
|
26189
|
+
<span class="pdx-panel-selection-heading-content">
|
|
26190
|
+
<span>{{ selectedPanelTitle() }}</span>
|
|
26191
|
+
<span class="pdx-panel-selection-count">{{ selectedCount() }}</span>
|
|
26192
|
+
</span>
|
|
26193
|
+
</mat-option>
|
|
26194
|
+
@for (token of selectedTokens(); track token.trackKey) {
|
|
26195
|
+
<mat-option
|
|
26196
|
+
class="pdx-panel-selected-option"
|
|
26197
|
+
[value]="token.value"
|
|
26198
|
+
>
|
|
26199
|
+
<span class="pdx-panel-selected-option-content">
|
|
26200
|
+
<span class="pdx-panel-selected-option-text">{{ token.text }}</span>
|
|
26201
|
+
<span class="pdx-panel-selected-option-hint">{{ selectedPanelRemoveHint() }}</span>
|
|
26202
|
+
</span>
|
|
26203
|
+
</mat-option>
|
|
26204
|
+
}
|
|
26205
|
+
}
|
|
26206
|
+
|
|
26207
|
+
@for (option of filteredOptions(); track trackByOption($index, option)) {
|
|
26208
|
+
<mat-option
|
|
26209
|
+
[value]="option.value"
|
|
26210
|
+
[disabled]="isOptionDisabled(option)"
|
|
26211
|
+
>
|
|
26212
|
+
{{ option.label }}
|
|
26213
|
+
</mat-option>
|
|
26214
|
+
}
|
|
25442
26215
|
</mat-select>
|
|
25443
26216
|
</mat-form-field>
|
|
25444
|
-
`, isInline: true, styles: [":host{--pdx-inline-chip-active-clear-color: var(--md-sys-color-on-surface);--pdx-inline-chip-active-clear-bg: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 12%, transparent );--pdx-inline-chip-active-clear-bg-hover: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 18%, transparent );display:inline-block;width:auto;min-width:0;max-width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-trigger.is-active .pdx-chip-count{background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--pdx-inline-chip-active-clear-color);background:var(--pdx-inline-chip-active-clear-bg);color:var(--pdx-inline-chip-active-clear-color)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:var(--pdx-inline-chip-active-clear-bg-hover)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline{display:none}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(300px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:22px!important;overflow:hidden!important}::ng-deep .pdx-inline-multiselect-panel{min-width:min(280px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;max-height:min(56vh,420px)!important;padding:6px 0!important;border-radius:22px!important;overflow:hidden!important;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel) div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-multiselect-panel{border-radius:22px!important;overflow:hidden!important}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option{min-height:52px;padding-inline:18px;font-size:1rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-icon{width:18px;height:18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input{width:100%;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-multiselect-panel .mdc-list-item--selected{background:var(--md-sys-color-surface-container-high)}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:first-child{border-top-left-radius:22px;border-top-right-radius:22px}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:last-child{border-bottom-left-radius:22px;border-bottom-right-radius:22px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
26217
|
+
`, isInline: true, styles: [":host{--pdx-inline-chip-active-clear-color: var(--md-sys-color-on-surface);--pdx-inline-chip-active-clear-bg: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 12%, transparent );--pdx-inline-chip-active-clear-bg-hover: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 18%, transparent );display:inline-block;width:auto;min-width:0;max-width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-trigger.is-active .pdx-chip-count{background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-token-list{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;overflow:hidden}.pdx-chip-token{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:104px;padding:2px 6px;border-radius:8px;background:color-mix(in srgb,currentColor 14%,transparent)}.pdx-chip-token-text{display:inline-block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-chip-token-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;border:0;border-radius:6px;padding:0;background:transparent;color:inherit;cursor:pointer}.pdx-chip-token-remove:hover{background:color-mix(in srgb,currentColor 16%,transparent)}.pdx-chip-token-remove:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,currentColor 32%,transparent);outline:none}.pdx-chip-token-remove mat-icon{width:14px;height:14px;font-size:14px;line-height:1}.pdx-chip-token-overflow{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:8px;background:color-mix(in srgb,currentColor 14%,transparent);font-size:.75rem;font-weight:700;line-height:1}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--pdx-inline-chip-active-clear-color);background:var(--pdx-inline-chip-active-clear-bg);color:var(--pdx-inline-chip-active-clear-color)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:var(--pdx-inline-chip-active-clear-bg-hover)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline{display:none}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(300px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:22px!important;overflow:hidden!important}::ng-deep .pdx-inline-multiselect-panel{min-width:min(280px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;max-height:min(56vh,420px)!important;padding:6px 0!important;border-radius:22px!important;overflow-x:hidden!important;overflow-y:scroll!important;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--md-sys-color-on-surface) 42%,transparent) transparent;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar{width:10px}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar-track{background:transparent}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar-thumb{min-height:36px;border:3px solid transparent;border-radius:999px;background-clip:content-box;background-color:color-mix(in srgb,var(--md-sys-color-on-surface) 42%,transparent)}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--md-sys-color-on-surface) 58%,transparent)}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel) div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-multiselect-panel{border-radius:22px!important;overflow-x:hidden!important;overflow-y:scroll!important}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option{min-height:52px;padding-inline:18px;font-size:1rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-icon{width:18px;height:18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input{width:100%;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-multiselect-panel .mdc-list-item--selected{background:var(--md-sys-color-surface-container-high)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading{min-height:34px;padding-inline:18px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 68%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading.mdc-list-item--disabled{color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading-content{display:inline-flex;align-items:center;gap:8px;width:100%;font-size:.76rem;font-weight:700;letter-spacing:0;text-transform:uppercase}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary) 20%,transparent);color:var(--md-sys-color-primary);font-size:.72rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option{background:color-mix(in srgb,var(--md-sys-color-primary) 10%,var(--md-sys-color-surface-container-highest))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option-content{display:grid;gap:2px;min-width:0}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option-hint{color:var(--md-sys-color-on-surface-variant);font-size:.72rem;line-height:1.2}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:first-child{border-top-left-radius:22px;border-top-right-radius:22px}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:last-child{border-bottom-left-radius:22px;border-bottom-right-radius:22px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
25445
26218
|
}
|
|
25446
26219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: InlineMultiSelectComponent, decorators: [{
|
|
25447
26220
|
type: Component,
|
|
@@ -25481,8 +26254,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
25481
26254
|
(openedChange)="onOpenedChange($event)"
|
|
25482
26255
|
>
|
|
25483
26256
|
@if (searchable()) {
|
|
25484
|
-
<
|
|
25485
|
-
|
|
26257
|
+
<div
|
|
26258
|
+
class="pdx-panel-search-option"
|
|
26259
|
+
role="presentation"
|
|
26260
|
+
(mousedown)="$event.stopPropagation()"
|
|
26261
|
+
(click)="$event.stopPropagation()"
|
|
26262
|
+
>
|
|
26263
|
+
<div class="pdx-panel-search-row">
|
|
25486
26264
|
<mat-icon
|
|
25487
26265
|
class="pdx-panel-search-icon"
|
|
25488
26266
|
aria-hidden="true"
|
|
@@ -25501,7 +26279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
25501
26279
|
(click)="$event.stopPropagation()"
|
|
25502
26280
|
/>
|
|
25503
26281
|
</div>
|
|
25504
|
-
</
|
|
26282
|
+
</div>
|
|
25505
26283
|
}
|
|
25506
26284
|
|
|
25507
26285
|
<mat-select-trigger>
|
|
@@ -25519,9 +26297,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
25519
26297
|
{{ chipLeadingIcon() }}
|
|
25520
26298
|
</mat-icon>
|
|
25521
26299
|
}
|
|
25522
|
-
|
|
25523
|
-
|
|
25524
|
-
|
|
26300
|
+
@if (hasSelection()) {
|
|
26301
|
+
<span
|
|
26302
|
+
class="pdx-chip-token-list"
|
|
26303
|
+
[attr.aria-label]="selectedTokensAriaLabel()"
|
|
26304
|
+
>
|
|
26305
|
+
@for (token of visibleSelectedTokens(); track token.trackKey) {
|
|
26306
|
+
<span class="pdx-chip-token" [attr.title]="token.title">
|
|
26307
|
+
<span class="pdx-chip-token-text">{{ token.text }}</span>
|
|
26308
|
+
<button
|
|
26309
|
+
type="button"
|
|
26310
|
+
class="pdx-chip-token-remove"
|
|
26311
|
+
(mousedown)="onTriggerIconMouseDown($event)"
|
|
26312
|
+
(click)="onRemoveSelectedToken($event, token.value)"
|
|
26313
|
+
[attr.aria-label]="selectedTokenRemoveAriaLabel(token.text)"
|
|
26314
|
+
>
|
|
26315
|
+
<mat-icon aria-hidden="true">close</mat-icon>
|
|
26316
|
+
</button>
|
|
26317
|
+
</span>
|
|
26318
|
+
}
|
|
26319
|
+
@if (hiddenSelectedTokenCount() > 0) {
|
|
26320
|
+
<span
|
|
26321
|
+
class="pdx-chip-token-overflow"
|
|
26322
|
+
[attr.title]="hiddenSelectedTokenTitle()"
|
|
26323
|
+
>
|
|
26324
|
+
+{{ hiddenSelectedTokenCount() }}
|
|
26325
|
+
</span>
|
|
26326
|
+
}
|
|
26327
|
+
</span>
|
|
26328
|
+
} @else {
|
|
26329
|
+
<span class="pdx-chip-label">{{ displayText() }}</span>
|
|
25525
26330
|
}
|
|
25526
26331
|
@if (chipTrailingIcon()) {
|
|
25527
26332
|
<mat-icon
|
|
@@ -25568,13 +26373,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
25568
26373
|
</mat-option>
|
|
25569
26374
|
}
|
|
25570
26375
|
|
|
25571
|
-
|
|
25572
|
-
|
|
25573
|
-
|
|
25574
|
-
|
|
25575
|
-
|
|
25576
|
-
|
|
25577
|
-
|
|
26376
|
+
@if (hasSelection()) {
|
|
26377
|
+
<mat-option class="pdx-panel-selection-heading" disabled>
|
|
26378
|
+
<span class="pdx-panel-selection-heading-content">
|
|
26379
|
+
<span>{{ selectedPanelTitle() }}</span>
|
|
26380
|
+
<span class="pdx-panel-selection-count">{{ selectedCount() }}</span>
|
|
26381
|
+
</span>
|
|
26382
|
+
</mat-option>
|
|
26383
|
+
@for (token of selectedTokens(); track token.trackKey) {
|
|
26384
|
+
<mat-option
|
|
26385
|
+
class="pdx-panel-selected-option"
|
|
26386
|
+
[value]="token.value"
|
|
26387
|
+
>
|
|
26388
|
+
<span class="pdx-panel-selected-option-content">
|
|
26389
|
+
<span class="pdx-panel-selected-option-text">{{ token.text }}</span>
|
|
26390
|
+
<span class="pdx-panel-selected-option-hint">{{ selectedPanelRemoveHint() }}</span>
|
|
26391
|
+
</span>
|
|
26392
|
+
</mat-option>
|
|
26393
|
+
}
|
|
26394
|
+
}
|
|
26395
|
+
|
|
26396
|
+
@for (option of filteredOptions(); track trackByOption($index, option)) {
|
|
26397
|
+
<mat-option
|
|
26398
|
+
[value]="option.value"
|
|
26399
|
+
[disabled]="isOptionDisabled(option)"
|
|
26400
|
+
>
|
|
26401
|
+
{{ option.label }}
|
|
26402
|
+
</mat-option>
|
|
26403
|
+
}
|
|
25578
26404
|
</mat-select>
|
|
25579
26405
|
</mat-form-field>
|
|
25580
26406
|
`, providers: [
|
|
@@ -25594,7 +26420,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
|
|
|
25594
26420
|
'[attr.data-field-type]': '"inlineMultiSelect"',
|
|
25595
26421
|
'[attr.data-field-name]': 'metadata()?.name',
|
|
25596
26422
|
'[attr.data-component-id]': 'componentId()',
|
|
25597
|
-
}, styles: [":host{--pdx-inline-chip-active-clear-color: var(--md-sys-color-on-surface);--pdx-inline-chip-active-clear-bg: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 12%, transparent );--pdx-inline-chip-active-clear-bg-hover: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 18%, transparent );display:inline-block;width:auto;min-width:0;max-width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-trigger.is-active .pdx-chip-count{background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--pdx-inline-chip-active-clear-color);background:var(--pdx-inline-chip-active-clear-bg);color:var(--pdx-inline-chip-active-clear-color)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:var(--pdx-inline-chip-active-clear-bg-hover)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline{display:none}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(300px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:22px!important;overflow:hidden!important}::ng-deep .pdx-inline-multiselect-panel{min-width:min(280px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;max-height:min(56vh,420px)!important;padding:6px 0!important;border-radius:22px!important;overflow:hidden!important;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel) div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-multiselect-panel{border-radius:22px!important;overflow:hidden!important}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option{min-height:52px;padding-inline:18px;font-size:1rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-icon{width:18px;height:18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input{width:100%;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-multiselect-panel .mdc-list-item--selected{background:var(--md-sys-color-surface-container-high)}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:first-child{border-top-left-radius:22px;border-top-right-radius:22px}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:last-child{border-bottom-left-radius:22px;border-bottom-right-radius:22px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"] }]
|
|
26423
|
+
}, styles: [":host{--pdx-inline-chip-active-clear-color: var(--md-sys-color-on-surface);--pdx-inline-chip-active-clear-bg: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 12%, transparent );--pdx-inline-chip-active-clear-bg-hover: color-mix( in srgb, var(--pdx-inline-chip-active-clear-color) 18%, transparent );display:inline-block;width:auto;min-width:0;max-width:100%}.pdx-chip-trigger{display:inline-flex;align-items:center;gap:10px;width:auto;min-width:0;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-sizing:border-box;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease,color .12s ease}.pdx-chip-trigger.is-active{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.pdx-chip-label{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;line-height:1.1;font-weight:500}.pdx-chip-leading-icon,.pdx-chip-trailing-icon{width:16px;height:16px;font-size:16px;line-height:1}.pdx-chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);font-size:.74rem;line-height:1;font-weight:700}.pdx-chip-trigger.is-active .pdx-chip-count{background:color-mix(in srgb,var(--md-sys-color-on-primary) 24%,transparent);color:var(--md-sys-color-on-primary)}.pdx-chip-token-list{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;overflow:hidden}.pdx-chip-token{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:104px;padding:2px 6px;border-radius:8px;background:color-mix(in srgb,currentColor 14%,transparent)}.pdx-chip-token-text{display:inline-block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdx-chip-token-remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;border:0;border-radius:6px;padding:0;background:transparent;color:inherit;cursor:pointer}.pdx-chip-token-remove:hover{background:color-mix(in srgb,currentColor 16%,transparent)}.pdx-chip-token-remove:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,currentColor 32%,transparent);outline:none}.pdx-chip-token-remove mat-icon{width:14px;height:14px;font-size:14px;line-height:1}.pdx-chip-token-overflow{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:8px;background:color-mix(in srgb,currentColor 14%,transparent);font-size:.75rem;font-weight:700;line-height:1}.pdx-chip-clear{--clear-ring-color: var(--md-sys-color-primary);width:22px;height:22px;min-width:22px;display:grid;place-items:center;border:0;border-radius:50%;appearance:none;-webkit-appearance:none;outline:none;padding:0;background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent);color:inherit;cursor:pointer;line-height:0;font-size:0;transition:background-color .12s ease,box-shadow .12s ease,color .12s ease}.pdx-chip-clear:hover{background:color-mix(in srgb,var(--md-sys-color-on-surface) 16%,transparent)}.pdx-chip-trigger.is-active .pdx-chip-clear{--clear-ring-color: var(--pdx-inline-chip-active-clear-color);background:var(--pdx-inline-chip-active-clear-bg);color:var(--pdx-inline-chip-active-clear-color)}.pdx-chip-trigger.is-active .pdx-chip-clear:hover{background:var(--pdx-inline-chip-active-clear-bg-hover)}.pdx-chip-clear:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--clear-ring-color) 36%,transparent)}.pdx-chip-clear mat-icon{display:block;width:16px;height:16px;font-size:16px;line-height:1;margin:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field{width:auto;min-width:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select{width:auto;min-width:0;max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-flex,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper{padding:0;background:transparent}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-text-field-wrapper.mdc-text-field--outlined:after{display:none!important;content:none!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-focus-overlay{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:0;min-width:0;max-width:none;padding:0;border:0;background:transparent;color:inherit;box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-trigger:focus-visible{outline:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .pdx-chip-trigger,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .pdx-chip-trigger{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline{display:none}:host ::ng-deep .pdx-inline-multi-select .mdc-notched-outline__notch{width:0!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--outlined{min-height:0;border:0!important;box-shadow:none!important;border-radius:0;overflow:visible!important}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field-infix{min-height:0;width:auto;min-width:0;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-arrow-wrapper{display:none}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select-value{max-width:100%}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{display:inline-flex;align-items:center;justify-content:flex-start;width:auto;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0;border:0;background:transparent;color:inherit}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-value{width:auto;min-width:0;max-width:100%;overflow:visible}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{display:inline-flex;align-items:center;min-height:42px;min-inline-size:var(--pdx-inline-multiselect-min-w, 132px);max-width:min(var(--pdx-inline-multiselect-max-w, 360px),calc(100vw - 48px));padding:0 16px;border-radius:999px;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-high);box-sizing:border-box}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-min-line{color:var(--md-sys-color-on-surface-variant);opacity:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-form-field.mat-focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder,:host ::ng-deep .pdx-inline-multi-select .mat-mdc-text-field-wrapper.mdc-text-field--focused .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{border-color:var(--md-sys-color-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--md-sys-color-primary) 22%,transparent)}::ng-deep .cdk-overlay-connected-position-bounding-box:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel){z-index:var(--praxis-layer-popup, 1400)!important;width:auto!important;min-width:min(300px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;border-radius:22px!important;overflow:hidden!important}::ng-deep .pdx-inline-multiselect-panel{min-width:min(280px,calc(100vw - 24px))!important;width:auto!important;max-width:calc(100vw - 24px)!important;max-height:min(56vh,420px)!important;padding:6px 0!important;border-radius:22px!important;overflow-x:hidden!important;overflow-y:scroll!important;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--md-sys-color-on-surface) 42%,transparent) transparent;border:1px solid var(--md-sys-color-outline-variant)!important;background:var(--md-sys-color-surface-container-highest)!important;box-shadow:var(--md-sys-elevation-level3)!important}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar{width:10px}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar-track{background:transparent}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar-thumb{min-height:36px;border:3px solid transparent;border-radius:999px;background-clip:content-box;background-color:color-mix(in srgb,var(--md-sys-color-on-surface) 42%,transparent)}::ng-deep .pdx-inline-multiselect-panel::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--md-sys-color-on-surface) 58%,transparent)}::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel) div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel).mat-mdc-select-panel-above div.mat-mdc-select-panel.pdx-inline-multiselect-panel,::ng-deep .cdk-overlay-pane:has(.pdx-inline-multiselect-panel):not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel.pdx-inline-multiselect-panel{border-radius:22px!important;overflow-x:hidden!important;overflow-y:scroll!important}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option{min-height:52px;padding-inline:18px;font-size:1rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option{min-height:62px;padding-inline:14px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 72%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option.mdc-list-item--disabled{color:inherit}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-row{display:flex;align-items:center;gap:10px;width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-icon{width:18px;height:18px;font-size:18px;color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input{width:100%;border:0;outline:0;background:transparent;color:var(--md-sys-color-on-surface);font-size:.95rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-search-input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:.92}::ng-deep .pdx-inline-multiselect-panel .mdc-list-item--selected{background:var(--md-sys-color-surface-container-high)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading{min-height:34px;padding-inline:18px;cursor:default;opacity:1;background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 68%,var(--md-sys-color-surface-container-high))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading.mdc-list-item--disabled{color:var(--md-sys-color-on-surface-variant)}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-heading-content{display:inline-flex;align-items:center;gap:8px;width:100%;font-size:.76rem;font-weight:700;letter-spacing:0;text-transform:uppercase}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selection-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--md-sys-color-primary) 20%,transparent);color:var(--md-sys-color-primary);font-size:.72rem}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option{background:color-mix(in srgb,var(--md-sys-color-primary) 10%,var(--md-sys-color-surface-container-highest))}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option .mdc-list-item__primary-text{width:100%}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option-content{display:grid;gap:2px;min-width:0}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}::ng-deep .pdx-inline-multiselect-panel .pdx-panel-selected-option-hint{color:var(--md-sys-color-on-surface-variant);font-size:.72rem;line-height:1.2}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:first-child{border-top-left-radius:22px;border-top-right-radius:22px}::ng-deep .pdx-inline-multiselect-panel .mat-mdc-option:last-child{border-bottom-left-radius:22px;border-bottom-right-radius:22px}@media(max-width:768px){.pdx-chip-label{font-size:.95rem}.pdx-chip-trigger{min-height:38px;padding:0 12px}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-trigger{min-height:38px;padding:0}:host ::ng-deep .pdx-inline-multi-select .mat-mdc-select.mat-mdc-select-empty .mat-mdc-select-placeholder{min-height:38px;padding:0 12px}}\n"] }]
|
|
25598
26424
|
}], propDecorators: { readonlyMode: [{
|
|
25599
26425
|
type: Input
|
|
25600
26426
|
}], disabledMode: [{
|