@igo2/common 17.0.0-next.4 → 17.0.0-next.6
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/esm2022/lib/action/action.module.mjs +1 -1
- package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +10 -24
- package/esm2022/lib/action/actionbar/actionbar.component.mjs +5 -5
- package/esm2022/lib/action/actionbar/actionbar.module.mjs +1 -1
- package/esm2022/lib/action/index.mjs +1 -1
- package/esm2022/lib/action/shared/action.enums.mjs +1 -1
- package/esm2022/lib/action/shared/action.interfaces.mjs +1 -1
- package/esm2022/lib/action/shared/index.mjs +1 -1
- package/esm2022/lib/action/shared/store.mjs +1 -1
- package/esm2022/lib/backdrop/backdrop.component.mjs +3 -3
- package/esm2022/lib/backdrop/backdrop.module.mjs +1 -1
- package/esm2022/lib/backdrop/index.mjs +1 -1
- package/esm2022/lib/badge-icon/badge-icon.directive.mjs +14 -17
- package/esm2022/lib/badge-icon/badge-icon.module.mjs +1 -1
- package/esm2022/lib/badge-icon/index.mjs +1 -1
- package/esm2022/lib/clickout/clickout.directive.mjs +1 -1
- package/esm2022/lib/clickout/clickout.module.mjs +1 -1
- package/esm2022/lib/clickout/index.mjs +1 -1
- package/esm2022/lib/clone/clone.module.mjs +1 -1
- package/esm2022/lib/clone/clone.pipe.mjs +1 -1
- package/esm2022/lib/clone/index.mjs +1 -1
- package/esm2022/lib/collapsible/collapse.directive.mjs +1 -1
- package/esm2022/lib/collapsible/collapsible.component.mjs +3 -3
- package/esm2022/lib/collapsible/collapsible.module.mjs +1 -1
- package/esm2022/lib/collapsible/index.mjs +1 -1
- package/esm2022/lib/color-picker-form-field/color-picker-form-field.component.mjs +3 -3
- package/esm2022/lib/color-picker-form-field/color-picker-form-field.module.mjs +1 -1
- package/esm2022/lib/color-picker-form-field/index.mjs +1 -1
- package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/confirm-dialog/confirm-dialog.interface.mjs +1 -1
- package/esm2022/lib/confirm-dialog/confirm-dialog.module.mjs +1 -1
- package/esm2022/lib/confirm-dialog/confirm-dialog.service.mjs +1 -1
- package/esm2022/lib/confirm-dialog/index.mjs +1 -1
- package/esm2022/lib/context-menu/context-menu.directive.mjs +1 -1
- package/esm2022/lib/context-menu/context-menu.module.mjs +1 -1
- package/esm2022/lib/context-menu/index.mjs +1 -1
- package/esm2022/lib/context-menu/long-press.directive.mjs +1 -1
- package/esm2022/lib/custom-html/custom-html.component.mjs +3 -3
- package/esm2022/lib/custom-html/custom-html.module.mjs +1 -1
- package/esm2022/lib/custom-html/custom-html.pipe.mjs +1 -1
- package/esm2022/lib/custom-html/index.mjs +1 -1
- package/esm2022/lib/dom/dom.interfaces.mjs +1 -1
- package/esm2022/lib/dom/dom.module.mjs +1 -1
- package/esm2022/lib/dom/dom.service.mjs +1 -1
- package/esm2022/lib/dom/index.mjs +1 -1
- package/esm2022/lib/drag-drop/drag-drop.directive.mjs +1 -1
- package/esm2022/lib/drag-drop/drag-drop.module.mjs +1 -1
- package/esm2022/lib/drag-drop/index.mjs +1 -1
- package/esm2022/lib/dynamic-component/dynamic-component.module.mjs +1 -1
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +3 -3
- package/esm2022/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +1 -1
- package/esm2022/lib/dynamic-component/index.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/dynamic-component.service.mjs +1 -1
- package/esm2022/lib/dynamic-component/shared/index.mjs +1 -1
- package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +3 -3
- package/esm2022/lib/entity/entity-selector/entity-selector.module.mjs +1 -1
- package/esm2022/lib/entity/entity-table/entity-table-row.directive.mjs +1 -1
- package/esm2022/lib/entity/entity-table/entity-table.component.mjs +3 -3
- package/esm2022/lib/entity/entity-table/entity-table.module.mjs +1 -1
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +3 -3
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
- package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +1 -1
- package/esm2022/lib/entity/entity-table-paginator/index.mjs +1 -1
- package/esm2022/lib/entity/entity.module.mjs +1 -1
- package/esm2022/lib/entity/index.mjs +1 -1
- package/esm2022/lib/entity/shared/entity.enums.mjs +1 -1
- package/esm2022/lib/entity/shared/entity.interfaces.mjs +1 -1
- package/esm2022/lib/entity/shared/entity.utils.mjs +1 -1
- package/esm2022/lib/entity/shared/index.mjs +1 -1
- package/esm2022/lib/entity/shared/state.mjs +1 -1
- package/esm2022/lib/entity/shared/store.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/index.mjs +1 -1
- package/esm2022/lib/entity/shared/strategies/strategy.mjs +1 -1
- package/esm2022/lib/entity/shared/transaction.mjs +1 -1
- package/esm2022/lib/entity/shared/view.mjs +1 -1
- package/esm2022/lib/entity/shared/watcher.mjs +1 -1
- package/esm2022/lib/environment/environment.interface.mjs +1 -1
- package/esm2022/lib/environment/index.mjs +1 -1
- package/esm2022/lib/flexible/flexible.component.mjs +3 -3
- package/esm2022/lib/flexible/flexible.module.mjs +1 -1
- package/esm2022/lib/flexible/flexible.type.mjs +1 -1
- package/esm2022/lib/flexible/index.mjs +1 -1
- package/esm2022/lib/form/form/form.component.mjs +3 -3
- package/esm2022/lib/form/form/form.module.mjs +1 -1
- package/esm2022/lib/form/form-field/form-field-select.component.mjs +3 -3
- package/esm2022/lib/form/form-field/form-field-text.component.mjs +3 -3
- package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +3 -3
- package/esm2022/lib/form/form-field/form-field.component.mjs +3 -3
- package/esm2022/lib/form/form-field/form-field.module.mjs +1 -1
- package/esm2022/lib/form/form-field/index.mjs +1 -1
- package/esm2022/lib/form/form-group/form-group.component.mjs +3 -3
- package/esm2022/lib/form/form-group/form-group.module.mjs +1 -1
- package/esm2022/lib/form/form.module.mjs +1 -1
- package/esm2022/lib/form/index.mjs +1 -1
- package/esm2022/lib/form/shared/form-field-component.mjs +1 -1
- package/esm2022/lib/form/shared/form-field.service.mjs +1 -1
- package/esm2022/lib/form/shared/form.interfaces.mjs +1 -1
- package/esm2022/lib/form/shared/form.service.mjs +1 -1
- package/esm2022/lib/form/shared/form.utils.mjs +1 -1
- package/esm2022/lib/form/shared/index.mjs +1 -1
- package/esm2022/lib/form-dialog/form-dialog.component.mjs +3 -3
- package/esm2022/lib/form-dialog/form-dialog.interface.mjs +1 -1
- package/esm2022/lib/form-dialog/form-dialog.module.mjs +1 -1
- package/esm2022/lib/form-dialog/form-dialog.service.mjs +1 -1
- package/esm2022/lib/form-dialog/index.mjs +1 -1
- package/esm2022/lib/home-button/home-button.component.mjs +3 -3
- package/esm2022/lib/home-button/home-button.module.mjs +1 -1
- package/esm2022/lib/home-button/index.mjs +1 -1
- package/esm2022/lib/icons/icon/icon.component.mjs +40 -0
- package/esm2022/lib/icons/icon.provider.mjs +14 -0
- package/esm2022/lib/icons/index.mjs +4 -0
- package/esm2022/lib/icons/shared/icon.interface.mjs +2 -0
- package/esm2022/lib/icons/shared/icons.mjs +34 -0
- package/esm2022/lib/icons/shared/index.mjs +3 -0
- package/esm2022/lib/image/image-error.directive.mjs +1 -1
- package/esm2022/lib/image/image.module.mjs +1 -1
- package/esm2022/lib/image/index.mjs +1 -1
- package/esm2022/lib/image/secure-image.pipe.mjs +1 -1
- package/esm2022/lib/interactive-tour/index.mjs +1 -1
- package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +3 -3
- package/esm2022/lib/interactive-tour/interactive-tour.interface.mjs +1 -1
- package/esm2022/lib/interactive-tour/interactive-tour.loader.mjs +1 -1
- package/esm2022/lib/interactive-tour/interactive-tour.module.mjs +1 -1
- package/esm2022/lib/interactive-tour/interactive-tour.service.mjs +1 -1
- package/esm2022/lib/json-dialog/index.mjs +1 -1
- package/esm2022/lib/json-dialog/json-dialog.component.mjs +3 -3
- package/esm2022/lib/json-dialog/json-dialog.module.mjs +1 -1
- package/esm2022/lib/json-dialog/json-dialog.service.mjs +1 -1
- package/esm2022/lib/keyvalue/index.mjs +1 -1
- package/esm2022/lib/keyvalue/keyvalue.module.mjs +1 -1
- package/esm2022/lib/keyvalue/keyvalue.pipe.mjs +1 -1
- package/esm2022/lib/list/index.mjs +1 -1
- package/esm2022/lib/list/list-item.directive.mjs +1 -1
- package/esm2022/lib/list/list.component.mjs +3 -3
- package/esm2022/lib/list/list.module.mjs +1 -1
- package/esm2022/lib/panel/index.mjs +1 -1
- package/esm2022/lib/panel/panel.component.mjs +3 -3
- package/esm2022/lib/panel/panel.module.mjs +1 -1
- package/esm2022/lib/select-value-dialog/index.mjs +1 -1
- package/esm2022/lib/select-value-dialog/select-value-check-radio-dialog.component.mjs +3 -3
- package/esm2022/lib/select-value-dialog/select-value-dialog.enums.mjs +1 -1
- package/esm2022/lib/select-value-dialog/select-value-dialog.interface.mjs +1 -1
- package/esm2022/lib/select-value-dialog/select-value-dialog.module.mjs +1 -1
- package/esm2022/lib/select-value-dialog/select-value-dialog.service.mjs +1 -1
- package/esm2022/lib/sidenav/index.mjs +1 -1
- package/esm2022/lib/sidenav/sidenav-shim.directive.mjs +1 -1
- package/esm2022/lib/sidenav/sidenav.module.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +1 -1
- package/esm2022/lib/spinner/spinner-activity.directive.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/spinner/spinner.module.mjs +1 -1
- package/esm2022/lib/stop-propagation/index.mjs +1 -1
- package/esm2022/lib/stop-propagation/stop-drop-propagation.directive.mjs +1 -1
- package/esm2022/lib/stop-propagation/stop-propagation.directive.mjs +1 -1
- package/esm2022/lib/stop-propagation/stop-propagation.module.mjs +1 -1
- package/esm2022/lib/table/index.mjs +1 -1
- package/esm2022/lib/table/table-action-color.enum.mjs +1 -1
- package/esm2022/lib/table/table-database.mjs +1 -1
- package/esm2022/lib/table/table-datasource.mjs +1 -1
- package/esm2022/lib/table/table-model.interface.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +3 -3
- package/esm2022/lib/table/table.module.mjs +1 -1
- package/esm2022/lib/tool/index.mjs +1 -1
- package/esm2022/lib/tool/shared/index.mjs +1 -1
- package/esm2022/lib/tool/shared/tool-component.mjs +1 -1
- package/esm2022/lib/tool/shared/tool.interface.mjs +1 -1
- package/esm2022/lib/tool/shared/tool.service.mjs +1 -1
- package/esm2022/lib/tool/shared/toolbox.enums.mjs +1 -1
- package/esm2022/lib/tool/tool.module.mjs +1 -1
- package/esm2022/lib/tool/toolbox/toolbox.animation.mjs +1 -1
- package/esm2022/lib/tool/toolbox/toolbox.component.mjs +3 -4
- package/esm2022/lib/tool/toolbox/toolbox.module.mjs +1 -1
- package/esm2022/lib/widget/index.mjs +1 -1
- package/esm2022/lib/widget/shared/index.mjs +1 -1
- package/esm2022/lib/widget/shared/widget.interfaces.mjs +1 -1
- package/esm2022/lib/widget/shared/widget.mjs +1 -1
- package/esm2022/lib/widget/shared/widget.service.mjs +1 -1
- package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +3 -3
- package/esm2022/lib/widget/widget-outlet/widget-outlet.module.mjs +1 -1
- package/esm2022/lib/widget/widget.module.mjs +1 -1
- package/esm2022/lib/workspace/index.mjs +1 -1
- package/esm2022/lib/workspace/shared/index.mjs +1 -1
- package/esm2022/lib/workspace/shared/store.mjs +1 -1
- package/esm2022/lib/workspace/shared/workspace.interfaces.mjs +1 -1
- package/esm2022/lib/workspace/shared/workspace.mjs +1 -1
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +3 -3
- package/esm2022/lib/workspace/workspace-selector/workspace-selector.module.mjs +1 -1
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +3 -3
- package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +1 -1
- package/esm2022/lib/workspace/workspace.module.mjs +1 -1
- package/esm2022/public_api.mjs +2 -1
- package/fesm2022/igo2-common.mjs +193 -130
- package/fesm2022/igo2-common.mjs.map +1 -1
- package/lib/action/actionbar/actionbar-item.component.d.ts +2 -5
- package/lib/action/shared/action.interfaces.d.ts +2 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +3 -5
- package/lib/entity/shared/transaction.d.ts +1 -2
- package/lib/icons/icon/icon.component.d.ts +16 -0
- package/lib/icons/icon.provider.d.ts +4 -0
- package/lib/icons/index.d.ts +3 -0
- package/lib/icons/shared/icon.interface.d.ts +4 -0
- package/lib/icons/shared/icons.d.ts +21 -0
- package/lib/icons/shared/index.d.ts +2 -0
- package/lib/tool/shared/tool.interface.d.ts +2 -2
- package/package.json +3 -3
- package/public_api.d.ts +1 -0
- package/src/common-theme.scss +19 -19
- package/src/lib/action/action.theming.scss +5 -5
- package/src/lib/action/actionbar/actionbar-item.theming.scss +32 -32
- package/src/lib/action/actionbar/actionbar.theming.scss +22 -22
- package/src/lib/collapsible/collapsible.theming.scss +22 -22
- package/src/lib/entity/entity-selector/entity-selector.theming.scss +21 -21
- package/src/lib/entity/entity-table/entity-table.theming.scss +37 -37
- package/src/lib/entity/entity.theming.scss +7 -7
- package/src/lib/home-button/home-button.theming.scss +18 -18
- package/src/lib/interactive-tour/interactive-tour.theming.scss +32 -32
- package/src/lib/list/list.theming.scss +58 -58
- package/src/lib/panel/panel.theming.scss +30 -30
- package/src/lib/tool/tool.theming.scss +5 -5
- package/src/lib/tool/toolbox/toolbox.theming.scss +105 -105
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { BehaviorSubject, isObservable } from 'rxjs';
|
|
3
3
|
import { Action } from '../shared/action.interfaces';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -8,7 +8,6 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class ActionbarItemComponent implements OnInit, OnDestroy {
|
|
9
9
|
readonly disabled$: BehaviorSubject<boolean>;
|
|
10
10
|
readonly checkCondition$: BehaviorSubject<boolean>;
|
|
11
|
-
readonly icon$: BehaviorSubject<string>;
|
|
12
11
|
readonly tooltip$: BehaviorSubject<string>;
|
|
13
12
|
readonly noDisplay$: BehaviorSubject<boolean>;
|
|
14
13
|
readonly ngClass$: BehaviorSubject<{
|
|
@@ -17,11 +16,11 @@ export declare class ActionbarItemComponent implements OnInit, OnDestroy {
|
|
|
17
16
|
private ngClass$$;
|
|
18
17
|
private disabled$$;
|
|
19
18
|
private availability$$;
|
|
20
|
-
private icon$$;
|
|
21
19
|
private checkCondition$$;
|
|
22
20
|
private tooltip$$;
|
|
23
21
|
private noDisplay$$;
|
|
24
22
|
private display$$;
|
|
23
|
+
isObservable: typeof isObservable;
|
|
25
24
|
/**
|
|
26
25
|
* Action
|
|
27
26
|
*/
|
|
@@ -60,7 +59,6 @@ export declare class ActionbarItemComponent implements OnInit, OnDestroy {
|
|
|
60
59
|
* @internal
|
|
61
60
|
*/
|
|
62
61
|
get title(): string;
|
|
63
|
-
constructor();
|
|
64
62
|
ngOnInit(): void;
|
|
65
63
|
ngOnDestroy(): void;
|
|
66
64
|
/**
|
|
@@ -72,7 +70,6 @@ export declare class ActionbarItemComponent implements OnInit, OnDestroy {
|
|
|
72
70
|
private updateNgClass;
|
|
73
71
|
private updateTooltip;
|
|
74
72
|
private updateCheckCondition;
|
|
75
|
-
private updateIcon;
|
|
76
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarItemComponent, never>;
|
|
77
74
|
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>;
|
|
78
75
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { IconSvg } from '../../icons';
|
|
2
3
|
export interface Action {
|
|
3
4
|
id: string;
|
|
4
5
|
handler: ActionHandler;
|
|
5
6
|
title?: string;
|
|
6
|
-
icon?: string | Observable<string>;
|
|
7
|
+
icon?: string | IconSvg | Observable<string>;
|
|
7
8
|
tooltip?: string | Observable<string>;
|
|
8
9
|
args?: any[];
|
|
9
10
|
checkbox?: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* This directive allow to add an icon inside a matBadge.
|
|
@@ -8,9 +7,8 @@ import * as i0 from "@angular/core";
|
|
|
8
7
|
*/
|
|
9
8
|
export declare class IgoBadgeIconDirective implements OnInit {
|
|
10
9
|
private el;
|
|
11
|
-
private matIconRegistry;
|
|
12
10
|
set igoMatBadgeIcon(value: string);
|
|
13
|
-
private
|
|
11
|
+
private html;
|
|
14
12
|
set matBadgeHidden(value: boolean);
|
|
15
13
|
private hidden;
|
|
16
14
|
set matBadgeDisabled(value: boolean);
|
|
@@ -25,9 +23,9 @@ export declare class IgoBadgeIconDirective implements OnInit {
|
|
|
25
23
|
private backgroundColor;
|
|
26
24
|
get badge(): any;
|
|
27
25
|
private originalColor;
|
|
28
|
-
constructor(el: ElementRef
|
|
26
|
+
constructor(el: ElementRef);
|
|
29
27
|
ngOnInit(): void;
|
|
30
|
-
private
|
|
28
|
+
private updateHtml;
|
|
31
29
|
private updateColor;
|
|
32
30
|
private updateHidden;
|
|
33
31
|
private updateDisabled;
|
|
@@ -3,7 +3,7 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
3
3
|
import { EntityOperationType } from './entity.enums';
|
|
4
4
|
import { EntityKey, EntityOperationState, EntityTransactionOptions } from './entity.interfaces';
|
|
5
5
|
import { EntityStore } from './store';
|
|
6
|
-
interface EntityOperation<E extends object = object> {
|
|
6
|
+
export interface EntityOperation<E extends object = object> {
|
|
7
7
|
key: EntityKey;
|
|
8
8
|
type: EntityOperationType;
|
|
9
9
|
previous: E | undefined;
|
|
@@ -177,4 +177,3 @@ export declare class EntityTransaction {
|
|
|
177
177
|
*/
|
|
178
178
|
private checkInCommitPhase;
|
|
179
179
|
}
|
|
180
|
-
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { IconSvg } from '../shared';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IgoIconComponent {
|
|
6
|
+
private iconRegistry;
|
|
7
|
+
private sanitizer;
|
|
8
|
+
set icon(icon: string | IconSvg);
|
|
9
|
+
get icon(): string | IconSvg;
|
|
10
|
+
private _icon;
|
|
11
|
+
constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
|
12
|
+
registerSvg(icon: IconSvg): void;
|
|
13
|
+
isSvg(icon: string | IconSvg): icon is IconSvg;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoIconComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgoIconComponent, "igo-icon", never, { "icon": { "alias": "icon"; "required": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IconSvg } from './icon.interface';
|
|
2
|
+
/**
|
|
3
|
+
* Source: https://pictogrammers.com/library/mdi/
|
|
4
|
+
*/
|
|
5
|
+
export declare const MAGNIFY_SCAN_ICON: IconSvg;
|
|
6
|
+
export declare const MICROSOFT_ICON: {
|
|
7
|
+
name: string;
|
|
8
|
+
svg: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const KEYBOARD_ESC_ICON: {
|
|
11
|
+
name: string;
|
|
12
|
+
svg: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const ENGINE_ICON: {
|
|
15
|
+
name: string;
|
|
16
|
+
svg: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const SELECTION_MARKER_ICON: {
|
|
19
|
+
name: string;
|
|
20
|
+
svg: string;
|
|
21
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/common",
|
|
3
|
-
"version": "17.0.0-next.
|
|
3
|
+
"version": "17.0.0-next.6",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@angular/material": "^17.0.3",
|
|
45
45
|
"@angular/platform-browser": "^17.0.6",
|
|
46
46
|
"@floating-ui/utils": "^0.1.4",
|
|
47
|
-
"@igo2/core": "^17.0.0-next.
|
|
48
|
-
"@igo2/utils": "^17.0.0-next.
|
|
47
|
+
"@igo2/core": "^17.0.0-next.6",
|
|
48
|
+
"@igo2/utils": "^17.0.0-next.6",
|
|
49
49
|
"angular-shepherd": "17.0.0",
|
|
50
50
|
"ngx-color": "^9.0.0",
|
|
51
51
|
"scroll-into-view-if-needed": "^3.0.0",
|
package/public_api.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export * from './lib/flexible';
|
|
|
61
61
|
export * from './lib/form-dialog';
|
|
62
62
|
export * from './lib/form';
|
|
63
63
|
export * from './lib/home-button';
|
|
64
|
+
export * from './lib/icons';
|
|
64
65
|
export * from './lib/image';
|
|
65
66
|
export * from './lib/interactive-tour';
|
|
66
67
|
export * from './lib/json-dialog';
|
package/src/common-theme.scss
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
@use './lib/action/action.theming.scss' as action;
|
|
2
|
-
@use './lib/collapsible/collapsible.theming.scss' as collapsible;
|
|
3
|
-
@use './lib/entity/entity.theming.scss' as entity;
|
|
4
|
-
@use './lib/list/list.theming.scss' as list;
|
|
5
|
-
@use './lib/panel/panel.theming.scss' as panel;
|
|
6
|
-
@use './lib/tool/tool.theming.scss' as tool;
|
|
7
|
-
@use './lib/interactive-tour/interactive-tour.theming.scss' as interactive-tour;
|
|
8
|
-
@use './lib/home-button/home-button.theming.scss' as home-button;
|
|
9
|
-
|
|
10
|
-
@mixin common-component-themes($theme) {
|
|
11
|
-
@include action.igo-action-theming($theme);
|
|
12
|
-
@include collapsible.igo-collapsible-theming($theme);
|
|
13
|
-
@include entity.igo-entity-theming($theme);
|
|
14
|
-
@include list.igo-list-theming($theme);
|
|
15
|
-
@include panel.theme($theme);
|
|
16
|
-
@include tool.igo-tool-theming($theme);
|
|
17
|
-
@include interactive-tour.theme($theme);
|
|
18
|
-
@include home-button.theme($theme);
|
|
19
|
-
}
|
|
1
|
+
@use './lib/action/action.theming.scss' as action;
|
|
2
|
+
@use './lib/collapsible/collapsible.theming.scss' as collapsible;
|
|
3
|
+
@use './lib/entity/entity.theming.scss' as entity;
|
|
4
|
+
@use './lib/list/list.theming.scss' as list;
|
|
5
|
+
@use './lib/panel/panel.theming.scss' as panel;
|
|
6
|
+
@use './lib/tool/tool.theming.scss' as tool;
|
|
7
|
+
@use './lib/interactive-tour/interactive-tour.theming.scss' as interactive-tour;
|
|
8
|
+
@use './lib/home-button/home-button.theming.scss' as home-button;
|
|
9
|
+
|
|
10
|
+
@mixin common-component-themes($theme) {
|
|
11
|
+
@include action.igo-action-theming($theme);
|
|
12
|
+
@include collapsible.igo-collapsible-theming($theme);
|
|
13
|
+
@include entity.igo-entity-theming($theme);
|
|
14
|
+
@include list.igo-list-theming($theme);
|
|
15
|
+
@include panel.theme($theme);
|
|
16
|
+
@include tool.igo-tool-theming($theme);
|
|
17
|
+
@include interactive-tour.theme($theme);
|
|
18
|
+
@include home-button.theme($theme);
|
|
19
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use './actionbar/actionbar-item.theming.scss' as actionbar-item;
|
|
2
|
-
|
|
3
|
-
@mixin igo-action-theming($theme) {
|
|
4
|
-
@include actionbar-item.density($theme);
|
|
5
|
-
}
|
|
1
|
+
@use './actionbar/actionbar-item.theming.scss' as actionbar-item;
|
|
2
|
+
|
|
3
|
+
@mixin igo-action-theming($theme) {
|
|
4
|
+
@include actionbar-item.density($theme);
|
|
5
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
@include density($theme);
|
|
6
|
-
@include typography($theme);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin density($theme) {
|
|
10
|
-
$density: mat.get-density-config($theme);
|
|
11
|
-
$theme: map.merge(
|
|
12
|
-
$theme,
|
|
13
|
-
(
|
|
14
|
-
density: $density - 2
|
|
15
|
-
)
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
igo-actionbar-item {
|
|
19
|
-
@include mat.icon-button-density($theme);
|
|
20
|
-
@include mat.list-density($theme);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin typography($theme) {
|
|
25
|
-
$typography: mat.get-typography-config($theme);
|
|
26
|
-
|
|
27
|
-
igo-actionbar-item {
|
|
28
|
-
mat-checkbox label {
|
|
29
|
-
font-size: mat.font-size($typography, body-1);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
@include density($theme);
|
|
6
|
+
@include typography($theme);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin density($theme) {
|
|
10
|
+
$density: mat.get-density-config($theme);
|
|
11
|
+
$theme: map.merge(
|
|
12
|
+
$theme,
|
|
13
|
+
(
|
|
14
|
+
density: $density - 2
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
igo-actionbar-item {
|
|
19
|
+
@include mat.icon-button-density($theme);
|
|
20
|
+
@include mat.list-density($theme);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin typography($theme) {
|
|
25
|
+
$typography: mat.get-typography-config($theme);
|
|
26
|
+
|
|
27
|
+
igo-actionbar-item {
|
|
28
|
+
mat-checkbox label {
|
|
29
|
+
font-size: mat.font-size($typography, body-1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@mixin igo-actionbar-theming($theme) {
|
|
2
|
-
.igo-actionbar-overlay {
|
|
3
|
-
min-width: inherit !important;
|
|
4
|
-
padding-top: 0;
|
|
5
|
-
padding-bottom: 0;
|
|
6
|
-
|
|
7
|
-
.mat-mdc-list {
|
|
8
|
-
padding-top: 0;
|
|
9
|
-
}
|
|
10
|
-
.mat-mdc-list
|
|
11
|
-
.mat-mdc-list-item.mdc-list-item--with-leading-icon
|
|
12
|
-
.mdc-list-item__content
|
|
13
|
-
.mdc-list-item__primary-text {
|
|
14
|
-
padding-right: 16px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-mdc-menu-content:not(:empty) {
|
|
18
|
-
padding-top: 0;
|
|
19
|
-
padding-bottom: 0;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@mixin igo-actionbar-theming($theme) {
|
|
2
|
+
.igo-actionbar-overlay {
|
|
3
|
+
min-width: inherit !important;
|
|
4
|
+
padding-top: 0;
|
|
5
|
+
padding-bottom: 0;
|
|
6
|
+
|
|
7
|
+
.mat-mdc-list {
|
|
8
|
+
padding-top: 0;
|
|
9
|
+
}
|
|
10
|
+
.mat-mdc-list
|
|
11
|
+
.mat-mdc-list-item.mdc-list-item--with-leading-icon
|
|
12
|
+
.mdc-list-item__content
|
|
13
|
+
.mdc-list-item__primary-text {
|
|
14
|
+
padding-right: 16px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mat-mdc-menu-content:not(:empty) {
|
|
18
|
+
padding-top: 0;
|
|
19
|
+
padding-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@mixin igo-collapsible-theming($theme) {
|
|
2
|
-
mat-icon[igocollapse] {
|
|
3
|
-
&:hover {
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
&.igo-chevron {
|
|
8
|
-
width: auto !important;
|
|
9
|
-
transform: rotateZ(0deg);
|
|
10
|
-
transition: 300ms ease-in-out;
|
|
11
|
-
|
|
12
|
-
&.collapsed {
|
|
13
|
-
transform: rotateZ(180deg);
|
|
14
|
-
transition: 300ms ease-in-out;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
div.igo-collapsed {
|
|
20
|
-
display: none !important;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@mixin igo-collapsible-theming($theme) {
|
|
2
|
+
mat-icon[igocollapse] {
|
|
3
|
+
&:hover {
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&.igo-chevron {
|
|
8
|
+
width: auto !important;
|
|
9
|
+
transform: rotateZ(0deg);
|
|
10
|
+
transition: 300ms ease-in-out;
|
|
11
|
+
|
|
12
|
+
&.collapsed {
|
|
13
|
+
transform: rotateZ(180deg);
|
|
14
|
+
transition: 300ms ease-in-out;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
div.igo-collapsed {
|
|
20
|
+
display: none !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
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-density-config($theme);
|
|
10
|
-
|
|
11
|
-
$theme: map.merge(
|
|
12
|
-
$theme,
|
|
13
|
-
(
|
|
14
|
-
density: $density - 2
|
|
15
|
-
)
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
igo-entity-selector {
|
|
19
|
-
@include mat.form-field-density($theme);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
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-density-config($theme);
|
|
10
|
+
|
|
11
|
+
$theme: map.merge(
|
|
12
|
+
$theme,
|
|
13
|
+
(
|
|
14
|
+
density: $density - 2
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
igo-entity-selector {
|
|
19
|
+
@include mat.form-field-density($theme);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
@include color($theme);
|
|
6
|
-
@include density($theme);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin color($theme) {
|
|
10
|
-
$primary: map.get($theme, primary);
|
|
11
|
-
$accent: map.get($theme, accent);
|
|
12
|
-
$background: map-get($theme, background);
|
|
13
|
-
igo-entity-table
|
|
14
|
-
table.igo-entity-table-with-selection
|
|
15
|
-
tr.igo-entity-table-row-highlighted {
|
|
16
|
-
background-color: mat.get-color-from-palette($primary, A100);
|
|
17
|
-
color: mat.get-color-from-palette($primary, default-contrast);
|
|
18
|
-
}
|
|
19
|
-
igo-entity-table .mat-mdc-table thead {
|
|
20
|
-
background-color: mat.get-color-from-palette($background, background);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin density($theme) {
|
|
25
|
-
$density: mat.get-density-config($theme);
|
|
26
|
-
|
|
27
|
-
$theme: map.merge(
|
|
28
|
-
$theme,
|
|
29
|
-
(
|
|
30
|
-
density: $density - 1
|
|
31
|
-
)
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
igo-entity-table {
|
|
35
|
-
@include mat.table-density($theme);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
@include color($theme);
|
|
6
|
+
@include density($theme);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin color($theme) {
|
|
10
|
+
$primary: map.get($theme, primary);
|
|
11
|
+
$accent: map.get($theme, accent);
|
|
12
|
+
$background: map-get($theme, background);
|
|
13
|
+
igo-entity-table
|
|
14
|
+
table.igo-entity-table-with-selection
|
|
15
|
+
tr.igo-entity-table-row-highlighted {
|
|
16
|
+
background-color: mat.get-color-from-palette($primary, A100);
|
|
17
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
18
|
+
}
|
|
19
|
+
igo-entity-table .mat-mdc-table thead {
|
|
20
|
+
background-color: mat.get-color-from-palette($background, background);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin density($theme) {
|
|
25
|
+
$density: mat.get-density-config($theme);
|
|
26
|
+
|
|
27
|
+
$theme: map.merge(
|
|
28
|
+
$theme,
|
|
29
|
+
(
|
|
30
|
+
density: $density - 1
|
|
31
|
+
)
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
igo-entity-table {
|
|
35
|
+
@include mat.table-density($theme);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use './entity-table/entity-table.theming' as entity-table;
|
|
2
|
-
@use './entity-selector/entity-selector.theming' as entity-selector;
|
|
3
|
-
|
|
4
|
-
@mixin igo-entity-theming($theme) {
|
|
5
|
-
@include entity-table.theme($theme);
|
|
6
|
-
@include entity-selector.theme($theme);
|
|
7
|
-
}
|
|
1
|
+
@use './entity-table/entity-table.theming' as entity-table;
|
|
2
|
+
@use './entity-selector/entity-selector.theming' as entity-selector;
|
|
3
|
+
|
|
4
|
+
@mixin igo-entity-theming($theme) {
|
|
5
|
+
@include entity-table.theme($theme);
|
|
6
|
+
@include entity-selector.theme($theme);
|
|
7
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
$primary: map.get($theme, primary);
|
|
6
|
-
$accent: map.get($theme, accent);
|
|
7
|
-
$foreground: map.get($theme, foreground);
|
|
8
|
-
|
|
9
|
-
igo-home-button > #homeButton {
|
|
10
|
-
background-color: mat.get-color-from-palette($primary);
|
|
11
|
-
color: mat.get-color-from-palette($primary, default-contrast);
|
|
12
|
-
|
|
13
|
-
&:hover {
|
|
14
|
-
background-color: mat.get-color-from-palette($accent, lighter);
|
|
15
|
-
color: black;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
$primary: map.get($theme, primary);
|
|
6
|
+
$accent: map.get($theme, accent);
|
|
7
|
+
$foreground: map.get($theme, foreground);
|
|
8
|
+
|
|
9
|
+
igo-home-button > #homeButton {
|
|
10
|
+
background-color: mat.get-color-from-palette($primary);
|
|
11
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
15
|
+
color: black;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '@angular/material' as mat;
|
|
3
|
-
|
|
4
|
-
@mixin theme($theme) {
|
|
5
|
-
@include color($theme);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin color($theme) {
|
|
9
|
-
$primary: map.get($theme, primary);
|
|
10
|
-
$accent: map.get($theme, accent);
|
|
11
|
-
$warn: map.get($theme, warn);
|
|
12
|
-
|
|
13
|
-
igo-interactive-tour {
|
|
14
|
-
button {
|
|
15
|
-
&.tour-button-tool-icon {
|
|
16
|
-
color: mat.get-color-from-palette($primary, darker-contrast);
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
background-color: mat.get-color-from-palette(
|
|
20
|
-
$primary,
|
|
21
|
-
default-contrast
|
|
22
|
-
);
|
|
23
|
-
color: mat.get-color-from-palette($primary);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.mat-primary .mat-mdc-icon-button {
|
|
29
|
-
color: white;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
@include color($theme);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin color($theme) {
|
|
9
|
+
$primary: map.get($theme, primary);
|
|
10
|
+
$accent: map.get($theme, accent);
|
|
11
|
+
$warn: map.get($theme, warn);
|
|
12
|
+
|
|
13
|
+
igo-interactive-tour {
|
|
14
|
+
button {
|
|
15
|
+
&.tour-button-tool-icon {
|
|
16
|
+
color: mat.get-color-from-palette($primary, darker-contrast);
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
background-color: mat.get-color-from-palette(
|
|
20
|
+
$primary,
|
|
21
|
+
default-contrast
|
|
22
|
+
);
|
|
23
|
+
color: mat.get-color-from-palette($primary);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mat-primary .mat-mdc-icon-button {
|
|
29
|
+
color: white;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|