@acorex/platform 20.7.17 → 20.7.20
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/fesm2022/acorex-platform-common.mjs +5 -4
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +10 -10
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +15 -2
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +3 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BQODc73e.mjs → acorex-platform-themes-default-entity-master-list-view.component-DDd7YryZ.mjs} +41 -2
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BQODc73e.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-DDd7YryZ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +54 -6
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/layout/widget-core/index.d.ts +7 -0
- package/package.json +5 -5
- package/themes/default/index.d.ts +9 -0
|
@@ -851,6 +851,13 @@ declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponen
|
|
|
851
851
|
get renderCellTemplate(): TemplateRef<unknown>;
|
|
852
852
|
headerTemplate: TemplateRef<unknown>;
|
|
853
853
|
private _contentHeaderTemplate;
|
|
854
|
+
/**
|
|
855
|
+
* True when the row should show the expand icon: either hasChild is true (from server/initial load)
|
|
856
|
+
* or the row has loaded children (e.g. after refreshItemChildren when children go from 0 to 1).
|
|
857
|
+
*/
|
|
858
|
+
protected hasExpandableRow(row: {
|
|
859
|
+
data?: Record<string, unknown>;
|
|
860
|
+
}): boolean;
|
|
854
861
|
protected handleExpandRow(row: any): Promise<void>;
|
|
855
862
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
|
856
863
|
get loadingEnabled(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "20.7.
|
|
3
|
+
"version": "20.7.20",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
6
6
|
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0",
|
|
@@ -27,10 +27,6 @@
|
|
|
27
27
|
"types": "./index.d.ts",
|
|
28
28
|
"default": "./fesm2022/acorex-platform.mjs"
|
|
29
29
|
},
|
|
30
|
-
"./auth": {
|
|
31
|
-
"types": "./auth/index.d.ts",
|
|
32
|
-
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
33
|
-
},
|
|
34
30
|
"./common": {
|
|
35
31
|
"types": "./common/index.d.ts",
|
|
36
32
|
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
@@ -39,6 +35,10 @@
|
|
|
39
35
|
"types": "./core/index.d.ts",
|
|
40
36
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
41
37
|
},
|
|
38
|
+
"./auth": {
|
|
39
|
+
"types": "./auth/index.d.ts",
|
|
40
|
+
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
41
|
+
},
|
|
42
42
|
"./domain": {
|
|
43
43
|
"types": "./domain/index.d.ts",
|
|
44
44
|
"default": "./fesm2022/acorex-platform-domain.mjs"
|
|
@@ -208,6 +208,15 @@ declare class AXPRootLayoutMenuComponent {
|
|
|
208
208
|
* 3. It has a command (for non-router navigation)
|
|
209
209
|
*/
|
|
210
210
|
protected shouldRenderMenuItem(item: AXPMenuItem): boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Checks if an item takes up visual space in the menu (group title or rendered menu item).
|
|
213
|
+
*/
|
|
214
|
+
protected isItemRendered(item: AXPMenuItem): boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Determines if a divider should be shown. A divider is only shown when there is
|
|
217
|
+
* visible content on both sides; if before or after is blank, the divider is hidden.
|
|
218
|
+
*/
|
|
219
|
+
protected shouldShowDivider(item: AXPMenuItem, items: AXPMenuItem[], index: number): boolean;
|
|
211
220
|
/**
|
|
212
221
|
* Builds a UrlTree that can be consumed by the routerLink directive when the menu item targets
|
|
213
222
|
* an internal route. When the item does not represent an internal route, null is returned so the
|