format.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 nested_option_1 = require("../../../core/nested-option");
  26. var DxoFormat = (function (_super) {
  27. __extends(DxoFormat, _super);
  28. function DxoFormat() {
  29. return _super !== null && _super.apply(this, arguments) || this;
  30. }
  31. Object.defineProperty(DxoFormat.prototype, "currency", {
  32. get: function () {
  33. return this._getOption('currency');
  34. },
  35. set: function (value) {
  36. this._setOption('currency', value);
  37. },
  38. enumerable: true,
  39. configurable: true
  40. });
  41. Object.defineProperty(DxoFormat.prototype, "formatter", {
  42. get: function () {
  43. return this._getOption('formatter');
  44. },
  45. set: function (value) {
  46. this._setOption('formatter', value);
  47. },
  48. enumerable: true,
  49. configurable: true
  50. });
  51. Object.defineProperty(DxoFormat.prototype, "parser", {
  52. get: function () {
  53. return this._getOption('parser');
  54. },
  55. set: function (value) {
  56. this._setOption('parser', value);
  57. },
  58. enumerable: true,
  59. configurable: true
  60. });
  61. Object.defineProperty(DxoFormat.prototype, "precision", {
  62. get: function () {
  63. return this._getOption('precision');
  64. },
  65. set: function (value) {
  66. this._setOption('precision', value);
  67. },
  68. enumerable: true,
  69. configurable: true
  70. });
  71. Object.defineProperty(DxoFormat.prototype, "type", {
  72. get: function () {
  73. return this._getOption('type');
  74. },
  75. set: function (value) {
  76. this._setOption('type', value);
  77. },
  78. enumerable: true,
  79. configurable: true
  80. });
  81. return DxoFormat;
  82. }(nested_option_1.NestedOption));
  83. exports.DxoFormat = DxoFormat;
  84. //# sourceMappingURL=format.js.map