@smartbit4all/ng-client 7.3.19 → 7.3.20
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.
|
@@ -11783,11 +11783,11 @@ class SmartContainerDialog {
|
|
|
11783
11783
|
}
|
|
11784
11784
|
}
|
|
11785
11785
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SmartContainerDialog, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11786
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SmartContainerDialog, isStandalone: true, selector: "smart-container-dialog", viewQueries: [{ propertyName: "vcRef", first: true, predicate: ["renderComponentHere"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"dialog-container\">\r\n <div class=\"dialog-header\" #header>\r\n <h2 class=\"dialog-title\">{{ title() }}</h2>\r\n\r\n @if (headerModels().length && executor()) {\r\n <smart-ui-action-toolbar\r\n class=\"dialog-header-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_HEADER\"\r\n [uiActionModels]=\"headerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n }\r\n </div>\r\n\r\n <mat-dialog-content class=\"dialog-content\">\r\n <ng-template #renderComponentHere></ng-template>\r\n </mat-dialog-content>\r\n\r\n @if (footerModels().length && executor()) {\r\n <div class=\"dialog-footer\">\r\n <smart-ui-action-toolbar\r\n class=\"dialog-footer-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_FOOTER\"\r\n [uiActionModels]=\"footerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n </div>\r\n }\r\n</div>", styles: [".dialog-container{display:flex;flex-direction:column;--sb4-dialog-default-padding: .5rem;--mat-dialog-content-padding: var(--sb4-dialog-default-padding)}.dialog-header{display:flex;align-items:center;gap:var(--sb4-dialog-default-padding);padding:var(--sb4-dialog-default-padding)}.mat-mdc-dialog-content{max-height:var(--sb4-dialog-default-max-height, 80vh);max-width:var(--sb4-dialog-default-max-width, unset);min-width:var(--sb4-dialog-default-min-width, unset)}.dialog-title{flex:1;margin:0}.dialog-header-toolbar ::ng-deep button{min-width:unset}
|
|
11786
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SmartContainerDialog, isStandalone: true, selector: "smart-container-dialog", viewQueries: [{ propertyName: "vcRef", first: true, predicate: ["renderComponentHere"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"dialog-container\">\r\n <div class=\"dialog-header\" #header>\r\n <h2 class=\"dialog-title\">{{ title() }}</h2>\r\n\r\n @if (headerModels().length && executor()) {\r\n <smart-ui-action-toolbar\r\n class=\"dialog-header-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_HEADER\"\r\n [uiActionModels]=\"headerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n }\r\n </div>\r\n\r\n <mat-dialog-content class=\"dialog-content\">\r\n <ng-template #renderComponentHere></ng-template>\r\n </mat-dialog-content>\r\n\r\n @if (footerModels().length && executor()) {\r\n <div class=\"dialog-footer\">\r\n <smart-ui-action-toolbar\r\n class=\"dialog-footer-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_FOOTER\"\r\n [uiActionModels]=\"footerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n </div>\r\n }\r\n</div>", styles: [".dialog-container{display:flex;flex-direction:column;--sb4-dialog-default-padding: .5rem;--mat-dialog-content-padding: var(--sb4-dialog-default-padding)}.dialog-header{display:flex;align-items:center;gap:var(--sb4-dialog-default-padding);padding:var(--sb4-dialog-default-padding)}.mat-mdc-dialog-content{max-height:var(--sb4-dialog-default-max-height, 80vh);max-width:var(--sb4-dialog-default-max-width, unset);min-width:var(--sb4-dialog-default-min-width, unset)}.dialog-title{flex:1;margin:0}.dialog-footer{padding:var(--sb4-dialog-default-padding)}\n", ".dialog-header-toolbar ::ng-deep button{min-width:unset}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: UiActionToolbarComponent, selector: "smart-ui-action-toolbar", inputs: ["uiActionModels", "uiActionDescriptorService", "id", "executor", "widgetId", "nodeId", "actionParams", "scrollOnWrap", "toolbarPropertes"], outputs: ["actionFired"] }] }); }
|
|
11787
11787
|
}
|
|
11788
11788
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SmartContainerDialog, decorators: [{
|
|
11789
11789
|
type: Component,
|
|
11790
|
-
args: [{ selector: "smart-container-dialog", imports: [MatDialogContent, UiActionToolbarComponent], template: "<div class=\"dialog-container\">\r\n <div class=\"dialog-header\" #header>\r\n <h2 class=\"dialog-title\">{{ title() }}</h2>\r\n\r\n @if (headerModels().length && executor()) {\r\n <smart-ui-action-toolbar\r\n class=\"dialog-header-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_HEADER\"\r\n [uiActionModels]=\"headerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n }\r\n </div>\r\n\r\n <mat-dialog-content class=\"dialog-content\">\r\n <ng-template #renderComponentHere></ng-template>\r\n </mat-dialog-content>\r\n\r\n @if (footerModels().length && executor()) {\r\n <div class=\"dialog-footer\">\r\n <smart-ui-action-toolbar\r\n class=\"dialog-footer-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_FOOTER\"\r\n [uiActionModels]=\"footerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n </div>\r\n }\r\n</div>", styles: [".dialog-container{display:flex;flex-direction:column;--sb4-dialog-default-padding: .5rem;--mat-dialog-content-padding: var(--sb4-dialog-default-padding)}.dialog-header{display:flex;align-items:center;gap:var(--sb4-dialog-default-padding);padding:var(--sb4-dialog-default-padding)}.mat-mdc-dialog-content{max-height:var(--sb4-dialog-default-max-height, 80vh);max-width:var(--sb4-dialog-default-max-width, unset);min-width:var(--sb4-dialog-default-min-width, unset)}.dialog-title{flex:1;margin:0}.dialog-header-toolbar ::ng-deep button{min-width:unset}
|
|
11790
|
+
args: [{ selector: "smart-container-dialog", imports: [MatDialogContent, UiActionToolbarComponent], template: "<div class=\"dialog-container\">\r\n <div class=\"dialog-header\" #header>\r\n <h2 class=\"dialog-title\">{{ title() }}</h2>\r\n\r\n @if (headerModels().length && executor()) {\r\n <smart-ui-action-toolbar\r\n class=\"dialog-header-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_HEADER\"\r\n [uiActionModels]=\"headerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n }\r\n </div>\r\n\r\n <mat-dialog-content class=\"dialog-content\">\r\n <ng-template #renderComponentHere></ng-template>\r\n </mat-dialog-content>\r\n\r\n @if (footerModels().length && executor()) {\r\n <div class=\"dialog-footer\">\r\n <smart-ui-action-toolbar\r\n class=\"dialog-footer-toolbar\"\r\n [id]=\"TOOLBAR_DIALOG_FOOTER\"\r\n [uiActionModels]=\"footerModels()\"\r\n [executor]=\"executor()\"\r\n ></smart-ui-action-toolbar>\r\n </div>\r\n }\r\n</div>", styles: [".dialog-container{display:flex;flex-direction:column;--sb4-dialog-default-padding: .5rem;--mat-dialog-content-padding: var(--sb4-dialog-default-padding)}.dialog-header{display:flex;align-items:center;gap:var(--sb4-dialog-default-padding);padding:var(--sb4-dialog-default-padding)}.mat-mdc-dialog-content{max-height:var(--sb4-dialog-default-max-height, 80vh);max-width:var(--sb4-dialog-default-max-width, unset);min-width:var(--sb4-dialog-default-min-width, unset)}.dialog-title{flex:1;margin:0}.dialog-footer{padding:var(--sb4-dialog-default-padding)}\n", ".dialog-header-toolbar ::ng-deep button{min-width:unset}\n"] }]
|
|
11791
11791
|
}], propDecorators: { vcRef: [{
|
|
11792
11792
|
type: ViewChild,
|
|
11793
11793
|
args: ["renderComponentHere", { read: ViewContainerRef, static: true }]
|
|
@@ -15260,11 +15260,11 @@ class SmartViewContextErrorDialogComponent {
|
|
|
15260
15260
|
this.service.closeDialog();
|
|
15261
15261
|
}
|
|
15262
15262
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SmartViewContextErrorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15263
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SmartViewContextErrorDialogComponent, isStandalone: true, selector: "lib-smart-view-context-error-dialog", ngImport: i0, template: "@if (smartViewContextApiError) {\r\n <div class=\"container\">\r\n <
|
|
15263
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: SmartViewContextErrorDialogComponent, isStandalone: true, selector: "lib-smart-view-context-error-dialog", ngImport: i0, template: "@if (smartViewContextApiError) {\r\n <div class=\"dialog-container error-dialog\">\r\n <div class=\"dialog-header\">\r\n <h2 class=\"dialog-title\">{{ smartViewContextApiError.dialogTitle }}</h2>\r\n </div>\r\n\r\n <mat-dialog-content class=\"dialog-content\">\r\n <p>{{ smartViewContextApiError.message }}</p>\r\n </mat-dialog-content>\r\n\r\n <div class=\"dialog-footer\">\r\n <ui-action-button [descriptor]=\"buttonDescriptor\" (actionClick)=\"onActionClick()\">\r\n </ui-action-button>\r\n </div>\r\n </div>\r\n}", styles: [".dialog-container{display:flex;flex-direction:column;--sb4-dialog-default-padding: .5rem;--mat-dialog-content-padding: var(--sb4-dialog-default-padding)}.dialog-header{display:flex;align-items:center;gap:var(--sb4-dialog-default-padding);padding:var(--sb4-dialog-default-padding)}.mat-mdc-dialog-content{max-height:var(--sb4-dialog-default-max-height, 80vh);max-width:var(--sb4-dialog-default-max-width, unset);min-width:var(--sb4-dialog-default-min-width, unset)}.dialog-title{flex:1;margin:0}.dialog-footer{padding:var(--sb4-dialog-default-padding)}\n", ".error-dialog{--sb4-dialog-default-min-width: 25rem;--sb4-dialog-default-max-width: 50vw}.error-dialog .dialog-footer{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "component", type: UiActionButtonComponent, selector: "ui-action-button", inputs: ["disabled", "descriptor", "code", "identifier", "viewActivated", "tab", "rowState", "addedCssClass", "addBasicClasses", "iconPlaceholder", "chords"], outputs: ["actionClick", "actionDoubleClick"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] }); }
|
|
15264
15264
|
}
|
|
15265
15265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SmartViewContextErrorDialogComponent, decorators: [{
|
|
15266
15266
|
type: Component,
|
|
15267
|
-
args: [{ selector: 'lib-smart-view-context-error-dialog', imports: [UiActionButtonComponent], template: "@if (smartViewContextApiError) {\r\n <div class=\"container\">\r\n <
|
|
15267
|
+
args: [{ selector: 'lib-smart-view-context-error-dialog', imports: [UiActionButtonComponent, MatDialogContent], template: "@if (smartViewContextApiError) {\r\n <div class=\"dialog-container error-dialog\">\r\n <div class=\"dialog-header\">\r\n <h2 class=\"dialog-title\">{{ smartViewContextApiError.dialogTitle }}</h2>\r\n </div>\r\n\r\n <mat-dialog-content class=\"dialog-content\">\r\n <p>{{ smartViewContextApiError.message }}</p>\r\n </mat-dialog-content>\r\n\r\n <div class=\"dialog-footer\">\r\n <ui-action-button [descriptor]=\"buttonDescriptor\" (actionClick)=\"onActionClick()\">\r\n </ui-action-button>\r\n </div>\r\n </div>\r\n}", styles: [".dialog-container{display:flex;flex-direction:column;--sb4-dialog-default-padding: .5rem;--mat-dialog-content-padding: var(--sb4-dialog-default-padding)}.dialog-header{display:flex;align-items:center;gap:var(--sb4-dialog-default-padding);padding:var(--sb4-dialog-default-padding)}.mat-mdc-dialog-content{max-height:var(--sb4-dialog-default-max-height, 80vh);max-width:var(--sb4-dialog-default-max-width, unset);min-width:var(--sb4-dialog-default-min-width, unset)}.dialog-title{flex:1;margin:0}.dialog-footer{padding:var(--sb4-dialog-default-padding)}\n", ".error-dialog{--sb4-dialog-default-min-width: 25rem;--sb4-dialog-default-max-width: 50vw}.error-dialog .dialog-footer{display:flex;justify-content:flex-end}\n"] }]
|
|
15268
15268
|
}], ctorParameters: () => [] });
|
|
15269
15269
|
|
|
15270
15270
|
class SmartViewContextErrorDialogService extends SmartdialogService {
|