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
|
@@ -985,7 +985,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
985
985
|
* This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
|
|
986
986
|
Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
|
|
987
987
|
*/
|
|
988
|
-
.
|
|
988
|
+
._wrapper_1c9ty_13 {
|
|
989
989
|
--footer-height: 0px;
|
|
990
990
|
--header-height: 0px;
|
|
991
991
|
width: 100%;
|
|
@@ -995,138 +995,191 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
995
995
|
flex-direction: column;
|
|
996
996
|
isolation: isolate;
|
|
997
997
|
}
|
|
998
|
-
.
|
|
998
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 {
|
|
999
999
|
flex-direction: row;
|
|
1000
1000
|
overflow: initial;
|
|
1001
1001
|
}
|
|
1002
|
-
.
|
|
1002
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._contentWrapper_1c9ty_27 {
|
|
1003
1003
|
overflow: auto;
|
|
1004
1004
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1005
1005
|
position: relative;
|
|
1006
1006
|
scrollbar-gutter: stable both-edges;
|
|
1007
1007
|
}
|
|
1008
|
-
.
|
|
1008
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._navPanelWrapper_1c9ty_33 {
|
|
1009
1009
|
width: var(--xmlui-width-navPanel-App);
|
|
1010
1010
|
flex-shrink: 0;
|
|
1011
1011
|
}
|
|
1012
|
-
.
|
|
1012
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._PagesWrapper_1c9ty_37 {
|
|
1013
1013
|
min-height: initial;
|
|
1014
1014
|
flex: 1;
|
|
1015
1015
|
}
|
|
1016
|
-
.
|
|
1016
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23 ._footerWrapper_1c9ty_41 {
|
|
1017
1017
|
position: static;
|
|
1018
1018
|
}
|
|
1019
|
-
.
|
|
1019
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23._sticky_1c9ty_44 ._contentWrapper_1c9ty_27 {
|
|
1020
1020
|
scroll-padding-top: var(--header-height);
|
|
1021
1021
|
}
|
|
1022
|
-
.
|
|
1022
|
+
._wrapper_1c9ty_13._vertical_1c9ty_23._sticky_1c9ty_44 ._footerWrapper_1c9ty_41 {
|
|
1023
1023
|
position: sticky;
|
|
1024
1024
|
bottom: 0;
|
|
1025
1025
|
}
|
|
1026
|
-
.
|
|
1026
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 {
|
|
1027
1027
|
overflow: auto;
|
|
1028
1028
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1029
1029
|
}
|
|
1030
|
-
.
|
|
1030
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 ._PagesWrapper_1c9ty_37 {
|
|
1031
1031
|
min-height: initial;
|
|
1032
1032
|
}
|
|
1033
|
-
.
|
|
1033
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 ._footerWrapper_1c9ty_41 {
|
|
1034
1034
|
position: static;
|
|
1035
1035
|
}
|
|
1036
|
-
.
|
|
1036
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51._sticky_1c9ty_44 {
|
|
1037
1037
|
scroll-padding-top: var(--header-height);
|
|
1038
1038
|
min-height: 100%;
|
|
1039
1039
|
}
|
|
1040
|
-
.
|
|
1040
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51._sticky_1c9ty_44 ._footerWrapper_1c9ty_41 {
|
|
1041
1041
|
position: sticky;
|
|
1042
1042
|
bottom: 0;
|
|
1043
1043
|
}
|
|
1044
|
-
.
|
|
1044
|
+
._wrapper_1c9ty_13._horizontal_1c9ty_51 ._navPanelWrapper_1c9ty_33 {
|
|
1045
1045
|
border-bottom: var(--xmlui-borderBottom-AppHeader);
|
|
1046
1046
|
justify-content: end;
|
|
1047
1047
|
}
|
|
1048
|
-
.
|
|
1048
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 {
|
|
1049
1049
|
min-height: 100%;
|
|
1050
1050
|
height: 100%;
|
|
1051
1051
|
overflow: auto;
|
|
1052
1052
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1053
1053
|
}
|
|
1054
|
-
.
|
|
1054
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._navPanelWrapper_1c9ty_33 {
|
|
1055
1055
|
width: var(--xmlui-width-navPanel-App);
|
|
1056
1056
|
position: sticky;
|
|
1057
1057
|
height: calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));
|
|
1058
1058
|
top: var(--header-height);
|
|
1059
1059
|
}
|
|
1060
|
-
.
|
|
1060
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._PagesWrapper_1c9ty_37 {
|
|
1061
1061
|
overflow: initial;
|
|
1062
1062
|
min-height: calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));
|
|
1063
1063
|
height: 100%;
|
|
1064
1064
|
}
|
|
1065
|
-
.
|
|
1065
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._PagesWrapperInner_1c9ty_90 {
|
|
1066
1066
|
height: 100%;
|
|
1067
1067
|
}
|
|
1068
|
-
.
|
|
1068
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._PagesWrapperInner_1c9ty_90 > .xmlui-page-root {
|
|
1069
1069
|
height: 100%;
|
|
1070
1070
|
}
|
|
1071
|
-
.
|
|
1071
|
+
._wrapper_1c9ty_13._verticalFullHeader_1c9ty_73 ._footerWrapper_1c9ty_41 {
|
|
1072
1072
|
position: sticky;
|
|
1073
1073
|
left: 0;
|
|
1074
1074
|
right: 0;
|
|
1075
1075
|
bottom: 0;
|
|
1076
1076
|
}
|
|
1077
|
-
.
|
|
1077
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 {
|
|
1078
|
+
min-height: 100%;
|
|
1079
|
+
height: 100%;
|
|
1080
|
+
overflow: auto;
|
|
1081
|
+
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1082
|
+
}
|
|
1083
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._header_1c9ty_108 {
|
|
1084
|
+
max-width: var(--xmlui-maxWidth-App);
|
|
1085
|
+
margin: auto;
|
|
1086
|
+
}
|
|
1087
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._navPanelWrapper_1c9ty_33 {
|
|
1088
|
+
width: var(--xmlui-width-navPanel-App);
|
|
1089
|
+
position: sticky;
|
|
1090
|
+
height: calc(var(--containerHeight, 100vh) - var(--footer-height) - var(--header-height));
|
|
1091
|
+
top: var(--header-height);
|
|
1092
|
+
}
|
|
1093
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._PagesWrapper_1c9ty_37 {
|
|
1094
|
+
overflow: initial;
|
|
1095
|
+
min-height: calc(var(--containerHeight, 100vh) - var(--header-height) - var(--footer-height));
|
|
1096
|
+
height: 100%;
|
|
1097
|
+
}
|
|
1098
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._PagesWrapperInner_1c9ty_90 {
|
|
1099
|
+
height: 100%;
|
|
1100
|
+
}
|
|
1101
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._PagesWrapperInner_1c9ty_90 > .xmlui-page-root {
|
|
1102
|
+
height: 100%;
|
|
1103
|
+
}
|
|
1104
|
+
._wrapper_1c9ty_13._verticalConstrained_1c9ty_102 ._footerWrapper_1c9ty_41 {
|
|
1105
|
+
position: sticky;
|
|
1106
|
+
left: 0;
|
|
1107
|
+
right: 0;
|
|
1108
|
+
bottom: 0;
|
|
1109
|
+
}
|
|
1110
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 {
|
|
1078
1111
|
scrollbar-gutter: stable both-edges;
|
|
1079
1112
|
}
|
|
1080
|
-
.
|
|
1113
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._headerWrapper_1c9ty_138 {
|
|
1114
|
+
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1115
|
+
}
|
|
1116
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._headerWrapper_1c9ty_138 > div {
|
|
1117
|
+
padding-inline: var(--scrollbar-width);
|
|
1118
|
+
}
|
|
1119
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._footerWrapper_1c9ty_41 {
|
|
1081
1120
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1082
1121
|
}
|
|
1083
|
-
.
|
|
1122
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135 ._footerWrapper_1c9ty_41 > div {
|
|
1084
1123
|
padding-inline: var(--scrollbar-width);
|
|
1085
1124
|
}
|
|
1086
|
-
.
|
|
1125
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalFullHeader_1c9ty_73 {
|
|
1126
|
+
scroll-padding-top: var(--header-height);
|
|
1127
|
+
}
|
|
1128
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalFullHeader_1c9ty_73 ._content_1c9ty_27 {
|
|
1087
1129
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1088
1130
|
}
|
|
1089
|
-
.
|
|
1131
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalFullHeader_1c9ty_73 ._contentWrapper_1c9ty_27 {
|
|
1090
1132
|
padding-inline: var(--scrollbar-width);
|
|
1091
1133
|
}
|
|
1092
|
-
.
|
|
1134
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 {
|
|
1093
1135
|
scroll-padding-top: var(--header-height);
|
|
1094
1136
|
}
|
|
1095
|
-
.
|
|
1137
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._content_1c9ty_27 {
|
|
1138
|
+
width: var(--xmlui-maxWidth-App);
|
|
1096
1139
|
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1140
|
+
margin: auto;
|
|
1097
1141
|
}
|
|
1098
|
-
.
|
|
1142
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._contentWrapper_1c9ty_27 {
|
|
1099
1143
|
padding-inline: var(--scrollbar-width);
|
|
1100
1144
|
}
|
|
1101
|
-
.
|
|
1145
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._headerWrapper_1c9ty_138 > div {
|
|
1146
|
+
width: var(--xmlui-maxWidth-App);
|
|
1147
|
+
}
|
|
1148
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._footerWrapper_1c9ty_41 {
|
|
1149
|
+
margin-inline: calc(-1 * var(--scrollbar-width));
|
|
1150
|
+
}
|
|
1151
|
+
._wrapper_1c9ty_13._scrollWholePage_1c9ty_135._verticalConstrained_1c9ty_102 ._footerWrapper_1c9ty_41 > div {
|
|
1152
|
+
padding-inline: var(--scrollbar-width);
|
|
1153
|
+
}
|
|
1154
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) {
|
|
1102
1155
|
overflow: hidden;
|
|
1103
1156
|
}
|
|
1104
|
-
.
|
|
1157
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._content_1c9ty_27 {
|
|
1105
1158
|
min-height: 0;
|
|
1106
1159
|
height: 100%;
|
|
1107
1160
|
}
|
|
1108
|
-
.
|
|
1161
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._contentWrapper_1c9ty_27 {
|
|
1109
1162
|
overflow: initial;
|
|
1110
1163
|
}
|
|
1111
|
-
.
|
|
1164
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._PagesWrapper_1c9ty_37 {
|
|
1112
1165
|
overflow: auto;
|
|
1113
1166
|
scroll-padding-block: var(--xmlui-scroll-padding-block-Pages);
|
|
1114
1167
|
min-height: 0;
|
|
1115
1168
|
height: 100%;
|
|
1116
1169
|
scrollbar-gutter: stable both-edges;
|
|
1117
1170
|
}
|
|
1118
|
-
.
|
|
1171
|
+
._wrapper_1c9ty_13:not(._scrollWholePage_1c9ty_135) ._PagesWrapperInner_1c9ty_90 {
|
|
1119
1172
|
min-height: 100%;
|
|
1120
1173
|
height: 0;
|
|
1121
1174
|
}
|
|
1122
|
-
.
|
|
1175
|
+
._wrapper_1c9ty_13._noScrollbarGutters_1c9ty_200 {
|
|
1123
1176
|
scrollbar-gutter: auto;
|
|
1124
1177
|
}
|
|
1125
|
-
.
|
|
1178
|
+
._wrapper_1c9ty_13._noScrollbarGutters_1c9ty_200 ._PagesWrapper_1c9ty_37 {
|
|
1126
1179
|
scrollbar-gutter: auto;
|
|
1127
1180
|
}
|
|
1128
1181
|
|
|
1129
|
-
.
|
|
1182
|
+
._headerWrapper_1c9ty_138 {
|
|
1130
1183
|
z-index: 1;
|
|
1131
1184
|
min-height: 0;
|
|
1132
1185
|
flex-shrink: 0;
|
|
@@ -1135,17 +1188,17 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
1135
1188
|
box-shadow: var(--xmlui-boxShadow-header-App);
|
|
1136
1189
|
background-color: var(--xmlui-backgroundColor-AppHeader);
|
|
1137
1190
|
}
|
|
1138
|
-
.
|
|
1191
|
+
._headerWrapper_1c9ty_138._sticky_1c9ty_44 {
|
|
1139
1192
|
position: sticky;
|
|
1140
1193
|
}
|
|
1141
1194
|
|
|
1142
|
-
.
|
|
1195
|
+
._content_1c9ty_27 {
|
|
1143
1196
|
display: flex;
|
|
1144
1197
|
flex-direction: row;
|
|
1145
1198
|
isolation: isolate;
|
|
1146
1199
|
}
|
|
1147
1200
|
|
|
1148
|
-
.
|
|
1201
|
+
._contentWrapper_1c9ty_27 {
|
|
1149
1202
|
position: relative;
|
|
1150
1203
|
min-width: 0;
|
|
1151
1204
|
flex: 1;
|
|
@@ -1156,21 +1209,21 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
1156
1209
|
border-left: var(--xmlui-borderLeft-content-App);
|
|
1157
1210
|
}
|
|
1158
1211
|
|
|
1159
|
-
.
|
|
1212
|
+
._navPanelWrapper_1c9ty_33 {
|
|
1160
1213
|
display: flex;
|
|
1161
1214
|
position: sticky;
|
|
1162
1215
|
top: 0;
|
|
1163
1216
|
}
|
|
1164
|
-
.
|
|
1217
|
+
._navPanelWrapper_1c9ty_33:empty {
|
|
1165
1218
|
display: none;
|
|
1166
1219
|
}
|
|
1167
1220
|
|
|
1168
|
-
.
|
|
1221
|
+
._PagesWrapper_1c9ty_37 {
|
|
1169
1222
|
flex: 1;
|
|
1170
1223
|
isolation: isolate;
|
|
1171
1224
|
}
|
|
1172
1225
|
|
|
1173
|
-
.
|
|
1226
|
+
._PagesWrapperInner_1c9ty_90 {
|
|
1174
1227
|
--page-padding-left: var(--xmlui-space-4);
|
|
1175
1228
|
--page-padding-right: var(--xmlui-space-4);
|
|
1176
1229
|
--page-padding-top: var(--xmlui-space-5);
|
|
@@ -1188,7 +1241,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
1188
1241
|
display: flex;
|
|
1189
1242
|
flex-direction: column;
|
|
1190
1243
|
}
|
|
1191
|
-
.
|
|
1244
|
+
._PagesWrapperInner_1c9ty_90 > .xmlui-page-root {
|
|
1192
1245
|
padding-top: var(--page-padding-top-override, var(--page-padding-top));
|
|
1193
1246
|
padding-bottom: var(--page-padding-bottom-override, var(--page-padding-bottom));
|
|
1194
1247
|
padding-right: var(--page-padding-right-override, var(--page-padding-right));
|
|
@@ -1200,7 +1253,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
1200
1253
|
margin-right: calc(-1 * var(--page-padding-right));
|
|
1201
1254
|
}
|
|
1202
1255
|
|
|
1203
|
-
.
|
|
1256
|
+
._footerWrapper_1c9ty_41 {
|
|
1204
1257
|
flex-shrink: 0;
|
|
1205
1258
|
}/*
|
|
1206
1259
|
* This file contains all CSS variables AppEngine uses for styling the UI, including individual visual components.
|
|
@@ -15931,7 +15984,7 @@ li .htmlOl {
|
|
|
15931
15984
|
});
|
|
15932
15985
|
}
|
|
15933
15986
|
}
|
|
15934
|
-
var define_process_env_default$a = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.
|
|
15987
|
+
var define_process_env_default$a = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.17 (built 4/24/2025)" };
|
|
15935
15988
|
class Mutation extends Removable {
|
|
15936
15989
|
constructor(config) {
|
|
15937
15990
|
super();
|
|
@@ -32293,21 +32346,23 @@ ${error2.errorObject}`;
|
|
|
32293
32346
|
}, r2;
|
|
32294
32347
|
}(reactExports.Component);
|
|
32295
32348
|
W$4.propTypes = { base: PropTypes.object, bodyAttributes: PropTypes.object, children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]), defaultTitle: PropTypes.string, defer: PropTypes.bool, encodeSpecialCharacters: PropTypes.bool, htmlAttributes: PropTypes.object, link: PropTypes.arrayOf(PropTypes.object), meta: PropTypes.arrayOf(PropTypes.object), noscript: PropTypes.arrayOf(PropTypes.object), onChangeClientState: PropTypes.func, script: PropTypes.arrayOf(PropTypes.object), style: PropTypes.arrayOf(PropTypes.object), title: PropTypes.string, titleAttributes: PropTypes.object, titleTemplate: PropTypes.string, prioritizeSeoTags: PropTypes.bool, helmetData: PropTypes.object }, W$4.defaultProps = { defer: true, encodeSpecialCharacters: true, prioritizeSeoTags: false }, W$4.displayName = "Helmet";
|
|
32296
|
-
const themeVars$J = `'{"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)"}'`;
|
|
32297
|
-
const wrapper$e = "
|
|
32298
|
-
const vertical$4 = "
|
|
32299
|
-
const contentWrapper$1 = "
|
|
32300
|
-
const navPanelWrapper = "
|
|
32301
|
-
const PagesWrapper = "
|
|
32302
|
-
const footerWrapper = "
|
|
32303
|
-
const sticky = "
|
|
32304
|
-
const horizontal$5 = "
|
|
32305
|
-
const verticalFullHeader = "
|
|
32306
|
-
const PagesWrapperInner = "
|
|
32307
|
-
const
|
|
32308
|
-
const
|
|
32309
|
-
const
|
|
32310
|
-
const
|
|
32349
|
+
const themeVars$J = `'{"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)"}'`;
|
|
32350
|
+
const wrapper$e = "_wrapper_1c9ty_13";
|
|
32351
|
+
const vertical$4 = "_vertical_1c9ty_23";
|
|
32352
|
+
const contentWrapper$1 = "_contentWrapper_1c9ty_27";
|
|
32353
|
+
const navPanelWrapper = "_navPanelWrapper_1c9ty_33";
|
|
32354
|
+
const PagesWrapper = "_PagesWrapper_1c9ty_37";
|
|
32355
|
+
const footerWrapper = "_footerWrapper_1c9ty_41";
|
|
32356
|
+
const sticky = "_sticky_1c9ty_44";
|
|
32357
|
+
const horizontal$5 = "_horizontal_1c9ty_51";
|
|
32358
|
+
const verticalFullHeader = "_verticalFullHeader_1c9ty_73";
|
|
32359
|
+
const PagesWrapperInner = "_PagesWrapperInner_1c9ty_90";
|
|
32360
|
+
const verticalConstrained = "_verticalConstrained_1c9ty_102";
|
|
32361
|
+
const header$2 = "_header_1c9ty_108";
|
|
32362
|
+
const scrollWholePage = "_scrollWholePage_1c9ty_135";
|
|
32363
|
+
const headerWrapper$1 = "_headerWrapper_1c9ty_138";
|
|
32364
|
+
const content$4 = "_content_1c9ty_27";
|
|
32365
|
+
const noScrollbarGutters = "_noScrollbarGutters_1c9ty_200";
|
|
32311
32366
|
const styles$Y = {
|
|
32312
32367
|
themeVars: themeVars$J,
|
|
32313
32368
|
wrapper: wrapper$e,
|
|
@@ -32320,6 +32375,8 @@ ${error2.errorObject}`;
|
|
|
32320
32375
|
horizontal: horizontal$5,
|
|
32321
32376
|
verticalFullHeader,
|
|
32322
32377
|
PagesWrapperInner,
|
|
32378
|
+
verticalConstrained,
|
|
32379
|
+
header: header$2,
|
|
32323
32380
|
scrollWholePage,
|
|
32324
32381
|
headerWrapper: headerWrapper$1,
|
|
32325
32382
|
content: content$4,
|
|
@@ -35488,6 +35545,31 @@ ${error2.errorObject}`;
|
|
|
35488
35545
|
}
|
|
35489
35546
|
);
|
|
35490
35547
|
break;
|
|
35548
|
+
case "vertical-constrained-width":
|
|
35549
|
+
content2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
35550
|
+
"div",
|
|
35551
|
+
{
|
|
35552
|
+
className: classNames(wrapperBaseClasses, styles$Y.verticalConstrained),
|
|
35553
|
+
style: styleWithHelpers,
|
|
35554
|
+
ref: scrollPageContainerRef,
|
|
35555
|
+
children: [
|
|
35556
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
35557
|
+
"header",
|
|
35558
|
+
{
|
|
35559
|
+
className: classNames(styles$Y.headerWrapper, styles$Y.sticky),
|
|
35560
|
+
ref: headerRefCallback,
|
|
35561
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$Y.header, style: { paddingInline: 0 }, children: header2 })
|
|
35562
|
+
}
|
|
35563
|
+
),
|
|
35564
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$Y.content, children: [
|
|
35565
|
+
navPanelVisible && /* @__PURE__ */ jsxRuntimeExports.jsx("aside", { className: styles$Y.navPanelWrapper, children: navPanel }),
|
|
35566
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("main", { className: styles$Y.contentWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$Y.PagesWrapper, ref: noScrollPageContainerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ScrollContext.Provider, { value: scrollContainerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$Y.PagesWrapperInner, style: pagesWrapperInnerStyle, children }) }) }) })
|
|
35567
|
+
] }),
|
|
35568
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$Y.footerWrapper, ref: footerRefCallback, children: footer2 })
|
|
35569
|
+
]
|
|
35570
|
+
}
|
|
35571
|
+
);
|
|
35572
|
+
break;
|
|
35491
35573
|
case "condensed":
|
|
35492
35574
|
case "condensed-sticky":
|
|
35493
35575
|
content2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -35578,6 +35660,7 @@ ${error2.errorObject}`;
|
|
|
35578
35660
|
case "vertical":
|
|
35579
35661
|
case "vertical-sticky":
|
|
35580
35662
|
case "vertical-full-header":
|
|
35663
|
+
case "vertical-constrained-width":
|
|
35581
35664
|
return "vertical";
|
|
35582
35665
|
default:
|
|
35583
35666
|
return "horizontal";
|
|
@@ -44512,6 +44595,12 @@ ${error2.errorObject}`;
|
|
|
44512
44595
|
delete resultProps.radiusTopRight;
|
|
44513
44596
|
delete resultProps.radiusBottomLeft;
|
|
44514
44597
|
delete resultProps.radiusBottomRight;
|
|
44598
|
+
delete resultProps.paddingHorizontal;
|
|
44599
|
+
delete resultProps.paddingVertical;
|
|
44600
|
+
delete resultProps.marginHorizontal;
|
|
44601
|
+
delete resultProps.marginVertical;
|
|
44602
|
+
delete resultProps.borderHorizontal;
|
|
44603
|
+
delete resultProps.borderVertical;
|
|
44515
44604
|
return result;
|
|
44516
44605
|
}
|
|
44517
44606
|
function removeStylesFromProps(nodeProps, layoutCss = {}) {
|
|
@@ -51856,7 +51945,7 @@ ${error2.errorObject}`;
|
|
|
51856
51945
|
result.cssProps.flexShrink = 0;
|
|
51857
51946
|
}
|
|
51858
51947
|
collectCss("width");
|
|
51859
|
-
const horizontalStarSize =
|
|
51948
|
+
const horizontalStarSize = getHorizontalStarSize(result.cssProps.width, layoutContext);
|
|
51860
51949
|
if (horizontalStarSize !== null) {
|
|
51861
51950
|
result.cssProps.flex = horizontalStarSize;
|
|
51862
51951
|
result.cssProps.flexShrink = 1;
|
|
@@ -51864,7 +51953,7 @@ ${error2.errorObject}`;
|
|
|
51864
51953
|
collectCss("minWidth");
|
|
51865
51954
|
collectCss("maxWidth");
|
|
51866
51955
|
collectCss("height");
|
|
51867
|
-
const verticalStarSize =
|
|
51956
|
+
const verticalStarSize = getVerticalStarSize(result.cssProps.height, layoutContext);
|
|
51868
51957
|
if (verticalStarSize !== null) {
|
|
51869
51958
|
result.cssProps.flex = verticalStarSize;
|
|
51870
51959
|
result.cssProps.flexShrink = 1;
|
|
@@ -52048,12 +52137,12 @@ ${error2.errorObject}`;
|
|
|
52048
52137
|
result.cssProps[propCssName || prop] = value;
|
|
52049
52138
|
}
|
|
52050
52139
|
}
|
|
52051
|
-
function
|
|
52140
|
+
function getHorizontalStarSize(size2, layoutContext2) {
|
|
52052
52141
|
if (!size2) return null;
|
|
52053
52142
|
const orientation = getOrientation(layoutContext2);
|
|
52054
52143
|
return orientation === "horizontal" && starSizeRegex.test(size2.toString()) ? getStarSizeNumber(size2.toString()) : null;
|
|
52055
52144
|
}
|
|
52056
|
-
function
|
|
52145
|
+
function getVerticalStarSize(size2, layoutContext2) {
|
|
52057
52146
|
if (!size2) return null;
|
|
52058
52147
|
const orientation = getOrientation(layoutContext2);
|
|
52059
52148
|
return orientation === "vertical" && starSizeRegex.test(size2.toString()) ? getStarSizeNumber(size2.toString()) : null;
|
|
@@ -66848,7 +66937,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
66848
66937
|
},
|
|
66849
66938
|
"data-state": selected2 ? "checked" : void 0,
|
|
66850
66939
|
keywords,
|
|
66851
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$w.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
66940
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$w.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }, selectedValue, false) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
66852
66941
|
optionLabelRenderer ? optionLabelRenderer({ label: label2, value }) : label2,
|
|
66853
66942
|
selected2 && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { name: "checkmark" })
|
|
66854
66943
|
] }) })
|
|
@@ -66876,7 +66965,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
66876
66965
|
(option, ref) => {
|
|
66877
66966
|
const { value, label: label2, enabled: enabled2 = true } = option;
|
|
66878
66967
|
const { onOptionRemove, onOptionAdd } = useOption();
|
|
66879
|
-
const { optionLabelRenderer, optionRenderer } = useSelect();
|
|
66968
|
+
const { optionLabelRenderer, optionRenderer, value: selectedValue, multiSelect } = useSelect();
|
|
66880
66969
|
reactExports.useLayoutEffect(() => {
|
|
66881
66970
|
onOptionAdd(option);
|
|
66882
66971
|
return () => onOptionRemove(option);
|
|
@@ -66885,7 +66974,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
66885
66974
|
label: label2,
|
|
66886
66975
|
value,
|
|
66887
66976
|
enabled: enabled2
|
|
66888
|
-
}) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
66977
|
+
}, selectedValue, false) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
66889
66978
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { className: styles$w.selectItemContent, children: optionLabelRenderer ? optionLabelRenderer({ value, label: label2 }) : label2 }),
|
|
66890
66979
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$w.selectItemIndicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { name: "checkmark" }) }) })
|
|
66891
66980
|
] }) }) });
|
|
@@ -126033,12 +126122,16 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
126033
126122
|
}
|
|
126034
126123
|
);
|
|
126035
126124
|
} : void 0,
|
|
126036
|
-
optionRenderer: node2.props.optionTemplate ? (item2) => {
|
|
126125
|
+
optionRenderer: node2.props.optionTemplate ? (item2, val, inTrigger) => {
|
|
126037
126126
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
126038
126127
|
MemoizedItem,
|
|
126039
126128
|
{
|
|
126040
126129
|
node: node2.props.optionTemplate,
|
|
126041
126130
|
item: item2,
|
|
126131
|
+
contextVars: {
|
|
126132
|
+
$selectedValue: val,
|
|
126133
|
+
$inTrigger: inTrigger
|
|
126134
|
+
},
|
|
126042
126135
|
renderChild: (...args) => /* @__PURE__ */ jsxRuntimeExports.jsx(SelectItemText, { children: renderChild2(...args) })
|
|
126043
126136
|
}
|
|
126044
126137
|
);
|
|
@@ -132787,7 +132880,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
132787
132880
|
const InspectorContext = reactExports.createContext(null);
|
|
132788
132881
|
function InspectorProvider({
|
|
132789
132882
|
children,
|
|
132790
|
-
sources
|
|
132883
|
+
sources,
|
|
132884
|
+
projectCompilation
|
|
132791
132885
|
}) {
|
|
132792
132886
|
const { root: root2 } = useTheme();
|
|
132793
132887
|
const [inspectable, setInspectable] = reactExports.useState({});
|
|
@@ -132837,9 +132931,10 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
132837
132931
|
setDevToolsSize,
|
|
132838
132932
|
devToolsSide,
|
|
132839
132933
|
setDevToolsSide,
|
|
132840
|
-
devToolsEnabled: showCode
|
|
132934
|
+
devToolsEnabled: showCode,
|
|
132935
|
+
projectCompilation
|
|
132841
132936
|
};
|
|
132842
|
-
}, [devToolsSide, devToolsSize, sources, inspectedNode, showCode]);
|
|
132937
|
+
}, [devToolsSide, devToolsSize, sources, inspectedNode, showCode, projectCompilation]);
|
|
132843
132938
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(InspectorContext.Provider, { value: contextValue2, children: [
|
|
132844
132939
|
children,
|
|
132845
132940
|
define_process_env_default$7.VITE_USER_COMPONENTS_Inspect !== "false" && showCode && inspectedNode !== null && reactDomExports.createPortal(devToolsEntry == null ? void 0 : devToolsEntry.renderer({}), root2),
|
|
@@ -132950,6 +133045,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
132950
133045
|
function useDevTools() {
|
|
132951
133046
|
const context = reactExports.useContext(InspectorContext);
|
|
132952
133047
|
return {
|
|
133048
|
+
projectCompilation: context == null ? void 0 : context.projectCompilation,
|
|
132953
133049
|
inspectedNode: context == null ? void 0 : context.inspectedNode,
|
|
132954
133050
|
sources: context == null ? void 0 : context.sources,
|
|
132955
133051
|
setIsOpen: context == null ? void 0 : context.setIsOpen,
|
|
@@ -133868,17 +133964,17 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
133868
133964
|
loaderInProgressChanged: loaderInProgressChanged2,
|
|
133869
133965
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
133870
133966
|
loaderError: loaderError2,
|
|
133871
|
-
transformResult
|
|
133967
|
+
transformResult,
|
|
133968
|
+
structuralSharing = true
|
|
133872
133969
|
}) {
|
|
133873
133970
|
const { uid } = loader;
|
|
133874
133971
|
const appContext = useAppContext();
|
|
133875
|
-
const
|
|
133876
|
-
const { data, status, isFetching, error: error2, refetch } = useQuery({
|
|
133972
|
+
const { data, status, isFetching, error: error2, refetch, isRefetching } = useQuery({
|
|
133877
133973
|
queryKey: reactExports.useMemo(
|
|
133878
133974
|
() => queryId ? queryId : [uid, extractParam(state, loader.props, appContext)],
|
|
133879
133975
|
[appContext, loader.props, queryId, state, uid]
|
|
133880
133976
|
),
|
|
133881
|
-
structuralSharing
|
|
133977
|
+
structuralSharing,
|
|
133882
133978
|
queryFn: reactExports.useCallback(
|
|
133883
133979
|
async ({ signal }) => {
|
|
133884
133980
|
try {
|
|
@@ -133914,7 +134010,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
133914
134010
|
let intervalId;
|
|
133915
134011
|
if (pollIntervalInSeconds) {
|
|
133916
134012
|
intervalId = setInterval(() => {
|
|
133917
|
-
setIsRefetching(true);
|
|
133918
134013
|
refetch();
|
|
133919
134014
|
}, pollIntervalInSeconds * 1e3);
|
|
133920
134015
|
}
|
|
@@ -133937,11 +134032,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
133937
134032
|
loaderLoaded2(data);
|
|
133938
134033
|
setTimeout(() => {
|
|
133939
134034
|
onLoaded == null ? void 0 : onLoaded(data, isRefetching);
|
|
133940
|
-
setIsRefetching(false);
|
|
133941
134035
|
}, 0);
|
|
133942
134036
|
} else if (status === "error" && error2 !== prevError) {
|
|
133943
134037
|
loaderError2(error2);
|
|
133944
|
-
setIsRefetching(false);
|
|
133945
134038
|
}
|
|
133946
134039
|
}, [data, error2, loaderError2, loaderLoaded2, onLoaded, prevData, prevError, status, isRefetching]);
|
|
133947
134040
|
reactExports.useLayoutEffect(() => {
|
|
@@ -133952,7 +134045,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
133952
134045
|
reactExports.useEffect(() => {
|
|
133953
134046
|
registerComponentApi == null ? void 0 : registerComponentApi({
|
|
133954
134047
|
refetch: async (options2) => {
|
|
133955
|
-
setIsRefetching(true);
|
|
133956
134048
|
refetch(options2);
|
|
133957
134049
|
},
|
|
133958
134050
|
update: async (updater) => {
|
|
@@ -133993,14 +134085,15 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
133993
134085
|
}, [appContext.queryClient, queryId, refetch, registerComponentApi, data]);
|
|
133994
134086
|
return null;
|
|
133995
134087
|
}
|
|
133996
|
-
function ApiLoader
|
|
134088
|
+
function ApiLoader({
|
|
133997
134089
|
loader,
|
|
133998
134090
|
loaderInProgressChanged: loaderInProgressChanged2,
|
|
133999
134091
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134000
134092
|
loaderLoaded: loaderLoaded2,
|
|
134001
134093
|
loaderError: loaderError2,
|
|
134002
134094
|
state,
|
|
134003
|
-
doNotRemoveNulls
|
|
134095
|
+
doNotRemoveNulls,
|
|
134096
|
+
structuralSharing = true
|
|
134004
134097
|
}) {
|
|
134005
134098
|
const appContext = useAppContext();
|
|
134006
134099
|
const url = extractParam(state, loader.props.url, appContext);
|
|
@@ -134028,7 +134121,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134028
134121
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134029
134122
|
loaderLoaded: loaderLoaded2,
|
|
134030
134123
|
loaderError: loaderError2,
|
|
134031
|
-
loaderFn: doLoad
|
|
134124
|
+
loaderFn: doLoad,
|
|
134125
|
+
structuralSharing
|
|
134032
134126
|
}
|
|
134033
134127
|
);
|
|
134034
134128
|
}
|
|
@@ -134043,7 +134137,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134043
134137
|
"ApiLoader",
|
|
134044
134138
|
({ loader, state, loaderInProgressChanged: loaderInProgressChanged2, loaderIsRefetchingChanged: loaderIsRefetchingChanged2, loaderLoaded: loaderLoaded2, loaderError: loaderError2 }) => {
|
|
134045
134139
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
134046
|
-
ApiLoader
|
|
134140
|
+
ApiLoader,
|
|
134047
134141
|
{
|
|
134048
134142
|
loader,
|
|
134049
134143
|
state,
|
|
@@ -134063,7 +134157,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134063
134157
|
loaderError: loaderError2,
|
|
134064
134158
|
loaderLoaded: loaderLoaded2,
|
|
134065
134159
|
state,
|
|
134066
|
-
doNotRemoveNulls
|
|
134160
|
+
doNotRemoveNulls,
|
|
134161
|
+
structuralSharing = true
|
|
134067
134162
|
}) {
|
|
134068
134163
|
const appContext = useAppContext();
|
|
134069
134164
|
const method = extractParam(state, loader.props.method, appContext);
|
|
@@ -134098,7 +134193,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134098
134193
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134099
134194
|
loaderLoaded: loaderLoaded2,
|
|
134100
134195
|
loaderError: loaderError2,
|
|
134101
|
-
loaderFn: doLoad
|
|
134196
|
+
loaderFn: doLoad,
|
|
134197
|
+
structuralSharing
|
|
134102
134198
|
}
|
|
134103
134199
|
);
|
|
134104
134200
|
}
|
|
@@ -134128,13 +134224,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134128
134224
|
},
|
|
134129
134225
|
ExternalDataLoaderMd
|
|
134130
134226
|
);
|
|
134131
|
-
function
|
|
134227
|
+
function MockLoader({
|
|
134132
134228
|
loader,
|
|
134133
134229
|
loaderInProgressChanged: loaderInProgressChanged2,
|
|
134134
134230
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134135
134231
|
loaderError: loaderError2,
|
|
134136
134232
|
loaderLoaded: loaderLoaded2,
|
|
134137
|
-
state
|
|
134233
|
+
state,
|
|
134234
|
+
structuralSharing
|
|
134138
134235
|
}) {
|
|
134139
134236
|
const appContext = useAppContext();
|
|
134140
134237
|
const waitTime = extractParam(state, loader.props.waitTime, appContext);
|
|
@@ -134152,7 +134249,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134152
134249
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134153
134250
|
loaderLoaded: loaderLoaded2,
|
|
134154
134251
|
loaderError: loaderError2,
|
|
134155
|
-
loaderFn: doLoad
|
|
134252
|
+
loaderFn: doLoad,
|
|
134253
|
+
structuralSharing
|
|
134156
134254
|
}
|
|
134157
134255
|
);
|
|
134158
134256
|
}
|
|
@@ -134167,7 +134265,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134167
134265
|
"MockLoader",
|
|
134168
134266
|
({ loader, state, loaderInProgressChanged: loaderInProgressChanged2, loaderLoaded: loaderLoaded2, loaderError: loaderError2 }) => {
|
|
134169
134267
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
134170
|
-
|
|
134268
|
+
MockLoader,
|
|
134171
134269
|
{
|
|
134172
134270
|
loader,
|
|
134173
134271
|
state,
|
|
@@ -134612,7 +134710,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134612
134710
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134613
134711
|
loaderLoaded: loaderLoaded2,
|
|
134614
134712
|
loaderError: loaderError2,
|
|
134615
|
-
transformResult
|
|
134713
|
+
transformResult,
|
|
134714
|
+
structuralSharing = true
|
|
134616
134715
|
}) {
|
|
134617
134716
|
const { uid } = loader;
|
|
134618
134717
|
const appContext = useAppContext();
|
|
@@ -134621,7 +134720,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134621
134720
|
[appContext, loader.props, queryId, state, uid]
|
|
134622
134721
|
);
|
|
134623
134722
|
const thizRef = reactExports.useRef(queryKey);
|
|
134624
|
-
const [isRefetching, setIsRefetching] = reactExports.useState(false);
|
|
134625
134723
|
const getPreviousPageParam2 = reactExports.useCallback(
|
|
134626
134724
|
(firstPage) => {
|
|
134627
134725
|
let prevPageParam = void 0;
|
|
@@ -134671,7 +134769,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134671
134769
|
isFetching,
|
|
134672
134770
|
refetch,
|
|
134673
134771
|
fetchPreviousPage,
|
|
134674
|
-
fetchNextPage
|
|
134772
|
+
fetchNextPage,
|
|
134773
|
+
isRefetching
|
|
134675
134774
|
} = useInfiniteQuery({
|
|
134676
134775
|
queryKey,
|
|
134677
134776
|
queryFn: reactExports.useCallback(
|
|
@@ -134680,6 +134779,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134680
134779
|
},
|
|
134681
134780
|
[loaderFn]
|
|
134682
134781
|
),
|
|
134782
|
+
structuralSharing,
|
|
134683
134783
|
select: reactExports.useCallback(
|
|
134684
134784
|
(data2) => {
|
|
134685
134785
|
let result = [];
|
|
@@ -134739,11 +134839,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134739
134839
|
loaderLoaded2(data, pageInfo);
|
|
134740
134840
|
setTimeout(() => {
|
|
134741
134841
|
onLoaded == null ? void 0 : onLoaded(data, isRefetching);
|
|
134742
|
-
setIsRefetching(false);
|
|
134743
134842
|
}, 0);
|
|
134744
134843
|
} else if (status === "error" && prevError !== error2) {
|
|
134745
134844
|
loaderError2(error2);
|
|
134746
|
-
setIsRefetching(false);
|
|
134747
134845
|
}
|
|
134748
134846
|
}, [
|
|
134749
134847
|
data,
|
|
@@ -134761,7 +134859,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134761
134859
|
let intervalId;
|
|
134762
134860
|
if (pollIntervalInSeconds) {
|
|
134763
134861
|
intervalId = setInterval(() => {
|
|
134764
|
-
setIsRefetching(true);
|
|
134765
134862
|
refetch();
|
|
134766
134863
|
}, pollIntervalInSeconds * 1e3);
|
|
134767
134864
|
}
|
|
@@ -134782,7 +134879,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134782
134879
|
fetchPrevPage,
|
|
134783
134880
|
fetchNextPage: stableFetchNextPage,
|
|
134784
134881
|
refetch: async (options2) => {
|
|
134785
|
-
setIsRefetching(true);
|
|
134786
134882
|
refetch(options2);
|
|
134787
134883
|
},
|
|
134788
134884
|
update: async (updater) => {
|
|
@@ -134849,7 +134945,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
134849
134945
|
loaderIsRefetchingChanged: loaderIsRefetchingChanged2,
|
|
134850
134946
|
loaderLoaded: loaderLoaded2,
|
|
134851
134947
|
loaderError: loaderError2,
|
|
134852
|
-
transformResult
|
|
134948
|
+
transformResult,
|
|
134949
|
+
structuralSharing = true
|
|
134853
134950
|
}) {
|
|
134854
134951
|
const appContext = useAppContext();
|
|
134855
134952
|
const url = extractParam(state, loader.props.url, appContext);
|
|
@@ -135109,7 +135206,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
135109
135206
|
registerComponentApi,
|
|
135110
135207
|
pollIntervalInSeconds,
|
|
135111
135208
|
onLoaded,
|
|
135112
|
-
transformResult
|
|
135209
|
+
transformResult,
|
|
135210
|
+
structuralSharing
|
|
135113
135211
|
},
|
|
135114
135212
|
queryId == null ? void 0 : queryId.join("")
|
|
135115
135213
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -135126,7 +135224,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
135126
135224
|
pollIntervalInSeconds,
|
|
135127
135225
|
registerComponentApi,
|
|
135128
135226
|
onLoaded,
|
|
135129
|
-
transformResult
|
|
135227
|
+
transformResult,
|
|
135228
|
+
structuralSharing
|
|
135130
135229
|
},
|
|
135131
135230
|
queryId == null ? void 0 : queryId.join("")
|
|
135132
135231
|
);
|
|
@@ -135148,7 +135247,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
135148
135247
|
completedNotificationMessage: d$5("The message to show when the loader completes"),
|
|
135149
135248
|
errorNotificationMessage: d$5("The message to show when an error occurs"),
|
|
135150
135249
|
transformResult: d$5("Function for transforming the datasource result"),
|
|
135151
|
-
dataType: d$5("Type of data to fetch (default: json, or csv, or sql)")
|
|
135250
|
+
dataType: d$5("Type of data to fetch (default: json, or csv, or sql)"),
|
|
135251
|
+
structuralSharing: d$5("Whether to use structural sharing for the data")
|
|
135152
135252
|
},
|
|
135153
135253
|
events: {
|
|
135154
135254
|
loaded: d$5("Event to trigger when the data is loaded"),
|
|
@@ -135166,7 +135266,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
135166
135266
|
loaderError: loaderError2,
|
|
135167
135267
|
registerComponentApi,
|
|
135168
135268
|
lookupAction,
|
|
135169
|
-
lookupSyncCallback
|
|
135269
|
+
lookupSyncCallback,
|
|
135270
|
+
extractValue
|
|
135170
135271
|
}) => {
|
|
135171
135272
|
var _a3, _b2, _c2;
|
|
135172
135273
|
if (!((_a3 = loader.props) == null ? void 0 : _a3.url) || !loader.props.url.trim()) {
|
|
@@ -135184,7 +135285,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
135184
135285
|
registerComponentApi,
|
|
135185
135286
|
transformResult: lookupSyncCallback(loader.props.transformResult),
|
|
135186
135287
|
onLoaded: lookupAction((_b2 = loader.events) == null ? void 0 : _b2.loaded, { eventName: "loaded" }),
|
|
135187
|
-
onError: lookupAction((_c2 = loader.events) == null ? void 0 : _c2.error, { eventName: "error" })
|
|
135288
|
+
onError: lookupAction((_c2 = loader.events) == null ? void 0 : _c2.error, { eventName: "error" }),
|
|
135289
|
+
structuralSharing: extractValue.asOptionalBoolean(loader.props.structuralSharing)
|
|
135188
135290
|
}
|
|
135189
135291
|
);
|
|
135190
135292
|
},
|
|
@@ -143865,7 +143967,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
143865
143967
|
/* @__PURE__ */ jsxRuntimeExports.jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
143866
143968
|
] });
|
|
143867
143969
|
}
|
|
143868
|
-
const version = "0.9.
|
|
143970
|
+
const version = "0.9.17";
|
|
143869
143971
|
const ApiInterceptorContext = reactExports.createContext(null);
|
|
143870
143972
|
function useApiInterceptorContext() {
|
|
143871
143973
|
return reactExports.useContext(ApiInterceptorContext);
|
|
@@ -147531,7 +147633,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
147531
147633
|
return nodeValue ?? "";
|
|
147532
147634
|
}
|
|
147533
147635
|
if (node2.type === "TextNode") {
|
|
147534
|
-
|
|
147636
|
+
const extractedValue = extractParam(state, nodeValue, appContext, true);
|
|
147637
|
+
return typeof extractedValue === "boolean" ? extractedValue.toString() : extractedValue;
|
|
147535
147638
|
}
|
|
147536
147639
|
if (node2.type === "Slot") {
|
|
147537
147640
|
let slotChildren;
|
|
@@ -147981,7 +148084,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
147981
148084
|
resources,
|
|
147982
148085
|
resourceMap,
|
|
147983
148086
|
sources,
|
|
147984
|
-
children
|
|
148087
|
+
children,
|
|
148088
|
+
projectCompilation
|
|
147985
148089
|
}) => {
|
|
147986
148090
|
if (previewMode) {
|
|
147987
148091
|
q$1.canUseDOM = false;
|
|
@@ -148000,7 +148104,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
148000
148104
|
defaultTheme,
|
|
148001
148105
|
defaultTone,
|
|
148002
148106
|
resources,
|
|
148003
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(InspectorProvider, { sources, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConfirmationModalContextProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
148107
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(InspectorProvider, { sources, projectCompilation, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConfirmationModalContextProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
148004
148108
|
AppContent,
|
|
148005
148109
|
{
|
|
148006
148110
|
rootContainer: node2,
|
|
@@ -148623,6 +148727,10 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
148623
148727
|
},
|
|
148624
148728
|
nextPageSelector: {
|
|
148625
148729
|
description: `When using \`${COMP}\` 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.`
|
|
148730
|
+
},
|
|
148731
|
+
structuralSharing: {
|
|
148732
|
+
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`.",
|
|
148733
|
+
defaultValue: "true"
|
|
148626
148734
|
}
|
|
148627
148735
|
},
|
|
148628
148736
|
events: {
|
|
@@ -148632,7 +148740,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
148632
148740
|
error: d$5(`This event fires when a request results in an error.`)
|
|
148633
148741
|
},
|
|
148634
148742
|
apis: {
|
|
148635
|
-
value: d$5(
|
|
148743
|
+
value: d$5(
|
|
148744
|
+
"This property retrieves the data queried from the source after optional transformations."
|
|
148745
|
+
),
|
|
148636
148746
|
inProgress: d$5("This property indicates if the data is being fetched."),
|
|
148637
148747
|
isRefetching: d$5("This property indicates if the data is being re-fetched."),
|
|
148638
148748
|
loaded: d$5("This property indicates if the data has been loaded."),
|
|
@@ -148838,7 +148948,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
148838
148948
|
ToneChangerButton: ToneChangerButtonMd,
|
|
148839
148949
|
Tree: TreeMd
|
|
148840
148950
|
};
|
|
148841
|
-
var define_process_env_default$2 = { VITE_XMLUI_VERSION: "0.9.
|
|
148951
|
+
var define_process_env_default$2 = { VITE_XMLUI_VERSION: "0.9.17 (built 4/24/2025)" };
|
|
148842
148952
|
const MAIN_FILE = "Main." + componentFileExtension;
|
|
148843
148953
|
const MAIN_CODE_BEHIND_FILE = "Main." + codeBehindFileExtension;
|
|
148844
148954
|
const CONFIG_FILE = "config.json";
|
|
@@ -153276,7 +153386,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
153276
153386
|
function isResponseWithoutBody(status) {
|
|
153277
153387
|
return RESPONSE_STATUS_CODES_WITHOUT_BODY.has(status);
|
|
153278
153388
|
}
|
|
153279
|
-
var define_process_env_default$1 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.
|
|
153389
|
+
var define_process_env_default$1 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.17 (built 4/24/2025)" };
|
|
153280
153390
|
var __defProp$7 = Object.defineProperty;
|
|
153281
153391
|
var __export = (target2, all2) => {
|
|
153282
153392
|
for (var name2 in all2)
|