UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

99 lines (94 loc) 4.35 kB
import * as i0 from '@angular/core'; import { Component, SkipSelf, Host, Input, NgModule } from '@angular/core'; import * as i1 from 'devextreme-angular/core'; import { NestedOption, NestedOptionHost } from 'devextreme-angular/core'; /*! * devextreme-angular * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ class DxoDraggableCursorOffsetComponent extends NestedOption { get x() { return this._getOption('x'); } set x(value) { this._setOption('x', value); } get y() { return this._getOption('y'); } set y(value) { this._setOption('y', value); } get _optionPath() { return 'cursorOffset'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnInit() { this._addRecreatedComponent(); } ngOnDestroy() { this._addRemovedOption(this._getOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoDraggableCursorOffsetComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoDraggableCursorOffsetComponent, selector: "dxo-draggable-cursor-offset", inputs: { x: "x", y: "y" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoDraggableCursorOffsetComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-draggable-cursor-offset', template: '', providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { x: [{ type: Input }], y: [{ type: Input }] } }); class DxoDraggableCursorOffsetModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoDraggableCursorOffsetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoDraggableCursorOffsetModule, declarations: [DxoDraggableCursorOffsetComponent], exports: [DxoDraggableCursorOffsetComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoDraggableCursorOffsetModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoDraggableCursorOffsetModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxoDraggableCursorOffsetComponent ], exports: [ DxoDraggableCursorOffsetComponent ], }] }] }); /*! * devextreme-angular * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /** * Generated bundle index. Do not edit. */ export { DxoDraggableCursorOffsetComponent, DxoDraggableCursorOffsetModule }; //# sourceMappingURL=devextreme-angular-ui-draggable-nested.mjs.map