@dev-tcloud/tcloud-ui 0.0.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/README.md +27 -0
- package/esm2020/dev-tcloud-tcloud-ui.mjs +5 -0
- package/esm2020/public_api.mjs +14 -0
- package/esm2020/src/app/_modules/tcloud-ui-linha-logo/tcloud-ui-linha-logo.component.mjs +62 -0
- package/esm2020/src/app/_modules/tcloud-ui-linha-logo/tcloud-ui-linha-logo.module.mjs +24 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/components/tcloud-ui-modal-body/tcloud-ui-modal-body.component.mjs +14 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/components/tcloud-ui-modal-footer/tcloud-ui-modal-footer.component.mjs +60 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/components/tcloud-ui-modal-header/tcloud-ui-modal-header.component.mjs +21 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/services/tcloud-modal.service.mjs +42 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/tcloud-ui-modal.component.mjs +175 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/tcloud-ui-modal.mjs +2 -0
- package/esm2020/src/app/_modules/tcloud-ui-modal/tcloud-ui-modal.module.mjs +46 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-content/tcloud-ui-tab-content.component.mjs +33 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-head/tcloud-ui-tab-head.component.mjs +55 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-subtitle/tcloud-ui-tab-subtitle.component.mjs +62 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-title/tcloud-ui-tab-title.component.mjs +64 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/services/tab-menu.service.mjs +77 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/tcloud-ui-tab-menu.component.mjs +56 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/tcloud-ui-tab-menu.mjs +2 -0
- package/esm2020/src/app/_modules/tcloud-ui-tab-menu/tcloud-ui-tab-menu.module.mjs +48 -0
- package/fesm2015/dev-tcloud-tcloud-ui.mjs +792 -0
- package/fesm2015/dev-tcloud-tcloud-ui.mjs.map +1 -0
- package/fesm2020/dev-tcloud-tcloud-ui.mjs +792 -0
- package/fesm2020/dev-tcloud-tcloud-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +617 -0
- package/public_api.d.ts +13 -0
- package/src/app/_modules/tcloud-ui-linha-logo/tcloud-ui-linha-logo.component.d.ts +16 -0
- package/src/app/_modules/tcloud-ui-linha-logo/tcloud-ui-linha-logo.module.d.ts +8 -0
- package/src/app/_modules/tcloud-ui-modal/components/tcloud-ui-modal-body/tcloud-ui-modal-body.component.d.ts +8 -0
- package/src/app/_modules/tcloud-ui-modal/components/tcloud-ui-modal-footer/tcloud-ui-modal-footer.component.d.ts +26 -0
- package/src/app/_modules/tcloud-ui-modal/components/tcloud-ui-modal-header/tcloud-ui-modal-header.component.d.ts +10 -0
- package/src/app/_modules/tcloud-ui-modal/services/tcloud-modal.service.d.ts +23 -0
- package/src/app/_modules/tcloud-ui-modal/tcloud-ui-modal.component.d.ts +37 -0
- package/src/app/_modules/tcloud-ui-modal/tcloud-ui-modal.d.ts +4 -0
- package/src/app/_modules/tcloud-ui-modal/tcloud-ui-modal.module.d.ts +12 -0
- package/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-content/tcloud-ui-tab-content.component.d.ts +14 -0
- package/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-head/tcloud-ui-tab-head.component.d.ts +16 -0
- package/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-subtitle/tcloud-ui-tab-subtitle.component.d.ts +21 -0
- package/src/app/_modules/tcloud-ui-tab-menu/components/tcloud-ui-tab-title/tcloud-ui-tab-title.component.d.ts +22 -0
- package/src/app/_modules/tcloud-ui-tab-menu/services/tab-menu.service.d.ts +23 -0
- package/src/app/_modules/tcloud-ui-tab-menu/tcloud-ui-tab-menu.component.d.ts +20 -0
- package/src/app/_modules/tcloud-ui-tab-menu/tcloud-ui-tab-menu.d.ts +4 -0
- package/src/app/_modules/tcloud-ui-tab-menu/tcloud-ui-tab-menu.module.d.ts +13 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
import { TcloudModalService } from './../../services/tcloud-modal.service';
|
|
3
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import { IConfirm } from '../../tcloud-ui-modal';
|
|
5
|
+
import { NgForm } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TcloudUiModalFooterComponent implements OnInit, OnDestroy {
|
|
8
|
+
private tcloudModalService;
|
|
9
|
+
btnCloseText: string;
|
|
10
|
+
btnCancelText: string;
|
|
11
|
+
btnConfirmText: string;
|
|
12
|
+
_formulario: NgForm | undefined;
|
|
13
|
+
txt_value: string;
|
|
14
|
+
param_confirm: IConfirm;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
subscription: Subscription | undefined;
|
|
17
|
+
constructor(tcloudModalService: TcloudModalService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
toClose(): void;
|
|
20
|
+
toConfirm(valid: boolean | any): void;
|
|
21
|
+
toCancel(): void;
|
|
22
|
+
toStateLoading(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcloudUiModalFooterComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcloudUiModalFooterComponent, "tcloud-ui-modal-footer", never, { "btnCloseText": "btnCloseText"; "btnCancelText": "btnCancelText"; "btnConfirmText": "btnConfirmText"; }, {}, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcloudUiModalHeaderComponent implements OnInit {
|
|
4
|
+
mode: 'info' | 'success' | 'danger' | 'warning';
|
|
5
|
+
title: any | undefined;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcloudUiModalHeaderComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcloudUiModalHeaderComponent, "tcloud-ui-modal-header", never, { "mode": "mode"; "title": "title"; }, {}, never, ["*"], false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IConfirm } from './../tcloud-ui-modal';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TcloudModalService {
|
|
5
|
+
private loading;
|
|
6
|
+
private param_confirm;
|
|
7
|
+
private _stateClose;
|
|
8
|
+
stateClose$: Observable<boolean>;
|
|
9
|
+
private _stateConfirm;
|
|
10
|
+
stateConfirm$: Observable<IConfirm>;
|
|
11
|
+
private _stateRespConfirm;
|
|
12
|
+
stateRespConfirm$: Observable<boolean>;
|
|
13
|
+
private _stateLoading;
|
|
14
|
+
stateLoading$: Observable<boolean>;
|
|
15
|
+
toModal(action: 'open' | 'close'): void;
|
|
16
|
+
toRespConfirm(resp: boolean): void;
|
|
17
|
+
getParamConfirm(): IConfirm;
|
|
18
|
+
toConfirm(confirm: IConfirm): void;
|
|
19
|
+
getLoading(): boolean;
|
|
20
|
+
setLoading(loading: boolean): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcloudModalService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TcloudModalService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
+
import { TcloudModalService } from './services/tcloud-modal.service';
|
|
4
|
+
import { IConfirm } from './tcloud-ui-modal';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TcloudUiModalComponent implements OnInit, OnDestroy {
|
|
7
|
+
private tcloudModalService;
|
|
8
|
+
param_confirm: IConfirm;
|
|
9
|
+
private _confirm;
|
|
10
|
+
private _confirmText;
|
|
11
|
+
set confirm(v: boolean);
|
|
12
|
+
set confirmText(v: string);
|
|
13
|
+
subscription: Subscription | undefined;
|
|
14
|
+
subscriptionI: Subscription | undefined;
|
|
15
|
+
autoClose: boolean;
|
|
16
|
+
title: any | undefined;
|
|
17
|
+
maxWidth: number;
|
|
18
|
+
set window(size: 'small' | 'medium' | 'large' | 'big' | 'full');
|
|
19
|
+
private _open;
|
|
20
|
+
set open(open: boolean);
|
|
21
|
+
get open(): boolean;
|
|
22
|
+
private _loading;
|
|
23
|
+
set loading(loading: boolean);
|
|
24
|
+
get loading(): boolean;
|
|
25
|
+
openChange: EventEmitter<boolean>;
|
|
26
|
+
toConfirm: EventEmitter<boolean>;
|
|
27
|
+
toCancel: EventEmitter<boolean>;
|
|
28
|
+
toAction: EventEmitter<"close" | "confirmed" | "cancel">;
|
|
29
|
+
constructor(tcloudModalService: TcloudModalService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
toClose(action?: any | undefined): void;
|
|
32
|
+
checkIsOpen(): void;
|
|
33
|
+
fixed_body(fixed: 'on' | 'off'): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcloudUiModalComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcloudUiModalComponent, "tcloud-ui-modal", never, { "confirm": "confirm"; "confirmText": "confirmText"; "autoClose": "autoClose"; "title": "title"; "maxWidth": "maxWidth"; "window": "window"; "open": "open"; "loading": "loading"; }, { "openChange": "openChange"; "toConfirm": "toConfirm"; "toCancel": "toCancel"; "toAction": "toAction"; }, never, ["*"], false>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tcloud-ui-modal.component";
|
|
3
|
+
import * as i2 from "./components/tcloud-ui-modal-header/tcloud-ui-modal-header.component";
|
|
4
|
+
import * as i3 from "./components/tcloud-ui-modal-body/tcloud-ui-modal-body.component";
|
|
5
|
+
import * as i4 from "./components/tcloud-ui-modal-footer/tcloud-ui-modal-footer.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class TcloudUiModalModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcloudUiModalModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TcloudUiModalModule, [typeof i1.TcloudUiModalComponent, typeof i2.TcloudUiModalHeaderComponent, typeof i3.TcloudUiModalBodyComponent, typeof i4.TcloudUiModalFooterComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule], [typeof i1.TcloudUiModalComponent, typeof i2.TcloudUiModalHeaderComponent, typeof i3.TcloudUiModalBodyComponent, typeof i4.TcloudUiModalFooterComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TcloudUiModalModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TabMenuService } from '../../services/tab-menu.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TCloudUiTabContentComponent implements OnInit {
|
|
5
|
+
private tabMenuService;
|
|
6
|
+
tab: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
private subscription;
|
|
9
|
+
constructor(tabMenuService: TabMenuService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabContentComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabContentComponent, "tcloud-ui-tab-content", never, { "tab": "tab"; }, {}, never, ["*"], false>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TCloudUiTabHeadComponent implements OnInit {
|
|
4
|
+
ID: string;
|
|
5
|
+
background: boolean;
|
|
6
|
+
background_color: string;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
generateID(): string;
|
|
10
|
+
to_scroll(action: 'prev' | 'next'): void;
|
|
11
|
+
private width_scroll;
|
|
12
|
+
private scrollSuave;
|
|
13
|
+
private moveScroll;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabHeadComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabHeadComponent, "tcloud-ui-tab-head", never, { "background": "background"; }, {}, never, ["*"], false>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { TabMenuService } from '../../services/tab-menu.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TCloudUiTabSubtitleComponent implements OnInit, OnDestroy {
|
|
6
|
+
private tabMenuService;
|
|
7
|
+
tab: string;
|
|
8
|
+
active: boolean;
|
|
9
|
+
private _disabled;
|
|
10
|
+
set disabled(disabled: boolean);
|
|
11
|
+
get disabled(): boolean;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
private subscription;
|
|
14
|
+
private subscription2;
|
|
15
|
+
constructor(tabMenuService: TabMenuService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
toTab(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabSubtitleComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabSubtitleComponent, "tcloud-ui-tab-subtitle", never, { "tab": "tab"; "active": "active"; "disabled": "disabled"; }, {}, never, ["*"], false>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { TabMenuService } from '../../services/tab-menu.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TCloudUiTabTitleComponent implements OnInit, OnDestroy {
|
|
6
|
+
private tabMenuService;
|
|
7
|
+
tab: string;
|
|
8
|
+
title: string | undefined;
|
|
9
|
+
active: boolean;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
private _disabled;
|
|
12
|
+
set disabled(disabled: boolean);
|
|
13
|
+
get disabled(): boolean;
|
|
14
|
+
private subscription;
|
|
15
|
+
private subscription2;
|
|
16
|
+
constructor(tabMenuService: TabMenuService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
toTab(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabTitleComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabTitleComponent, "tcloud-ui-tab-title", never, { "tab": "tab"; "title": "title"; "active": "active"; "disabled": "disabled"; }, {}, never, ["*"], false>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabMenuService {
|
|
4
|
+
private _route;
|
|
5
|
+
private _router;
|
|
6
|
+
private info_tab;
|
|
7
|
+
private _tab;
|
|
8
|
+
private tabSubject;
|
|
9
|
+
tabState$: import("rxjs").Observable<string>;
|
|
10
|
+
private _loading;
|
|
11
|
+
private loadingSubject;
|
|
12
|
+
loadingState$: import("rxjs").Observable<boolean>;
|
|
13
|
+
constructor(_route: ActivatedRoute, _router: Router);
|
|
14
|
+
setTabLoading(loading: boolean): void;
|
|
15
|
+
getTabLoading(): boolean;
|
|
16
|
+
setTabState(tab: string, registerInUrl?: boolean | undefined): void;
|
|
17
|
+
getTabState(): string;
|
|
18
|
+
setTabDisabled(id: string, disabled: boolean): void;
|
|
19
|
+
getIsDisabled(id: string): boolean;
|
|
20
|
+
set_to_param_url(tab: string): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabMenuService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TabMenuService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TabMenuService } from './services/tab-menu.service';
|
|
2
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TCloudUiTabMenuComponent implements OnInit, OnDestroy {
|
|
5
|
+
private tabMenuService;
|
|
6
|
+
registerInUrl: boolean;
|
|
7
|
+
private _loading;
|
|
8
|
+
set loading(loading: boolean);
|
|
9
|
+
get loading(): boolean;
|
|
10
|
+
private _active;
|
|
11
|
+
set active(active: string);
|
|
12
|
+
get active(): string;
|
|
13
|
+
onChange: EventEmitter<string>;
|
|
14
|
+
private subscription;
|
|
15
|
+
constructor(tabMenuService: TabMenuService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabMenuComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabMenuComponent, "tcloud-ui-tab-menu", never, { "registerInUrl": "registerInUrl"; "loading": "loading"; "active": "active"; }, { "onChange": "onChange"; }, never, ["*"], false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tcloud-ui-tab-menu.component";
|
|
3
|
+
import * as i2 from "./components/tcloud-ui-tab-content/tcloud-ui-tab-content.component";
|
|
4
|
+
import * as i3 from "./components/tcloud-ui-tab-title/tcloud-ui-tab-title.component";
|
|
5
|
+
import * as i4 from "./components/tcloud-ui-tab-subtitle/tcloud-ui-tab-subtitle.component";
|
|
6
|
+
import * as i5 from "./components/tcloud-ui-tab-head/tcloud-ui-tab-head.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/router";
|
|
9
|
+
export declare class TCloudUiTabMenuModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabMenuModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TCloudUiTabMenuModule, [typeof i1.TCloudUiTabMenuComponent, typeof i2.TCloudUiTabContentComponent, typeof i3.TCloudUiTabTitleComponent, typeof i4.TCloudUiTabSubtitleComponent, typeof i5.TCloudUiTabHeadComponent], [typeof i6.CommonModule, typeof i7.RouterModule], [typeof i1.TCloudUiTabMenuComponent, typeof i2.TCloudUiTabContentComponent, typeof i3.TCloudUiTabTitleComponent, typeof i4.TCloudUiTabSubtitleComponent, typeof i5.TCloudUiTabHeadComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TCloudUiTabMenuModule>;
|
|
13
|
+
}
|