robbyson-frontend-library 1.0.90 → 1.0.91
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.
|
@@ -14,7 +14,7 @@ var HEADER_HEIGHT_DESKTOP = 40;
|
|
|
14
14
|
var HEADER_HEIGHT_MOBILE = 91;
|
|
15
15
|
var HEADER_HEIGHT_CUSTOM_PAGE = 40;
|
|
16
16
|
export var SidebarPadding = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-left: calc(", "px + 55px);\n height: calc(100vh + 8px);\n"], ["\n padding-left: calc(", "px + 55px);\n height: calc(100vh + 8px);\n"])), SIDEBAR_WIDTH);
|
|
17
|
-
export var PageContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 32px 55px 0px calc(", "px + 55px);\n overflow: hidden;\n background: var(--solid-background);\n height: 100%;\n @media (max-width: ", "px) {\n padding: 32px 24px 0px 32px;\n }\n\n @media (max-width: ", "px) {\n padding: 24px
|
|
17
|
+
export var PageContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 32px 55px 0px calc(", "px + 55px);\n overflow: hidden;\n background: var(--solid-background);\n height: 100%;\n @media (max-width: ", "px) {\n padding: 32px 24px 0px 32px;\n }\n\n @media (max-width: ", "px) {\n padding: 24px 0px 0px 14px;\n }\n"], ["\n padding: 32px 55px 0px calc(", "px + 55px);\n overflow: hidden;\n background: var(--solid-background);\n height: 100%;\n @media (max-width: ", "px) {\n padding: 32px 24px 0px 32px;\n }\n\n @media (max-width: ", "px) {\n padding: 24px 0px 0px 14px;\n }\n"])), SIDEBAR_WIDTH, LayoutDimensions.width.horizontalIpadMini, LayoutDimensions.width.mobile);
|
|
18
18
|
export var Header = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n flex-direction: row !important;\n justify-content: space-between !important;\n align-items: center !important;\n gap: 16px !important;\n padding-bottom: 24px;\n\n @media (max-width: ", "px) {\n flex-direction: column !important;\n align-items: flex-start !important;\n }\n\n & > div {\n display: flex;\n align-items: center;\n }\n\n svg {\n cursor: pointer;\n }\n"], ["\n ", "\n flex-direction: row !important;\n justify-content: space-between !important;\n align-items: center !important;\n gap: 16px !important;\n padding-bottom: 24px;\n\n @media (max-width: ", "px) {\n flex-direction: column !important;\n align-items: flex-start !important;\n }\n\n & > div {\n display: flex;\n align-items: center;\n }\n\n svg {\n cursor: pointer;\n }\n"])), function (_a) {
|
|
19
19
|
var usePageHeader = _a.usePageHeader;
|
|
20
20
|
if (usePageHeader) {
|
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ export interface IModalProps extends IBaseComponentProp {
|
|
|
16
16
|
children: any;
|
|
17
17
|
width?: number;
|
|
18
18
|
height?: number;
|
|
19
|
+
heightIsPercentage?: boolean;
|
|
19
20
|
closeIcon?: boolean;
|
|
20
21
|
titleHandleLocale?: string;
|
|
21
22
|
actionButtons?: ActionButton[];
|
|
@@ -25,6 +26,7 @@ export interface IModalProps extends IBaseComponentProp {
|
|
|
25
26
|
isOpen?: boolean;
|
|
26
27
|
enableDrawer?: boolean;
|
|
27
28
|
drawerHeight?: number;
|
|
29
|
+
scroll?: boolean;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
export interface IModalActions extends IBaseComponentProp {
|
|
@@ -29,16 +29,18 @@ export interface ITreeService {
|
|
|
29
29
|
}: TreeDTO.IGetAttributesTreeDTO): Promise<TreeAttributeModel[]>;
|
|
30
30
|
setDateTree(date: TreeDTO.ISelectedDateTreeDTO): void;
|
|
31
31
|
getDataTree(isResult?: boolean): Promise<any>;
|
|
32
|
-
getDetailsTree(
|
|
32
|
+
getDetailsTree(
|
|
33
|
+
params: TreeDTO.IGetDetailsTreeDTO
|
|
34
|
+
): Promise<TreeDetailModel>;
|
|
33
35
|
getTableTree(params: TreeDTO.IGetTableTreeDTO): Promise<TreeTableModel[]>;
|
|
34
36
|
selectedIndicator(params: TreeDTO.ISelectIndicatorsTreeDTO): void;
|
|
35
37
|
selectedAttribute({
|
|
36
38
|
selectedAttributes,
|
|
37
|
-
tempSelectedAttribute
|
|
39
|
+
tempSelectedAttribute,
|
|
38
40
|
}: {
|
|
39
|
-
selectedAttributes: string[]
|
|
40
|
-
tempSelectedAttribute: {}
|
|
41
|
-
}): {[key: string]: string[]};
|
|
41
|
+
selectedAttributes: string[];
|
|
42
|
+
tempSelectedAttribute: {};
|
|
43
|
+
}): { [key: string]: string[] };
|
|
42
44
|
recursivePopulateTableTree(
|
|
43
45
|
data: TreeModel["data"],
|
|
44
46
|
parentMaterializedPath: string | undefined,
|
|
@@ -47,7 +49,9 @@ export interface ITreeService {
|
|
|
47
49
|
): TreeModel["data"] | void;
|
|
48
50
|
handleBreadCrumb(
|
|
49
51
|
params: TreeDTO.IHandleBreadCrumbTreeDTO
|
|
50
|
-
): Promise<
|
|
52
|
+
): Promise<
|
|
53
|
+
TreeDTO.IBreadcrumbData | TreeDTO.IBreadcrumbData[] | never[] | void
|
|
54
|
+
>;
|
|
51
55
|
setUserCurrentSelected(params?: TreeDTO.IHandleSearchUser): void;
|
|
52
56
|
setNodeTree(node: string): void;
|
|
53
57
|
getNodeTree?(): Promise<string>;
|
|
@@ -72,7 +76,7 @@ export interface ITreeService {
|
|
|
72
76
|
insertSimulation(
|
|
73
77
|
simulationValue: number,
|
|
74
78
|
period: string,
|
|
75
|
-
detailsTree:TreeDetailModel
|
|
79
|
+
detailsTree: TreeDetailModel
|
|
76
80
|
): Promise<TreeSaveSimulatorModel>;
|
|
77
81
|
callSimulationProcess(params: TreeSaveSimulatorModel): Promise<void>;
|
|
78
82
|
completeSimulation(
|
|
@@ -96,15 +100,20 @@ export interface ITreeService {
|
|
|
96
100
|
): Promise<TreeDetailModel | undefined>;
|
|
97
101
|
setGroups(params: TreeDTO.ISetGroups): void;
|
|
98
102
|
setSelectedGroups(params: TreeDTO.ISelectedGroups): void;
|
|
99
|
-
getTree(): TreeModel;
|
|
103
|
+
getTree(): TreeModel;
|
|
100
104
|
getDaysTree({
|
|
101
105
|
treeNodeId,
|
|
102
|
-
params
|
|
106
|
+
params,
|
|
103
107
|
}: TreeDTO.IGetDaysTreeDTO): Promise<TreeDaysModel[]>;
|
|
104
108
|
setTypeReferenceDate(typeReference: TypeReferenceEnum): void;
|
|
105
109
|
getResultTree({
|
|
106
110
|
identification,
|
|
107
111
|
params,
|
|
108
|
-
}: TreeDTO.IGetProfileTreeDTO): Promise<TreeResultModel[]
|
|
112
|
+
}: TreeDTO.IGetProfileTreeDTO): Promise<TreeResultModel[]>;
|
|
109
113
|
clearStore(): void;
|
|
114
|
+
orderMembers(
|
|
115
|
+
members: TreeTableModel[],
|
|
116
|
+
type: string | string[],
|
|
117
|
+
order: boolean | "asc" | "desc" | undefined
|
|
118
|
+
): TreeTableModel[];
|
|
110
119
|
}
|