barsa-sap-ui 2.3.17 → 2.3.18
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.
|
@@ -16167,11 +16167,11 @@ class UiSignatureComponent extends FieldBaseComponent {
|
|
|
16167
16167
|
});
|
|
16168
16168
|
}
|
|
16169
16169
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: UiSignatureComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16170
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: UiSignatureComponent, isStandalone: false, selector: "bsu-ui-signature", viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "@if(context){<bsu-ui-picture-file [context]=\"context\" [layoutInfo]=\"layoutInfo\" [hideUpload]=\"true\">\n <button\n fd-toolbar-item\n fd-button\n [disabled]=\"
|
|
16170
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: UiSignatureComponent, isStandalone: false, selector: "bsu-ui-signature", viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "@if(context){<bsu-ui-picture-file [context]=\"context\" [layoutInfo]=\"layoutInfo\" [hideUpload]=\"true\">\n <button\n fd-toolbar-item\n fd-button\n [disabled]=\"(disableOrReadonly$ | async) === true\"\n glyph=\"clear-all\"\n [fdType]=\"'transparent'\"\n (click)=\"onCanvasClear()\"\n ></button> </bsu-ui-picture-file\n>}\n\n<canvas\n #canvas\n style=\"touch-action: none; width: 100%; height: 100%; background-color: var(--sapBaseColor)\"\n [class.hide]=\"value && value.IsDeleted !== true\"\n [style.min-height.px]=\"layoutInfo?.ControlBounds.height\"\n resizeObserver\n (elResized)=\"onCanvasResize($event)\"\n></canvas>\n\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i2.ResizeObserverDirective, selector: "[resizeObserver]", outputs: ["elResized"] }, { kind: "component", type: i3$2.ButtonComponent, selector: "button[fd-button], a[fd-button], span[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "directive", type: i8.ToolbarItemDirective, selector: "[fd-toolbar-item], [fdOverflowGroup], [fdOverflowPriority]", inputs: ["fdOverflowPriority", "fdOverflowGroup"] }, { kind: "component", type: UiPictureFileComponent, selector: "bsu-ui-picture-file", inputs: ["imageUrl", "sizeMode", "hideUpload"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16171
16171
|
}
|
|
16172
16172
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: UiSignatureComponent, decorators: [{
|
|
16173
16173
|
type: Component,
|
|
16174
|
-
args: [{ selector: 'bsu-ui-signature', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if(context){<bsu-ui-picture-file [context]=\"context\" [layoutInfo]=\"layoutInfo\" [hideUpload]=\"true\">\n <button\n fd-toolbar-item\n fd-button\n [disabled]=\"
|
|
16174
|
+
args: [{ selector: 'bsu-ui-signature', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if(context){<bsu-ui-picture-file [context]=\"context\" [layoutInfo]=\"layoutInfo\" [hideUpload]=\"true\">\n <button\n fd-toolbar-item\n fd-button\n [disabled]=\"(disableOrReadonly$ | async) === true\"\n glyph=\"clear-all\"\n [fdType]=\"'transparent'\"\n (click)=\"onCanvasClear()\"\n ></button> </bsu-ui-picture-file\n>}\n\n<canvas\n #canvas\n style=\"touch-action: none; width: 100%; height: 100%; background-color: var(--sapBaseColor)\"\n [class.hide]=\"value && value.IsDeleted !== true\"\n [style.min-height.px]=\"layoutInfo?.ControlBounds.height\"\n resizeObserver\n (elResized)=\"onCanvasResize($event)\"\n></canvas>\n\n", styles: [":host{display:block}\n"] }]
|
|
16175
16175
|
}], propDecorators: { canvasRef: [{
|
|
16176
16176
|
type: ViewChild,
|
|
16177
16177
|
args: ['canvas', { static: true, read: ElementRef }]
|