Skip to content

Commit 2a7e2a7

Browse files
authored
Merge pull request #257 from mgusmano/ext-angular-6.7.x
formatting
2 parents 3df58a3 + 5ad877a commit 2a7e2a7

File tree

61 files changed

+164
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+164
-158
lines changed

packages/ext-angular-kitchensink/src/examples/Carousel/Carousel.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container padding="5" layout="fit" [fitToParent]="true">
1+
<container padding="5" layout="vbox" [fitToParent]="true">
22

33
<carousel [layout]="'vbox'" [flex]="1" [shadow]="true" [margin]="'5 5 5 5'">
44
<container

packages/ext-angular-kitchensink/src/examples/Charts/3DColumn/3DColumnWithRenderer/3DColumnWithRenderer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/3DColumn/3DGrouped/3DGrouped.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit"[fitToParent]="true">
1+
<container padding="10" layout="fit"[fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/3DColumn/3DStacked/3DStacked.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/3DColumn/Basic3DColumn/Basic3DColumn.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/3DColumn/NegativeValues/NegativeValues.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Area/BasicArea/BasicArea.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Area/FullStackedArea/FullStackedArea.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Area/StackedArea/StackedArea.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Bar/BasicBar/BasicBar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Bar/FullStackedBar/FullStackedBar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Bar/StackedBar/StackedBar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/BoxPlot/BoxPlot.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
2-
1+
<container padding="10" layout="fit" [fitToParent]="true">
32

43
<container docked="top"><div #extitem>
54
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Column/ColumnWithRenderer/ColumnWithRenderer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Column/MultiaxisColumn/MultiaxisColumn.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<cartesian downloadServerUrl ="http://svg.sencha.io"
44
shadow="true"

packages/ext-angular-kitchensink/src/examples/Charts/Column/Stacked/Stacked.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Financial/Candlestick/Candlestick.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Financial/OHLC/OHLC.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Line/BasicMarkers/BasicMarkers.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Line/Spline/Spline.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Line/SplineMarkers/SplineMarkers.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Line/WithRenderer/WithRenderer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Pie/3DPie/3DPie.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Pie/BasicPie/BasicPie.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Pie/Donut/Donut.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Pie/DoubleDonut/DoubleDonut.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Pie/Spie/Spie.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Scatter/BasicScatter/BasicScatter.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '10' : ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar

packages/ext-angular-kitchensink/src/examples/Charts/Scatter/Bubble/Bubble.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [padding]="!isPhone? '15': ''" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<container docked="top"><div #extitem>
44
<chart-toolbar
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
<container padding="10" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22

33
<panel
44
[shadow]="true"
5+
[top]="top" [left]="left" [width]="width" [height]="height"
56
(ready)="onPanelReady($event)"
67
[header]="panelHeader"
78
[layout]="'vbox'"
89
[resizable]="true" bodyPadding="5"
910
autoSize="true"
10-
[width]= "isPhone ? '600px' : '600px'"
11-
[minWidth]="isPhone ? '600px' : '550px'"
12-
[minHeight]="isPhone ? '480px' : '0px'"
1311
title="Color Picker Components"
1412
[viewModel]="{data: {color: this.color}}">
13+
1514
<colorselector
1615
[color]="this.color"
1716
(change)="this.OnSelChange($event)">
1817
</colorselector>
19-
<panel
18+
19+
<panel
2020
[title]="this.colorTitle"
21-
ui="light"
22-
xtype="panel">
21+
ui="light">
2322
</panel>
23+
2424
</panel>
2525

2626
</container>

packages/ext-angular-kitchensink/src/examples/ColorPicker/ColorPicker.ts

+13-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,22 @@ export class ColorPickerComponent {
1515
color:string='#0f0'
1616
colorTitle:string=this.getcolorTitle()
1717
panel : any
18-
isPhone = Ext.platformTags.phone ? true : false
18+
//isPhone = Ext.platformTags.phone ? true : false
1919

2020
constructor(private cdref: ChangeDetectorRef) { }
2121

22+
// [width]= "isPhone ? '600px' : '600px'"
23+
// [minWidth]="isPhone ? '600px' : '550px'"
24+
// [minHeight]="isPhone ? '480px' : '0px'"
25+
26+
isPhone = Ext.os.is.Phone;
27+
top = !this.isPhone ? '10' : null
28+
left = !this.isPhone ? '10' : null
29+
width = !this.isPhone ? '600' : null
30+
height = !this.isPhone ? '475' : null
31+
32+
33+
2234
ngAfterContentChecked() {
2335
this.cdref.detectChanges()
2436
}

packages/ext-angular-kitchensink/src/examples/D3/HeatMap/ConfigurablePivotHeatmap/ConfigurablePivotHeatmap.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [layout]="'fit'" [fitToParent]="true" >
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<pivotd3container
33
(ready)="mainCtnReady($event)"
44

packages/ext-angular-kitchensink/src/examples/D3/HeatMap/PivotHeatmap/PivotHeatmap.html

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
<panel
2-
shadow="true"
3-
layout="fit"
4-
[fitToParent]="true"
5-
6-
>
7-
1+
<container padding="10" layout="fit" [fitToParent]="true">
82

93
<toolbar docked="top">
104
<spacer ></spacer>
@@ -51,4 +45,4 @@
5145
}
5246
}"
5347
></pivotheatmap>
54-
</panel>
48+
</container>

packages/ext-angular-kitchensink/src/examples/D3/HeatMap/PurchasesByDay/PurchasesByDay.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<panel shadow="true" layout="fit"
2-
[fitToParent]="true"
3-
>
1+
<container padding="10" layout="fit" [fitToParent]="true">
42
<d3-heatmap
53
[store]="this.store"
64
padding="20 20 40 60"
@@ -25,4 +23,4 @@
2523
renderer: this.onTooltip
2624
}"
2725
></d3-heatmap>
28-
</panel>
26+
</container>

packages/ext-angular-kitchensink/src/examples/D3/HeatMap/SalesPerEmployee/SalesPerEmployee.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<panel shadow="true" layout="vbox" [fitToParent]="true">
2+
<container padding="10" layout="fit" [fitToParent]="true">
33
<toolbar docked="top">
44
<button iconCls="x-fa fa-refresh" [handler]="this.refreshData" text="Refresh Data"></button>
55
<button iconCls="x-fa fa-table" [handler]="this.refreshSize" text="Refresh Size"></button>
@@ -25,4 +25,4 @@
2525
}
2626
}"
2727
></d3-heatmap>
28-
</panel>
28+
</container>

packages/ext-angular-kitchensink/src/examples/D3/Hierarchy/ConfigurablePivotTreeMap/ConfigurablePivotTreeMap.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<container [layout]="'fit'" [fitToParent]="true" >
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<pivotd3container
33
shadow="true"
44
layout="'fit'"
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<panel shadow="true" layout="fit" title="Organization Chart" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<d3-horizontal-tree
33
[interactions]="interactionsVar"
44
[tooltip]="{renderer: this.onTooltip}"
55
[nodeSize]="[200, 100]"
66
imagePath="resources/images/org-chart/"
77
[store]="this.store"
88
></d3-horizontal-tree>
9-
</panel>
9+
</container>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<panel shadow="true" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<d3-pack
33
padding="20"
44
[store]="this.store"
55
[tooltip]="{renderer: this.onTooltip}"
66
></d3-pack>
7-
</panel>
7+
</container>

packages/ext-angular-kitchensink/src/examples/D3/Hierarchy/Sunburst/Sunburst.html

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
<panel
2-
shadow="true"
3-
plugins="responsive"
4-
[layout]="'vbox'"
5-
[responsiveConfig]="{
6-
'width > 600': {layout: 'hbox'}
7-
}"
8-
[fitToParent]="true"
9-
>
1+
<container padding="10" layout="fit" [fitToParent]="true">
102
<tree
113
[store]="store"
124
[selection]="selection"
@@ -30,7 +22,7 @@
3022
[tooltip]="{ renderer: onTooltip }"
3123
(selectionChange)="onSelectionChange($event)"
3224
></d3-sunburst>
33-
</panel>
25+
</container>
3426

3527
<!--Need to add this config
3628
responsiveConfig={{

packages/ext-angular-kitchensink/src/examples/D3/Hierarchy/Tree/Tree.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<panel shadow="true" layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<d3-tree
33
[store]="this.store"
44
[colorAxis]="{ field: 'id' }"
@@ -16,4 +16,4 @@
1616
[tooltip]="{ renderer: this.onTooltip }"
1717
[platformConfig]="platConf"
1818
></d3-tree>
19-
</panel>
19+
</container>

packages/ext-angular-kitchensink/src/examples/D3/Hierarchy/TreeMap/TreeMap.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<panel shadow layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<d3-treemap
33
[store]="store"
44
[interactions]="{
@@ -17,4 +17,4 @@
1717
[scaleLabels]="true"
1818
[colorAxis]="colorAxis"
1919
></d3-treemap>
20-
</panel>
20+
</container>

packages/ext-angular-kitchensink/src/examples/D3/Hierarchy/TreeMapToolTip/TreeMapToolTip.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<panel shadow layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<d3-treemap
33
[rootVisible]="false"
44
[interactions]="{
@@ -20,4 +20,4 @@
2020
}"
2121
[colorAxis]="colorAxis"
2222
></d3-treemap>
23-
</panel>
23+
</container>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<panel shadow layout="fit" [fitToParent]="true">
1+
<container padding="10" layout="fit" [fitToParent]="true">
22
<d3-sunburst
33
padding="20"
44
[store]="store"
@@ -7,4 +7,4 @@
77
(ready)="this.onSubBurstReady($event)"
88
expandEventName="false"
99
></d3-sunburst>
10-
</panel>
10+
</container>

0 commit comments

Comments
 (0)