@praxisui/dynamic-fields 9.0.0-beta.27 → 9.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-01T23:36:01.296Z",
|
|
4
4
|
"packageName": "@praxisui/dynamic-fields",
|
|
5
|
-
"packageVersion": "9.0.0-beta.
|
|
5
|
+
"packageVersion": "9.0.0-beta.29",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 76,
|
|
@@ -19345,38 +19345,40 @@ class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
19345
19345
|
[matTooltipDisabled]="!(tooltipEnabled() && !!errorMessage())"
|
|
19346
19346
|
[matTooltipPosition]="tooltipPosition()"
|
|
19347
19347
|
>
|
|
19348
|
-
<
|
|
19349
|
-
|
|
19350
|
-
|
|
19351
|
-
|
|
19352
|
-
|
|
19353
|
-
|
|
19354
|
-
|
|
19355
|
-
|
|
19356
|
-
|
|
19357
|
-
|
|
19358
|
-
|
|
19359
|
-
|
|
19360
|
-
|
|
19361
|
-
|
|
19362
|
-
|
|
19363
|
-
|
|
19364
|
-
|
|
19365
|
-
|
|
19366
|
-
|
|
19367
|
-
|
|
19348
|
+
<div class="pdx-slide-toggle-control-row">
|
|
19349
|
+
<mat-slide-toggle
|
|
19350
|
+
[formControl]="control()"
|
|
19351
|
+
[required]="requiredTrueEffective()"
|
|
19352
|
+
[labelPosition]="metadata()?.labelPosition || 'after'"
|
|
19353
|
+
[color]="metadata()?.color"
|
|
19354
|
+
[disableRipple]="metadata()?.disableRipple || false"
|
|
19355
|
+
[hideIcon]="metadata()?.hideIcon || false"
|
|
19356
|
+
(pointerdown)="onTogglePointerDown($event)"
|
|
19357
|
+
(click)="onToggleInteractionEvent($event)"
|
|
19358
|
+
(keydown)="onToggleKeydown($event)"
|
|
19359
|
+
[aria-label]="inputAriaLabel()"
|
|
19360
|
+
[aria-labelledby]="metadata()?.ariaLabelledby || null"
|
|
19361
|
+
[aria-describedby]="metadata()?.ariaDescribedby || null"
|
|
19362
|
+
[attr.aria-disabled]="toggleAriaDisabled()"
|
|
19363
|
+
[attr.aria-invalid]="ariaInvalidAttribute()"
|
|
19364
|
+
[attr.aria-readonly]="toggleAriaReadonly()"
|
|
19365
|
+
[attr.aria-required]="requiredEffective() ? 'true' : 'false'"
|
|
19366
|
+
>
|
|
19367
|
+
{{ label }}
|
|
19368
|
+
</mat-slide-toggle>
|
|
19368
19369
|
|
|
19369
|
-
|
|
19370
|
-
|
|
19371
|
-
|
|
19372
|
-
|
|
19373
|
-
|
|
19374
|
-
|
|
19375
|
-
|
|
19376
|
-
|
|
19377
|
-
|
|
19378
|
-
|
|
19379
|
-
|
|
19370
|
+
@if (fieldHelpPopoverText()) {
|
|
19371
|
+
<mat-icon
|
|
19372
|
+
class="pdx-field-help-icon"
|
|
19373
|
+
[matTooltip]="fieldHelpPopoverText()"
|
|
19374
|
+
matTooltipPosition="after"
|
|
19375
|
+
[matTooltipDisabled]="fieldHelpPopoverDisabled()"
|
|
19376
|
+
[attr.aria-label]="fieldHelpAriaLabel()"
|
|
19377
|
+
tabindex="0"
|
|
19378
|
+
[praxisIcon]="'help_outline'"
|
|
19379
|
+
></mat-icon>
|
|
19380
|
+
}
|
|
19381
|
+
</div>
|
|
19380
19382
|
|
|
19381
19383
|
@if (hasValidationError()) {
|
|
19382
19384
|
<div class="pdx-error">{{ errorMessage() }}</div>
|
|
@@ -19385,7 +19387,7 @@ class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
19385
19387
|
<div class="pdx-hint">{{ fieldHelpInlineText() }}</div>
|
|
19386
19388
|
}
|
|
19387
19389
|
</div>
|
|
19388
|
-
`, isInline: true, styles: [".pdx-slide-toggle-wrapper{display:flex;align-items:center;width:100%;min-height:56px;padding:4px 0;border-radius:var(--md-sys-shape-corner-large, 16px)}.pdx-slide-toggle-wrapper:focus-within{outline:2px solid var(--md-sys-color-primary);outline-offset:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent)}:host{display:block;width:100%}mat-slide-toggle{flex:
|
|
19390
|
+
`, isInline: true, styles: [".pdx-slide-toggle-wrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:56px;padding:4px 0;border-radius:var(--md-sys-shape-corner-large, 16px)}.pdx-slide-toggle-wrapper:focus-within{outline:2px solid var(--md-sys-color-primary);outline-offset:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent)}:host{display:block;width:100%}.pdx-slide-toggle-control-row{display:inline-flex;align-items:center;max-width:100%;min-width:0}mat-slide-toggle{flex:0 1 auto;min-width:0}.pdx-field-help-icon{border-radius:999px;flex:0 0 auto;margin-inline-start:6px;color:var(--md-sys-color-on-surface-variant);cursor:help}.pdx-field-help-icon:focus{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}\n"], dependencies: [{ 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: MatSlideToggleModule }, { kind: "component", type: i2$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { 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: MatButtonModule }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }] });
|
|
19389
19391
|
}
|
|
19390
19392
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: MaterialSlideToggleComponent, decorators: [{
|
|
19391
19393
|
type: Component,
|
|
@@ -19403,38 +19405,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
19403
19405
|
[matTooltipDisabled]="!(tooltipEnabled() && !!errorMessage())"
|
|
19404
19406
|
[matTooltipPosition]="tooltipPosition()"
|
|
19405
19407
|
>
|
|
19406
|
-
<
|
|
19407
|
-
|
|
19408
|
-
|
|
19409
|
-
|
|
19410
|
-
|
|
19411
|
-
|
|
19412
|
-
|
|
19413
|
-
|
|
19414
|
-
|
|
19415
|
-
|
|
19416
|
-
|
|
19417
|
-
|
|
19418
|
-
|
|
19419
|
-
|
|
19420
|
-
|
|
19421
|
-
|
|
19422
|
-
|
|
19423
|
-
|
|
19424
|
-
|
|
19425
|
-
|
|
19408
|
+
<div class="pdx-slide-toggle-control-row">
|
|
19409
|
+
<mat-slide-toggle
|
|
19410
|
+
[formControl]="control()"
|
|
19411
|
+
[required]="requiredTrueEffective()"
|
|
19412
|
+
[labelPosition]="metadata()?.labelPosition || 'after'"
|
|
19413
|
+
[color]="metadata()?.color"
|
|
19414
|
+
[disableRipple]="metadata()?.disableRipple || false"
|
|
19415
|
+
[hideIcon]="metadata()?.hideIcon || false"
|
|
19416
|
+
(pointerdown)="onTogglePointerDown($event)"
|
|
19417
|
+
(click)="onToggleInteractionEvent($event)"
|
|
19418
|
+
(keydown)="onToggleKeydown($event)"
|
|
19419
|
+
[aria-label]="inputAriaLabel()"
|
|
19420
|
+
[aria-labelledby]="metadata()?.ariaLabelledby || null"
|
|
19421
|
+
[aria-describedby]="metadata()?.ariaDescribedby || null"
|
|
19422
|
+
[attr.aria-disabled]="toggleAriaDisabled()"
|
|
19423
|
+
[attr.aria-invalid]="ariaInvalidAttribute()"
|
|
19424
|
+
[attr.aria-readonly]="toggleAriaReadonly()"
|
|
19425
|
+
[attr.aria-required]="requiredEffective() ? 'true' : 'false'"
|
|
19426
|
+
>
|
|
19427
|
+
{{ label }}
|
|
19428
|
+
</mat-slide-toggle>
|
|
19426
19429
|
|
|
19427
|
-
|
|
19428
|
-
|
|
19429
|
-
|
|
19430
|
-
|
|
19431
|
-
|
|
19432
|
-
|
|
19433
|
-
|
|
19434
|
-
|
|
19435
|
-
|
|
19436
|
-
|
|
19437
|
-
|
|
19430
|
+
@if (fieldHelpPopoverText()) {
|
|
19431
|
+
<mat-icon
|
|
19432
|
+
class="pdx-field-help-icon"
|
|
19433
|
+
[matTooltip]="fieldHelpPopoverText()"
|
|
19434
|
+
matTooltipPosition="after"
|
|
19435
|
+
[matTooltipDisabled]="fieldHelpPopoverDisabled()"
|
|
19436
|
+
[attr.aria-label]="fieldHelpAriaLabel()"
|
|
19437
|
+
tabindex="0"
|
|
19438
|
+
[praxisIcon]="'help_outline'"
|
|
19439
|
+
></mat-icon>
|
|
19440
|
+
}
|
|
19441
|
+
</div>
|
|
19438
19442
|
|
|
19439
19443
|
@if (hasValidationError()) {
|
|
19440
19444
|
<div class="pdx-error">{{ errorMessage() }}</div>
|
|
@@ -19458,7 +19462,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
19458
19462
|
'[attr.data-field-type]': '"toggle"',
|
|
19459
19463
|
'[attr.data-field-name]': 'metadata()?.name',
|
|
19460
19464
|
'[attr.data-component-id]': 'componentId()',
|
|
19461
|
-
}, styles: [".pdx-slide-toggle-wrapper{display:flex;align-items:center;width:100%;min-height:56px;padding:4px 0;border-radius:var(--md-sys-shape-corner-large, 16px)}.pdx-slide-toggle-wrapper:focus-within{outline:2px solid var(--md-sys-color-primary);outline-offset:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent)}:host{display:block;width:100%}mat-slide-toggle{flex:
|
|
19465
|
+
}, styles: [".pdx-slide-toggle-wrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:56px;padding:4px 0;border-radius:var(--md-sys-shape-corner-large, 16px)}.pdx-slide-toggle-wrapper:focus-within{outline:2px solid var(--md-sys-color-primary);outline-offset:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent)}:host{display:block;width:100%}.pdx-slide-toggle-control-row{display:inline-flex;align-items:center;max-width:100%;min-width:0}mat-slide-toggle{flex:0 1 auto;min-width:0}.pdx-field-help-icon{border-radius:999px;flex:0 0 auto;margin-inline-start:6px;color:var(--md-sys-color-on-surface-variant);cursor:help}.pdx-field-help-icon:focus{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}\n"] }]
|
|
19462
19466
|
}], propDecorators: { readonlyMode: [{
|
|
19463
19467
|
type: Input
|
|
19464
19468
|
}], disabledMode: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.29",
|
|
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,8 +11,8 @@
|
|
|
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.0-beta.
|
|
15
|
-
"@praxisui/cron-builder": "^9.0.0-beta.
|
|
14
|
+
"@praxisui/core": "^9.0.0-beta.29",
|
|
15
|
+
"@praxisui/cron-builder": "^9.0.0-beta.29"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"libphonenumber-js": "^1.12.41",
|