otimus-library 0.2.96 → 0.2.98
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/otimus-library.mjs +141 -141
- package/fesm2022/otimus-library.mjs.map +1 -1
- package/index.d.ts +55 -42
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
-
import { MaterialSymbol } from 'material-symbols';
|
|
2
|
+
import { OnDestroy, OnChanges, AfterViewInit, ElementRef, Renderer2, NgZone, ChangeDetectorRef, SimpleChanges, OnInit, AfterContentChecked, EventEmitter, QueryList, AfterContentInit } from '@angular/core';
|
|
5
3
|
import * as rxjs from 'rxjs';
|
|
6
4
|
import { HttpClient } from '@angular/common/http';
|
|
5
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
+
import { MaterialSymbol } from 'material-symbols';
|
|
7
7
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
8
8
|
|
|
9
9
|
declare class OtimusLibraryService {
|
|
@@ -38,16 +38,6 @@ declare class OcToastService {
|
|
|
38
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<OcToastService>;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
declare class OcBadgeComponent implements OnInit {
|
|
42
|
-
ocSize: 'small' | 'medium' | 'large';
|
|
43
|
-
ocColor: 'notification' | 'brand-g' | 'brand-p' | 'success' | 'warning';
|
|
44
|
-
ocWaved: boolean;
|
|
45
|
-
classList: string[];
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcBadgeComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcBadgeComponent, "oc-badge", never, { "ocSize": { "alias": "ocSize"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocWaved": { "alias": "ocWaved"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
41
|
type OcStyleThemeType = 'otimus' | 'shui' | 'semantic';
|
|
52
42
|
|
|
53
43
|
declare class StyleThemeService {
|
|
@@ -57,18 +47,20 @@ declare class StyleThemeService {
|
|
|
57
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<StyleThemeService>;
|
|
58
48
|
}
|
|
59
49
|
|
|
60
|
-
declare class
|
|
61
|
-
private
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
50
|
+
declare class InternationalizationService {
|
|
51
|
+
private http;
|
|
52
|
+
constructor(http: HttpClient);
|
|
53
|
+
private queryLang;
|
|
54
|
+
getTranslation(code: string | number, params?: {
|
|
55
|
+
[key: string]: string | number;
|
|
56
|
+
} | null): string;
|
|
57
|
+
getTranslationsByLanguage(): rxjs.Subscription | undefined;
|
|
58
|
+
canUpdateStoredLanguages(): boolean;
|
|
59
|
+
setLanguage(language: string): void;
|
|
60
|
+
setUpdatedLastTime(): void;
|
|
61
|
+
setLanguages(translations: Object): void;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InternationalizationService, never>;
|
|
63
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InternationalizationService>;
|
|
72
64
|
}
|
|
73
65
|
|
|
74
66
|
declare class OcTooltipDirective implements OnDestroy, OnChanges, AfterViewInit {
|
|
@@ -101,6 +93,30 @@ declare class OcTooltipDirective implements OnDestroy, OnChanges, AfterViewInit
|
|
|
101
93
|
static ɵdir: i0.ɵɵDirectiveDeclaration<OcTooltipDirective, "[ocTooltip]", never, { "content": { "alias": "content"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, {}, never, never, true, never>;
|
|
102
94
|
}
|
|
103
95
|
|
|
96
|
+
declare class OcBadgeComponent implements OnInit {
|
|
97
|
+
ocSize: 'small' | 'medium' | 'large';
|
|
98
|
+
ocColor: 'notification' | 'brand-g' | 'brand-p' | 'success' | 'warning';
|
|
99
|
+
ocWaved: boolean;
|
|
100
|
+
classList: string[];
|
|
101
|
+
ngOnInit(): void;
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcBadgeComponent, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcBadgeComponent, "oc-badge", never, { "ocSize": { "alias": "ocSize"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocWaved": { "alias": "ocWaved"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare class OcFilterComponent implements AfterViewInit {
|
|
107
|
+
private styleThemeService;
|
|
108
|
+
isOpen: boolean;
|
|
109
|
+
ocText: string;
|
|
110
|
+
ocActive: number;
|
|
111
|
+
ocSide: 'left' | 'right';
|
|
112
|
+
ocStyle: OcStyleThemeType;
|
|
113
|
+
constructor(styleThemeService: StyleThemeService);
|
|
114
|
+
ngAfterViewInit(): void;
|
|
115
|
+
toggleOpen(): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcFilterComponent, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcFilterComponent, "oc-filter", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "ocText": { "alias": "ocText"; "required": false; }; "ocActive": { "alias": "ocActive"; "required": false; }; "ocSide": { "alias": "ocSide"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; }, {}, never, ["[row]", "[body]"], true, never>;
|
|
118
|
+
}
|
|
119
|
+
|
|
104
120
|
declare class OcInputComponent implements AfterViewInit, OnChanges, AfterContentChecked {
|
|
105
121
|
private el;
|
|
106
122
|
private renderer;
|
|
@@ -198,22 +214,6 @@ interface OcAutoCompleteType {
|
|
|
198
214
|
counter?: number;
|
|
199
215
|
}
|
|
200
216
|
|
|
201
|
-
declare class InternationalizationService {
|
|
202
|
-
private http;
|
|
203
|
-
constructor(http: HttpClient);
|
|
204
|
-
private queryLang;
|
|
205
|
-
getTranslation(code: string | number, params?: {
|
|
206
|
-
[key: string]: string | number;
|
|
207
|
-
} | null): string;
|
|
208
|
-
getTranslationsByLanguage(): rxjs.Subscription | undefined;
|
|
209
|
-
canUpdateStoredLanguages(): boolean;
|
|
210
|
-
setLanguage(language: string): void;
|
|
211
|
-
setUpdatedLastTime(): void;
|
|
212
|
-
setLanguages(translations: Object): void;
|
|
213
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InternationalizationService, never>;
|
|
214
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InternationalizationService>;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
217
|
declare class OcAutocompleteComponent implements AfterViewInit, OnChanges, AfterContentChecked, OnInit {
|
|
218
218
|
private renderer;
|
|
219
219
|
private el;
|
|
@@ -560,4 +560,17 @@ declare class OcProgressComponent implements AfterViewInit {
|
|
|
560
560
|
static ɵcmp: i0.ɵɵComponentDeclaration<OcProgressComponent, "oc-progress", never, { "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocGradient": { "alias": "ocGradient"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocPercentage": { "alias": "ocPercentage"; "required": false; }; }, {}, never, never, true, never>;
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
|
|
563
|
+
interface OcTableType {
|
|
564
|
+
data: any;
|
|
565
|
+
id?: string | number | null;
|
|
566
|
+
selectable?: boolean;
|
|
567
|
+
actions?: OcTableActionsType;
|
|
568
|
+
}
|
|
569
|
+
interface OcTableActionsType {
|
|
570
|
+
edit: () => any;
|
|
571
|
+
delete: () => any;
|
|
572
|
+
print: () => any;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export { InternationalizationService, OcAccordionComponent, OcAccordionItemComponent, OcAutocompleteComponent, OcBadgeComponent, OcButtonMenuComponent, OcCheckboxComponent, OcChipComponent, OcDateSelectComponent, OcFilterComponent, OcInputComponent, OcKeyValueComponent, OcLogComponent, OcMenuComponent, OcMessageComponent, OcModalComponent, OcModalFooterComponent, OcNotFoundComponent, OcPaginationComponent, OcProfileComponent, OcProgressComponent, OcStepComponent, OcStepperComponent, OcTabComponent, OcTabsComponent, OcToastComponent, OcToastService, OcToggleComponent, OcTooltipDirective, OtimusLibraryComponent, OtimusLibraryService, StyleThemeService };
|
|
576
|
+
export type { OcAutoCompleteType, OcMenuType, OcStyleThemeType, OcTableType, ToastType };
|