@opengeoweb/shared 10.1.0 → 10.2.0
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/index.esm.js
CHANGED
|
@@ -3939,10 +3939,13 @@ var CustomAccordion = function CustomAccordion(_ref) {
|
|
|
3939
3939
|
return setExpanded(expanded);
|
|
3940
3940
|
},
|
|
3941
3941
|
disableGutters: disableGutters,
|
|
3942
|
-
|
|
3943
|
-
|
|
3942
|
+
slotProps: {
|
|
3943
|
+
transition: {
|
|
3944
|
+
timeout: transitionDuration
|
|
3945
|
+
}
|
|
3944
3946
|
},
|
|
3945
3947
|
children: [jsx(AccordionSummary, {
|
|
3948
|
+
component: "div",
|
|
3946
3949
|
expandIcon: CustomExpandIcon ? jsx(CustomExpandIcon, {
|
|
3947
3950
|
style: {
|
|
3948
3951
|
fill: "" + iconColor
|
|
@@ -4838,18 +4841,8 @@ var FilterOption = function FilterOption(_ref) {
|
|
|
4838
4841
|
})
|
|
4839
4842
|
}), jsx(ListItemText, {
|
|
4840
4843
|
id: optionId,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
margin: 0
|
|
4844
|
-
},
|
|
4845
|
-
primary: jsx(Typography, {
|
|
4846
|
-
variant: "body2",
|
|
4847
|
-
sx: Object.assign({
|
|
4848
|
-
fontSize: '16px',
|
|
4849
|
-
textOverflow: 'ellipsis',
|
|
4850
|
-
whiteSpace: 'nowrap',
|
|
4851
|
-
overflow: 'hidden'
|
|
4852
|
-
}, labelStyle),
|
|
4844
|
+
primary: jsx(Box, {
|
|
4845
|
+
sx: Object.assign({}, labelStyle),
|
|
4853
4846
|
children: label
|
|
4854
4847
|
})
|
|
4855
4848
|
})]
|
package/package.json
CHANGED
package/src/lib/types/types.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface ConfigType {
|
|
|
22
22
|
GW_DRAWINGS_BASE_URL?: string;
|
|
23
23
|
GW_TECHNICAL_RELEASE_NOTES_URL?: string;
|
|
24
24
|
GW_VERSION_PROGRESS_NOTES_URL?: string;
|
|
25
|
+
GW_LOCATION_BASE_URL?: string;
|
|
25
26
|
GW_FEATURE_APP_TITLE?: string;
|
|
26
27
|
GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
|
|
27
28
|
GW_FEATURE_MODULE_SPACE_WEATHER?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
2
|
export declare const DEFAULT_ERROR_MESSAGE = "An error has occurred";
|
|
3
|
-
export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError
|
|
3
|
+
export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError<unknown, any>;
|
|
4
4
|
export declare const isAxiosAuthError: (error: AxiosError | Error) => boolean;
|
|
5
5
|
export declare const getAxiosErrorMessage: (error: AxiosError) => string;
|
|
6
6
|
export declare const getErrorMessage: (error: Error | AxiosError) => string;
|