ngx-edu-sharing-ui 9.2.0 → 10.0.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/assets/scss/mixins.scss +4 -4
- package/assets/scss/variables-scss.scss +5 -1
- package/assets/scss/variables.scss +1 -3
- package/esm2022/lib/actionbar/actionbar.component.mjs +38 -20
- package/esm2022/lib/common/edu-sharing-ui-common.module.mjs +8 -5
- package/esm2022/lib/directives/border-box-observer.directive.mjs +6 -6
- package/esm2022/lib/directives/check-text-overflow.directive.mjs +5 -5
- package/esm2022/lib/directives/drag-nodes/nodes-drag-source.directive.mjs +4 -4
- package/esm2022/lib/directives/drag-nodes/nodes-drag.directive.mjs +4 -4
- package/esm2022/lib/directives/drag-nodes/nodes-drop-target.directive.mjs +4 -4
- package/esm2022/lib/directives/focus-state.directive.mjs +4 -4
- package/esm2022/lib/directives/icon.directive.mjs +26 -9
- package/esm2022/lib/directives/infinite-scroll.directive.mjs +4 -4
- package/esm2022/lib/dropdown/dropdown.component.mjs +25 -12
- package/esm2022/lib/edu-sharing-ui-configuration.mjs +4 -4
- package/esm2022/lib/edu-sharing-ui.module.mjs +5 -5
- package/esm2022/lib/index.mjs +88 -0
- package/esm2022/lib/list-items/format-duration.pipe.mjs +4 -4
- package/esm2022/lib/list-items/list-base/list-base.component.mjs +4 -4
- package/esm2022/lib/list-items/list-collection-info/list-collection-info.component.mjs +4 -4
- package/esm2022/lib/list-items/list-counts/list-counts.component.mjs +4 -4
- package/esm2022/lib/list-items/list-items.module.mjs +5 -5
- package/esm2022/lib/list-items/list-node-license/list-node-license.component.mjs +4 -4
- package/esm2022/lib/list-items/list-node-replication-source/list-node-replication-source.component.mjs +4 -4
- package/esm2022/lib/list-items/list-node-workflow/list-node-workflow.component.mjs +5 -5
- package/esm2022/lib/list-items/list-text/list-text.component.mjs +11 -11
- package/esm2022/lib/list-items/list-widget.mjs +4 -4
- package/esm2022/lib/list-items/node-row/node-row.component.mjs +4 -4
- package/esm2022/lib/list-items/node-source.pipe.mjs +4 -4
- package/esm2022/lib/mds/mds-helper.service.mjs +4 -4
- package/esm2022/lib/mds/mds.module.mjs +5 -5
- package/esm2022/lib/node-entries/drag-preview/drag-preview.component.mjs +5 -5
- package/esm2022/lib/node-entries/entries-model.mjs +1 -1
- package/esm2022/lib/node-entries/list-item-label.pipe.mjs +11 -8
- package/esm2022/lib/node-entries/node-entries-card/node-entries-card.component.mjs +9 -25
- package/esm2022/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.mjs +45 -38
- package/esm2022/lib/node-entries/node-entries-card-small/node-entries-card-small.component.mjs +7 -8
- package/esm2022/lib/node-entries/node-entries-global-options/node-entries-global-options.component.mjs +5 -5
- package/esm2022/lib/node-entries/node-entries-global.service.mjs +4 -4
- package/esm2022/lib/node-entries/node-entries-table/column-chooser/column-chooser.component.mjs +4 -4
- package/esm2022/lib/node-entries/node-entries-table/node-entries-table.component.mjs +51 -56
- package/esm2022/lib/node-entries/node-entries-templates.service.mjs +4 -4
- package/esm2022/lib/node-entries/node-entries-wrapper.component.mjs +60 -22
- package/esm2022/lib/node-entries/node-entries.component.mjs +5 -5
- package/esm2022/lib/node-entries/node-entries.module.mjs +5 -5
- package/esm2022/lib/node-entries/node-rating/node-rating.component.mjs +4 -4
- package/esm2022/lib/node-entries/node-stats-badges/node-stats-badges.component.mjs +4 -4
- package/esm2022/lib/node-entries/node-type-badge/node-type-badge.component.mjs +4 -4
- package/esm2022/lib/node-entries/option-button/option-button.component.mjs +11 -9
- package/esm2022/lib/node-entries/preview-image/preview-image.component.mjs +4 -4
- package/esm2022/lib/node-entries/sort-select-panel/sort-select-panel.component.mjs +5 -5
- package/esm2022/lib/node-url/node-url.component.mjs +4 -4
- package/esm2022/lib/pipes/file-size.pipe.mjs +9 -8
- package/esm2022/lib/pipes/format-date.pipe.mjs +4 -4
- package/esm2022/lib/pipes/node-icon.pipe.mjs +4 -4
- package/esm2022/lib/pipes/node-image-size.pipe.mjs +4 -4
- package/esm2022/lib/pipes/node-image.pipe.mjs +4 -4
- package/esm2022/lib/pipes/node-license.pipe.mjs +24 -0
- package/esm2022/lib/pipes/node-person-name.pipe.mjs +4 -4
- package/esm2022/lib/pipes/node-title.pipe.mjs +21 -6
- package/esm2022/lib/pipes/option-tooltip.pipe.mjs +6 -6
- package/esm2022/lib/pipes/property-slug.pipe.mjs +4 -4
- package/esm2022/lib/pipes/replace-chars.pipe.mjs +4 -4
- package/esm2022/lib/pipes/vcard-name.pipe.mjs +10 -4
- package/esm2022/lib/services/abstract/keyboard-shortcuts.service.mjs +4 -4
- package/esm2022/lib/services/abstract/options-helper.service.mjs +1 -1
- package/esm2022/lib/services/accessibility.service.mjs +4 -4
- package/esm2022/lib/services/app-container.service.mjs +7 -4
- package/esm2022/lib/services/local-events.service.mjs +11 -4
- package/esm2022/lib/services/node-entries.service.mjs +31 -11
- package/esm2022/lib/services/node-helper.service.mjs +38 -6
- package/esm2022/lib/services/nodes-drag-drop.service.mjs +4 -4
- package/esm2022/lib/services/options-helper-data.service.mjs +7 -7
- package/esm2022/lib/services/render-helper.service.mjs +114 -0
- package/esm2022/lib/services/repo-url.service.mjs +4 -4
- package/esm2022/lib/services/search-helper.service.mjs +52 -0
- package/esm2022/lib/services/temporary-storage.service.mjs +4 -4
- package/esm2022/lib/services/ui.service.mjs +21 -6
- package/esm2022/lib/sort-dropdown/sort-dropdown.component.mjs +8 -8
- package/esm2022/lib/spinner/spinner.component.mjs +4 -4
- package/esm2022/lib/translations/translation-loader.mjs +54 -16
- package/esm2022/lib/translations/translations.module.mjs +8 -6
- package/esm2022/lib/translations/translations.service.mjs +36 -10
- package/esm2022/lib/types/api-models.mjs +1 -1
- package/esm2022/lib/types/injection-tokens.mjs +10 -1
- package/esm2022/lib/types/list-item.mjs +1 -1
- package/esm2022/lib/types/option-item.mjs +23 -7
- package/esm2022/lib/util/VCard.mjs +2 -2
- package/esm2022/ngx-edu-sharing-ui.mjs +2 -2
- package/esm2022/public-api.mjs +2 -0
- package/fesm2022/ngx-edu-sharing-ui.mjs +1004 -577
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/lib/actionbar/actionbar.component.d.ts +15 -4
- package/lib/common/edu-sharing-ui-common.module.d.ts +17 -16
- package/lib/directives/icon.directive.d.ts +5 -3
- package/lib/dropdown/dropdown.component.d.ts +10 -6
- package/lib/index.d.ts +84 -0
- package/lib/list-items/list-text/list-text.component.d.ts +4 -5
- package/lib/node-entries/entries-model.d.ts +4 -1
- package/lib/node-entries/list-item-label.pipe.d.ts +3 -1
- package/lib/node-entries/node-entries-card/node-entries-card.component.d.ts +1 -1
- package/lib/node-entries/node-entries-card-grid/node-entries-card-grid.component.d.ts +4 -2
- package/lib/node-entries/node-entries-card-small/node-entries-card-small.component.d.ts +1 -3
- package/lib/node-entries/node-entries-table/node-entries-table.component.d.ts +3 -1
- package/lib/node-entries/node-entries-wrapper.component.d.ts +9 -2
- package/lib/node-entries/option-button/option-button.component.d.ts +2 -1
- package/lib/pipes/node-license.pipe.d.ts +14 -0
- package/lib/pipes/node-title.pipe.d.ts +4 -1
- package/lib/pipes/option-tooltip.pipe.d.ts +1 -1
- package/lib/pipes/vcard-name.pipe.d.ts +1 -1
- package/lib/services/abstract/options-helper.service.d.ts +2 -2
- package/lib/services/app-container.service.d.ts +2 -1
- package/lib/services/local-events.service.d.ts +7 -0
- package/lib/services/node-entries.service.d.ts +10 -3
- package/lib/services/node-helper.service.d.ts +11 -2
- package/lib/services/options-helper-data.service.d.ts +7 -7
- package/lib/services/render-helper.service.d.ts +24 -0
- package/lib/services/search-helper.service.d.ts +21 -0
- package/lib/services/ui.service.d.ts +9 -2
- package/lib/sort-dropdown/sort-dropdown.component.d.ts +2 -2
- package/lib/translations/translation-loader.d.ts +3 -1
- package/lib/translations/translations.service.d.ts +6 -2
- package/lib/types/api-models.d.ts +9 -0
- package/lib/types/injection-tokens.d.ts +9 -0
- package/lib/types/list-item.d.ts +2 -2
- package/lib/types/option-item.d.ts +27 -10
- package/package.json +7 -7
- package/public-api.d.ts +1 -0
- package/esm2022/module.mjs +0 -84
- package/module.d.ts +0 -80
|
@@ -7,6 +7,8 @@ import { NodeEntriesGlobalService, PaginationStrategy } from '../node-entries/no
|
|
|
7
7
|
import { OptionItem, Scope } from '../types/option-item';
|
|
8
8
|
import { ListItem } from '../types/list-item';
|
|
9
9
|
import { UIService } from './ui.service';
|
|
10
|
+
import { DropdownComponent } from '../dropdown/dropdown.component';
|
|
11
|
+
import { Toast } from './abstract/toast.service';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
/**
|
|
12
14
|
Custom selection model which adds the click source of the selection.
|
|
@@ -35,6 +37,7 @@ export declare class CustomSelectionModel<T> extends SelectionModel<T> {
|
|
|
35
37
|
}
|
|
36
38
|
export declare class NodeEntriesService<T extends NodeEntriesDataType> {
|
|
37
39
|
private uiService;
|
|
40
|
+
private toast;
|
|
38
41
|
private entriesGlobal;
|
|
39
42
|
list: ListEventInterface<T>;
|
|
40
43
|
readonly dataSource$: BehaviorSubject<NodeDataSource<T>>;
|
|
@@ -51,9 +54,12 @@ export declare class NodeEntriesService<T extends NodeEntriesDataType> {
|
|
|
51
54
|
*
|
|
52
55
|
* Updated when loading configuration and through user interaction.
|
|
53
56
|
*/
|
|
54
|
-
columnsSubject: BehaviorSubject<
|
|
57
|
+
columnsSubject: BehaviorSubject<{
|
|
58
|
+
columns: ListItem[];
|
|
59
|
+
fromUser: boolean;
|
|
60
|
+
}>;
|
|
55
61
|
get columns(): ListItem[];
|
|
56
|
-
set columns(
|
|
62
|
+
set columns(columns: ListItem[]);
|
|
57
63
|
configureColumns: boolean;
|
|
58
64
|
displayType: NodeEntriesDisplayType;
|
|
59
65
|
selection: CustomSelectionModel<T>;
|
|
@@ -79,7 +85,7 @@ export declare class NodeEntriesService<T extends NodeEntriesDataType> {
|
|
|
79
85
|
singleClickHint: 'dynamic' | 'static';
|
|
80
86
|
disableInfiniteScroll: boolean;
|
|
81
87
|
scrollGradientColor: WritableSignal<string>;
|
|
82
|
-
constructor(uiService: UIService, entriesGlobal: NodeEntriesGlobalService);
|
|
88
|
+
constructor(uiService: UIService, toast: Toast, entriesGlobal: NodeEntriesGlobalService);
|
|
83
89
|
onClicked({ event, ...data }: NodeClickEvent<T> & {
|
|
84
90
|
event: MouseEvent;
|
|
85
91
|
}): void;
|
|
@@ -89,6 +95,7 @@ export declare class NodeEntriesService<T extends NodeEntriesDataType> {
|
|
|
89
95
|
private selectAll;
|
|
90
96
|
private isAllSelected;
|
|
91
97
|
private expandSelectionTo;
|
|
98
|
+
openDropdown(dropdown: DropdownComponent, node: T, onDone?: () => void): void;
|
|
92
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodeEntriesService<any>, never>;
|
|
93
100
|
static ɵprov: i0.ɵɵInjectableDeclaration<NodeEntriesService<any>>;
|
|
94
101
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiHelpersService, ConfigService, NetworkService, Node } from 'ngx-edu-sharing-api';
|
|
1
|
+
import { ApiHelpersService, ConfigService, User, NetworkService, Node } from 'ngx-edu-sharing-api';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import * as Workflow from '../types/workflow';
|
|
4
4
|
import { RepoUrlService } from './repo-url.service';
|
|
@@ -49,10 +49,19 @@ export declare class NodeHelperService {
|
|
|
49
49
|
getWorkflowStatus(node: Node, useFromConfig?: boolean): Workflow.WorkflowDefinitionStatus;
|
|
50
50
|
getDefaultWorkflowStatus(useFromConfig?: boolean): Workflow.WorkflowDefinitionStatus;
|
|
51
51
|
getWorkflows(): Workflow.WorkflowDefinition[];
|
|
52
|
-
copyDataToNode<T extends Node>(target: T, source: T): void;
|
|
52
|
+
copyDataToNode<T extends Node | User>(target: T, source: T): void;
|
|
53
53
|
isNodeCollection(node: Node): boolean;
|
|
54
54
|
getSourceIconPath(src: string): string;
|
|
55
55
|
getNodeLink(mode: 'routerLink' | 'queryParams', node: Node): string | Params;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if this node is a copy of another node, just used as a publish target.
|
|
58
|
+
*/
|
|
59
|
+
isNodePublishedCopy(o: Node): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* returns true if this is a revoked node
|
|
62
|
+
* (published copy that has been revoked)
|
|
63
|
+
*/
|
|
64
|
+
isNodeRevoked(node: Node): boolean;
|
|
56
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodeHelperService, [null, null, null, null, null, { optional: true; }]>;
|
|
57
66
|
static ɵprov: i0.ɵɵInjectableDeclaration<NodeHelperService>;
|
|
58
67
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DropdownComponent } from '../dropdown/dropdown.component';
|
|
2
|
-
import { ActionbarComponent } from '../actionbar/actionbar.component';
|
|
3
|
-
import { ListEventInterface, NodeEntriesDataType, NodeEntriesDisplayType } from '../node-entries/entries-model';
|
|
1
|
+
import type { DropdownComponent } from '../dropdown/dropdown.component';
|
|
2
|
+
import type { ActionbarComponent } from '../actionbar/actionbar.component';
|
|
3
|
+
import type { ListEventInterface, NodeEntriesDataType, NodeEntriesDisplayType } from '../node-entries/entries-model';
|
|
4
4
|
import { EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
5
5
|
import { AuthenticationService, NetworkService, Node, UserService } from 'ngx-edu-sharing-api';
|
|
6
6
|
import { CustomOptions, OptionItem, Scope, Target } from '../types/option-item';
|
|
@@ -15,9 +15,9 @@ type DeleteEvent = {
|
|
|
15
15
|
error: boolean;
|
|
16
16
|
};
|
|
17
17
|
export interface OptionsHelperComponents {
|
|
18
|
-
actionbar
|
|
19
|
-
dropdown
|
|
20
|
-
list
|
|
18
|
+
actionbar?: ActionbarComponent;
|
|
19
|
+
dropdown?: DropdownComponent;
|
|
20
|
+
list?: ListEventInterface<NodeEntriesDataType>;
|
|
21
21
|
}
|
|
22
22
|
export interface OptionData {
|
|
23
23
|
scope: Scope;
|
|
@@ -56,7 +56,7 @@ export declare class OptionsHelperDataService implements OnDestroy {
|
|
|
56
56
|
initComponents(actionbar?: ActionbarComponent, list?: ListEventInterface<NodeEntriesDataType>, dropdown?: DropdownComponent): Promise<void>;
|
|
57
57
|
getData(): OptionData;
|
|
58
58
|
setData(data: OptionData): void;
|
|
59
|
-
refreshComponents(
|
|
59
|
+
refreshComponents(): Promise<void>;
|
|
60
60
|
getAvailableOptions(target: Target, objects?: Node[]): Promise<OptionItem[]>;
|
|
61
61
|
private addVirtualObjects;
|
|
62
62
|
registerGlobalKeyboardShortcuts(): void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { RenderDataRequestWithToken } from 'ngx-rendering-service-api';
|
|
3
|
+
import { AboutService, Node, NodeServiceUnwrapped, UserService } from 'ngx-edu-sharing-api';
|
|
4
|
+
import { EduSharingUiConfiguration } from '../edu-sharing-ui-configuration';
|
|
5
|
+
import { OptionsHelperDataService } from './options-helper-data.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export type CombinedRenderData = {
|
|
8
|
+
node: Node;
|
|
9
|
+
request?: RenderDataRequestWithToken;
|
|
10
|
+
error?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare class RenderHelperService {
|
|
13
|
+
private injector;
|
|
14
|
+
private aboutService;
|
|
15
|
+
private nodeApiUnwrapped;
|
|
16
|
+
private configuration;
|
|
17
|
+
private userService;
|
|
18
|
+
private optionsHelperDataService;
|
|
19
|
+
constructor(injector: Injector, aboutService: AboutService, nodeApiUnwrapped: NodeServiceUnwrapped, configuration: EduSharingUiConfiguration, userService: UserService, optionsHelperDataService: OptionsHelperDataService);
|
|
20
|
+
getRenderData(nodeId: string, version?: string): Promise<CombinedRenderData>;
|
|
21
|
+
getRenderDataForLms(encodedNode: string, signature: string, jwt: string, renderUrl: string, encodedUser: string): Promise<CombinedRenderData>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenderHelperService, [null, null, null, null, null, { optional: true; }]>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RenderHelperService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MdsWidget } from 'ngx-edu-sharing-api';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type Values = {
|
|
4
|
+
[p: string]: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare class SearchHelperService {
|
|
7
|
+
static readonly MAX_QUERY_CONCAT_PARAMS = 400;
|
|
8
|
+
constructor();
|
|
9
|
+
/**
|
|
10
|
+
* converts given filter criteria and converts them for a body to be used for a search request
|
|
11
|
+
* @param properties
|
|
12
|
+
* @param mdsWidgets
|
|
13
|
+
* @param unfoldTrees
|
|
14
|
+
*/
|
|
15
|
+
convertCritieria(properties: Values, mdsWidgets: MdsWidget[], unfoldTrees?: boolean): {
|
|
16
|
+
property: string;
|
|
17
|
+
values: string[];
|
|
18
|
+
}[];
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchHelperService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SearchHelperService>;
|
|
21
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ComponentFactoryResolver, ComponentRef, Injector, NgZone, Type, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { OptionItem } from '../types/option-item';
|
|
5
|
+
import { Node } from 'ngx-edu-sharing-api';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class UIService {
|
|
7
8
|
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
@@ -25,7 +26,13 @@ export declare class UIService {
|
|
|
25
26
|
isMobile(): boolean;
|
|
26
27
|
static evaluateMediaQuery(type: string, value: number): boolean;
|
|
27
28
|
filterValidOptions(options: OptionItem[]): OptionItem[];
|
|
28
|
-
|
|
29
|
+
/**
|
|
30
|
+
* helper that updates the "isEnabled" flag on all options for the given, selected node
|
|
31
|
+
* can be used by dropdown or action menus to update the state for the current element
|
|
32
|
+
* @param options
|
|
33
|
+
*/
|
|
34
|
+
updateOptionEnabledState(options: BehaviorSubject<OptionItem[]>, objects?: Node[]): Promise<void>;
|
|
35
|
+
filterToggleOptions(options: OptionItem[], toggle: boolean, togglePosition?: 'before' | 'after'): OptionItem[];
|
|
29
36
|
/**
|
|
30
37
|
* dynamically inject an angular component into a regular html dom element
|
|
31
38
|
* @param componentFactoryResolver The resolver service
|
|
@@ -7,9 +7,9 @@ export declare class SortDropdownComponent {
|
|
|
7
7
|
columns: ListItem[];
|
|
8
8
|
sortBy: string;
|
|
9
9
|
sortAscending: boolean;
|
|
10
|
-
|
|
10
|
+
sort: EventEmitter<SortEvent>;
|
|
11
11
|
constructor();
|
|
12
12
|
setSort(item: ListItem | any): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortDropdownComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortDropdownComponent, "es-sort-dropdown", never, { "columns": { "alias": "columns"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "sortAscending": { "alias": "sortAscending"; "required": false; }; }, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortDropdownComponent, "es-sort-dropdown", never, { "columns": { "alias": "columns"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "sortAscending": { "alias": "sortAscending"; "required": false; }; }, { "sort": "sort"; }, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -9,12 +9,13 @@ type Dictionary = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare class TranslationLoader implements TranslateLoader {
|
|
11
11
|
private assetsBasePath;
|
|
12
|
+
private additionalI18nProvider;
|
|
12
13
|
private http;
|
|
13
14
|
private configService;
|
|
14
15
|
private configuration;
|
|
15
16
|
private prefix;
|
|
16
17
|
private suffix;
|
|
17
|
-
static create(http: HttpClient, configService: ConfigService, configuration: EduSharingUiConfiguration, assetsBasePath?: string): TranslationLoader;
|
|
18
|
+
static create(http: HttpClient, configService: ConfigService, configuration: EduSharingUiConfiguration, assetsBasePath?: string, additionalI18nProvider?: (lang: string) => string[]): TranslationLoader;
|
|
18
19
|
private constructor();
|
|
19
20
|
private readonly source;
|
|
20
21
|
/**
|
|
@@ -48,5 +49,6 @@ export declare class TranslationLoader implements TranslateLoader {
|
|
|
48
49
|
*/
|
|
49
50
|
private applyOverrides;
|
|
50
51
|
private replaceGenderCharacter;
|
|
52
|
+
private overrideWithObject;
|
|
51
53
|
}
|
|
52
54
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ApplicationRef } from '@angular/core';
|
|
1
2
|
import { ActivatedRoute } from '@angular/router';
|
|
2
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
@@ -9,10 +10,12 @@ export declare class TranslationsService {
|
|
|
9
10
|
private route;
|
|
10
11
|
private storage;
|
|
11
12
|
private translate;
|
|
13
|
+
private sessionStorage;
|
|
14
|
+
private ref;
|
|
12
15
|
private appService;
|
|
13
16
|
private language;
|
|
14
17
|
private languageLoaded;
|
|
15
|
-
constructor(config: ConfigService, route: ActivatedRoute, storage: SessionStorageService, translate: TranslateService, appService: AppService);
|
|
18
|
+
constructor(config: ConfigService, route: ActivatedRoute, storage: SessionStorageService, translate: TranslateService, sessionStorage: SessionStorageService, ref: ApplicationRef, appService: AppService);
|
|
16
19
|
/**
|
|
17
20
|
* Determines and configures the language to use and triggers loading of translations with
|
|
18
21
|
* ngx-translate.
|
|
@@ -25,6 +28,7 @@ export declare class TranslationsService {
|
|
|
25
28
|
/** Same as `translate.currentLang`. */
|
|
26
29
|
getLanguage(): string;
|
|
27
30
|
getISOLanguage(): string;
|
|
28
|
-
|
|
31
|
+
getLocale(): string;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationsService, [null, null, null, null, null, null, { optional: true; }]>;
|
|
29
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationsService>;
|
|
30
34
|
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { Node } from 'ngx-edu-sharing-api';
|
|
2
2
|
export interface VirtualNode extends Node {
|
|
3
3
|
virtual: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* should the virtual node override an existing node
|
|
6
|
+
* (if unset, equals true)
|
|
7
|
+
*/
|
|
8
|
+
override?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* observe this node for changes (i.e. connector nodes)
|
|
11
|
+
*/
|
|
12
|
+
observe?: boolean;
|
|
4
13
|
}
|
|
@@ -6,3 +6,12 @@ import { InjectionToken } from '@angular/core';
|
|
|
6
6
|
* is the case when it is embedded as a web component into another website.
|
|
7
7
|
*/
|
|
8
8
|
export declare const ASSETS_BASE_PATH: InjectionToken<string>;
|
|
9
|
+
/**
|
|
10
|
+
* custom additional uris to fetch language files from
|
|
11
|
+
*
|
|
12
|
+
* Might be used if additional angular modules require language data
|
|
13
|
+
*
|
|
14
|
+
* Example
|
|
15
|
+
*{provide: ADDITIONAL_I18N_PROVIDER, useValue: (lang: string) => { return ['/edu-sharing/assets/i18n/myI18n/' + lang + '.json']}},
|
|
16
|
+
*/
|
|
17
|
+
export declare const ADDITIONAL_I18N_PROVIDER: InjectionToken<(lang: string) => string[]>;
|
package/lib/types/list-item.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sort, SortDirection } from '@angular/material/sort';
|
|
2
|
-
import {
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
3
|
export type ListItemType = 'NODE' | 'NODE_PROPOSAL' | 'COLLECTION' | 'ORG' | 'GROUP' | 'USER';
|
|
4
4
|
/**
|
|
5
5
|
* A list item info, which is basically a column
|
|
@@ -51,5 +51,5 @@ export declare class SortEvent extends ListItemSort {
|
|
|
51
51
|
export interface SortPanel {
|
|
52
52
|
active: string;
|
|
53
53
|
direction: SortDirection;
|
|
54
|
-
readonly sortChange:
|
|
54
|
+
readonly sortChange: EventEmitter<Sort>;
|
|
55
55
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
*/
|
|
8
8
|
import { KeyboardShortcutCondition } from '../types/keyboard-shortcuts';
|
|
9
|
+
import { Node } from 'ngx-edu-sharing-api';
|
|
9
10
|
export declare enum NodesRightMode {
|
|
10
11
|
Local = 0,
|
|
11
12
|
Effective = 1
|
|
@@ -29,6 +30,15 @@ export declare class OptionItem {
|
|
|
29
30
|
* @type {boolean}
|
|
30
31
|
*/
|
|
31
32
|
isToggle: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Only when @isToggle. is the toggle currently visible
|
|
35
|
+
*/
|
|
36
|
+
isToggleVisible: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Only when @isToggle. Where to place the toggle, before or after all other actions
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
*/
|
|
41
|
+
togglePosition: 'before' | 'after';
|
|
32
42
|
/**
|
|
33
43
|
* If true, shows a line at the top.
|
|
34
44
|
*
|
|
@@ -48,6 +58,11 @@ export declare class OptionItem {
|
|
|
48
58
|
* @type {boolean}
|
|
49
59
|
*/
|
|
50
60
|
onlyMobile: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* custom aria-label
|
|
63
|
+
* @type {string}
|
|
64
|
+
*/
|
|
65
|
+
ariaLabel: string;
|
|
51
66
|
/**
|
|
52
67
|
* If true, only displayed on a desktop device (based on the navigator agent)
|
|
53
68
|
* @type {boolean}
|
|
@@ -78,7 +93,7 @@ export declare class OptionItem {
|
|
|
78
93
|
* Is handled by optionsHelper and may not be used otherwise
|
|
79
94
|
* Please use @customShowCallback instead
|
|
80
95
|
*/
|
|
81
|
-
showCallback: (
|
|
96
|
+
showCallback: (nodes?: Node[]) => Promise<boolean>;
|
|
82
97
|
/**
|
|
83
98
|
* A function called with the node as parm which should return true or false if the option should be shown for this node
|
|
84
99
|
* Will be called by the optionsHelper
|
|
@@ -89,12 +104,12 @@ export declare class OptionItem {
|
|
|
89
104
|
* Is handled by optionsHelper and may not be used otherwise
|
|
90
105
|
* Please use @customEnabledCallback instead
|
|
91
106
|
*/
|
|
92
|
-
enabledCallback: (
|
|
107
|
+
enabledCallback: (nodes?: Node[]) => Promise<boolean>;
|
|
93
108
|
/**
|
|
94
109
|
* A function called with the node as param which should return true or false if the option should be enabled or not
|
|
95
110
|
* Will be called by the optionsHelper
|
|
96
111
|
*/
|
|
97
|
-
customEnabledCallback: (nodes?: Node[] | any[]) => boolean
|
|
112
|
+
customEnabledCallback: (nodes?: Node[] | any[]) => Promise<boolean>;
|
|
98
113
|
/**
|
|
99
114
|
* Optional: A callback that is called when the user clicks on the option when it's currently disabled (greyed out)
|
|
100
115
|
*/
|
|
@@ -173,19 +188,21 @@ export declare enum Scope {
|
|
|
173
188
|
Stream = "Stream",
|
|
174
189
|
CreateMenu = "CreateMenu",
|
|
175
190
|
MediacenterNodesList = "MediacenterNodesList",
|
|
176
|
-
Admin = "Admin"
|
|
191
|
+
Admin = "Admin",// Admin Tools / Debugging
|
|
192
|
+
DebugShowAll = "DebugShowAll"
|
|
177
193
|
}
|
|
178
194
|
export declare enum ElementType {
|
|
179
195
|
Node = 0,
|
|
180
196
|
NodeChild = 1,// Child object
|
|
181
197
|
MapRef = 2,// Map ref (link to another map)
|
|
182
198
|
NodePublishedCopy = 3,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
199
|
+
NodeRevoked = 4,// revoked copy / revoked published node
|
|
200
|
+
NodeBlockedImport = 5,// node with property ccm:importblocked == true
|
|
201
|
+
NodeProposal = 6,// node proposal for a collection
|
|
202
|
+
Person = 7,
|
|
203
|
+
Group = 8,
|
|
204
|
+
SavedSearch = 9,
|
|
205
|
+
Unknown = 10
|
|
189
206
|
}
|
|
190
207
|
export declare class OptionGroup {
|
|
191
208
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-edu-sharing-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"license": "GNU GPL v2",
|
|
5
5
|
"description": "Angular components for Edu-Sharing UX parts",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@angular/cdk": "
|
|
8
|
-
"@angular/common": "
|
|
9
|
-
"@angular/core": "
|
|
10
|
-
"@angular/material": "
|
|
7
|
+
"@angular/cdk": ">=14.0.0",
|
|
8
|
+
"@angular/common": ">=14.0.0",
|
|
9
|
+
"@angular/core": ">=14.0.0 ",
|
|
10
|
+
"@angular/material": ">=14.0.0",
|
|
11
11
|
"material-design-icons": "^3.0.1",
|
|
12
|
-
"@ngx-translate/core": "
|
|
13
|
-
"angular-material-css-vars": "^
|
|
12
|
+
"@ngx-translate/core": ">=15.0.0",
|
|
13
|
+
"angular-material-css-vars": "^6.0.0 || ^7.0.0",
|
|
14
14
|
"rxjs": "^6.6.7 || ^7.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/index';
|
package/esm2022/module.mjs
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of edu-sharing-ui
|
|
3
|
-
*/
|
|
4
|
-
export * from './lib/actionbar/actionbar.component';
|
|
5
|
-
export * from './lib/common/edu-sharing-ui-common.module';
|
|
6
|
-
export * from './lib/mds/mds.module';
|
|
7
|
-
export * from './lib/directives/border-box-observer.directive';
|
|
8
|
-
export * from './lib/directives/check-text-overflow.directive';
|
|
9
|
-
export * from './lib/directives/drag-nodes/drag-nodes';
|
|
10
|
-
export * from './lib/directives/drag-nodes/nodes-drag-source.directive';
|
|
11
|
-
export * from './lib/directives/drag-nodes/nodes-drag.directive';
|
|
12
|
-
export * from './lib/directives/drag-nodes/nodes-drop-target.directive';
|
|
13
|
-
export * from './lib/directives/focus-state.directive';
|
|
14
|
-
export * from './lib/directives/icon.directive';
|
|
15
|
-
export * from './lib/directives/infinite-scroll.directive';
|
|
16
|
-
export * from './lib/dropdown/dropdown.component';
|
|
17
|
-
export * from './lib/edu-sharing-ui-configuration';
|
|
18
|
-
export * from './lib/edu-sharing-ui.module';
|
|
19
|
-
export * from './lib/list-items/format-duration.pipe';
|
|
20
|
-
export * from './lib/list-items/list-base/list-base.component';
|
|
21
|
-
export * from './lib/list-items/list-counts/list-counts.component';
|
|
22
|
-
export * from './lib/list-items/list-items.module';
|
|
23
|
-
export * from './lib/list-items/list-text/list-text.component';
|
|
24
|
-
export * from './lib/list-items/node-row/node-row.component';
|
|
25
|
-
export * from './lib/node-entries/combined-data-source';
|
|
26
|
-
export * from './lib/node-entries/custom-templates-data-source';
|
|
27
|
-
export * from './lib/node-entries/entries-model';
|
|
28
|
-
export * from './lib/node-entries/items-cap';
|
|
29
|
-
export * from './lib/node-entries/list-item-label.pipe';
|
|
30
|
-
export * from './lib/node-entries/node-cache';
|
|
31
|
-
export * from './lib/node-entries/node-data-source';
|
|
32
|
-
export * from './lib/node-entries/node-data-source-remote';
|
|
33
|
-
export * from './lib/node-entries/node-entries-global.service';
|
|
34
|
-
export * from './lib/node-entries/node-entries-wrapper.component';
|
|
35
|
-
export * from './lib/node-entries/node-entries.module';
|
|
36
|
-
export * from './lib/node-url/node-url.component';
|
|
37
|
-
export * from './lib/pipes/property-slug.pipe';
|
|
38
|
-
export * from './lib/pipes/file-size.pipe';
|
|
39
|
-
export * from './lib/pipes/format-date.pipe';
|
|
40
|
-
export * from './lib/pipes/node-icon.pipe';
|
|
41
|
-
export * from './lib/pipes/node-image-size.pipe';
|
|
42
|
-
export * from './lib/pipes/node-image.pipe';
|
|
43
|
-
export * from './lib/pipes/node-person-name.pipe';
|
|
44
|
-
export * from './lib/pipes/node-title.pipe';
|
|
45
|
-
export * from './lib/pipes/vcard-name.pipe';
|
|
46
|
-
export * from './lib/services/abstract/app.service';
|
|
47
|
-
export * from './lib/services/abstract/keyboard-shortcuts.service';
|
|
48
|
-
export * from './lib/services/abstract/options-helper.service';
|
|
49
|
-
export * from './lib/services/abstract/toast.service';
|
|
50
|
-
export * from './lib/services/accessibility.service';
|
|
51
|
-
export * from './lib/services/app-container.service';
|
|
52
|
-
export * from './lib/services/local-events.service';
|
|
53
|
-
export * from './lib/services/node-helper.service';
|
|
54
|
-
export * from './lib/services/nodes-drag-drop.service';
|
|
55
|
-
export * from './lib/services/options-helper-data.service';
|
|
56
|
-
export * from './lib/services/repo-url.service';
|
|
57
|
-
export * from './lib/services/temporary-storage.service';
|
|
58
|
-
export * from './lib/services/ui.service';
|
|
59
|
-
export * from './lib/sort-dropdown/sort-dropdown.component';
|
|
60
|
-
export * from './lib/spinner/spinner.component';
|
|
61
|
-
export * from './lib/translations/fallback-translation-handler';
|
|
62
|
-
export * from './lib/translations/translation-loader';
|
|
63
|
-
export * from './lib/translations/translations.module';
|
|
64
|
-
export * from './lib/translations/translations.service';
|
|
65
|
-
export * from './lib/types/api-models';
|
|
66
|
-
export * from './lib/types/accessibillity';
|
|
67
|
-
export * from './lib/types/drag-drop';
|
|
68
|
-
export * from './lib/types/injection-tokens';
|
|
69
|
-
export * from './lib/types/keyboard-shortcuts';
|
|
70
|
-
export * from './lib/types/list-item';
|
|
71
|
-
export * from './lib/types/option-item';
|
|
72
|
-
export * from './lib/types/workflow';
|
|
73
|
-
export * from './lib/util/DateHelper';
|
|
74
|
-
export * from './lib/util/VCard';
|
|
75
|
-
export * from './lib/util/color-helper';
|
|
76
|
-
export * from './lib/util/duration-helper';
|
|
77
|
-
export * from './lib/util/functions';
|
|
78
|
-
export * from './lib/util/helper';
|
|
79
|
-
export * from './lib/util/isNumeric';
|
|
80
|
-
export * from './lib/util/rest-helper';
|
|
81
|
-
export * from './lib/util/ui-animation';
|
|
82
|
-
export * from './lib/util/ui-constants';
|
|
83
|
-
export * from './lib/mds/mds-helper.service';
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvZWR1LXNoYXJpbmctdWkvc3JjL21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYywyQ0FBMkMsQ0FBQztBQUMxRCxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsZ0RBQWdELENBQUM7QUFDL0QsY0FBYyxnREFBZ0QsQ0FBQztBQUMvRCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMseURBQXlELENBQUM7QUFDeEUsY0FBYyxrREFBa0QsQ0FBQztBQUNqRSxjQUFjLHlEQUF5RCxDQUFDO0FBQ3hFLGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLDRDQUE0QyxDQUFDO0FBQzNELGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyxnREFBZ0QsQ0FBQztBQUMvRCxjQUFjLG9EQUFvRCxDQUFDO0FBQ25FLGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyxnREFBZ0QsQ0FBQztBQUMvRCxjQUFjLDhDQUE4QyxDQUFDO0FBQzdELGNBQWMseUNBQXlDLENBQUM7QUFDeEQsY0FBYyxpREFBaUQsQ0FBQztBQUNoRSxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsOEJBQThCLENBQUM7QUFDN0M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bar.component';
|
|
2
|
-
export * from './lib/common/edu-sharing-ui-common.module';
|
|
3
|
-
export * from './lib/mds/mds.module';
|
|
4
|
-
export * from './lib/directives/border-box-observer.directive';
|
|
5
|
-
export * from './lib/directives/check-text-overflow.directive';
|
|
6
|
-
export * from './lib/directives/drag-nodes/drag-nodes';
|
|
7
|
-
export * from './lib/directives/drag-nodes/nodes-drag-source.directive';
|
|
8
|
-
export * from './lib/directives/drag-nodes/nodes-drag.directive';
|
|
9
|
-
export * from './lib/directives/drag-nodes/nodes-drop-target.directive';
|
|
10
|
-
export * from './lib/directives/focus-state.directive';
|
|
11
|
-
export * from './lib/directives/icon.directive';
|
|
12
|
-
export * from './lib/directives/infinite-scroll.directive';
|
|
13
|
-
export * from './lib/dropdown/dropdown.component';
|
|
14
|
-
export * from './lib/edu-sharing-ui-configuration';
|
|
15
|
-
export * from './lib/edu-sharing-ui.module';
|
|
16
|
-
export * from './lib/list-items/format-duration.pipe';
|
|
17
|
-
export * from './lib/list-items/list-base/list-base.component';
|
|
18
|
-
export * from './lib/list-items/list-counts/list-counts.component';
|
|
19
|
-
export * from './lib/list-items/list-items.module';
|
|
20
|
-
export * from './lib/list-items/list-text/list-text.component';
|
|
21
|
-
export * from './lib/list-items/node-row/node-row.component';
|
|
22
|
-
export * from './lib/node-entries/combined-data-source';
|
|
23
|
-
export * from './lib/node-entries/custom-templates-data-source';
|
|
24
|
-
export * from './lib/node-entries/entries-model';
|
|
25
|
-
export * from './lib/node-entries/items-cap';
|
|
26
|
-
export * from './lib/node-entries/list-item-label.pipe';
|
|
27
|
-
export * from './lib/node-entries/node-cache';
|
|
28
|
-
export * from './lib/node-entries/node-data-source';
|
|
29
|
-
export * from './lib/node-entries/node-data-source-remote';
|
|
30
|
-
export * from './lib/node-entries/node-entries-global.service';
|
|
31
|
-
export * from './lib/node-entries/node-entries-wrapper.component';
|
|
32
|
-
export * from './lib/node-entries/node-entries.module';
|
|
33
|
-
export * from './lib/node-url/node-url.component';
|
|
34
|
-
export * from './lib/pipes/property-slug.pipe';
|
|
35
|
-
export * from './lib/pipes/file-size.pipe';
|
|
36
|
-
export * from './lib/pipes/format-date.pipe';
|
|
37
|
-
export * from './lib/pipes/node-icon.pipe';
|
|
38
|
-
export * from './lib/pipes/node-image-size.pipe';
|
|
39
|
-
export * from './lib/pipes/node-image.pipe';
|
|
40
|
-
export * from './lib/pipes/node-person-name.pipe';
|
|
41
|
-
export * from './lib/pipes/node-title.pipe';
|
|
42
|
-
export * from './lib/pipes/vcard-name.pipe';
|
|
43
|
-
export * from './lib/services/abstract/app.service';
|
|
44
|
-
export * from './lib/services/abstract/keyboard-shortcuts.service';
|
|
45
|
-
export * from './lib/services/abstract/options-helper.service';
|
|
46
|
-
export * from './lib/services/abstract/toast.service';
|
|
47
|
-
export * from './lib/services/accessibility.service';
|
|
48
|
-
export * from './lib/services/app-container.service';
|
|
49
|
-
export * from './lib/services/local-events.service';
|
|
50
|
-
export * from './lib/services/node-helper.service';
|
|
51
|
-
export * from './lib/services/nodes-drag-drop.service';
|
|
52
|
-
export * from './lib/services/options-helper-data.service';
|
|
53
|
-
export * from './lib/services/repo-url.service';
|
|
54
|
-
export * from './lib/services/temporary-storage.service';
|
|
55
|
-
export * from './lib/services/ui.service';
|
|
56
|
-
export * from './lib/sort-dropdown/sort-dropdown.component';
|
|
57
|
-
export * from './lib/spinner/spinner.component';
|
|
58
|
-
export * from './lib/translations/fallback-translation-handler';
|
|
59
|
-
export * from './lib/translations/translation-loader';
|
|
60
|
-
export * from './lib/translations/translations.module';
|
|
61
|
-
export * from './lib/translations/translations.service';
|
|
62
|
-
export * from './lib/types/api-models';
|
|
63
|
-
export * from './lib/types/accessibillity';
|
|
64
|
-
export * from './lib/types/drag-drop';
|
|
65
|
-
export * from './lib/types/injection-tokens';
|
|
66
|
-
export * from './lib/types/keyboard-shortcuts';
|
|
67
|
-
export * from './lib/types/list-item';
|
|
68
|
-
export * from './lib/types/option-item';
|
|
69
|
-
export * from './lib/types/workflow';
|
|
70
|
-
export * from './lib/util/DateHelper';
|
|
71
|
-
export * from './lib/util/VCard';
|
|
72
|
-
export * from './lib/util/color-helper';
|
|
73
|
-
export * from './lib/util/duration-helper';
|
|
74
|
-
export * from './lib/util/functions';
|
|
75
|
-
export * from './lib/util/helper';
|
|
76
|
-
export * from './lib/util/isNumeric';
|
|
77
|
-
export * from './lib/util/rest-helper';
|
|
78
|
-
export * from './lib/util/ui-animation';
|
|
79
|
-
export * from './lib/util/ui-constants';
|
|
80
|
-
export * from './lib/mds/mds-helper.service';
|