tree-map.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  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 platform_browser_1 = require("@angular/platform-browser");
  26. var platform_browser_2 = require("@angular/platform-browser");
  27. var core_1 = require("@angular/core");
  28. var tree_map_1 = require("devextreme/viz/tree_map");
  29. var component_1 = require("../core/component");
  30. var template_host_1 = require("../core/template-host");
  31. var integration_1 = require("../core/integration");
  32. var template_1 = require("../core/template");
  33. var nested_option_1 = require("../core/nested-option");
  34. var watcher_helper_1 = require("../core/watcher-helper");
  35. var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
  36. var colorizer_1 = require("./nested/colorizer");
  37. var export_1 = require("./nested/export");
  38. var group_1 = require("./nested/group");
  39. var border_1 = require("./nested/border");
  40. var hover_style_1 = require("./nested/hover-style");
  41. var label_1 = require("./nested/label");
  42. var font_1 = require("./nested/font");
  43. var selection_style_1 = require("./nested/selection-style");
  44. var loading_indicator_1 = require("./nested/loading-indicator");
  45. var size_1 = require("./nested/size");
  46. var tile_1 = require("./nested/tile");
  47. var title_1 = require("./nested/title");
  48. var margin_1 = require("./nested/margin");
  49. var subtitle_1 = require("./nested/subtitle");
  50. var tooltip_1 = require("./nested/tooltip");
  51. var format_1 = require("./nested/format");
  52. var shadow_1 = require("./nested/shadow");
  53. /**
  54. * The TreeMap is a widget that displays hierarchical data by using nested rectangles.
  55. */
  56. var DxTreeMapComponent = (function (_super) {
  57. __extends(DxTreeMapComponent, _super);
  58. function DxTreeMapComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
  59. var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
  60. _this._watcherHelper = _watcherHelper;
  61. _this._idh = _idh;
  62. _this._createEventEmitters([
  63. { subscribe: 'click', emit: 'onClick' },
  64. { subscribe: 'disposing', emit: 'onDisposing' },
  65. { subscribe: 'drawn', emit: 'onDrawn' },
  66. { subscribe: 'drill', emit: 'onDrill' },
  67. { subscribe: 'exported', emit: 'onExported' },
  68. { subscribe: 'exporting', emit: 'onExporting' },
  69. { subscribe: 'fileSaving', emit: 'onFileSaving' },
  70. { subscribe: 'hoverChanged', emit: 'onHoverChanged' },
  71. { subscribe: 'incidentOccurred', emit: 'onIncidentOccurred' },
  72. { subscribe: 'initialized', emit: 'onInitialized' },
  73. { subscribe: 'nodesInitialized', emit: 'onNodesInitialized' },
  74. { subscribe: 'nodesRendering', emit: 'onNodesRendering' },
  75. { subscribe: 'optionChanged', emit: 'onOptionChanged' },
  76. { subscribe: 'selectionChanged', emit: 'onSelectionChanged' },
  77. { emit: 'childrenFieldChange' },
  78. { emit: 'colorFieldChange' },
  79. { emit: 'colorizerChange' },
  80. { emit: 'dataSourceChange' },
  81. { emit: 'disabledChange' },
  82. { emit: 'elementAttrChange' },
  83. { emit: 'exportChange' },
  84. { emit: 'groupChange' },
  85. { emit: 'hoverEnabledChange' },
  86. { emit: 'idFieldChange' },
  87. { emit: 'interactWithGroupChange' },
  88. { emit: 'labelFieldChange' },
  89. { emit: 'layoutAlgorithmChange' },
  90. { emit: 'layoutDirectionChange' },
  91. { emit: 'loadingIndicatorChange' },
  92. { emit: 'maxDepthChange' },
  93. { emit: 'parentFieldChange' },
  94. { emit: 'pathModifiedChange' },
  95. { emit: 'redrawOnResizeChange' },
  96. { emit: 'resolveLabelOverflowChange' },
  97. { emit: 'rtlEnabledChange' },
  98. { emit: 'selectionModeChange' },
  99. { emit: 'sizeChange' },
  100. { emit: 'themeChange' },
  101. { emit: 'tileChange' },
  102. { emit: 'titleChange' },
  103. { emit: 'tooltipChange' },
  104. { emit: 'valueFieldChange' }
  105. ]);
  106. _this._idh.setHost(_this);
  107. optionHost.setHost(_this);
  108. return _this;
  109. }
  110. Object.defineProperty(DxTreeMapComponent.prototype, "childrenField", {
  111. get: /**
  112. * Specifies the name of the data source field that provides nested items for a group. Applies to hierarchical data sources only.
  113. */
  114. function () {
  115. return this._getOption('childrenField');
  116. },
  117. set: function (value) {
  118. this._setOption('childrenField', value);
  119. },
  120. enumerable: true,
  121. configurable: true
  122. });
  123. Object.defineProperty(DxTreeMapComponent.prototype, "colorField", {
  124. get: /**
  125. * Specifies the name of the data source field that provides colors for tiles.
  126. */
  127. function () {
  128. return this._getOption('colorField');
  129. },
  130. set: function (value) {
  131. this._setOption('colorField', value);
  132. },
  133. enumerable: true,
  134. configurable: true
  135. });
  136. Object.defineProperty(DxTreeMapComponent.prototype, "colorizer", {
  137. get: /**
  138. * Manages the color settings.
  139. */
  140. function () {
  141. return this._getOption('colorizer');
  142. },
  143. set: function (value) {
  144. this._setOption('colorizer', value);
  145. },
  146. enumerable: true,
  147. configurable: true
  148. });
  149. Object.defineProperty(DxTreeMapComponent.prototype, "dataSource", {
  150. get: /**
  151. * Binds the widget to data.
  152. */
  153. function () {
  154. return this._getOption('dataSource');
  155. },
  156. set: function (value) {
  157. this._setOption('dataSource', value);
  158. },
  159. enumerable: true,
  160. configurable: true
  161. });
  162. Object.defineProperty(DxTreeMapComponent.prototype, "disabled", {
  163. get: /**
  164. * Specifies whether the widget responds to the user interaction.
  165. */
  166. function () {
  167. return this._getOption('disabled');
  168. },
  169. set: function (value) {
  170. this._setOption('disabled', value);
  171. },
  172. enumerable: true,
  173. configurable: true
  174. });
  175. Object.defineProperty(DxTreeMapComponent.prototype, "elementAttr", {
  176. get: /**
  177. * Specifies the attributes to be attached to the widget's root element.
  178. */
  179. function () {
  180. return this._getOption('elementAttr');
  181. },
  182. set: function (value) {
  183. this._setOption('elementAttr', value);
  184. },
  185. enumerable: true,
  186. configurable: true
  187. });
  188. Object.defineProperty(DxTreeMapComponent.prototype, "export", {
  189. get: /**
  190. * Configures the exporting and printing features.
  191. */
  192. function () {
  193. return this._getOption('export');
  194. },
  195. set: function (value) {
  196. this._setOption('export', value);
  197. },
  198. enumerable: true,
  199. configurable: true
  200. });
  201. Object.defineProperty(DxTreeMapComponent.prototype, "group", {
  202. get: /**
  203. * Configures groups.
  204. */
  205. function () {
  206. return this._getOption('group');
  207. },
  208. set: function (value) {
  209. this._setOption('group', value);
  210. },
  211. enumerable: true,
  212. configurable: true
  213. });
  214. Object.defineProperty(DxTreeMapComponent.prototype, "hoverEnabled", {
  215. get: /**
  216. * Specifies whether tiles and groups change their style when a user pauses on them.
  217. */
  218. function () {
  219. return this._getOption('hoverEnabled');
  220. },
  221. set: function (value) {
  222. this._setOption('hoverEnabled', value);
  223. },
  224. enumerable: true,
  225. configurable: true
  226. });
  227. Object.defineProperty(DxTreeMapComponent.prototype, "idField", {
  228. get: /**
  229. * Specifies the name of the data source field that provides IDs for items. Applies to plain data sources only.
  230. */
  231. function () {
  232. return this._getOption('idField');
  233. },
  234. set: function (value) {
  235. this._setOption('idField', value);
  236. },
  237. enumerable: true,
  238. configurable: true
  239. });
  240. Object.defineProperty(DxTreeMapComponent.prototype, "interactWithGroup", {
  241. get: /**
  242. * Specifies whether the user will interact with a single tile or its group.
  243. */
  244. function () {
  245. return this._getOption('interactWithGroup');
  246. },
  247. set: function (value) {
  248. this._setOption('interactWithGroup', value);
  249. },
  250. enumerable: true,
  251. configurable: true
  252. });
  253. Object.defineProperty(DxTreeMapComponent.prototype, "labelField", {
  254. get: /**
  255. * Specifies the name of the data source field that provides texts for tile and group labels.
  256. */
  257. function () {
  258. return this._getOption('labelField');
  259. },
  260. set: function (value) {
  261. this._setOption('labelField', value);
  262. },
  263. enumerable: true,
  264. configurable: true
  265. });
  266. Object.defineProperty(DxTreeMapComponent.prototype, "layoutAlgorithm", {
  267. get: /**
  268. * Specifies the layout algorithm.
  269. */
  270. function () {
  271. return this._getOption('layoutAlgorithm');
  272. },
  273. set: function (value) {
  274. this._setOption('layoutAlgorithm', value);
  275. },
  276. enumerable: true,
  277. configurable: true
  278. });
  279. Object.defineProperty(DxTreeMapComponent.prototype, "layoutDirection", {
  280. get: /**
  281. * Specifies the direction in which the items will be laid out.
  282. */
  283. function () {
  284. return this._getOption('layoutDirection');
  285. },
  286. set: function (value) {
  287. this._setOption('layoutDirection', value);
  288. },
  289. enumerable: true,
  290. configurable: true
  291. });
  292. Object.defineProperty(DxTreeMapComponent.prototype, "loadingIndicator", {
  293. get: /**
  294. * Configures the loading indicator.
  295. */
  296. function () {
  297. return this._getOption('loadingIndicator');
  298. },
  299. set: function (value) {
  300. this._setOption('loadingIndicator', value);
  301. },
  302. enumerable: true,
  303. configurable: true
  304. });
  305. Object.defineProperty(DxTreeMapComponent.prototype, "maxDepth", {
  306. get: /**
  307. * Specifies how many hierarchical levels must be visualized.
  308. */
  309. function () {
  310. return this._getOption('maxDepth');
  311. },
  312. set: function (value) {
  313. this._setOption('maxDepth', value);
  314. },
  315. enumerable: true,
  316. configurable: true
  317. });
  318. Object.defineProperty(DxTreeMapComponent.prototype, "parentField", {
  319. get: /**
  320. * Specifies the name of the data source field that provides parent IDs for items. Applies to plain data sources only.
  321. */
  322. function () {
  323. return this._getOption('parentField');
  324. },
  325. set: function (value) {
  326. this._setOption('parentField', value);
  327. },
  328. enumerable: true,
  329. configurable: true
  330. });
  331. Object.defineProperty(DxTreeMapComponent.prototype, "pathModified", {
  332. get: /**
  333. * Notifies the widget that it is embedded into an HTML page that uses a tag modifying the path.
  334. */
  335. function () {
  336. return this._getOption('pathModified');
  337. },
  338. set: function (value) {
  339. this._setOption('pathModified', value);
  340. },
  341. enumerable: true,
  342. configurable: true
  343. });
  344. Object.defineProperty(DxTreeMapComponent.prototype, "redrawOnResize", {
  345. get: /**
  346. * Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates.
  347. */
  348. function () {
  349. return this._getOption('redrawOnResize');
  350. },
  351. set: function (value) {
  352. this._setOption('redrawOnResize', value);
  353. },
  354. enumerable: true,
  355. configurable: true
  356. });
  357. Object.defineProperty(DxTreeMapComponent.prototype, "resolveLabelOverflow", {
  358. get: /**
  359. * Use the tile.label.textOverflow option instead.
  360. */
  361. function () {
  362. return this._getOption('resolveLabelOverflow');
  363. },
  364. set: function (value) {
  365. this._setOption('resolveLabelOverflow', value);
  366. },
  367. enumerable: true,
  368. configurable: true
  369. });
  370. Object.defineProperty(DxTreeMapComponent.prototype, "rtlEnabled", {
  371. get: /**
  372. * Switches the widget to a right-to-left representation.
  373. */
  374. function () {
  375. return this._getOption('rtlEnabled');
  376. },
  377. set: function (value) {
  378. this._setOption('rtlEnabled', value);
  379. },
  380. enumerable: true,
  381. configurable: true
  382. });
  383. Object.defineProperty(DxTreeMapComponent.prototype, "selectionMode", {
  384. get: /**
  385. * Specifies whether a single or multiple nodes can be in the selected state simultaneously.
  386. */
  387. function () {
  388. return this._getOption('selectionMode');
  389. },
  390. set: function (value) {
  391. this._setOption('selectionMode', value);
  392. },
  393. enumerable: true,
  394. configurable: true
  395. });
  396. Object.defineProperty(DxTreeMapComponent.prototype, "size", {
  397. get: /**
  398. * Specifies the widget's size in pixels.
  399. */
  400. function () {
  401. return this._getOption('size');
  402. },
  403. set: function (value) {
  404. this._setOption('size', value);
  405. },
  406. enumerable: true,
  407. configurable: true
  408. });
  409. Object.defineProperty(DxTreeMapComponent.prototype, "theme", {
  410. get: /**
  411. * Sets the name of the theme the widget uses.
  412. */
  413. function () {
  414. return this._getOption('theme');
  415. },
  416. set: function (value) {
  417. this._setOption('theme', value);
  418. },
  419. enumerable: true,
  420. configurable: true
  421. });
  422. Object.defineProperty(DxTreeMapComponent.prototype, "tile", {
  423. get: /**
  424. * Configures tiles.
  425. */
  426. function () {
  427. return this._getOption('tile');
  428. },
  429. set: function (value) {
  430. this._setOption('tile', value);
  431. },
  432. enumerable: true,
  433. configurable: true
  434. });
  435. Object.defineProperty(DxTreeMapComponent.prototype, "title", {
  436. get: /**
  437. * Configures the widget's title.
  438. */
  439. function () {
  440. return this._getOption('title');
  441. },
  442. set: function (value) {
  443. this._setOption('title', value);
  444. },
  445. enumerable: true,
  446. configurable: true
  447. });
  448. Object.defineProperty(DxTreeMapComponent.prototype, "tooltip", {
  449. get: /**
  450. * Configures tooltips - small pop-up rectangles that display information about a data-visualizing widget element being pressed or hovered over with the mouse pointer.
  451. */
  452. function () {
  453. return this._getOption('tooltip');
  454. },
  455. set: function (value) {
  456. this._setOption('tooltip', value);
  457. },
  458. enumerable: true,
  459. configurable: true
  460. });
  461. Object.defineProperty(DxTreeMapComponent.prototype, "valueField", {
  462. get: /**
  463. * Specifies the name of the data source field that provides values for tiles.
  464. */
  465. function () {
  466. return this._getOption('valueField');
  467. },
  468. set: function (value) {
  469. this._setOption('valueField', value);
  470. },
  471. enumerable: true,
  472. configurable: true
  473. });
  474. DxTreeMapComponent.prototype._createInstance = function (element, options) {
  475. return new tree_map_1.default(element, options);
  476. };
  477. DxTreeMapComponent.prototype.ngOnDestroy = function () {
  478. this._destroyWidget();
  479. };
  480. DxTreeMapComponent.prototype.ngOnChanges = function (changes) {
  481. _super.prototype.ngOnChanges.call(this, changes);
  482. this.setupChanges('dataSource', changes);
  483. };
  484. DxTreeMapComponent.prototype.setupChanges = function (prop, changes) {
  485. if (!(prop in this._optionsToUpdate)) {
  486. this._idh.setup(prop, changes);
  487. }
  488. };
  489. DxTreeMapComponent.prototype.ngDoCheck = function () {
  490. this._idh.doCheck('dataSource');
  491. this._watcherHelper.checkWatchers();
  492. _super.prototype.ngDoCheck.call(this);
  493. _super.prototype.clearChangedOptions.call(this);
  494. };
  495. DxTreeMapComponent.prototype._setOption = function (name, value) {
  496. var isSetup = this._idh.setupSingle(name, value);
  497. var isChanged = this._idh.getChanges(name, value) !== null;
  498. if (isSetup || isChanged) {
  499. _super.prototype._setOption.call(this, name, value);
  500. }
  501. };
  502. DxTreeMapComponent.decorators = [
  503. { type: core_1.Component, args: [{
  504. selector: 'dx-tree-map',
  505. template: '',
  506. styles: [' :host { display: block; }'],
  507. providers: [
  508. template_host_1.DxTemplateHost,
  509. watcher_helper_1.WatcherHelper,
  510. nested_option_1.NestedOptionHost,
  511. iterable_differ_helper_1.IterableDifferHelper
  512. ]
  513. },] },
  514. ];
  515. /** @nocollapse */
  516. DxTreeMapComponent.ctorParameters = function () { return [
  517. { type: core_1.ElementRef, },
  518. { type: core_1.NgZone, },
  519. { type: template_host_1.DxTemplateHost, },
  520. { type: watcher_helper_1.WatcherHelper, },
  521. { type: iterable_differ_helper_1.IterableDifferHelper, },
  522. { type: nested_option_1.NestedOptionHost, },
  523. { type: platform_browser_2.TransferState, },
  524. { type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
  525. ]; };
  526. DxTreeMapComponent.propDecorators = {
  527. "childrenField": [{ type: core_1.Input },],
  528. "colorField": [{ type: core_1.Input },],
  529. "colorizer": [{ type: core_1.Input },],
  530. "dataSource": [{ type: core_1.Input },],
  531. "disabled": [{ type: core_1.Input },],
  532. "elementAttr": [{ type: core_1.Input },],
  533. "export": [{ type: core_1.Input },],
  534. "group": [{ type: core_1.Input },],
  535. "hoverEnabled": [{ type: core_1.Input },],
  536. "idField": [{ type: core_1.Input },],
  537. "interactWithGroup": [{ type: core_1.Input },],
  538. "labelField": [{ type: core_1.Input },],
  539. "layoutAlgorithm": [{ type: core_1.Input },],
  540. "layoutDirection": [{ type: core_1.Input },],
  541. "loadingIndicator": [{ type: core_1.Input },],
  542. "maxDepth": [{ type: core_1.Input },],
  543. "parentField": [{ type: core_1.Input },],
  544. "pathModified": [{ type: core_1.Input },],
  545. "redrawOnResize": [{ type: core_1.Input },],
  546. "resolveLabelOverflow": [{ type: core_1.Input },],
  547. "rtlEnabled": [{ type: core_1.Input },],
  548. "selectionMode": [{ type: core_1.Input },],
  549. "size": [{ type: core_1.Input },],
  550. "theme": [{ type: core_1.Input },],
  551. "tile": [{ type: core_1.Input },],
  552. "title": [{ type: core_1.Input },],
  553. "tooltip": [{ type: core_1.Input },],
  554. "valueField": [{ type: core_1.Input },],
  555. "onClick": [{ type: core_1.Output },],
  556. "onDisposing": [{ type: core_1.Output },],
  557. "onDrawn": [{ type: core_1.Output },],
  558. "onDrill": [{ type: core_1.Output },],
  559. "onExported": [{ type: core_1.Output },],
  560. "onExporting": [{ type: core_1.Output },],
  561. "onFileSaving": [{ type: core_1.Output },],
  562. "onHoverChanged": [{ type: core_1.Output },],
  563. "onIncidentOccurred": [{ type: core_1.Output },],
  564. "onInitialized": [{ type: core_1.Output },],
  565. "onNodesInitialized": [{ type: core_1.Output },],
  566. "onNodesRendering": [{ type: core_1.Output },],
  567. "onOptionChanged": [{ type: core_1.Output },],
  568. "onSelectionChanged": [{ type: core_1.Output },],
  569. "childrenFieldChange": [{ type: core_1.Output },],
  570. "colorFieldChange": [{ type: core_1.Output },],
  571. "colorizerChange": [{ type: core_1.Output },],
  572. "dataSourceChange": [{ type: core_1.Output },],
  573. "disabledChange": [{ type: core_1.Output },],
  574. "elementAttrChange": [{ type: core_1.Output },],
  575. "exportChange": [{ type: core_1.Output },],
  576. "groupChange": [{ type: core_1.Output },],
  577. "hoverEnabledChange": [{ type: core_1.Output },],
  578. "idFieldChange": [{ type: core_1.Output },],
  579. "interactWithGroupChange": [{ type: core_1.Output },],
  580. "labelFieldChange": [{ type: core_1.Output },],
  581. "layoutAlgorithmChange": [{ type: core_1.Output },],
  582. "layoutDirectionChange": [{ type: core_1.Output },],
  583. "loadingIndicatorChange": [{ type: core_1.Output },],
  584. "maxDepthChange": [{ type: core_1.Output },],
  585. "parentFieldChange": [{ type: core_1.Output },],
  586. "pathModifiedChange": [{ type: core_1.Output },],
  587. "redrawOnResizeChange": [{ type: core_1.Output },],
  588. "resolveLabelOverflowChange": [{ type: core_1.Output },],
  589. "rtlEnabledChange": [{ type: core_1.Output },],
  590. "selectionModeChange": [{ type: core_1.Output },],
  591. "sizeChange": [{ type: core_1.Output },],
  592. "themeChange": [{ type: core_1.Output },],
  593. "tileChange": [{ type: core_1.Output },],
  594. "titleChange": [{ type: core_1.Output },],
  595. "tooltipChange": [{ type: core_1.Output },],
  596. "valueFieldChange": [{ type: core_1.Output },],
  597. };
  598. return DxTreeMapComponent;
  599. }(component_1.DxComponent));
  600. exports.DxTreeMapComponent = DxTreeMapComponent;
  601. var DxTreeMapModule = (function () {
  602. function DxTreeMapModule() {
  603. }
  604. DxTreeMapModule.decorators = [
  605. { type: core_1.NgModule, args: [{
  606. imports: [
  607. colorizer_1.DxoColorizerModule,
  608. export_1.DxoExportModule,
  609. group_1.DxoGroupModule,
  610. border_1.DxoBorderModule,
  611. hover_style_1.DxoHoverStyleModule,
  612. label_1.DxoLabelModule,
  613. font_1.DxoFontModule,
  614. selection_style_1.DxoSelectionStyleModule,
  615. loading_indicator_1.DxoLoadingIndicatorModule,
  616. size_1.DxoSizeModule,
  617. tile_1.DxoTileModule,
  618. title_1.DxoTitleModule,
  619. margin_1.DxoMarginModule,
  620. subtitle_1.DxoSubtitleModule,
  621. tooltip_1.DxoTooltipModule,
  622. format_1.DxoFormatModule,
  623. shadow_1.DxoShadowModule,
  624. integration_1.DxIntegrationModule,
  625. template_1.DxTemplateModule,
  626. platform_browser_1.BrowserTransferStateModule
  627. ],
  628. declarations: [
  629. DxTreeMapComponent
  630. ],
  631. exports: [
  632. DxTreeMapComponent,
  633. colorizer_1.DxoColorizerModule,
  634. export_1.DxoExportModule,
  635. group_1.DxoGroupModule,
  636. border_1.DxoBorderModule,
  637. hover_style_1.DxoHoverStyleModule,
  638. label_1.DxoLabelModule,
  639. font_1.DxoFontModule,
  640. selection_style_1.DxoSelectionStyleModule,
  641. loading_indicator_1.DxoLoadingIndicatorModule,
  642. size_1.DxoSizeModule,
  643. tile_1.DxoTileModule,
  644. title_1.DxoTitleModule,
  645. margin_1.DxoMarginModule,
  646. subtitle_1.DxoSubtitleModule,
  647. tooltip_1.DxoTooltipModule,
  648. format_1.DxoFormatModule,
  649. shadow_1.DxoShadowModule,
  650. template_1.DxTemplateModule
  651. ]
  652. },] },
  653. ];
  654. return DxTreeMapModule;
  655. }());
  656. exports.DxTreeMapModule = DxTreeMapModule;
  657. //# sourceMappingURL=tree-map.js.map