@igo2/common 19.0.3 → 20.0.0-next.1
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/action/index.d.ts
CHANGED
|
@@ -1,5 +1,196 @@
|
|
|
1
|
+
import { IconSvg } from '@igo2/common/icon';
|
|
2
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { EntityStore } from '@igo2/common/entity';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
7
|
+
import { MenuPositionX, MenuPositionY } from '@angular/material/menu';
|
|
8
|
+
import { MediaService } from '@igo2/core/media';
|
|
9
|
+
|
|
10
|
+
declare enum ActionbarMode {
|
|
11
|
+
Dock = "dock",
|
|
12
|
+
Overlay = "overlay",
|
|
13
|
+
Context = "context"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface Action {
|
|
17
|
+
id: string;
|
|
18
|
+
handler: ActionHandler;
|
|
19
|
+
title?: string;
|
|
20
|
+
icon?: string | IconSvg | Observable<string>;
|
|
21
|
+
tooltip?: string | Observable<string>;
|
|
22
|
+
args?: any[];
|
|
23
|
+
checkbox?: boolean;
|
|
24
|
+
checkCondition?: boolean | Observable<boolean>;
|
|
25
|
+
display?: (...args: any[]) => Observable<boolean>;
|
|
26
|
+
availability?: (...args: any[]) => Observable<boolean>;
|
|
27
|
+
ngClass?: (...args: any[]) => Observable<Record<string, boolean>>;
|
|
28
|
+
}
|
|
29
|
+
type ActionHandler = (...args: any[]) => void;
|
|
30
|
+
|
|
1
31
|
/**
|
|
2
|
-
*
|
|
32
|
+
* The class is a specialized version of an EntityStore that stores
|
|
33
|
+
* actions.
|
|
3
34
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
35
|
+
declare class ActionStore extends EntityStore<Action> {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* A list of action buttons.
|
|
40
|
+
* This component can be displayed in one of two way: 'dock' or 'overlay'
|
|
41
|
+
*/
|
|
42
|
+
declare class ActionbarComponent implements OnDestroy, OnChanges {
|
|
43
|
+
overlay: Overlay;
|
|
44
|
+
private elRef;
|
|
45
|
+
private cdRef;
|
|
46
|
+
mediaService: MediaService;
|
|
47
|
+
/**
|
|
48
|
+
* Reference to the ActionbarMode enum for use in the template
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
actionbarMode: typeof ActionbarMode;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the actionbar is collapsed (Dock mode)
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
collapsed: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Toggle collapse action (Dock)
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
toggleCollapseAction: {
|
|
62
|
+
id: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
handler: () => void;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Action store watcher
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private watcher;
|
|
71
|
+
/**
|
|
72
|
+
* Height Condition for scroll button
|
|
73
|
+
*/
|
|
74
|
+
heightCondition$: BehaviorSubject<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* Position Condition for top scroll button
|
|
77
|
+
*/
|
|
78
|
+
positionConditionTop$: BehaviorSubject<boolean>;
|
|
79
|
+
/**
|
|
80
|
+
* Position Condition for low scroll button
|
|
81
|
+
*/
|
|
82
|
+
positionConditionLow$: BehaviorSubject<boolean>;
|
|
83
|
+
/**
|
|
84
|
+
* Action store
|
|
85
|
+
*/
|
|
86
|
+
store: ActionStore;
|
|
87
|
+
/**
|
|
88
|
+
* Actionbar mode
|
|
89
|
+
*/
|
|
90
|
+
mode: ActionbarMode;
|
|
91
|
+
/**
|
|
92
|
+
* Whether a toggle button should be displayed (Dock mode)
|
|
93
|
+
*/
|
|
94
|
+
withToggleButton: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Whether a the actionbar should display buttons horizontally
|
|
97
|
+
*/
|
|
98
|
+
horizontal: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Color
|
|
101
|
+
*/
|
|
102
|
+
color: string;
|
|
103
|
+
/**
|
|
104
|
+
* Color of the button if action mode === overlay
|
|
105
|
+
*/
|
|
106
|
+
iconColor: string;
|
|
107
|
+
/**
|
|
108
|
+
* Whether action titles are displayed
|
|
109
|
+
*/
|
|
110
|
+
withTitle: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Whether action tooltips are displayed
|
|
113
|
+
*/
|
|
114
|
+
withTooltip: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Whether action titles are displayed (condition for scroll button)
|
|
117
|
+
*/
|
|
118
|
+
scrollActive: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Whether action icons are displayed
|
|
121
|
+
*/
|
|
122
|
+
withIcon: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Which icon want to be shown
|
|
125
|
+
*/
|
|
126
|
+
icon: string;
|
|
127
|
+
/**
|
|
128
|
+
* Overlay X position
|
|
129
|
+
*/
|
|
130
|
+
xPosition: MenuPositionX;
|
|
131
|
+
/**
|
|
132
|
+
* Overlay Y position
|
|
133
|
+
*/
|
|
134
|
+
yPosition: MenuPositionY;
|
|
135
|
+
/**
|
|
136
|
+
* Class to add to the actionbar overlay
|
|
137
|
+
*/
|
|
138
|
+
set overlayClass(value: string);
|
|
139
|
+
get overlayClass(): string;
|
|
140
|
+
private _overlayClass;
|
|
141
|
+
isCollapsed: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
|
+
*/
|
|
145
|
+
get withTitleClass(): boolean;
|
|
146
|
+
/**
|
|
147
|
+
* @ignore
|
|
148
|
+
*/
|
|
149
|
+
get withIconClass(): boolean;
|
|
150
|
+
/**
|
|
151
|
+
* @ignore
|
|
152
|
+
*/
|
|
153
|
+
get horizontalClass(): boolean;
|
|
154
|
+
get heightCondition(): boolean;
|
|
155
|
+
get positionConditionTop(): boolean;
|
|
156
|
+
get positionConditionLow(): boolean;
|
|
157
|
+
get isDesktop(): boolean;
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
ngOnDestroy(): void;
|
|
166
|
+
/**
|
|
167
|
+
* Invoke the action handler
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
onTriggerAction(action: Action): void;
|
|
171
|
+
scrollDown(): void;
|
|
172
|
+
scrollUp(): void;
|
|
173
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarComponent, never>;
|
|
174
|
+
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>;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @deprecated import the ActionbarComponent directly
|
|
179
|
+
*/
|
|
180
|
+
declare class IgoActionModule {
|
|
181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionModule, never>;
|
|
182
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionModule, never, [typeof ActionbarComponent], [typeof ActionbarComponent]>;
|
|
183
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionModule>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @deprecated import the ActionbarComponent directly
|
|
188
|
+
*/
|
|
189
|
+
declare class IgoActionbarModule {
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionbarModule, never>;
|
|
191
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionbarModule, never, [typeof ActionbarComponent], [typeof ActionbarComponent]>;
|
|
192
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionbarModule>;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export { ActionStore, ActionbarComponent, ActionbarMode, IgoActionModule, IgoActionbarModule };
|
|
196
|
+
export type { Action, ActionHandler };
|
package/backdrop/index.d.ts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class BackdropComponent {
|
|
5
|
+
get shown(): boolean;
|
|
6
|
+
set shown(value: boolean);
|
|
7
|
+
private _shown;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackdropComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackdropComponent, "igo-backdrop", never, { "shown": { "alias": "shown"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
|
|
1
12
|
/**
|
|
2
|
-
*
|
|
13
|
+
* @deprecated import the BackdropComponent directly
|
|
3
14
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
15
|
+
declare class IgoBackdropModule {
|
|
16
|
+
static forRoot(): ModuleWithProviders<IgoBackdropModule>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoBackdropModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoBackdropModule, never, [typeof BackdropComponent], [typeof BackdropComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoBackdropModule>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { BackdropComponent, IgoBackdropModule };
|
package/badge/index.d.ts
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
|
-
*
|
|
5
|
+
* This directive allow to add an icon inside a matBadge.
|
|
6
|
+
* A value must be set into the matBadge directive ex: matBadge="icon".
|
|
7
|
+
* The badge content will be overrided by this current directive.
|
|
3
8
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
declare class IgoBadgeIconDirective implements OnInit {
|
|
10
|
+
private el;
|
|
11
|
+
set igoMatBadgeIcon(value: string);
|
|
12
|
+
private html;
|
|
13
|
+
set matBadgeHidden(value: boolean);
|
|
14
|
+
private hidden;
|
|
15
|
+
set matBadgeDisabled(value: boolean);
|
|
16
|
+
private disabled;
|
|
17
|
+
set igoMatBadgeInverseColor(value: boolean);
|
|
18
|
+
private inverseColor;
|
|
19
|
+
set igoMatBadgeInheritColor(value: boolean);
|
|
20
|
+
private inheritColor;
|
|
21
|
+
set igoMatBadgeColor(value: string);
|
|
22
|
+
private color;
|
|
23
|
+
set igoMatBadgeBackgroundColor(value: string);
|
|
24
|
+
private backgroundColor;
|
|
25
|
+
get badge(): any;
|
|
26
|
+
private originalColor;
|
|
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
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated import the IgoBadgeIconDirective directly
|
|
38
|
+
*/
|
|
39
|
+
declare class IgoMatBadgeIconModule {
|
|
40
|
+
static forRoot(): ModuleWithProviders<IgoMatBadgeIconModule>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoMatBadgeIconModule, never>;
|
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMatBadgeIconModule, never, [typeof IgoBadgeIconDirective], [typeof IgoBadgeIconDirective]>;
|
|
43
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoMatBadgeIconModule>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { IgoBadgeIconDirective, IgoMatBadgeIconModule };
|
package/clickout/index.d.ts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class ClickoutDirective {
|
|
5
|
+
private el;
|
|
6
|
+
clickout: EventEmitter<MouseEvent>;
|
|
7
|
+
handleMouseClick(event: MouseEvent, target: HTMLElement): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickoutDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickoutDirective, "[igoClickout]", never, {}, { "clickout": "clickout"; }, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
|
|
1
12
|
/**
|
|
2
|
-
*
|
|
13
|
+
* @deprecated import the ClickoutDirective directly
|
|
3
14
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
15
|
+
declare class IgoClickoutModule {
|
|
16
|
+
static forRoot(): ModuleWithProviders<IgoClickoutModule>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoClickoutModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoClickoutModule, never, [typeof ClickoutDirective], [typeof ClickoutDirective]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoClickoutModule>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { ClickoutDirective, IgoClickoutModule };
|
package/clone/index.d.ts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class ClonePipe implements PipeTransform {
|
|
5
|
+
transform(value: any): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClonePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ClonePipe, "clone", true>;
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
/**
|
|
2
|
-
*
|
|
11
|
+
* @deprecated import the ClonePipe directly
|
|
3
12
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
declare class IgoCloneModule {
|
|
14
|
+
static forRoot(): ModuleWithProviders<IgoCloneModule>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCloneModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCloneModule, never, [typeof ClonePipe], [typeof ClonePipe]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCloneModule>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { ClonePipe, IgoCloneModule };
|
package/collapsible/index.d.ts
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class CollapseDirective {
|
|
5
|
+
private renderer;
|
|
6
|
+
private el;
|
|
7
|
+
get target(): Element;
|
|
8
|
+
set target(value: Element);
|
|
9
|
+
private _target;
|
|
10
|
+
get collapsed(): boolean;
|
|
11
|
+
set collapsed(collapsed: boolean);
|
|
12
|
+
private _collapsed;
|
|
13
|
+
toggle: EventEmitter<boolean>;
|
|
14
|
+
click(): void;
|
|
15
|
+
private collapseTarget;
|
|
16
|
+
private expandTarget;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CollapseDirective, "[igoCollapse]", never, { "target": { "alias": "target"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "toggle": "toggle"; }, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class CollapsibleComponent {
|
|
22
|
+
get title(): string;
|
|
23
|
+
set title(value: string);
|
|
24
|
+
private _title;
|
|
25
|
+
get collapsed(): boolean;
|
|
26
|
+
set collapsed(value: boolean);
|
|
27
|
+
private _collapsed;
|
|
28
|
+
toggle: EventEmitter<boolean>;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleComponent, "igo-collapsible", never, { "title": { "alias": "title"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "toggle": "toggle"; }, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
32
|
+
|
|
1
33
|
/**
|
|
2
|
-
*
|
|
34
|
+
* @deprecated import the components/directives directly or COLLAPSIBLE_DIRECTIVES for the set
|
|
3
35
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
36
|
+
declare class IgoCollapsibleModule {
|
|
37
|
+
static forRoot(): ModuleWithProviders<IgoCollapsibleModule>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCollapsibleModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCollapsibleModule, never, [typeof CollapsibleComponent, typeof CollapseDirective], [typeof CollapsibleComponent, typeof CollapseDirective]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCollapsibleModule>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare const COLLAPSIBLE_DIRECTIVES: readonly [typeof CollapsibleComponent, typeof CollapseDirective];
|
|
44
|
+
|
|
45
|
+
export { COLLAPSIBLE_DIRECTIVES, CollapseDirective, CollapsibleComponent, IgoCollapsibleModule };
|
package/color/index.d.ts
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { ColorEvent } from 'ngx-color';
|
|
5
|
+
|
|
6
|
+
type ColorFormat = 'hex' | 'rgba' | 'hsla';
|
|
7
|
+
declare class ColorPickerFormFieldComponent implements ControlValueAccessor {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
set value(value: string);
|
|
10
|
+
get value(): string;
|
|
11
|
+
private _value;
|
|
12
|
+
outputFormat: ColorFormat;
|
|
13
|
+
/**
|
|
14
|
+
* The emitted value represent the current chosen color in the picker
|
|
15
|
+
* The value is emitted by default in RGBA, or based on the input 'outputFormat' value.
|
|
16
|
+
*/
|
|
17
|
+
colorChange: EventEmitter<string>;
|
|
18
|
+
colorPicker: string;
|
|
19
|
+
onChange: any;
|
|
20
|
+
onTouch: any;
|
|
21
|
+
writeValue(value: string): void;
|
|
22
|
+
registerOnChange(fn: any): void;
|
|
23
|
+
registerOnTouched(fn: any): void;
|
|
24
|
+
handleClick(event: MouseEvent): void;
|
|
25
|
+
handleChange($event: ColorEvent): void;
|
|
26
|
+
private formatColor;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerFormFieldComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerFormFieldComponent, "igo-color-picker-form-field", never, { "outputFormat": { "alias": "outputFormat"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
1
31
|
/**
|
|
2
|
-
*
|
|
32
|
+
* @deprecated import the ColorPickerFormFieldComponent directly
|
|
3
33
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
34
|
+
declare class ColorPickerFormFieldModule {
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerFormFieldModule, never>;
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerFormFieldModule, never, [typeof ColorPickerFormFieldComponent], [typeof ColorPickerFormFieldComponent]>;
|
|
37
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ColorPickerFormFieldModule>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { ColorPickerFormFieldComponent, ColorPickerFormFieldModule };
|
|
@@ -1,5 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
declare class ConfirmDialogComponent {
|
|
7
|
+
dialogRef: MatDialogRef<ConfirmDialogComponent, any>;
|
|
8
|
+
confirmMessage: string;
|
|
9
|
+
titleKey: string;
|
|
10
|
+
proccessKey: string;
|
|
11
|
+
cancelKey: string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "igo-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare class IgoConfirmDialogModule {
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated this has no effect
|
|
19
|
+
*/
|
|
20
|
+
static forRoot(): ModuleWithProviders<IgoConfirmDialogModule>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoConfirmDialogModule, never>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoConfirmDialogModule, never, [typeof ConfirmDialogComponent], [typeof ConfirmDialogComponent]>;
|
|
23
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoConfirmDialogModule>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface ConfirmDialogOptions {
|
|
27
|
+
title?: string;
|
|
28
|
+
modeYesNo?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class ConfirmDialogService {
|
|
32
|
+
private dialog;
|
|
33
|
+
open(message: string, options?: ConfirmDialogOptions): Observable<boolean>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogService, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmDialogService>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ConfirmDialogComponent, ConfirmDialogService, IgoConfirmDialogModule };
|
|
39
|
+
export type { ConfirmDialogOptions };
|
package/context-menu/index.d.ts
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { ViewContainerRef, TemplateRef, EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class ContextMenuDirective {
|
|
6
|
+
overlay: Overlay;
|
|
7
|
+
viewContainerRef: ViewContainerRef;
|
|
8
|
+
private elementRef;
|
|
9
|
+
private overlayRef;
|
|
10
|
+
private sub;
|
|
11
|
+
menuContext: TemplateRef<any>;
|
|
12
|
+
menuPosition: EventEmitter<{
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}>;
|
|
16
|
+
onContextMenu(e: MouseEvent | TouchEvent): void;
|
|
17
|
+
close(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[igoContextMenu]", never, { "menuContext": { "alias": "igoContextMenu"; "required": false; }; }, { "menuPosition": "menuPosition"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
|
|
1
22
|
/**
|
|
2
|
-
*
|
|
23
|
+
* IgoLongPress trigger longpress event after a define duration.
|
|
24
|
+
* This directive exist to patch the unavailable contextmenu event on iOS.
|
|
25
|
+
* @param touchDuration touch duration in ms, default value is 400ms
|
|
26
|
+
* @param iOSOnly define if longpress is triggered only for iOS, default value = true
|
|
3
27
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
28
|
+
declare class LongPressDirective {
|
|
29
|
+
private touchTimeout;
|
|
30
|
+
touchDuration: number;
|
|
31
|
+
onlyIOS: boolean;
|
|
32
|
+
longpress: EventEmitter<any>;
|
|
33
|
+
touchstart(e: TouchEvent): void;
|
|
34
|
+
touchend(): void;
|
|
35
|
+
private touchEnd;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDirective, "[igoLongPress]", never, { "touchDuration": { "alias": "touchDuration"; "required": false; }; "onlyIOS": { "alias": "onlyIOS"; "required": false; }; }, { "longpress": "longpress"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated import the components/directives directly or CONTEXT_MENU_DIRECTIVES for the set
|
|
42
|
+
*/
|
|
43
|
+
declare class IgoContextMenuModule {
|
|
44
|
+
static forRoot(): ModuleWithProviders<IgoContextMenuModule>;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextMenuModule, never>;
|
|
46
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextMenuModule, never, [typeof ContextMenuDirective, typeof LongPressDirective], [typeof ContextMenuDirective, typeof LongPressDirective]>;
|
|
47
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextMenuModule>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare const CONTEXT_MENU_DIRECTIVES: readonly [typeof ContextMenuDirective, typeof LongPressDirective];
|
|
51
|
+
|
|
52
|
+
export { CONTEXT_MENU_DIRECTIVES, ContextMenuDirective, IgoContextMenuModule, LongPressDirective };
|
package/custom-html/index.d.ts
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
|
|
5
|
+
declare class CustomHtmlComponent {
|
|
6
|
+
get html(): string;
|
|
7
|
+
set html(value: string);
|
|
8
|
+
private _html;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomHtmlComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomHtmlComponent, "igo-custom-html", never, { "html": { "alias": "html"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class SanitizeHtmlPipe implements PipeTransform {
|
|
14
|
+
private _sanitizer;
|
|
15
|
+
transform(v: string): SafeHtml;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeHtmlPipe, never>;
|
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeHtmlPipe, "sanitizeHtml", true>;
|
|
18
|
+
}
|
|
19
|
+
|
|
1
20
|
/**
|
|
2
|
-
*
|
|
21
|
+
* @deprecated import the components/directives directly or CUSTOM_HTML_DIRECTIVES for the set
|
|
3
22
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
23
|
+
declare class IgoCustomHtmlModule {
|
|
24
|
+
static forRoot(): ModuleWithProviders<IgoCustomHtmlModule>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCustomHtmlModule, never>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCustomHtmlModule, never, [typeof SanitizeHtmlPipe, typeof CustomHtmlComponent], [typeof SanitizeHtmlPipe, typeof CustomHtmlComponent]>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCustomHtmlModule>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare const CUSTOM_HTML_DIRECTIVES: readonly [typeof SanitizeHtmlPipe, typeof CustomHtmlComponent];
|
|
31
|
+
|
|
32
|
+
export { CUSTOM_HTML_DIRECTIVES, CustomHtmlComponent, IgoCustomHtmlModule, SanitizeHtmlPipe };
|
package/dom/index.d.ts
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
|
-
*
|
|
5
|
+
* @deprecated it has no effect
|
|
3
6
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
declare class IgoDOMModule {
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated it has no effect
|
|
10
|
+
*/
|
|
11
|
+
static forRoot(): ModuleWithProviders<IgoDOMModule>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoDOMModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoDOMModule, never, never, never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoDOMModule>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface DOMOptions {
|
|
18
|
+
id?: number;
|
|
19
|
+
name?: string;
|
|
20
|
+
url?: string;
|
|
21
|
+
values?: DOMValue[];
|
|
22
|
+
}
|
|
23
|
+
interface DOMValue {
|
|
24
|
+
id: number | string;
|
|
25
|
+
value: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class DOMService {
|
|
29
|
+
private http;
|
|
30
|
+
getDomValuesFromURL(domOptions: DOMOptions): Promise<DOMValue[]>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DOMService, never>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DOMService>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { DOMService, IgoDOMModule };
|
|
36
|
+
export type { DOMOptions, DOMValue };
|