@praxisui/page-builder 10.0.0-rc.43 → 10.0.0-rc.44
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-11-
|
|
3
|
+
"generatedAt": "2026-11-09T21:30:37.724Z",
|
|
4
4
|
"packageName": "@praxisui/page-builder",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.44",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -36474,11 +36474,11 @@ class PraxisPageSaveAsComponent {
|
|
|
36474
36474
|
}
|
|
36475
36475
|
}
|
|
36476
36476
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisPageSaveAsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36477
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisPageSaveAsComponent, isStandalone: true, selector: "praxis-page-save-as", inputs: { adapter: { classPropertyName: "adapter", publicName: "adapter", isSignal: true, isRequired: true, transformFunction: null }, contextKey: { classPropertyName: "contextKey", publicName: "contextKey", isSignal: true, isRequired: true, transformFunction: null }, canSave: { classPropertyName: "canSave", publicName: "canSave", isSignal: true, isRequired: false, transformFunction: null }, initialTitle: { classPropertyName: "initialTitle", publicName: "initialTitle", isSignal: true, isRequired: false, transformFunction: null }, initialMenuLabel: { classPropertyName: "initialMenuLabel", publicName: "initialMenuLabel", isSignal: true, isRequired: false, transformFunction: null }, initialIcon: { classPropertyName: "initialIcon", publicName: "initialIcon", isSignal: true, isRequired: false, transformFunction: null }, titleMaxLength: { classPropertyName: "titleMaxLength", publicName: "titleMaxLength", isSignal: true, isRequired: false, transformFunction: null }, menuMaxLength: { classPropertyName: "menuMaxLength", publicName: "menuMaxLength", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { saveRequested: "saveRequested", saved: "saved", saveFailed: "saveFailed" }, providers: [providePraxisPageBuilderI18n()], ngImport: i0, template: "<div class=\"save-as\" [attr.aria-busy]=\"busy() || choosingIcon()\">\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('title') }}</mat-label>\n <input matInput data-testid=\"page-save-as-title\" [formControl]=\"title\" [maxlength]=\"titleMaxLength()\" />\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('menu') }}</mat-label>\n <input matInput data-testid=\"page-save-as-menu\" [formControl]=\"menu\" [maxlength]=\"menuMaxLength()\" />\n <mat-hint>{{ text('menuHint') }}</mat-hint>\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <button mat-stroked-button type=\"button\" data-testid=\"page-save-as-icon\" [attr.data-icon]=\"icon()\" [disabled]=\"busy() || choosingIcon()\" (click)=\"chooseIcon()\"><mat-icon aria-hidden=\"true\">{{ icon() }}</mat-icon>{{ text('icon') }}</button>\n <button mat-flat-button type=\"button\" data-testid=\"page-save-as-submit\" [disabled]=\"busy() || choosingIcon() || !canSave() || title.invalid || menu.invalid\" (click)=\"requestSave()\">{{ text(busy() ? 'saving' : 'save') }}</button>\n</div>\n@if (iconError()) { <p role=\"alert\">{{ text('invalidIcon') }}</p> }\n@if (error()) { <p role=\"alert\">{{ text('failed') }}</p> }\n@if (result(); as confirmed) {\n <div class=\"save-result\" role=\"status\"><span>{{ text('saved') }}</span><a mat-button data-testid=\"page-save-as-link\" [routerLink]=\"confirmed.routePath\">{{ text('open') }}</a><code>{{ confirmed.routePath }}</code></div>\n}\n", styles: [":host{display:block;min-width:0}.save-as{display:
|
|
36477
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisPageSaveAsComponent, isStandalone: true, selector: "praxis-page-save-as", inputs: { adapter: { classPropertyName: "adapter", publicName: "adapter", isSignal: true, isRequired: true, transformFunction: null }, contextKey: { classPropertyName: "contextKey", publicName: "contextKey", isSignal: true, isRequired: true, transformFunction: null }, canSave: { classPropertyName: "canSave", publicName: "canSave", isSignal: true, isRequired: false, transformFunction: null }, initialTitle: { classPropertyName: "initialTitle", publicName: "initialTitle", isSignal: true, isRequired: false, transformFunction: null }, initialMenuLabel: { classPropertyName: "initialMenuLabel", publicName: "initialMenuLabel", isSignal: true, isRequired: false, transformFunction: null }, initialIcon: { classPropertyName: "initialIcon", publicName: "initialIcon", isSignal: true, isRequired: false, transformFunction: null }, titleMaxLength: { classPropertyName: "titleMaxLength", publicName: "titleMaxLength", isSignal: true, isRequired: false, transformFunction: null }, menuMaxLength: { classPropertyName: "menuMaxLength", publicName: "menuMaxLength", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { saveRequested: "saveRequested", saved: "saved", saveFailed: "saveFailed" }, providers: [providePraxisPageBuilderI18n()], ngImport: i0, template: "<div class=\"save-as\" [attr.aria-busy]=\"busy() || choosingIcon()\">\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('title') }}</mat-label>\n <input matInput data-testid=\"page-save-as-title\" [formControl]=\"title\" [maxlength]=\"titleMaxLength()\" />\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('menu') }}</mat-label>\n <input matInput data-testid=\"page-save-as-menu\" [formControl]=\"menu\" [maxlength]=\"menuMaxLength()\" />\n <mat-hint>{{ text('menuHint') }}</mat-hint>\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <button mat-stroked-button type=\"button\" data-testid=\"page-save-as-icon\" [attr.data-icon]=\"icon()\" [disabled]=\"busy() || choosingIcon()\" (click)=\"chooseIcon()\"><mat-icon aria-hidden=\"true\">{{ icon() }}</mat-icon>{{ text('icon') }}</button>\n <button mat-flat-button type=\"button\" data-testid=\"page-save-as-submit\" [disabled]=\"busy() || choosingIcon() || !canSave() || title.invalid || menu.invalid\" (click)=\"requestSave()\">{{ text(busy() ? 'saving' : 'save') }}</button>\n</div>\n@if (iconError()) { <p role=\"alert\">{{ text('invalidIcon') }}</p> }\n@if (error()) { <p role=\"alert\">{{ text('failed') }}</p> }\n@if (result(); as confirmed) {\n <div class=\"save-result\" role=\"status\"><span>{{ text('saved') }}</span><a mat-button data-testid=\"page-save-as-link\" [routerLink]=\"confirmed.routePath\">{{ text('open') }}</a><code>{{ confirmed.routePath }}</code></div>\n}\n", styles: [":host{display:block;min-width:0}.save-as{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px 10px;align-items:start}mat-form-field{width:100%;min-width:0}:host ::ng-deep .save-as .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .save-as .mat-mdc-text-field-wrapper{padding-top:0;padding-bottom:0}:host ::ng-deep .save-as .mat-mdc-form-field-infix{min-height:40px;padding-top:8px;padding-bottom:8px}button{margin-top:0;min-height:36px;height:36px;padding:0 12px;border-radius:10px;font-weight:600;letter-spacing:.01em}p[role=alert]{color:var(--mat-sys-error);margin:6px 0 0;font-size:.78rem}.save-result{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px;padding:8px 12px;border-radius:10px;background:color-mix(in srgb,var(--praxis-success, var(--mat-sys-primary, #10b981)) 12%,transparent);border:1px solid color-mix(in srgb,var(--praxis-success, var(--mat-sys-primary, #10b981)) 32%,transparent);color:var(--mat-sys-on-surface, inherit);font-size:.78rem;font-weight:600}code{overflow-wrap:anywhere;font-size:12px}@media(max-width:700px){.save-as{grid-template-columns:minmax(0,1fr);gap:6px}}\n"], dependencies: [{ 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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.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: MatFormFieldModule }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4$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: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDialogModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36478
36478
|
}
|
|
36479
36479
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisPageSaveAsComponent, decorators: [{
|
|
36480
36480
|
type: Component,
|
|
36481
|
-
args: [{ selector: 'praxis-page-save-as', imports: [ReactiveFormsModule, RouterLink, MatButtonModule, MatFormFieldModule, MatInputModule, MatIconModule, MatDialogModule], providers: [providePraxisPageBuilderI18n()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"save-as\" [attr.aria-busy]=\"busy() || choosingIcon()\">\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('title') }}</mat-label>\n <input matInput data-testid=\"page-save-as-title\" [formControl]=\"title\" [maxlength]=\"titleMaxLength()\" />\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('menu') }}</mat-label>\n <input matInput data-testid=\"page-save-as-menu\" [formControl]=\"menu\" [maxlength]=\"menuMaxLength()\" />\n <mat-hint>{{ text('menuHint') }}</mat-hint>\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <button mat-stroked-button type=\"button\" data-testid=\"page-save-as-icon\" [attr.data-icon]=\"icon()\" [disabled]=\"busy() || choosingIcon()\" (click)=\"chooseIcon()\"><mat-icon aria-hidden=\"true\">{{ icon() }}</mat-icon>{{ text('icon') }}</button>\n <button mat-flat-button type=\"button\" data-testid=\"page-save-as-submit\" [disabled]=\"busy() || choosingIcon() || !canSave() || title.invalid || menu.invalid\" (click)=\"requestSave()\">{{ text(busy() ? 'saving' : 'save') }}</button>\n</div>\n@if (iconError()) { <p role=\"alert\">{{ text('invalidIcon') }}</p> }\n@if (error()) { <p role=\"alert\">{{ text('failed') }}</p> }\n@if (result(); as confirmed) {\n <div class=\"save-result\" role=\"status\"><span>{{ text('saved') }}</span><a mat-button data-testid=\"page-save-as-link\" [routerLink]=\"confirmed.routePath\">{{ text('open') }}</a><code>{{ confirmed.routePath }}</code></div>\n}\n", styles: [":host{display:block;min-width:0}.save-as{display:
|
|
36481
|
+
args: [{ selector: 'praxis-page-save-as', imports: [ReactiveFormsModule, RouterLink, MatButtonModule, MatFormFieldModule, MatInputModule, MatIconModule, MatDialogModule], providers: [providePraxisPageBuilderI18n()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"save-as\" [attr.aria-busy]=\"busy() || choosingIcon()\">\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('title') }}</mat-label>\n <input matInput data-testid=\"page-save-as-title\" [formControl]=\"title\" [maxlength]=\"titleMaxLength()\" />\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <mat-form-field appearance=\"outline\"><mat-label>{{ text('menu') }}</mat-label>\n <input matInput data-testid=\"page-save-as-menu\" [formControl]=\"menu\" [maxlength]=\"menuMaxLength()\" />\n <mat-hint>{{ text('menuHint') }}</mat-hint>\n <mat-error>{{ text('invalidName') }}</mat-error>\n </mat-form-field>\n <button mat-stroked-button type=\"button\" data-testid=\"page-save-as-icon\" [attr.data-icon]=\"icon()\" [disabled]=\"busy() || choosingIcon()\" (click)=\"chooseIcon()\"><mat-icon aria-hidden=\"true\">{{ icon() }}</mat-icon>{{ text('icon') }}</button>\n <button mat-flat-button type=\"button\" data-testid=\"page-save-as-submit\" [disabled]=\"busy() || choosingIcon() || !canSave() || title.invalid || menu.invalid\" (click)=\"requestSave()\">{{ text(busy() ? 'saving' : 'save') }}</button>\n</div>\n@if (iconError()) { <p role=\"alert\">{{ text('invalidIcon') }}</p> }\n@if (error()) { <p role=\"alert\">{{ text('failed') }}</p> }\n@if (result(); as confirmed) {\n <div class=\"save-result\" role=\"status\"><span>{{ text('saved') }}</span><a mat-button data-testid=\"page-save-as-link\" [routerLink]=\"confirmed.routePath\">{{ text('open') }}</a><code>{{ confirmed.routePath }}</code></div>\n}\n", styles: [":host{display:block;min-width:0}.save-as{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px 10px;align-items:start}mat-form-field{width:100%;min-width:0}:host ::ng-deep .save-as .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .save-as .mat-mdc-text-field-wrapper{padding-top:0;padding-bottom:0}:host ::ng-deep .save-as .mat-mdc-form-field-infix{min-height:40px;padding-top:8px;padding-bottom:8px}button{margin-top:0;min-height:36px;height:36px;padding:0 12px;border-radius:10px;font-weight:600;letter-spacing:.01em}p[role=alert]{color:var(--mat-sys-error);margin:6px 0 0;font-size:.78rem}.save-result{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px;padding:8px 12px;border-radius:10px;background:color-mix(in srgb,var(--praxis-success, var(--mat-sys-primary, #10b981)) 12%,transparent);border:1px solid color-mix(in srgb,var(--praxis-success, var(--mat-sys-primary, #10b981)) 32%,transparent);color:var(--mat-sys-on-surface, inherit);font-size:.78rem;font-weight:600}code{overflow-wrap:anywhere;font-size:12px}@media(max-width:700px){.save-as{grid-template-columns:minmax(0,1fr);gap:6px}}\n"] }]
|
|
36482
36482
|
}], ctorParameters: () => [], propDecorators: { adapter: [{ type: i0.Input, args: [{ isSignal: true, alias: "adapter", required: true }] }], contextKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "contextKey", required: true }] }], canSave: [{ type: i0.Input, args: [{ isSignal: true, alias: "canSave", required: false }] }], initialTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialTitle", required: false }] }], initialMenuLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialMenuLabel", required: false }] }], initialIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialIcon", required: false }] }], titleMaxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleMaxLength", required: false }] }], menuMaxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuMaxLength", required: false }] }], saveRequested: [{ type: i0.Output, args: ["saveRequested"] }], saved: [{ type: i0.Output, args: ["saved"] }], saveFailed: [{ type: i0.Output, args: ["saveFailed"] }] } });
|
|
36483
36483
|
|
|
36484
36484
|
/** Copies the current local authoring snapshot. Allocation/provenance belongs to the destination adapter. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/page-builder",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.44",
|
|
4
4
|
"description": "Page and widget builder utilities for Praxis UI (grid, dynamic widgets, editors).",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -8,9 +8,12 @@
|
|
|
8
8
|
"@angular/forms": "^21.0.0",
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
|
-
"@
|
|
12
|
-
"@praxisui/
|
|
13
|
-
"@praxisui/
|
|
11
|
+
"@angular/router": "^21.0.0",
|
|
12
|
+
"@praxisui/ai": "^10.0.0-rc.44",
|
|
13
|
+
"@praxisui/core": "^10.0.0-rc.44",
|
|
14
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.44",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.44",
|
|
16
|
+
"@praxisui/table": "^10.0.0-rc.44",
|
|
14
17
|
"rxjs": "~7.8.0"
|
|
15
18
|
},
|
|
16
19
|
"dependencies": {
|