@genesislcap/foundation-entity-management 15.20.2 → 15.21.0
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 +90 -82
- package/dist/dts/entities/entities.d.ts +10 -2
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +1 -0
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +10 -2
- package/dist/esm/list/list.js +3 -0
- package/dist/esm/list/list.template.js +95 -60
- package/dist/foundation-entity-management.api.json +31 -1
- package/dist/foundation-entity-management.d.ts +11 -2
- package/package.json +22 -22
|
@@ -89,41 +89,6 @@
|
|
|
89
89
|
}
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
|
-
{
|
|
93
|
-
"kind": "javascript-module",
|
|
94
|
-
"path": "src/components/components.ts",
|
|
95
|
-
"declarations": [
|
|
96
|
-
{
|
|
97
|
-
"kind": "function",
|
|
98
|
-
"name": "loadRemotes"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"exports": [
|
|
102
|
-
{
|
|
103
|
-
"kind": "js",
|
|
104
|
-
"name": "loadRemotes",
|
|
105
|
-
"declaration": {
|
|
106
|
-
"name": "loadRemotes",
|
|
107
|
-
"module": "src/components/components.ts"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"kind": "javascript-module",
|
|
114
|
-
"path": "src/components/index.ts",
|
|
115
|
-
"declarations": [],
|
|
116
|
-
"exports": [
|
|
117
|
-
{
|
|
118
|
-
"kind": "js",
|
|
119
|
-
"name": "*",
|
|
120
|
-
"declaration": {
|
|
121
|
-
"name": "*",
|
|
122
|
-
"package": "./components"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
92
|
{
|
|
128
93
|
"kind": "javascript-module",
|
|
129
94
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -424,7 +389,7 @@
|
|
|
424
389
|
"text": "DatasourceType"
|
|
425
390
|
},
|
|
426
391
|
"default": "'client'",
|
|
427
|
-
"description": "
|
|
392
|
+
"description": "Controls which datasource and AG Grid row model to use for the grid.\n- 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.\n- 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.\n- 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.",
|
|
428
393
|
"privacy": "public"
|
|
429
394
|
},
|
|
430
395
|
{
|
|
@@ -1090,7 +1055,7 @@
|
|
|
1090
1055
|
"text": "DatasourceType"
|
|
1091
1056
|
},
|
|
1092
1057
|
"default": "'client'",
|
|
1093
|
-
"description": "
|
|
1058
|
+
"description": "Controls which datasource and AG Grid row model to use for the grid.\n- 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.\n- 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.\n- 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.",
|
|
1094
1059
|
"fieldName": "datasourceType"
|
|
1095
1060
|
},
|
|
1096
1061
|
{
|
|
@@ -1679,7 +1644,7 @@
|
|
|
1679
1644
|
"text": "DatasourceType"
|
|
1680
1645
|
},
|
|
1681
1646
|
"default": "'client'",
|
|
1682
|
-
"description": "
|
|
1647
|
+
"description": "Controls which datasource and AG Grid row model to use for the grid.\n- 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.\n- 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.\n- 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.",
|
|
1683
1648
|
"privacy": "public",
|
|
1684
1649
|
"inheritedFrom": {
|
|
1685
1650
|
"name": "EntityManagement",
|
|
@@ -2681,7 +2646,7 @@
|
|
|
2681
2646
|
"text": "DatasourceType"
|
|
2682
2647
|
},
|
|
2683
2648
|
"default": "'client'",
|
|
2684
|
-
"description": "
|
|
2649
|
+
"description": "Controls which datasource and AG Grid row model to use for the grid.\n- 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.\n- 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.\n- 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.",
|
|
2685
2650
|
"fieldName": "datasourceType",
|
|
2686
2651
|
"inheritedFrom": {
|
|
2687
2652
|
"name": "EntityManagement",
|
|
@@ -2980,41 +2945,27 @@
|
|
|
2980
2945
|
},
|
|
2981
2946
|
{
|
|
2982
2947
|
"kind": "javascript-module",
|
|
2983
|
-
"path": "src/
|
|
2948
|
+
"path": "src/components/components.ts",
|
|
2984
2949
|
"declarations": [
|
|
2985
2950
|
{
|
|
2986
|
-
"kind": "
|
|
2987
|
-
"name": "
|
|
2988
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"kind": "variable",
|
|
2992
|
-
"name": "defaultLayout",
|
|
2993
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
2951
|
+
"kind": "function",
|
|
2952
|
+
"name": "loadRemotes"
|
|
2994
2953
|
}
|
|
2995
2954
|
],
|
|
2996
2955
|
"exports": [
|
|
2997
2956
|
{
|
|
2998
2957
|
"kind": "js",
|
|
2999
|
-
"name": "
|
|
3000
|
-
"declaration": {
|
|
3001
|
-
"name": "loginLayout",
|
|
3002
|
-
"module": "src/layouts/default.ts"
|
|
3003
|
-
}
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"kind": "js",
|
|
3007
|
-
"name": "defaultLayout",
|
|
2958
|
+
"name": "loadRemotes",
|
|
3008
2959
|
"declaration": {
|
|
3009
|
-
"name": "
|
|
3010
|
-
"module": "src/
|
|
2960
|
+
"name": "loadRemotes",
|
|
2961
|
+
"module": "src/components/components.ts"
|
|
3011
2962
|
}
|
|
3012
2963
|
}
|
|
3013
2964
|
]
|
|
3014
2965
|
},
|
|
3015
2966
|
{
|
|
3016
2967
|
"kind": "javascript-module",
|
|
3017
|
-
"path": "src/
|
|
2968
|
+
"path": "src/components/index.ts",
|
|
3018
2969
|
"declarations": [],
|
|
3019
2970
|
"exports": [
|
|
3020
2971
|
{
|
|
@@ -3022,7 +2973,7 @@
|
|
|
3022
2973
|
"name": "*",
|
|
3023
2974
|
"declaration": {
|
|
3024
2975
|
"name": "*",
|
|
3025
|
-
"package": "./
|
|
2976
|
+
"package": "./components"
|
|
3026
2977
|
}
|
|
3027
2978
|
}
|
|
3028
2979
|
]
|
|
@@ -3346,6 +3297,14 @@
|
|
|
3346
3297
|
},
|
|
3347
3298
|
"readonly": true
|
|
3348
3299
|
},
|
|
3300
|
+
{
|
|
3301
|
+
"kind": "field",
|
|
3302
|
+
"name": "isInfiniteDatasource",
|
|
3303
|
+
"type": {
|
|
3304
|
+
"text": "boolean"
|
|
3305
|
+
},
|
|
3306
|
+
"readonly": true
|
|
3307
|
+
},
|
|
3349
3308
|
{
|
|
3350
3309
|
"kind": "method",
|
|
3351
3310
|
"name": "handleCellEditRequest",
|
|
@@ -3800,27 +3759,6 @@
|
|
|
3800
3759
|
}
|
|
3801
3760
|
]
|
|
3802
3761
|
},
|
|
3803
|
-
{
|
|
3804
|
-
"kind": "javascript-module",
|
|
3805
|
-
"path": "src/routes/config.ts",
|
|
3806
|
-
"declarations": [],
|
|
3807
|
-
"exports": []
|
|
3808
|
-
},
|
|
3809
|
-
{
|
|
3810
|
-
"kind": "javascript-module",
|
|
3811
|
-
"path": "src/routes/index.ts",
|
|
3812
|
-
"declarations": [],
|
|
3813
|
-
"exports": [
|
|
3814
|
-
{
|
|
3815
|
-
"kind": "js",
|
|
3816
|
-
"name": "*",
|
|
3817
|
-
"declaration": {
|
|
3818
|
-
"name": "*",
|
|
3819
|
-
"package": "./config"
|
|
3820
|
-
}
|
|
3821
|
-
}
|
|
3822
|
-
]
|
|
3823
|
-
},
|
|
3824
3762
|
{
|
|
3825
3763
|
"kind": "javascript-module",
|
|
3826
3764
|
"path": "src/main/index.ts",
|
|
@@ -3965,6 +3903,76 @@
|
|
|
3965
3903
|
}
|
|
3966
3904
|
]
|
|
3967
3905
|
},
|
|
3906
|
+
{
|
|
3907
|
+
"kind": "javascript-module",
|
|
3908
|
+
"path": "src/routes/config.ts",
|
|
3909
|
+
"declarations": [],
|
|
3910
|
+
"exports": []
|
|
3911
|
+
},
|
|
3912
|
+
{
|
|
3913
|
+
"kind": "javascript-module",
|
|
3914
|
+
"path": "src/routes/index.ts",
|
|
3915
|
+
"declarations": [],
|
|
3916
|
+
"exports": [
|
|
3917
|
+
{
|
|
3918
|
+
"kind": "js",
|
|
3919
|
+
"name": "*",
|
|
3920
|
+
"declaration": {
|
|
3921
|
+
"name": "*",
|
|
3922
|
+
"package": "./config"
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
3925
|
+
]
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "javascript-module",
|
|
3929
|
+
"path": "src/layouts/default.ts",
|
|
3930
|
+
"declarations": [
|
|
3931
|
+
{
|
|
3932
|
+
"kind": "variable",
|
|
3933
|
+
"name": "loginLayout",
|
|
3934
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
3935
|
+
},
|
|
3936
|
+
{
|
|
3937
|
+
"kind": "variable",
|
|
3938
|
+
"name": "defaultLayout",
|
|
3939
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
3940
|
+
}
|
|
3941
|
+
],
|
|
3942
|
+
"exports": [
|
|
3943
|
+
{
|
|
3944
|
+
"kind": "js",
|
|
3945
|
+
"name": "loginLayout",
|
|
3946
|
+
"declaration": {
|
|
3947
|
+
"name": "loginLayout",
|
|
3948
|
+
"module": "src/layouts/default.ts"
|
|
3949
|
+
}
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
"kind": "js",
|
|
3953
|
+
"name": "defaultLayout",
|
|
3954
|
+
"declaration": {
|
|
3955
|
+
"name": "defaultLayout",
|
|
3956
|
+
"module": "src/layouts/default.ts"
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
]
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
"kind": "javascript-module",
|
|
3963
|
+
"path": "src/layouts/index.ts",
|
|
3964
|
+
"declarations": [],
|
|
3965
|
+
"exports": [
|
|
3966
|
+
{
|
|
3967
|
+
"kind": "js",
|
|
3968
|
+
"name": "*",
|
|
3969
|
+
"declaration": {
|
|
3970
|
+
"name": "*",
|
|
3971
|
+
"package": "./default"
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
]
|
|
3975
|
+
},
|
|
3968
3976
|
{
|
|
3969
3977
|
"kind": "javascript-module",
|
|
3970
3978
|
"path": "src/utils/custom-actions-utils.ts",
|
|
@@ -654,8 +654,16 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
654
654
|
*/
|
|
655
655
|
enableRowFlashing: boolean;
|
|
656
656
|
/**
|
|
657
|
-
*
|
|
658
|
-
*
|
|
657
|
+
* Controls which datasource and AG Grid row model to use for the grid.
|
|
658
|
+
* - 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.
|
|
659
|
+
* - 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.
|
|
660
|
+
* - 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.
|
|
661
|
+
* @remarks 'infinite' requires the design system to register the beta grid (`GridProBeta`);
|
|
662
|
+
* the legacy `GridPro` does not register the Infinite Row Model and reports an error if an
|
|
663
|
+
* infinite datasource is placed inside it. With 'infinite', DATASERVER resources are live via
|
|
664
|
+
* the paging subscription, while REQUEST_SERVER resources are read on demand only (no
|
|
665
|
+
* polling) - a write committed through this entity manager's own CRUD events re-reads the
|
|
666
|
+
* grid immediately, but other server-side changes appear when the grid re-reads.
|
|
659
667
|
* @public
|
|
660
668
|
*/
|
|
661
669
|
datasourceType: DatasourceType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,OAAO,EACP,iBAAiB,EAGjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAa,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,eAAe,EAEf,KAAK,EACL,cAAc,EACf,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAChG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;A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,eAAe;CAkCtB"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -444,6 +444,7 @@ export declare class List extends List_base {
|
|
|
444
444
|
customActions: CustomAction[];
|
|
445
445
|
protected connect: Connect;
|
|
446
446
|
get isServerSideDatasource(): boolean;
|
|
447
|
+
get isInfiniteDatasource(): boolean;
|
|
447
448
|
connectedCallback(): void;
|
|
448
449
|
handleCellEditRequest(event: CustomEvent<CellEditRequestEvent>): Promise<void>;
|
|
449
450
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAU,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAIL,cAAc,EAIf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,KAAK,EACV,YAAY,EAEZ,UAAU,EAGX,MAAM,UAAU,CAAC;;;;;;;;kBAuDY,CAAC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAU,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,wBA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B,CAAC,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC;IAqDpE;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAmC7B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,IACI,QAAQ,WAEX;IAED,IACI,MAAM,WAET;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,OAAO,WAEV;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,eAAe,WAElB;IAED,IACI,iBAAiB,aAEpB;IAED,IACI,OAAO,QAEV;IAED,IACI,OAAO,YAEV;IAED,IACI,UAAU,WAEb;IAED,IACI,cAAc,YAEjB;IAED,IACI,gBAAgB,YAEnB;IAED,gBAAgB,CAAC,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,GAAG,IAAI;IAIvD,mBAAmB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAIhE,oBAAoB,CAAC,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,GAAG,IAAI;IAIhE,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,iBAAiB,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC;IAIlD,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAI5D,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;IAId,OAAO,CAAC,kBAAkB,CAGxB;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA8FnC,eAAO,MAAM,eAAe,GAAI,WAAM,8DA4DrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
|
|
@@ -139,8 +139,16 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
|
|
|
139
139
|
*/
|
|
140
140
|
this.enableRowFlashing = false;
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
143
|
-
*
|
|
142
|
+
* Controls which datasource and AG Grid row model to use for the grid.
|
|
143
|
+
* - 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.
|
|
144
|
+
* - 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.
|
|
145
|
+
* - 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.
|
|
146
|
+
* @remarks 'infinite' requires the design system to register the beta grid (`GridProBeta`);
|
|
147
|
+
* the legacy `GridPro` does not register the Infinite Row Model and reports an error if an
|
|
148
|
+
* infinite datasource is placed inside it. With 'infinite', DATASERVER resources are live via
|
|
149
|
+
* the paging subscription, while REQUEST_SERVER resources are read on demand only (no
|
|
150
|
+
* polling) - a write committed through this entity manager's own CRUD events re-reads the
|
|
151
|
+
* grid immediately, but other server-side changes appear when the grid re-reads.
|
|
144
152
|
* @public
|
|
145
153
|
*/
|
|
146
154
|
this.datasourceType = 'client';
|
package/dist/esm/list/list.js
CHANGED
|
@@ -54,6 +54,9 @@ let List = class List extends LifecycleMixin(GenesisElement) {
|
|
|
54
54
|
get isServerSideDatasource() {
|
|
55
55
|
return this.datasourceType === 'server';
|
|
56
56
|
}
|
|
57
|
+
get isInfiniteDatasource() {
|
|
58
|
+
return this.datasourceType === 'infinite';
|
|
59
|
+
}
|
|
57
60
|
connectedCallback() {
|
|
58
61
|
// Populate before super.connectedCallback() so the template's repeat binding renders
|
|
59
62
|
// action grid-pro-column elements in the first pass. This guarantees they are in the DOM
|
|
@@ -1,66 +1,101 @@
|
|
|
1
1
|
import { customEvent } from '@genesislcap/foundation-events';
|
|
2
2
|
import { html, ref, repeat, when } from '@genesislcap/web-core';
|
|
3
3
|
/** @internal */
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
4
|
+
const serverSideDatasource = html `
|
|
5
|
+
<grid-pro-server-side-datasource
|
|
6
|
+
${ref('datasource')}
|
|
7
|
+
:deferredGridOptions=${(x) => x.gridOptions}
|
|
8
|
+
criteria=${(x) => x.criteria}
|
|
9
|
+
fields=${(x) => x.fields}
|
|
10
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
11
|
+
max-rows=${(x) => x.maxRows}
|
|
12
|
+
max-view=${(x) => x.maxView}
|
|
13
|
+
moving-view=${(x) => x.movingView}
|
|
14
|
+
order-by=${(x) => x.orderBy}
|
|
15
|
+
request-auto-setup=${(x) => x.requestAutoSetup}
|
|
16
|
+
polling-interval=${(x) => x.pollingInterval}
|
|
17
|
+
:pollTriggerEvents=${(x) => {
|
|
18
|
+
var _a;
|
|
19
|
+
return [
|
|
20
|
+
...((_a = x.pollTriggerEvents) !== null && _a !== void 0 ? _a : []),
|
|
21
|
+
x.updateEvent,
|
|
22
|
+
x.deleteEvent,
|
|
23
|
+
x.createEvent,
|
|
24
|
+
];
|
|
25
|
+
}}
|
|
26
|
+
resource-name=${(x) => x.resourceName}
|
|
27
|
+
:request=${(x) => x.request}
|
|
28
|
+
reverse=${(x) => x.reverse}
|
|
29
|
+
view-number=${(x) => x.viewNumber}
|
|
30
|
+
disable-polling=${(x) => x.disablePolling}
|
|
31
|
+
></grid-pro-server-side-datasource>
|
|
32
|
+
`;
|
|
33
|
+
/** @internal */
|
|
34
|
+
const infiniteDatasource = html `
|
|
35
|
+
<grid-pro-infinite-datasource
|
|
36
|
+
${ref('datasource')}
|
|
37
|
+
criteria=${(x) => x.criteria}
|
|
38
|
+
fields=${(x) => x.fields}
|
|
39
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
40
|
+
max-rows=${(x) => x.maxRows}
|
|
41
|
+
max-view=${(x) => x.maxView}
|
|
42
|
+
moving-view=${(x) => x.movingView}
|
|
43
|
+
order-by=${(x) => x.orderBy}
|
|
44
|
+
request-auto-setup=${(x) => x.requestAutoSetup}
|
|
45
|
+
:pollTriggerEvents=${(x) => {
|
|
46
|
+
var _a;
|
|
47
|
+
return [
|
|
48
|
+
...((_a = x.pollTriggerEvents) !== null && _a !== void 0 ? _a : []),
|
|
49
|
+
x.updateEvent,
|
|
50
|
+
x.deleteEvent,
|
|
51
|
+
x.createEvent,
|
|
52
|
+
];
|
|
53
|
+
}}
|
|
54
|
+
resource-name=${(x) => x.resourceName}
|
|
55
|
+
:request=${(x) => x.request}
|
|
56
|
+
reverse=${(x) => x.reverse}
|
|
57
|
+
view-number=${(x) => x.viewNumber}
|
|
58
|
+
></grid-pro-infinite-datasource>
|
|
59
|
+
`;
|
|
60
|
+
/** @internal */
|
|
61
|
+
const clientSideDatasource = html `
|
|
62
|
+
<grid-pro-client-side-datasource
|
|
63
|
+
${ref('datasource')}
|
|
64
|
+
:deferredGridOptions=${(x) => x.gridOptions}
|
|
65
|
+
criteria=${(x) => x.criteria}
|
|
66
|
+
fields=${(x) => x.fields}
|
|
67
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
68
|
+
max-rows=${(x) => x.maxRows}
|
|
69
|
+
max-view=${(x) => x.maxView}
|
|
70
|
+
moving-view=${(x) => x.movingView}
|
|
71
|
+
order-by=${(x) => x.orderBy}
|
|
72
|
+
polling-interval=${(x) => x.pollingInterval}
|
|
73
|
+
:pollTriggerEvents=${(x) => {
|
|
74
|
+
var _a;
|
|
75
|
+
return [
|
|
76
|
+
...((_a = x.pollTriggerEvents) !== null && _a !== void 0 ? _a : []),
|
|
77
|
+
x.updateEvent,
|
|
78
|
+
x.deleteEvent,
|
|
79
|
+
x.createEvent,
|
|
80
|
+
];
|
|
81
|
+
}}
|
|
82
|
+
request-auto-setup=${(x) => x.requestAutoSetup}
|
|
83
|
+
resource-name=${(x) => x.resourceName}
|
|
84
|
+
:request=${(x) => x.request}
|
|
85
|
+
reverse=${(x) => x.reverse}
|
|
86
|
+
view-number=${(x) => x.viewNumber}
|
|
87
|
+
disable-polling=${(x) => x.disablePolling}
|
|
88
|
+
></grid-pro-client-side-datasource>
|
|
89
|
+
`;
|
|
90
|
+
/** @internal */
|
|
91
|
+
const datasource = (x) => {
|
|
92
|
+
if (x.isServerSideDatasource) {
|
|
93
|
+
return serverSideDatasource;
|
|
94
|
+
}
|
|
95
|
+
if (x.isInfiniteDatasource) {
|
|
96
|
+
return infiniteDatasource;
|
|
97
|
+
}
|
|
98
|
+
return clientSideDatasource;
|
|
64
99
|
};
|
|
65
100
|
export const getPrefixedList = (prefix) => html `
|
|
66
101
|
<div class="container">
|
|
@@ -1748,7 +1748,7 @@
|
|
|
1748
1748
|
{
|
|
1749
1749
|
"kind": "Property",
|
|
1750
1750
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#datasourceType:member",
|
|
1751
|
-
"docComment": "/**\n *
|
|
1751
|
+
"docComment": "/**\n * Controls which datasource and AG Grid row model to use for the grid. - 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory. - 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support. - 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.\n *\n * @remarks\n *\n * 'infinite' requires the design system to register the beta grid (`GridProBeta`); the legacy `GridPro` does not register the Infinite Row Model and reports an error if an infinite datasource is placed inside it. With 'infinite', DATASERVER resources are live via the paging subscription, while REQUEST_SERVER resources are read on demand only (no polling) - a write committed through this entity manager's own CRUD events re-reads the grid immediately, but other server-side changes appear when the grid re-reads.\n *\n * @public\n */\n",
|
|
1752
1752
|
"excerptTokens": [
|
|
1753
1753
|
{
|
|
1754
1754
|
"kind": "Content",
|
|
@@ -4457,6 +4457,36 @@
|
|
|
4457
4457
|
"isProtected": false,
|
|
4458
4458
|
"isAbstract": false
|
|
4459
4459
|
},
|
|
4460
|
+
{
|
|
4461
|
+
"kind": "Property",
|
|
4462
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!List#isInfiniteDatasource:member",
|
|
4463
|
+
"docComment": "",
|
|
4464
|
+
"excerptTokens": [
|
|
4465
|
+
{
|
|
4466
|
+
"kind": "Content",
|
|
4467
|
+
"text": "get isInfiniteDatasource(): "
|
|
4468
|
+
},
|
|
4469
|
+
{
|
|
4470
|
+
"kind": "Content",
|
|
4471
|
+
"text": "boolean"
|
|
4472
|
+
},
|
|
4473
|
+
{
|
|
4474
|
+
"kind": "Content",
|
|
4475
|
+
"text": ";"
|
|
4476
|
+
}
|
|
4477
|
+
],
|
|
4478
|
+
"isReadonly": true,
|
|
4479
|
+
"isOptional": false,
|
|
4480
|
+
"releaseTag": "Public",
|
|
4481
|
+
"name": "isInfiniteDatasource",
|
|
4482
|
+
"propertyTypeTokenRange": {
|
|
4483
|
+
"startIndex": 1,
|
|
4484
|
+
"endIndex": 2
|
|
4485
|
+
},
|
|
4486
|
+
"isStatic": false,
|
|
4487
|
+
"isProtected": false,
|
|
4488
|
+
"isAbstract": false
|
|
4489
|
+
},
|
|
4460
4490
|
{
|
|
4461
4491
|
"kind": "Property",
|
|
4462
4492
|
"canonicalReference": "@genesislcap/foundation-entity-management!List#isServerSideDatasource:member",
|
|
@@ -412,8 +412,16 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
412
412
|
*/
|
|
413
413
|
enableRowFlashing: boolean;
|
|
414
414
|
/**
|
|
415
|
-
*
|
|
416
|
-
*
|
|
415
|
+
* Controls which datasource and AG Grid row model to use for the grid.
|
|
416
|
+
* - 'client' (default): Uses `grid-pro-client-side-datasource` with Client-Side Row Model. Loads all data into browser memory.
|
|
417
|
+
* - 'server': Uses `grid-pro-server-side-datasource` with Server-Side Row Model (Enterprise). Lazy loads with grouping/aggregation support.
|
|
418
|
+
* - 'infinite': Uses `grid-pro-infinite-datasource` with Infinite Row Model (Community). Lazy loads data as user scrolls without Enterprise features.
|
|
419
|
+
* @remarks 'infinite' requires the design system to register the beta grid (`GridProBeta`);
|
|
420
|
+
* the legacy `GridPro` does not register the Infinite Row Model and reports an error if an
|
|
421
|
+
* infinite datasource is placed inside it. With 'infinite', DATASERVER resources are live via
|
|
422
|
+
* the paging subscription, while REQUEST_SERVER resources are read on demand only (no
|
|
423
|
+
* polling) - a write committed through this entity manager's own CRUD events re-reads the
|
|
424
|
+
* grid immediately, but other server-side changes appear when the grid re-reads.
|
|
417
425
|
* @public
|
|
418
426
|
*/
|
|
419
427
|
datasourceType: DatasourceType;
|
|
@@ -1451,6 +1459,7 @@ export declare class List extends List_base {
|
|
|
1451
1459
|
customActions: CustomAction[];
|
|
1452
1460
|
protected connect: Connect;
|
|
1453
1461
|
get isServerSideDatasource(): boolean;
|
|
1462
|
+
get isInfiniteDatasource(): boolean;
|
|
1454
1463
|
connectedCallback(): void;
|
|
1455
1464
|
handleCellEditRequest(event: CustomEvent<CellEditRequestEvent>): Promise<void>;
|
|
1456
1465
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.21.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -54,33 +54,33 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@genesislcap/foundation-testing": "15.
|
|
58
|
-
"@genesislcap/genx": "15.
|
|
59
|
-
"@genesislcap/rollup-builder": "15.
|
|
60
|
-
"@genesislcap/ts-builder": "15.
|
|
61
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
62
|
-
"@genesislcap/vite-builder": "15.
|
|
63
|
-
"@genesislcap/webpack-builder": "15.
|
|
57
|
+
"@genesislcap/foundation-testing": "15.21.0",
|
|
58
|
+
"@genesislcap/genx": "15.21.0",
|
|
59
|
+
"@genesislcap/rollup-builder": "15.21.0",
|
|
60
|
+
"@genesislcap/ts-builder": "15.21.0",
|
|
61
|
+
"@genesislcap/uvu-playwright-builder": "15.21.0",
|
|
62
|
+
"@genesislcap/vite-builder": "15.21.0",
|
|
63
|
+
"@genesislcap/webpack-builder": "15.21.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@ag-grid-community/core": "29.2.0",
|
|
67
67
|
"ag-grid-community": "36.0.0"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@genesislcap/foundation-ai": "15.
|
|
71
|
-
"@genesislcap/foundation-auth": "15.
|
|
72
|
-
"@genesislcap/foundation-comms": "15.
|
|
73
|
-
"@genesislcap/foundation-errors": "15.
|
|
74
|
-
"@genesislcap/foundation-events": "15.
|
|
75
|
-
"@genesislcap/foundation-forms": "15.
|
|
76
|
-
"@genesislcap/foundation-logger": "15.
|
|
77
|
-
"@genesislcap/foundation-notifications": "15.
|
|
78
|
-
"@genesislcap/foundation-ui": "15.
|
|
79
|
-
"@genesislcap/foundation-utils": "15.
|
|
80
|
-
"@genesislcap/foundation-zero": "15.
|
|
81
|
-
"@genesislcap/foundation-zero-grid-pro": "15.
|
|
82
|
-
"@genesislcap/grid-pro": "15.
|
|
83
|
-
"@genesislcap/web-core": "15.
|
|
70
|
+
"@genesislcap/foundation-ai": "15.21.0",
|
|
71
|
+
"@genesislcap/foundation-auth": "15.21.0",
|
|
72
|
+
"@genesislcap/foundation-comms": "15.21.0",
|
|
73
|
+
"@genesislcap/foundation-errors": "15.21.0",
|
|
74
|
+
"@genesislcap/foundation-events": "15.21.0",
|
|
75
|
+
"@genesislcap/foundation-forms": "15.21.0",
|
|
76
|
+
"@genesislcap/foundation-logger": "15.21.0",
|
|
77
|
+
"@genesislcap/foundation-notifications": "15.21.0",
|
|
78
|
+
"@genesislcap/foundation-ui": "15.21.0",
|
|
79
|
+
"@genesislcap/foundation-utils": "15.21.0",
|
|
80
|
+
"@genesislcap/foundation-zero": "15.21.0",
|
|
81
|
+
"@genesislcap/foundation-zero-grid-pro": "15.21.0",
|
|
82
|
+
"@genesislcap/grid-pro": "15.21.0",
|
|
83
|
+
"@genesislcap/web-core": "15.21.0",
|
|
84
84
|
"change-case": "^4.1.2"
|
|
85
85
|
},
|
|
86
86
|
"repository": {
|