@syncfusion/ej2-angular-treemap 19.2.55 → 19.4.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@syncfusion/ej2-angular-treemap.es5.js +1 -1
- package/@syncfusion/ej2-angular-treemap.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-treemap.js +1 -1
- package/@syncfusion/ej2-angular-treemap.js.map +1 -1
- package/CHANGELOG.md +4 -14
- package/dist/ej2-angular-treemap.umd.js +2 -1
- package/dist/ej2-angular-treemap.umd.js.map +1 -1
- package/dist/ej2-angular-treemap.umd.min.js +2 -2
- package/dist/ej2-angular-treemap.umd.min.js.map +1 -1
- package/package.json +8 -8
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/treemap/colormapping.directive.d.ts +0 -2
- package/src/treemap/treemap.component.d.ts +18 -0
|
@@ -383,5 +383,5 @@ TreeMapAllModule.ctorParameters = function () { return []; };
|
|
|
383
383
|
* Generated bundle index. Do not edit.
|
|
384
384
|
*/
|
|
385
385
|
export { ColorMappingDirective, ColorMappingsDirective, LevelDirective, LevelsDirective, TreeMapComponent, TreeMapModule, TreeMapAllModule, TreeMapTooltipService, TreeMapLegendService, TreeMapHighlightService, TreeMapSelectionService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$2 as ɵb };
|
|
386
|
-
export { TreeMap, LevelsData, Border, Margin, Font, CommonTitleSettings, SubTitleSettings, TitleSettings, ColorMapping, LegendSettings, InitialDrillSettings, LeafItemSettings, TooltipSettings, SelectionSettings, HighlightSettings, LevelSettings, load, loaded, beforePrint, itemRendering, drillStart, drillEnd, itemSelected, itemHighlight, tooltipRendering, itemClick, itemMove, click, doubleClick, rightClick, mouseMove, legendItemRendering, legendRendering, resize, defaultFont, Theme, getThemeStyle, Size, stringToNumber, Rect, RectOption, PathOption, measureText, TextOption, textTrim, Location, findPosition, createTextStyle, renderTextElement, getElement, itemsToOrder, isContainsData, findChildren, findHightLightItems, getTemplateFunction, convertElement, findLabelLocation, measureElement, getArea, getShortestEdge, convertToContainer, convertToRect, getMousePosition, colorMap, deSaturationColor, colorCollections, rgbToHex, getColorByValue, getGradientColor, getPercentageColor, getPercentage, wordWrap, textWrap, hide, orderByArea, maintainSelection, legendMaintain, removeClassNames, applyOptions, textFormatter, formatValue, ColorValue, convertToHexCode, componentToHex, convertHexToColor, colorNameToHex, drawSymbol, renderLegendShape, isParentItem, TreeMapAjax, removeShape, removeLegend, setColor, removeSelectionWithHighlight, getLegendIndex, pushCollection, triggerDownload, removeElement, TreeMapLegend, LayoutPanel, TreeMapHighlight, TreeMapSelection, TreeMapTooltip, ImageExport, PdfExport, Print } from '@syncfusion/ej2-treemap';
|
|
386
|
+
export { TreeMap, LevelsData, Border, Margin, Font, CommonTitleSettings, SubTitleSettings, TitleSettings, ColorMapping, LegendSettings, InitialDrillSettings, LeafItemSettings, TooltipSettings, SelectionSettings, HighlightSettings, LevelSettings, load, loaded, beforePrint, itemRendering, drillStart, drillEnd, itemSelected, itemHighlight, tooltipRendering, itemClick, itemMove, click, doubleClick, rightClick, mouseMove, legendItemRendering, legendRendering, resize, defaultFont, Theme, getThemeStyle, Size, stringToNumber, Rect, RectOption, PathOption, measureText, TextOption, textTrim, Location, findPosition, createTextStyle, renderTextElement, setItemTemplateContent, getElement, itemsToOrder, isContainsData, findChildren, findHightLightItems, getTemplateFunction, convertElement, findLabelLocation, measureElement, getArea, getShortestEdge, convertToContainer, convertToRect, getMousePosition, colorMap, deSaturationColor, colorCollections, rgbToHex, getColorByValue, getGradientColor, getPercentageColor, getPercentage, wordWrap, textWrap, hide, orderByArea, maintainSelection, legendMaintain, removeClassNames, applyOptions, textFormatter, formatValue, ColorValue, convertToHexCode, componentToHex, convertHexToColor, colorNameToHex, drawSymbol, renderLegendShape, isParentItem, TreeMapAjax, removeShape, removeLegend, setColor, removeSelectionWithHighlight, getLegendIndex, pushCollection, triggerDownload, removeElement, TreeMapLegend, LayoutPanel, TreeMapHighlight, TreeMapSelection, TreeMapTooltip, ImageExport, PdfExport, Print } from '@syncfusion/ej2-treemap';
|
|
387
387
|
//# sourceMappingURL=ej2-angular-treemap.es5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-treemap.es5.js","sources":["~/@syncfusion/ej2-angular-treemap/ej2-angular-treemap.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColorMappingDirective,ColorMappingsDirective,LevelDirective,LevelsDirective,TreeMapComponent,TreeMapModule,TreeMapAllModule,TreeMapTooltipService,TreeMapLegendService,TreeMapHighlightService,TreeMapSelectionService,PrintService,PdfExportService,ImageExportService,TreeMap,LevelsData,TreeMapModel,LevelsDataModel,MarkerShape,Border,Margin,Font,CommonTitleSettings,SubTitleSettings,TitleSettings,ColorMapping,LegendSettings,InitialDrillSettings,LeafItemSettings,TooltipSettings,SelectionSettings,HighlightSettings,LevelSettings,BorderModel,MarginModel,FontModel,CommonTitleSettingsModel,SubTitleSettingsModel,TitleSettingsModel,ColorMappingModel,LegendSettingsModel,InitialDrillSettingsModel,LeafItemSettingsModel,TooltipSettingsModel,SelectionSettingsModel,HighlightSettingsModel,LevelSettingsModel,load,loaded,beforePrint,itemRendering,drillStart,drillEnd,itemSelected,itemHighlight,tooltipRendering,itemClick,itemMove,click,doubleClick,rightClick,mouseMove,legendItemRendering,legendRendering,resize,defaultFont,ITreeMapEventArgs,IPrintEventArgs,ILoadEventArgs,ILoadedEventArgs,IItemRenderingEventArgs,IDrillStartEventArgs,IDrillEndEventArgs,IItemClickEventArgs,IItemDataEventArgs,IItemMoveEventArgs,IClickEventArgs,IDoubleClickEventArgs,IRightClickEventArgs,IMouseMoveEventArgs,IItemSelectedEventArgs,IItemHighlightEventArgs,ITreeMapTooltipRenderEventArgs,ITreeMapTooltipArgs,ILegendItemRenderingEventArgs,ILegendRenderingEventArgs,IResizeEventArgs,IFontMapping,IShapes,IThemeStyle,Theme,getThemeStyle,LabelPosition,LayoutMode,Alignment,HighLightMode,SelectionMode,ExportType,LabelAlignment,LegendShape,LegendPosition,LegendMode,LegendOrientation,LabelIntersectAction,LabelPlacement,TreeMapTheme,RenderingMode,Size,stringToNumber,Rect,RectOption,PathOption,measureText,TextOption,textTrim,Location,findPosition,createTextStyle,renderTextElement,getElement,itemsToOrder,isContainsData,findChildren,findHightLightItems,getTemplateFunction,convertElement,findLabelLocation,measureElement,getArea,getShortestEdge,convertToContainer,convertToRect,getMousePosition,colorMap,deSaturationColor,colorCollections,rgbToHex,getColorByValue,getGradientColor,getPercentageColor,getPercentage,wordWrap,textWrap,hide,orderByArea,maintainSelection,legendMaintain,removeClassNames,applyOptions,textFormatter,formatValue,ColorValue,convertToHexCode,componentToHex,convertHexToColor,colorNameToHex,drawSymbol,renderLegendShape,isParentItem,TreeMapAjax,removeShape,removeLegend,setColor,removeSelectionWithHighlight,getLegendIndex,pushCollection,triggerDownload,removeElement,TreeMapLegend,LayoutPanel,TreeMapHighlight,TreeMapSelection,TreeMapTooltip,ImageExport,PdfExport,Print} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/treemap/treemap.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs","input"],"mappings":";;;;;;;;;;;;;;AKKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;AAC3B;IAEC,yCAAA;;;;IA6CD,+BAEwB,gBAAkB;QAF1C,YACQ,iBAAO,SAIV;QAHmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAAlC,QAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;IACvC,CAAK;;CApDL,CAEC,WAAA;AAqDM,qBAAP,CAAA,UAAO,GAAoC;IAD3C,EAEE,IAAA,EAAM,SAAA,EAAW,IAAA,EAAM,CAAA;gBADrB,QAAQ,EAEE,yCAAA;gBADV,MAAM,EAEE,KAAA;gBADR,OAAO,EAEE,OAAA;gBADT,OAAO,EAEE,EAAR;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,cAAA,OAAA;IACD,EAAC,IAAI,EAAE,gBAAgB,GAAG;CACzB,EAFA,CAEA,CAAC;AAGF;;;AAmEA;IA9DC,0CAAA;IA+DD;eACQ,kBAAM,cAAc,CAAC;IAC7B,CAAK;;CAHL,CA9DC,SAAA;AAIM,sBAAP,CAAA,UAAO,GAAoC;IA+D3C,EA9DE,IAAA,EAAM,SAA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AA,GAAyC,EAAE,OAAA,EAAS,yBAAA,EAA2B,QAAA,EAAU,gBAAA,EAAiB,CAAC;AACxH,IAAa,uBAAA,GAAyC,EAAE,OAAA,EAAS,yBAAA,EAA2B,QAAA,EAAU,gBAAA,EAAiB,CAAC;AACxH,IAAa,YAAA,GAA8B,EAAE,OAAA,EAAS,cAAA,EAAgB,QAAA,EAAU,KAAA,EAAM,CAAC;AACvF,IAAa,gBAAA,GAAkC,EAAE,OAAA,EAAS,kBAAA,EAAoB,QAAA,EAAU,SAAA,EAAU,CAAC;AACnG,IAAa,kBAAA,GAAoC,EAAE,OAAA,EAAS,oBAAA,EAAsB,QAAA,EAAU,WAAA,EAAY,CAAC;;;;AAIzG;IAAA;;;CAAA;AAEuC,gBAAvC,CAAA,UAAuC,GAAoC;IAD3E,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,aAAA,CAAc;gBADtC,OAAO,EAEE;oBADL,aAAa;iBAChB;gBACD,SAAS,EAEC;oBADN,qBAAqB;oBACrB,oBAAoB;oBACpB,uBAAuB;oBACvB,uBAAuB;oBACvB,YAAY;oBACZ,gBAAgB;oBAChB,kBAAkB;iBACrB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,gBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EACA,EADA,CACA,CAAC;ADxCF;;GAEG;;"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-treemap.es5.js","sources":["~/@syncfusion/ej2-angular-treemap/ej2-angular-treemap.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColorMappingDirective,ColorMappingsDirective,LevelDirective,LevelsDirective,TreeMapComponent,TreeMapModule,TreeMapAllModule,TreeMapTooltipService,TreeMapLegendService,TreeMapHighlightService,TreeMapSelectionService,PrintService,PdfExportService,ImageExportService,TreeMap,LevelsData,TreeMapModel,LevelsDataModel,MarkerShape,Border,Margin,Font,CommonTitleSettings,SubTitleSettings,TitleSettings,ColorMapping,LegendSettings,InitialDrillSettings,LeafItemSettings,TooltipSettings,SelectionSettings,HighlightSettings,LevelSettings,BorderModel,MarginModel,FontModel,CommonTitleSettingsModel,SubTitleSettingsModel,TitleSettingsModel,ColorMappingModel,LegendSettingsModel,InitialDrillSettingsModel,LeafItemSettingsModel,TooltipSettingsModel,SelectionSettingsModel,HighlightSettingsModel,LevelSettingsModel,load,loaded,beforePrint,itemRendering,drillStart,drillEnd,itemSelected,itemHighlight,tooltipRendering,itemClick,itemMove,click,doubleClick,rightClick,mouseMove,legendItemRendering,legendRendering,resize,defaultFont,ITreeMapEventArgs,IPrintEventArgs,ILoadEventArgs,ILoadedEventArgs,IItemRenderingEventArgs,IDrillStartEventArgs,IDrillEndEventArgs,IItemClickEventArgs,IItemDataEventArgs,IItemMoveEventArgs,IClickEventArgs,IDoubleClickEventArgs,IRightClickEventArgs,IMouseMoveEventArgs,IItemSelectedEventArgs,IItemHighlightEventArgs,ITreeMapTooltipRenderEventArgs,ITreeMapTooltipArgs,ILegendItemRenderingEventArgs,ILegendRenderingEventArgs,IResizeEventArgs,IFontMapping,IShapes,IThemeStyle,Theme,getThemeStyle,LabelPosition,LayoutMode,Alignment,HighLightMode,SelectionMode,ExportType,LabelAlignment,LegendShape,LegendPosition,LegendMode,LegendOrientation,LabelIntersectAction,LabelPlacement,TreeMapTheme,RenderingMode,Size,stringToNumber,Rect,RectOption,PathOption,measureText,TextOption,textTrim,Location,findPosition,createTextStyle,renderTextElement,setItemTemplateContent,getElement,itemsToOrder,isContainsData,findChildren,findHightLightItems,getTemplateFunction,convertElement,findLabelLocation,measureElement,getArea,getShortestEdge,convertToContainer,convertToRect,getMousePosition,colorMap,deSaturationColor,colorCollections,rgbToHex,getColorByValue,getGradientColor,getPercentageColor,getPercentage,wordWrap,textWrap,hide,orderByArea,maintainSelection,legendMaintain,removeClassNames,applyOptions,textFormatter,formatValue,ColorValue,convertToHexCode,componentToHex,convertHexToColor,colorNameToHex,drawSymbol,renderLegendShape,isParentItem,TreeMapAjax,removeShape,removeLegend,setColor,removeSelectionWithHighlight,getLegendIndex,pushCollection,triggerDownload,removeElement,TreeMapLegend,LayoutPanel,TreeMapHighlight,TreeMapSelection,TreeMapTooltip,ImageExport,PdfExport,Print} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/treemap/treemap.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tbeforePrint: any;\n\tclick: any;\n\tdoubleClick: any;\n\tdrillEnd: any;\n\tdrillStart: any;\n\titemClick: any;\n\titemHighlight: any;\n\titemMove: any;\n\titemRendering: any;\n\titemSelected: any;\n\tlegendItemRendering: any;\n\tlegendRendering: any;\n\tload: any;\n\tloaded: any;\n\tmouseMove: any;\n\tresize: any;\n\trightClick: any;\npublic tooltipRendering: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.beforePrint;\n/** @type {?} */\nTreeMapComponent.prototype.click;\n/** @type {?} */\nTreeMapComponent.prototype.doubleClick;\n/** @type {?} */\nTreeMapComponent.prototype.drillEnd;\n/** @type {?} */\nTreeMapComponent.prototype.drillStart;\n/** @type {?} */\nTreeMapComponent.prototype.itemClick;\n/** @type {?} */\nTreeMapComponent.prototype.itemHighlight;\n/** @type {?} */\nTreeMapComponent.prototype.itemMove;\n/** @type {?} */\nTreeMapComponent.prototype.itemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.itemSelected;\n/** @type {?} */\nTreeMapComponent.prototype.legendItemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.legendRendering;\n/** @type {?} */\nTreeMapComponent.prototype.load;\n/** @type {?} */\nTreeMapComponent.prototype.loaded;\n/** @type {?} */\nTreeMapComponent.prototype.mouseMove;\n/** @type {?} */\nTreeMapComponent.prototype.resize;\n/** @type {?} */\nTreeMapComponent.prototype.rightClick;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipRendering;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs","input"],"mappings":";;;;;;;;;;;;;;AKKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;AAC3B;IAEC,yCAAA;;;;IA2CD,+BAGwB,gBAAkB;QAH1C,YACQ,iBAAO,SAIV;QAFmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QADlC,QAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;IACvC,CAAK;;CAlDL,CAEC,WAAA;AAoDM,qBAAP,CAAA,UAAO,GAAoC;IAF3C,EAGE,IAAA,EAAM,SAAA,EAAW,IAAA,EAAM,CAAA;gBAFrB,QAAQ,EAGE,yCAAA;gBAFV,MAAM,EAGE,KAAA;gBAFR,OAAO,EAGE,OAAA;gBAFT,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ule.ctorParameters = () => [];
|
|
|
351
351
|
*/
|
|
352
352
|
|
|
353
353
|
export { ColorMappingDirective, ColorMappingsDirective, LevelDirective, LevelsDirective, TreeMapComponent, TreeMapModule, TreeMapAllModule, TreeMapTooltipService, TreeMapLegendService, TreeMapHighlightService, TreeMapSelectionService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$2 as ɵb };
|
|
354
|
-
export { TreeMap, LevelsData, Border, Margin, Font, CommonTitleSettings, SubTitleSettings, TitleSettings, ColorMapping, LegendSettings, InitialDrillSettings, LeafItemSettings, TooltipSettings, SelectionSettings, HighlightSettings, LevelSettings, load, loaded, beforePrint, itemRendering, drillStart, drillEnd, itemSelected, itemHighlight, tooltipRendering, itemClick, itemMove, click, doubleClick, rightClick, mouseMove, legendItemRendering, legendRendering, resize, defaultFont, Theme, getThemeStyle, Size, stringToNumber, Rect, RectOption, PathOption, measureText, TextOption, textTrim, Location, findPosition, createTextStyle, renderTextElement, getElement, itemsToOrder, isContainsData, findChildren, findHightLightItems, getTemplateFunction, convertElement, findLabelLocation, measureElement, getArea, getShortestEdge, convertToContainer, convertToRect, getMousePosition, colorMap, deSaturationColor, colorCollections, rgbToHex, getColorByValue, getGradientColor, getPercentageColor, getPercentage, wordWrap, textWrap, hide, orderByArea, maintainSelection, legendMaintain, removeClassNames, applyOptions, textFormatter, formatValue, ColorValue, convertToHexCode, componentToHex, convertHexToColor, colorNameToHex, drawSymbol, renderLegendShape, isParentItem, TreeMapAjax, removeShape, removeLegend, setColor, removeSelectionWithHighlight, getLegendIndex, pushCollection, triggerDownload, removeElement, TreeMapLegend, LayoutPanel, TreeMapHighlight, TreeMapSelection, TreeMapTooltip, ImageExport, PdfExport, Print } from '@syncfusion/ej2-treemap';
|
|
354
|
+
export { TreeMap, LevelsData, Border, Margin, Font, CommonTitleSettings, SubTitleSettings, TitleSettings, ColorMapping, LegendSettings, InitialDrillSettings, LeafItemSettings, TooltipSettings, SelectionSettings, HighlightSettings, LevelSettings, load, loaded, beforePrint, itemRendering, drillStart, drillEnd, itemSelected, itemHighlight, tooltipRendering, itemClick, itemMove, click, doubleClick, rightClick, mouseMove, legendItemRendering, legendRendering, resize, defaultFont, Theme, getThemeStyle, Size, stringToNumber, Rect, RectOption, PathOption, measureText, TextOption, textTrim, Location, findPosition, createTextStyle, renderTextElement, setItemTemplateContent, getElement, itemsToOrder, isContainsData, findChildren, findHightLightItems, getTemplateFunction, convertElement, findLabelLocation, measureElement, getArea, getShortestEdge, convertToContainer, convertToRect, getMousePosition, colorMap, deSaturationColor, colorCollections, rgbToHex, getColorByValue, getGradientColor, getPercentageColor, getPercentage, wordWrap, textWrap, hide, orderByArea, maintainSelection, legendMaintain, removeClassNames, applyOptions, textFormatter, formatValue, ColorValue, convertToHexCode, componentToHex, convertHexToColor, colorNameToHex, drawSymbol, renderLegendShape, isParentItem, TreeMapAjax, removeShape, removeLegend, setColor, removeSelectionWithHighlight, getLegendIndex, pushCollection, triggerDownload, removeElement, TreeMapLegend, LayoutPanel, TreeMapHighlight, TreeMapSelection, TreeMapTooltip, ImageExport, PdfExport, Print } from '@syncfusion/ej2-treemap';
|
|
355
355
|
//# sourceMappingURL=ej2-angular-treemap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-treemap.js","sources":["~/@syncfusion/ej2-angular-treemap/ej2-angular-treemap.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColorMappingDirective,ColorMappingsDirective,LevelDirective,LevelsDirective,TreeMapComponent,TreeMapModule,TreeMapAllModule,TreeMapTooltipService,TreeMapLegendService,TreeMapHighlightService,TreeMapSelectionService,PrintService,PdfExportService,ImageExportService,TreeMap,LevelsData,TreeMapModel,LevelsDataModel,MarkerShape,Border,Margin,Font,CommonTitleSettings,SubTitleSettings,TitleSettings,ColorMapping,LegendSettings,InitialDrillSettings,LeafItemSettings,TooltipSettings,SelectionSettings,HighlightSettings,LevelSettings,BorderModel,MarginModel,FontModel,CommonTitleSettingsModel,SubTitleSettingsModel,TitleSettingsModel,ColorMappingModel,LegendSettingsModel,InitialDrillSettingsModel,LeafItemSettingsModel,TooltipSettingsModel,SelectionSettingsModel,HighlightSettingsModel,LevelSettingsModel,load,loaded,beforePrint,itemRendering,drillStart,drillEnd,itemSelected,itemHighlight,tooltipRendering,itemClick,itemMove,click,doubleClick,rightClick,mouseMove,legendItemRendering,legendRendering,resize,defaultFont,ITreeMapEventArgs,IPrintEventArgs,ILoadEventArgs,ILoadedEventArgs,IItemRenderingEventArgs,IDrillStartEventArgs,IDrillEndEventArgs,IItemClickEventArgs,IItemDataEventArgs,IItemMoveEventArgs,IClickEventArgs,IDoubleClickEventArgs,IRightClickEventArgs,IMouseMoveEventArgs,IItemSelectedEventArgs,IItemHighlightEventArgs,ITreeMapTooltipRenderEventArgs,ITreeMapTooltipArgs,ILegendItemRenderingEventArgs,ILegendRenderingEventArgs,IResizeEventArgs,IFontMapping,IShapes,IThemeStyle,Theme,getThemeStyle,LabelPosition,LayoutMode,Alignment,HighLightMode,SelectionMode,ExportType,LabelAlignment,LegendShape,LegendPosition,LegendMode,LegendOrientation,LabelIntersectAction,LabelPlacement,TreeMapTheme,RenderingMode,Size,stringToNumber,Rect,RectOption,PathOption,measureText,TextOption,textTrim,Location,findPosition,createTextStyle,renderTextElement,getElement,itemsToOrder,isContainsData,findChildren,findHightLightItems,getTemplateFunction,convertElement,findLabelLocation,measureElement,getArea,getShortestEdge,convertToContainer,convertToRect,getMousePosition,colorMap,deSaturationColor,colorCollections,rgbToHex,getColorByValue,getGradientColor,getPercentageColor,getPercentage,wordWrap,textWrap,hide,orderByArea,maintainSelection,legendMaintain,removeClassNames,applyOptions,textFormatter,formatValue,ColorValue,convertToHexCode,componentToHex,convertHexToColor,colorNameToHex,drawSymbol,renderLegendShape,isParentItem,TreeMapAjax,removeShape,removeLegend,setColor,removeSelectionWithHighlight,getLegendIndex,pushCollection,triggerDownload,removeElement,TreeMapLegend,LayoutPanel,TreeMapHighlight,TreeMapSelection,TreeMapTooltip,ImageExport,PdfExport,Print} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/treemap/treemap.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs","input"],"mappings":";;;;;AKKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;AAC3B,AAAA,MAAA,qBAEC,SAAA,WAAA,CAFD;;;;IA+CA,WAAA,CAEwB,gBAAkB,EAF1C;QACQ,KAAK,EAAE,CAAC;QACQ,IAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAAlC,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,IAAI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AAC;AACxH,AAAO,MAAM,uBAAA,GAAyC,EAAE,OAAA,EAAS,yBAAA,EAA2B,QAAA,EAAU,gBAAA,EAAiB,CAAC;AACxH,AAAO,MAAM,YAAA,GAA8B,EAAE,OAAA,EAAS,cAAA,EAAgB,QAAA,EAAU,KAAA,EAAM,CAAC;AACvF,AAAO,MAAM,gBAAA,GAAkC,EAAE,OAAA,EAAS,kBAAA,EAAoB,QAAA,EAAU,SAAA,EAAU,CAAC;AACnG,AAAO,MAAM,kBAAA,GAAoC,EAAE,OAAA,EAAS,oBAAA,EAAsB,QAAA,EAAU,WAAA,EAAY,CAAC;;;;AAIzG,AAAA,MAAA,gBAAA,CAAA;;AAEuC,gBAAvC,CAAA,UAAuC,GAAoC;IAD3E,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,aAAA,CAAc;gBADtC,OAAO,EAEE;oBADL,aAAa;iBAChB;gBACD,SAAS,EAEC;oBADN,qBAAqB;oBACrB,oBAAoB;oBACpB,uBAAuB;oBACvB,uBAAuB;oBACvB,YAAY;oBACZ,gBAAgB;oBAChB,kBAAkB;iBACrB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,gBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;ADxCF;;GAEG;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-treemap.js","sources":["~/@syncfusion/ej2-angular-treemap/ej2-angular-treemap.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {ColorMappingDirective,ColorMappingsDirective,LevelDirective,LevelsDirective,TreeMapComponent,TreeMapModule,TreeMapAllModule,TreeMapTooltipService,TreeMapLegendService,TreeMapHighlightService,TreeMapSelectionService,PrintService,PdfExportService,ImageExportService,TreeMap,LevelsData,TreeMapModel,LevelsDataModel,MarkerShape,Border,Margin,Font,CommonTitleSettings,SubTitleSettings,TitleSettings,ColorMapping,LegendSettings,InitialDrillSettings,LeafItemSettings,TooltipSettings,SelectionSettings,HighlightSettings,LevelSettings,BorderModel,MarginModel,FontModel,CommonTitleSettingsModel,SubTitleSettingsModel,TitleSettingsModel,ColorMappingModel,LegendSettingsModel,InitialDrillSettingsModel,LeafItemSettingsModel,TooltipSettingsModel,SelectionSettingsModel,HighlightSettingsModel,LevelSettingsModel,load,loaded,beforePrint,itemRendering,drillStart,drillEnd,itemSelected,itemHighlight,tooltipRendering,itemClick,itemMove,click,doubleClick,rightClick,mouseMove,legendItemRendering,legendRendering,resize,defaultFont,ITreeMapEventArgs,IPrintEventArgs,ILoadEventArgs,ILoadedEventArgs,IItemRenderingEventArgs,IDrillStartEventArgs,IDrillEndEventArgs,IItemClickEventArgs,IItemDataEventArgs,IItemMoveEventArgs,IClickEventArgs,IDoubleClickEventArgs,IRightClickEventArgs,IMouseMoveEventArgs,IItemSelectedEventArgs,IItemHighlightEventArgs,ITreeMapTooltipRenderEventArgs,ITreeMapTooltipArgs,ILegendItemRenderingEventArgs,ILegendRenderingEventArgs,IResizeEventArgs,IFontMapping,IShapes,IThemeStyle,Theme,getThemeStyle,LabelPosition,LayoutMode,Alignment,HighLightMode,SelectionMode,ExportType,LabelAlignment,LegendShape,LegendPosition,LegendMode,LegendOrientation,LabelIntersectAction,LabelPlacement,TreeMapTheme,RenderingMode,Size,stringToNumber,Rect,RectOption,PathOption,measureText,TextOption,textTrim,Location,findPosition,createTextStyle,renderTextElement,setItemTemplateContent,getElement,itemsToOrder,isContainsData,findChildren,findHightLightItems,getTemplateFunction,convertElement,findLabelLocation,measureElement,getArea,getShortestEdge,convertToContainer,convertToRect,getMousePosition,colorMap,deSaturationColor,colorCollections,rgbToHex,getColorByValue,getGradientColor,getPercentageColor,getPercentage,wordWrap,textWrap,hide,orderByArea,maintainSelection,legendMaintain,removeClassNames,applyOptions,textFormatter,formatValue,ColorValue,convertToHexCode,componentToHex,convertHexToColor,colorNameToHex,drawSymbol,renderLegendShape,isParentItem,TreeMapAjax,removeShape,removeLegend,setColor,removeSelectionWithHighlight,getLegendIndex,pushCollection,triggerDownload,removeElement,TreeMapLegend,LayoutPanel,TreeMapHighlight,TreeMapSelection,TreeMapTooltip,ImageExport,PdfExport,Print} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/treemap/treemap.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tbeforePrint: any;\n\tclick: any;\n\tdoubleClick: any;\n\tdrillEnd: any;\n\tdrillStart: any;\n\titemClick: any;\n\titemHighlight: any;\n\titemMove: any;\n\titemRendering: any;\n\titemSelected: any;\n\tlegendItemRendering: any;\n\tlegendRendering: any;\n\tload: any;\n\tloaded: any;\n\tmouseMove: any;\n\tresize: any;\n\trightClick: any;\npublic tooltipRendering: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.beforePrint;\n/** @type {?} */\nTreeMapComponent.prototype.click;\n/** @type {?} */\nTreeMapComponent.prototype.doubleClick;\n/** @type {?} */\nTreeMapComponent.prototype.drillEnd;\n/** @type {?} */\nTreeMapComponent.prototype.drillStart;\n/** @type {?} */\nTreeMapComponent.prototype.itemClick;\n/** @type {?} */\nTreeMapComponent.prototype.itemHighlight;\n/** @type {?} */\nTreeMapComponent.prototype.itemMove;\n/** @type {?} */\nTreeMapComponent.prototype.itemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.itemSelected;\n/** @type {?} */\nTreeMapComponent.prototype.legendItemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.legendRendering;\n/** @type {?} */\nTreeMapComponent.prototype.load;\n/** @type {?} */\nTreeMapComponent.prototype.loaded;\n/** @type {?} */\nTreeMapComponent.prototype.mouseMove;\n/** @type {?} */\nTreeMapComponent.prototype.resize;\n/** @type {?} */\nTreeMapComponent.prototype.rightClick;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipRendering;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["__metadata","__decorate","outputs","input"],"mappings":";;;;;AKKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;AAC3B,AAAA,MAAA,qBAEC,SAAA,WAAA,CAFD;;;;IA6CA,WAAA,CAGwB,gBAAkB,EAH1C;QACQ,KAAK,EAAE,CAAC;QAEQ,IAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QADlC,QAAQ,CAAC,iBAAiB,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;KAClC;;AAIE,qBAAP,CAAA,UAAO,GAAoC;IAF3C,EAGE,IAAA,EAAM,SAAA,EAAW,IAAA,EAAM,CAAA;gBAFrB,QAAQ,EAGE,yCAAA;gBAFV,MAAM,EAGE,KAAA;gBAFR,OAAO,EAGE,OAAA;gBAFT,OAAO,EAGE,EADR;aACJ,EAGC,EAAG;CAFJ,CAGC;;;;AA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AAA,GAAoC,EAAE,OAAA,EAAS,oBAAA,EAAsB,QAAA,EAAU,WAAA,EAAY,CAAC;;;;AAIzG,AAAA,MAAA,gBAAA,CAAA;;AAEuC,gBAAvC,CAAA,UAAuC,GAAoC;IAD3E,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,EAAa,aAAA,CAAc;gBADtC,OAAO,EAEE;oBADL,aAAa;iBAChB;gBACD,SAAS,EAEC;oBADN,qBAAqB;oBACrB,oBAAoB;oBACpB,uBAAuB;oBACvB,uBAAuB;oBACvB,YAAY;oBACZ,gBAAgB;oBAChB,kBAAkB;iBACrB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,gBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;ADxCF;;GAEG;;;;;"}
|
package/CHANGELOG.md
CHANGED
|
@@ -11,20 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
-
### TreeMap
|
|
15
|
-
|
|
16
|
-
#### Bug Fixes
|
|
17
|
-
|
|
18
|
-
- TreeMap properly render in React when theme applied.
|
|
19
|
-
|
|
20
|
-
## 19.2.47 (2021-07-13)
|
|
21
|
-
|
|
22
|
-
### TreeMap
|
|
23
|
-
|
|
24
|
-
#### Bug Fixes
|
|
25
|
-
|
|
26
|
-
- `#I331257` - Labels will be displayed for all the leaf items in the TreeMap.
|
|
27
|
-
|
|
28
14
|
## 18.2.44 (2020-07-07)
|
|
29
15
|
|
|
30
16
|
### TreeMap
|
|
@@ -98,3 +84,7 @@ The TreeMap is used to displayed the hierarchical or multi-level data to visuali
|
|
|
98
84
|
- **Print and Export** - TreeMap supports printing and exporting as different file types.
|
|
99
85
|
|
|
100
86
|
|
|
87
|
+
## 18.1.36-beta (2020-03-19)
|
|
88
|
+
|
|
89
|
+
- `#258211` - Support to customize the header of the treemap items is provided in the `itemRendering` and `itemClick` events.
|
|
90
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-treemap.umd.js
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -455,6 +455,7 @@ exports.Location = ej2Treemap.Location;
|
|
|
455
455
|
exports.findPosition = ej2Treemap.findPosition;
|
|
456
456
|
exports.createTextStyle = ej2Treemap.createTextStyle;
|
|
457
457
|
exports.renderTextElement = ej2Treemap.renderTextElement;
|
|
458
|
+
exports.setItemTemplateContent = ej2Treemap.setItemTemplateContent;
|
|
458
459
|
exports.getElement = ej2Treemap.getElement;
|
|
459
460
|
exports.itemsToOrder = ej2Treemap.itemsToOrder;
|
|
460
461
|
exports.isContainsData = ej2Treemap.isContainsData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-treemap.umd.js","sources":["~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["CommonModule","NgModule","ImageExport","PdfExport","Print","TreeMapSelection","TreeMapHighlight","TreeMapLegend","TreeMapTooltip","TreeMapComponent","Injector","ViewContainerRef","Renderer2","__metadata","ElementRef","ComponentMixins","ComponentBase","__decorate","Template","ContentChild","ChangeDetectionStrategy","outputs","Component","TreeMap","setValue","ContentChildren","Directive","ArrayBase","input","ComplexBase"],"mappings":";;;;;;;;;;;;;;;;AIKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;AAC3B,IAAA,qBAAA,kBAAA,UAAA,MAAA,EAAA;IAEC,SAAD,CAAA,qBAAA,EAAA,MAAA,CAAA,CAAC;;;;IA6CD,SAAA,qBAAA,CAEwB,gBAAkB,EAF1C;QAAA,IAAA,KAAA,GACQ,MADR,CAAA,IAAA,CAAA,IAAA,CACe,IADf,IAAA,CAKK;QAHmB,KAAxB,CAAA,gBAAwB,GAAA,gBAAA,CAAkB;QAAlCwB,uBAAQ,CAAC,iBAAiB,EAAE,KAAI,EAAE,KAAI,CAAC,gBAAgB,CAAC,CAAC;QACzD,KAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7B,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;;KAClC;;CApDL,CAECK,0BAAA,CAFD,CAAA,CAAA;AAuDO,qBAAP,CAAA,UAAO,GAAoC;IAD3C,EAEE,IAAA,EAAMH,cAAA,EAAW,IAAA,EAAM,CAAA;gBADrB,QAAQ,EAEE,yCAAA;gBADV,MAAM,EAEE,KAAA;gBADR,OAAO,EAEE,OAAA;gBADT,OAAO,EAEE,EAAR;aACJ,EAE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EAEE,CAAAD,mBAAE,EAAa,aAAA,CAAc;gBADtC,OAAO,EAEE;oBADL,aAAa;iBAChB;gBACD,SAAS,EAEC;oBADN,qBAAqB;oBACrB,oBAAoB;oBACpB,uBAAuB;oBACvB,uBAAuB;oBACvB,YAAY;oBACZ,gBAAgB;oBAChB,kBAAkB;iBACrB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,gBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-treemap.umd.js","sources":["~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts"],"sourcesContent":["import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tbeforePrint: any;\n\tclick: any;\n\tdoubleClick: any;\n\tdrillEnd: any;\n\tdrillStart: any;\n\titemClick: any;\n\titemHighlight: any;\n\titemMove: any;\n\titemRendering: any;\n\titemSelected: any;\n\tlegendItemRendering: any;\n\tlegendRendering: any;\n\tload: any;\n\tloaded: any;\n\tmouseMove: any;\n\tresize: any;\n\trightClick: any;\npublic tooltipRendering: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.beforePrint;\n/** @type {?} */\nTreeMapComponent.prototype.click;\n/** @type {?} */\nTreeMapComponent.prototype.doubleClick;\n/** @type {?} */\nTreeMapComponent.prototype.drillEnd;\n/** @type {?} */\nTreeMapComponent.prototype.drillStart;\n/** @type {?} */\nTreeMapComponent.prototype.itemClick;\n/** @type {?} */\nTreeMapComponent.prototype.itemHighlight;\n/** @type {?} */\nTreeMapComponent.prototype.itemMove;\n/** @type {?} */\nTreeMapComponent.prototype.itemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.itemSelected;\n/** @type {?} */\nTreeMapComponent.prototype.legendItemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.legendRendering;\n/** @type {?} */\nTreeMapComponent.prototype.load;\n/** @type {?} */\nTreeMapComponent.prototype.loaded;\n/** @type {?} */\nTreeMapComponent.prototype.mouseMove;\n/** @type {?} */\nTreeMapComponent.prototype.resize;\n/** @type {?} */\nTreeMapComponent.prototype.rightClick;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipRendering;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["CommonModule","NgModule","ImageExport","PdfExport","Print","TreeMapSelection","TreeMapHighlight","TreeMapLegend","TreeMapTooltip","TreeMapComponent","Injector","ViewContainerRef","Renderer2","__metadata","ElementRef","ComponentMixins","ComponentBase","__decorate","Template","ContentChild","ChangeDetectionStrategy","outputs","Component","TreeMap","setValue","ContentChildren","Directive","ArrayBase","input","ComplexBase"],"mappings":";;;;;;;;;;;;;;;;AIKA,IAAI,KAAA,GAAkB,CAAA,OAAE,EAAQ,MAAA,EAAQ,OAAA,EAAS,YAAA,EAAc,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,OAAA,CAAQ,CAAC;AAC1G,IAAI,OAAA,GAAoB,EAAA,CAAG;A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ular-treemap.umd.min.js
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-treemap"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-treemap","@angular/common"],t):t(e["ej2-angular-treemap"]={},e.ng.core,e.ej2.angular.base,e.ej2.treemap,e.ng.common)}(this,function(e,t,r,n,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=["color","from","label","maxOpacity","minOpacity","showLegend","to","value"],l=[],c=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(l),n.directivePropList=a,n}return i(t,e),t}(r.ComplexBase);c.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-colorMappings>e-colorMapping",inputs:a,outputs:l,queries:{}}]}],c.ctorParameters=function(){return[{type:t.ViewContainerRef}]};var p=function(e){function t(){return e.call(this,"colormapping")||this}return i(t,e),t}(r.ArrayBase);p.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-colorMappings",queries:{children:new t.ContentChildren(c)}}]}],p.ctorParameters=function(){return[]};var s=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=["autoFill","border","colorMapping","fill","groupGap","groupPadding","groupPath","headerAlignment","headerFormat","headerHeight","headerStyle","headerTemplate","opacity","showHeader","templatePosition"],u=[],m=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,n.tags=["colorMapping"],r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(u),n.directivePropList=g,n}return i(t,e),t}(r.ComplexBase);m.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-level",inputs:g,outputs:u,queries:{childColorMapping:new t.ContentChild(p)}}]}],m.ctorParameters=function(){return[{type:t.ViewContainerRef}]},m.propDecorators={headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},s([r.Template(),d("design:type",Object)],m.prototype,"headerTemplate",void 0);var h=function(e){function t(){return e.call(this,"levels")||this}return i(t,e),t}(r.ArrayBase);h.decorators=[{type:t.Directive,args:[{selector:"ej-treemap>e-levels",queries:{children:new t.ContentChildren(m)}}]}],h.ctorParameters=function(){return[]};var f=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},T=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},M=["allowImageExport","allowPdfExport","allowPrint","background","border","breadcrumbConnector","colorValuePath","dataSource","description","drillDownView","enableBreadcrumb","enableDrillDown","enablePersistence","enableRtl","equalColorValuePath","format","height","highlightSettings","initialDrillDown","layoutType","leafItemSettings","legendSettings","levels","locale","margin","palette","query","rangeColorValuePath","renderDirection","selectionSettings","tabIndex","theme","titleSettings","tooltipSettings","useGroupingSeparator","weightValuePath","width"],v=["beforePrint","click","doubleClick","drillEnd","drillStart","itemClick","itemHighlight","itemMove","itemRendering","itemSelected","legendItemRendering","legendRendering","load","loaded","mouseMove","resize","rightClick","tooltipRendering"],C=[""];e.TreeMapComponent=function(e){function t(t,n,o,i){var a=e.call(this)||this;a.ngEle=t,a.srenderer=n,a.viewContainerRef=o,a.injector=i,a.tags=["levels"],a.element=a.ngEle.nativeElement,a.injectedModules=a.injectedModules||[];try{var l=a.injector.get("TreeMapTreeMapTooltip");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(c){}try{l=a.injector.get("TreeMapTreeMapLegend");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(p){}try{l=a.injector.get("TreeMapTreeMapHighlight");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(s){}try{l=a.injector.get("TreeMapTreeMapSelection");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(d){}try{l=a.injector.get("TreeMapPrint");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(g){}try{l=a.injector.get("TreeMapPdfExport");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(u){}try{l=a.injector.get("TreeMapImageExport");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(m){}return a.registerEvents(v),a.addTwoWay.call(a,C),r.setValue("currentInstance",a,a.viewContainerRef),a.context=new r.ComponentBase,a}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childLevels,this.context.ngAfterContentChecked(this)},t}(n.TreeMap),e.TreeMapComponent.decorators=[{type:t.Component,args:[{selector:"ejs-treemap",inputs:M,outputs:v,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{childLevels:new t.ContentChild(h)}}]}],e.TreeMapComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.TreeMapComponent.propDecorators={tooltipSettings_template:[{type:t.ContentChild,args:["tooltipSettingsTemplate"]}],leafItemSettings_labelTemplate:[{type:t.ContentChild,args:["leafItemSettingsLabelTemplate"]}]},f([r.Template(),T("design:type",Object)],e.TreeMapComponent.prototype,"tooltipSettings_template",void 0),f([r.Template(),T("design:type",Object)],e.TreeMapComponent.prototype,"leafItemSettings_labelTemplate",void 0),e.TreeMapComponent=f([r.ComponentMixins([r.ComponentBase]),T("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.TreeMapComponent);var y=function(){return function(){}}();y.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[e.TreeMapComponent,c,p,m,h],exports:[e.TreeMapComponent,c,p,m,h]}]}],y.ctorParameters=function(){return[]};var S={provide:"TreeMapTreeMapTooltip",useValue:n.TreeMapTooltip},x={provide:"TreeMapTreeMapLegend",useValue:n.TreeMapLegend},P={provide:"TreeMapTreeMapHighlight",useValue:n.TreeMapHighlight},j={provide:"TreeMapTreeMapSelection",useValue:n.TreeMapSelection},b={provide:"TreeMapPrint",useValue:n.Print},R={provide:"TreeMapPdfExport",useValue:n.PdfExport},w={provide:"TreeMapImageExport",useValue:n.ImageExport},O=function(){return function(){}}();O.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,y],exports:[y],providers:[S,x,P,j,b,R,w]}]}],O.ctorParameters=function(){return[]},e.ColorMappingDirective=c,e.ColorMappingsDirective=p,e.LevelDirective=m,e.LevelsDirective=h,e.TreeMapModule=y,e.TreeMapAllModule=O,e.TreeMapTooltipService=S,e.TreeMapLegendService=x,e.TreeMapHighlightService=P,e.TreeMapSelectionService=j,e.PrintService=b,e.PdfExportService=R,e.ImageExportService=w,e.ɵa=M,e.ɵb=v,e.TreeMap=n.TreeMap,e.LevelsData=n.LevelsData,e.Border=n.Border,e.Margin=n.Margin,e.Font=n.Font,e.CommonTitleSettings=n.CommonTitleSettings,e.SubTitleSettings=n.SubTitleSettings,e.TitleSettings=n.TitleSettings,e.ColorMapping=n.ColorMapping,e.LegendSettings=n.LegendSettings,e.InitialDrillSettings=n.InitialDrillSettings,e.LeafItemSettings=n.LeafItemSettings,e.TooltipSettings=n.TooltipSettings,e.SelectionSettings=n.SelectionSettings,e.HighlightSettings=n.HighlightSettings,e.LevelSettings=n.LevelSettings,e.load=n.load,e.loaded=n.loaded,e.beforePrint=n.beforePrint,e.itemRendering=n.itemRendering,e.drillStart=n.drillStart,e.drillEnd=n.drillEnd,e.itemSelected=n.itemSelected,e.itemHighlight=n.itemHighlight,e.tooltipRendering=n.tooltipRendering,e.itemClick=n.itemClick,e.itemMove=n.itemMove,e.click=n.click,e.doubleClick=n.doubleClick,e.rightClick=n.rightClick,e.mouseMove=n.mouseMove,e.legendItemRendering=n.legendItemRendering,e.legendRendering=n.legendRendering,e.resize=n.resize,e.defaultFont=n.defaultFont,e.Theme=n.Theme,e.getThemeStyle=n.getThemeStyle,e.Size=n.Size,e.stringToNumber=n.stringToNumber,e.Rect=n.Rect,e.RectOption=n.RectOption,e.PathOption=n.PathOption,e.measureText=n.measureText,e.TextOption=n.TextOption,e.textTrim=n.textTrim,e.Location=n.Location,e.findPosition=n.findPosition,e.createTextStyle=n.createTextStyle,e.renderTextElement=n.renderTextElement,e.getElement=n.getElement,e.itemsToOrder=n.itemsToOrder,e.isContainsData=n.isContainsData,e.findChildren=n.findChildren,e.findHightLightItems=n.findHightLightItems,e.getTemplateFunction=n.getTemplateFunction,e.convertElement=n.convertElement,e.findLabelLocation=n.findLabelLocation,e.measureElement=n.measureElement,e.getArea=n.getArea,e.getShortestEdge=n.getShortestEdge,e.convertToContainer=n.convertToContainer,e.convertToRect=n.convertToRect,e.getMousePosition=n.getMousePosition,e.colorMap=n.colorMap,e.deSaturationColor=n.deSaturationColor,e.colorCollections=n.colorCollections,e.rgbToHex=n.rgbToHex,e.getColorByValue=n.getColorByValue,e.getGradientColor=n.getGradientColor,e.getPercentageColor=n.getPercentageColor,e.getPercentage=n.getPercentage,e.wordWrap=n.wordWrap,e.textWrap=n.textWrap,e.hide=n.hide,e.orderByArea=n.orderByArea,e.maintainSelection=n.maintainSelection,e.legendMaintain=n.legendMaintain,e.removeClassNames=n.removeClassNames,e.applyOptions=n.applyOptions,e.textFormatter=n.textFormatter,e.formatValue=n.formatValue,e.ColorValue=n.ColorValue,e.convertToHexCode=n.convertToHexCode,e.componentToHex=n.componentToHex,e.convertHexToColor=n.convertHexToColor,e.colorNameToHex=n.colorNameToHex,e.drawSymbol=n.drawSymbol,e.renderLegendShape=n.renderLegendShape,e.isParentItem=n.isParentItem,e.TreeMapAjax=n.TreeMapAjax,e.removeShape=n.removeShape,e.removeLegend=n.removeLegend,e.setColor=n.setColor,e.removeSelectionWithHighlight=n.removeSelectionWithHighlight,e.getLegendIndex=n.getLegendIndex,e.pushCollection=n.pushCollection,e.triggerDownload=n.triggerDownload,e.removeElement=n.removeElement,e.TreeMapLegend=n.TreeMapLegend,e.LayoutPanel=n.LayoutPanel,e.TreeMapHighlight=n.TreeMapHighlight,e.TreeMapSelection=n.TreeMapSelection,e.TreeMapTooltip=n.TreeMapTooltip,e.ImageExport=n.ImageExport,e.PdfExport=n.PdfExport,e.Print=n.Print,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-treemap"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-treemap","@angular/common"],t):t(e["ej2-angular-treemap"]={},e.ng.core,e.ej2.angular.base,e.ej2.treemap,e.ng.common)}(this,function(e,t,r,n,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=["color","from","label","maxOpacity","minOpacity","showLegend","to","value"],l=[],c=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(l),n.directivePropList=a,n}return i(t,e),t}(r.ComplexBase);c.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-colorMappings>e-colorMapping",inputs:a,outputs:l,queries:{}}]}],c.ctorParameters=function(){return[{type:t.ViewContainerRef}]};var p=function(e){function t(){return e.call(this,"colormapping")||this}return i(t,e),t}(r.ArrayBase);p.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-colorMappings",queries:{children:new t.ContentChildren(c)}}]}],p.ctorParameters=function(){return[]};var s=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=["autoFill","border","colorMapping","fill","groupGap","groupPadding","groupPath","headerAlignment","headerFormat","headerHeight","headerStyle","headerTemplate","opacity","showHeader","templatePosition"],u=[],m=function(e){function t(t){var n=e.call(this)||this;return n.viewContainerRef=t,n.tags=["colorMapping"],r.setValue("currentInstance",n,n.viewContainerRef),n.registerEvents(u),n.directivePropList=g,n}return i(t,e),t}(r.ComplexBase);m.decorators=[{type:t.Directive,args:[{selector:"e-levels>e-level",inputs:g,outputs:u,queries:{childColorMapping:new t.ContentChild(p)}}]}],m.ctorParameters=function(){return[{type:t.ViewContainerRef}]},m.propDecorators={headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},s([r.Template(),d("design:type",Object)],m.prototype,"headerTemplate",void 0);var h=function(e){function t(){return e.call(this,"levels")||this}return i(t,e),t}(r.ArrayBase);h.decorators=[{type:t.Directive,args:[{selector:"ej-treemap>e-levels",queries:{children:new t.ContentChildren(m)}}]}],h.ctorParameters=function(){return[]};var f=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},T=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},M=["allowImageExport","allowPdfExport","allowPrint","background","border","breadcrumbConnector","colorValuePath","dataSource","description","drillDownView","enableBreadcrumb","enableDrillDown","enablePersistence","enableRtl","equalColorValuePath","format","height","highlightSettings","initialDrillDown","layoutType","leafItemSettings","legendSettings","levels","locale","margin","palette","query","rangeColorValuePath","renderDirection","selectionSettings","tabIndex","theme","titleSettings","tooltipSettings","useGroupingSeparator","weightValuePath","width"],v=["beforePrint","click","doubleClick","drillEnd","drillStart","itemClick","itemHighlight","itemMove","itemRendering","itemSelected","legendItemRendering","legendRendering","load","loaded","mouseMove","resize","rightClick","tooltipRendering"],C=[""];e.TreeMapComponent=function(e){function t(t,n,o,i){var a=e.call(this)||this;a.ngEle=t,a.srenderer=n,a.viewContainerRef=o,a.injector=i,a.tags=["levels"],a.element=a.ngEle.nativeElement,a.injectedModules=a.injectedModules||[];try{var l=a.injector.get("TreeMapTreeMapTooltip");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(c){}try{l=a.injector.get("TreeMapTreeMapLegend");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(p){}try{l=a.injector.get("TreeMapTreeMapHighlight");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(s){}try{l=a.injector.get("TreeMapTreeMapSelection");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(d){}try{l=a.injector.get("TreeMapPrint");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(g){}try{l=a.injector.get("TreeMapPdfExport");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(u){}try{l=a.injector.get("TreeMapImageExport");-1===a.injectedModules.indexOf(l)&&a.injectedModules.push(l)}catch(m){}return a.registerEvents(v),a.addTwoWay.call(a,C),r.setValue("currentInstance",a,a.viewContainerRef),a.context=new r.ComponentBase,a}return i(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.tagObjects[0].instance=this.childLevels,this.context.ngAfterContentChecked(this)},t}(n.TreeMap),e.TreeMapComponent.decorators=[{type:t.Component,args:[{selector:"ejs-treemap",inputs:M,outputs:v,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{childLevels:new t.ContentChild(h)}}]}],e.TreeMapComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.TreeMapComponent.propDecorators={tooltipSettings_template:[{type:t.ContentChild,args:["tooltipSettingsTemplate"]}],leafItemSettings_labelTemplate:[{type:t.ContentChild,args:["leafItemSettingsLabelTemplate"]}]},f([r.Template(),T("design:type",Object)],e.TreeMapComponent.prototype,"tooltipSettings_template",void 0),f([r.Template(),T("design:type",Object)],e.TreeMapComponent.prototype,"leafItemSettings_labelTemplate",void 0),e.TreeMapComponent=f([r.ComponentMixins([r.ComponentBase]),T("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.TreeMapComponent);var y=function(){return function(){}}();y.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[e.TreeMapComponent,c,p,m,h],exports:[e.TreeMapComponent,c,p,m,h]}]}],y.ctorParameters=function(){return[]};var S={provide:"TreeMapTreeMapTooltip",useValue:n.TreeMapTooltip},x={provide:"TreeMapTreeMapLegend",useValue:n.TreeMapLegend},P={provide:"TreeMapTreeMapHighlight",useValue:n.TreeMapHighlight},j={provide:"TreeMapTreeMapSelection",useValue:n.TreeMapSelection},b={provide:"TreeMapPrint",useValue:n.Print},R={provide:"TreeMapPdfExport",useValue:n.PdfExport},w={provide:"TreeMapImageExport",useValue:n.ImageExport},O=function(){return function(){}}();O.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,y],exports:[y],providers:[S,x,P,j,b,R,w]}]}],O.ctorParameters=function(){return[]},e.ColorMappingDirective=c,e.ColorMappingsDirective=p,e.LevelDirective=m,e.LevelsDirective=h,e.TreeMapModule=y,e.TreeMapAllModule=O,e.TreeMapTooltipService=S,e.TreeMapLegendService=x,e.TreeMapHighlightService=P,e.TreeMapSelectionService=j,e.PrintService=b,e.PdfExportService=R,e.ImageExportService=w,e.ɵa=M,e.ɵb=v,e.TreeMap=n.TreeMap,e.LevelsData=n.LevelsData,e.Border=n.Border,e.Margin=n.Margin,e.Font=n.Font,e.CommonTitleSettings=n.CommonTitleSettings,e.SubTitleSettings=n.SubTitleSettings,e.TitleSettings=n.TitleSettings,e.ColorMapping=n.ColorMapping,e.LegendSettings=n.LegendSettings,e.InitialDrillSettings=n.InitialDrillSettings,e.LeafItemSettings=n.LeafItemSettings,e.TooltipSettings=n.TooltipSettings,e.SelectionSettings=n.SelectionSettings,e.HighlightSettings=n.HighlightSettings,e.LevelSettings=n.LevelSettings,e.load=n.load,e.loaded=n.loaded,e.beforePrint=n.beforePrint,e.itemRendering=n.itemRendering,e.drillStart=n.drillStart,e.drillEnd=n.drillEnd,e.itemSelected=n.itemSelected,e.itemHighlight=n.itemHighlight,e.tooltipRendering=n.tooltipRendering,e.itemClick=n.itemClick,e.itemMove=n.itemMove,e.click=n.click,e.doubleClick=n.doubleClick,e.rightClick=n.rightClick,e.mouseMove=n.mouseMove,e.legendItemRendering=n.legendItemRendering,e.legendRendering=n.legendRendering,e.resize=n.resize,e.defaultFont=n.defaultFont,e.Theme=n.Theme,e.getThemeStyle=n.getThemeStyle,e.Size=n.Size,e.stringToNumber=n.stringToNumber,e.Rect=n.Rect,e.RectOption=n.RectOption,e.PathOption=n.PathOption,e.measureText=n.measureText,e.TextOption=n.TextOption,e.textTrim=n.textTrim,e.Location=n.Location,e.findPosition=n.findPosition,e.createTextStyle=n.createTextStyle,e.renderTextElement=n.renderTextElement,e.setItemTemplateContent=n.setItemTemplateContent,e.getElement=n.getElement,e.itemsToOrder=n.itemsToOrder,e.isContainsData=n.isContainsData,e.findChildren=n.findChildren,e.findHightLightItems=n.findHightLightItems,e.getTemplateFunction=n.getTemplateFunction,e.convertElement=n.convertElement,e.findLabelLocation=n.findLabelLocation,e.measureElement=n.measureElement,e.getArea=n.getArea,e.getShortestEdge=n.getShortestEdge,e.convertToContainer=n.convertToContainer,e.convertToRect=n.convertToRect,e.getMousePosition=n.getMousePosition,e.colorMap=n.colorMap,e.deSaturationColor=n.deSaturationColor,e.colorCollections=n.colorCollections,e.rgbToHex=n.rgbToHex,e.getColorByValue=n.getColorByValue,e.getGradientColor=n.getGradientColor,e.getPercentageColor=n.getPercentageColor,e.getPercentage=n.getPercentage,e.wordWrap=n.wordWrap,e.textWrap=n.textWrap,e.hide=n.hide,e.orderByArea=n.orderByArea,e.maintainSelection=n.maintainSelection,e.legendMaintain=n.legendMaintain,e.removeClassNames=n.removeClassNames,e.applyOptions=n.applyOptions,e.textFormatter=n.textFormatter,e.formatValue=n.formatValue,e.ColorValue=n.ColorValue,e.convertToHexCode=n.convertToHexCode,e.componentToHex=n.componentToHex,e.convertHexToColor=n.convertHexToColor,e.colorNameToHex=n.colorNameToHex,e.drawSymbol=n.drawSymbol,e.renderLegendShape=n.renderLegendShape,e.isParentItem=n.isParentItem,e.TreeMapAjax=n.TreeMapAjax,e.removeShape=n.removeShape,e.removeLegend=n.removeLegend,e.setColor=n.setColor,e.removeSelectionWithHighlight=n.removeSelectionWithHighlight,e.getLegendIndex=n.getLegendIndex,e.pushCollection=n.pushCollection,e.triggerDownload=n.triggerDownload,e.removeElement=n.removeElement,e.TreeMapLegend=n.TreeMapLegend,e.LayoutPanel=n.LayoutPanel,e.TreeMapHighlight=n.TreeMapHighlight,e.TreeMapSelection=n.TreeMapSelection,e.TreeMapTooltip=n.TreeMapTooltip,e.ImageExport=n.ImageExport,e.PdfExport=n.PdfExport,e.Print=n.Print,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-angular-treemap.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-treemap.umd.min.js","sources":["~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * \\@isblazornullabletype true\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["input","outputs","ColorMappingDirective","_super","viewContainerRef","_this","call","this","setValue","registerEvents","directivePropList","__extends","ComplexBase","decorators","type","Directive","args","selector","inputs","queries","ctorParameters","ViewContainerRef","ColorMappingsDirective","ArrayBase","children","ContentChildren","LevelDirective","tags","childColorMapping","ContentChild","propDecorators","headerTemplate","__decorate","Template","prototype","LevelsDirective","twoWays","exports","TreeMapComponent","ngEle","srenderer","injector","element","nativeElement","injectedModules","mod","get","indexOf","push","_a","_b","_c","_d","_e","_f","_g","addTwoWay","context","ComponentBase","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","tagObjects","instance","childLevels","TreeMap","Component","template","changeDetection","ChangeDetectionStrategy","OnPush","ElementRef","Renderer2","Injector","tooltipSettings_template","leafItemSettings_labelTemplate","ComponentMixins","__metadata","TreeMapModule","NgModule","imports","CommonModule","declarations","TreeMapTooltipService","provide","useValue","TreeMapTooltip","TreeMapLegendService","TreeMapLegend","TreeMapHighlightService","TreeMapHighlight","TreeMapSelectionService","TreeMapSelection","PrintService","Print","PdfExportService","PdfExport","ImageExportService","ImageExport","TreeMapAllModule","providers"],"mappings":"yyBAKIA,GAAkB,QAAU,OAAQ,QAAS,aAAc,aAAc,aAAc,KAAM,SAC7FC,KACJC,EAAA,SAAAC,GA+CA,SAAAD,EAEwBE,GAFxB,IAAAC,EACQF,EADRG,KAAAC,OAAAA,YAEwBF,EAAxBD,iBAAwBA,EAAhBI,EAAAA,SAAS,kBAAmBH,EAAMA,EAAKD,kBACvCC,EAAKI,eAAeR,GACpBI,E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GAEuCA,EAAvCvF,aACEC,KAAMkE,EAAAA,SAAUhE,OADdiE,SAESC,EAAAA,aAAeH,GADxB1C,SACI0C,GAEJsB,WACIjB,EACAI,EACAE,EACAE,EACAE,EACAE,EACAE,OAOPE,EAADhF,eAAC,WAAA"}
|
|
1
|
+
{"version":3,"file":"ej2-angular-treemap.umd.min.js","sources":["~/@syncfusion/ej2-angular-treemap/src/treemap/colormapping.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/levels.directive.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.component.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap.module.ts","~/@syncfusion/ej2-angular-treemap/src/treemap/treemap-all.module.ts"],"sourcesContent":["import { Directive, ViewContainerRef, ContentChildren } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\n\n\n\nlet /** @type {?} */ input: string[] = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];\nlet /** @type {?} */ outputs: string[] = [];\nexport class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {\npublic directivePropList: any;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n */\npublic color: any;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n */\npublic from: any;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n */\npublic label: any;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic maxOpacity: any;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n */\npublic minOpacity: any;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n */\npublic showLegend: any;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n */\npublic to: any;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n */\npublic value: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings>e-colorMapping',\n inputs: input,\n outputs: outputs, \n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction ColorMappingDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingDirective.ctorParameters;\n/** @type {?} */\nColorMappingDirective.prototype.directivePropList;\n/**\n * Sets and gets the color for the color-mapping in treemap.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.color;\n/**\n * Sets and gets the value from which the range of color mapping starts.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.from;\n/**\n * Sets and gets the label text for the legend based on color mapping.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.label;\n/**\n * Sets and gets the maximum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.maxOpacity;\n/**\n * Sets and gets the minimum opacity for the color-mapping in the treemap component.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.minOpacity;\n/**\n * Enables or disables the visibility of the legend for color mapping in the treemap component.\n * \\@default true\n * @type {?}\n */\nColorMappingDirective.prototype.showLegend;\n/**\n * Sets and gets the value to which the range of color mapping ends.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.to;\n/**\n * Sets and gets the value for the color-mapping from the data source.\n * \\@default null\n * @type {?}\n */\nColorMappingDirective.prototype.value;\n/** @type {?} */\nColorMappingDirective.prototype.viewContainerRef;\n}\n\n/**\n * ColorMapping Array Directive\n */\nexport class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {\nconstructor() {\n super('colormapping');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-colorMappings',\n queries: {\n children: new ContentChildren(ColorMappingDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ColorMappingsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nColorMappingsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nColorMappingsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Directive, ViewContainerRef, ContentChildren, ContentChild } from '@angular/core';\nimport { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { ColorMappingsDirective } from './colormapping.directive';\n\nlet /** @type {?} */ input: string[] = ['autoFill', 'border', 'colorMapping', 'fill', 'groupGap', 'groupPadding', 'groupPath', 'headerAlignment', 'headerFormat', 'headerHeight', 'headerStyle', 'headerTemplate', 'opacity', 'showHeader', 'templatePosition'];\nlet /** @type {?} */ outputs: string[] = [];\n/**\n * Level Directive\n * ```html\n * <e-levels>\n * <e-level></e-level>\n * </e-levels>\n * ```\n */\nexport class LevelDirective extends ComplexBase<LevelDirective> {\npublic directivePropList: any;\npublic childColorMapping: any;\npublic tags: string[] = ['colorMapping'];\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n */\npublic autoFill: any;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n */\npublic border: any;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n */\npublic colorMapping: any;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n */\npublic fill: any;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n */\npublic groupGap: any;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n */\npublic groupPadding: any;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n */\npublic groupPath: any;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n */\npublic headerAlignment: any;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n */\npublic headerFormat: any;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n */\npublic headerHeight: any;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n */\npublic headerStyle: any;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n */\npublic opacity: any;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n */\npublic showHeader: any;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n */\npublic templatePosition: any;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} viewContainerRef\n */\nconstructor(private viewContainerRef:ViewContainerRef) {\n super();\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs);\n this.directivePropList = input;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'e-levels>e-level',\n inputs: input,\n outputs: outputs, \n queries: {\n childColorMapping: new ContentChild(ColorMappingsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction LevelDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelDirective.ctorParameters;\n/** @type {?} */\nLevelDirective.propDecorators;\n/** @type {?} */\nLevelDirective.prototype.directivePropList;\n/** @type {?} */\nLevelDirective.prototype.childColorMapping;\n/** @type {?} */\nLevelDirective.prototype.tags;\n/**\n * Enables or disables the automatic filling of the colors in the items in the treemap component.\n * \\@default false\n * @type {?}\n */\nLevelDirective.prototype.autoFill;\n/**\n * Sets and gets the options for customizing the color and width of the border of \n * the levels of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.border;\n/**\n * Sets and gets the options for customizing the color-mapping in the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.colorMapping;\n/**\n * Sets and gets the fill color of the level in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.fill;\n/**\n * Sets and gets the gap between the levels in the treemap component.\n * \\@default 0\n * @type {?}\n */\nLevelDirective.prototype.groupGap;\n/**\n * Sets and gets the padding of levels in the treemap component.\n * \\@default 10\n * @type {?}\n */\nLevelDirective.prototype.groupPadding;\n/**\n * Sets and gets the value path from the data source in the treemap component to render the item.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.groupPath;\n/**\n * Sets and gets the alignment of the header of the treemap component.\n * \\@default 'Near'\n * @type {?}\n */\nLevelDirective.prototype.headerAlignment;\n/**\n * Sets and gets the format of header of the levels in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerFormat;\n/**\n * Sets and gets the height of header in the treemap component.\n * \\@default 20\n * @type {?}\n */\nLevelDirective.prototype.headerHeight;\n/**\n * Sets and gets the options for customizing the style of header of the treemap component.\n * @type {?}\n */\nLevelDirective.prototype.headerStyle;\n/**\n * Sets and gets the opacity in the treemap component.\n * \\@default 1\n * @type {?}\n */\nLevelDirective.prototype.opacity;\n/**\n * Shows or hides the header in level of the treemap component.\n * \\@default true\n * @type {?}\n */\nLevelDirective.prototype.showHeader;\n/**\n * Sets and gets the options for customizing the template position of the treemap component.\n * \\@default 'TopLeft'\n * @type {?}\n */\nLevelDirective.prototype.templatePosition;\n/**\n * Sets and gets the template for header in the treemap component.\n * \\@default null\n * @type {?}\n */\nLevelDirective.prototype.headerTemplate;\n/** @type {?} */\nLevelDirective.prototype.viewContainerRef;\n}\n\n/**\n * Level Array Directive\n */\nexport class LevelsDirective extends ArrayBase<LevelsDirective> {\nconstructor() {\n super('levels');\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'ej-treemap>e-levels',\n queries: {\n children: new ContentChildren(LevelDirective)\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction LevelsDirective_tsickle_Closure_declarations() {\n/** @type {?} */\nLevelsDirective.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nLevelsDirective.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { TreeMap } from '@syncfusion/ej2-treemap';\nimport { Template } from '@syncfusion/ej2-angular-base';\nimport { LevelsDirective } from './levels.directive';\n\nexport const /** @type {?} */ inputs: string[] = ['allowImageExport','allowPdfExport','allowPrint','background','border','breadcrumbConnector','colorValuePath','dataSource','description','drillDownView','enableBreadcrumb','enableDrillDown','enablePersistence','enableRtl','equalColorValuePath','format','height','highlightSettings','initialDrillDown','layoutType','leafItemSettings','legendSettings','levels','locale','margin','palette','query','rangeColorValuePath','renderDirection','selectionSettings','tabIndex','theme','titleSettings','tooltipSettings','useGroupingSeparator','weightValuePath','width'];\nexport const /** @type {?} */ outputs: string[] = ['beforePrint','click','doubleClick','drillEnd','drillStart','itemClick','itemHighlight','itemMove','itemRendering','itemSelected','legendItemRendering','legendRendering','load','loaded','mouseMove','resize','rightClick','tooltipRendering'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * TreeMap Component\n * ```html\n * <ej-treemap></ej-treemap>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class TreeMapComponent extends TreeMap implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tbeforePrint: any;\n\tclick: any;\n\tdoubleClick: any;\n\tdrillEnd: any;\n\tdrillStart: any;\n\titemClick: any;\n\titemHighlight: any;\n\titemMove: any;\n\titemRendering: any;\n\titemSelected: any;\n\tlegendItemRendering: any;\n\tlegendRendering: any;\n\tload: any;\n\tloaded: any;\n\tmouseMove: any;\n\tresize: any;\n\trightClick: any;\npublic tooltipRendering: any;\npublic childLevels: QueryList<LevelsDirective>;\npublic tags: string[] = ['levels'];\n \n @Template()\npublic tooltipSettings_template: any;\n \n @Template()\npublic leafItemSettings_labelTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('TreeMapTreeMapTooltip');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapLegend');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapHighlight');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapTreeMapSelection');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPrint');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapPdfExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n try {\n let mod = this.injector.get('TreeMapImageExport');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n this.tagObjects[0].instance = this.childLevels;\n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-treemap',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childLevels: new ContentChild(LevelsDirective)\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate', ] },],\n'leafItemSettings_labelTemplate': [{ type: ContentChild, args: ['leafItemSettingsLabelTemplate', ] },],\n};\n}\n\nfunction TreeMapComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapComponent.ctorParameters;\n/** @type {?} */\nTreeMapComponent.propDecorators;\n/** @type {?} */\nTreeMapComponent.prototype.context;\n/** @type {?} */\nTreeMapComponent.prototype.tagObjects;\n/** @type {?} */\nTreeMapComponent.prototype.beforePrint;\n/** @type {?} */\nTreeMapComponent.prototype.click;\n/** @type {?} */\nTreeMapComponent.prototype.doubleClick;\n/** @type {?} */\nTreeMapComponent.prototype.drillEnd;\n/** @type {?} */\nTreeMapComponent.prototype.drillStart;\n/** @type {?} */\nTreeMapComponent.prototype.itemClick;\n/** @type {?} */\nTreeMapComponent.prototype.itemHighlight;\n/** @type {?} */\nTreeMapComponent.prototype.itemMove;\n/** @type {?} */\nTreeMapComponent.prototype.itemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.itemSelected;\n/** @type {?} */\nTreeMapComponent.prototype.legendItemRendering;\n/** @type {?} */\nTreeMapComponent.prototype.legendRendering;\n/** @type {?} */\nTreeMapComponent.prototype.load;\n/** @type {?} */\nTreeMapComponent.prototype.loaded;\n/** @type {?} */\nTreeMapComponent.prototype.mouseMove;\n/** @type {?} */\nTreeMapComponent.prototype.resize;\n/** @type {?} */\nTreeMapComponent.prototype.rightClick;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipRendering;\n/** @type {?} */\nTreeMapComponent.prototype.childLevels;\n/** @type {?} */\nTreeMapComponent.prototype.tags;\n/** @type {?} */\nTreeMapComponent.prototype.tooltipSettings_template;\n/** @type {?} */\nTreeMapComponent.prototype.leafItemSettings_labelTemplate;\n/** @type {?} */\nTreeMapComponent.prototype.registerEvents;\n/** @type {?} */\nTreeMapComponent.prototype.addTwoWay;\n/** @type {?} */\nTreeMapComponent.prototype.ngEle;\n/** @type {?} */\nTreeMapComponent.prototype.srenderer;\n/** @type {?} */\nTreeMapComponent.prototype.viewContainerRef;\n/** @type {?} */\nTreeMapComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\n/**\n * NgModule definition for the TreeMap component.\n */\nexport class TreeMapModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ],\n exports: [\n TreeMapComponent,\n ColorMappingDirective,\n ColorMappingsDirective,\n LevelDirective,\n LevelsDirective\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ColorMappingDirective, ColorMappingsDirective } from './colormapping.directive';\nimport { LevelDirective, LevelsDirective } from './levels.directive';\nimport { TreeMapComponent } from './treemap.component';\nimport { TreeMapModule } from './treemap.module';\nimport {TreeMapTooltip, TreeMapLegend, TreeMapHighlight, TreeMapSelection, Print, PdfExport, ImageExport} from '@syncfusion/ej2-treemap';\n\n\nexport const /** @type {?} */ TreeMapTooltipService: ValueProvider = { provide: 'TreeMapTreeMapTooltip', useValue: TreeMapTooltip};\nexport const /** @type {?} */ TreeMapLegendService: ValueProvider = { provide: 'TreeMapTreeMapLegend', useValue: TreeMapLegend};\nexport const /** @type {?} */ TreeMapHighlightService: ValueProvider = { provide: 'TreeMapTreeMapHighlight', useValue: TreeMapHighlight};\nexport const /** @type {?} */ TreeMapSelectionService: ValueProvider = { provide: 'TreeMapTreeMapSelection', useValue: TreeMapSelection};\nexport const /** @type {?} */ PrintService: ValueProvider = { provide: 'TreeMapPrint', useValue: Print};\nexport const /** @type {?} */ PdfExportService: ValueProvider = { provide: 'TreeMapPdfExport', useValue: PdfExport};\nexport const /** @type {?} */ ImageExportService: ValueProvider = { provide: 'TreeMapImageExport', useValue: ImageExport};\n/**\n * NgModule definition for the TreeMap component with providers.\n */\nexport class TreeMapAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, TreeMapModule],\n exports: [\n TreeMapModule\n ],\n providers:[\n TreeMapTooltipService,\n TreeMapLegendService,\n TreeMapHighlightService,\n TreeMapSelectionService,\n PrintService,\n PdfExportService,\n ImageExportService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction TreeMapAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nTreeMapAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nTreeMapAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["input","outputs","ColorMappingDirective","_super","viewContainerRef","_this","call","this","setValue","registerEvents","directivePropList","__extends","ComplexBase","decorators","type","Directive","args","selector","inputs","queries","ctorParameters","ViewContainerRef","ColorMappingsDirective","ArrayBase","children","ContentChildren","LevelDirective","tags","childColorMapping","ContentChild","propDecorators","headerTemplate","__decorate","Template","prototype","LevelsDirective","twoWays","exports","TreeMapComponent","ngEle","srenderer","injector","element","nativeElement","injectedModules","mod","get","indexOf","push","_a","_b","_c","_d","_e","_f","_g","addTwoWay","context","ComponentBase","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","tagObjects","instance","childLevels","TreeMap","Component","template","changeDetection","ChangeDetectionStrategy","OnPush","ElementRef","Renderer2","Injector","tooltipSettings_template","leafItemSettings_labelTemplate","ComponentMixins","__metadata","TreeMapModule","NgModule","imports","CommonModule","declarations","TreeMapTooltipService","provide","useValue","TreeMapTooltip","TreeMapLegendService","TreeMapLegend","TreeMapHighlightService","TreeMapHighlight","TreeMapSelectionService","TreeMapSelection","PrintService","Print","PdfExportService","PdfExport","ImageExportService","ImageExport","TreeMapAllModule","providers"],"mappings":"yyBAKIA,GAAkB,QAAU,OAA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2BC,SAAUK,EAAAA,kBACzFC,GAA2CP,QAAS,0BAA2BC,SAAUO,EAAAA,kBACzFC,GAAgCT,QAAS,eAAgBC,SAAUS,EAAAA,OACnEC,GAAoCX,QAAS,mBAAoBC,SAAUW,EAAAA,WAC3EC,GAAsCb,QAAS,qBAAsBC,SAAUa,EAAAA,aAI5FC,EAAA,kBAAA,aAAA,GAEuCA,EAAvCvF,aACEC,KAAMkE,EAAAA,SAAUhE,OADdiE,SAESC,EAAAA,aAAeH,GADxB1C,SACI0C,GAEJsB,WACIjB,EACAI,EACAE,EACAE,EACAE,EACAE,EACAE,OAOPE,EAADhF,eAAC,WAAA"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-treemap@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-angular-treemap@
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-treemap@16.28.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-bWdxC4nqq1z/hWBEImEb89hsbkb3KjprC2Fh6Ay8lmrWKWxkyH0+R8R8RGeHiAJpV7s3YChccSqknU+FhhD61g==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-angular-treemap",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-angular-treemap/-/ej2-angular-treemap-16.28.1.tgz",
|
|
23
|
+
"_shasum": "0f4e9eef252fc9b1abf5522eac0a1ee9a1c212bf",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-treemap@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~19.
|
|
35
|
-
"@syncfusion/ej2-base": "~19.
|
|
36
|
-
"@syncfusion/ej2-treemap": "19.
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~19.4.38",
|
|
35
|
+
"@syncfusion/ej2-base": "~19.4.38",
|
|
36
|
+
"@syncfusion/ej2-treemap": "19.4.38"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 TreeMap Components for Angular",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"schematics": "./schematics/collection.json",
|
|
74
74
|
"sideEffects": false,
|
|
75
75
|
"typings": "ej2-angular-treemap.d.ts",
|
|
76
|
-
"version": "19.
|
|
76
|
+
"version": "19.4.38"
|
|
77
77
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-treemap";
|
|
2
|
-
export declare const pkgVer = "^
|
|
2
|
+
export declare const pkgVer = "^16.28.1";
|
|
3
3
|
export declare const moduleName = "TreeMapModule";
|
|
4
|
-
export declare const themeVer = "~
|
|
4
|
+
export declare const themeVer = "~16.28.1";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-treemap';
|
|
4
|
-
exports.pkgVer = '^
|
|
4
|
+
exports.pkgVer = '^16.28.1';
|
|
5
5
|
exports.moduleName = 'TreeMapModule';
|
|
6
|
-
exports.themeVer = '~
|
|
6
|
+
exports.themeVer = '~16.28.1';
|
|
@@ -11,7 +11,6 @@ export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirec
|
|
|
11
11
|
/**
|
|
12
12
|
* Sets and gets the value from which the range of color mapping starts.
|
|
13
13
|
* @default null
|
|
14
|
-
* @isblazornullabletype true
|
|
15
14
|
*/
|
|
16
15
|
from: any;
|
|
17
16
|
/**
|
|
@@ -37,7 +36,6 @@ export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirec
|
|
|
37
36
|
/**
|
|
38
37
|
* Sets and gets the value to which the range of color mapping ends.
|
|
39
38
|
* @default null
|
|
40
|
-
* @isblazornullabletype true
|
|
41
39
|
*/
|
|
42
40
|
to: any;
|
|
43
41
|
/**
|
|
@@ -18,6 +18,24 @@ export declare class TreeMapComponent extends TreeMap implements IComponentBase
|
|
|
18
18
|
private injector;
|
|
19
19
|
context: any;
|
|
20
20
|
tagObjects: any;
|
|
21
|
+
beforePrint: any;
|
|
22
|
+
click: any;
|
|
23
|
+
doubleClick: any;
|
|
24
|
+
drillEnd: any;
|
|
25
|
+
drillStart: any;
|
|
26
|
+
itemClick: any;
|
|
27
|
+
itemHighlight: any;
|
|
28
|
+
itemMove: any;
|
|
29
|
+
itemRendering: any;
|
|
30
|
+
itemSelected: any;
|
|
31
|
+
legendItemRendering: any;
|
|
32
|
+
legendRendering: any;
|
|
33
|
+
load: any;
|
|
34
|
+
loaded: any;
|
|
35
|
+
mouseMove: any;
|
|
36
|
+
resize: any;
|
|
37
|
+
rightClick: any;
|
|
38
|
+
tooltipRendering: any;
|
|
21
39
|
childLevels: QueryList<LevelsDirective>;
|
|
22
40
|
tags: string[];
|
|
23
41
|
tooltipSettings_template: any;
|