x4js 1.4.40 → 1.4.41
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 +11 -1
- package/lib/gridview.js +2 -0
- package/lib/x4.css +5 -3
- package/package.json +3 -2
- package/src/gridview.ts +2 -0
- package/src/x4.less +6 -3
package/README.md
CHANGED
|
@@ -2,4 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This is the x4 framework repository.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
X4 is a full typescript framework to develop Web or Desktop applications.
|
|
6
|
+
Included more than 50 controls like grids, charts, etc. Everything needed to push the limits of your creativity.
|
|
7
|
+
If these components are not enough, you can create your in few lines.
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
see [documentation](https://x4js.org/doc/)
|
|
11
|
+
## API
|
|
12
|
+
see [API](https://x4js.org/api/)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
[web site](https://x4js.org)
|
package/lib/gridview.js
CHANGED
|
@@ -398,12 +398,14 @@ class GridView extends layout_1.VLayout {
|
|
|
398
398
|
_col.width = width;
|
|
399
399
|
if (_col.flex) {
|
|
400
400
|
_col.$hdr.removeClass('@flex');
|
|
401
|
+
_col.$ftr?.removeClass('@flex');
|
|
401
402
|
_col.flex = undefined;
|
|
402
403
|
updateFlex = true;
|
|
403
404
|
}
|
|
404
405
|
}
|
|
405
406
|
else if (width < 0 && !_col.flex) {
|
|
406
407
|
_col.$hdr.addClass('@flex');
|
|
408
|
+
_col.$ftr?.addClass('@flex');
|
|
407
409
|
_col.flex = 1;
|
|
408
410
|
updateFlex = true;
|
|
409
411
|
}
|
package/lib/x4.css
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
28
28
|
**/
|
|
29
29
|
:root {
|
|
30
|
-
--x4-font: "
|
|
30
|
+
--x4-font: "Helvetica, Arial, Sans-Serif";
|
|
31
31
|
--x4-font-size: 13px;
|
|
32
32
|
--x4-base-color: #266888;
|
|
33
33
|
--x4-selection-color: #2458B3;
|
|
@@ -703,8 +703,8 @@ textarea::selection {
|
|
|
703
703
|
padding: 4px;
|
|
704
704
|
}
|
|
705
705
|
.x-menu-item:hover {
|
|
706
|
-
background-color:
|
|
707
|
-
color: var(--
|
|
706
|
+
background-color: var(--x4-hover-color);
|
|
707
|
+
color: var(--x4-hover-text);
|
|
708
708
|
}
|
|
709
709
|
.x-menu-item:hover .x-icon {
|
|
710
710
|
color: var(--gray-900);
|
|
@@ -1168,10 +1168,12 @@ textarea::selection {
|
|
|
1168
1168
|
.x-spreadsheet .x-cell.center,
|
|
1169
1169
|
.x-grid-view .x-cell.center {
|
|
1170
1170
|
text-align: center;
|
|
1171
|
+
justify-content: center;
|
|
1171
1172
|
}
|
|
1172
1173
|
.x-spreadsheet .x-cell.right,
|
|
1173
1174
|
.x-grid-view .x-cell.right {
|
|
1174
1175
|
text-align: right;
|
|
1176
|
+
justify-content: right;
|
|
1175
1177
|
}
|
|
1176
1178
|
.x-spreadsheet:focus,
|
|
1177
1179
|
.x-grid-view:focus {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x4js",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.41",
|
|
4
4
|
"description": "X4js core files",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"keywords": [
|
|
13
13
|
"typescript",
|
|
14
|
-
"framework"
|
|
14
|
+
"framework",
|
|
15
|
+
"sap", "web", "desktop", "application"
|
|
15
16
|
],
|
|
16
17
|
"scripts": {
|
|
17
18
|
"build": "tsc && lessc src/x4.less >lib/x4.css",
|
package/src/gridview.ts
CHANGED
|
@@ -555,12 +555,14 @@ export class GridView extends VLayout<GridViewProps, GridViewEventMap> {
|
|
|
555
555
|
_col.width = width;
|
|
556
556
|
if( _col.flex ) {
|
|
557
557
|
_col.$hdr.removeClass( '@flex' );
|
|
558
|
+
_col.$ftr?.removeClass( '@flex' );
|
|
558
559
|
_col.flex = undefined;
|
|
559
560
|
updateFlex = true;
|
|
560
561
|
}
|
|
561
562
|
}
|
|
562
563
|
else if( width<0 && !_col.flex ) {
|
|
563
564
|
_col.$hdr.addClass( '@flex' );
|
|
565
|
+
_col.$ftr?.addClass( '@flex' );
|
|
564
566
|
_col.flex = 1;
|
|
565
567
|
updateFlex = true;
|
|
566
568
|
}
|
package/src/x4.less
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
**/
|
|
31
31
|
|
|
32
32
|
:root {
|
|
33
|
-
--x4-font: "
|
|
33
|
+
--x4-font: "Helvetica, Arial, Sans-Serif";
|
|
34
34
|
--x4-font-size: 13px;
|
|
35
35
|
|
|
36
36
|
--x4-base-color: #266888;
|
|
@@ -878,8 +878,9 @@ textarea {
|
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
&:hover {
|
|
881
|
-
background-color:
|
|
882
|
-
color: var(
|
|
881
|
+
background-color: var( --x4-hover-color);
|
|
882
|
+
color: var(--x4-hover-text);
|
|
883
|
+
|
|
883
884
|
.x-icon {
|
|
884
885
|
color: var( --gray-900 );
|
|
885
886
|
}
|
|
@@ -1415,10 +1416,12 @@ textarea {
|
|
|
1415
1416
|
|
|
1416
1417
|
&.center {
|
|
1417
1418
|
text-align: center;
|
|
1419
|
+
justify-content: center;
|
|
1418
1420
|
}
|
|
1419
1421
|
|
|
1420
1422
|
&.right {
|
|
1421
1423
|
text-align: right;
|
|
1424
|
+
justify-content: right;
|
|
1422
1425
|
}
|
|
1423
1426
|
}
|
|
1424
1427
|
|