calendar-options.js 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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 calendar_options_1 = require("./base/calendar-options");
  28. var DxoCalendarOptionsComponent = (function (_super) {
  29. __extends(DxoCalendarOptionsComponent, _super);
  30. function DxoCalendarOptionsComponent(parentOptionHost, optionHost) {
  31. var _this = _super.call(this) || this;
  32. _this._createEventEmitters([
  33. { emit: 'valueChange' },
  34. { emit: 'zoomLevelChange' }
  35. ]);
  36. parentOptionHost.setNestedOption(_this);
  37. optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
  38. return _this;
  39. }
  40. Object.defineProperty(DxoCalendarOptionsComponent.prototype, "_optionPath", {
  41. get: function () {
  42. return 'calendarOptions';
  43. },
  44. enumerable: true,
  45. configurable: true
  46. });
  47. DxoCalendarOptionsComponent.decorators = [
  48. { type: core_1.Component, args: [{
  49. selector: 'dxo-calendar-options',
  50. template: '',
  51. styles: [''],
  52. providers: [nested_option_1.NestedOptionHost],
  53. inputs: [
  54. 'accessKey',
  55. 'activeStateEnabled',
  56. 'cellTemplate',
  57. 'dateSerializationFormat',
  58. 'disabled',
  59. 'disabledDates',
  60. 'elementAttr',
  61. 'firstDayOfWeek',
  62. 'focusStateEnabled',
  63. 'height',
  64. 'hint',
  65. 'hoverStateEnabled',
  66. 'isValid',
  67. 'max',
  68. 'maxZoomLevel',
  69. 'min',
  70. 'minZoomLevel',
  71. 'name',
  72. 'onDisposing',
  73. 'onInitialized',
  74. 'onOptionChanged',
  75. 'onValueChanged',
  76. 'readOnly',
  77. 'rtlEnabled',
  78. 'showTodayButton',
  79. 'tabIndex',
  80. 'validationError',
  81. 'validationMessageMode',
  82. 'value',
  83. 'visible',
  84. 'width',
  85. 'zoomLevel'
  86. ]
  87. },] },
  88. ];
  89. /** @nocollapse */
  90. DxoCalendarOptionsComponent.ctorParameters = function () { return [
  91. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
  92. { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
  93. ]; };
  94. DxoCalendarOptionsComponent.propDecorators = {
  95. "valueChange": [{ type: core_1.Output },],
  96. "zoomLevelChange": [{ type: core_1.Output },],
  97. };
  98. return DxoCalendarOptionsComponent;
  99. }(calendar_options_1.DxoCalendarOptions));
  100. exports.DxoCalendarOptionsComponent = DxoCalendarOptionsComponent;
  101. var DxoCalendarOptionsModule = (function () {
  102. function DxoCalendarOptionsModule() {
  103. }
  104. DxoCalendarOptionsModule.decorators = [
  105. { type: core_1.NgModule, args: [{
  106. declarations: [
  107. DxoCalendarOptionsComponent
  108. ],
  109. exports: [
  110. DxoCalendarOptionsComponent
  111. ],
  112. },] },
  113. ];
  114. return DxoCalendarOptionsModule;
  115. }());
  116. exports.DxoCalendarOptionsModule = DxoCalendarOptionsModule;
  117. //# sourceMappingURL=calendar-options.js.map