xmlui 0.9.15 → 0.9.17
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/{apiInterceptorWorker-DHw39GG3.mjs → apiInterceptorWorker-D94b73xQ.mjs} +1 -1
- package/dist/{index-DFC3vDn-.mjs → index-B6kr6jsm.mjs} +120 -63
- package/dist/index.css +98 -45
- package/dist/scripts/src/components/App/AppLayoutContext.js +1 -0
- package/dist/scripts/src/components/App/AppNative.js +4 -0
- package/dist/scripts/src/components/Select/Select.js +5 -2
- package/dist/scripts/src/components/Select/SelectNative.js +3 -3
- package/dist/scripts/src/components-core/InspectorContext.js +4 -2
- package/dist/scripts/src/components-core/loader/ApiLoader.js +2 -2
- package/dist/scripts/src/components-core/loader/DataLoader.js +5 -4
- package/dist/scripts/src/components-core/loader/ExternalDataLoader.js +2 -2
- package/dist/scripts/src/components-core/loader/Loader.js +3 -8
- package/dist/scripts/src/components-core/loader/MockLoaderRenderer.js +3 -3
- package/dist/scripts/src/components-core/loader/PageableLoader.js +3 -7
- package/dist/scripts/src/components-core/rendering/renderChild.js +2 -1
- package/dist/scripts/src/components-core/theming/layout-resolver.js +4 -4
- package/dist/scripts/src/components-core/utils/extractParam.js +7 -0
- package/dist/style.css +98 -45
- package/dist/xmlui-metadata.mjs +16 -9
- package/dist/xmlui-metadata.umd.js +16 -9
- package/dist/xmlui-standalone.umd.js +220 -110
- package/dist/xmlui.d.ts +1 -0
- package/dist/xmlui.mjs +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ function resolveLayoutProps(layoutProps = constants_1.EMPTY_OBJECT, layoutContex
|
|
|
25
25
|
}
|
|
26
26
|
// --- Dimensions
|
|
27
27
|
collectCss("width");
|
|
28
|
-
const horizontalStarSize =
|
|
28
|
+
const horizontalStarSize = getHorizontalStarSize(result.cssProps.width, layoutContext);
|
|
29
29
|
if (horizontalStarSize !== null) {
|
|
30
30
|
// --- We use "flex" when width is in start-size and allow shrinking
|
|
31
31
|
result.cssProps.flex = horizontalStarSize;
|
|
@@ -34,7 +34,7 @@ function resolveLayoutProps(layoutProps = constants_1.EMPTY_OBJECT, layoutContex
|
|
|
34
34
|
collectCss("minWidth");
|
|
35
35
|
collectCss("maxWidth");
|
|
36
36
|
collectCss("height");
|
|
37
|
-
const verticalStarSize =
|
|
37
|
+
const verticalStarSize = getVerticalStarSize(result.cssProps.height, layoutContext);
|
|
38
38
|
if (verticalStarSize !== null) {
|
|
39
39
|
// --- We use "flex" when width is in start-size and allow shrinking
|
|
40
40
|
result.cssProps.flex = verticalStarSize;
|
|
@@ -236,7 +236,7 @@ function resolveLayoutProps(layoutProps = constants_1.EMPTY_OBJECT, layoutContex
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
// --- Checks if the specified size is a star size and the orientation is horizontal
|
|
239
|
-
function
|
|
239
|
+
function getHorizontalStarSize(size, layoutContext) {
|
|
240
240
|
if (!size)
|
|
241
241
|
return null;
|
|
242
242
|
const orientation = getOrientation(layoutContext);
|
|
@@ -245,7 +245,7 @@ function resolveLayoutProps(layoutProps = constants_1.EMPTY_OBJECT, layoutContex
|
|
|
245
245
|
: null;
|
|
246
246
|
}
|
|
247
247
|
// --- Checks if the specified size is a star size and the orientation is vertical
|
|
248
|
-
function
|
|
248
|
+
function getVerticalStarSize(size, layoutContext) {
|
|
249
249
|
if (!size)
|
|
250
250
|
return null;
|
|
251
251
|
const orientation = getOrientation(layoutContext);
|
|
@@ -188,6 +188,13 @@ function resolveAndCleanProps(props, extractValue, layoutCss = {}, resourceExtra
|
|
|
188
188
|
delete resultProps.radiusTopRight;
|
|
189
189
|
delete resultProps.radiusBottomLeft;
|
|
190
190
|
delete resultProps.radiusBottomRight;
|
|
191
|
+
// --- Delete pseudo CSS properties
|
|
192
|
+
delete resultProps.paddingHorizontal;
|
|
193
|
+
delete resultProps.paddingVertical;
|
|
194
|
+
delete resultProps.marginHorizontal;
|
|
195
|
+
delete resultProps.marginVertical;
|
|
196
|
+
delete resultProps.borderHorizontal;
|
|
197
|
+
delete resultProps.borderVertical;
|
|
191
198
|
return result;
|
|
192
199
|
}
|
|
193
200
|
/**
|
package/dist/style.css
CHANGED
|
@@ -1617,7 +1617,7 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1617
1617
|
* This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
|
|
1618
1618
|
Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
|
|
1619
1619
|
*/
|
|
1620
|
-
.
|
|
1620
|
+
._wrapper_1c9ty_13 {
|
|
1621
1621
|
--footer-height: 0px;
|
|
1622
1622
|
--header-height: 0px;
|
|
1623
1623
|
width: 100%;
|
|
@@ -1627,138 +1627,191 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1627
1627
|
flex-direction: column;
|
|
1628
1628
|
isolation: isolate;
|
|
1629
1629
|
}
|
|
1630
|
-
.
|
|
1630
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 {
|
|
1631
1631
|
flex-direction: row;
|
|
1632
1632
|
overflow: initial;
|
|
1633
1633
|
}
|
|
1634
|
-
.
|
|
1634
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._contentWrapper_1c9ty_27 {
|
|
1635
1635
|
overflow: auto;
|
|
1636
1636
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1637
1637
|
position: relative;
|
|
1638
1638
|
scrollbar-gutter: stable both-edges;
|
|
1639
1639
|
}
|
|
1640
|
-
.
|
|
1640
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._navPanelWrapper_1c9ty_33 {
|
|
1641
1641
|
width: var(--xmlui-width-navPanel-App);
|
|
1642
1642
|
flex-shrink: 0;
|
|
1643
1643
|
}
|
|
1644
|
-
.
|
|
1644
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._PagesWrapper_1c9ty_37 {
|
|
1645
1645
|
min-height: initial;
|
|
1646
1646
|
flex: 1;
|
|
1647
1647
|
}
|
|
1648
|
-
.
|
|
1648
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._footerWrapper_1c9ty_41 {
|
|
1649
1649
|
position: static;
|
|
1650
1650
|
}
|
|
1651
|
-
.
|
|
1651
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23._sticky_1c9ty_44 ._contentWrapper_1c9ty_27 {
|
|
1652
1652
|
scroll-padding-top: var(--header-height);
|
|
1653
1653
|
}
|
|
1654
|
-
.
|
|
1654
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23._sticky_1c9ty_44 ._footerWrapper_1c9ty_41 {
|
|
1655
1655
|
position: sticky;
|
|
1656
1656
|
bottom: 0;
|
|
1657
1657
|
}
|
|
1658
|
-
.
|
|
1658
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 {
|
|
1659
1659
|
overflow: auto;
|
|
1660
1660
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1661
1661
|
}
|
|
1662
|
-
.
|
|
1662
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 ._PagesWrapper_1c9ty_37 {
|
|
1663
1663
|
min-height: initial;
|
|
1664
1664
|
}
|
|
1665
|
-
.
|
|
1665
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 ._footerWrapper_1c9ty_41 {
|
|
1666
1666
|
position: static;
|
|
1667
1667
|
}
|
|
1668
|
-
.
|
|
1668
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51._sticky_1c9ty_44 {
|
|
1669
1669
|
scroll-padding-top: var(--header-height);
|
|
1670
1670
|
min-height: 100%;
|
|
1671
1671
|
}
|
|
1672
|
-
.
|
|
1672
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51._sticky_1c9ty_44 ._footerWrapper_1c9ty_41 {
|
|
1673
1673
|
position: sticky;
|
|
1674
1674
|
bottom: 0;
|
|
1675
1675
|
}
|
|
1676
|
-
.
|
|
1676
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 ._navPanelWrapper_1c9ty_33 {
|
|
1677
1677
|
border-bottom: var(--xmlui-borderBottom-AppHeader);
|
|
1678
1678
|
justify-content: end;
|
|
1679
1679
|
}
|
|
1680
|
-
.
|
|
1680
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 {
|
|
1681
1681
|
min-height: 100%;
|
|
1682
1682
|
height: 100%;
|
|
1683
1683
|
overflow: auto;
|
|
1684
1684
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1685
1685
|
}
|
|
1686
|
-
.
|
|
1686
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._navPanelWrapper_1c9ty_33 {
|
|
1687
1687
|
width: var(--xmlui-width-navPanel-App);
|
|
1688
1688
|
position: sticky;
|
|
1689
1689
|
height: calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));
|
|
1690
1690
|
top: var(--header-height);
|
|
1691
1691
|
}
|
|
1692
|
-
.
|
|
1692
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._PagesWrapper_1c9ty_37 {
|
|
1693
1693
|
overflow: initial;
|
|
1694
1694
|
min-height: calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));
|
|
1695
1695
|
height: 100%;
|
|
1696
1696
|
}
|
|
1697
|
-
.
|
|
1697
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._PagesWrapperInner_1c9ty_90 {
|
|
1698
1698
|
height: 100%;
|
|
1699
1699
|
}
|
|
1700
|
-
.
|
|
1700
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._PagesWrapperInner_1c9ty_90 > .xmlui-page-root {
|
|
1701
1701
|
height: 100%;
|
|
1702
1702
|
}
|
|
1703
|
-
.
|
|
1703
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._footerWrapper_1c9ty_41 {
|
|
1704
1704
|
position: sticky;
|
|
1705
1705
|
left: 0;
|
|
1706
1706
|
right: 0;
|
|
1707
1707
|
bottom: 0;
|
|
1708
1708
|
}
|
|
1709
|
-
.
|
|
1709
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 {
|
|
1710
|
+
min-height: 100%;
|
|
1711
|
+
height: 100%;
|
|
1712
|
+
overflow: auto;
|
|
1713
|
+
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1714
|
+
}
|
|
1715
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._header_1c9ty_108 {
|
|
1716
|
+
max-width: var(--xmlui-maxWidth-App);
|
|
1717
|
+
margin: auto;
|
|
1718
|
+
}
|
|
1719
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._navPanelWrapper_1c9ty_33 {
|
|
1720
|
+
width: var(--xmlui-width-navPanel-App);
|
|
1721
|
+
position: sticky;
|
|
1722
|
+
height: calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));
|
|
1723
|
+
top: var(--header-height);
|
|
1724
|
+
}
|
|
1725
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._PagesWrapper_1c9ty_37 {
|
|
1726
|
+
overflow: initial;
|
|
1727
|
+
min-height: calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));
|
|
1728
|
+
height: 100%;
|
|
1729
|
+
}
|
|
1730
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._PagesWrapperInner_1c9ty_90 {
|
|
1731
|
+
height: 100%;
|
|
1732
|
+
}
|
|
1733
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._PagesWrapperInner_1c9ty_90 > .xmlui-page-root {
|
|
1734
|
+
height: 100%;
|
|
1735
|
+
}
|
|
1736
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._footerWrapper_1c9ty_41 {
|
|
1737
|
+
position: sticky;
|
|
1738
|
+
left: 0;
|
|
1739
|
+
right: 0;
|
|
1740
|
+
bottom: 0;
|
|
1741
|
+
}
|
|
1742
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 {
|
|
1710
1743
|
scrollbar-gutter: stable both-edges;
|
|
1711
1744
|
}
|
|
1712
|
-
.
|
|
1745
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._headerWrapper_1c9ty_138 {
|
|
1713
1746
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1714
1747
|
}
|
|
1715
|
-
.
|
|
1748
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._headerWrapper_1c9ty_138 > div {
|
|
1716
1749
|
padding-inline: var(--scrollbar-width);
|
|
1717
1750
|
}
|
|
1718
|
-
.
|
|
1751
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._footerWrapper_1c9ty_41 {
|
|
1719
1752
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1720
1753
|
}
|
|
1721
|
-
.
|
|
1754
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._footerWrapper_1c9ty_41 > div {
|
|
1722
1755
|
padding-inline: var(--scrollbar-width);
|
|
1723
1756
|
}
|
|
1724
|
-
.
|
|
1757
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalFullHeader_1c9ty_73 {
|
|
1725
1758
|
scroll-padding-top: var(--header-height);
|
|
1726
1759
|
}
|
|
1727
|
-
.
|
|
1760
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalFullHeader_1c9ty_73 ._content_1c9ty_27 {
|
|
1761
|
+
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1762
|
+
}
|
|
1763
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalFullHeader_1c9ty_73 ._contentWrapper_1c9ty_27 {
|
|
1764
|
+
padding-inline: var(--scrollbar-width);
|
|
1765
|
+
}
|
|
1766
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 {
|
|
1767
|
+
scroll-padding-top: var(--header-height);
|
|
1768
|
+
}
|
|
1769
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._content_1c9ty_27 {
|
|
1770
|
+
width: var(--xmlui-maxWidth-App);
|
|
1771
|
+
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1772
|
+
margin: auto;
|
|
1773
|
+
}
|
|
1774
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._contentWrapper_1c9ty_27 {
|
|
1775
|
+
padding-inline: var(--scrollbar-width);
|
|
1776
|
+
}
|
|
1777
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._headerWrapper_1c9ty_138 > div {
|
|
1778
|
+
width: var(--xmlui-maxWidth-App);
|
|
1779
|
+
}
|
|
1780
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._footerWrapper_1c9ty_41 {
|
|
1728
1781
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1729
1782
|
}
|
|
1730
|
-
.
|
|
1783
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._footerWrapper_1c9ty_41 > div {
|
|
1731
1784
|
padding-inline: var(--scrollbar-width);
|
|
1732
1785
|
}
|
|
1733
|
-
.
|
|
1786
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) {
|
|
1734
1787
|
overflow: hidden;
|
|
1735
1788
|
}
|
|
1736
|
-
.
|
|
1789
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._content_1c9ty_27 {
|
|
1737
1790
|
min-height: 0;
|
|
1738
1791
|
height: 100%;
|
|
1739
1792
|
}
|
|
1740
|
-
.
|
|
1793
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._contentWrapper_1c9ty_27 {
|
|
1741
1794
|
overflow: initial;
|
|
1742
1795
|
}
|
|
1743
|
-
.
|
|
1796
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._PagesWrapper_1c9ty_37 {
|
|
1744
1797
|
overflow: auto;
|
|
1745
1798
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1746
1799
|
min-height: 0;
|
|
1747
1800
|
height: 100%;
|
|
1748
1801
|
scrollbar-gutter: stable both-edges;
|
|
1749
1802
|
}
|
|
1750
|
-
.
|
|
1803
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._PagesWrapperInner_1c9ty_90 {
|
|
1751
1804
|
min-height: 100%;
|
|
1752
1805
|
height: 0;
|
|
1753
1806
|
}
|
|
1754
|
-
.
|
|
1807
|
+
._wrapper_1c9ty_13._noScrollbarGutters_1c9ty_200 {
|
|
1755
1808
|
scrollbar-gutter: auto;
|
|
1756
1809
|
}
|
|
1757
|
-
.
|
|
1810
|
+
._wrapper_1c9ty_13._noScrollbarGutters_1c9ty_200 ._PagesWrapper_1c9ty_37 {
|
|
1758
1811
|
scrollbar-gutter: auto;
|
|
1759
1812
|
}
|
|
1760
1813
|
|
|
1761
|
-
.
|
|
1814
|
+
._headerWrapper_1c9ty_138 {
|
|
1762
1815
|
z-index: 1;
|
|
1763
1816
|
min-height: 0;
|
|
1764
1817
|
flex-shrink: 0;
|
|
@@ -1767,17 +1820,17 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1767
1820
|
box-shadow: var(--xmlui-boxShadow-header-App);
|
|
1768
1821
|
background-color: var(--xmlui-backgroundColor-AppHeader);
|
|
1769
1822
|
}
|
|
1770
|
-
.
|
|
1823
|
+
._headerWrapper_1c9ty_138._sticky_1c9ty_44 {
|
|
1771
1824
|
position: sticky;
|
|
1772
1825
|
}
|
|
1773
1826
|
|
|
1774
|
-
.
|
|
1827
|
+
._content_1c9ty_27 {
|
|
1775
1828
|
display: flex;
|
|
1776
1829
|
flex-direction: row;
|
|
1777
1830
|
isolation: isolate;
|
|
1778
1831
|
}
|
|
1779
1832
|
|
|
1780
|
-
.
|
|
1833
|
+
._contentWrapper_1c9ty_27 {
|
|
1781
1834
|
position: relative;
|
|
1782
1835
|
min-width: 0;
|
|
1783
1836
|
flex: 1;
|
|
@@ -1788,21 +1841,21 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1788
1841
|
border-left: var(--xmlui-borderLeft-content-App);
|
|
1789
1842
|
}
|
|
1790
1843
|
|
|
1791
|
-
.
|
|
1844
|
+
._navPanelWrapper_1c9ty_33 {
|
|
1792
1845
|
display: flex;
|
|
1793
1846
|
position: sticky;
|
|
1794
1847
|
top: 0;
|
|
1795
1848
|
}
|
|
1796
|
-
.
|
|
1849
|
+
._navPanelWrapper_1c9ty_33:empty {
|
|
1797
1850
|
display: none;
|
|
1798
1851
|
}
|
|
1799
1852
|
|
|
1800
|
-
.
|
|
1853
|
+
._PagesWrapper_1c9ty_37 {
|
|
1801
1854
|
flex: 1;
|
|
1802
1855
|
isolation: isolate;
|
|
1803
1856
|
}
|
|
1804
1857
|
|
|
1805
|
-
.
|
|
1858
|
+
._PagesWrapperInner_1c9ty_90 {
|
|
1806
1859
|
--page-padding-left: var(--xmlui-space-4);
|
|
1807
1860
|
--page-padding-right: var(--xmlui-space-4);
|
|
1808
1861
|
--page-padding-top: var(--xmlui-space-5);
|
|
@@ -1820,7 +1873,7 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1820
1873
|
display: flex;
|
|
1821
1874
|
flex-direction: column;
|
|
1822
1875
|
}
|
|
1823
|
-
.
|
|
1876
|
+
._PagesWrapperInner_1c9ty_90 > .xmlui-page-root {
|
|
1824
1877
|
padding-top: var(--page-padding-top-override, var(--page-padding-top));
|
|
1825
1878
|
padding-bottom: var(--page-padding-bottom-override, var(--page-padding-bottom));
|
|
1826
1879
|
padding-right: var(--page-padding-right-override, var(--page-padding-right));
|
|
@@ -1832,7 +1885,7 @@ See this source for details: https://css-tricks.com/line-clampin/
|
|
|
1832
1885
|
margin-right: calc(-1 * var(--page-padding-right));
|
|
1833
1886
|
}
|
|
1834
1887
|
|
|
1835
|
-
.
|
|
1888
|
+
._footerWrapper_1c9ty_41 {
|
|
1836
1889
|
flex-shrink: 0;
|
|
1837
1890
|
}/*
|
|
1838
1891
|
* This file contains all CSS variables AppEngine uses for styling the UI, including individual visual components.
|
package/dist/xmlui-metadata.mjs
CHANGED
|
@@ -3090,7 +3090,7 @@ const ThemeMd = createMetadata({
|
|
|
3090
3090
|
},
|
|
3091
3091
|
opaque: true
|
|
3092
3092
|
});
|
|
3093
|
-
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
3093
|
+
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
3094
3094
|
const styles$L = {
|
|
3095
3095
|
themeVars: themeVars$I
|
|
3096
3096
|
};
|
|
@@ -3359,6 +3359,7 @@ function getAppLayoutOrientation(appLayout) {
|
|
|
3359
3359
|
case "vertical":
|
|
3360
3360
|
case "vertical-sticky":
|
|
3361
3361
|
case "vertical-full-header":
|
|
3362
|
+
case "vertical-constrained-width":
|
|
3362
3363
|
return "vertical";
|
|
3363
3364
|
default:
|
|
3364
3365
|
return "horizontal";
|
|
@@ -5224,7 +5225,7 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
|
|
|
5224
5225
|
result.cssProps.flexShrink = 0;
|
|
5225
5226
|
}
|
|
5226
5227
|
collectCss("width");
|
|
5227
|
-
const horizontalStarSize =
|
|
5228
|
+
const horizontalStarSize = getHorizontalStarSize(result.cssProps.width, layoutContext);
|
|
5228
5229
|
if (horizontalStarSize !== null) {
|
|
5229
5230
|
result.cssProps.flex = horizontalStarSize;
|
|
5230
5231
|
result.cssProps.flexShrink = 1;
|
|
@@ -5232,7 +5233,7 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
|
|
|
5232
5233
|
collectCss("minWidth");
|
|
5233
5234
|
collectCss("maxWidth");
|
|
5234
5235
|
collectCss("height");
|
|
5235
|
-
const verticalStarSize =
|
|
5236
|
+
const verticalStarSize = getVerticalStarSize(result.cssProps.height, layoutContext);
|
|
5236
5237
|
if (verticalStarSize !== null) {
|
|
5237
5238
|
result.cssProps.flex = verticalStarSize;
|
|
5238
5239
|
result.cssProps.flexShrink = 1;
|
|
@@ -5416,12 +5417,12 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
|
|
|
5416
5417
|
result.cssProps[propCssName || prop] = value;
|
|
5417
5418
|
}
|
|
5418
5419
|
}
|
|
5419
|
-
function
|
|
5420
|
+
function getHorizontalStarSize(size, layoutContext2) {
|
|
5420
5421
|
if (!size) return null;
|
|
5421
5422
|
const orientation = getOrientation(layoutContext2);
|
|
5422
5423
|
return orientation === "horizontal" && starSizeRegex.test(size.toString()) ? getStarSizeNumber(size.toString()) : null;
|
|
5423
5424
|
}
|
|
5424
|
-
function
|
|
5425
|
+
function getVerticalStarSize(size, layoutContext2) {
|
|
5425
5426
|
if (!size) return null;
|
|
5426
5427
|
const orientation = getOrientation(layoutContext2);
|
|
5427
5428
|
return orientation === "vertical" && starSizeRegex.test(size.toString()) ? getStarSizeNumber(size.toString()) : null;
|
|
@@ -12680,7 +12681,7 @@ const ComboboxOption = forwardRef(function Combobox(option, forwardedRef) {
|
|
|
12680
12681
|
},
|
|
12681
12682
|
"data-state": selected2 ? "checked" : void 0,
|
|
12682
12683
|
keywords,
|
|
12683
|
-
children: /* @__PURE__ */ jsx("div", { className: styles$o.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12684
|
+
children: /* @__PURE__ */ jsx("div", { className: styles$o.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }, selectedValue, false) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12684
12685
|
optionLabelRenderer ? optionLabelRenderer({ label: label2, value }) : label2,
|
|
12685
12686
|
selected2 && /* @__PURE__ */ jsx(Icon, { name: "checkmark" })
|
|
12686
12687
|
] }) })
|
|
@@ -12708,7 +12709,7 @@ const SelectOption = React__default.forwardRef(
|
|
|
12708
12709
|
(option, ref) => {
|
|
12709
12710
|
const { value, label: label2, enabled: enabled2 = true } = option;
|
|
12710
12711
|
const { onOptionRemove, onOptionAdd } = useOption();
|
|
12711
|
-
const { optionLabelRenderer, optionRenderer } = useSelect();
|
|
12712
|
+
const { optionLabelRenderer, optionRenderer, value: selectedValue } = useSelect();
|
|
12712
12713
|
useLayoutEffect(() => {
|
|
12713
12714
|
onOptionAdd(option);
|
|
12714
12715
|
return () => onOptionRemove(option);
|
|
@@ -12717,7 +12718,7 @@ const SelectOption = React__default.forwardRef(
|
|
|
12717
12718
|
label: label2,
|
|
12718
12719
|
value,
|
|
12719
12720
|
enabled: enabled2
|
|
12720
|
-
}) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12721
|
+
}, selectedValue, false) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12721
12722
|
/* @__PURE__ */ jsx(ItemText, { className: styles$o.selectItemContent, children: optionLabelRenderer ? optionLabelRenderer({ value, label: label2 }) : label2 }),
|
|
12722
12723
|
/* @__PURE__ */ jsx("span", { className: styles$o.selectItemIndicator, children: /* @__PURE__ */ jsx(ItemIndicator, { children: /* @__PURE__ */ jsx(Icon, { name: "checkmark" }) }) })
|
|
12723
12724
|
] }) }) });
|
|
@@ -18297,6 +18298,10 @@ const DataSourceMd = createMetadata({
|
|
|
18297
18298
|
},
|
|
18298
18299
|
nextPageSelector: {
|
|
18299
18300
|
description: `When using \`${COMP$a}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`
|
|
18301
|
+
},
|
|
18302
|
+
structuralSharing: {
|
|
18303
|
+
description: "This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",
|
|
18304
|
+
defaultValue: "true"
|
|
18300
18305
|
}
|
|
18301
18306
|
},
|
|
18302
18307
|
events: {
|
|
@@ -18306,7 +18311,9 @@ const DataSourceMd = createMetadata({
|
|
|
18306
18311
|
error: d(`This event fires when a request results in an error.`)
|
|
18307
18312
|
},
|
|
18308
18313
|
apis: {
|
|
18309
|
-
value: d(
|
|
18314
|
+
value: d(
|
|
18315
|
+
"This property retrieves the data queried from the source after optional transformations."
|
|
18316
|
+
),
|
|
18310
18317
|
inProgress: d("This property indicates if the data is being fetched."),
|
|
18311
18318
|
isRefetching: d("This property indicates if the data is being re-fetched."),
|
|
18312
18319
|
loaded: d("This property indicates if the data has been loaded."),
|
|
@@ -3087,7 +3087,7 @@
|
|
|
3087
3087
|
},
|
|
3088
3088
|
opaque: true
|
|
3089
3089
|
});
|
|
3090
|
-
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
3090
|
+
const themeVars$I = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
3091
3091
|
const styles$L = {
|
|
3092
3092
|
themeVars: themeVars$I
|
|
3093
3093
|
};
|
|
@@ -3356,6 +3356,7 @@
|
|
|
3356
3356
|
case "vertical":
|
|
3357
3357
|
case "vertical-sticky":
|
|
3358
3358
|
case "vertical-full-header":
|
|
3359
|
+
case "vertical-constrained-width":
|
|
3359
3360
|
return "vertical";
|
|
3360
3361
|
default:
|
|
3361
3362
|
return "horizontal";
|
|
@@ -5221,7 +5222,7 @@
|
|
|
5221
5222
|
result.cssProps.flexShrink = 0;
|
|
5222
5223
|
}
|
|
5223
5224
|
collectCss("width");
|
|
5224
|
-
const horizontalStarSize =
|
|
5225
|
+
const horizontalStarSize = getHorizontalStarSize(result.cssProps.width, layoutContext);
|
|
5225
5226
|
if (horizontalStarSize !== null) {
|
|
5226
5227
|
result.cssProps.flex = horizontalStarSize;
|
|
5227
5228
|
result.cssProps.flexShrink = 1;
|
|
@@ -5229,7 +5230,7 @@
|
|
|
5229
5230
|
collectCss("minWidth");
|
|
5230
5231
|
collectCss("maxWidth");
|
|
5231
5232
|
collectCss("height");
|
|
5232
|
-
const verticalStarSize =
|
|
5233
|
+
const verticalStarSize = getVerticalStarSize(result.cssProps.height, layoutContext);
|
|
5233
5234
|
if (verticalStarSize !== null) {
|
|
5234
5235
|
result.cssProps.flex = verticalStarSize;
|
|
5235
5236
|
result.cssProps.flexShrink = 1;
|
|
@@ -5413,12 +5414,12 @@
|
|
|
5413
5414
|
result.cssProps[propCssName || prop] = value;
|
|
5414
5415
|
}
|
|
5415
5416
|
}
|
|
5416
|
-
function
|
|
5417
|
+
function getHorizontalStarSize(size, layoutContext2) {
|
|
5417
5418
|
if (!size) return null;
|
|
5418
5419
|
const orientation = getOrientation(layoutContext2);
|
|
5419
5420
|
return orientation === "horizontal" && starSizeRegex.test(size.toString()) ? getStarSizeNumber(size.toString()) : null;
|
|
5420
5421
|
}
|
|
5421
|
-
function
|
|
5422
|
+
function getVerticalStarSize(size, layoutContext2) {
|
|
5422
5423
|
if (!size) return null;
|
|
5423
5424
|
const orientation = getOrientation(layoutContext2);
|
|
5424
5425
|
return orientation === "vertical" && starSizeRegex.test(size.toString()) ? getStarSizeNumber(size.toString()) : null;
|
|
@@ -12677,7 +12678,7 @@
|
|
|
12677
12678
|
},
|
|
12678
12679
|
"data-state": selected2 ? "checked" : void 0,
|
|
12679
12680
|
keywords,
|
|
12680
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$o.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12681
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$o.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }, selectedValue, false) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12681
12682
|
optionLabelRenderer ? optionLabelRenderer({ label: label2, value }) : label2,
|
|
12682
12683
|
selected2 && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "checkmark" })
|
|
12683
12684
|
] }) })
|
|
@@ -12705,7 +12706,7 @@
|
|
|
12705
12706
|
(option, ref) => {
|
|
12706
12707
|
const { value, label: label2, enabled: enabled2 = true } = option;
|
|
12707
12708
|
const { onOptionRemove, onOptionAdd } = useOption();
|
|
12708
|
-
const { optionLabelRenderer, optionRenderer } = useSelect();
|
|
12709
|
+
const { optionLabelRenderer, optionRenderer, value: selectedValue } = useSelect();
|
|
12709
12710
|
React.useLayoutEffect(() => {
|
|
12710
12711
|
onOptionAdd(option);
|
|
12711
12712
|
return () => onOptionRemove(option);
|
|
@@ -12714,7 +12715,7 @@
|
|
|
12714
12715
|
label: label2,
|
|
12715
12716
|
value,
|
|
12716
12717
|
enabled: enabled2
|
|
12717
|
-
}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12718
|
+
}, selectedValue, false) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12718
12719
|
/* @__PURE__ */ jsxRuntime.jsx(reactSelect.ItemText, { className: styles$o.selectItemContent, children: optionLabelRenderer ? optionLabelRenderer({ value, label: label2 }) : label2 }),
|
|
12719
12720
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$o.selectItemIndicator, children: /* @__PURE__ */ jsxRuntime.jsx(reactSelect.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "checkmark" }) }) })
|
|
12720
12721
|
] }) }) });
|
|
@@ -18294,6 +18295,10 @@
|
|
|
18294
18295
|
},
|
|
18295
18296
|
nextPageSelector: {
|
|
18296
18297
|
description: `When using \`${COMP$a}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`
|
|
18298
|
+
},
|
|
18299
|
+
structuralSharing: {
|
|
18300
|
+
description: "This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",
|
|
18301
|
+
defaultValue: "true"
|
|
18297
18302
|
}
|
|
18298
18303
|
},
|
|
18299
18304
|
events: {
|
|
@@ -18303,7 +18308,9 @@
|
|
|
18303
18308
|
error: d(`This event fires when a request results in an error.`)
|
|
18304
18309
|
},
|
|
18305
18310
|
apis: {
|
|
18306
|
-
value: d(
|
|
18311
|
+
value: d(
|
|
18312
|
+
"This property retrieves the data queried from the source after optional transformations."
|
|
18313
|
+
),
|
|
18307
18314
|
inProgress: d("This property indicates if the data is being fetched."),
|
|
18308
18315
|
isRefetching: d("This property indicates if the data is being re-fetched."),
|
|
18309
18316
|
loaded: d("This property indicates if the data has been loaded."),
|