@sapui5/sap.zen.crosstab 1.96.23 → 1.96.25
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/README.md +3 -0
- package/package.json +1 -1
- package/src/sap/zen/crosstab/.library +4 -1
- package/src/sap/zen/crosstab/Crosstab.js +1 -1
- package/src/sap/zen/crosstab/DataCell.js +34 -32
- package/src/sap/zen/crosstab/HeaderCell.js +144 -142
- package/src/sap/zen/crosstab/library.js +1 -1
- package/ui5.yaml +1 -0
package/README.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
# @sapui5/sap.zen.crosstab
|
|
4
4
|
Runtime resources of the [SAPUI5](https://sapui5.hana.ondemand.com) Library **sap.zen.crosstab**.
|
|
5
5
|
|
|
6
|
+
## Deprecation
|
|
7
|
+
This library is deprecated and should no longer be used. Please use the successor Web Dynpro control instead.
|
|
8
|
+
|
|
6
9
|
## Usage
|
|
7
10
|
Refrain from installing this package using npm, Yarn or similar package managers.
|
|
8
11
|
It is meant to be consumed using the [UI5 Tooling](https://sap.github.io/ui5-tooling/).
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd" >
|
|
3
3
|
<name>sap.zen.crosstab</name>
|
|
4
|
+
<deprecation since="1.96">
|
|
5
|
+
All sap.zen code in this library has been deprecated. Please use the WD Grid control instead.
|
|
6
|
+
</deprecation>
|
|
4
7
|
<vendor>SAP SE</vendor>
|
|
5
8
|
<copyright>(c) Copyright 2010-2019 SAP SE or an SAP affiliate company.</copyright>
|
|
6
|
-
<version>1.96.
|
|
9
|
+
<version>1.96.25</version>
|
|
7
10
|
<documentation>Design Studio Crosstab library. NOT INTENDED FOR STANDALONE USAGE.</documentation>
|
|
8
11
|
<appData>
|
|
9
12
|
<jsdoc xmlns="http://www.sap.com/ui5/buildext/jsdoc" >
|
|
@@ -49,7 +49,7 @@ sap.ui.define(
|
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|
|
51
51
|
* @name sap.zen.crosstab.Crosstab
|
|
52
|
-
* @deprecated
|
|
52
|
+
* @deprecated Since version 1.89.0, Please use the WD Grid control instead.
|
|
53
53
|
*/
|
|
54
54
|
Control.extend("sap.zen.crosstab.Crosstab", /** @lends sap.zen.crosstab.Crosstab.prototype */ { metadata : {
|
|
55
55
|
library : "sap.zen.crosstab",
|
|
@@ -12,7 +12,7 @@ sap.ui.define(
|
|
|
12
12
|
"sap/zen/crosstab/utils/Utils",
|
|
13
13
|
"sap/zen/crosstab/library"
|
|
14
14
|
],
|
|
15
|
-
function(jQuery, Control, CellStyleHandler, RenderingConstants, Utils){
|
|
15
|
+
function (jQuery, Control, CellStyleHandler, RenderingConstants, Utils) {
|
|
16
16
|
"use strict";
|
|
17
17
|
// Provides control sap.zen.crosstab.DataCell.
|
|
18
18
|
jQuery.sap.declare("sap.zen.crosstab.DataCell");
|
|
@@ -28,43 +28,45 @@ sap.ui.define(
|
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
31
|
-
* @deprecated
|
|
31
|
+
* @deprecated Since version 1.89.0, Please use the WD Grid control instead.
|
|
32
32
|
* @name sap.zen.crosstab.DataCell
|
|
33
33
|
*/
|
|
34
|
-
Control.extend("sap.zen.crosstab.DataCell", /** @lends sap.zen.crosstab.DataCell.prototype */ {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
Control.extend("sap.zen.crosstab.DataCell", /** @lends sap.zen.crosstab.DataCell.prototype */ {
|
|
35
|
+
metadata: {
|
|
36
|
+
library: "sap.zen.crosstab",
|
|
37
|
+
properties: {
|
|
38
|
+
/**
|
|
39
|
+
* the text of the data cell
|
|
40
|
+
*/
|
|
41
|
+
text: { type: "string", group: "Misc", defaultValue: null },
|
|
41
42
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
/**
|
|
44
|
+
* the area of the data cell
|
|
45
|
+
*/
|
|
46
|
+
area: { type: "object", group: "Misc", defaultValue: null },
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
/**
|
|
49
|
+
* the row of the data cell
|
|
50
|
+
*/
|
|
51
|
+
row: { type: "int", group: "Misc", defaultValue: null },
|
|
51
52
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
/**
|
|
54
|
+
* the column of the data cell
|
|
55
|
+
*/
|
|
56
|
+
col: { type: "int", group: "Misc", defaultValue: null },
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
/**
|
|
59
|
+
* the table row of the data cell
|
|
60
|
+
*/
|
|
61
|
+
tableRow: { type: "int", group: "Misc", defaultValue: null },
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
/**
|
|
64
|
+
* the table column of the data cell
|
|
65
|
+
*/
|
|
66
|
+
tableCol: { type: "int", group: "Misc", defaultValue: null }
|
|
67
|
+
}
|
|
66
68
|
}
|
|
67
|
-
}
|
|
69
|
+
});
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
/**
|
|
@@ -89,10 +91,10 @@ sap.ui.define(
|
|
|
89
91
|
this.sPassiveCellType = RenderingConstants.PASSIVE_CELL_TYPE_NORMAL;
|
|
90
92
|
this.iNumberOfLineBreaks = 0;
|
|
91
93
|
};
|
|
92
|
-
sap.zen.crosstab.DataCell.prototype.getCellType = function() {
|
|
94
|
+
sap.zen.crosstab.DataCell.prototype.getCellType = function () {
|
|
93
95
|
return RenderingConstants.TYPE_DATA_CELL;
|
|
94
96
|
};
|
|
95
|
-
sap.zen.crosstab.DataCell.prototype.isHeaderCell = function() {
|
|
97
|
+
sap.zen.crosstab.DataCell.prototype.isHeaderCell = function () {
|
|
96
98
|
return false;
|
|
97
99
|
};
|
|
98
100
|
sap.zen.crosstab.DataCell.prototype.getCssClassNames = function (bIsIE8, bIsRtl, bIsMsIE) {
|
|
@@ -13,10 +13,10 @@ sap.ui.define(
|
|
|
13
13
|
"sap/zen/crosstab/utils/Utils",
|
|
14
14
|
"sap/zen/crosstab/library"
|
|
15
15
|
],
|
|
16
|
-
function(
|
|
16
|
+
function (
|
|
17
17
|
jQuery, Control, IHeaderCell, CellStyleHandler,
|
|
18
18
|
RenderingConstants
|
|
19
|
-
){
|
|
19
|
+
) {
|
|
20
20
|
"use strict";
|
|
21
21
|
// Provides control sap.zen.crosstab.HeaderCell.
|
|
22
22
|
jQuery.sap.declare("sap.zen.crosstab.HeaderCell");
|
|
@@ -32,137 +32,139 @@ sap.ui.define(
|
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
35
|
-
* @deprecated
|
|
35
|
+
* @deprecated Since version 1.89.0, Please use the WD Grid control instead.
|
|
36
36
|
* @name sap.zen.crosstab.HeaderCell
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
*/
|
|
39
|
-
Control.extend("sap.zen.crosstab.HeaderCell", /** @lends sap.zen.crosstab.HeaderCell.prototype */ {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
39
|
+
Control.extend("sap.zen.crosstab.HeaderCell", /** @lends sap.zen.crosstab.HeaderCell.prototype */ {
|
|
40
|
+
metadata: {
|
|
41
|
+
|
|
42
|
+
library: "sap.zen.crosstab",
|
|
43
|
+
properties: {
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
Rowspan of the cell
|
|
47
|
+
*/
|
|
48
|
+
rowSpan: { type: "int", group: "Misc", defaultValue: null },
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
Colspan of the cell
|
|
52
|
+
*/
|
|
53
|
+
colSpan: { type: "int", group: "Misc", defaultValue: null },
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
Text of the cell
|
|
57
|
+
*/
|
|
58
|
+
text: { type: "string", group: "Misc", defaultValue: null },
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
helper to format the cell
|
|
62
|
+
*/
|
|
63
|
+
formatter: { type: "object", group: "Misc", defaultValue: null },
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
whether to merge the cell if the keys are equal
|
|
67
|
+
*/
|
|
68
|
+
mergeKey: { type: "string", group: "Misc", defaultValue: null },
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
sorting
|
|
72
|
+
*/
|
|
73
|
+
sort: { type: "string", group: "Misc", defaultValue: null },
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
sort action
|
|
77
|
+
*/
|
|
78
|
+
sortAction: { type: "string", group: "Misc", defaultValue: null },
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
area of the cell
|
|
82
|
+
*/
|
|
83
|
+
area: { type: "object", group: "Misc", defaultValue: null },
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
the effective col span
|
|
87
|
+
*/
|
|
88
|
+
effectiveColSpan: { type: "int", group: "Misc", defaultValue: null },
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
the effective row span
|
|
92
|
+
*/
|
|
93
|
+
effectiveRowSpan: { type: "int", group: "Misc", defaultValue: null },
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
the row of the cell in the crosstab
|
|
97
|
+
*/
|
|
98
|
+
row: { type: "int", group: "Misc", defaultValue: null },
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
the column of the cell in the crosstab
|
|
102
|
+
*/
|
|
103
|
+
col: { type: "int", group: "Misc", defaultValue: null },
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
the level of the cell
|
|
107
|
+
*/
|
|
108
|
+
level: { type: "int", group: "Misc", defaultValue: null },
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
the drillstate of the cell
|
|
112
|
+
*/
|
|
113
|
+
drillState: { type: "string", group: "Misc", defaultValue: null },
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
the hierarcyh action of the cell
|
|
117
|
+
*/
|
|
118
|
+
hierarchyAction: { type: "string", group: "Misc", defaultValue: null },
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
the hierarchy tooltip
|
|
122
|
+
*/
|
|
123
|
+
hierarchyTooltip: { type: "string", group: "Misc", defaultValue: null },
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
the IE8 row span
|
|
127
|
+
* @deprecated since 1.89.0
|
|
128
|
+
*/
|
|
129
|
+
htmlIE8RowSpan: { type: "int", group: "Misc", defaultValue: 1 },
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
the text sort index
|
|
133
|
+
*/
|
|
134
|
+
sortTextIndex: { type: "int", group: "Misc", defaultValue: null },
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
the row of the tabe
|
|
138
|
+
*/
|
|
139
|
+
tableRow: { type: "int", group: "Misc", defaultValue: null },
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
the column of the table
|
|
143
|
+
*/
|
|
144
|
+
tableCol: { type: "int", group: "Misc", defaultValue: null },
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
the alignment of the cell
|
|
148
|
+
*/
|
|
149
|
+
alignment: { type: "string", group: "Misc", defaultValue: null },
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
the id of the associated member
|
|
153
|
+
*/
|
|
154
|
+
memberId: { type: "string", group: "Misc", defaultValue: null },
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
the id of the parent of the associated member
|
|
158
|
+
*/
|
|
159
|
+
parentMemberId: { type: "string", group: "Misc", defaultValue: null },
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
the node alignment
|
|
163
|
+
*/
|
|
164
|
+
nodeAlignment: { type: "string", group: "Misc", defaultValue: null }
|
|
165
|
+
}
|
|
164
166
|
}
|
|
165
|
-
}
|
|
167
|
+
});
|
|
166
168
|
|
|
167
169
|
sap.zen.crosstab.HeaderCell.prototype.init = function () {
|
|
168
170
|
this.aStyles = [];
|
|
@@ -180,11 +182,11 @@ sap.ui.define(
|
|
|
180
182
|
this.bIsRevertDrop = false;
|
|
181
183
|
};
|
|
182
184
|
|
|
183
|
-
sap.zen.crosstab.HeaderCell.prototype.getCellType = function() {
|
|
185
|
+
sap.zen.crosstab.HeaderCell.prototype.getCellType = function () {
|
|
184
186
|
return RenderingConstants.TYPE_HEADER_CELL;
|
|
185
187
|
};
|
|
186
188
|
|
|
187
|
-
sap.zen.crosstab.HeaderCell.prototype.isHeaderCell = function() {
|
|
189
|
+
sap.zen.crosstab.HeaderCell.prototype.isHeaderCell = function () {
|
|
188
190
|
return true;
|
|
189
191
|
};
|
|
190
192
|
|
|
@@ -222,7 +224,7 @@ sap.ui.define(
|
|
|
222
224
|
};
|
|
223
225
|
|
|
224
226
|
sap.zen.crosstab.HeaderCell.prototype.hasStyle = function (sStyle) {
|
|
225
|
-
var iStyleId =CellStyleHandler.getStyleId(
|
|
227
|
+
var iStyleId = CellStyleHandler.getStyleId(
|
|
226
228
|
sStyle,
|
|
227
229
|
RenderingConstants.TYPE_HEADER_CELL
|
|
228
230
|
);
|
|
@@ -302,39 +304,39 @@ sap.ui.define(
|
|
|
302
304
|
return this.iNumberOfLineBreaks;
|
|
303
305
|
};
|
|
304
306
|
|
|
305
|
-
sap.zen.crosstab.HeaderCell.prototype.getScalingAxis = function() {
|
|
307
|
+
sap.zen.crosstab.HeaderCell.prototype.getScalingAxis = function () {
|
|
306
308
|
return this.sScalingAxis;
|
|
307
309
|
};
|
|
308
310
|
|
|
309
|
-
sap.zen.crosstab.HeaderCell.prototype.setScalingAxis = function(sScalingAxis) {
|
|
311
|
+
sap.zen.crosstab.HeaderCell.prototype.setScalingAxis = function (sScalingAxis) {
|
|
310
312
|
this.sScalingAxis = sScalingAxis;
|
|
311
313
|
};
|
|
312
314
|
|
|
313
|
-
sap.zen.crosstab.HeaderCell.prototype.isPivotCell = function() {
|
|
315
|
+
sap.zen.crosstab.HeaderCell.prototype.isPivotCell = function () {
|
|
314
316
|
return this.bIsPivotCell;
|
|
315
317
|
};
|
|
316
318
|
|
|
317
|
-
sap.zen.crosstab.HeaderCell.prototype.setPivotCell = function(bIsPivotCell) {
|
|
319
|
+
sap.zen.crosstab.HeaderCell.prototype.setPivotCell = function (bIsPivotCell) {
|
|
318
320
|
this.bIsPivotCell = bIsPivotCell;
|
|
319
321
|
};
|
|
320
322
|
|
|
321
|
-
sap.zen.crosstab.HeaderCell.prototype.isSplitPivotCell = function() {
|
|
323
|
+
sap.zen.crosstab.HeaderCell.prototype.isSplitPivotCell = function () {
|
|
322
324
|
return this.bIsSplitPivotCell;
|
|
323
325
|
};
|
|
324
326
|
|
|
325
|
-
sap.zen.crosstab.HeaderCell.prototype.setSplitPivotCell = function(bIsSplitPivotCell) {
|
|
327
|
+
sap.zen.crosstab.HeaderCell.prototype.setSplitPivotCell = function (bIsSplitPivotCell) {
|
|
326
328
|
this.bIsSplitPivotCell = bIsSplitPivotCell;
|
|
327
329
|
};
|
|
328
330
|
|
|
329
|
-
sap.zen.crosstab.HeaderCell.prototype.isRevertDrop = function() {
|
|
331
|
+
sap.zen.crosstab.HeaderCell.prototype.isRevertDrop = function () {
|
|
330
332
|
return this.bIsRevertDrop;
|
|
331
333
|
};
|
|
332
334
|
|
|
333
|
-
sap.zen.crosstab.HeaderCell.prototype.setRevertDrop = function(bIsRevertDrop) {
|
|
335
|
+
sap.zen.crosstab.HeaderCell.prototype.setRevertDrop = function (bIsRevertDrop) {
|
|
334
336
|
this.bIsRevertDrop = bIsRevertDrop;
|
|
335
337
|
};
|
|
336
338
|
|
|
337
|
-
sap.zen.crosstab.HeaderCell.prototype.getFormattedText = function() {
|
|
339
|
+
sap.zen.crosstab.HeaderCell.prototype.getFormattedText = function () {
|
|
338
340
|
var lText = this.getText();
|
|
339
341
|
|
|
340
342
|
var oArea = this.getArea();
|