@praxisui/dynamic-fields 9.0.67 → 9.0.68-rc.0
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"generatedAt": "2026-09-09T10:03:24.330Z",
|
|
4
4
|
"packageName": "@praxisui/dynamic-fields",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.68-rc.0",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 76,
|
|
@@ -152,6 +152,12 @@ Use `stateInitialValues` apenas quando o valor do preset precisa continuar coere
|
|
|
152
152
|
| Week input | <span id="week"></span>`week` | semana ISO | quando o negocio trabalha por data convencional | `string` | `{ name: 'weekRef', controlType: 'week' }` | `pdx-week-input.json-api.md` |
|
|
153
153
|
| Year input | <span id="year"></span>`year` | ano isolado | mes/ano ou data completa | `number \| string` | `{ name: 'fiscalYear', controlType: 'year' }` | `pdx-year-input.json-api.md` |
|
|
154
154
|
|
|
155
|
+
No `dateRange`, os dois inputs devem conservar nomes acessiveis distintos mesmo
|
|
156
|
+
quando o metadata fornece apenas um rotulo compartilhado. O fallback do runtime
|
|
157
|
+
combina esse rotulo com os textos localizados de data inicial e data final.
|
|
158
|
+
`startAriaLabel` e `endAriaLabel` continuam sendo as configuracoes canonicas para
|
|
159
|
+
nomes especificos do dominio e têm precedencia quando diferem do rotulo comum.
|
|
160
|
+
|
|
155
161
|
## Selecao
|
|
156
162
|
|
|
157
163
|
| Field | controlType | Quando usar | Quando evitar | Valor esperado | Snippet | Detail doc |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1$1 from '@angular/forms';
|
|
2
2
|
import { NgControl, FormControl, Validators, ReactiveFormsModule, NG_VALUE_ACCESSOR, FormGroup, FormArray, FormsModule } from '@angular/forms';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
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, model, input, contentChild, Renderer2, viewChildren, ENVIRONMENT_INITIALIZER, Inject, ViewChildren, afterNextRender, TemplateRef, ContentChild, APP_INITIALIZER, Optional } from '@angular/core';
|
|
4
|
+
import { InjectionToken, inject, DestroyRef, ElementRef, ChangeDetectorRef, Injector, signal, output, computed, Input, Directive, viewChild, effect, EventEmitter, Output, Component, forwardRef, LOCALE_ID, Injectable, ChangeDetectionStrategy, afterRenderEffect, ViewChild, ViewContainerRef, HostListener, HostBinding, ViewEncapsulation, model, input, contentChild, Renderer2, viewChildren, ENVIRONMENT_INITIALIZER, Inject, ViewChildren, afterNextRender, TemplateRef, ContentChild, APP_INITIALIZER, Optional } from '@angular/core';
|
|
5
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
6
|
import { providePraxisI18n, PraxisI18nService, isCssTextTransform, getTextTransformer, GlobalActionService, GenericCrudService, GlobalConfigService, PraxisIconDirective, FieldControlType, resolveBuiltinPresets, resolveDateRangeShortcutPreset, 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, PraxisJsonLogicService, renderPraxisPresentationVisualizationHtml, resolveFieldPresentation as resolveFieldPresentation$1, DynamicFormService, ResourceDiscoveryService, ResourceSurfaceOpenAdapterService, classifyEntityLookupResult, ComponentMetadataRegistry, GovernedColorPaletteService, materializeGovernedPaletteEntries, createCpfCnpjValidator, NumericFormat, interpolatePraxisTranslation, FIELD_METADATA_CAPABILITIES } from '@praxisui/core';
|
|
7
7
|
import { Subscription, BehaviorSubject, combineLatest, of, Subject, EMPTY, timer, firstValueFrom, fromEvent, take as take$1 } from 'rxjs';
|
|
@@ -7564,9 +7564,51 @@ class MaterialDateRangeComponent extends SimpleBaseInputComponent {
|
|
|
7564
7564
|
dateAdapter = inject(DateAdapter);
|
|
7565
7565
|
datepickerIntl = inject(MatDatepickerIntl);
|
|
7566
7566
|
picker;
|
|
7567
|
+
startDateInput;
|
|
7567
7568
|
endDateInput;
|
|
7569
|
+
accessibleDateInputLabelsEffect = afterRenderEffect(() => {
|
|
7570
|
+
// MatStartDate normalizes projected input accessibility attributes during
|
|
7571
|
+
// its render cycle. Reapply both canonical names after Material settles.
|
|
7572
|
+
this.applyAccessibleDateInputLabel(this.startDateInput?.nativeElement, this.startInputAriaLabel());
|
|
7573
|
+
this.applyAccessibleDateInputLabel(this.endDateInput?.nativeElement, this.endInputAriaLabel());
|
|
7574
|
+
});
|
|
7575
|
+
applyAccessibleDateInputLabel(input, accessibleName) {
|
|
7576
|
+
if (input && input.getAttribute('aria-label') !== accessibleName) {
|
|
7577
|
+
input.setAttribute('aria-label', accessibleName);
|
|
7578
|
+
}
|
|
7579
|
+
}
|
|
7568
7580
|
shouldShowShortcuts = () => !!this.metadata()?.showShortcuts;
|
|
7569
7581
|
shortcutOverlayAriaLabel = computed(() => this.tDynamicFields('dateRange.shortcutsAriaLabel', 'Atalhos de período de datas'), ...(ngDevMode ? [{ debugName: "shortcutOverlayAriaLabel" }] : /* istanbul ignore next */ []));
|
|
7582
|
+
startInputAriaLabel() {
|
|
7583
|
+
return this.dateInputAriaLabel('start');
|
|
7584
|
+
}
|
|
7585
|
+
endInputAriaLabel() {
|
|
7586
|
+
return this.dateInputAriaLabel('end');
|
|
7587
|
+
}
|
|
7588
|
+
dateInputAriaLabel(boundary) {
|
|
7589
|
+
const metadata = this.metadata();
|
|
7590
|
+
const label = String(metadata?.label || this.label || '').trim();
|
|
7591
|
+
const normalizeComparableText = (value) => value.normalize('NFKC').replace(/\s+/g, ' ').trim();
|
|
7592
|
+
const normalizedLabel = normalizeComparableText(label);
|
|
7593
|
+
const explicitAriaLabel = String(boundary === 'start'
|
|
7594
|
+
? metadata?.startAriaLabel || ''
|
|
7595
|
+
: metadata?.endAriaLabel || '').trim();
|
|
7596
|
+
if (explicitAriaLabel &&
|
|
7597
|
+
normalizeComparableText(explicitAriaLabel) !== normalizedLabel) {
|
|
7598
|
+
return explicitAriaLabel;
|
|
7599
|
+
}
|
|
7600
|
+
const placeholder = String(boundary === 'start'
|
|
7601
|
+
? metadata?.startPlaceholder || ''
|
|
7602
|
+
: metadata?.endPlaceholder || '').trim();
|
|
7603
|
+
if (placeholder &&
|
|
7604
|
+
normalizeComparableText(placeholder) !== normalizedLabel) {
|
|
7605
|
+
return placeholder;
|
|
7606
|
+
}
|
|
7607
|
+
const boundaryLabel = this.tDynamicFields(boundary === 'start'
|
|
7608
|
+
? 'datepicker.startDateLabel'
|
|
7609
|
+
: 'datepicker.endDateLabel', boundary === 'start' ? 'Data inicial' : 'Data final');
|
|
7610
|
+
return label ? `${label} - ${boundaryLabel}` : boundaryLabel;
|
|
7611
|
+
}
|
|
7570
7612
|
overlayPositions = () => {
|
|
7571
7613
|
const preferredPosition = this.metadata()?.shortcutsPosition ?? 'auto';
|
|
7572
7614
|
const below = this.shortcutOverlayBelowPositions();
|
|
@@ -8090,7 +8132,7 @@ class MaterialDateRangeComponent extends SimpleBaseInputComponent {
|
|
|
8090
8132
|
useExisting: forwardRef(() => MaterialDateRangeComponent),
|
|
8091
8133
|
multi: true,
|
|
8092
8134
|
},
|
|
8093
|
-
], viewQueries: [{ propertyName: "picker", first: true, predicate: ["picker"], descendants: true, static: true }, { propertyName: "endDateInput", first: true, predicate: ["endDateInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
8135
|
+
], viewQueries: [{ propertyName: "picker", first: true, predicate: ["picker"], descendants: true, static: true }, { propertyName: "startDateInput", first: true, predicate: ["startDateInput"], descendants: true }, { propertyName: "endDateInput", first: true, predicate: ["endDateInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
8094
8136
|
<div
|
|
8095
8137
|
class="pdx-date-range-wrap"
|
|
8096
8138
|
cdkOverlayOrigin
|
|
@@ -8131,6 +8173,7 @@ class MaterialDateRangeComponent extends SimpleBaseInputComponent {
|
|
|
8131
8173
|
[matTooltipPosition]="tooltipPosition()"
|
|
8132
8174
|
>
|
|
8133
8175
|
<input
|
|
8176
|
+
#startDateInput
|
|
8134
8177
|
matStartDate
|
|
8135
8178
|
formControlName="start"
|
|
8136
8179
|
[attr.placeholder]="
|
|
@@ -8141,12 +8184,7 @@ class MaterialDateRangeComponent extends SimpleBaseInputComponent {
|
|
|
8141
8184
|
"
|
|
8142
8185
|
[readonly]="isReadonlyEffective()"
|
|
8143
8186
|
[attr.aria-disabled]="disabledMode ? 'true' : null"
|
|
8144
|
-
[attr.aria-label]="
|
|
8145
|
-
metadata()?.startAriaLabel ||
|
|
8146
|
-
metadata()?.startPlaceholder ||
|
|
8147
|
-
label ||
|
|
8148
|
-
null
|
|
8149
|
-
"
|
|
8187
|
+
[attr.aria-label]="startInputAriaLabel()"
|
|
8150
8188
|
(keydown.tab)="focusEndDateInput($event)"
|
|
8151
8189
|
/>
|
|
8152
8190
|
<input
|
|
@@ -8161,12 +8199,7 @@ class MaterialDateRangeComponent extends SimpleBaseInputComponent {
|
|
|
8161
8199
|
"
|
|
8162
8200
|
[readonly]="isReadonlyEffective()"
|
|
8163
8201
|
[attr.aria-disabled]="disabledMode ? 'true' : null"
|
|
8164
|
-
[attr.aria-label]="
|
|
8165
|
-
metadata()?.endAriaLabel ||
|
|
8166
|
-
metadata()?.endPlaceholder ||
|
|
8167
|
-
label ||
|
|
8168
|
-
null
|
|
8169
|
-
"
|
|
8202
|
+
[attr.aria-label]="endInputAriaLabel()"
|
|
8170
8203
|
/>
|
|
8171
8204
|
</mat-date-range-input>
|
|
8172
8205
|
|
|
@@ -8298,6 +8331,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8298
8331
|
[matTooltipPosition]="tooltipPosition()"
|
|
8299
8332
|
>
|
|
8300
8333
|
<input
|
|
8334
|
+
#startDateInput
|
|
8301
8335
|
matStartDate
|
|
8302
8336
|
formControlName="start"
|
|
8303
8337
|
[attr.placeholder]="
|
|
@@ -8308,12 +8342,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8308
8342
|
"
|
|
8309
8343
|
[readonly]="isReadonlyEffective()"
|
|
8310
8344
|
[attr.aria-disabled]="disabledMode ? 'true' : null"
|
|
8311
|
-
[attr.aria-label]="
|
|
8312
|
-
metadata()?.startAriaLabel ||
|
|
8313
|
-
metadata()?.startPlaceholder ||
|
|
8314
|
-
label ||
|
|
8315
|
-
null
|
|
8316
|
-
"
|
|
8345
|
+
[attr.aria-label]="startInputAriaLabel()"
|
|
8317
8346
|
(keydown.tab)="focusEndDateInput($event)"
|
|
8318
8347
|
/>
|
|
8319
8348
|
<input
|
|
@@ -8328,12 +8357,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8328
8357
|
"
|
|
8329
8358
|
[readonly]="isReadonlyEffective()"
|
|
8330
8359
|
[attr.aria-disabled]="disabledMode ? 'true' : null"
|
|
8331
|
-
[attr.aria-label]="
|
|
8332
|
-
metadata()?.endAriaLabel ||
|
|
8333
|
-
metadata()?.endPlaceholder ||
|
|
8334
|
-
label ||
|
|
8335
|
-
null
|
|
8336
|
-
"
|
|
8360
|
+
[attr.aria-label]="endInputAriaLabel()"
|
|
8337
8361
|
/>
|
|
8338
8362
|
</mat-date-range-input>
|
|
8339
8363
|
|
|
@@ -8466,6 +8490,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
8466
8490
|
}], picker: [{
|
|
8467
8491
|
type: ViewChild,
|
|
8468
8492
|
args: ['picker', { static: true }]
|
|
8493
|
+
}], startDateInput: [{
|
|
8494
|
+
type: ViewChild,
|
|
8495
|
+
args: ['startDateInput']
|
|
8469
8496
|
}], endDateInput: [{
|
|
8470
8497
|
type: ViewChild,
|
|
8471
8498
|
args: ['endDateInput']
|
|
@@ -24806,7 +24833,7 @@ class ConfirmDialogComponent {
|
|
|
24806
24833
|
</mat-dialog-actions>
|
|
24807
24834
|
|
|
24808
24835
|
</div>
|
|
24809
|
-
`, isInline: true, styles: [".pdx-confirm-dialog{min-width:300px;max-width:500px;padding:24px;box-sizing:border-box}.pdx-dialog-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.pdx-dialog-icon{font-size:24px;height:24px;width:24px}.pdx-dialog-title{margin:0;color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-title-medium-font, inherit);font-size:var(--md-sys-typescale-title-medium-size, 16px);font-weight:var(--md-sys-typescale-title-medium-weight, 500);line-height:var(--md-sys-typescale-title-medium-line-height, 24px);letter-spacing:var(--md-sys-typescale-title-medium-letter-spacing, .15px)}.pdx-dialog-content{padding:0;margin:0 0 24px}.pdx-dialog-message{margin:0;color:var(--md-sys-color-on-surface-variant);font-family:var(--md-sys-typescale-body-medium-font, inherit);font-size:var(--md-sys-typescale-body-medium-size, 14px);font-weight:var(--md-sys-typescale-body-medium-weight, 400);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, .25px);line-height:1.5}.pdx-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0 0;background:transparent}.pdx-cancel-button{color:var(--md-sys-color-on-surface-variant);margin-right:4px}.pdx-confirm-type-warning .pdx-dialog-icon{color:var(--md-sys-color-secondary)}.pdx-confirm-type-danger .pdx-dialog-icon{color:var(--md-sys-color-error)}.pdx-confirm-type-info .pdx-dialog-icon{color:var(--md-sys-color-primary)}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$5.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$5.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$5.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$5.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }] });
|
|
24836
|
+
`, isInline: true, styles: [":host{display:block;background:var(--mat-dialog-container-color, var(--md-sys-color-surface-container-high, Canvas));color:var(--mat-dialog-supporting-text-color, var(--md-sys-color-on-surface, CanvasText))}.pdx-confirm-dialog{min-width:min(300px,100%);max-width:500px;padding:24px;box-sizing:border-box}.pdx-dialog-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.pdx-dialog-icon{font-size:24px;height:24px;width:24px}.pdx-dialog-title{margin:0;color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-title-medium-font, inherit);font-size:var(--md-sys-typescale-title-medium-size, 16px);font-weight:var(--md-sys-typescale-title-medium-weight, 500);line-height:var(--md-sys-typescale-title-medium-line-height, 24px);letter-spacing:var(--md-sys-typescale-title-medium-letter-spacing, .15px)}.pdx-dialog-content{padding:0;margin:0 0 24px}.pdx-dialog-message{margin:0;color:var(--md-sys-color-on-surface-variant);font-family:var(--md-sys-typescale-body-medium-font, inherit);font-size:var(--md-sys-typescale-body-medium-size, 14px);font-weight:var(--md-sys-typescale-body-medium-weight, 400);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, .25px);line-height:1.5}.pdx-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0 0;background:transparent}.pdx-cancel-button{color:var(--md-sys-color-on-surface-variant);margin-right:4px}.pdx-confirm-type-warning .pdx-dialog-icon{color:var(--md-sys-color-secondary)}.pdx-confirm-type-danger .pdx-dialog-icon{color:var(--md-sys-color-error)}.pdx-confirm-type-info .pdx-dialog-icon{color:var(--md-sys-color-primary)}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$5.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$5.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$5.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$5.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }] });
|
|
24810
24837
|
}
|
|
24811
24838
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
24812
24839
|
type: Component,
|
|
@@ -24852,7 +24879,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
24852
24879
|
</mat-dialog-actions>
|
|
24853
24880
|
|
|
24854
24881
|
</div>
|
|
24855
|
-
`, styles: [".pdx-confirm-dialog{min-width:300px;max-width:500px;padding:24px;box-sizing:border-box}.pdx-dialog-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.pdx-dialog-icon{font-size:24px;height:24px;width:24px}.pdx-dialog-title{margin:0;color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-title-medium-font, inherit);font-size:var(--md-sys-typescale-title-medium-size, 16px);font-weight:var(--md-sys-typescale-title-medium-weight, 500);line-height:var(--md-sys-typescale-title-medium-line-height, 24px);letter-spacing:var(--md-sys-typescale-title-medium-letter-spacing, .15px)}.pdx-dialog-content{padding:0;margin:0 0 24px}.pdx-dialog-message{margin:0;color:var(--md-sys-color-on-surface-variant);font-family:var(--md-sys-typescale-body-medium-font, inherit);font-size:var(--md-sys-typescale-body-medium-size, 14px);font-weight:var(--md-sys-typescale-body-medium-weight, 400);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, .25px);line-height:1.5}.pdx-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0 0;background:transparent}.pdx-cancel-button{color:var(--md-sys-color-on-surface-variant);margin-right:4px}.pdx-confirm-type-warning .pdx-dialog-icon{color:var(--md-sys-color-secondary)}.pdx-confirm-type-danger .pdx-dialog-icon{color:var(--md-sys-color-error)}.pdx-confirm-type-info .pdx-dialog-icon{color:var(--md-sys-color-primary)}\n"] }]
|
|
24882
|
+
`, styles: [":host{display:block;background:var(--mat-dialog-container-color, var(--md-sys-color-surface-container-high, Canvas));color:var(--mat-dialog-supporting-text-color, var(--md-sys-color-on-surface, CanvasText))}.pdx-confirm-dialog{min-width:min(300px,100%);max-width:500px;padding:24px;box-sizing:border-box}.pdx-dialog-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.pdx-dialog-icon{font-size:24px;height:24px;width:24px}.pdx-dialog-title{margin:0;color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-title-medium-font, inherit);font-size:var(--md-sys-typescale-title-medium-size, 16px);font-weight:var(--md-sys-typescale-title-medium-weight, 500);line-height:var(--md-sys-typescale-title-medium-line-height, 24px);letter-spacing:var(--md-sys-typescale-title-medium-letter-spacing, .15px)}.pdx-dialog-content{padding:0;margin:0 0 24px}.pdx-dialog-message{margin:0;color:var(--md-sys-color-on-surface-variant);font-family:var(--md-sys-typescale-body-medium-font, inherit);font-size:var(--md-sys-typescale-body-medium-size, 14px);font-weight:var(--md-sys-typescale-body-medium-weight, 400);line-height:var(--md-sys-typescale-body-medium-line-height, 20px);letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, .25px);line-height:1.5}.pdx-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 0 0;background:transparent}.pdx-cancel-button{color:var(--md-sys-color-on-surface-variant);margin-right:4px}.pdx-confirm-type-warning .pdx-dialog-icon{color:var(--md-sys-color-secondary)}.pdx-confirm-type-danger .pdx-dialog-icon{color:var(--md-sys-color-error)}.pdx-confirm-type-info .pdx-dialog-icon{color:var(--md-sys-color-primary)}\n"] }]
|
|
24856
24883
|
}], ctorParameters: () => [{ type: i1$5.MatDialogRef }, { type: undefined, decorators: [{
|
|
24857
24884
|
type: Inject,
|
|
24858
24885
|
args: [MAT_DIALOG_DATA]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.68-rc.0",
|
|
4
4
|
"description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"@angular/platform-browser": "^21.0.0",
|
|
12
12
|
"@angular/router": "^21.0.0",
|
|
13
13
|
"rxjs": "^7.8.0",
|
|
14
|
-
"@praxisui/core": "^9.0.
|
|
15
|
-
"@praxisui/dialog": "^9.0.
|
|
16
|
-
"@praxisui/cron-builder": "^9.0.
|
|
14
|
+
"@praxisui/core": "^9.0.68-rc.0",
|
|
15
|
+
"@praxisui/dialog": "^9.0.68-rc.0",
|
|
16
|
+
"@praxisui/cron-builder": "^9.0.68-rc.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"libphonenumber-js": "^1.12.41",
|
|
@@ -2210,9 +2210,15 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
2210
2210
|
private readonly dateAdapter;
|
|
2211
2211
|
private readonly datepickerIntl;
|
|
2212
2212
|
picker: MatDateRangePicker<Date>;
|
|
2213
|
+
private startDateInput?;
|
|
2213
2214
|
private endDateInput?;
|
|
2215
|
+
private readonly accessibleDateInputLabelsEffect;
|
|
2216
|
+
private applyAccessibleDateInputLabel;
|
|
2214
2217
|
readonly shouldShowShortcuts: () => boolean;
|
|
2215
2218
|
readonly shortcutOverlayAriaLabel: _angular_core.Signal<string>;
|
|
2219
|
+
startInputAriaLabel(): string;
|
|
2220
|
+
endInputAriaLabel(): string;
|
|
2221
|
+
private dateInputAriaLabel;
|
|
2216
2222
|
readonly overlayPositions: () => ConnectedPosition[];
|
|
2217
2223
|
private shortcutOverlayBelowPositions;
|
|
2218
2224
|
private shortcutOverlayLeftPositions;
|