autoql-fe-utils 1.6.25 → 1.6.26
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/dist/index.d.ts +28 -3
- package/dist/index.global.js +44 -29
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +44 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1449,6 +1449,9 @@ declare const ROWS_RANGE_OPTIONS: ({
|
|
|
1449
1449
|
label: string;
|
|
1450
1450
|
canPrecedeWith: string[];
|
|
1451
1451
|
canFollowWith: string[];
|
|
1452
|
+
hasNValue: boolean;
|
|
1453
|
+
canStartWith: boolean;
|
|
1454
|
+
canEndWith: boolean;
|
|
1452
1455
|
canUseBefore?: undefined;
|
|
1453
1456
|
canUseAfter?: undefined;
|
|
1454
1457
|
} | {
|
|
@@ -1456,6 +1459,9 @@ declare const ROWS_RANGE_OPTIONS: ({
|
|
|
1456
1459
|
label: string;
|
|
1457
1460
|
canUseBefore: any[];
|
|
1458
1461
|
canUseAfter: string[];
|
|
1462
|
+
hasNValue: boolean;
|
|
1463
|
+
canStartWith: boolean;
|
|
1464
|
+
canEndWith: boolean;
|
|
1459
1465
|
canPrecedeWith?: undefined;
|
|
1460
1466
|
canFollowWith?: undefined;
|
|
1461
1467
|
} | {
|
|
@@ -1463,6 +1469,9 @@ declare const ROWS_RANGE_OPTIONS: ({
|
|
|
1463
1469
|
label: string;
|
|
1464
1470
|
canUseBefore: string[];
|
|
1465
1471
|
canUseAfter: any[];
|
|
1472
|
+
hasNValue: boolean;
|
|
1473
|
+
canStartWith: boolean;
|
|
1474
|
+
canEndWith: boolean;
|
|
1466
1475
|
canPrecedeWith?: undefined;
|
|
1467
1476
|
canFollowWith?: undefined;
|
|
1468
1477
|
})[];
|
|
@@ -1483,12 +1492,20 @@ declare const WINDOW_FUNCTIONS: {
|
|
|
1483
1492
|
requiredCols: string[];
|
|
1484
1493
|
rowsOrRange: boolean;
|
|
1485
1494
|
};
|
|
1495
|
+
CUME_DIST: {
|
|
1496
|
+
value: string;
|
|
1497
|
+
label: string;
|
|
1498
|
+
nextSelector: any;
|
|
1499
|
+
orderable: boolean;
|
|
1500
|
+
requiredCols: string[];
|
|
1501
|
+
rowsOrRange: boolean;
|
|
1502
|
+
};
|
|
1486
1503
|
DENSE_RANK: {
|
|
1487
1504
|
value: string;
|
|
1488
1505
|
label: string;
|
|
1489
1506
|
nextSelector: any;
|
|
1490
1507
|
orderable: boolean;
|
|
1491
|
-
requiredCols:
|
|
1508
|
+
requiredCols: string[];
|
|
1492
1509
|
rowsOrRange: boolean;
|
|
1493
1510
|
};
|
|
1494
1511
|
FIRST_VALUE: {
|
|
@@ -1547,12 +1564,20 @@ declare const WINDOW_FUNCTIONS: {
|
|
|
1547
1564
|
requiredCols: string[];
|
|
1548
1565
|
rowsOrRange: boolean;
|
|
1549
1566
|
};
|
|
1567
|
+
PERCENT_RANK: {
|
|
1568
|
+
value: string;
|
|
1569
|
+
label: string;
|
|
1570
|
+
nextSelector: any;
|
|
1571
|
+
orderable: boolean;
|
|
1572
|
+
requiredCols: string[];
|
|
1573
|
+
rowsOrRange: boolean;
|
|
1574
|
+
};
|
|
1550
1575
|
RANK: {
|
|
1551
1576
|
value: string;
|
|
1552
1577
|
label: string;
|
|
1553
1578
|
nextSelector: any;
|
|
1554
1579
|
orderable: boolean;
|
|
1555
|
-
requiredCols:
|
|
1580
|
+
requiredCols: string[];
|
|
1556
1581
|
rowsOrRange: boolean;
|
|
1557
1582
|
};
|
|
1558
1583
|
ROW_NUMBER: {
|
|
@@ -1560,7 +1585,7 @@ declare const WINDOW_FUNCTIONS: {
|
|
|
1560
1585
|
label: string;
|
|
1561
1586
|
nextSelector: any;
|
|
1562
1587
|
orderable: boolean;
|
|
1563
|
-
requiredCols:
|
|
1588
|
+
requiredCols: string[];
|
|
1564
1589
|
rowsOrRange: boolean;
|
|
1565
1590
|
};
|
|
1566
1591
|
SUM: {
|
package/dist/index.global.js
CHANGED
|
@@ -20466,36 +20466,51 @@
|
|
|
20466
20466
|
value: "CURRENT ROW",
|
|
20467
20467
|
// is used to specify the current row.
|
|
20468
20468
|
label: "CURRENT ROW",
|
|
20469
|
-
canPrecedeWith: ["
|
|
20470
|
-
canFollowWith: ["
|
|
20469
|
+
canPrecedeWith: ["FOLLOWING", "UNBOUNDED FOLLOWING"],
|
|
20470
|
+
canFollowWith: ["PRECEDING", "UNBOUNDED PRECEDING"],
|
|
20471
|
+
hasNValue: false,
|
|
20472
|
+
canStartWith: true,
|
|
20473
|
+
canEndWith: true
|
|
20471
20474
|
},
|
|
20472
20475
|
{
|
|
20473
|
-
value: "
|
|
20476
|
+
value: "PRECEDING",
|
|
20474
20477
|
// is a keyword you use to specify the N rows that will be included in the calculation along with the current row. For example 3 PRECEDING means 3 rows preceding the current row.
|
|
20475
20478
|
label: "N PRECEDING",
|
|
20476
20479
|
canUseBefore: [],
|
|
20477
|
-
canUseAfter: ["CURRENT ROW", "
|
|
20480
|
+
canUseAfter: ["CURRENT ROW", "FOLLOWING", "UNBOUNDED FOLLOWING"],
|
|
20481
|
+
hasNValue: true,
|
|
20482
|
+
canStartWith: true,
|
|
20483
|
+
canEndWith: false
|
|
20478
20484
|
},
|
|
20479
20485
|
{
|
|
20480
|
-
value: "
|
|
20486
|
+
value: "FOLLOWING",
|
|
20481
20487
|
// works like N PRECEDING excepts that it works in an opposite manner. N FOLLOWING specifies the numbers of row after the current row.
|
|
20482
20488
|
label: "N FOLLOWING",
|
|
20483
|
-
canUseBefore: ["CURRENT ROW", "
|
|
20484
|
-
canUseAfter: []
|
|
20489
|
+
canUseBefore: ["CURRENT ROW", "PRECEDING", "UNBOUNDED PRECEDING"],
|
|
20490
|
+
canUseAfter: [],
|
|
20491
|
+
hasNValue: true,
|
|
20492
|
+
canStartWith: false,
|
|
20493
|
+
canEndWith: true
|
|
20485
20494
|
},
|
|
20486
20495
|
{
|
|
20487
20496
|
value: "UNBOUNDED PRECEDING",
|
|
20488
20497
|
// means all rows before the current row.
|
|
20489
20498
|
label: "UNBOUNDED PRECEDING",
|
|
20490
20499
|
canUseBefore: [],
|
|
20491
|
-
canUseAfter: ["CURRENT ROW", "
|
|
20500
|
+
canUseAfter: ["CURRENT ROW", "FOLLOWING", "UNBOUNDED FOLLOWING"],
|
|
20501
|
+
hasNValue: false,
|
|
20502
|
+
canStartWith: true,
|
|
20503
|
+
canEndWith: false
|
|
20492
20504
|
},
|
|
20493
20505
|
{
|
|
20494
20506
|
value: "UNBOUNDED FOLLOWING",
|
|
20495
20507
|
// means all rows after the current row.
|
|
20496
20508
|
label: "UNBOUNDED FOLLOWING",
|
|
20497
|
-
canUseBefore: ["CURRENT ROW", "
|
|
20498
|
-
canUseAfter: []
|
|
20509
|
+
canUseBefore: ["CURRENT ROW", "PRECEDING", "UNBOUNDED PRECEDING"],
|
|
20510
|
+
canUseAfter: [],
|
|
20511
|
+
hasNValue: false,
|
|
20512
|
+
canStartWith: false,
|
|
20513
|
+
canEndWith: true
|
|
20499
20514
|
}
|
|
20500
20515
|
];
|
|
20501
20516
|
var WINDOW_FUNCTIONS = {
|
|
@@ -20515,20 +20530,20 @@
|
|
|
20515
20530
|
requiredCols: ["selectedFnColumn"],
|
|
20516
20531
|
rowsOrRange: true
|
|
20517
20532
|
},
|
|
20518
|
-
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20533
|
+
CUME_DIST: {
|
|
20534
|
+
value: "CUME_DIST",
|
|
20535
|
+
label: "CUME DIST",
|
|
20536
|
+
nextSelector: null,
|
|
20537
|
+
orderable: true,
|
|
20538
|
+
requiredCols: ["selectedFnOrderBy"],
|
|
20539
|
+
rowsOrRange: false
|
|
20540
|
+
},
|
|
20526
20541
|
DENSE_RANK: {
|
|
20527
20542
|
value: "DENSE_RANK",
|
|
20528
20543
|
label: "DENSE RANK",
|
|
20529
20544
|
nextSelector: null,
|
|
20530
20545
|
orderable: true,
|
|
20531
|
-
requiredCols:
|
|
20546
|
+
requiredCols: ["selectedFnOrderBy"],
|
|
20532
20547
|
rowsOrRange: false
|
|
20533
20548
|
},
|
|
20534
20549
|
FIRST_VALUE: {
|
|
@@ -20587,20 +20602,20 @@
|
|
|
20587
20602
|
requiredCols: ["selectedFnNTileNumber", "selectedFnOrderBy"],
|
|
20588
20603
|
rowsOrRange: false
|
|
20589
20604
|
},
|
|
20590
|
-
|
|
20591
|
-
|
|
20592
|
-
|
|
20593
|
-
|
|
20594
|
-
|
|
20595
|
-
|
|
20596
|
-
|
|
20597
|
-
|
|
20605
|
+
PERCENT_RANK: {
|
|
20606
|
+
value: "PERCENT_RANK",
|
|
20607
|
+
label: "PERCENT RANK",
|
|
20608
|
+
nextSelector: null,
|
|
20609
|
+
orderable: true,
|
|
20610
|
+
requiredCols: ["selectedFnOrderBy"],
|
|
20611
|
+
rowsOrRange: false
|
|
20612
|
+
},
|
|
20598
20613
|
RANK: {
|
|
20599
20614
|
value: "RANK",
|
|
20600
20615
|
label: "RANK",
|
|
20601
20616
|
nextSelector: null,
|
|
20602
20617
|
orderable: true,
|
|
20603
|
-
requiredCols:
|
|
20618
|
+
requiredCols: ["selectedFnOrderBy"],
|
|
20604
20619
|
rowsOrRange: false
|
|
20605
20620
|
},
|
|
20606
20621
|
ROW_NUMBER: {
|
|
@@ -20608,7 +20623,7 @@
|
|
|
20608
20623
|
label: "ROW NUMBER",
|
|
20609
20624
|
nextSelector: null,
|
|
20610
20625
|
orderable: true,
|
|
20611
|
-
requiredCols:
|
|
20626
|
+
requiredCols: ["selectedFnOrderBy"],
|
|
20612
20627
|
rowsOrRange: false
|
|
20613
20628
|
},
|
|
20614
20629
|
SUM: {
|