store.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = Object.setPrototypeOf ||
  4. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  5. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  6. return function (d, b) {
  7. extendStatics(d, b);
  8. function __() { this.constructor = d; }
  9. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  10. };
  11. })();
  12. /*!
  13. * devextreme-angular
  14. * Version: 19.1.16
  15. * Build date: Tue Oct 18 2022
  16. *
  17. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  18. *
  19. * This software may be modified and distributed under the terms
  20. * of the MIT license. See the LICENSE file in the root of the project for details.
  21. *
  22. * https://github.com/DevExpress/devextreme-angular
  23. */
  24. Object.defineProperty(exports, "__esModule", { value: true });
  25. var core_1 = require("@angular/core");
  26. var nested_option_1 = require("../../core/nested-option");
  27. var nested_option_2 = require("../../core/nested-option");
  28. var DxoStoreComponent = (function (_super) {
  29. __extends(DxoStoreComponent, _super);
  30. function DxoStoreComponent(parentOptionHost, optionHost) {
  31. var _this = _super.call(this) || this;
  32. parentOptionHost.setNestedOption(_this);
  33. optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
  34. return _this;
  35. }
  36. Object.defineProperty(DxoStoreComponent.prototype, "type", {
  37. get: function () {
  38. return this._getOption('type');
  39. },
  40. set: function (value) {
  41. this._setOption('type', value);
  42. },
  43. enumerable: true,
  44. configurable: true
  45. });
  46. Object.defineProperty(DxoStoreComponent.prototype, "_optionPath", {
  47. get: function () {
  48. return 'store';
  49. },
  50. enumerable: true,
  51. configurable: true
  52. });
  53. DxoStoreComponent.decorators = [
  54. { type: core_1.Component, args: [{
  55. selector: 'dxo-store',
  56. template: '',
  57. styles: [''],
  58. providers: [nested_option_1.NestedOptionHost]
  59. },] },
  60. ];
  61. /** @nocollapse */
  62. DxoStoreComponent.ctorParameters = function () { return [
  63. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  64. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  65. ]; };
  66. DxoStoreComponent.propDecorators = {
  67. "type": [{ type: core_1.Input },],
  68. };
  69. return DxoStoreComponent;
  70. }(nested_option_2.NestedOption));
  71. exports.DxoStoreComponent = DxoStoreComponent;
  72. var DxoStoreModule = (function () {
  73. function DxoStoreModule() {
  74. }
  75. DxoStoreModule.decorators = [
  76. { type: core_1.NgModule, args: [{
  77. declarations: [
  78. DxoStoreComponent
  79. ],
  80. exports: [
  81. DxoStoreComponent
  82. ],
  83. },] },
  84. ];
  85. return DxoStoreModule;
  86. }());
  87. exports.DxoStoreModule = DxoStoreModule;
  88. //# sourceMappingURL=store.js.map