@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260923102653 → 0.8.1-dev.20260923125229
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/DataBindingControls-SLNZLI3I.mjs +377 -0
- package/dist/DataBindingControls-UDRT7JFF.mjs +381 -0
- package/dist/{Pagination-3SOPLEQN.mjs → Pagination-STOHS3LO.mjs} +1 -1
- package/dist/{Pagination-FEXY7ERI.mjs → Pagination-V53JCR6P.mjs} +1 -1
- package/dist/{chunk-6MO2JRIT.mjs → chunk-I3ND2ZRE.mjs} +7 -6
- package/dist/{chunk-SNDGEYWZ.mjs → chunk-K6GGVJCI.mjs} +7 -6
- package/dist/index.js +545 -431
- package/dist/index.mjs +300 -270
- package/dist/server.js +593 -479
- package/dist/server.mjs +134 -104
- package/package.json +1 -1
- package/dist/DataBindingControls-CUZ34EVI.mjs +0 -294
- package/dist/DataBindingControls-TBDJBK62.mjs +0 -298
package/dist/server.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OdataBuilder
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I3ND2ZRE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Hyperlink
|
|
6
6
|
} from "./chunk-2R26M6CK.mjs";
|
|
@@ -1490,9 +1490,38 @@ var NoDataFound = () => {
|
|
|
1490
1490
|
};
|
|
1491
1491
|
var NoDataFound_default = NoDataFound;
|
|
1492
1492
|
|
|
1493
|
+
// src/components/NoFilterResultsFound.tsx
|
|
1494
|
+
import { jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1495
|
+
var NoFilterResultsFound = () => {
|
|
1496
|
+
return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
|
|
1497
|
+
/* @__PURE__ */ jsx33("div", { className: "mb-5", children: /* @__PURE__ */ jsx33("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
|
|
1498
|
+
"svg",
|
|
1499
|
+
{
|
|
1500
|
+
className: "w-10 h-10",
|
|
1501
|
+
fill: "none",
|
|
1502
|
+
stroke: "currentColor",
|
|
1503
|
+
viewBox: "0 0 24 24",
|
|
1504
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1505
|
+
children: /* @__PURE__ */ jsx33(
|
|
1506
|
+
"path",
|
|
1507
|
+
{
|
|
1508
|
+
strokeLinecap: "round",
|
|
1509
|
+
strokeLinejoin: "round",
|
|
1510
|
+
strokeWidth: "1.5",
|
|
1511
|
+
d: "M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"
|
|
1512
|
+
}
|
|
1513
|
+
)
|
|
1514
|
+
}
|
|
1515
|
+
) }) }),
|
|
1516
|
+
/* @__PURE__ */ jsx33("h3", { className: "text-lg font-medium mb-2", children: "No Results Found" }),
|
|
1517
|
+
/* @__PURE__ */ jsx33("p", { className: "max-w-sm mb-0", children: "No data matches the current search query and configured parameters. Try adjusting your search criteria or filters to view available results." })
|
|
1518
|
+
] });
|
|
1519
|
+
};
|
|
1520
|
+
var NoFilterResultsFound_default = NoFilterResultsFound;
|
|
1521
|
+
|
|
1493
1522
|
// src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
|
|
1494
1523
|
import dynamic11 from "next/dynamic";
|
|
1495
|
-
import { Fragment as Fragment5, jsx as
|
|
1524
|
+
import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1496
1525
|
var HlsPlayer3 = dynamic11(() => import("./HlsPlayer-ZGFEVSKL.mjs"), { ssr: false });
|
|
1497
1526
|
var deviceToMediaQuery = (device) => {
|
|
1498
1527
|
switch (device) {
|
|
@@ -1648,8 +1677,8 @@ var ImageGalleryNode = (props) => {
|
|
|
1648
1677
|
right: "justify-end"
|
|
1649
1678
|
};
|
|
1650
1679
|
const formatClasses = FormatClass[props.node.format || ""] || "";
|
|
1651
|
-
return /* @__PURE__ */
|
|
1652
|
-
hlsSources.length > 0 && /* @__PURE__ */
|
|
1680
|
+
return /* @__PURE__ */ jsxs13(Fragment5, { children: [
|
|
1681
|
+
hlsSources.length > 0 && /* @__PURE__ */ jsx34(Fragment5, { children: /* @__PURE__ */ jsx34(
|
|
1653
1682
|
HlsPlayer3,
|
|
1654
1683
|
{
|
|
1655
1684
|
sources: hlsSources,
|
|
@@ -1664,7 +1693,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1664
1693
|
styles: hlsStyles
|
|
1665
1694
|
}
|
|
1666
1695
|
) }),
|
|
1667
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */
|
|
1696
|
+
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx34(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
|
|
1668
1697
|
DEVICE_ORDER.map((deviceKey) => {
|
|
1669
1698
|
const match = staticSources.find(
|
|
1670
1699
|
(img) => img.device === deviceKey
|
|
@@ -1680,7 +1709,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1680
1709
|
if (!srcUrl) {
|
|
1681
1710
|
return null;
|
|
1682
1711
|
}
|
|
1683
|
-
return /* @__PURE__ */
|
|
1712
|
+
return /* @__PURE__ */ jsx34(
|
|
1684
1713
|
"source",
|
|
1685
1714
|
{
|
|
1686
1715
|
media: deviceToMediaQuery(match.device),
|
|
@@ -1705,7 +1734,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1705
1734
|
if (img.borderRadius) {
|
|
1706
1735
|
styles.borderRadius = img.borderRadius;
|
|
1707
1736
|
}
|
|
1708
|
-
return /* @__PURE__ */
|
|
1737
|
+
return /* @__PURE__ */ jsx34(
|
|
1709
1738
|
"img",
|
|
1710
1739
|
{
|
|
1711
1740
|
loading: "lazy",
|
|
@@ -1720,7 +1749,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1720
1749
|
})()
|
|
1721
1750
|
] }) : (
|
|
1722
1751
|
/* Case 2: Only device-specific images exist */
|
|
1723
|
-
/* @__PURE__ */
|
|
1752
|
+
/* @__PURE__ */ jsx34(Fragment5, { children: staticSources.map((img, index) => {
|
|
1724
1753
|
const resolved = resolveImage(img);
|
|
1725
1754
|
const imageUrl = resolved?.imageUrl;
|
|
1726
1755
|
if (!imageUrl) {
|
|
@@ -1747,7 +1776,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1747
1776
|
default:
|
|
1748
1777
|
display = "block";
|
|
1749
1778
|
}
|
|
1750
|
-
return /* @__PURE__ */
|
|
1779
|
+
return /* @__PURE__ */ jsx34(
|
|
1751
1780
|
"img",
|
|
1752
1781
|
{
|
|
1753
1782
|
loading: "lazy",
|
|
@@ -1887,7 +1916,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
|
|
|
1887
1916
|
};
|
|
1888
1917
|
|
|
1889
1918
|
// src/components/pageRenderingEngine/nodes/DocumentNode.tsx
|
|
1890
|
-
import { Fragment as Fragment6, jsx as
|
|
1919
|
+
import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1891
1920
|
var getNestedValue5 = (obj, path) => {
|
|
1892
1921
|
if (!obj || !path) return void 0;
|
|
1893
1922
|
return path.split(".").reduce((current, key) => {
|
|
@@ -1918,21 +1947,21 @@ var parseDocuments = (value) => {
|
|
|
1918
1947
|
}
|
|
1919
1948
|
return [];
|
|
1920
1949
|
};
|
|
1921
|
-
var PdfIcon = () => /* @__PURE__ */
|
|
1950
|
+
var PdfIcon = () => /* @__PURE__ */ jsxs14(
|
|
1922
1951
|
"svg",
|
|
1923
1952
|
{
|
|
1924
1953
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1925
1954
|
viewBox: "0 0 48 48",
|
|
1926
1955
|
className: "w-10 h-10",
|
|
1927
1956
|
children: [
|
|
1928
|
-
/* @__PURE__ */
|
|
1957
|
+
/* @__PURE__ */ jsx35(
|
|
1929
1958
|
"path",
|
|
1930
1959
|
{
|
|
1931
1960
|
fill: "#e53935",
|
|
1932
1961
|
d: "M38,42H10c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h28c2.209,0,4,1.791,4,4v28 C42,40.209,40.209,42,38,42z"
|
|
1933
1962
|
}
|
|
1934
1963
|
),
|
|
1935
|
-
/* @__PURE__ */
|
|
1964
|
+
/* @__PURE__ */ jsx35(
|
|
1936
1965
|
"path",
|
|
1937
1966
|
{
|
|
1938
1967
|
fill: "#fff",
|
|
@@ -1942,55 +1971,55 @@ var PdfIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
1942
1971
|
]
|
|
1943
1972
|
}
|
|
1944
1973
|
);
|
|
1945
|
-
var ExcelIcon = () => /* @__PURE__ */
|
|
1974
|
+
var ExcelIcon = () => /* @__PURE__ */ jsxs14(
|
|
1946
1975
|
"svg",
|
|
1947
1976
|
{
|
|
1948
1977
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1949
1978
|
viewBox: "0 0 48 48",
|
|
1950
1979
|
className: "w-10 h-10",
|
|
1951
1980
|
children: [
|
|
1952
|
-
/* @__PURE__ */
|
|
1981
|
+
/* @__PURE__ */ jsx35(
|
|
1953
1982
|
"path",
|
|
1954
1983
|
{
|
|
1955
1984
|
fill: "#169154",
|
|
1956
1985
|
d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
|
|
1957
1986
|
}
|
|
1958
1987
|
),
|
|
1959
|
-
/* @__PURE__ */
|
|
1988
|
+
/* @__PURE__ */ jsx35(
|
|
1960
1989
|
"path",
|
|
1961
1990
|
{
|
|
1962
1991
|
fill: "#18482a",
|
|
1963
1992
|
d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
|
|
1964
1993
|
}
|
|
1965
1994
|
),
|
|
1966
|
-
/* @__PURE__ */
|
|
1967
|
-
/* @__PURE__ */
|
|
1968
|
-
/* @__PURE__ */
|
|
1969
|
-
/* @__PURE__ */
|
|
1995
|
+
/* @__PURE__ */ jsx35("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
|
|
1996
|
+
/* @__PURE__ */ jsx35("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
|
|
1997
|
+
/* @__PURE__ */ jsxs14("g", { children: [
|
|
1998
|
+
/* @__PURE__ */ jsx35(
|
|
1970
1999
|
"path",
|
|
1971
2000
|
{
|
|
1972
2001
|
fill: "#29c27f",
|
|
1973
2002
|
d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
|
|
1974
2003
|
}
|
|
1975
2004
|
),
|
|
1976
|
-
/* @__PURE__ */
|
|
2005
|
+
/* @__PURE__ */ jsx35(
|
|
1977
2006
|
"path",
|
|
1978
2007
|
{
|
|
1979
2008
|
fill: "#27663f",
|
|
1980
2009
|
d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
|
|
1981
2010
|
}
|
|
1982
2011
|
),
|
|
1983
|
-
/* @__PURE__ */
|
|
1984
|
-
/* @__PURE__ */
|
|
2012
|
+
/* @__PURE__ */ jsx35("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
|
|
2013
|
+
/* @__PURE__ */ jsx35("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
|
|
1985
2014
|
] }),
|
|
1986
|
-
/* @__PURE__ */
|
|
2015
|
+
/* @__PURE__ */ jsx35(
|
|
1987
2016
|
"path",
|
|
1988
2017
|
{
|
|
1989
2018
|
fill: "#0c7238",
|
|
1990
2019
|
d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
|
|
1991
2020
|
}
|
|
1992
2021
|
),
|
|
1993
|
-
/* @__PURE__ */
|
|
2022
|
+
/* @__PURE__ */ jsx35(
|
|
1994
2023
|
"path",
|
|
1995
2024
|
{
|
|
1996
2025
|
fill: "#fff",
|
|
@@ -2000,7 +2029,7 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2000
2029
|
]
|
|
2001
2030
|
}
|
|
2002
2031
|
);
|
|
2003
|
-
var WordIcon = () => /* @__PURE__ */
|
|
2032
|
+
var WordIcon = () => /* @__PURE__ */ jsxs14(
|
|
2004
2033
|
"svg",
|
|
2005
2034
|
{
|
|
2006
2035
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2008,14 +2037,14 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2008
2037
|
className: "w-10 h-10",
|
|
2009
2038
|
baseProfile: "basic",
|
|
2010
2039
|
children: [
|
|
2011
|
-
/* @__PURE__ */
|
|
2040
|
+
/* @__PURE__ */ jsx35(
|
|
2012
2041
|
"path",
|
|
2013
2042
|
{
|
|
2014
2043
|
fill: "#283593",
|
|
2015
2044
|
d: "M9,33.595l14.911-18.706L41,26v13.306C41,41.346,39.346,43,37.306,43H15.332 C11.835,43,9,40.164,9,36.667C9,36.667,9,33.595,9,33.595z"
|
|
2016
2045
|
}
|
|
2017
2046
|
),
|
|
2018
|
-
/* @__PURE__ */
|
|
2047
|
+
/* @__PURE__ */ jsxs14(
|
|
2019
2048
|
"linearGradient",
|
|
2020
2049
|
{
|
|
2021
2050
|
id: "qh2LT5tehRDFkLLfb-odWa",
|
|
@@ -2026,19 +2055,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2026
2055
|
gradientTransform: "translate(0 -339.89)",
|
|
2027
2056
|
gradientUnits: "userSpaceOnUse",
|
|
2028
2057
|
children: [
|
|
2029
|
-
/* @__PURE__ */
|
|
2030
|
-
/* @__PURE__ */
|
|
2058
|
+
/* @__PURE__ */ jsx35("stop", { offset: "0", "stop-color": "#66c0ff" }),
|
|
2059
|
+
/* @__PURE__ */ jsx35("stop", { offset: ".26", "stop-color": "#0094f0" })
|
|
2031
2060
|
]
|
|
2032
2061
|
}
|
|
2033
2062
|
),
|
|
2034
|
-
/* @__PURE__ */
|
|
2063
|
+
/* @__PURE__ */ jsx35(
|
|
2035
2064
|
"path",
|
|
2036
2065
|
{
|
|
2037
2066
|
fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
|
|
2038
2067
|
d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
|
|
2039
2068
|
}
|
|
2040
2069
|
),
|
|
2041
|
-
/* @__PURE__ */
|
|
2070
|
+
/* @__PURE__ */ jsx35(
|
|
2042
2071
|
"path",
|
|
2043
2072
|
{
|
|
2044
2073
|
fill: "#1e88e5",
|
|
@@ -2046,21 +2075,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2046
2075
|
d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
|
|
2047
2076
|
}
|
|
2048
2077
|
),
|
|
2049
|
-
/* @__PURE__ */
|
|
2078
|
+
/* @__PURE__ */ jsx35(
|
|
2050
2079
|
"path",
|
|
2051
2080
|
{
|
|
2052
2081
|
fill: "#00e5ff",
|
|
2053
2082
|
d: "M9,10.333C9,6.836,11.835,4,15.332,4h21.975C39.346,4,41,5.654,41,7.694v5.611 C41,15.346,39.346,17,37.306,17H15.332C11.835,17,9,19.836,9,23.333C9,23.333,9,10.333,9,10.333z"
|
|
2054
2083
|
}
|
|
2055
2084
|
),
|
|
2056
|
-
/* @__PURE__ */
|
|
2085
|
+
/* @__PURE__ */ jsx35(
|
|
2057
2086
|
"path",
|
|
2058
2087
|
{
|
|
2059
2088
|
fill: "#1565c0",
|
|
2060
2089
|
d: "M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5 v-10C4,24.567,5.567,23,7.5,23z"
|
|
2061
2090
|
}
|
|
2062
2091
|
),
|
|
2063
|
-
/* @__PURE__ */
|
|
2092
|
+
/* @__PURE__ */ jsx35(
|
|
2064
2093
|
"path",
|
|
2065
2094
|
{
|
|
2066
2095
|
fill: "#fff",
|
|
@@ -2070,42 +2099,42 @@ var WordIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2070
2099
|
]
|
|
2071
2100
|
}
|
|
2072
2101
|
);
|
|
2073
|
-
var StandardIcon = () => /* @__PURE__ */
|
|
2102
|
+
var StandardIcon = () => /* @__PURE__ */ jsxs14(
|
|
2074
2103
|
"svg",
|
|
2075
2104
|
{
|
|
2076
2105
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2077
2106
|
viewBox: "0 0 48 48",
|
|
2078
2107
|
className: "w-10 h-10",
|
|
2079
2108
|
children: [
|
|
2080
|
-
/* @__PURE__ */
|
|
2081
|
-
/* @__PURE__ */
|
|
2109
|
+
/* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
|
|
2110
|
+
/* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
|
|
2082
2111
|
]
|
|
2083
2112
|
}
|
|
2084
2113
|
);
|
|
2085
|
-
var PowerPointIcon = () => /* @__PURE__ */
|
|
2114
|
+
var PowerPointIcon = () => /* @__PURE__ */ jsxs14(
|
|
2086
2115
|
"svg",
|
|
2087
2116
|
{
|
|
2088
2117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2089
2118
|
viewBox: "0 0 48 48",
|
|
2090
2119
|
className: "w-10 h-10",
|
|
2091
2120
|
children: [
|
|
2092
|
-
/* @__PURE__ */
|
|
2121
|
+
/* @__PURE__ */ jsx35(
|
|
2093
2122
|
"path",
|
|
2094
2123
|
{
|
|
2095
2124
|
fill: "#dc4c2c",
|
|
2096
2125
|
d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
|
|
2097
2126
|
}
|
|
2098
2127
|
),
|
|
2099
|
-
/* @__PURE__ */
|
|
2100
|
-
/* @__PURE__ */
|
|
2101
|
-
/* @__PURE__ */
|
|
2128
|
+
/* @__PURE__ */ jsx35("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
|
|
2129
|
+
/* @__PURE__ */ jsx35("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
|
|
2130
|
+
/* @__PURE__ */ jsx35(
|
|
2102
2131
|
"path",
|
|
2103
2132
|
{
|
|
2104
2133
|
fill: "#9b341f",
|
|
2105
2134
|
d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
|
|
2106
2135
|
}
|
|
2107
2136
|
),
|
|
2108
|
-
/* @__PURE__ */
|
|
2137
|
+
/* @__PURE__ */ jsx35(
|
|
2109
2138
|
"path",
|
|
2110
2139
|
{
|
|
2111
2140
|
fill: "#fff",
|
|
@@ -2115,16 +2144,16 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2115
2144
|
]
|
|
2116
2145
|
}
|
|
2117
2146
|
);
|
|
2118
|
-
var TextIcon = () => /* @__PURE__ */
|
|
2147
|
+
var TextIcon = () => /* @__PURE__ */ jsxs14(
|
|
2119
2148
|
"svg",
|
|
2120
2149
|
{
|
|
2121
2150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2122
2151
|
viewBox: "0 0 48 48",
|
|
2123
2152
|
className: "w-10 h-10",
|
|
2124
2153
|
children: [
|
|
2125
|
-
/* @__PURE__ */
|
|
2126
|
-
/* @__PURE__ */
|
|
2127
|
-
/* @__PURE__ */
|
|
2154
|
+
/* @__PURE__ */ jsx35("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
|
|
2155
|
+
/* @__PURE__ */ jsx35("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
|
|
2156
|
+
/* @__PURE__ */ jsx35(
|
|
2128
2157
|
"path",
|
|
2129
2158
|
{
|
|
2130
2159
|
fill: "#1976D2",
|
|
@@ -2134,7 +2163,7 @@ var TextIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2134
2163
|
]
|
|
2135
2164
|
}
|
|
2136
2165
|
);
|
|
2137
|
-
var ArchiveIcon = () => /* @__PURE__ */
|
|
2166
|
+
var ArchiveIcon = () => /* @__PURE__ */ jsxs14(
|
|
2138
2167
|
"svg",
|
|
2139
2168
|
{
|
|
2140
2169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2144,14 +2173,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2144
2173
|
version: "1.0",
|
|
2145
2174
|
className: "w-10 h-10",
|
|
2146
2175
|
children: [
|
|
2147
|
-
/* @__PURE__ */
|
|
2176
|
+
/* @__PURE__ */ jsx35("defs", { children: /* @__PURE__ */ jsx35("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx35(
|
|
2148
2177
|
"path",
|
|
2149
2178
|
{
|
|
2150
2179
|
d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
|
|
2151
2180
|
"clip-rule": "nonzero"
|
|
2152
2181
|
}
|
|
2153
2182
|
) }) }),
|
|
2154
|
-
/* @__PURE__ */
|
|
2183
|
+
/* @__PURE__ */ jsx35("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx35(
|
|
2155
2184
|
"path",
|
|
2156
2185
|
{
|
|
2157
2186
|
fill: "#ff9100",
|
|
@@ -2160,7 +2189,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2160
2189
|
"fill-rule": "nonzero"
|
|
2161
2190
|
}
|
|
2162
2191
|
) }),
|
|
2163
|
-
/* @__PURE__ */
|
|
2192
|
+
/* @__PURE__ */ jsx35(
|
|
2164
2193
|
"path",
|
|
2165
2194
|
{
|
|
2166
2195
|
fill: "#fbe9e7",
|
|
@@ -2169,7 +2198,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2169
2198
|
"fill-rule": "nonzero"
|
|
2170
2199
|
}
|
|
2171
2200
|
),
|
|
2172
|
-
/* @__PURE__ */
|
|
2201
|
+
/* @__PURE__ */ jsx35(
|
|
2173
2202
|
"path",
|
|
2174
2203
|
{
|
|
2175
2204
|
fill: "#ffe0b2",
|
|
@@ -2178,7 +2207,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2178
2207
|
"fill-rule": "nonzero"
|
|
2179
2208
|
}
|
|
2180
2209
|
),
|
|
2181
|
-
/* @__PURE__ */
|
|
2210
|
+
/* @__PURE__ */ jsx35(
|
|
2182
2211
|
"path",
|
|
2183
2212
|
{
|
|
2184
2213
|
fill: "#ffe0b2",
|
|
@@ -2187,7 +2216,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs13(
|
|
|
2187
2216
|
"fill-rule": "nonzero"
|
|
2188
2217
|
}
|
|
2189
2218
|
),
|
|
2190
|
-
/* @__PURE__ */
|
|
2219
|
+
/* @__PURE__ */ jsx35(
|
|
2191
2220
|
"path",
|
|
2192
2221
|
{
|
|
2193
2222
|
fill: "#ffe0b2",
|
|
@@ -2237,8 +2266,8 @@ var DocumentNode = (props) => {
|
|
|
2237
2266
|
documents = parseDocuments(props.node.documentAsset);
|
|
2238
2267
|
}
|
|
2239
2268
|
if (documents.length === 0) {
|
|
2240
|
-
return /* @__PURE__ */
|
|
2241
|
-
/* @__PURE__ */
|
|
2269
|
+
return /* @__PURE__ */ jsx35(Fragment6, { children: /* @__PURE__ */ jsxs14("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
|
|
2270
|
+
/* @__PURE__ */ jsx35("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx35(
|
|
2242
2271
|
"svg",
|
|
2243
2272
|
{
|
|
2244
2273
|
className: "w-5 h-5",
|
|
@@ -2246,7 +2275,7 @@ var DocumentNode = (props) => {
|
|
|
2246
2275
|
stroke: "currentColor",
|
|
2247
2276
|
viewBox: "0 0 24 24",
|
|
2248
2277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2249
|
-
children: /* @__PURE__ */
|
|
2278
|
+
children: /* @__PURE__ */ jsx35(
|
|
2250
2279
|
"path",
|
|
2251
2280
|
{
|
|
2252
2281
|
strokeLinecap: "round",
|
|
@@ -2257,11 +2286,11 @@ var DocumentNode = (props) => {
|
|
|
2257
2286
|
)
|
|
2258
2287
|
}
|
|
2259
2288
|
) }),
|
|
2260
|
-
/* @__PURE__ */
|
|
2261
|
-
/* @__PURE__ */
|
|
2289
|
+
/* @__PURE__ */ jsx35("div", { className: "text-sm font-medium", children: "No documents found" }),
|
|
2290
|
+
/* @__PURE__ */ jsx35("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
|
|
2262
2291
|
] }) });
|
|
2263
2292
|
}
|
|
2264
|
-
return /* @__PURE__ */
|
|
2293
|
+
return /* @__PURE__ */ jsx35("div", { className: "", children: documents.map((doc, index) => {
|
|
2265
2294
|
const documentUrl = AssetUtility_default.resolveUrl(
|
|
2266
2295
|
props.assetBaseUrl,
|
|
2267
2296
|
doc.assetUrl
|
|
@@ -2279,16 +2308,16 @@ var DocumentNode = (props) => {
|
|
|
2279
2308
|
}
|
|
2280
2309
|
}
|
|
2281
2310
|
const { Icon, extLabel } = getFileDetails(documentUrl);
|
|
2282
|
-
return /* @__PURE__ */
|
|
2311
|
+
return /* @__PURE__ */ jsxs14(
|
|
2283
2312
|
"div",
|
|
2284
2313
|
{
|
|
2285
2314
|
className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
|
|
2286
2315
|
children: [
|
|
2287
|
-
/* @__PURE__ */
|
|
2288
|
-
/* @__PURE__ */
|
|
2289
|
-
/* @__PURE__ */
|
|
2316
|
+
/* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-4 min-w-0", children: [
|
|
2317
|
+
/* @__PURE__ */ jsx35("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft shrink-0", children: /* @__PURE__ */ jsx35(Icon, {}) }),
|
|
2318
|
+
/* @__PURE__ */ jsx35("div", { className: "flex items-baseline space-x-2 min-w-0", children: /* @__PURE__ */ jsx35("h4", { className: "text-base font-semibold truncate", title: documentTitle, children: documentTitle }) })
|
|
2290
2319
|
] }),
|
|
2291
|
-
/* @__PURE__ */
|
|
2320
|
+
/* @__PURE__ */ jsxs14(
|
|
2292
2321
|
"a",
|
|
2293
2322
|
{
|
|
2294
2323
|
href: documentUrl,
|
|
@@ -2296,7 +2325,7 @@ var DocumentNode = (props) => {
|
|
|
2296
2325
|
rel: "noopener noreferrer",
|
|
2297
2326
|
className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors shrink-0",
|
|
2298
2327
|
children: [
|
|
2299
|
-
/* @__PURE__ */
|
|
2328
|
+
/* @__PURE__ */ jsxs14(
|
|
2300
2329
|
"svg",
|
|
2301
2330
|
{
|
|
2302
2331
|
className: "w-4 h-4 mr-2",
|
|
@@ -2304,7 +2333,7 @@ var DocumentNode = (props) => {
|
|
|
2304
2333
|
stroke: "currentColor",
|
|
2305
2334
|
viewBox: "0 0 24 24",
|
|
2306
2335
|
children: [
|
|
2307
|
-
/* @__PURE__ */
|
|
2336
|
+
/* @__PURE__ */ jsx35(
|
|
2308
2337
|
"path",
|
|
2309
2338
|
{
|
|
2310
2339
|
strokeLinecap: "round",
|
|
@@ -2313,7 +2342,7 @@ var DocumentNode = (props) => {
|
|
|
2313
2342
|
d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
|
|
2314
2343
|
}
|
|
2315
2344
|
),
|
|
2316
|
-
/* @__PURE__ */
|
|
2345
|
+
/* @__PURE__ */ jsx35(
|
|
2317
2346
|
"path",
|
|
2318
2347
|
{
|
|
2319
2348
|
strokeLinecap: "round",
|
|
@@ -2339,13 +2368,13 @@ var DocumentNode_default = DocumentNode;
|
|
|
2339
2368
|
|
|
2340
2369
|
// src/components/pageRenderingEngine/nodes/GoogleMapNode.tsx
|
|
2341
2370
|
import dynamic12 from "next/dynamic";
|
|
2342
|
-
import { jsx as
|
|
2371
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2343
2372
|
var IframeClient2 = dynamic12(() => import("./IframeClient-XEWQLGUQ.mjs"), {
|
|
2344
2373
|
ssr: false
|
|
2345
2374
|
});
|
|
2346
2375
|
var GoogleMapNode = (props) => {
|
|
2347
2376
|
let src = props.node.embedUrl;
|
|
2348
|
-
return /* @__PURE__ */
|
|
2377
|
+
return /* @__PURE__ */ jsx36("div", { className: "google-map-container", children: src && /* @__PURE__ */ jsx36(
|
|
2349
2378
|
IframeClient2,
|
|
2350
2379
|
{
|
|
2351
2380
|
src,
|
|
@@ -2357,9 +2386,9 @@ var GoogleMapNode = (props) => {
|
|
|
2357
2386
|
var GoogleMapNode_default = GoogleMapNode;
|
|
2358
2387
|
|
|
2359
2388
|
// src/components/pageRenderingEngine/nodes/DivContainer.tsx
|
|
2360
|
-
import { jsx as
|
|
2361
|
-
var Pagination = dynamic13(() => import("./Pagination-
|
|
2362
|
-
var DataBindingControls = dynamic13(() => import("./DataBindingControls-
|
|
2389
|
+
import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2390
|
+
var Pagination = dynamic13(() => import("./Pagination-V53JCR6P.mjs"), { ssr: true });
|
|
2391
|
+
var DataBindingControls = dynamic13(() => import("./DataBindingControls-UDRT7JFF.mjs"), {
|
|
2363
2392
|
ssr: true
|
|
2364
2393
|
});
|
|
2365
2394
|
var Slider = dynamic13(() => import("./Slider-QIGKP6AE.mjs"), {
|
|
@@ -2642,7 +2671,7 @@ var DivContainer = async (props) => {
|
|
|
2642
2671
|
}
|
|
2643
2672
|
const SelectedNode = NodeTypes2[node.type];
|
|
2644
2673
|
if (!SelectedNode) return null;
|
|
2645
|
-
return /* @__PURE__ */
|
|
2674
|
+
return /* @__PURE__ */ jsx37(React23.Fragment, { children: /* @__PURE__ */ jsx37(
|
|
2646
2675
|
SelectedNode,
|
|
2647
2676
|
{
|
|
2648
2677
|
node,
|
|
@@ -2734,7 +2763,7 @@ var DivContainer = async (props) => {
|
|
|
2734
2763
|
item,
|
|
2735
2764
|
idx,
|
|
2736
2765
|
props.href ? void 0 : item?.links?.view
|
|
2737
|
-
)?.map((child, i) => /* @__PURE__ */
|
|
2766
|
+
)?.map((child, i) => /* @__PURE__ */ jsx37(React23.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
|
|
2738
2767
|
);
|
|
2739
2768
|
}
|
|
2740
2769
|
return props.node.children.flatMap((node, childIndex) => {
|
|
@@ -2845,21 +2874,24 @@ var DivContainer = async (props) => {
|
|
|
2845
2874
|
!!props.node.enterAnimation && "enter-animation"
|
|
2846
2875
|
].filter(Boolean).join(" ");
|
|
2847
2876
|
const isRepeatedContainer = props.node.repeatForEachItem === true || props.node.replicate === true;
|
|
2877
|
+
const hasActiveFilter = Boolean(
|
|
2878
|
+
(props.query?.["$filter"] ?? props.query?.filter)?.trim()
|
|
2879
|
+
);
|
|
2848
2880
|
const showDataBindingControls = !isRepeatedContainer && Boolean(
|
|
2849
2881
|
dataBindingProperties?.showFacets || dataBindingProperties?.showSortOptions || dataBindingProperties?.showSearchBar
|
|
2850
2882
|
);
|
|
2851
2883
|
const WrapperComponent = Wrapper;
|
|
2852
|
-
const renderedContainer = /* @__PURE__ */
|
|
2884
|
+
const renderedContainer = /* @__PURE__ */ jsx37(
|
|
2853
2885
|
WrapperComponent,
|
|
2854
2886
|
{
|
|
2855
2887
|
id: guid,
|
|
2856
2888
|
style: combinedStyles,
|
|
2857
2889
|
className: classNames || void 0,
|
|
2858
2890
|
...wrapperProps,
|
|
2859
|
-
children: shouldShowNoDataMessage ? /* @__PURE__ */
|
|
2891
|
+
children: shouldShowNoDataMessage ? hasActiveFilter ? /* @__PURE__ */ jsx37(NoFilterResultsFound_default, {}) : /* @__PURE__ */ jsx37(NoDataFound_default, {}) : renderContainerChildren()
|
|
2860
2892
|
}
|
|
2861
2893
|
);
|
|
2862
|
-
const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */
|
|
2894
|
+
const paginationControl = dataBindingProperties?.enablePagination ? /* @__PURE__ */ jsx37(
|
|
2863
2895
|
Pagination,
|
|
2864
2896
|
{
|
|
2865
2897
|
path: props.path,
|
|
@@ -2867,15 +2899,15 @@ var DivContainer = async (props) => {
|
|
|
2867
2899
|
dataset: response
|
|
2868
2900
|
}
|
|
2869
2901
|
) : null;
|
|
2870
|
-
return /* @__PURE__ */
|
|
2871
|
-
/* @__PURE__ */
|
|
2902
|
+
return /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
|
|
2903
|
+
/* @__PURE__ */ jsx37(
|
|
2872
2904
|
"style",
|
|
2873
2905
|
{
|
|
2874
2906
|
dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
|
|
2875
2907
|
}
|
|
2876
2908
|
),
|
|
2877
|
-
showDataBindingControls ? /* @__PURE__ */
|
|
2878
|
-
/* @__PURE__ */
|
|
2909
|
+
showDataBindingControls ? /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
|
|
2910
|
+
/* @__PURE__ */ jsx37(
|
|
2879
2911
|
DataBindingControls,
|
|
2880
2912
|
{
|
|
2881
2913
|
mode: "toolbar",
|
|
@@ -2883,45 +2915,43 @@ var DivContainer = async (props) => {
|
|
|
2883
2915
|
query: props.query,
|
|
2884
2916
|
facets: response?.facets,
|
|
2885
2917
|
sortOptions: response?.sortOptions,
|
|
2918
|
+
showFacets: dataBindingProperties?.showFacets,
|
|
2886
2919
|
showSortOptions: dataBindingProperties?.showSortOptions,
|
|
2887
2920
|
showSearchBar: dataBindingProperties?.showSearchBar
|
|
2888
2921
|
}
|
|
2889
2922
|
),
|
|
2890
|
-
/* @__PURE__ */
|
|
2923
|
+
/* @__PURE__ */ jsxs15(
|
|
2891
2924
|
"div",
|
|
2892
2925
|
{
|
|
2893
2926
|
className: dataBindingProperties?.showFacets ? "grid items-start gap-6 lg:grid-cols-[minmax(0,1fr)_18rem]" : void 0,
|
|
2894
2927
|
children: [
|
|
2895
|
-
/* @__PURE__ */
|
|
2928
|
+
/* @__PURE__ */ jsxs15("div", { className: "min-w-0", children: [
|
|
2896
2929
|
renderedContainer,
|
|
2897
2930
|
paginationControl
|
|
2898
2931
|
] }),
|
|
2899
|
-
dataBindingProperties?.showFacets && /* @__PURE__ */
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
}
|
|
2910
|
-
)
|
|
2911
|
-
] })
|
|
2932
|
+
dataBindingProperties?.showFacets && /* @__PURE__ */ jsx37("aside", { className: " lg:sticky lg:top-[90px] lg:self-start", children: /* @__PURE__ */ jsx37(
|
|
2933
|
+
DataBindingControls,
|
|
2934
|
+
{
|
|
2935
|
+
mode: "facets",
|
|
2936
|
+
path: props.path,
|
|
2937
|
+
query: props.query,
|
|
2938
|
+
facets: response?.facets,
|
|
2939
|
+
showFacets: dataBindingProperties.showFacets
|
|
2940
|
+
}
|
|
2941
|
+
) })
|
|
2912
2942
|
]
|
|
2913
2943
|
}
|
|
2914
2944
|
)
|
|
2915
|
-
] }) : /* @__PURE__ */
|
|
2945
|
+
] }) : /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
|
|
2916
2946
|
renderedContainer,
|
|
2917
|
-
paginationControl && /* @__PURE__ */
|
|
2947
|
+
paginationControl && /* @__PURE__ */ jsx37("div", { children: paginationControl })
|
|
2918
2948
|
] })
|
|
2919
2949
|
] });
|
|
2920
2950
|
};
|
|
2921
2951
|
var DivContainer_default = DivContainer;
|
|
2922
2952
|
|
|
2923
2953
|
// src/components/pageRenderingEngine/PageBodyRenderer.tsx
|
|
2924
|
-
import { jsx as
|
|
2954
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2925
2955
|
var NodeTypes = {
|
|
2926
2956
|
["paragraph"]: ParagraphNode_default,
|
|
2927
2957
|
["heading"]: HeadingNode_default,
|
|
@@ -2959,14 +2989,14 @@ var PageBodyRenderer = (props) => {
|
|
|
2959
2989
|
}
|
|
2960
2990
|
return true;
|
|
2961
2991
|
};
|
|
2962
|
-
return /* @__PURE__ */
|
|
2992
|
+
return /* @__PURE__ */ jsx38(React24.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
|
|
2963
2993
|
{
|
|
2964
2994
|
}
|
|
2965
2995
|
const SelectedNode = NodeTypes[node.type];
|
|
2966
2996
|
if (!shouldRenderNode(node)) {
|
|
2967
2997
|
return null;
|
|
2968
2998
|
}
|
|
2969
|
-
return /* @__PURE__ */
|
|
2999
|
+
return /* @__PURE__ */ jsx38(React24.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx38(React24.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
|
|
2970
3000
|
SelectedNode,
|
|
2971
3001
|
{
|
|
2972
3002
|
node,
|
|
@@ -2982,7 +3012,7 @@ var PageBodyRenderer = (props) => {
|
|
|
2982
3012
|
device: props.device,
|
|
2983
3013
|
widgetRenderer: props.widgetRenderer
|
|
2984
3014
|
}
|
|
2985
|
-
) }) : /* @__PURE__ */
|
|
3015
|
+
) }) : /* @__PURE__ */ jsx38(React24.Fragment, { children: /* @__PURE__ */ jsx38(
|
|
2986
3016
|
SelectedNode,
|
|
2987
3017
|
{
|
|
2988
3018
|
node,
|