@opengeoweb/shared 9.0.0 → 9.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
|
@@ -332,6 +332,7 @@ var CustomIconButton = /*#__PURE__*/React$1.forwardRef(function (_a, ref) {
|
|
|
332
332
|
size: size,
|
|
333
333
|
className: classNames,
|
|
334
334
|
ref: ref,
|
|
335
|
+
"aria-pressed": isSelected,
|
|
335
336
|
sx: Object.assign(Object.assign({}, props.sx), shouldShowAsDisabled && {
|
|
336
337
|
'&.MuiIconButton-root': {
|
|
337
338
|
color: "geowebColors.iconButtons.".concat(variant, ".disabled.color")
|
|
@@ -22506,7 +22507,8 @@ var DraggableComponent = function DraggableComponent(_a) {
|
|
|
22506
22507
|
}),
|
|
22507
22508
|
ref: nodeRef,
|
|
22508
22509
|
className: "toolContainerDraggable",
|
|
22509
|
-
role: "dialog"
|
|
22510
|
+
role: "dialog",
|
|
22511
|
+
"aria-label": title
|
|
22510
22512
|
}, /*#__PURE__*/React__default.createElement(ResizeComponent, Object.assign({}, props, {
|
|
22511
22513
|
size: size,
|
|
22512
22514
|
setSize: setSize,
|
|
@@ -24500,8 +24502,9 @@ var CustomAccordion = function CustomAccordion(_a) {
|
|
|
24500
24502
|
_a$transitionDuration = _a.transitionDuration,
|
|
24501
24503
|
transitionDuration = _a$transitionDuration === void 0 ? 150 : _a$transitionDuration,
|
|
24502
24504
|
detailsSx = _a.detailsSx,
|
|
24505
|
+
CustomExpandIcon = _a.CustomExpandIcon,
|
|
24503
24506
|
children = _a.children,
|
|
24504
|
-
props = __rest(_a, ["title", "defaultExpanded", "disableGutters", "expandedElevation", "collapsedElevation", "transitionDuration", "detailsSx", "children"]);
|
|
24507
|
+
props = __rest(_a, ["title", "defaultExpanded", "disableGutters", "expandedElevation", "collapsedElevation", "transitionDuration", "detailsSx", "CustomExpandIcon", "children"]);
|
|
24505
24508
|
var _React$useState = React$1.useState(defaultExpanded),
|
|
24506
24509
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
24507
24510
|
expanded = _React$useState2[0],
|
|
@@ -24517,7 +24520,7 @@ var CustomAccordion = function CustomAccordion(_a) {
|
|
|
24517
24520
|
timeout: transitionDuration
|
|
24518
24521
|
}
|
|
24519
24522
|
}), /*#__PURE__*/React$1.createElement(AccordionSummary, {
|
|
24520
|
-
expandIcon: /*#__PURE__*/React$1.createElement(ChevronDown, null)
|
|
24523
|
+
expandIcon: CustomExpandIcon ? /*#__PURE__*/React$1.createElement(CustomExpandIcon, null) : /*#__PURE__*/React$1.createElement(ChevronDown, null)
|
|
24521
24524
|
}, title), /*#__PURE__*/React$1.createElement(AccordionDetails, {
|
|
24522
24525
|
sx: detailsSx
|
|
24523
24526
|
}, children));
|
package/package.json
CHANGED
|
@@ -6,5 +6,6 @@ export interface CustomAccordionProps extends Omit<AccordionProps, 'title'> {
|
|
|
6
6
|
collapsedElevation?: number;
|
|
7
7
|
transitionDuration?: number;
|
|
8
8
|
detailsSx?: SxProps<Theme>;
|
|
9
|
+
CustomExpandIcon?: React.ElementType;
|
|
9
10
|
}
|
|
10
11
|
export declare const CustomAccordion: React.FC<CustomAccordionProps>;
|
package/src/lib/types/types.d.ts
CHANGED
|
@@ -27,6 +27,16 @@ export interface ConfigType {
|
|
|
27
27
|
GW_FEATURE_MENU_USER_DOCUMENTATION_URL?: string;
|
|
28
28
|
GW_FEATURE_MENU_VERSION?: boolean;
|
|
29
29
|
GW_FEATURE_MENU_FE_VERSION?: boolean;
|
|
30
|
-
|
|
30
|
+
GW_FEATURE_DISPLAY_SEARCH_ON_MAP?: boolean;
|
|
31
31
|
GW_LANGUAGE?: string;
|
|
32
32
|
}
|
|
33
|
+
export interface TimeSeriesService {
|
|
34
|
+
id: string;
|
|
35
|
+
description: string;
|
|
36
|
+
url: string;
|
|
37
|
+
type: ServiceInterface;
|
|
38
|
+
name: string;
|
|
39
|
+
scope?: TimeseriesServiceScope;
|
|
40
|
+
}
|
|
41
|
+
export type ServiceInterface = 'EDR' | 'OGC';
|
|
42
|
+
export type TimeseriesServiceScope = 'user' | 'system';
|