@acorex/platform 20.7.19 → 20.7.21
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/common/index.d.ts +2 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-gyb6ohAE.mjs → acorex-platform-common-common-settings.provider-Bfnt99-8.mjs} +15 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-Bfnt99-8.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +3 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +16 -8
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +263 -74
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +14 -66
- package/fesm2022/acorex-platform-layout-views.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-DDd7YryZ.mjs → acorex-platform-themes-default-entity-master-list-view.component-3djSN0h5.mjs} +1 -2
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-3djSN0h5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2 -2
- package/layout/entity/index.d.ts +23 -1
- package/layout/views/index.d.ts +5 -1
- package/package.json +1 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-gyb6ohAE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DDd7YryZ.mjs.map +0 -1
|
@@ -701,16 +701,24 @@ class LayoutContainerMixin extends BaseContainerMixin {
|
|
|
701
701
|
this.containerState.options.colSpan = value;
|
|
702
702
|
}
|
|
703
703
|
else if (value) {
|
|
704
|
-
// Try to extract
|
|
704
|
+
// Try to extract grid positioning from breakpoint positions
|
|
705
705
|
const positions = value.positions;
|
|
706
706
|
if (positions) {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
707
|
+
// Resolve the best breakpoint (prefer lg, then fallback to others)
|
|
708
|
+
const bp = positions?.lg ?? positions?.xl ?? positions?.xxl ?? positions?.md ?? positions?.sm;
|
|
709
|
+
if (bp) {
|
|
710
|
+
if (bp.colSpan != null)
|
|
711
|
+
this.containerState.options.colSpan = bp.colSpan;
|
|
712
|
+
if (bp.colStart != null)
|
|
713
|
+
this.containerState.options.colStart = bp.colStart;
|
|
714
|
+
if (bp.colEnd != null)
|
|
715
|
+
this.containerState.options.colEnd = bp.colEnd;
|
|
716
|
+
if (bp.rowSpan != null)
|
|
717
|
+
this.containerState.options.rowSpan = bp.rowSpan;
|
|
718
|
+
if (bp.rowStart != null)
|
|
719
|
+
this.containerState.options.rowStart = bp.rowStart;
|
|
720
|
+
if (bp.rowEnd != null)
|
|
721
|
+
this.containerState.options.rowEnd = bp.rowEnd;
|
|
714
722
|
}
|
|
715
723
|
}
|
|
716
724
|
}
|