Skip to content

Commit

Permalink
Merge pull request #3387 from IgniteUI/vnext
Browse files Browse the repository at this point in the history
Promote staging to production
  • Loading branch information
zdrawku authored Sep 15, 2023
2 parents b3287c6 + 4ebde9c commit 17a1cbe
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 441 deletions.
4 changes: 2 additions & 2 deletions live-editing/configs/DropDownConfigGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ export class DropDownConfigGenerator implements IConfigGenerator {
component: 'DropdownTreeGridHierarchicalSelectionComponent',
appModuleConfig: new AppModuleConfig({
imports: ['IgxDropDownModule', 'DropdownTreeGridHierarchicalSelectionComponent',
'IgxButtonModule', 'IgxToggleModule', 'IgxTreeGridModule', 'IgxChipsModule'],
'IgxButtonModule', 'IgxToggleModule', 'IgxTreeGridModule', 'IgxChipsModule', 'IgxIconModule'],
ngDeclarations: ['DropdownTreeGridHierarchicalSelectionComponent'],
ngImports: ['IgxDropDownModule', 'IgxButtonModule', 'IgxToggleModule', 'IgxTreeGridModule', 'IgxChipsModule']
ngImports: ['IgxDropDownModule', 'IgxButtonModule', 'IgxToggleModule', 'IgxTreeGridModule', 'IgxChipsModule', 'IgxIconModule']
}),
shortenComponentPathBy: '/data-entries/dropdown/'
}));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<igc-dockmanager #dock class="light-theme dock-m-position" [layout]="docLayout">
<div slot="grid" igxOverlayOutlet style="height: 100%">
<igx-grid #grid columnSelection="multiple" [moving]="true" chartIntegration conditionalFormatting [formatter]="currentFormatter"
<igx-grid #grid columnSelection="multiple" [moving]="true" igxChartIntegration igxConditionalFormatting igxContextMenu
[chartData]="chartData" primaryKey="id" displayDensity="compact" [data]="data"
[allowFiltering]="true" [filterMode]="'excelStyleFilter'">
<igx-column [sortable]="true" [disablePinning]="true" [disableHiding]="true" field="id" [hidden]="true"></igx-column>
Expand Down Expand Up @@ -108,8 +108,8 @@
<div class="types-section">
<div *ngFor="let chart of (allCharts | filterType: chartType); let i=index"
(click)="createChart(chart)"
title="{{chart | name}}"
[ngClass]="{'disabled': availableCharts.indexOf(chart) === -1, 'selected': chart | hastDuplicateLayouts: dock.layout: selectedCharts}"
title="{{chart}}"
[ngClass]="{'disabled': allCharts.indexOf(chart) === -1, 'selected': chart | hastDuplicateLayouts: dock.layout: selectedCharts}"
style="width: 60px; margin-right: 20px; cursor: pointer; position: relative;">
<img src="assets/images/svg/charts/{{chart}}.svg" />
<igx-badge *ngIf="selectedCharts[chart]" icon="check"></igx-badge>
Expand All @@ -124,36 +124,3 @@
</app-dock-slot>
</igc-dockmanager>

<span *ngIf="contextmenu" class="analytics-btn" [ngStyle]="{'left.px': contextmenuX, 'top.px': contextmenuY}"
(click)="toggleContextDialog(button)">
<button #button igxButton="icon">
<igx-icon #icon style="pointer-events: none;" class="icon" family="material">insert_chart_outlined</igx-icon>
</button>
</span>

<!-- this block can be moved in another component -->
<igx-dialog #contextDialog>
<div #dialogContent class="tab-options-wrapper">
<div class="header">
<span>CONDITIONAL FORMATTING</span>
<div class="clear-action" [ngClass]="{'disableButton': !hasFormatter}">
<div class="btn" (click)="clearFormatting()">
<img style="width: 18px; height: 18px;" src="assets/images/svg/conditions/Clear.svg" />
</div>
</div>
</div>
<div class="tab-option">
<div *ngFor="let condition of formattersNames" class="action" [ngClass]="{'selected--condition': condition === currentFormatter}">
<div class="btn condition" (click)="analyse(condition)">
<img style="width: 36px; height: 36px;"
src="assets/images/svg/conditions/{{condition.replace(' ', '')}}.svg" />
<span class="name">{{condition.replace('10', '10%')}}</span>
</div>
</div>
</div>
</div>
</igx-dialog>

<ng-template #template>
<span>Incompatible data</span>
</ng-template>
Loading

0 comments on commit 17a1cbe

Please sign in to comment.