otimus-library 0.2.95 → 0.2.97
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 +336 -279
- package/fesm2022/otimus-library.mjs.map +1 -1
- package/index.d.ts +587 -5
- package/package.json +5 -7
- package/esm2022/lib/components/oc-accordion/oc-accordion.component.mjs +0 -48
- package/esm2022/lib/components/oc-accordion-item/oc-accordion-item.component.mjs +0 -35
- package/esm2022/lib/components/oc-autocomplete/oc-autocomplete.component.mjs +0 -373
- package/esm2022/lib/components/oc-badge/oc-badge.component.mjs +0 -30
- package/esm2022/lib/components/oc-button-menu/oc-button-menu.component.mjs +0 -45
- package/esm2022/lib/components/oc-checkbox/oc-checkbox.component.mjs +0 -140
- package/esm2022/lib/components/oc-chip/oc-chip.component.mjs +0 -48
- package/esm2022/lib/components/oc-date-select/data/months.json +0 -44
- package/esm2022/lib/components/oc-date-select/oc-date-select.component.mjs +0 -128
- package/esm2022/lib/components/oc-filter/oc-filter.component.mjs +0 -39
- package/esm2022/lib/components/oc-input/oc-input.component.mjs +0 -97
- package/esm2022/lib/components/oc-key-value/oc-key-value.component.mjs +0 -31
- package/esm2022/lib/components/oc-log/oc-log.component.mjs +0 -22
- package/esm2022/lib/components/oc-menu/oc-menu.component.mjs +0 -81
- package/esm2022/lib/components/oc-message/oc-message.component.mjs +0 -52
- package/esm2022/lib/components/oc-modal/oc-modal.component.mjs +0 -85
- package/esm2022/lib/components/oc-modal-footer/oc-modal-footer.component.mjs +0 -23
- package/esm2022/lib/components/oc-not-found/oc-not-found.component.mjs +0 -11
- package/esm2022/lib/components/oc-pagination/oc-pagination.component.mjs +0 -49
- package/esm2022/lib/components/oc-profile/oc-profile.component.mjs +0 -38
- package/esm2022/lib/components/oc-progress/oc-progress.component.mjs +0 -35
- package/esm2022/lib/components/oc-step/oc-step.component.mjs +0 -58
- package/esm2022/lib/components/oc-stepper/oc-stepper.component.mjs +0 -94
- package/esm2022/lib/components/oc-tab/oc-tab.component.mjs +0 -20
- package/esm2022/lib/components/oc-tabs/oc-tabs.component.mjs +0 -42
- package/esm2022/lib/components/oc-toast/oc-toast.component.mjs +0 -17
- package/esm2022/lib/components/oc-toggle/oc-toggle.component.mjs +0 -40
- package/esm2022/lib/directives/oc-tooltip/oc-tooltip.directive.mjs +0 -160
- package/esm2022/lib/interfaces/oc-autocomplete.mjs +0 -2
- package/esm2022/lib/interfaces/oc-menu.mjs +0 -2
- package/esm2022/lib/interfaces/oc-style-theme.mjs +0 -2
- package/esm2022/lib/interfaces/oc-toast.mjs +0 -2
- package/esm2022/lib/otimus-library.component.mjs +0 -19
- package/esm2022/lib/otimus-library.service.mjs +0 -14
- package/esm2022/lib/services/internationalization.service.mjs +0 -68
- package/esm2022/lib/services/oc-toast.service.mjs +0 -81
- package/esm2022/lib/services/style-theme.service.mjs +0 -21
- package/esm2022/otimus-library.mjs +0 -5
- package/esm2022/public-api.mjs +0 -34
- package/lib/components/oc-accordion/oc-accordion.component.d.ts +0 -18
- package/lib/components/oc-accordion-item/oc-accordion-item.component.d.ts +0 -12
- package/lib/components/oc-autocomplete/oc-autocomplete.component.d.ts +0 -83
- package/lib/components/oc-badge/oc-badge.component.d.ts +0 -11
- package/lib/components/oc-button-menu/oc-button-menu.component.d.ts +0 -14
- package/lib/components/oc-checkbox/oc-checkbox.component.d.ts +0 -37
- package/lib/components/oc-chip/oc-chip.component.d.ts +0 -15
- package/lib/components/oc-date-select/oc-date-select.component.d.ts +0 -26
- package/lib/components/oc-filter/oc-filter.component.d.ts +0 -17
- package/lib/components/oc-input/oc-input.component.d.ts +0 -31
- package/lib/components/oc-key-value/oc-key-value.component.d.ts +0 -16
- package/lib/components/oc-log/oc-log.component.d.ts +0 -7
- package/lib/components/oc-menu/oc-menu.component.d.ts +0 -20
- package/lib/components/oc-message/oc-message.component.d.ts +0 -17
- package/lib/components/oc-modal/oc-modal.component.d.ts +0 -30
- package/lib/components/oc-modal-footer/oc-modal-footer.component.d.ts +0 -8
- package/lib/components/oc-not-found/oc-not-found.component.d.ts +0 -5
- package/lib/components/oc-pagination/oc-pagination.component.d.ts +0 -14
- package/lib/components/oc-profile/oc-profile.component.d.ts +0 -12
- package/lib/components/oc-progress/oc-progress.component.d.ts +0 -12
- package/lib/components/oc-step/oc-step.component.d.ts +0 -24
- package/lib/components/oc-stepper/oc-stepper.component.d.ts +0 -25
- package/lib/components/oc-tab/oc-tab.component.d.ts +0 -8
- package/lib/components/oc-tabs/oc-tabs.component.d.ts +0 -18
- package/lib/components/oc-toast/oc-toast.component.d.ts +0 -8
- package/lib/components/oc-toggle/oc-toggle.component.d.ts +0 -14
- package/lib/directives/oc-tooltip/oc-tooltip.directive.d.ts +0 -24
- package/lib/interfaces/oc-autocomplete.d.ts +0 -9
- package/lib/interfaces/oc-menu.d.ts +0 -9
- package/lib/interfaces/oc-style-theme.d.ts +0 -2
- package/lib/interfaces/oc-toast.d.ts +0 -8
- package/lib/otimus-library.component.d.ts +0 -5
- package/lib/otimus-library.service.d.ts +0 -6
- package/lib/services/internationalization.service.d.ts +0 -17
- package/lib/services/oc-toast.service.d.ts +0 -14
- package/lib/services/style-theme.service.d.ts +0 -8
- package/public-api.d.ts +0 -30
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { OcMenuType } from '../../interfaces/oc-menu';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class OcButtonMenuComponent {
|
|
5
|
-
ocSize: 'tiny' | 'small' | 'medium' | 'large';
|
|
6
|
-
ocColor: 'purple' | 'green' | 'lightGray';
|
|
7
|
-
ocType: 'button' | 'submit';
|
|
8
|
-
ocMenu: OcMenuType[];
|
|
9
|
-
ocClick: EventEmitter<any>;
|
|
10
|
-
ocChange: EventEmitter<any>;
|
|
11
|
-
protected getStyleClass(): object;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcButtonMenuComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcButtonMenuComponent, "oc-button-menu", never, { "ocSize": { "alias": "ocSize"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocMenu": { "alias": "ocMenu"; "required": false; }; }, { "ocClick": "ocClick"; "ocChange": "ocChange"; }, never, ["*"], true, never>;
|
|
14
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class OcCheckboxComponent implements ControlValueAccessor, AfterViewInit {
|
|
7
|
-
private styleThemeService;
|
|
8
|
-
private cdr;
|
|
9
|
-
checkBoxId: string;
|
|
10
|
-
constructor(styleThemeService: StyleThemeService, cdr: ChangeDetectorRef);
|
|
11
|
-
ocChange: EventEmitter<boolean>;
|
|
12
|
-
ocCheckedChange: EventEmitter<boolean>;
|
|
13
|
-
ocChecked: boolean;
|
|
14
|
-
ocSize: 'tiny' | 'small';
|
|
15
|
-
ocLabel?: string;
|
|
16
|
-
ocName?: string;
|
|
17
|
-
ocColor: 'purple' | 'green';
|
|
18
|
-
ocBorderColor: 'white' | 'gray';
|
|
19
|
-
ocStyle: OcStyleThemeType;
|
|
20
|
-
ocDoubleClick: EventEmitter<boolean>;
|
|
21
|
-
formControl?: FormControl;
|
|
22
|
-
ocTabIndex?: number;
|
|
23
|
-
disableDoubleClickCheck: boolean;
|
|
24
|
-
ocDisabled: boolean;
|
|
25
|
-
private onChange?;
|
|
26
|
-
private onTouched;
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
writeValue(value: boolean): void;
|
|
29
|
-
registerOnChange(fn: (value: boolean) => void): void;
|
|
30
|
-
registerOnTouched(fn: () => void): void;
|
|
31
|
-
private doubleClickCounter;
|
|
32
|
-
private timeoutId;
|
|
33
|
-
protected onDoubleClick(): void;
|
|
34
|
-
toggleChecked(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcCheckboxComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcCheckboxComponent, "oc-checkbox", never, { "ocChecked": { "alias": "ocChecked"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocLabel": { "alias": "ocLabel"; "required": false; }; "ocName": { "alias": "ocName"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocBorderColor": { "alias": "ocBorderColor"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "ocTabIndex": { "alias": "ocTabIndex"; "required": false; }; "disableDoubleClickCheck": { "alias": "disableDoubleClickCheck"; "required": false; }; "ocDisabled": { "alias": "ocDisabled"; "required": false; }; }, { "ocChange": "ocChange"; "ocCheckedChange": "ocCheckedChange"; "ocDoubleClick": "ocDoubleClick"; }, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcChipComponent {
|
|
4
|
-
ocSelected: boolean;
|
|
5
|
-
ocType: 'select' | 'remove' | 'tag' | 'select_remove';
|
|
6
|
-
ocBg: 'green' | 'red' | 'yellow' | 'default';
|
|
7
|
-
ocText: string;
|
|
8
|
-
ocFontSize: string;
|
|
9
|
-
ocClick: EventEmitter<any>;
|
|
10
|
-
ocRemove: EventEmitter<any>;
|
|
11
|
-
ocEvent(event: any): void;
|
|
12
|
-
ocRemoveEvent(event: any): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcChipComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcChipComponent, "oc-chip", never, { "ocSelected": { "alias": "ocSelected"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocBg": { "alias": "ocBg"; "required": false; }; "ocText": { "alias": "ocText"; "required": false; }; "ocFontSize": { "alias": "ocFontSize"; "required": false; }; }, { "ocClick": "ocClick"; "ocRemove": "ocRemove"; }, never, ["*"], true, never>;
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcDateSelectComponent implements AfterViewInit {
|
|
4
|
-
ocValue: string;
|
|
5
|
-
ocType: 'day' | 'month' | 'year';
|
|
6
|
-
ocSkipType: 'day' | 'week' | 'month' | 'year';
|
|
7
|
-
ocValueChange: EventEmitter<string>;
|
|
8
|
-
ocChange: EventEmitter<string>;
|
|
9
|
-
ocLanguage: 'ptbr' | 'enus' | 'esch';
|
|
10
|
-
ocMaxDate: string | null;
|
|
11
|
-
ocMinDate: string | null;
|
|
12
|
-
dateInput: ElementRef<HTMLInputElement>;
|
|
13
|
-
private intervalId;
|
|
14
|
-
ngAfterViewInit(): void;
|
|
15
|
-
private getCurrentDate;
|
|
16
|
-
protected getViewDate(): string;
|
|
17
|
-
private updateValue;
|
|
18
|
-
protected increaseDate(): void;
|
|
19
|
-
protected decreaseDate(): void;
|
|
20
|
-
protected startHold(direction: 'increase' | 'decrease'): void;
|
|
21
|
-
protected stopHold(): void;
|
|
22
|
-
protected openDatePicker(): void;
|
|
23
|
-
protected onDateChange(event: Event): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcDateSelectComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcDateSelectComponent, "oc-date-select", never, { "ocValue": { "alias": "ocValue"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocSkipType": { "alias": "ocSkipType"; "required": false; }; "ocLanguage": { "alias": "ocLanguage"; "required": false; }; "ocMaxDate": { "alias": "ocMaxDate"; "required": false; }; "ocMinDate": { "alias": "ocMinDate"; "required": false; }; }, { "ocValueChange": "ocValueChange"; "ocChange": "ocChange"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
3
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OcFilterComponent implements AfterViewInit {
|
|
6
|
-
private styleThemeService;
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
ocText: string;
|
|
9
|
-
ocActive: number;
|
|
10
|
-
ocSide: 'left' | 'right';
|
|
11
|
-
ocStyle: OcStyleThemeType;
|
|
12
|
-
constructor(styleThemeService: StyleThemeService);
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
toggleOpen(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcFilterComponent, never>;
|
|
16
|
-
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>;
|
|
17
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
3
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OcInputComponent implements AfterViewInit, OnChanges, AfterContentChecked {
|
|
6
|
-
private el;
|
|
7
|
-
private renderer;
|
|
8
|
-
private styleThemeService;
|
|
9
|
-
ocPrefix: any;
|
|
10
|
-
ocSuffix: any;
|
|
11
|
-
ocError?: string;
|
|
12
|
-
ocSize?: 'small' | 'medium' | 'large';
|
|
13
|
-
ocPlaceholder: string;
|
|
14
|
-
ocWidth?: string;
|
|
15
|
-
ocMinWidth?: string;
|
|
16
|
-
ocMaxWidth?: string;
|
|
17
|
-
ocRequired: boolean;
|
|
18
|
-
ocStyle: OcStyleThemeType;
|
|
19
|
-
inputId: string;
|
|
20
|
-
hasSuffix: boolean;
|
|
21
|
-
hasPrefix: boolean;
|
|
22
|
-
get computedWidth(): string | null;
|
|
23
|
-
get computedMinWidth(): string;
|
|
24
|
-
get computedMaxWidth(): string;
|
|
25
|
-
constructor(el: ElementRef, renderer: Renderer2, styleThemeService: StyleThemeService);
|
|
26
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
ngAfterContentChecked(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcInputComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcInputComponent, "oc-input", never, { "ocError": { "alias": "ocError"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocPlaceholder": { "alias": "ocPlaceholder"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMinWidth": { "alias": "ocMinWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocRequired": { "alias": "ocRequired"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; }, {}, ["ocPrefix", "ocSuffix"], ["*", "ocPrefix", "ocSuffix"], true, never>;
|
|
31
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
3
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class OcKeyValueComponent implements AfterViewInit {
|
|
7
|
-
private styleThemeService;
|
|
8
|
-
protected sanitizer: DomSanitizer;
|
|
9
|
-
constructor(styleThemeService: StyleThemeService, sanitizer: DomSanitizer);
|
|
10
|
-
ocKey: string;
|
|
11
|
-
ocValue: string;
|
|
12
|
-
ocStyle: OcStyleThemeType;
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcKeyValueComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcKeyValueComponent, "oc-key-value", never, { "ocKey": { "alias": "ocKey"; "required": false; }; "ocValue": { "alias": "ocValue"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OcLogComponent {
|
|
3
|
-
ocProfilePic?: string;
|
|
4
|
-
ocUserName?: string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcLogComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcLogComponent, "oc-log", never, { "ocProfilePic": { "alias": "ocProfilePic"; "required": false; }; "ocUserName": { "alias": "ocUserName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { OcMenuType } from '../../interfaces/oc-menu';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class OcMenuComponent implements OnInit {
|
|
5
|
-
private renderer;
|
|
6
|
-
constructor(renderer: Renderer2);
|
|
7
|
-
menu: ElementRef;
|
|
8
|
-
ocChange: EventEmitter<any>;
|
|
9
|
-
ocMenu: OcMenuType[];
|
|
10
|
-
isMenuShown: boolean;
|
|
11
|
-
buttonId?: string;
|
|
12
|
-
open(): void;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
findParentButton(element: HTMLElement): HTMLButtonElement | null;
|
|
15
|
-
closeOnClickOut(): void;
|
|
16
|
-
changeCheckbox(name: string, checked: boolean): undefined;
|
|
17
|
-
typeof(key: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcMenuComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcMenuComponent, "oc-menu", never, { "ocMenu": { "alias": "ocMenu"; "required": false; }; }, { "ocChange": "ocChange"; }, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcMessageComponent {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
ocColor: 'default' | 'green' | 'red';
|
|
6
|
-
ocClosable: boolean;
|
|
7
|
-
ocIcon: string;
|
|
8
|
-
private _ocTitle;
|
|
9
|
-
set ocTitle(value: string);
|
|
10
|
-
get ocTitle(): string;
|
|
11
|
-
ocOnClose: EventEmitter<any>;
|
|
12
|
-
ocOnOpen: EventEmitter<any>;
|
|
13
|
-
open(): void;
|
|
14
|
-
close(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcMessageComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcMessageComponent, "oc-message", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocClosable": { "alias": "ocClosable"; "required": false; }; "ocIcon": { "alias": "ocIcon"; "required": false; }; "ocTitle": { "alias": "ocTitle"; "required": false; }; }, { "ocOnClose": "ocOnClose"; "ocOnOpen": "ocOnOpen"; }, never, ["[ocIcon]", "[ocHeader]", "*"], true, never>;
|
|
17
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
3
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OcModalComponent implements AfterViewInit {
|
|
6
|
-
private elRef;
|
|
7
|
-
private styleThemeService;
|
|
8
|
-
private cdr;
|
|
9
|
-
constructor(elRef: ElementRef, styleThemeService: StyleThemeService, cdr: ChangeDetectorRef);
|
|
10
|
-
ocClose: boolean;
|
|
11
|
-
ocTitle: string;
|
|
12
|
-
ocSize: 'small' | 'medium' | 'large' | 'screen';
|
|
13
|
-
ocBgColor?: string;
|
|
14
|
-
ocWidth: string;
|
|
15
|
-
ocMaxWidth: string;
|
|
16
|
-
ocStyle: OcStyleThemeType;
|
|
17
|
-
ocLoading: boolean;
|
|
18
|
-
ocOnClose: EventEmitter<any>;
|
|
19
|
-
ocOnOpen: EventEmitter<any>;
|
|
20
|
-
isOpen: boolean;
|
|
21
|
-
closing: boolean;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
open(): void;
|
|
24
|
-
close(): void;
|
|
25
|
-
protected getModalStyles(): {
|
|
26
|
-
[key: string]: string;
|
|
27
|
-
};
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcModalComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcModalComponent, "oc-modal", never, { "ocClose": { "alias": "ocClose"; "required": false; }; "ocTitle": { "alias": "ocTitle"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocBgColor": { "alias": "ocBgColor"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "ocOnClose": "ocOnClose"; "ocOnOpen": "ocOnOpen"; }, never, ["*"], true, never>;
|
|
30
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OcModalFooterComponent {
|
|
3
|
-
ocSide: 'left' | 'right';
|
|
4
|
-
ocBgColor?: string;
|
|
5
|
-
ocFixed: boolean;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcModalFooterComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcModalFooterComponent, "oc-modal-footer", never, { "ocSide": { "alias": "ocSide"; "required": false; }; "ocBgColor": { "alias": "ocBgColor"; "required": false; }; "ocFixed": { "alias": "ocFixed"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OcNotFoundComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcNotFoundComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcNotFoundComponent, "oc-not-found", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcPaginationComponent implements OnInit {
|
|
4
|
-
ocPage: number;
|
|
5
|
-
ocMaxPage?: number;
|
|
6
|
-
ocGetPage: EventEmitter<number>;
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
firstPage(): void;
|
|
9
|
-
decrementPage(): void;
|
|
10
|
-
incrementPage(): void;
|
|
11
|
-
lastPage(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcPaginationComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcPaginationComponent, "oc-pagination", never, { "ocPage": { "alias": "ocPage"; "required": false; }; "ocMaxPage": { "alias": "ocMaxPage"; "required": false; }; }, { "ocGetPage": "ocGetPage"; }, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcProfileComponent implements OnInit {
|
|
4
|
-
ocUserName?: string;
|
|
5
|
-
ocProfilePic?: string;
|
|
6
|
-
ocSize: 'large' | 'medium' | 'small' | 'tiny';
|
|
7
|
-
nameInitials: string;
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
getInitials(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcProfileComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcProfileComponent, "oc-profile", never, { "ocUserName": { "alias": "ocUserName"; "required": false; }; "ocProfilePic": { "alias": "ocProfilePic"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcProgressComponent implements AfterViewInit {
|
|
4
|
-
ocWidth: string;
|
|
5
|
-
ocColor: 'purple' | 'green' | 'orange';
|
|
6
|
-
ocGradient: boolean;
|
|
7
|
-
ocStyle: 'otimus' | 'shui';
|
|
8
|
-
ocPercentage: number;
|
|
9
|
-
ngAfterViewInit(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcProgressComponent, never>;
|
|
11
|
-
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>;
|
|
12
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
3
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OcStepComponent implements AfterViewInit {
|
|
6
|
-
private styleThemeService;
|
|
7
|
-
constructor(styleThemeService: StyleThemeService);
|
|
8
|
-
ocIsActive: boolean;
|
|
9
|
-
ocTitle: string;
|
|
10
|
-
ocColor: 'purple' | 'green';
|
|
11
|
-
ocCompleted: boolean;
|
|
12
|
-
ocStyle: OcStyleThemeType;
|
|
13
|
-
ocType: 'history' | 'default';
|
|
14
|
-
ocExpandable?: boolean;
|
|
15
|
-
ocClick: EventEmitter<any>;
|
|
16
|
-
stepIndex: number;
|
|
17
|
-
selectedIndex: number;
|
|
18
|
-
lastIndex: number;
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
protected handleStepClick(stepIndex: number): void;
|
|
21
|
-
selectStep: (index: number) => void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcStepComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcStepComponent, "oc-step", never, { "ocIsActive": { "alias": "ocIsActive"; "required": false; }; "ocTitle": { "alias": "ocTitle"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocCompleted": { "alias": "ocCompleted"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocExpandable": { "alias": "ocExpandable"; "required": false; }; "selectStep": { "alias": "selectStep"; "required": false; }; }, { "ocClick": "ocClick"; }, never, ["*"], true, never>;
|
|
24
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, QueryList } from '@angular/core';
|
|
2
|
-
import { OcStepComponent } from '../oc-step/oc-step.component';
|
|
3
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
4
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class OcStepperComponent implements AfterViewInit {
|
|
7
|
-
private styleThemeService;
|
|
8
|
-
constructor(styleThemeService: StyleThemeService);
|
|
9
|
-
ocSteps: QueryList<OcStepComponent>;
|
|
10
|
-
ocAllowNavigation: boolean;
|
|
11
|
-
ocColor: 'purple' | 'green';
|
|
12
|
-
ocCurrentIndex: number;
|
|
13
|
-
ocSaveCompletedSteps: boolean;
|
|
14
|
-
ocStyle: OcStyleThemeType;
|
|
15
|
-
ocType: 'history' | 'default';
|
|
16
|
-
private completedSteps;
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
|
-
private setCompletedSteps;
|
|
19
|
-
setStepsValues(): void;
|
|
20
|
-
selectStep(index: number): void;
|
|
21
|
-
nextStep(event: Event): void;
|
|
22
|
-
previousStep(event: Event): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcStepperComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcStepperComponent, "oc-stepper", never, { "ocAllowNavigation": { "alias": "ocAllowNavigation"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocCurrentIndex": { "alias": "ocCurrentIndex"; "required": false; }; "ocSaveCompletedSteps": { "alias": "ocSaveCompletedSteps"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; }, {}, ["ocSteps"], ["*"], true, never>;
|
|
25
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OcTabComponent {
|
|
3
|
-
ocTitle: string;
|
|
4
|
-
ocIsActive: boolean;
|
|
5
|
-
tabIndex: number;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcTabComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcTabComponent, "oc-tab", never, { "ocTitle": { "alias": "ocTitle"; "required": false; }; "ocIsActive": { "alias": "ocIsActive"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { QueryList, AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { OcTabComponent } from '../oc-tab/oc-tab.component';
|
|
3
|
-
import { StyleThemeService } from '../../services/style-theme.service';
|
|
4
|
-
import { OcStyleThemeType } from '../../interfaces/oc-style-theme';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class OcTabsComponent implements AfterContentInit {
|
|
7
|
-
private styleThemeService;
|
|
8
|
-
constructor(styleThemeService: StyleThemeService);
|
|
9
|
-
ocTabs: QueryList<OcTabComponent>;
|
|
10
|
-
ocStyle: OcStyleThemeType;
|
|
11
|
-
ocClick: EventEmitter<void>;
|
|
12
|
-
activeTabIndex: number;
|
|
13
|
-
ngAfterContentInit(): void;
|
|
14
|
-
selectTab(index: number): void;
|
|
15
|
-
handleTabClick(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcTabsComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcTabsComponent, "oc-tabs", never, { "ocStyle": { "alias": "ocStyle"; "required": false; }; }, { "ocClick": "ocClick"; }, ["ocTabs"], ["[row]", "*"], true, never>;
|
|
18
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OcToastService } from '../../services/oc-toast.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcToastComponent {
|
|
4
|
-
toast: OcToastService;
|
|
5
|
-
constructor(toast: OcToastService);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcToastComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcToastComponent, "oc-toast", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcToggleComponent {
|
|
4
|
-
_ocChecked: boolean;
|
|
5
|
-
ocDisabled: boolean;
|
|
6
|
-
ocSize: 'medium' | 'large';
|
|
7
|
-
set ocChecked(value: boolean);
|
|
8
|
-
get ocChecked(): boolean;
|
|
9
|
-
ocColor: 'purple' | 'green';
|
|
10
|
-
ocCheckedChange: EventEmitter<boolean>;
|
|
11
|
-
toggleChecked(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcToggleComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcToggleComponent, "oc-toggle", never, { "ocDisabled": { "alias": "ocDisabled"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocChecked": { "alias": "ocChecked"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; }, { "ocCheckedChange": "ocCheckedChange"; }, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2, NgZone, ChangeDetectorRef, OnDestroy, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OcTooltipDirective implements OnDestroy, OnChanges {
|
|
4
|
-
private elRef;
|
|
5
|
-
private renderer;
|
|
6
|
-
private zone;
|
|
7
|
-
private cdr;
|
|
8
|
-
content: string;
|
|
9
|
-
side: 'bottom' | 'upon' | 'left' | 'right' | 'top' | 'mouse';
|
|
10
|
-
private tooltip;
|
|
11
|
-
private moveScheduled;
|
|
12
|
-
constructor(elRef: ElementRef, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
-
private setupEvents;
|
|
15
|
-
private createTooltip;
|
|
16
|
-
onMouseOver(event: MouseEvent): void;
|
|
17
|
-
onMouseMove(event: MouseEvent): void;
|
|
18
|
-
onMouseOut(event: MouseEvent): void;
|
|
19
|
-
private updateTooltipPosition;
|
|
20
|
-
private positionTooltipFixed;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcTooltipDirective, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OcTooltipDirective, "[ocTooltip]", never, { "content": { "alias": "content"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OtimusLibraryComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OtimusLibraryComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OtimusLibraryComponent, "lib-otimus-library", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class InternationalizationService {
|
|
4
|
-
private http;
|
|
5
|
-
constructor(http: HttpClient);
|
|
6
|
-
private queryLang;
|
|
7
|
-
getTranslation(code: string | number, params?: {
|
|
8
|
-
[key: string]: string | number;
|
|
9
|
-
} | null): string;
|
|
10
|
-
getTranslationsByLanguage(): import("rxjs").Subscription | undefined;
|
|
11
|
-
canUpdateStoredLanguages(): boolean;
|
|
12
|
-
setLanguage(language: string): void;
|
|
13
|
-
setUpdatedLastTime(): void;
|
|
14
|
-
setLanguages(translations: Object): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InternationalizationService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InternationalizationService>;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ToastType } from '../interfaces/oc-toast';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type ToastStatusType = 'erro' | 'error' | 'success' | 'éxito' | 'sucesso' | 'carregando' | 'cargando' | 'loading' | 'informação' | 'información' | 'information';
|
|
4
|
-
export declare class OcToastService {
|
|
5
|
-
toastList: ToastType[];
|
|
6
|
-
isRunning: boolean;
|
|
7
|
-
currentToast: ToastType;
|
|
8
|
-
closeToast(id: number): void;
|
|
9
|
-
openToast: (toastStatus: ToastStatusType, toastMessage: string, toastCounter?: number, promiseKey?: string) => void;
|
|
10
|
-
renderToasts(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcToastService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OcToastService>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OcStyleThemeType } from '../interfaces/oc-style-theme';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StyleThemeService {
|
|
4
|
-
constructor();
|
|
5
|
-
getStyleTheme(): OcStyleThemeType | undefined;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StyleThemeService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StyleThemeService>;
|
|
8
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export * from './lib/otimus-library.service';
|
|
2
|
-
export * from './lib/otimus-library.component';
|
|
3
|
-
export * from './lib/services/oc-toast.service';
|
|
4
|
-
export * from './lib/components/oc-badge/oc-badge.component';
|
|
5
|
-
export * from './lib/components/oc-filter/oc-filter.component';
|
|
6
|
-
export * from './lib/directives/oc-tooltip/oc-tooltip.directive';
|
|
7
|
-
export * from './lib/components/oc-input/oc-input.component';
|
|
8
|
-
export * from './lib/components/oc-modal/oc-modal.component';
|
|
9
|
-
export * from './lib/components/oc-key-value/oc-key-value.component';
|
|
10
|
-
export * from './lib/components/oc-chip/oc-chip.component';
|
|
11
|
-
export * from './lib/components/oc-modal-footer/oc-modal-footer.component';
|
|
12
|
-
export * from './lib/components/oc-autocomplete/oc-autocomplete.component';
|
|
13
|
-
export * from './lib/components/oc-profile/oc-profile.component';
|
|
14
|
-
export * from './lib/components/oc-log/oc-log.component';
|
|
15
|
-
export * from './lib/components/oc-pagination/oc-pagination.component';
|
|
16
|
-
export * from './lib/components/oc-not-found/oc-not-found.component';
|
|
17
|
-
export * from './lib/components/oc-menu/oc-menu.component';
|
|
18
|
-
export * from './lib/components/oc-toast/oc-toast.component';
|
|
19
|
-
export * from './lib/components/oc-checkbox/oc-checkbox.component';
|
|
20
|
-
export * from './lib/components/oc-toggle/oc-toggle.component';
|
|
21
|
-
export * from './lib/components/oc-stepper/oc-stepper.component';
|
|
22
|
-
export * from './lib/components/oc-step/oc-step.component';
|
|
23
|
-
export * from './lib/components/oc-tabs/oc-tabs.component';
|
|
24
|
-
export * from './lib/components/oc-tab/oc-tab.component';
|
|
25
|
-
export * from './lib/components/oc-accordion/oc-accordion.component';
|
|
26
|
-
export * from './lib/components/oc-accordion-item/oc-accordion-item.component';
|
|
27
|
-
export * from './lib/components/oc-message/oc-message.component';
|
|
28
|
-
export * from './lib/components/oc-date-select/oc-date-select.component';
|
|
29
|
-
export * from './lib/components/oc-button-menu/oc-button-menu.component';
|
|
30
|
-
export * from './lib/components/oc-progress/oc-progress.component';
|