@genesislcap/grid-pro 14.447.1-canary.search-bar-3 → 14.447.1
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/custom-elements.json +0 -218
- package/dist/dts/datasource/base.types.d.ts +0 -2
- package/dist/dts/datasource/base.types.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +0 -6
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts.map +1 -1
- package/dist/esm/datasource/server-side.datasource.js +0 -2
- package/dist/esm/datasource/server-side.resource-base.js +0 -21
- package/dist/esm/datasource/server-side.resource-dataserver.js +4 -2
- package/dist/esm/datasource/server-side.resource-reqrep.js +8 -6
- package/dist/grid-pro.api.json +1 -1
- package/dist/grid-pro.d.ts +0 -2
- package/package.json +14 -14
|
@@ -13580,14 +13580,6 @@
|
|
|
13580
13580
|
"text": "(message: string, type: string) => void"
|
|
13581
13581
|
}
|
|
13582
13582
|
},
|
|
13583
|
-
{
|
|
13584
|
-
"kind": "field",
|
|
13585
|
-
"name": "onNoDataAvailableFunc",
|
|
13586
|
-
"type": {
|
|
13587
|
-
"text": "() => void | undefined"
|
|
13588
|
-
},
|
|
13589
|
-
"privacy": "protected"
|
|
13590
|
-
},
|
|
13591
13583
|
{
|
|
13592
13584
|
"kind": "field",
|
|
13593
13585
|
"name": "resourceName",
|
|
@@ -13956,60 +13948,6 @@
|
|
|
13956
13948
|
"privacy": "protected",
|
|
13957
13949
|
"readonly": true
|
|
13958
13950
|
},
|
|
13959
|
-
{
|
|
13960
|
-
"kind": "method",
|
|
13961
|
-
"name": "completeEmptyResult",
|
|
13962
|
-
"privacy": "protected",
|
|
13963
|
-
"return": {
|
|
13964
|
-
"type": {
|
|
13965
|
-
"text": "void"
|
|
13966
|
-
}
|
|
13967
|
-
},
|
|
13968
|
-
"parameters": [
|
|
13969
|
-
{
|
|
13970
|
-
"name": "params",
|
|
13971
|
-
"type": {
|
|
13972
|
-
"text": "IServerSideGetRowsParams"
|
|
13973
|
-
}
|
|
13974
|
-
}
|
|
13975
|
-
],
|
|
13976
|
-
"description": "Completes an SSRM request with zero rows and invokes `onNoDataAvailableFunc` on the first block only. @internal"
|
|
13977
|
-
},
|
|
13978
|
-
{
|
|
13979
|
-
"kind": "method",
|
|
13980
|
-
"name": "notifyNoDataAvailableIfEmpty",
|
|
13981
|
-
"privacy": "protected",
|
|
13982
|
-
"return": {
|
|
13983
|
-
"type": {
|
|
13984
|
-
"text": "void"
|
|
13985
|
-
}
|
|
13986
|
-
},
|
|
13987
|
-
"parameters": [
|
|
13988
|
-
{
|
|
13989
|
-
"name": "params",
|
|
13990
|
-
"type": {
|
|
13991
|
-
"text": "IServerSideGetRowsParams"
|
|
13992
|
-
}
|
|
13993
|
-
},
|
|
13994
|
-
{
|
|
13995
|
-
"name": "successRowData",
|
|
13996
|
-
"type": {
|
|
13997
|
-
"text": "LoadSuccessParams"
|
|
13998
|
-
}
|
|
13999
|
-
}
|
|
14000
|
-
],
|
|
14001
|
-
"description": "Invokes `onNoDataAvailableFunc` when the first SSRM block has no rows. @internal"
|
|
14002
|
-
},
|
|
14003
|
-
{
|
|
14004
|
-
"kind": "method",
|
|
14005
|
-
"name": "notifyNoDataAvailable",
|
|
14006
|
-
"privacy": "protected",
|
|
14007
|
-
"return": {
|
|
14008
|
-
"type": {
|
|
14009
|
-
"text": "void"
|
|
14010
|
-
}
|
|
14011
|
-
}
|
|
14012
|
-
},
|
|
14013
13951
|
{
|
|
14014
13952
|
"kind": "method",
|
|
14015
13953
|
"name": "getEffectivePagingMode",
|
|
@@ -14260,18 +14198,6 @@
|
|
|
14260
14198
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
14261
14199
|
}
|
|
14262
14200
|
},
|
|
14263
|
-
{
|
|
14264
|
-
"kind": "field",
|
|
14265
|
-
"name": "onNoDataAvailableFunc",
|
|
14266
|
-
"type": {
|
|
14267
|
-
"text": "() => void | undefined"
|
|
14268
|
-
},
|
|
14269
|
-
"privacy": "protected",
|
|
14270
|
-
"inheritedFrom": {
|
|
14271
|
-
"name": "BaseServerSideDatasource",
|
|
14272
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14273
|
-
}
|
|
14274
|
-
},
|
|
14275
14201
|
{
|
|
14276
14202
|
"kind": "field",
|
|
14277
14203
|
"name": "resourceName",
|
|
@@ -14694,72 +14620,6 @@
|
|
|
14694
14620
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
14695
14621
|
}
|
|
14696
14622
|
},
|
|
14697
|
-
{
|
|
14698
|
-
"kind": "method",
|
|
14699
|
-
"name": "completeEmptyResult",
|
|
14700
|
-
"privacy": "protected",
|
|
14701
|
-
"return": {
|
|
14702
|
-
"type": {
|
|
14703
|
-
"text": "void"
|
|
14704
|
-
}
|
|
14705
|
-
},
|
|
14706
|
-
"parameters": [
|
|
14707
|
-
{
|
|
14708
|
-
"name": "params",
|
|
14709
|
-
"type": {
|
|
14710
|
-
"text": "IServerSideGetRowsParams"
|
|
14711
|
-
}
|
|
14712
|
-
}
|
|
14713
|
-
],
|
|
14714
|
-
"description": "Completes an SSRM request with zero rows and invokes `onNoDataAvailableFunc` on the first block only. @internal",
|
|
14715
|
-
"inheritedFrom": {
|
|
14716
|
-
"name": "BaseServerSideDatasource",
|
|
14717
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14718
|
-
}
|
|
14719
|
-
},
|
|
14720
|
-
{
|
|
14721
|
-
"kind": "method",
|
|
14722
|
-
"name": "notifyNoDataAvailableIfEmpty",
|
|
14723
|
-
"privacy": "protected",
|
|
14724
|
-
"return": {
|
|
14725
|
-
"type": {
|
|
14726
|
-
"text": "void"
|
|
14727
|
-
}
|
|
14728
|
-
},
|
|
14729
|
-
"parameters": [
|
|
14730
|
-
{
|
|
14731
|
-
"name": "params",
|
|
14732
|
-
"type": {
|
|
14733
|
-
"text": "IServerSideGetRowsParams"
|
|
14734
|
-
}
|
|
14735
|
-
},
|
|
14736
|
-
{
|
|
14737
|
-
"name": "successRowData",
|
|
14738
|
-
"type": {
|
|
14739
|
-
"text": "LoadSuccessParams"
|
|
14740
|
-
}
|
|
14741
|
-
}
|
|
14742
|
-
],
|
|
14743
|
-
"description": "Invokes `onNoDataAvailableFunc` when the first SSRM block has no rows. @internal",
|
|
14744
|
-
"inheritedFrom": {
|
|
14745
|
-
"name": "BaseServerSideDatasource",
|
|
14746
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14747
|
-
}
|
|
14748
|
-
},
|
|
14749
|
-
{
|
|
14750
|
-
"kind": "method",
|
|
14751
|
-
"name": "notifyNoDataAvailable",
|
|
14752
|
-
"privacy": "protected",
|
|
14753
|
-
"return": {
|
|
14754
|
-
"type": {
|
|
14755
|
-
"text": "void"
|
|
14756
|
-
}
|
|
14757
|
-
},
|
|
14758
|
-
"inheritedFrom": {
|
|
14759
|
-
"name": "BaseServerSideDatasource",
|
|
14760
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
14761
|
-
}
|
|
14762
|
-
},
|
|
14763
14623
|
{
|
|
14764
14624
|
"kind": "method",
|
|
14765
14625
|
"name": "getEffectivePagingMode",
|
|
@@ -15245,18 +15105,6 @@
|
|
|
15245
15105
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
15246
15106
|
}
|
|
15247
15107
|
},
|
|
15248
|
-
{
|
|
15249
|
-
"kind": "field",
|
|
15250
|
-
"name": "onNoDataAvailableFunc",
|
|
15251
|
-
"type": {
|
|
15252
|
-
"text": "() => void | undefined"
|
|
15253
|
-
},
|
|
15254
|
-
"privacy": "protected",
|
|
15255
|
-
"inheritedFrom": {
|
|
15256
|
-
"name": "BaseServerSideDatasource",
|
|
15257
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15258
|
-
}
|
|
15259
|
-
},
|
|
15260
15108
|
{
|
|
15261
15109
|
"kind": "field",
|
|
15262
15110
|
"name": "resourceName",
|
|
@@ -15662,72 +15510,6 @@
|
|
|
15662
15510
|
"module": "src/datasource/server-side.resource-base.ts"
|
|
15663
15511
|
}
|
|
15664
15512
|
},
|
|
15665
|
-
{
|
|
15666
|
-
"kind": "method",
|
|
15667
|
-
"name": "completeEmptyResult",
|
|
15668
|
-
"privacy": "protected",
|
|
15669
|
-
"return": {
|
|
15670
|
-
"type": {
|
|
15671
|
-
"text": "void"
|
|
15672
|
-
}
|
|
15673
|
-
},
|
|
15674
|
-
"parameters": [
|
|
15675
|
-
{
|
|
15676
|
-
"name": "params",
|
|
15677
|
-
"type": {
|
|
15678
|
-
"text": "IServerSideGetRowsParams"
|
|
15679
|
-
}
|
|
15680
|
-
}
|
|
15681
|
-
],
|
|
15682
|
-
"description": "Completes an SSRM request with zero rows and invokes `onNoDataAvailableFunc` on the first block only. @internal",
|
|
15683
|
-
"inheritedFrom": {
|
|
15684
|
-
"name": "BaseServerSideDatasource",
|
|
15685
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15686
|
-
}
|
|
15687
|
-
},
|
|
15688
|
-
{
|
|
15689
|
-
"kind": "method",
|
|
15690
|
-
"name": "notifyNoDataAvailableIfEmpty",
|
|
15691
|
-
"privacy": "protected",
|
|
15692
|
-
"return": {
|
|
15693
|
-
"type": {
|
|
15694
|
-
"text": "void"
|
|
15695
|
-
}
|
|
15696
|
-
},
|
|
15697
|
-
"parameters": [
|
|
15698
|
-
{
|
|
15699
|
-
"name": "params",
|
|
15700
|
-
"type": {
|
|
15701
|
-
"text": "IServerSideGetRowsParams"
|
|
15702
|
-
}
|
|
15703
|
-
},
|
|
15704
|
-
{
|
|
15705
|
-
"name": "successRowData",
|
|
15706
|
-
"type": {
|
|
15707
|
-
"text": "LoadSuccessParams"
|
|
15708
|
-
}
|
|
15709
|
-
}
|
|
15710
|
-
],
|
|
15711
|
-
"description": "Invokes `onNoDataAvailableFunc` when the first SSRM block has no rows. @internal",
|
|
15712
|
-
"inheritedFrom": {
|
|
15713
|
-
"name": "BaseServerSideDatasource",
|
|
15714
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15715
|
-
}
|
|
15716
|
-
},
|
|
15717
|
-
{
|
|
15718
|
-
"kind": "method",
|
|
15719
|
-
"name": "notifyNoDataAvailable",
|
|
15720
|
-
"privacy": "protected",
|
|
15721
|
-
"return": {
|
|
15722
|
-
"type": {
|
|
15723
|
-
"text": "void"
|
|
15724
|
-
}
|
|
15725
|
-
},
|
|
15726
|
-
"inheritedFrom": {
|
|
15727
|
-
"name": "BaseServerSideDatasource",
|
|
15728
|
-
"module": "src/datasource/server-side.resource-base.ts"
|
|
15729
|
-
}
|
|
15730
|
-
},
|
|
15731
15513
|
{
|
|
15732
15514
|
"kind": "method",
|
|
15733
15515
|
"name": "getEffectivePagingMode",
|
|
@@ -29,8 +29,6 @@ export type ServerSideDatasourceOptions = {
|
|
|
29
29
|
resetPreviousPollResultFunc?: () => void;
|
|
30
30
|
reloadResourceDataFunc?: (params: any) => Promise<void>;
|
|
31
31
|
errorHandlerFunc?: (message: string, type: string) => void;
|
|
32
|
-
/** Called when a server-side load finishes with zero rows. */
|
|
33
|
-
onNoDataAvailableFunc?: () => void;
|
|
34
32
|
resourceName: string;
|
|
35
33
|
resourceParams?: DataserverParams | RequestParams;
|
|
36
34
|
resourceIndexes?: Map<string, [string]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.types.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,UAAU,EACX,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,0B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f,UAAU,GACV,QAAQ,GACR,UAAU,GACV,SAAS,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,EAWlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAUvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;;;;;;;kBAyDxC,CAAC;;;;;;;;8BAoBI,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAiBP,CAAC;4IAEiE,CAAC;wFAKtF,CAAC;+IAMwC,CAAC;2FAEb,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAmCP,CAAC;;;;;;;;;;;;;;;;;;;;;;;mBA4DJ,CAAC;;;;;;;;;;;;;6BA6B6B,CAAC;8BACe,CAAC;kBAGlE,CAAD;;oBAEgB,CAAC;;sBAK2B,CAAC;oBAEtB,CAAC;;;;;;;;gDAoBrB,CAAJ;;;;;;;;;;;;;;;;;;uBAmBM,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,EAWlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAUvC,OAAO,EAAE,qBAAqB,EAAE,MA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E9B,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,cAAc,CAA8D;IACpF,OAAO,CAAC,iBAAiB,CAAqB;IAC9C,OAAO,CAAC,uBAAuB,CAA6B;IAE5D,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAOtD,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAaxD,iBAAiB;IAUjB,oBAAoB;IAUX,SAAS,IAAI,IAAI;IAO1B;;;;OAIG;IACG,kBAAkB,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAsCnE;;;OAGG;IACH,OAAO,CAAC,mCAAmC;IAc3C;;;OAGG;IACH,OAAO,CAAC,oCAAoC;IAWtC,IAAI;IAmIV,mBAAmB,CAAC,KAAK,EAAE,GAAG;IAMf,OAAO;IAmBP,OAAO;IAKtB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,kBAAkB;YAgDZ,mBAAmB;IAKjC;;;;;;;;;;;;OAYG;YACW,kBAAkB;IA+BhC;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB,CAA+B;IAEzD;;;;;;;;;OASG;IACH,OAAO,CAAC,0BAA0B,CAAS;IAE3C;;;;;;OAMG;IACI,uBAAuB;IAM9B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,wBAAwB;YAsElB,sBAAsB;YAoDtB,eAAe;IAmBpB,gBAAgB,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG;IAIvC,QAAQ;CAGlB"}
|
|
@@ -17,7 +17,6 @@ export declare abstract class BaseServerSideDatasource implements IServerSideDat
|
|
|
17
17
|
protected rowData: Map<string, any>;
|
|
18
18
|
reloadResourceDataFunc: (params: DatasourceOptions) => Promise<void>;
|
|
19
19
|
errorHandlerFunc: (message: string, type: string) => void;
|
|
20
|
-
protected onNoDataAvailableFunc?: () => void;
|
|
21
20
|
protected resourceName: string;
|
|
22
21
|
resourceParams: any;
|
|
23
22
|
protected resourceIndexes: Map<string, [string]>;
|
|
@@ -94,11 +93,6 @@ export declare abstract class BaseServerSideDatasource implements IServerSideDat
|
|
|
94
93
|
protected getPageNumber(start: number, recordsPerPage: number, totalRecords?: number, zeroBasedViewNumber?: boolean): number;
|
|
95
94
|
protected getCorrectRowCount(params: IServerSideGetRowsParams<any, any>): any;
|
|
96
95
|
protected get isNotFirstViewNumber(): boolean;
|
|
97
|
-
/** Completes an SSRM request with zero rows and invokes `onNoDataAvailableFunc` on the first block only. @internal */
|
|
98
|
-
protected completeEmptyResult(params: IServerSideGetRowsParams): void;
|
|
99
|
-
/** Invokes `onNoDataAvailableFunc` when the first SSRM block has no rows. @internal */
|
|
100
|
-
protected notifyNoDataAvailableIfEmpty(params: IServerSideGetRowsParams, successRowData: LoadSuccessParams): void;
|
|
101
|
-
protected notifyNoDataAvailable(): void;
|
|
102
96
|
/**
|
|
103
97
|
* Determines the effective paging mode based on criteriaOnlyRequest availability and user settings
|
|
104
98
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;IAEhD,sBAAsB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrE,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;IAEhD,sBAAsB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrE,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAE1D,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC;IAC/B,cAAc,EAAE,GAAG,CAAC;IAC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G;IACH,SAAS,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAEhF;;;;OAIG;cACa,wBAAwB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAKzF,OAAO,CAAC,IAAI,IAAI;IAWV,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAWjE,OAAO,CAAC,oBAAoB;IAa5B,SAAS,CAAC,6BAA6B,CAAC,GAAG,KAAA,EAAE,WAAW,KAAA;;;;IAWxD,SAAS,CAAC,6BAA6B,IAAI,MAAM;IAkBjD,SAAS,CAAC,mBAAmB,IAAI,MAAM,EAAE;IAmKzC,SAAS,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAM7C,SAAS,CAAC,aAAa,CACrB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,EACtB,YAAY,CAAC,EAAE,MAAM,EACrB,mBAAmB,UAAO;IAS5B,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE,GAAG,CAAC;IAgCvE,SAAS,KAAK,oBAAoB,IAAI,OAAO,CAE5C;IAED;;OAEG;IACH,SAAS,CAAC,sBAAsB,IAAI,UAAU;CAgB/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-dataserver.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-dataserver.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EAGxB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;GAGG;AACH,qBAAa,8BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,gBAAgB,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC7D,4BAA4B,EAAE,kBAAkB,CAAC;IACjD,0BAA0B,EAAE,CAC1B,cAAc,CAAC,EAAE,GAAG,KACjB,OAAO,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBAE7C,OAAO,EAAE,2BAA2B;IAK1C,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO3D,OAAO,CAAC,MAAM,EAAE,wBAAwB;IAqE9C,OAAO,CAAC,mBAAmB;
|
|
1
|
+
{"version":3,"file":"server-side.resource-dataserver.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-dataserver.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EAGxB,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;GAGG;AACH,qBAAa,8BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,gBAAgB,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IAC7D,4BAA4B,EAAE,kBAAkB,CAAC;IACjD,0BAA0B,EAAE,CAC1B,cAAc,CAAC,EAAE,GAAG,KACjB,OAAO,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC,CAAC;gBAE7C,OAAO,EAAE,2BAA2B;IAK1C,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO3D,OAAO,CAAC,MAAM,EAAE,wBAAwB;IAqE9C,OAAO,CAAC,mBAAmB;IAkD3B;;;OAGG;cACa,YAAY,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IAqDvE,OAAO;IAOb,OAAO,CAAC,uBAAuB;CAYhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-reqrep.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-reqrep.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAInB,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAOvE;;;GAGG;AACH,qBAAa,0BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEhF;;;OAGG;IACH,OAAO,CAAC,sBAAsB,CAAC,CAG5B;IAEH;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAC,CAAwC;IAEpE;;OAEG;IACH,OAAO,CAAC,yBAAyB,CAAC,CAAqB;IAEvD;;;OAGG;IACH,OAAO,CAAC,uBAAuB,CAAC,CAAM;IAEtC;;OAEG;IACH,OAAO,CAAC,UAAU,CAAU;IAE5B;;OAEG;IACH,OAAO,CAAC,eAAe,CAAC,CAAwC;IAEhE;;OAEG;IACH,OAAO,CAAC,uBAAuB,CAAC,CAAa;IAE7C;;;OAGG;IACH,OAAO,CAAC,mBAAmB,CAAC,CAAgB;IAE5C;;;OAGG;IACH,OAAO,CAAC,qBAAqB,CAA8B;IAG3D,OAAO,CAAC,uBAAuB,CAAuB;IACtD,OAAO,CAAC,iBAAiB,CAAa;gBAE1B,OAAO,EAAE,2BAA2B;IA6B1C,OAAO,CAAC,MAAM,EAAE,wBAAwB;IAmC9C;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAwB9B;;OAEG;YACW,mBAAmB;IAsCjC;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,mBAAmB;
|
|
1
|
+
{"version":3,"file":"server-side.resource-reqrep.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-reqrep.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAInB,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAOvE;;;GAGG;AACH,qBAAa,0BACX,SAAQ,wBACR,YAAW,qBAAqB;IAEhC,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEhF;;;OAGG;IACH,OAAO,CAAC,sBAAsB,CAAC,CAG5B;IAEH;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAC,CAAwC;IAEpE;;OAEG;IACH,OAAO,CAAC,yBAAyB,CAAC,CAAqB;IAEvD;;;OAGG;IACH,OAAO,CAAC,uBAAuB,CAAC,CAAM;IAEtC;;OAEG;IACH,OAAO,CAAC,UAAU,CAAU;IAE5B;;OAEG;IACH,OAAO,CAAC,eAAe,CAAC,CAAwC;IAEhE;;OAEG;IACH,OAAO,CAAC,uBAAuB,CAAC,CAAa;IAE7C;;;OAGG;IACH,OAAO,CAAC,mBAAmB,CAAC,CAAgB;IAE5C;;;OAGG;IACH,OAAO,CAAC,qBAAqB,CAA8B;IAG3D,OAAO,CAAC,uBAAuB,CAAuB;IACtD,OAAO,CAAC,iBAAiB,CAAa;gBAE1B,OAAO,EAAE,2BAA2B;IA6B1C,OAAO,CAAC,MAAM,EAAE,wBAAwB;IAmC9C;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAwB9B;;OAEG;YACW,mBAAmB;IAsCjC;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,mBAAmB;IAsF3B,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM;IA0BtE,OAAO,CAAC,uBAAuB;IAoB/B;;;OAGG;cACa,YAAY,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;IA+BvE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAgB3D,OAAO;IAUb;;;;;;;;;;OAUG;YACW,mBAAmB;IAkCjC;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;IAqB5B,OAAO,CAAC,mBAAmB;CAoB5B"}
|
|
@@ -283,7 +283,6 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
283
283
|
usePolling: usePolling,
|
|
284
284
|
reloadResourceDataFunc: this.reloadResourceData.bind(this),
|
|
285
285
|
errorHandlerFunc: this.handleErrors.bind(this),
|
|
286
|
-
onNoDataAvailableFunc: () => this.$emit(datasourceEventNames.noDataAvailable),
|
|
287
286
|
resourceName: this.resourceName,
|
|
288
287
|
resourceParams: this.datasource.requestOnlyParams,
|
|
289
288
|
resourceIndexes: this.indexes,
|
|
@@ -302,7 +301,6 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
302
301
|
createDataserverStreamFunc: this.createDataserverStream.bind(this),
|
|
303
302
|
reloadResourceDataFunc: this.reloadResourceData.bind(this),
|
|
304
303
|
errorHandlerFunc: this.handleErrors.bind(this),
|
|
305
|
-
onNoDataAvailableFunc: () => this.$emit(datasourceEventNames.noDataAvailable),
|
|
306
304
|
resourceName: this.resourceName,
|
|
307
305
|
resourceParams: this.datasource.dataserverOnlyParams,
|
|
308
306
|
resourceIndexes: this.indexes,
|
|
@@ -26,7 +26,6 @@ export class BaseServerSideDatasource {
|
|
|
26
26
|
this.currentSequenceId = null;
|
|
27
27
|
this.reloadResourceDataFunc = options.reloadResourceDataFunc;
|
|
28
28
|
this.errorHandlerFunc = options.errorHandlerFunc;
|
|
29
|
-
this.onNoDataAvailableFunc = options.onNoDataAvailableFunc;
|
|
30
29
|
this.resourceName = options.resourceName;
|
|
31
30
|
this.resourceParams = options.resourceParams;
|
|
32
31
|
this.originalCriteriaMatch = this.getResourceParam('CRITERIA_MATCH');
|
|
@@ -349,26 +348,6 @@ export class BaseServerSideDatasource {
|
|
|
349
348
|
get isNotFirstViewNumber() {
|
|
350
349
|
return this.zeroBasedViewNumber ? this.currentSequenceId > 0 : this.currentSequenceId > 1;
|
|
351
350
|
}
|
|
352
|
-
/** Completes an SSRM request with zero rows and invokes `onNoDataAvailableFunc` on the first block only. @internal */
|
|
353
|
-
completeEmptyResult(params) {
|
|
354
|
-
this.rowData = new Map();
|
|
355
|
-
const successRowData = { rowData: [], rowCount: 0 };
|
|
356
|
-
params.success(successRowData);
|
|
357
|
-
this.notifyNoDataAvailableIfEmpty(params, successRowData);
|
|
358
|
-
}
|
|
359
|
-
/** Invokes `onNoDataAvailableFunc` when the first SSRM block has no rows. @internal */
|
|
360
|
-
notifyNoDataAvailableIfEmpty(params, successRowData) {
|
|
361
|
-
var _a;
|
|
362
|
-
const rowDataEmpty = !((_a = successRowData.rowData) === null || _a === void 0 ? void 0 : _a.length);
|
|
363
|
-
const atStart = params.request.startRow === 0;
|
|
364
|
-
if (atStart && rowDataEmpty) {
|
|
365
|
-
this.notifyNoDataAvailable();
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
notifyNoDataAvailable() {
|
|
369
|
-
var _a;
|
|
370
|
-
(_a = this.onNoDataAvailableFunc) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
371
|
-
}
|
|
372
351
|
/**
|
|
373
352
|
* Determines the effective paging mode based on criteriaOnlyRequest availability and user settings
|
|
374
353
|
*/
|
|
@@ -98,7 +98,10 @@ export class DataserverServerSideDatasource extends BaseServerSideDatasource {
|
|
|
98
98
|
this.handleCurrentStreamLoad(nextMessage);
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
101
|
-
this.
|
|
101
|
+
this.rowData = new Map();
|
|
102
|
+
const successRowData = { rowData: [] };
|
|
103
|
+
successRowData.rowCount = 0;
|
|
104
|
+
params.success(successRowData);
|
|
102
105
|
return;
|
|
103
106
|
}
|
|
104
107
|
this.currentSequenceId = result.SEQUENCE_ID;
|
|
@@ -114,7 +117,6 @@ export class DataserverServerSideDatasource extends BaseServerSideDatasource {
|
|
|
114
117
|
successRowData.rowCount = this.getCorrectRowCount(params);
|
|
115
118
|
this.lastSuccessRowData = successRowData;
|
|
116
119
|
params.success(successRowData);
|
|
117
|
-
this.notifyNoDataAvailableIfEmpty(params, successRowData);
|
|
118
120
|
}
|
|
119
121
|
/**
|
|
120
122
|
* Dataserver-specific sorting setup that validates columns are part of an index.
|
|
@@ -128,7 +128,7 @@ export class ReqRepServerSideDatasource extends BaseServerSideDatasource {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
applyServerSideData(params, result, isLastView) {
|
|
131
|
-
var _a, _b
|
|
131
|
+
var _a, _b;
|
|
132
132
|
const messageType = result.MESSAGE_TYPE;
|
|
133
133
|
if (messageType &&
|
|
134
134
|
(messageType === MessageType.LOGOFF_ACK || messageType === MessageType.MSG_NACK)) {
|
|
@@ -163,11 +163,14 @@ export class ReqRepServerSideDatasource extends BaseServerSideDatasource {
|
|
|
163
163
|
result.NEXT_OFFSET > this.resourceParams.DETAILS.OFFSET;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
if (
|
|
166
|
+
if (result.REPLY) {
|
|
167
167
|
this.handleCurrentStreamLoad(result.REPLY);
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
170
|
-
this.
|
|
170
|
+
this.rowData = new Map();
|
|
171
|
+
const successRowData = { rowData: [] };
|
|
172
|
+
successRowData.rowCount = 0;
|
|
173
|
+
params.success(successRowData);
|
|
171
174
|
return;
|
|
172
175
|
}
|
|
173
176
|
// Update current sequence ID based on paging mode
|
|
@@ -186,10 +189,10 @@ export class ReqRepServerSideDatasource extends BaseServerSideDatasource {
|
|
|
186
189
|
}
|
|
187
190
|
// Reset serverRowsCount accumulation for req-rep pagination
|
|
188
191
|
if (this.pagination) {
|
|
189
|
-
this.serverRowsCount = (
|
|
192
|
+
this.serverRowsCount = (_a = result.ROWS_COUNT) !== null && _a !== void 0 ? _a : this.rowData.size;
|
|
190
193
|
}
|
|
191
194
|
else {
|
|
192
|
-
this.serverRowsCount += (
|
|
195
|
+
this.serverRowsCount += (_b = result.ROWS_COUNT) !== null && _b !== void 0 ? _b : this.rowData.size;
|
|
193
196
|
}
|
|
194
197
|
const successRowData = {
|
|
195
198
|
rowData: Array.from(this.rowData.values()),
|
|
@@ -197,7 +200,6 @@ export class ReqRepServerSideDatasource extends BaseServerSideDatasource {
|
|
|
197
200
|
successRowData.rowCount = this.getCorrectRowCount(params);
|
|
198
201
|
this.lastSuccessRowData = successRowData;
|
|
199
202
|
params.success(successRowData);
|
|
200
|
-
this.notifyNoDataAvailableIfEmpty(params, successRowData);
|
|
201
203
|
}
|
|
202
204
|
getCorrectRowCount(params) {
|
|
203
205
|
let rowCount;
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -28409,7 +28409,7 @@
|
|
|
28409
28409
|
},
|
|
28410
28410
|
{
|
|
28411
28411
|
"kind": "Content",
|
|
28412
|
-
"text": "<void>;\n errorHandlerFunc?: (message: string, type: string) => void;\n
|
|
28412
|
+
"text": "<void>;\n errorHandlerFunc?: (message: string, type: string) => void;\n resourceName: string;\n resourceParams?: "
|
|
28413
28413
|
},
|
|
28414
28414
|
{
|
|
28415
28415
|
"kind": "Reference",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -6560,8 +6560,6 @@ export declare type ServerSideDatasourceOptions = {
|
|
|
6560
6560
|
resetPreviousPollResultFunc?: () => void;
|
|
6561
6561
|
reloadResourceDataFunc?: (params: any) => Promise<void>;
|
|
6562
6562
|
errorHandlerFunc?: (message: string, type: string) => void;
|
|
6563
|
-
/** Called when a server-side load finishes with zero rows. */
|
|
6564
|
-
onNoDataAvailableFunc?: () => void;
|
|
6565
6563
|
resourceName: string;
|
|
6566
6564
|
resourceParams?: DataserverParams | RequestParams;
|
|
6567
6565
|
resourceIndexes?: Map<string, [string]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.447.1
|
|
4
|
+
"version": "14.447.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@genesislcap/foundation-testing": "14.447.1
|
|
44
|
-
"@genesislcap/genx": "14.447.1
|
|
45
|
-
"@genesislcap/rollup-builder": "14.447.1
|
|
46
|
-
"@genesislcap/ts-builder": "14.447.1
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "14.447.1
|
|
48
|
-
"@genesislcap/vite-builder": "14.447.1
|
|
49
|
-
"@genesislcap/webpack-builder": "14.447.1
|
|
43
|
+
"@genesislcap/foundation-testing": "14.447.1",
|
|
44
|
+
"@genesislcap/genx": "14.447.1",
|
|
45
|
+
"@genesislcap/rollup-builder": "14.447.1",
|
|
46
|
+
"@genesislcap/ts-builder": "14.447.1",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "14.447.1",
|
|
48
|
+
"@genesislcap/vite-builder": "14.447.1",
|
|
49
|
+
"@genesislcap/webpack-builder": "14.447.1"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@genesislcap/foundation-comms": "14.447.1
|
|
53
|
-
"@genesislcap/foundation-criteria": "14.447.1
|
|
54
|
-
"@genesislcap/foundation-logger": "14.447.1
|
|
55
|
-
"@genesislcap/foundation-ui": "14.447.1
|
|
56
|
-
"@genesislcap/foundation-utils": "14.447.1
|
|
52
|
+
"@genesislcap/foundation-comms": "14.447.1",
|
|
53
|
+
"@genesislcap/foundation-criteria": "14.447.1",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.447.1",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.447.1",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.447.1",
|
|
57
57
|
"@microsoft/fast-colors": "5.3.1",
|
|
58
58
|
"@microsoft/fast-components": "2.30.6",
|
|
59
59
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"require": "./dist/react.cjs"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "e265cb98c173fe6e51a94b5f31e653384c4f2d8e"
|
|
95
95
|
}
|