| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- "use strict";
- var __extends = (this && this.__extends) || (function () {
- var extendStatics = Object.setPrototypeOf ||
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
- return function (d, b) {
- extendStatics(d, b);
- function __() { this.constructor = d; }
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
- };
- })();
- /*!
- * devextreme-angular
- * Version: 19.1.16
- * Build date: Tue Oct 18 2022
- *
- * Copyright (c) 2012 - 2022 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
- */
- Object.defineProperty(exports, "__esModule", { value: true });
- var core_1 = require("@angular/core");
- var nested_option_1 = require("../../core/nested-option");
- var nested_option_2 = require("../../core/nested-option");
- var DxoEditingComponent = (function (_super) {
- __extends(DxoEditingComponent, _super);
- function DxoEditingComponent(parentOptionHost, optionHost) {
- var _this = _super.call(this) || this;
- parentOptionHost.setNestedOption(_this);
- optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
- return _this;
- }
- Object.defineProperty(DxoEditingComponent.prototype, "allowAdding", {
- get: function () {
- return this._getOption('allowAdding');
- },
- set: function (value) {
- this._setOption('allowAdding', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "allowDeleting", {
- get: function () {
- return this._getOption('allowDeleting');
- },
- set: function (value) {
- this._setOption('allowDeleting', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "allowUpdating", {
- get: function () {
- return this._getOption('allowUpdating');
- },
- set: function (value) {
- this._setOption('allowUpdating', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "form", {
- get: function () {
- return this._getOption('form');
- },
- set: function (value) {
- this._setOption('form', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "mode", {
- get: function () {
- return this._getOption('mode');
- },
- set: function (value) {
- this._setOption('mode', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "popup", {
- get: function () {
- return this._getOption('popup');
- },
- set: function (value) {
- this._setOption('popup', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "refreshMode", {
- get: function () {
- return this._getOption('refreshMode');
- },
- set: function (value) {
- this._setOption('refreshMode', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "selectTextOnEditStart", {
- get: function () {
- return this._getOption('selectTextOnEditStart');
- },
- set: function (value) {
- this._setOption('selectTextOnEditStart', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "startEditAction", {
- get: function () {
- return this._getOption('startEditAction');
- },
- set: function (value) {
- this._setOption('startEditAction', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "texts", {
- get: function () {
- return this._getOption('texts');
- },
- set: function (value) {
- this._setOption('texts', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "useIcons", {
- get: function () {
- return this._getOption('useIcons');
- },
- set: function (value) {
- this._setOption('useIcons', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "allowDragging", {
- get: function () {
- return this._getOption('allowDragging');
- },
- set: function (value) {
- this._setOption('allowDragging', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "allowResizing", {
- get: function () {
- return this._getOption('allowResizing');
- },
- set: function (value) {
- this._setOption('allowResizing', value);
- },
- enumerable: true,
- configurable: true
- });
- Object.defineProperty(DxoEditingComponent.prototype, "_optionPath", {
- get: function () {
- return 'editing';
- },
- enumerable: true,
- configurable: true
- });
- DxoEditingComponent.decorators = [
- { type: core_1.Component, args: [{
- selector: 'dxo-editing',
- template: '',
- styles: [''],
- providers: [nested_option_1.NestedOptionHost]
- },] },
- ];
- /** @nocollapse */
- DxoEditingComponent.ctorParameters = function () { return [
- { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
- { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
- ]; };
- DxoEditingComponent.propDecorators = {
- "allowAdding": [{ type: core_1.Input },],
- "allowDeleting": [{ type: core_1.Input },],
- "allowUpdating": [{ type: core_1.Input },],
- "form": [{ type: core_1.Input },],
- "mode": [{ type: core_1.Input },],
- "popup": [{ type: core_1.Input },],
- "refreshMode": [{ type: core_1.Input },],
- "selectTextOnEditStart": [{ type: core_1.Input },],
- "startEditAction": [{ type: core_1.Input },],
- "texts": [{ type: core_1.Input },],
- "useIcons": [{ type: core_1.Input },],
- "allowDragging": [{ type: core_1.Input },],
- "allowResizing": [{ type: core_1.Input },],
- };
- return DxoEditingComponent;
- }(nested_option_2.NestedOption));
- exports.DxoEditingComponent = DxoEditingComponent;
- var DxoEditingModule = (function () {
- function DxoEditingModule() {
- }
- DxoEditingModule.decorators = [
- { type: core_1.NgModule, args: [{
- declarations: [
- DxoEditingComponent
- ],
- exports: [
- DxoEditingComponent
- ],
- },] },
- ];
- return DxoEditingModule;
- }());
- exports.DxoEditingModule = DxoEditingModule;
- //# sourceMappingURL=editing.js.map
|