@elderbyte/ngx-starter 19.13.3 → 19.14.0
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/fesm2022/elderbyte-ngx-starter.mjs +28 -423
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/components/chips/elder-chip-label.directive.d.ts +1 -2
- package/lib/components/dialogs/elder-dialog.service.d.ts +1 -24
- package/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.d.ts +1 -9
- package/lib/components/measures/elder-measures.module.d.ts +0 -8
- package/lib/components/public_api.d.ts +0 -1
- package/lib/components/toasts/elder-toast.service.d.ts +0 -21
- package/lib/features/kafent/kafent-event.service.d.ts +0 -22
- package/lib/features/kafent/kafent-live-event-request.d.ts +0 -5
- package/lib/pipes/elder-pipes.module.d.ts +1 -18
- package/package.json +1 -1
- package/lib/components/global-search/elder-global-search.component.d.ts +0 -39
- package/lib/components/global-search/elder-global-search.module.d.ts +0 -18
- package/lib/components/global-search/elder-global-search.service.d.ts +0 -54
- package/src/lib/components/global-search/elder-global-search.component.scss +0 -2
|
@@ -5,7 +5,6 @@ export declare const elderChipColorStates: readonly ["open", "inProgress", "comp
|
|
|
5
5
|
export type ElderStateColor = (typeof elderChipColorStates)[number] | undefined;
|
|
6
6
|
export declare const elderChipColorLevels: readonly ["low", "medium", "high", "critical"];
|
|
7
7
|
export type ElderLevelColor = (typeof elderChipColorLevels)[number] | undefined;
|
|
8
|
-
export type ElderChipAppearance = 'md3' | 'legacy';
|
|
9
8
|
export declare class ElderChipLabelDirective {
|
|
10
9
|
/***************************************************************************
|
|
11
10
|
* *
|
|
@@ -17,7 +16,7 @@ export declare class ElderChipLabelDirective {
|
|
|
17
16
|
readonly levelColor: import("@angular/core").InputSignal<ElderLevelColor>;
|
|
18
17
|
readonly namedColor: import("@angular/core").InputSignal<ElderNamedColor>;
|
|
19
18
|
readonly themeColor: import("@angular/core").InputSignal<ThemePalette>;
|
|
20
|
-
readonly chipSize: import("@angular/core").InputSignal<"
|
|
19
|
+
readonly chipSize: import("@angular/core").InputSignal<"medium" | "small">;
|
|
21
20
|
readonly cssClasses: import("@angular/core").Signal<string>;
|
|
22
21
|
readonly sizeClass: import("@angular/core").Signal<string>;
|
|
23
22
|
/***************************************************************************
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfirmDialogConfig } from './confirm-dialog/elder-confirm-dialog.component';
|
|
2
|
-
import { MatDialog
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { QuestionDialogConfig } from './question-dialog/elder-question-dialog.component';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -53,29 +53,6 @@ export declare class ElderDialogService {
|
|
|
53
53
|
* @param config
|
|
54
54
|
*/
|
|
55
55
|
showQuestion(config: QuestionDialogConfig): Observable<string>;
|
|
56
|
-
/***************************************************************************
|
|
57
|
-
* *
|
|
58
|
-
* DEPRECATED *
|
|
59
|
-
* *
|
|
60
|
-
**************************************************************************/
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated Use showConfirm({...}) instead
|
|
63
|
-
*
|
|
64
|
-
* @param title
|
|
65
|
-
* @param message
|
|
66
|
-
* @param config
|
|
67
|
-
*/
|
|
68
|
-
confirm(title: string, message: string, config?: MatDialogConfig): Observable<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated Use showQuestion({...}) instead
|
|
71
|
-
*
|
|
72
|
-
* Creates a modal question dialog.
|
|
73
|
-
*
|
|
74
|
-
* @param title
|
|
75
|
-
* @param question
|
|
76
|
-
* @param config
|
|
77
|
-
*/
|
|
78
|
-
question(title: string, question: string, config?: MatDialogConfig): Observable<string>;
|
|
79
56
|
/***************************************************************************
|
|
80
57
|
* *
|
|
81
58
|
* Private methods *
|
|
@@ -23,14 +23,6 @@ export declare class ElderLocalizedInputTableComponent<T extends Localized> exte
|
|
|
23
23
|
readonly textColumns$: BehaviorSubject<ElderLocalizedTextColumnDirective[]>;
|
|
24
24
|
readonly defaultLanguageTags$: BehaviorSubject<string[]>;
|
|
25
25
|
dense: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated No longer supported
|
|
28
|
-
*/
|
|
29
|
-
float: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated No longer supported
|
|
32
|
-
*/
|
|
33
|
-
embedded: boolean;
|
|
34
26
|
private readonly destroy$;
|
|
35
27
|
/***************************************************************************
|
|
36
28
|
* *
|
|
@@ -69,5 +61,5 @@ export declare class ElderLocalizedInputTableComponent<T extends Localized> exte
|
|
|
69
61
|
**************************************************************************/
|
|
70
62
|
private ensureDesiredTagsPresent;
|
|
71
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderLocalizedInputTableComponent<any>, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderLocalizedInputTableComponent<any>, "elder-localized-input-table", never, { "dense": { "alias": "dense"; "required": false; }; "
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderLocalizedInputTableComponent<any>, "elder-localized-input-table", never, { "dense": { "alias": "dense"; "required": false; }; "textColumns": { "alias": "textColumns"; "required": false; }; "defaultLanguageTags": { "alias": "defaultLanguageTags"; "required": false; }; }, {}, ["textColumnsQuery"], never, true, never>;
|
|
73
65
|
}
|
|
@@ -30,11 +30,3 @@ export declare class ElderMeasuresModule {
|
|
|
30
30
|
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderMeasuresModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.FormsModule, typeof i4.TranslateModule, typeof i5.MatIconModule, typeof i6.MatInputModule, typeof i7.ElderFormsDirectivesModule, typeof i8.ElderQuantityFormFieldComponent, typeof i9.ElderQuantityPipe, typeof i10.ElderQuantityTransformPipe, typeof i11.ElderUnitSelectDirective, typeof i12.ElderDimensionsInputComponent, typeof i13.ElderQuantityInputControlComponent, typeof i14.ElderRequiredQuantityValidator, typeof i15.ElderQuantityRangeValidator, typeof i16.ElderRequiredDimensionsValidator], [typeof i8.ElderQuantityFormFieldComponent, typeof i9.ElderQuantityPipe, typeof i10.ElderQuantityTransformPipe, typeof i11.ElderUnitSelectDirective, typeof i12.ElderDimensionsInputComponent, typeof i13.ElderQuantityInputControlComponent, typeof i14.ElderRequiredQuantityValidator, typeof i15.ElderQuantityRangeValidator, typeof i16.ElderRequiredDimensionsValidator]>;
|
|
31
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElderMeasuresModule>;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated Please switch to the ElderMeasuresModule
|
|
35
|
-
*/
|
|
36
|
-
export declare class ElderQuantityModule {
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderQuantityModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderQuantityModule, never, [typeof ElderMeasuresModule], [typeof ElderMeasuresModule]>;
|
|
39
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElderQuantityModule>;
|
|
40
|
-
}
|
|
@@ -20,7 +20,6 @@ export * from './scrollbar/elder-scrollbar.module';
|
|
|
20
20
|
export * from './forms/public_api';
|
|
21
21
|
export * from './http-support/public_api';
|
|
22
22
|
export * from './dialogs/elder-dialog.module';
|
|
23
|
-
export * from './global-search/elder-global-search.module';
|
|
24
23
|
export * from './toasts/elder-toast.module';
|
|
25
24
|
export * from './select/public_api';
|
|
26
25
|
export * from './measures/public_api';
|
|
@@ -45,27 +45,6 @@ export declare class ElderToastService {
|
|
|
45
45
|
info(msg: string, options?: ToastOptions): void;
|
|
46
46
|
warn(msg: string, options?: ToastOptions): void;
|
|
47
47
|
error(msg: string, error: any, options?: ToastOptions): void;
|
|
48
|
-
/***************************************************************************
|
|
49
|
-
* *
|
|
50
|
-
* Public API (Old) *
|
|
51
|
-
* *
|
|
52
|
-
**************************************************************************/
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated Use info()
|
|
55
|
-
*/
|
|
56
|
-
pushInfoRaw(msg: string): void;
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Use info()
|
|
59
|
-
*/
|
|
60
|
-
pushInfo(msgKey: string, interpolateParams?: Object): void;
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated Use error()
|
|
63
|
-
*/
|
|
64
|
-
pushErrorRaw(msg: string, error?: any): void;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated Use error()
|
|
67
|
-
*/
|
|
68
|
-
pushError(msgKey: string, interpolateParams?: any, error?: any): void;
|
|
69
48
|
/***************************************************************************
|
|
70
49
|
* *
|
|
71
50
|
* Private methods *
|
|
@@ -50,28 +50,6 @@ export declare class KafentEventService {
|
|
|
50
50
|
*/
|
|
51
51
|
getLiveEvents(topic: string): Observable<KafentEvent>;
|
|
52
52
|
getLiveEventValues<T>(topic: string): Observable<T>;
|
|
53
|
-
/***************************************************************************
|
|
54
|
-
* *
|
|
55
|
-
* Consumer Events Public API *
|
|
56
|
-
* *
|
|
57
|
-
**************************************************************************/
|
|
58
|
-
/***************************************************************************
|
|
59
|
-
* *
|
|
60
|
-
* Legacy Public API *
|
|
61
|
-
* *
|
|
62
|
-
**************************************************************************/
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated
|
|
65
|
-
*/
|
|
66
|
-
getEventsWith(request: KafentLiveEventRequest): Observable<KafentEvent>;
|
|
67
|
-
/**
|
|
68
|
-
* @deprecated
|
|
69
|
-
*/
|
|
70
|
-
getEvents(topic: string): Observable<KafentEvent>;
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated
|
|
73
|
-
*/
|
|
74
|
-
getEventValues<T>(topic: string): Observable<T>;
|
|
75
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<KafentEventService, never>;
|
|
76
54
|
static ɵprov: i0.ɵɵInjectableDeclaration<KafentEventService>;
|
|
77
55
|
}
|
|
@@ -51,8 +51,3 @@ export interface KafentConsumerEventRequest extends KafentEventRequestBase {
|
|
|
51
51
|
*/
|
|
52
52
|
topics: string[];
|
|
53
53
|
}
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated Please switch to the KafentLiveEventRequest interface.
|
|
56
|
-
*/
|
|
57
|
-
export interface KafentEventRequest extends KafentLiveEventRequest {
|
|
58
|
-
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ElderRepeatPipe } from './elder-repeat.pipe';
|
|
3
|
-
import { ElderTruncatePipe } from './elder-truncate.pipe';
|
|
4
1
|
import * as i0 from "@angular/core";
|
|
5
2
|
import * as i1 from "@angular/common";
|
|
6
3
|
import * as i2 from "./bytes.pipe";
|
|
@@ -25,22 +22,8 @@ export { IsoIntervalPipe } from './iso-interval.pipe';
|
|
|
25
22
|
export { IsoIntervalParsePipe } from './iso-interval-parse.pipe';
|
|
26
23
|
export { ElderRoundPipe } from './elder-round.pipe';
|
|
27
24
|
export { ElderTruncatePipe } from './elder-truncate.pipe';
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Please switch to ElderRepeatPipe
|
|
30
|
-
*/
|
|
31
|
-
export declare class ElderRepeatPipeLegacy extends ElderRepeatPipe implements PipeTransform {
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderRepeatPipeLegacy, never>;
|
|
33
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElderRepeatPipeLegacy, "ebsRepeat", true>;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated Please switch to elderTruncate
|
|
37
|
-
*/
|
|
38
|
-
export declare class ElderTrimPipe extends ElderTruncatePipe implements PipeTransform {
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderTrimPipe, never>;
|
|
40
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElderTrimPipe, "elderTrim", true>;
|
|
41
|
-
}
|
|
42
25
|
export declare class ElderPipesModule {
|
|
43
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderPipesModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderPipesModule, never, [typeof i1.CommonModule, typeof i2.BytesPipe, typeof i3.TimeAgoPipe, typeof i4.TimeDurationPipe, typeof i5.WeightPipe, typeof i6.ElderRepeatPipe, typeof i7.ElderSafeUrlPipe, typeof
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderPipesModule, never, [typeof i1.CommonModule, typeof i2.BytesPipe, typeof i3.TimeAgoPipe, typeof i4.TimeDurationPipe, typeof i5.WeightPipe, typeof i6.ElderRepeatPipe, typeof i7.ElderSafeUrlPipe, typeof i8.IsoDurationPipe, typeof i9.ElderRoundPipe, typeof i10.IsoIntervalPipe, typeof i11.IsoIntervalParsePipe, typeof i12.ElderTruncatePipe], [typeof i2.BytesPipe, typeof i3.TimeAgoPipe, typeof i4.TimeDurationPipe, typeof i5.WeightPipe, typeof i6.ElderRepeatPipe, typeof i7.ElderSafeUrlPipe, typeof i8.IsoDurationPipe, typeof i9.ElderRoundPipe, typeof i10.IsoIntervalPipe, typeof i11.IsoIntervalParsePipe, typeof i12.ElderTruncatePipe]>;
|
|
45
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElderPipesModule>;
|
|
46
29
|
}
|
package/package.json
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ElderGlobalSearchService, SortOption } from './elder-global-search.service';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated This component is considered EOL
|
|
7
|
-
*/
|
|
8
|
-
export declare class ElderGlobalSearchComponent implements OnInit, OnDestroy {
|
|
9
|
-
private router;
|
|
10
|
-
private globalSearch;
|
|
11
|
-
private _searchCollapsed;
|
|
12
|
-
private _txtSearch;
|
|
13
|
-
private _subs;
|
|
14
|
-
searchCollapsedChange: EventEmitter<boolean>;
|
|
15
|
-
hideWhenDisabled: boolean;
|
|
16
|
-
private _availableSort;
|
|
17
|
-
selectedSort: SortOption;
|
|
18
|
-
sortAsc: boolean;
|
|
19
|
-
globalSearchDisabled: boolean;
|
|
20
|
-
constructor(router: Router, globalSearch: ElderGlobalSearchService);
|
|
21
|
-
set availableSort(available: SortOption[]);
|
|
22
|
-
get availableSort(): SortOption[];
|
|
23
|
-
get canSort(): boolean;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
get searchCollapsed(): boolean;
|
|
27
|
-
set txtSearch(input: ElementRef);
|
|
28
|
-
set searchCollapsed(value: boolean);
|
|
29
|
-
get toggleIcon(): string;
|
|
30
|
-
toggleSearch(): void;
|
|
31
|
-
get isSearchHidden(): boolean;
|
|
32
|
-
toggleSortAsc(): void;
|
|
33
|
-
sortBy(sort: SortOption): void;
|
|
34
|
-
onQueryChanged(): void;
|
|
35
|
-
private convertToSort;
|
|
36
|
-
private get keywordsValue();
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderGlobalSearchComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderGlobalSearchComponent, "elder-global-search", never, { "hideWhenDisabled": { "alias": "hideWhenDisabled"; "required": false; }; "searchCollapsed": { "alias": "searchCollapsed"; "required": false; }; }, { "searchCollapsedChange": "searchCollapsedChange"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/material/icon";
|
|
4
|
-
import * as i3 from "@angular/material/input";
|
|
5
|
-
import * as i4 from "@angular/material/button";
|
|
6
|
-
import * as i5 from "@angular/material/menu";
|
|
7
|
-
import * as i6 from "@ngx-translate/core";
|
|
8
|
-
import * as i7 from "./elder-global-search.component";
|
|
9
|
-
export * from './elder-global-search.component';
|
|
10
|
-
export * from './elder-global-search.service';
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated This module is considered EOL
|
|
13
|
-
*/
|
|
14
|
-
export declare class ElderGlobalSearchModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderGlobalSearchModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderGlobalSearchModule, never, [typeof i1.CommonModule, typeof i2.MatIconModule, typeof i3.MatInputModule, typeof i4.MatButtonModule, typeof i5.MatMenuModule, typeof i6.TranslateModule, typeof i7.ElderGlobalSearchComponent], [typeof i7.ElderGlobalSearchComponent]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElderGlobalSearchModule>;
|
|
18
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Sort } from '../../common/data/sort';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SortOption {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
constructor(id: string, name: string);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Represents the search query which the user has configured
|
|
12
|
-
*/
|
|
13
|
-
export declare class SearchQuery {
|
|
14
|
-
keywords: string;
|
|
15
|
-
sorts: Sort[];
|
|
16
|
-
static Empty: SearchQuery;
|
|
17
|
-
constructor(keywords: string, sorts: Sort[]);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated This service is considered EOL
|
|
21
|
-
*/
|
|
22
|
-
export declare class ElderGlobalSearchService {
|
|
23
|
-
/***************************************************************************
|
|
24
|
-
* *
|
|
25
|
-
* Fields *
|
|
26
|
-
* *
|
|
27
|
-
**************************************************************************/
|
|
28
|
-
private _showGlobalSearch;
|
|
29
|
-
private _showGlobalSearchSubject;
|
|
30
|
-
private _query;
|
|
31
|
-
private _querySubject;
|
|
32
|
-
private _availableSorts;
|
|
33
|
-
/***************************************************************************
|
|
34
|
-
* *
|
|
35
|
-
* Constructor *
|
|
36
|
-
* *
|
|
37
|
-
**************************************************************************/
|
|
38
|
-
constructor(router: Router);
|
|
39
|
-
/***************************************************************************
|
|
40
|
-
* *
|
|
41
|
-
* Properties *
|
|
42
|
-
* *
|
|
43
|
-
**************************************************************************/
|
|
44
|
-
get availableSortsObservable(): Observable<SortOption[]>;
|
|
45
|
-
set availableSorts(sorts: SortOption[]);
|
|
46
|
-
get queryObservable(): Observable<SearchQuery>;
|
|
47
|
-
get query(): SearchQuery;
|
|
48
|
-
set query(value: SearchQuery);
|
|
49
|
-
get showGlobalSearchObservable(): Observable<boolean>;
|
|
50
|
-
get showGlobalSearch(): boolean;
|
|
51
|
-
set showGlobalSearch(value: boolean);
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderGlobalSearchService, never>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ElderGlobalSearchService>;
|
|
54
|
-
}
|