@igo2/common 19.0.3 → 20.0.0-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/index.d.ts +194 -3
- package/backdrop/index.d.ts +20 -3
- package/badge/index.d.ts +44 -3
- package/clickout/index.d.ts +20 -3
- package/clone/index.d.ts +18 -3
- package/collapsible/index.d.ts +43 -3
- package/color/index.d.ts +38 -3
- package/confirm-dialog/index.d.ts +39 -5
- package/context-menu/index.d.ts +50 -3
- package/custom-html/index.d.ts +30 -3
- package/dom/index.d.ts +34 -3
- package/drag-drop/index.d.ts +124 -3
- package/dynamic-component/index.d.ts +186 -3
- package/entity/index.d.ts +1532 -3
- package/environment/index.d.ts +15 -5
- package/fesm2022/igo2-common-action.mjs +28 -38
- package/fesm2022/igo2-common-action.mjs.map +1 -1
- package/fesm2022/igo2-common-backdrop.mjs +7 -7
- package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
- package/fesm2022/igo2-common-badge.mjs +10 -13
- package/fesm2022/igo2-common-badge.mjs.map +1 -1
- package/fesm2022/igo2-common-clickout.mjs +10 -13
- package/fesm2022/igo2-common-clickout.mjs.map +1 -1
- package/fesm2022/igo2-common-clone.mjs +7 -7
- package/fesm2022/igo2-common-clone.mjs.map +1 -1
- package/fesm2022/igo2-common-collapsible.mjs +14 -18
- 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 +19 -26
- package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
- package/fesm2022/igo2-common-context-menu.mjs +16 -21
- package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
- package/fesm2022/igo2-common-custom-html.mjs +14 -17
- package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
- package/fesm2022/igo2-common-dom.mjs +11 -14
- package/fesm2022/igo2-common-dom.mjs.map +1 -1
- package/fesm2022/igo2-common-drag-drop.mjs +15 -17
- package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
- package/fesm2022/igo2-common-dynamic-component.mjs +20 -27
- package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
- package/fesm2022/igo2-common-entity.mjs +69 -108
- package/fesm2022/igo2-common-entity.mjs.map +1 -1
- package/fesm2022/igo2-common-flexible.mjs +13 -18
- package/fesm2022/igo2-common-flexible.mjs.map +1 -1
- package/fesm2022/igo2-common-form.mjs +77 -112
- package/fesm2022/igo2-common-form.mjs.map +1 -1
- package/fesm2022/igo2-common-home-button.mjs +7 -7
- package/fesm2022/igo2-common-home-button.mjs.map +1 -1
- package/fesm2022/igo2-common-icon.mjs +14 -21
- package/fesm2022/igo2-common-icon.mjs.map +1 -1
- package/fesm2022/igo2-common-image.mjs +53 -57
- package/fesm2022/igo2-common-image.mjs.map +1 -1
- package/fesm2022/igo2-common-interactive-tour.mjs +43 -56
- package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
- package/fesm2022/igo2-common-json-dialog.mjs +19 -28
- package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
- package/fesm2022/igo2-common-keyvalue.mjs +7 -7
- package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
- package/fesm2022/igo2-common-list.mjs +16 -23
- package/fesm2022/igo2-common-list.mjs.map +1 -1
- package/fesm2022/igo2-common-panel.mjs +9 -9
- package/fesm2022/igo2-common-panel.mjs.map +1 -1
- package/fesm2022/igo2-common-resizable-bar.mjs +6 -6
- package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
- package/fesm2022/igo2-common-select-value-dialog.mjs +28 -44
- package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
- package/fesm2022/igo2-common-sidenav.mjs +10 -16
- package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
- package/fesm2022/igo2-common-spinner.mjs +15 -21
- package/fesm2022/igo2-common-spinner.mjs.map +1 -1
- package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
- package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -1
- package/fesm2022/igo2-common-table.mjs +9 -11
- package/fesm2022/igo2-common-table.mjs.map +1 -1
- package/fesm2022/igo2-common-tool.mjs +16 -22
- package/fesm2022/igo2-common-tool.mjs.map +1 -1
- package/fesm2022/igo2-common-widget.mjs +19 -24
- package/fesm2022/igo2-common-widget.mjs.map +1 -1
- package/fesm2022/igo2-common-workspace.mjs +20 -20
- package/fesm2022/igo2-common-workspace.mjs.map +1 -1
- package/flexible/index.d.ts +54 -3
- package/form/index.d.ts +429 -3
- package/home-button/index.d.ts +18 -3
- package/icon/index.d.ts +42 -3
- package/image/index.d.ts +35 -3
- package/index.d.ts +16 -5
- package/interactive-tour/index.d.ts +116 -5
- package/json-dialog/index.d.ts +34 -5
- package/keyvalue/index.d.ts +18 -3
- package/list/index.d.ts +102 -3
- package/package.json +10 -13
- package/panel/index.d.ts +20 -3
- package/resizable-bar/index.d.ts +37 -5
- package/select-value-dialog/index.d.ts +65 -5
- package/sidenav/index.d.ts +29 -3
- package/spinner/index.d.ts +51 -3
- package/src/style/partial/common-utils.scss +1 -1
- package/stop-propagation/index.d.ts +26 -3
- package/table/index.d.ts +105 -3
- package/tool/index.d.ts +289 -3
- package/widget/index.d.ts +105 -3
- package/workspace/index.d.ts +237 -3
- package/action/action.module.d.ts +0 -10
- package/action/actionbar/actionbar-item.component.d.ts +0 -73
- package/action/actionbar/actionbar.component.d.ts +0 -148
- package/action/actionbar/actionbar.module.d.ts +0 -10
- package/action/public_api.d.ts +0 -4
- package/action/shared/action.enums.d.ts +0 -5
- package/action/shared/action.interfaces.d.ts +0 -16
- package/action/shared/index.d.ts +0 -3
- package/action/shared/store.d.ts +0 -8
- package/action/src/action.theming.scss +0 -9
- package/action/src/actionbar/actionbar-item.theming.scss +0 -20
- package/backdrop/backdrop.component.d.ts +0 -8
- package/backdrop/backdrop.module.d.ts +0 -12
- package/backdrop/public_api.d.ts +0 -2
- package/badge/badge-icon.directive.d.ts +0 -34
- package/badge/badge-icon.module.d.ts +0 -12
- package/badge/public_api.d.ts +0 -2
- package/clickout/clickout.directive.d.ts +0 -10
- package/clickout/clickout.module.d.ts +0 -12
- package/clickout/public_api.d.ts +0 -2
- package/clone/clone.module.d.ts +0 -12
- package/clone/clone.pipe.d.ts +0 -7
- package/clone/public_api.d.ts +0 -2
- package/collapsible/collapse.directive.d.ts +0 -19
- package/collapsible/collapsible.component.d.ts +0 -13
- package/collapsible/collapsible.module.d.ts +0 -13
- package/collapsible/public_api.d.ts +0 -6
- package/color/color-picker-form-field/color-picker-form-field.component.d.ts +0 -29
- package/color/color-picker-form-field/color-picker-form-field.module.d.ts +0 -10
- package/color/color-picker-form-field/index.d.ts +0 -2
- package/color/public_api.d.ts +0 -1
- package/confirm-dialog/confirm-dialog.component.d.ts +0 -12
- package/confirm-dialog/confirm-dialog.interface.d.ts +0 -4
- package/confirm-dialog/confirm-dialog.module.d.ts +0 -12
- package/confirm-dialog/confirm-dialog.service.d.ts +0 -11
- package/confirm-dialog/public_api.d.ts +0 -4
- package/context-menu/context-menu.directive.d.ts +0 -21
- package/context-menu/context-menu.module.d.ts +0 -13
- package/context-menu/long-press.directive.d.ts +0 -19
- package/context-menu/public_api.d.ts +0 -6
- package/custom-html/custom-html.component.d.ts +0 -8
- package/custom-html/custom-html.module.d.ts +0 -13
- package/custom-html/custom-html.pipe.d.ts +0 -10
- package/custom-html/public_api.d.ts +0 -6
- package/dom/dom.interfaces.d.ts +0 -10
- package/dom/dom.module.d.ts +0 -14
- package/dom/dom.service.d.ts +0 -10
- package/dom/public_api.d.ts +0 -3
- package/drag-drop/drag-drop.directive.d.ts +0 -14
- package/drag-drop/drag-drop.module.d.ts +0 -13
- package/drag-drop/public_api.d.ts +0 -3
- package/drag-drop/tree-drag-drop/index.d.ts +0 -2
- package/drag-drop/tree-drag-drop/tree-drag-drop.directive.d.ts +0 -85
- package/drag-drop/tree-drag-drop/tree-drag-drop.interface.d.ts +0 -15
- package/dynamic-component/dynamic-component.module.d.ts +0 -10
- package/dynamic-component/dynamic-outlet/dynamic-outlet.component.d.ts +0 -66
- package/dynamic-component/dynamic-outlet/dynamic-outlet.module.d.ts +0 -10
- package/dynamic-component/public_api.d.ts +0 -4
- package/dynamic-component/shared/dynamic-component.d.ts +0 -84
- package/dynamic-component/shared/dynamic-component.interfaces.d.ts +0 -3
- package/dynamic-component/shared/dynamic-component.service.d.ts +0 -18
- package/dynamic-component/shared/index.d.ts +0 -3
- package/entity/entity-selector/entity-selector.component.d.ts +0 -93
- package/entity/entity-selector/entity-selector.module.d.ts +0 -10
- package/entity/entity-selector/index.d.ts +0 -2
- package/entity/entity-table/entity-table-row.directive.d.ts +0 -69
- package/entity/entity-table/entity-table.component.d.ts +0 -330
- package/entity/entity-table/entity-table.module.d.ts +0 -10
- package/entity/entity-table/index.d.ts +0 -2
- package/entity/entity-table-paginator/entity-table-paginator.component.d.ts +0 -50
- package/entity/entity-table-paginator/entity-table-paginator.interface.d.ts +0 -8
- package/entity/entity-table-paginator/entity-table-paginator.module.d.ts +0 -10
- package/entity/entity-table-paginator/index.d.ts +0 -3
- package/entity/entity.module.d.ts +0 -16
- package/entity/public_api.d.ts +0 -5
- package/entity/shared/entity.enums.d.ts +0 -23
- package/entity/shared/entity.interfaces.d.ts +0 -92
- package/entity/shared/entity.utils.d.ts +0 -49
- package/entity/shared/index.d.ts +0 -9
- package/entity/shared/state.d.ts +0 -108
- package/entity/shared/store.d.ts +0 -180
- package/entity/shared/strategies/filter-custom-function.d.ts +0 -51
- package/entity/shared/strategies/filter-selection.d.ts +0 -48
- package/entity/shared/strategies/index.d.ts +0 -3
- package/entity/shared/strategies/strategy.d.ts +0 -56
- package/entity/shared/transaction.d.ts +0 -171
- package/entity/shared/view.d.ts +0 -193
- package/entity/shared/watcher.d.ts +0 -72
- package/entity/src/entity-selector/entity-selector.theming.scss +0 -21
- package/entity/src/entity-table/entity-table.theming.scss +0 -21
- package/entity/src/entity.theming.scss +0 -12
- package/environment/environment.interface.d.ts +0 -13
- package/environment/public_api.d.ts +0 -1
- package/flexible/flexible.component.d.ts +0 -42
- package/flexible/flexible.module.d.ts +0 -12
- package/flexible/flexible.type.d.ts +0 -2
- package/flexible/public_api.d.ts +0 -3
- package/form/form/form.component.d.ts +0 -46
- package/form/form/form.module.d.ts +0 -10
- package/form/form/index.d.ts +0 -2
- package/form/form-dialog/form-dialog.component.d.ts +0 -19
- package/form/form-dialog/form-dialog.interface.d.ts +0 -16
- package/form/form-dialog/form-dialog.module.d.ts +0 -16
- package/form/form-dialog/form-dialog.service.d.ts +0 -11
- package/form/form-dialog/index.d.ts +0 -4
- package/form/form-field/form-field-select.component.d.ts +0 -50
- package/form/form-field/form-field-text.component.d.ts +0 -49
- package/form/form-field/form-field-textarea.component.d.ts +0 -39
- package/form/form-field/form-field.component.d.ts +0 -29
- package/form/form-field/form-field.directive.d.ts +0 -5
- package/form/form-field/form-field.module.d.ts +0 -13
- package/form/form-field/index.d.ts +0 -6
- package/form/form-group/form-group.component.d.ts +0 -44
- package/form/form-group/form-group.module.d.ts +0 -10
- package/form/form-group/index.d.ts +0 -2
- package/form/form.module.d.ts +0 -18
- package/form/public_api.d.ts +0 -6
- package/form/shared/form-field-component.d.ts +0 -1
- package/form/shared/form-field.service.d.ts +0 -16
- package/form/shared/form.interfaces.d.ts +0 -60
- package/form/shared/form.service.d.ts +0 -15
- package/form/shared/form.utils.d.ts +0 -7
- package/form/shared/index.d.ts +0 -5
- package/home-button/home-button.component.d.ts +0 -8
- package/home-button/home-button.module.d.ts +0 -10
- package/home-button/public_api.d.ts +0 -2
- package/icon/icon/icon.component.d.ts +0 -15
- package/icon/icon.provider.d.ts +0 -4
- package/icon/public_api.d.ts +0 -3
- package/icon/shared/icon.interface.d.ts +0 -4
- package/icon/shared/icon.service.d.ts +0 -12
- package/icon/shared/icons.d.ts +0 -11
- package/icon/shared/index.d.ts +0 -3
- package/image/image-error.directive.d.ts +0 -11
- package/image/image.module.d.ts +0 -13
- package/image/public_api.d.ts +0 -6
- package/image/secure-image.pipe.d.ts +0 -13
- package/interactive-tour/interactive-tour.component.d.ts +0 -33
- package/interactive-tour/interactive-tour.interface.d.ts +0 -35
- package/interactive-tour/interactive-tour.loader.d.ts +0 -18
- package/interactive-tour/interactive-tour.module.d.ts +0 -7
- package/interactive-tour/interactive-tour.service.d.ts +0 -30
- package/interactive-tour/public_api.d.ts +0 -5
- package/json-dialog/json-dialog.component.d.ts +0 -13
- package/json-dialog/json-dialog.module.d.ts +0 -12
- package/json-dialog/json-dialog.service.d.ts +0 -10
- package/json-dialog/public_api.d.ts +0 -3
- package/keyvalue/keyvalue.module.d.ts +0 -12
- package/keyvalue/keyvalue.pipe.d.ts +0 -7
- package/keyvalue/public_api.d.ts +0 -2
- package/list/list-item.directive.d.ts +0 -43
- package/list/list.component.d.ts +0 -51
- package/list/list.module.d.ts +0 -13
- package/list/public_api.d.ts +0 -6
- package/panel/panel.component.d.ts +0 -10
- package/panel/panel.module.d.ts +0 -10
- package/panel/public_api.d.ts +0 -2
- package/panel/src/panel.theming.scss +0 -20
- package/public_api.d.ts +0 -16
- package/resizable-bar/public_api.d.ts +0 -2
- package/resizable-bar/resizable-bar.component.d.ts +0 -23
- package/resizable-bar/shared/resize.directive.d.ts +0 -12
- package/select-value-dialog/public_api.d.ts +0 -5
- package/select-value-dialog/select-value-check-radio-dialog.component.d.ts +0 -25
- package/select-value-dialog/select-value-dialog.enums.d.ts +0 -4
- package/select-value-dialog/select-value-dialog.interface.d.ts +0 -16
- package/select-value-dialog/select-value-dialog.module.d.ts +0 -12
- package/select-value-dialog/select-value-dialog.service.d.ts +0 -11
- package/sidenav/public_api.d.ts +0 -2
- package/sidenav/sidenav-shim.directive.d.ts +0 -20
- package/sidenav/sidenav.module.d.ts +0 -12
- package/spinner/public_api.d.ts +0 -3
- package/spinner/spinner-activity.directive.d.ts +0 -32
- package/spinner/spinner.component.d.ts +0 -11
- package/spinner/spinner.module.d.ts +0 -14
- package/src/common.theme.scss +0 -18
- package/stop-propagation/public_api.d.ts +0 -6
- package/stop-propagation/stop-drop-propagation.directive.d.ts +0 -6
- package/stop-propagation/stop-propagation.directive.d.ts +0 -6
- package/stop-propagation/stop-propagation.module.d.ts +0 -13
- package/table/public_api.d.ts +0 -6
- package/table/table-action-color.enum.d.ts +0 -5
- package/table/table-database.d.ts +0 -10
- package/table/table-datasource.d.ts +0 -18
- package/table/table-model.interface.d.ts +0 -24
- package/table/table.component.d.ts +0 -40
- package/table/table.module.d.ts +0 -12
- package/tool/public_api.d.ts +0 -3
- package/tool/shared/index.d.ts +0 -5
- package/tool/shared/tool-component.d.ts +0 -2
- package/tool/shared/tool.interface.d.ts +0 -16
- package/tool/shared/tool.service.d.ts +0 -28
- package/tool/shared/toolbox.d.ts +0 -96
- package/tool/shared/toolbox.enums.d.ts +0 -1
- package/tool/src/tool.theming.scss +0 -5
- package/tool/src/toolbox/toolbox.theming.scss +0 -22
- package/tool/tool.module.d.ts +0 -15
- package/tool/toolbox/index.d.ts +0 -2
- package/tool/toolbox/toolbox.animation.d.ts +0 -2
- package/tool/toolbox/toolbox.component.d.ts +0 -126
- package/tool/toolbox/toolbox.module.d.ts +0 -10
- package/widget/public_api.d.ts +0 -3
- package/widget/shared/index.d.ts +0 -3
- package/widget/shared/widget.d.ts +0 -4
- package/widget/shared/widget.interfaces.d.ts +0 -12
- package/widget/shared/widget.service.d.ts +0 -10
- package/widget/widget-outlet/index.d.ts +0 -2
- package/widget/widget-outlet/widget-outlet.component.d.ts +0 -64
- package/widget/widget-outlet/widget-outlet.module.d.ts +0 -10
- package/widget/widget.module.d.ts +0 -10
- package/workspace/public_api.d.ts +0 -4
- package/workspace/shared/index.d.ts +0 -3
- package/workspace/shared/store.d.ts +0 -20
- package/workspace/shared/workspace.d.ts +0 -98
- package/workspace/shared/workspace.interfaces.d.ts +0 -9
- package/workspace/workspace-selector/index.d.ts +0 -2
- package/workspace/workspace-selector/workspace-selector.component.d.ts +0 -38
- package/workspace/workspace-selector/workspace-selector.module.d.ts +0 -10
- package/workspace/workspace-widget-outlet/index.d.ts +0 -2
- package/workspace/workspace-widget-outlet/workspace-widget-outlet.component.d.ts +0 -52
- package/workspace/workspace-widget-outlet/workspace-widget-outlet.module.d.ts +0 -10
- package/workspace/workspace.module.d.ts +0 -14
package/workspace/index.d.ts
CHANGED
|
@@ -1,5 +1,239 @@
|
|
|
1
|
+
import { EntityStore, EntitySelectorChange } from '@igo2/common/entity';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { ActionStore } from '@igo2/common/action';
|
|
4
|
+
import { Widget } from '@igo2/common/widget';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { EventEmitter } from '@angular/core';
|
|
7
|
+
|
|
8
|
+
interface WorkspaceOptions {
|
|
9
|
+
id: string;
|
|
10
|
+
title: string;
|
|
11
|
+
entityStore?: EntityStore<object>;
|
|
12
|
+
actionStore?: ActionStore;
|
|
13
|
+
meta?: Record<string, any>;
|
|
14
|
+
}
|
|
15
|
+
|
|
1
16
|
/**
|
|
2
|
-
*
|
|
17
|
+
* This class is responsible of managing the relations between
|
|
18
|
+
* entities and the actions that consume them. It also defines an
|
|
19
|
+
* entity table template that may be used by an entity table component.
|
|
3
20
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
21
|
+
declare class Workspace<E extends object = object> {
|
|
22
|
+
protected options: WorkspaceOptions;
|
|
23
|
+
/**
|
|
24
|
+
* Observable of the selected widget
|
|
25
|
+
*/
|
|
26
|
+
readonly widget$: BehaviorSubject<Widget>;
|
|
27
|
+
/**
|
|
28
|
+
* Observable of the selected widget's inputs
|
|
29
|
+
*/
|
|
30
|
+
readonly widgetInputs$: BehaviorSubject<Record<string, any>>;
|
|
31
|
+
/**
|
|
32
|
+
* Observable of the selected widget's subscribers
|
|
33
|
+
*/
|
|
34
|
+
readonly widgetSubscribers$: BehaviorSubject<Record<string, (event: any) => void>>;
|
|
35
|
+
/**
|
|
36
|
+
* Subscription to the selected entity
|
|
37
|
+
*/
|
|
38
|
+
private entities$$;
|
|
39
|
+
/**
|
|
40
|
+
* State change that trigger an update of the actions availability
|
|
41
|
+
*/
|
|
42
|
+
private change;
|
|
43
|
+
/**
|
|
44
|
+
* Subscription to state changes
|
|
45
|
+
*/
|
|
46
|
+
private change$;
|
|
47
|
+
/**
|
|
48
|
+
* Workspace id
|
|
49
|
+
*/
|
|
50
|
+
get id(): string;
|
|
51
|
+
/**
|
|
52
|
+
* Workspace title
|
|
53
|
+
*/
|
|
54
|
+
get title(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Workspace title
|
|
57
|
+
*/
|
|
58
|
+
get meta(): Record<string, any>;
|
|
59
|
+
/**
|
|
60
|
+
* Entities store
|
|
61
|
+
*/
|
|
62
|
+
get entityStore(): EntityStore<E>;
|
|
63
|
+
/**
|
|
64
|
+
* Actions store (some actions activate a widget)
|
|
65
|
+
*/
|
|
66
|
+
get actionStore(): ActionStore;
|
|
67
|
+
/**
|
|
68
|
+
* Selected widget
|
|
69
|
+
*/
|
|
70
|
+
get widget(): Widget;
|
|
71
|
+
/**
|
|
72
|
+
* Whether a widget is selected
|
|
73
|
+
*/
|
|
74
|
+
get hasWidget(): boolean;
|
|
75
|
+
constructor(options: WorkspaceOptions);
|
|
76
|
+
/**
|
|
77
|
+
* Whether this strategy is active
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
get active(): boolean;
|
|
81
|
+
readonly active$: BehaviorSubject<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* Activate the workspace. By doing that, the workspace will observe
|
|
84
|
+
* the selected entity (from the store) and update the actions availability.
|
|
85
|
+
* For example, some actions require an entity to be selected.
|
|
86
|
+
*/
|
|
87
|
+
activate(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Deactivate the workspace. Unsubcribe to the selected entity.
|
|
90
|
+
*/
|
|
91
|
+
deactivate(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Activate a widget. In itself, activating a widget doesn't render it but,
|
|
94
|
+
* if an WorkspaceWidgetOutlet component is bound to this workspace, the widget will
|
|
95
|
+
* show up.
|
|
96
|
+
* @param widget Widget
|
|
97
|
+
* @param inputs Inputs the widget will receive
|
|
98
|
+
*/
|
|
99
|
+
activateWidget(widget: Widget, inputs?: Record<string, any>, subscribers?: Record<string, (event: any) => void>): void;
|
|
100
|
+
/**
|
|
101
|
+
* Deactivate a widget.
|
|
102
|
+
*/
|
|
103
|
+
deactivateWidget(): void;
|
|
104
|
+
/**
|
|
105
|
+
* When the state changes, update the actions availability.
|
|
106
|
+
*/
|
|
107
|
+
private onStateChange;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The class is a specialized version of an EntityStore that stores
|
|
112
|
+
* workspaces.
|
|
113
|
+
*/
|
|
114
|
+
declare class WorkspaceStore extends EntityStore<Workspace> {
|
|
115
|
+
activeWorkspace$: BehaviorSubject<Workspace<object>>;
|
|
116
|
+
/**
|
|
117
|
+
* Activate the an workspace workspace and deactivate the one currently active
|
|
118
|
+
* @param workspace Workspace
|
|
119
|
+
*/
|
|
120
|
+
activateWorkspace(workspace: Workspace): void;
|
|
121
|
+
/**
|
|
122
|
+
* Deactivate the current workspace
|
|
123
|
+
* @param workspace Workspace
|
|
124
|
+
*/
|
|
125
|
+
deactivateWorkspace(): void;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Drop list that activates the selected workspace emit an event.
|
|
130
|
+
*/
|
|
131
|
+
declare class WorkspaceSelectorComponent {
|
|
132
|
+
/**
|
|
133
|
+
* Store that holds the available workspaces.
|
|
134
|
+
*/
|
|
135
|
+
store: WorkspaceStore;
|
|
136
|
+
/**
|
|
137
|
+
* Wheither the selector must be disabled or not.
|
|
138
|
+
*/
|
|
139
|
+
disabled: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Event emitted when an workspace is selected or unselected
|
|
142
|
+
*/
|
|
143
|
+
selectedChange: EventEmitter<{
|
|
144
|
+
selected: boolean;
|
|
145
|
+
value: Workspace;
|
|
146
|
+
}>;
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
getWorkspaceTitle(workspace: Workspace): string;
|
|
151
|
+
/**
|
|
152
|
+
* When an workspace is manually selected, select it into the
|
|
153
|
+
* store and emit an event.
|
|
154
|
+
* @internal
|
|
155
|
+
* @param event The selection change event
|
|
156
|
+
*/
|
|
157
|
+
onSelectedChange(event: EntitySelectorChange<Workspace>): void;
|
|
158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceSelectorComponent, never>;
|
|
159
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceSelectorComponent, "igo-workspace-selector", never, { "store": { "alias": "store"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @deprecated import the WorkspaceSelectorComponent directly
|
|
164
|
+
*/
|
|
165
|
+
declare class IgoWorkspaceSelectorModule {
|
|
166
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWorkspaceSelectorModule, never>;
|
|
167
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWorkspaceSelectorModule, never, [typeof WorkspaceSelectorComponent], [typeof WorkspaceSelectorComponent]>;
|
|
168
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWorkspaceSelectorModule>;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* This component dynamically render an Workspace's active widget.
|
|
173
|
+
* It also deactivate that widget whenever the widget's component
|
|
174
|
+
* emit the 'cancel' or 'complete' event.
|
|
175
|
+
*/
|
|
176
|
+
declare class WorkspaceWidgetOutletComponent {
|
|
177
|
+
/**
|
|
178
|
+
* Workspace
|
|
179
|
+
*/
|
|
180
|
+
workspace: Workspace;
|
|
181
|
+
/**
|
|
182
|
+
* Event emitted when a widget is deactivate which happens
|
|
183
|
+
* when the widget's component emits the 'cancel' or 'complete' event.
|
|
184
|
+
*/
|
|
185
|
+
deactivateWidget: EventEmitter<Widget>;
|
|
186
|
+
/**
|
|
187
|
+
* Observable of the workspace's active widget
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
190
|
+
get widget$(): BehaviorSubject<Widget>;
|
|
191
|
+
/**
|
|
192
|
+
* Observable of the workspace's widget inputs
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
get widgetInputs$(): BehaviorSubject<Record<string, any>>;
|
|
196
|
+
/**
|
|
197
|
+
* Observable of the workspace's widget inputs
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
get widgetSubscribers$(): BehaviorSubject<Record<string, (event: any) => void>>;
|
|
201
|
+
/**
|
|
202
|
+
* When a widget's component emit the 'cancel' event,
|
|
203
|
+
* deactivate that widget and emit the 'deactivateWidget' event.
|
|
204
|
+
* @param widget Widget
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
onWidgetCancel(widget: Widget): void;
|
|
208
|
+
/**
|
|
209
|
+
* When a widget's component emit the 'cancel' event,
|
|
210
|
+
* deactivate that widget and emit the 'deactivateWidget' event.
|
|
211
|
+
* @param widget Widget
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
onWidgetComplete(widget: Widget): void;
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceWidgetOutletComponent, never>;
|
|
216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceWidgetOutletComponent, "igo-workspace-widget-outlet", never, { "workspace": { "alias": "workspace"; "required": false; }; }, { "deactivateWidget": "deactivateWidget"; }, never, never, true, never>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @deprecated import the WorkspaceWidgetOutletComponent directly
|
|
221
|
+
*/
|
|
222
|
+
declare class IgoWorkspaceWidgetOutletModule {
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWorkspaceWidgetOutletModule, never>;
|
|
224
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWorkspaceWidgetOutletModule, never, [typeof WorkspaceWidgetOutletComponent], [typeof WorkspaceWidgetOutletComponent]>;
|
|
225
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWorkspaceWidgetOutletModule>;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
declare const WORKSPACE_DIRECTIVES: readonly [typeof WorkspaceSelectorComponent, typeof WorkspaceWidgetOutletComponent];
|
|
229
|
+
/**
|
|
230
|
+
* @deprecated import the components directly or WORKSPACE_DIRECTIVES for every components/directives
|
|
231
|
+
*/
|
|
232
|
+
declare class IgoWorkspaceModule {
|
|
233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoWorkspaceModule, never>;
|
|
234
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoWorkspaceModule, never, [typeof WorkspaceSelectorComponent, typeof WorkspaceWidgetOutletComponent], [typeof WorkspaceSelectorComponent, typeof WorkspaceWidgetOutletComponent]>;
|
|
235
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoWorkspaceModule>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export { IgoWorkspaceModule, IgoWorkspaceSelectorModule, IgoWorkspaceWidgetOutletModule, WORKSPACE_DIRECTIVES, Workspace, WorkspaceSelectorComponent, WorkspaceStore, WorkspaceWidgetOutletComponent };
|
|
239
|
+
export type { WorkspaceOptions };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./actionbar/actionbar.component";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated import the ActionbarComponent directly
|
|
5
|
-
*/
|
|
6
|
-
export declare class IgoActionModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionModule, never, [typeof i1.ActionbarComponent], [typeof i1.ActionbarComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionModule>;
|
|
10
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, isObservable } from 'rxjs';
|
|
3
|
-
import { Action } from '../shared/action.interfaces';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* An action button
|
|
7
|
-
*/
|
|
8
|
-
export declare class ActionbarItemComponent implements OnInit, OnDestroy {
|
|
9
|
-
readonly disabled$: BehaviorSubject<boolean>;
|
|
10
|
-
readonly checkCondition$: BehaviorSubject<boolean>;
|
|
11
|
-
readonly tooltip$: BehaviorSubject<string>;
|
|
12
|
-
readonly noDisplay$: BehaviorSubject<boolean>;
|
|
13
|
-
readonly ngClass$: BehaviorSubject<Record<string, boolean>>;
|
|
14
|
-
private ngClass$$;
|
|
15
|
-
private disabled$$;
|
|
16
|
-
private availability$$;
|
|
17
|
-
private checkCondition$$;
|
|
18
|
-
private tooltip$$;
|
|
19
|
-
private noDisplay$$;
|
|
20
|
-
private display$$;
|
|
21
|
-
isObservable: typeof isObservable;
|
|
22
|
-
/**
|
|
23
|
-
* Action
|
|
24
|
-
*/
|
|
25
|
-
action: Action;
|
|
26
|
-
/**
|
|
27
|
-
* Color
|
|
28
|
-
*/
|
|
29
|
-
color: string;
|
|
30
|
-
/**
|
|
31
|
-
* Whether the action title is displayed
|
|
32
|
-
*/
|
|
33
|
-
withTitle: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the action icon is displayed
|
|
36
|
-
*/
|
|
37
|
-
withIcon: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether a tooltip should be shown
|
|
40
|
-
*/
|
|
41
|
-
withTooltip: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the action is disabled
|
|
44
|
-
*/
|
|
45
|
-
set disabled(value: boolean);
|
|
46
|
-
get disabled(): boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Whether the action is display or not
|
|
49
|
-
*/
|
|
50
|
-
set noDisplay(value: boolean);
|
|
51
|
-
get noDisplay(): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Event emitted when the action button is clicked
|
|
54
|
-
*/
|
|
55
|
-
trigger: EventEmitter<Action>;
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
get title(): string;
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
/**
|
|
63
|
-
* When the action button is clicked, emit the 'trigger' event but don't
|
|
64
|
-
* invoke the action handler. This is handled by the parent component.
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
onClick(): void;
|
|
68
|
-
private updateNgClass;
|
|
69
|
-
private updateTooltip;
|
|
70
|
-
private updateCheckCondition;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarItemComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarItemComponent, "igo-actionbar-item", never, { "action": { "alias": "action"; "required": false; }; "color": { "alias": "color"; "required": false; }; "withTitle": { "alias": "withTitle"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noDisplay": { "alias": "noDisplay"; "required": false; }; }, { "trigger": "trigger"; }, never, never, true, never>;
|
|
73
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { MenuPositionX, MenuPositionY } from '@angular/material/menu';
|
|
4
|
-
import { MediaService } from '@igo2/core/media';
|
|
5
|
-
import { BehaviorSubject } from 'rxjs';
|
|
6
|
-
import { ActionbarMode } from '../shared/action.enums';
|
|
7
|
-
import { Action } from '../shared/action.interfaces';
|
|
8
|
-
import { ActionStore } from '../shared/store';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* A list of action buttons.
|
|
12
|
-
* This component can be displayed in one of two way: 'dock' or 'overlay'
|
|
13
|
-
*/
|
|
14
|
-
export declare class ActionbarComponent implements OnDestroy, OnChanges {
|
|
15
|
-
overlay: Overlay;
|
|
16
|
-
private elRef;
|
|
17
|
-
private cdRef;
|
|
18
|
-
mediaService: MediaService;
|
|
19
|
-
/**
|
|
20
|
-
* Reference to the ActionbarMode enum for use in the template
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
|
-
actionbarMode: typeof ActionbarMode;
|
|
24
|
-
/**
|
|
25
|
-
* Whether the actionbar is collapsed (Dock mode)
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
collapsed: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Toggle collapse action (Dock)
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
toggleCollapseAction: {
|
|
34
|
-
id: string;
|
|
35
|
-
icon: string;
|
|
36
|
-
handler: () => void;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Action store watcher
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
|
-
private watcher;
|
|
43
|
-
/**
|
|
44
|
-
* Height Condition for scroll button
|
|
45
|
-
*/
|
|
46
|
-
heightCondition$: BehaviorSubject<boolean>;
|
|
47
|
-
/**
|
|
48
|
-
* Position Condition for top scroll button
|
|
49
|
-
*/
|
|
50
|
-
positionConditionTop$: BehaviorSubject<boolean>;
|
|
51
|
-
/**
|
|
52
|
-
* Position Condition for low scroll button
|
|
53
|
-
*/
|
|
54
|
-
positionConditionLow$: BehaviorSubject<boolean>;
|
|
55
|
-
/**
|
|
56
|
-
* Action store
|
|
57
|
-
*/
|
|
58
|
-
store: ActionStore;
|
|
59
|
-
/**
|
|
60
|
-
* Actionbar mode
|
|
61
|
-
*/
|
|
62
|
-
mode: ActionbarMode;
|
|
63
|
-
/**
|
|
64
|
-
* Whether a toggle button should be displayed (Dock mode)
|
|
65
|
-
*/
|
|
66
|
-
withToggleButton: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Whether a the actionbar should display buttons horizontally
|
|
69
|
-
*/
|
|
70
|
-
horizontal: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Color
|
|
73
|
-
*/
|
|
74
|
-
color: string;
|
|
75
|
-
/**
|
|
76
|
-
* Color of the button if action mode === overlay
|
|
77
|
-
*/
|
|
78
|
-
iconColor: string;
|
|
79
|
-
/**
|
|
80
|
-
* Whether action titles are displayed
|
|
81
|
-
*/
|
|
82
|
-
withTitle: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Whether action tooltips are displayed
|
|
85
|
-
*/
|
|
86
|
-
withTooltip: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Whether action titles are displayed (condition for scroll button)
|
|
89
|
-
*/
|
|
90
|
-
scrollActive: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Whether action icons are displayed
|
|
93
|
-
*/
|
|
94
|
-
withIcon: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Which icon want to be shown
|
|
97
|
-
*/
|
|
98
|
-
icon: string;
|
|
99
|
-
/**
|
|
100
|
-
* Overlay X position
|
|
101
|
-
*/
|
|
102
|
-
xPosition: MenuPositionX;
|
|
103
|
-
/**
|
|
104
|
-
* Overlay Y position
|
|
105
|
-
*/
|
|
106
|
-
yPosition: MenuPositionY;
|
|
107
|
-
/**
|
|
108
|
-
* Class to add to the actionbar overlay
|
|
109
|
-
*/
|
|
110
|
-
set overlayClass(value: string);
|
|
111
|
-
get overlayClass(): string;
|
|
112
|
-
private _overlayClass;
|
|
113
|
-
isCollapsed: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* @ignore
|
|
116
|
-
*/
|
|
117
|
-
get withTitleClass(): boolean;
|
|
118
|
-
/**
|
|
119
|
-
* @ignore
|
|
120
|
-
*/
|
|
121
|
-
get withIconClass(): boolean;
|
|
122
|
-
/**
|
|
123
|
-
* @ignore
|
|
124
|
-
*/
|
|
125
|
-
get horizontalClass(): boolean;
|
|
126
|
-
get heightCondition(): boolean;
|
|
127
|
-
get positionConditionTop(): boolean;
|
|
128
|
-
get positionConditionLow(): boolean;
|
|
129
|
-
get isDesktop(): boolean;
|
|
130
|
-
constructor(overlay: Overlay, elRef: ElementRef, cdRef: ChangeDetectorRef, mediaService: MediaService);
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
ngOnDestroy(): void;
|
|
139
|
-
/**
|
|
140
|
-
* Invoke the action handler
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
onTriggerAction(action: Action): void;
|
|
144
|
-
scrollDown(): void;
|
|
145
|
-
scrollUp(): void;
|
|
146
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarComponent, never>;
|
|
147
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarComponent, "igo-actionbar", never, { "store": { "alias": "store"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "withToggleButton": { "alias": "withToggleButton"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "color": { "alias": "color"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "withTitle": { "alias": "withTitle"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; "scrollActive": { "alias": "scrollActive"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "overlayClass": { "alias": "overlayClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
148
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./actionbar.component";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated import the ActionbarComponent directly
|
|
5
|
-
*/
|
|
6
|
-
export declare class IgoActionbarModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionbarModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionbarModule, never, [typeof i1.ActionbarComponent], [typeof i1.ActionbarComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionbarModule>;
|
|
10
|
-
}
|
package/action/public_api.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconSvg } from '@igo2/common/icon';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export interface Action {
|
|
4
|
-
id: string;
|
|
5
|
-
handler: ActionHandler;
|
|
6
|
-
title?: string;
|
|
7
|
-
icon?: string | IconSvg | Observable<string>;
|
|
8
|
-
tooltip?: string | Observable<string>;
|
|
9
|
-
args?: any[];
|
|
10
|
-
checkbox?: boolean;
|
|
11
|
-
checkCondition?: boolean | Observable<boolean>;
|
|
12
|
-
display?: (...args: any[]) => Observable<boolean>;
|
|
13
|
-
availability?: (...args: any[]) => Observable<boolean>;
|
|
14
|
-
ngClass?: (...args: any[]) => Observable<Record<string, boolean>>;
|
|
15
|
-
}
|
|
16
|
-
export type ActionHandler = (...args: any[]) => void;
|
package/action/shared/index.d.ts
DELETED
package/action/shared/store.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
@include density($theme);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin density($theme) {
|
|
9
|
-
$density: mat.get-theme-density($theme);
|
|
10
|
-
$theme: map.merge(
|
|
11
|
-
$theme,
|
|
12
|
-
(
|
|
13
|
-
density: $density - 2
|
|
14
|
-
)
|
|
15
|
-
);
|
|
16
|
-
|
|
17
|
-
igo-actionbar-item {
|
|
18
|
-
@include mat.list-density($theme);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BackdropComponent {
|
|
3
|
-
get shown(): boolean;
|
|
4
|
-
set shown(value: boolean);
|
|
5
|
-
private _shown;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackdropComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BackdropComponent, "igo-backdrop", never, { "shown": { "alias": "shown"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./backdrop.component";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated import the BackdropComponent directly
|
|
6
|
-
*/
|
|
7
|
-
export declare class IgoBackdropModule {
|
|
8
|
-
static forRoot(): ModuleWithProviders<IgoBackdropModule>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoBackdropModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoBackdropModule, never, [typeof i1.BackdropComponent], [typeof i1.BackdropComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoBackdropModule>;
|
|
12
|
-
}
|
package/backdrop/public_api.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This directive allow to add an icon inside a matBadge.
|
|
5
|
-
* A value must be set into the matBadge directive ex: matBadge="icon".
|
|
6
|
-
* The badge content will be overrided by this current directive.
|
|
7
|
-
*/
|
|
8
|
-
export declare class IgoBadgeIconDirective implements OnInit {
|
|
9
|
-
private el;
|
|
10
|
-
set igoMatBadgeIcon(value: string);
|
|
11
|
-
private html;
|
|
12
|
-
set matBadgeHidden(value: boolean);
|
|
13
|
-
private hidden;
|
|
14
|
-
set matBadgeDisabled(value: boolean);
|
|
15
|
-
private disabled;
|
|
16
|
-
set igoMatBadgeInverseColor(value: boolean);
|
|
17
|
-
private inverseColor;
|
|
18
|
-
set igoMatBadgeInheritColor(value: boolean);
|
|
19
|
-
private inheritColor;
|
|
20
|
-
set igoMatBadgeColor(value: string);
|
|
21
|
-
private color;
|
|
22
|
-
set igoMatBadgeBackgroundColor(value: string);
|
|
23
|
-
private backgroundColor;
|
|
24
|
-
get badge(): any;
|
|
25
|
-
private originalColor;
|
|
26
|
-
constructor(el: ElementRef);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
private updateHtml;
|
|
29
|
-
private updateColor;
|
|
30
|
-
private updateHidden;
|
|
31
|
-
private updateDisabled;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoBadgeIconDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IgoBadgeIconDirective, "[igoMatBadgeIcon]", never, { "igoMatBadgeIcon": { "alias": "igoMatBadgeIcon"; "required": false; }; "matBadgeHidden": { "alias": "matBadgeHidden"; "required": false; }; "matBadgeDisabled": { "alias": "matBadgeDisabled"; "required": false; }; "igoMatBadgeInverseColor": { "alias": "igoMatBadgeInverseColor"; "required": false; }; "igoMatBadgeInheritColor": { "alias": "igoMatBadgeInheritColor"; "required": false; }; "igoMatBadgeColor": { "alias": "igoMatBadgeColor"; "required": false; }; "igoMatBadgeBackgroundColor": { "alias": "igoMatBadgeBackgroundColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./badge-icon.directive";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated import the IgoBadgeIconDirective directly
|
|
6
|
-
*/
|
|
7
|
-
export declare class IgoMatBadgeIconModule {
|
|
8
|
-
static forRoot(): ModuleWithProviders<IgoMatBadgeIconModule>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoMatBadgeIconModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMatBadgeIconModule, never, [typeof i1.IgoBadgeIconDirective], [typeof i1.IgoBadgeIconDirective]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoMatBadgeIconModule>;
|
|
12
|
-
}
|
package/badge/public_api.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClickoutDirective {
|
|
4
|
-
private el;
|
|
5
|
-
clickout: EventEmitter<MouseEvent>;
|
|
6
|
-
handleMouseClick(event: MouseEvent, target: HTMLElement): void;
|
|
7
|
-
constructor(el: ElementRef);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickoutDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickoutDirective, "[igoClickout]", never, {}, { "clickout": "clickout"; }, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./clickout.directive";
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated import the ClickoutDirective directly
|
|
6
|
-
*/
|
|
7
|
-
export declare class IgoClickoutModule {
|
|
8
|
-
static forRoot(): ModuleWithProviders<IgoClickoutModule>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgoClickoutModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoClickoutModule, never, [typeof i1.ClickoutDirective], [typeof i1.ClickoutDirective]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<IgoClickoutModule>;
|
|
12
|
-
}
|
package/clickout/public_api.d.ts
DELETED