@igo2/common 17.0.0 → 17.0.1-next.2
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/action/actionbar/actionbar-item.component.d.ts +1 -3
- package/action/shared/action.interfaces.d.ts +1 -3
- package/action/src/actionbar/actionbar-item.theming.scss +3 -3
- package/backdrop/backdrop.component.d.ts +0 -1
- package/clone/clone.pipe.d.ts +1 -1
- package/context-menu/long-press.directive.d.ts +0 -1
- package/custom-html/custom-html.component.d.ts +0 -1
- package/drag-drop/drag-drop.directive.d.ts +1 -1
- package/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +2 -6
- package/dynamic-component/shared/dynamic-component.d.ts +2 -6
- package/entity/entity-table/entity-table.component.d.ts +10 -22
- package/entity/shared/entity.interfaces.d.ts +6 -16
- package/entity/shared/transaction.d.ts +4 -12
- package/entity/src/entity-selector/entity-selector.theming.scss +1 -1
- package/entity/src/entity-table/entity-table.theming.scss +4 -4
- package/esm2022/action/action.module.mjs +4 -4
- package/esm2022/action/actionbar/actionbar-item.component.mjs +4 -4
- package/esm2022/action/actionbar/actionbar.component.mjs +3 -3
- package/esm2022/action/actionbar/actionbar.module.mjs +4 -4
- package/esm2022/action/shared/action.interfaces.mjs +1 -1
- package/esm2022/backdrop/backdrop.component.mjs +5 -6
- package/esm2022/backdrop/backdrop.module.mjs +4 -4
- package/esm2022/badge/badge-icon.directive.mjs +3 -3
- package/esm2022/badge/badge-icon.module.mjs +4 -4
- package/esm2022/clickout/clickout.directive.mjs +3 -3
- package/esm2022/clickout/clickout.module.mjs +4 -4
- package/esm2022/clone/clone.module.mjs +4 -4
- package/esm2022/clone/clone.pipe.mjs +5 -5
- package/esm2022/collapsible/collapse.directive.mjs +4 -4
- package/esm2022/collapsible/collapsible.component.mjs +4 -4
- package/esm2022/collapsible/collapsible.module.mjs +4 -4
- package/esm2022/color/color-picker-form-field/color-picker-form-field.component.mjs +6 -6
- package/esm2022/color/color-picker-form-field/color-picker-form-field.module.mjs +4 -4
- package/esm2022/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2022/confirm-dialog/confirm-dialog.module.mjs +4 -4
- package/esm2022/confirm-dialog/confirm-dialog.service.mjs +3 -3
- package/esm2022/context-menu/context-menu.directive.mjs +3 -3
- package/esm2022/context-menu/context-menu.module.mjs +4 -4
- package/esm2022/context-menu/long-press.directive.mjs +5 -6
- package/esm2022/custom-html/custom-html.component.mjs +5 -6
- package/esm2022/custom-html/custom-html.module.mjs +4 -4
- package/esm2022/custom-html/custom-html.pipe.mjs +3 -3
- package/esm2022/dom/dom.module.mjs +4 -4
- package/esm2022/dom/dom.service.mjs +3 -3
- package/esm2022/drag-drop/drag-drop.directive.mjs +4 -4
- package/esm2022/drag-drop/drag-drop.module.mjs +4 -4
- package/esm2022/dynamic-component/dynamic-component.module.mjs +4 -4
- package/esm2022/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +4 -4
- package/esm2022/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +4 -4
- package/esm2022/dynamic-component/shared/dynamic-component.mjs +3 -3
- package/esm2022/dynamic-component/shared/dynamic-component.service.mjs +3 -3
- package/esm2022/entity/entity-selector/entity-selector.component.mjs +4 -4
- package/esm2022/entity/entity-selector/entity-selector.module.mjs +4 -4
- package/esm2022/entity/entity-table/entity-table-row.directive.mjs +4 -4
- package/esm2022/entity/entity-table/entity-table.component.mjs +8 -8
- package/esm2022/entity/entity-table/entity-table.module.mjs +4 -4
- package/esm2022/entity/entity-table-paginator/entity-table-paginator.component.mjs +4 -4
- package/esm2022/entity/entity-table-paginator/entity-table-paginator.module.mjs +4 -4
- package/esm2022/entity/entity.module.mjs +4 -4
- package/esm2022/entity/shared/entity.interfaces.mjs +1 -1
- package/esm2022/entity/shared/state.mjs +1 -1
- package/esm2022/entity/shared/store.mjs +1 -1
- package/esm2022/entity/shared/strategies/filter-custom-function.mjs +1 -1
- package/esm2022/entity/shared/strategies/filter-selection.mjs +1 -1
- package/esm2022/entity/shared/strategies/strategy.mjs +7 -3
- package/esm2022/entity/shared/transaction.mjs +3 -3
- package/esm2022/entity/shared/view.mjs +1 -1
- package/esm2022/entity/shared/watcher.mjs +3 -3
- package/esm2022/flexible/flexible.component.mjs +10 -8
- package/esm2022/flexible/flexible.module.mjs +4 -4
- package/esm2022/form/form/form.component.mjs +5 -6
- package/esm2022/form/form/form.module.mjs +4 -4
- package/esm2022/form/form-dialog/form-dialog.component.mjs +6 -6
- package/esm2022/form/form-dialog/form-dialog.interface.mjs +1 -1
- package/esm2022/form/form-dialog/form-dialog.module.mjs +4 -4
- package/esm2022/form/form-dialog/form-dialog.service.mjs +4 -4
- package/esm2022/form/form-field/form-field-select.component.mjs +4 -4
- package/esm2022/form/form-field/form-field-text.component.mjs +4 -4
- package/esm2022/form/form-field/form-field-textarea.component.mjs +4 -4
- package/esm2022/form/form-field/form-field.component.mjs +3 -3
- package/esm2022/form/form-field/form-field.module.mjs +4 -4
- package/esm2022/form/form-group/form-group.component.mjs +5 -6
- package/esm2022/form/form-group/form-group.module.mjs +4 -4
- package/esm2022/form/form.module.mjs +4 -4
- package/esm2022/form/shared/form-field.service.mjs +5 -6
- package/esm2022/form/shared/form.interfaces.mjs +1 -1
- package/esm2022/form/shared/form.service.mjs +3 -3
- package/esm2022/form/shared/form.utils.mjs +1 -1
- package/esm2022/home-button/home-button.component.mjs +5 -6
- package/esm2022/home-button/home-button.module.mjs +4 -4
- package/esm2022/icon/icon/icon.component.mjs +3 -3
- package/esm2022/icon/shared/icon.service.mjs +3 -3
- package/esm2022/image/image-error.directive.mjs +4 -4
- package/esm2022/image/image.module.mjs +4 -4
- package/esm2022/image/secure-image.pipe.mjs +3 -3
- package/esm2022/interactive-tour/interactive-tour.component.mjs +6 -8
- package/esm2022/interactive-tour/interactive-tour.loader.mjs +5 -5
- package/esm2022/interactive-tour/interactive-tour.module.mjs +4 -4
- package/esm2022/interactive-tour/interactive-tour.service.mjs +5 -5
- package/esm2022/json-dialog/json-dialog.component.mjs +3 -3
- package/esm2022/json-dialog/json-dialog.module.mjs +4 -4
- package/esm2022/json-dialog/json-dialog.service.mjs +3 -3
- package/esm2022/keyvalue/keyvalue.module.mjs +4 -4
- package/esm2022/keyvalue/keyvalue.pipe.mjs +5 -5
- package/esm2022/list/list-item.directive.mjs +3 -3
- package/esm2022/list/list.component.mjs +5 -5
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/panel/panel.component.mjs +4 -4
- package/esm2022/panel/panel.module.mjs +4 -4
- package/esm2022/select-value-dialog/select-value-check-radio-dialog.component.mjs +4 -4
- package/esm2022/select-value-dialog/select-value-dialog.module.mjs +4 -4
- package/esm2022/select-value-dialog/select-value-dialog.service.mjs +3 -3
- package/esm2022/sidenav/sidenav-shim.directive.mjs +3 -3
- package/esm2022/sidenav/sidenav.module.mjs +4 -4
- package/esm2022/spinner/spinner-activity.directive.mjs +3 -3
- package/esm2022/spinner/spinner.component.mjs +5 -6
- package/esm2022/spinner/spinner.module.mjs +4 -4
- package/esm2022/stop-propagation/stop-drop-propagation.directive.mjs +3 -3
- package/esm2022/stop-propagation/stop-propagation.directive.mjs +3 -3
- package/esm2022/stop-propagation/stop-propagation.module.mjs +4 -4
- package/esm2022/table/table-datasource.mjs +4 -2
- package/esm2022/table/table-model.interface.mjs +1 -1
- package/esm2022/table/table.component.mjs +4 -4
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tool/shared/tool.interface.mjs +1 -1
- package/esm2022/tool/shared/tool.service.mjs +4 -4
- package/esm2022/tool/shared/toolbox.mjs +2 -2
- package/esm2022/tool/tool.module.mjs +4 -4
- package/esm2022/tool/toolbox/toolbox.component.mjs +5 -5
- package/esm2022/tool/toolbox/toolbox.module.mjs +4 -4
- package/esm2022/widget/shared/widget.service.mjs +3 -3
- package/esm2022/widget/widget-outlet/widget-outlet.component.mjs +5 -6
- package/esm2022/widget/widget-outlet/widget-outlet.module.mjs +4 -4
- package/esm2022/widget/widget.module.mjs +4 -4
- package/esm2022/workspace/shared/store.mjs +1 -1
- package/esm2022/workspace/shared/workspace.interfaces.mjs +1 -1
- package/esm2022/workspace/shared/workspace.mjs +1 -1
- package/esm2022/workspace/workspace-selector/workspace-selector.component.mjs +3 -3
- package/esm2022/workspace/workspace-selector/workspace-selector.module.mjs +4 -4
- package/esm2022/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +5 -6
- package/esm2022/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +4 -4
- package/esm2022/workspace/workspace.module.mjs +4 -4
- package/fesm2022/igo2-common-action.mjs +14 -14
- package/fesm2022/igo2-common-action.mjs.map +1 -1
- package/fesm2022/igo2-common-backdrop.mjs +8 -9
- package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
- package/fesm2022/igo2-common-badge.mjs +7 -7
- package/fesm2022/igo2-common-clickout.mjs +7 -7
- package/fesm2022/igo2-common-clone.mjs +8 -8
- package/fesm2022/igo2-common-clone.mjs.map +1 -1
- package/fesm2022/igo2-common-collapsible.mjs +10 -10
- package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
- package/fesm2022/igo2-common-color.mjs +9 -9
- package/fesm2022/igo2-common-color.mjs.map +1 -1
- package/fesm2022/igo2-common-confirm-dialog.mjs +10 -10
- package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
- package/fesm2022/igo2-common-context-menu.mjs +11 -12
- package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
- package/fesm2022/igo2-common-custom-html.mjs +11 -12
- package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
- package/fesm2022/igo2-common-dom.mjs +7 -7
- package/fesm2022/igo2-common-drag-drop.mjs +7 -7
- package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
- package/fesm2022/igo2-common-dynamic-component.mjs +16 -16
- package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
- package/fesm2022/igo2-common-entity.mjs +42 -38
- package/fesm2022/igo2-common-entity.mjs.map +1 -1
- package/fesm2022/igo2-common-flexible.mjs +12 -10
- package/fesm2022/igo2-common-flexible.mjs.map +1 -1
- package/fesm2022/igo2-common-form.mjs +55 -58
- package/fesm2022/igo2-common-form.mjs.map +1 -1
- package/fesm2022/igo2-common-home-button.mjs +8 -9
- package/fesm2022/igo2-common-home-button.mjs.map +1 -1
- package/fesm2022/igo2-common-icon.mjs +6 -6
- package/fesm2022/igo2-common-image.mjs +10 -10
- package/fesm2022/igo2-common-image.mjs.map +1 -1
- package/fesm2022/igo2-common-interactive-tour.mjs +17 -19
- package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
- package/fesm2022/igo2-common-json-dialog.mjs +10 -10
- package/fesm2022/igo2-common-keyvalue.mjs +8 -8
- package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
- package/fesm2022/igo2-common-list.mjs +11 -11
- package/fesm2022/igo2-common-list.mjs.map +1 -1
- package/fesm2022/igo2-common-panel.mjs +7 -7
- package/fesm2022/igo2-common-panel.mjs.map +1 -1
- package/fesm2022/igo2-common-select-value-dialog.mjs +10 -10
- package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
- package/fesm2022/igo2-common-sidenav.mjs +7 -7
- package/fesm2022/igo2-common-spinner.mjs +11 -12
- package/fesm2022/igo2-common-spinner.mjs.map +1 -1
- package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
- package/fesm2022/igo2-common-table.mjs +10 -8
- package/fesm2022/igo2-common-table.mjs.map +1 -1
- package/fesm2022/igo2-common-tool.mjs +16 -16
- package/fesm2022/igo2-common-tool.mjs.map +1 -1
- package/fesm2022/igo2-common-widget.mjs +15 -16
- package/fesm2022/igo2-common-widget.mjs.map +1 -1
- package/fesm2022/igo2-common-workspace.mjs +19 -20
- package/fesm2022/igo2-common-workspace.mjs.map +1 -1
- package/flexible/flexible.component.d.ts +3 -2
- package/form/form/form.component.d.ts +3 -10
- package/form/form-dialog/form-dialog.component.d.ts +2 -6
- package/form/form-dialog/form-dialog.interface.d.ts +1 -3
- package/form/form-dialog/form-dialog.service.d.ts +1 -3
- package/form/form-field/form-field-select.component.d.ts +1 -3
- package/form/form-field/form-field-text.component.d.ts +1 -3
- package/form/form-field/form-field-textarea.component.d.ts +1 -3
- package/form/form-group/form-group.component.d.ts +2 -7
- package/form/shared/form-field.service.d.ts +1 -4
- package/form/shared/form.interfaces.d.ts +3 -9
- package/form/shared/form.utils.d.ts +2 -6
- package/home-button/home-button.component.d.ts +0 -1
- package/home-button/src/home-button.theming.scss +3 -3
- package/interactive-tour/src/interactive-tour.theming.scss +3 -3
- package/keyvalue/keyvalue.pipe.d.ts +1 -1
- package/list/src/list.theming.scss +9 -9
- package/package.json +10 -10
- package/panel/src/panel.theming.scss +3 -3
- package/spinner/spinner.component.d.ts +0 -1
- package/table/table-model.interface.d.ts +2 -6
- package/tool/shared/tool.interface.d.ts +1 -3
- package/tool/shared/tool.service.d.ts +1 -3
- package/tool/shared/toolbox.d.ts +1 -3
- package/tool/src/toolbox/toolbox.theming.scss +7 -7
- package/tool/toolbox/toolbox.component.d.ts +1 -3
- package/widget/widget-outlet/widget-outlet.component.d.ts +3 -10
- package/workspace/shared/store.d.ts +1 -1
- package/workspace/shared/workspace.d.ts +4 -14
- package/workspace/shared/workspace.interfaces.d.ts +1 -3
- package/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +2 -7
|
@@ -5,9 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Service where runtime tool configurations are registered
|
|
6
6
|
*/
|
|
7
7
|
export declare class ToolService {
|
|
8
|
-
static tools:
|
|
9
|
-
[key: string]: Tool;
|
|
10
|
-
};
|
|
8
|
+
static tools: Record<string, Tool>;
|
|
11
9
|
/**
|
|
12
10
|
* Toolbox that holds main tools
|
|
13
11
|
*/
|
package/tool/shared/toolbox.d.ts
CHANGED
|
@@ -64,9 +64,7 @@ export declare class Toolbox {
|
|
|
64
64
|
* @param name Tool name
|
|
65
65
|
* @param options Tool options
|
|
66
66
|
*/
|
|
67
|
-
activateTool(name: string, options?:
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}): void;
|
|
67
|
+
activateTool(name: string, options?: Record<string, any>): void;
|
|
70
68
|
/**
|
|
71
69
|
* Activate the previous tool, if any
|
|
72
70
|
*/
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
$primary: map.get($theme, primary);
|
|
11
11
|
$accent: map.get($theme, accent);
|
|
12
12
|
$foreground: map.get($theme, foreground);
|
|
13
|
-
$darker-contrast: mat.get-color-from-palette($primary, darker-contrast);
|
|
14
|
-
$lighter-contrast: mat.get-color-from-palette($primary, lighter-contrast);
|
|
13
|
+
$darker-contrast: mat.m2-get-color-from-palette($primary, darker-contrast);
|
|
14
|
+
$lighter-contrast: mat.m2-get-color-from-palette($primary, lighter-contrast);
|
|
15
15
|
|
|
16
16
|
igo-toolbox {
|
|
17
17
|
&.color-primary > igo-actionbar:not(.with-title) {
|
|
18
18
|
box-shadow: unset;
|
|
19
|
-
background-color: mat.get-color-from-palette($primary);
|
|
19
|
+
background-color: mat.m2-get-color-from-palette($primary);
|
|
20
20
|
#lowChevron,
|
|
21
21
|
#topChevron {
|
|
22
|
-
background-color: mat.get-color-from-palette($primary);
|
|
22
|
+
background-color: mat.m2-get-color-from-palette($primary);
|
|
23
23
|
color: white;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
& > #lowChevron,
|
|
59
59
|
& > #topChevron {
|
|
60
60
|
&:hover {
|
|
61
|
-
background-color: mat.get-color-from-palette($accent, lighter);
|
|
61
|
+
background-color: mat.m2-get-color-from-palette($accent, lighter);
|
|
62
62
|
color: black;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
|
|
73
73
|
&:hover {
|
|
74
|
-
background-color: mat.get-color-from-palette($accent, lighter);
|
|
74
|
+
background-color: mat.m2-get-color-from-palette($accent, lighter);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&.tool-activated,
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
@mixin density($theme) {
|
|
92
|
-
$density: mat.get-density-config($theme);
|
|
92
|
+
$density: mat.m2-get-density-config($theme);
|
|
93
93
|
$theme: map.merge(
|
|
94
94
|
$theme,
|
|
95
95
|
(
|
|
@@ -91,9 +91,7 @@ export declare class ToolboxComponent implements OnInit, OnDestroy {
|
|
|
91
91
|
* @returns Tool inputs
|
|
92
92
|
* @internal
|
|
93
93
|
*/
|
|
94
|
-
getToolInputs(tool: Tool):
|
|
95
|
-
[key: string]: any;
|
|
96
|
-
};
|
|
94
|
+
getToolInputs(tool: Tool): Record<string, any>;
|
|
97
95
|
/**
|
|
98
96
|
* Initialize an action store
|
|
99
97
|
* @param toolbar Toolbar
|
|
@@ -20,15 +20,11 @@ export declare class WidgetOutletComponent implements OnDestroy {
|
|
|
20
20
|
/**
|
|
21
21
|
* Widget inputs
|
|
22
22
|
*/
|
|
23
|
-
inputs:
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
};
|
|
23
|
+
inputs: Record<string, any>;
|
|
26
24
|
/**
|
|
27
25
|
* Widget subscribers
|
|
28
26
|
*/
|
|
29
|
-
subscribers:
|
|
30
|
-
[key: string]: (event: any) => void;
|
|
31
|
-
};
|
|
27
|
+
subscribers: Record<string, (event: any) => void>;
|
|
32
28
|
/**
|
|
33
29
|
* Event emitted when the widget emits 'complete'
|
|
34
30
|
*/
|
|
@@ -37,7 +33,6 @@ export declare class WidgetOutletComponent implements OnDestroy {
|
|
|
37
33
|
* Event emitted when the widget emits 'cancel'
|
|
38
34
|
*/
|
|
39
35
|
cancel: EventEmitter<any>;
|
|
40
|
-
constructor();
|
|
41
36
|
/**
|
|
42
37
|
* Destroy the current widget and all it's inner subscriptions
|
|
43
38
|
* @internal
|
|
@@ -49,9 +44,7 @@ export declare class WidgetOutletComponent implements OnDestroy {
|
|
|
49
44
|
* @returns Combined subscribers
|
|
50
45
|
* @internal
|
|
51
46
|
*/
|
|
52
|
-
getEffectiveSubscribers():
|
|
53
|
-
[key: string]: (event: any) => void;
|
|
54
|
-
};
|
|
47
|
+
getEffectiveSubscribers(): Record<string, (event: any) => void>;
|
|
55
48
|
/**
|
|
56
49
|
* When the widget emits 'cancel', propagate that event and destroy
|
|
57
50
|
* the widget
|
|
@@ -6,7 +6,7 @@ import { Workspace } from './workspace';
|
|
|
6
6
|
* workspaces.
|
|
7
7
|
*/
|
|
8
8
|
export declare class WorkspaceStore extends EntityStore<Workspace> {
|
|
9
|
-
activeWorkspace$: BehaviorSubject<Workspace
|
|
9
|
+
activeWorkspace$: BehaviorSubject<Workspace<object>>;
|
|
10
10
|
/**
|
|
11
11
|
* Activate the an workspace workspace and deactivate the one currently active
|
|
12
12
|
* @param workspace Workspace
|
|
@@ -17,15 +17,11 @@ export declare class Workspace<E extends object = object> {
|
|
|
17
17
|
/**
|
|
18
18
|
* Observable of the selected widget's inputs
|
|
19
19
|
*/
|
|
20
|
-
readonly widgetInputs$: BehaviorSubject<
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}>;
|
|
20
|
+
readonly widgetInputs$: BehaviorSubject<Record<string, any>>;
|
|
23
21
|
/**
|
|
24
22
|
* Observable of the selected widget's subscribers
|
|
25
23
|
*/
|
|
26
|
-
readonly widgetSubscribers$: BehaviorSubject<
|
|
27
|
-
[key: string]: (event: any) => void;
|
|
28
|
-
}>;
|
|
24
|
+
readonly widgetSubscribers$: BehaviorSubject<Record<string, (event: any) => void>>;
|
|
29
25
|
/**
|
|
30
26
|
* Subscription to the selected entity
|
|
31
27
|
*/
|
|
@@ -49,9 +45,7 @@ export declare class Workspace<E extends object = object> {
|
|
|
49
45
|
/**
|
|
50
46
|
* Workspace title
|
|
51
47
|
*/
|
|
52
|
-
get meta():
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
};
|
|
48
|
+
get meta(): Record<string, any>;
|
|
55
49
|
/**
|
|
56
50
|
* Entities store
|
|
57
51
|
*/
|
|
@@ -92,11 +86,7 @@ export declare class Workspace<E extends object = object> {
|
|
|
92
86
|
* @param widget Widget
|
|
93
87
|
* @param inputs Inputs the widget will receive
|
|
94
88
|
*/
|
|
95
|
-
activateWidget(widget: Widget, inputs?:
|
|
96
|
-
[key: string]: any;
|
|
97
|
-
}, subscribers?: {
|
|
98
|
-
[key: string]: (event: any) => void;
|
|
99
|
-
}): void;
|
|
89
|
+
activateWidget(widget: Widget, inputs?: Record<string, any>, subscribers?: Record<string, (event: any) => void>): void;
|
|
100
90
|
/**
|
|
101
91
|
* Deactivate a widget.
|
|
102
92
|
*/
|
|
@@ -27,17 +27,12 @@ export declare class WorkspaceWidgetOutletComponent {
|
|
|
27
27
|
* Observable of the workspace's widget inputs
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
|
-
get widgetInputs$(): BehaviorSubject<
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
}>;
|
|
30
|
+
get widgetInputs$(): BehaviorSubject<Record<string, any>>;
|
|
33
31
|
/**
|
|
34
32
|
* Observable of the workspace's widget inputs
|
|
35
33
|
* @internal
|
|
36
34
|
*/
|
|
37
|
-
get widgetSubscribers$(): BehaviorSubject<
|
|
38
|
-
[key: string]: (event: any) => void;
|
|
39
|
-
}>;
|
|
40
|
-
constructor();
|
|
35
|
+
get widgetSubscribers$(): BehaviorSubject<Record<string, (event: any) => void>>;
|
|
41
36
|
/**
|
|
42
37
|
* When a widget's component emit the 'cancel' event,
|
|
43
38
|
* deactivate that widget and emit the 'deactivateWidget' event.
|