@acorex-platform/framework-shared 2.0.0-next.35 → 2.0.0-next.37
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AXPEntityAction } from './entity-action.types';
|
|
2
2
|
import type { AXPEntityPropertyView, AXPEntitySectionView } from './entity-property.types';
|
|
3
|
-
import type { AXPopupSizeType } from '@acorex-platform/framework-shared/core';
|
|
3
|
+
import type { AXPExpression, AXPopupSizeType } from '@acorex-platform/framework-shared/core';
|
|
4
4
|
export interface AXPEntityMasterLayoutView {
|
|
5
5
|
title?: string;
|
|
6
6
|
sections: AXPEntitySectionView[];
|
|
@@ -26,9 +26,17 @@ export interface AXPEntityMasterCreateLayoutView extends AXPEntityMasterLayoutVi
|
|
|
26
26
|
}
|
|
27
27
|
export interface AXPEntityMasterUpdateLayoutView extends AXPEntityMasterLayoutView {
|
|
28
28
|
}
|
|
29
|
+
/** Locks the details page (no save / discard footer) for records that match `when`. */
|
|
30
|
+
export interface AXPEntityMasterSingleReadonly {
|
|
31
|
+
/** `true`, or an expression evaluated against the open record (e.g. `{{ context.eval('statusId') == 'done' }}`). */
|
|
32
|
+
when: boolean | AXPExpression;
|
|
33
|
+
/** `view` renders display widgets; `edit` keeps the editors with every field readonly. Default: `view`. */
|
|
34
|
+
mode?: 'view' | 'edit';
|
|
35
|
+
}
|
|
29
36
|
export interface AXPEntityMasterSingleLayoutView extends AXPEntityMasterLayoutView {
|
|
30
37
|
title: string;
|
|
31
38
|
description?: string;
|
|
32
39
|
actions?: AXPEntityAction[];
|
|
40
|
+
readonly?: AXPEntityMasterSingleReadonly;
|
|
33
41
|
}
|
|
34
42
|
//# sourceMappingURL=entity-layout-view.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-layout-view.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-layout-view.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAEV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"entity-layout-view.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-layout-view.types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAEV,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE7F,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACtC;AAED,qFAAqF;AACrF,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,eAAe,CAAC;KACxB,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;IAChF,KAAK,CAAC,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,0EAA0E;IAC1E,WAAW,CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;CAAG;AAErF,uFAAuF;AACvF,MAAM,WAAW,6BAA6B;IAC5C,oHAAoH;IACpH,IAAI,EAAE,OAAO,GAAG,aAAa,CAAC;IAC9B,2GAA2G;IAC3G,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,+BAAgC,SAAQ,yBAAyB;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,6BAA6B,CAAC;CAC1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-layout-view.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-layout-view.types.ts"],"names":[],"mappings":";AAAA,uCAAuC;;
|
|
1
|
+
{"version":3,"file":"entity-layout-view.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-layout-view.types.ts"],"names":[],"mappings":";AAAA,uCAAuC;;AAqDvC,YAAY"}
|