@pumpkin-tech/pumpkin-tech-ng 0.1.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 +63 -0
- package/esm2022/lib/components/action-dialog/action-dialog-config.mjs +2 -0
- package/esm2022/lib/components/action-dialog/action-dialog.component.mjs +70 -0
- package/esm2022/lib/components/action-dialog/index.mjs +3 -0
- package/esm2022/lib/components/action-result-dialog/action-result-dialog-data.mjs +2 -0
- package/esm2022/lib/components/action-result-dialog/action-result-dialog.component.mjs +70 -0
- package/esm2022/lib/components/action-result-dialog/index.mjs +3 -0
- package/esm2022/lib/components/action-row/action-row.component.mjs +19 -0
- package/esm2022/lib/components/action-row/index.mjs +2 -0
- package/esm2022/lib/components/alert/alert-data.mjs +2 -0
- package/esm2022/lib/components/alert/alert.component.mjs +59 -0
- package/esm2022/lib/components/alert/index.mjs +3 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +62 -0
- package/esm2022/lib/components/breadcrumb/index.mjs +2 -0
- package/esm2022/lib/components/button/button.component.mjs +355 -0
- package/esm2022/lib/components/button/index.mjs +2 -0
- package/esm2022/lib/components/check-box/check-box.component.mjs +108 -0
- package/esm2022/lib/components/check-box/index.mjs +2 -0
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog-data.mjs +2 -0
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +66 -0
- package/esm2022/lib/components/confirmation-dialog/index.mjs +3 -0
- package/esm2022/lib/components/footer/footer.component.mjs +29 -0
- package/esm2022/lib/components/footer/index.mjs +2 -0
- package/esm2022/lib/components/header/header.component.mjs +85 -0
- package/esm2022/lib/components/header/index.mjs +2 -0
- package/esm2022/lib/components/icon/icon.component.mjs +53 -0
- package/esm2022/lib/components/icon/index.mjs +2 -0
- package/esm2022/lib/components/info-detail/index.mjs +3 -0
- package/esm2022/lib/components/info-detail/info-detail-dialog.component.mjs +96 -0
- package/esm2022/lib/components/info-detail/info-detail.component.mjs +43 -0
- package/esm2022/lib/components/input/index.mjs +2 -0
- package/esm2022/lib/components/input/input.component.mjs +316 -0
- package/esm2022/lib/components/input-date-picker-range/index.mjs +2 -0
- package/esm2022/lib/components/input-date-picker-range/input-date-picker-range.component.mjs +120 -0
- package/esm2022/lib/components/loading-overlay/index.mjs +2 -0
- package/esm2022/lib/components/loading-overlay/loading-overlay.component.mjs +29 -0
- package/esm2022/lib/components/nav/index.mjs +2 -0
- package/esm2022/lib/components/nav/nav.component.mjs +172 -0
- package/esm2022/lib/components/profile-menu/index.mjs +2 -0
- package/esm2022/lib/components/profile-menu/profile-menu.component.mjs +68 -0
- package/esm2022/lib/components/progress-bar/index.mjs +2 -0
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +59 -0
- package/esm2022/lib/components/progress-bar-multiple/index.mjs +2 -0
- package/esm2022/lib/components/progress-bar-multiple/progress-bar-multiple.component.mjs +69 -0
- package/esm2022/lib/components/quantity-items/index.mjs +2 -0
- package/esm2022/lib/components/quantity-items/quantity-items.component.mjs +68 -0
- package/esm2022/lib/components/radio-group/index.mjs +2 -0
- package/esm2022/lib/components/radio-group/radio-group.component.mjs +74 -0
- package/esm2022/lib/components/radio-group-entity/index.mjs +2 -0
- package/esm2022/lib/components/radio-group-entity/radio-group-entity.component.mjs +101 -0
- package/esm2022/lib/components/select-entity/index.mjs +2 -0
- package/esm2022/lib/components/select-entity/select-entity.component.mjs +342 -0
- package/esm2022/lib/components/select-enum/index.mjs +2 -0
- package/esm2022/lib/components/select-enum/select-enum.component.mjs +93 -0
- package/esm2022/lib/components/slide-toggle/index.mjs +2 -0
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +94 -0
- package/esm2022/lib/components/title/index.mjs +2 -0
- package/esm2022/lib/components/title/title.component.mjs +27 -0
- package/esm2022/lib/directives/click-catcher.directive.mjs +20 -0
- package/esm2022/lib/directives/date-mask.directive.mjs +58 -0
- package/esm2022/lib/directives/dynamic-tab.directive.mjs +18 -0
- package/esm2022/lib/directives/for.directive.mjs +35 -0
- package/esm2022/lib/directives/index.mjs +11 -0
- package/esm2022/lib/directives/lower-case.directive.mjs +48 -0
- package/esm2022/lib/directives/phone-mask-brazil.directive.mjs +64 -0
- package/esm2022/lib/directives/phone-mask-spain.directive.mjs +66 -0
- package/esm2022/lib/directives/red.directive.mjs +21 -0
- package/esm2022/lib/directives/space-drop.directive.mjs +48 -0
- package/esm2022/lib/directives/upper-case.directive.mjs +48 -0
- package/esm2022/lib/mock/fake-data.service.mjs +69 -0
- package/esm2022/lib/mock/index.mjs +2 -0
- package/esm2022/lib/modules/core.material.module.mjs +166 -0
- package/esm2022/lib/modules/directives.module.mjs +64 -0
- package/esm2022/lib/modules/pipes.module.mjs +56 -0
- package/esm2022/lib/modules/pumpkin-tech.module.mjs +193 -0
- package/esm2022/lib/modules/shared/portuguese.matpaginatorintl.mjs +28 -0
- package/esm2022/lib/pipes/currency-brl.pipe.mjs +27 -0
- package/esm2022/lib/pipes/date-ago.pipe.mjs +59 -0
- package/esm2022/lib/pipes/get-first-string-before-space.pipe.mjs +21 -0
- package/esm2022/lib/pipes/index.mjs +11 -0
- package/esm2022/lib/pipes/line-break-after-period.pipe.mjs +20 -0
- package/esm2022/lib/pipes/line-break-after.pipe.mjs +29 -0
- package/esm2022/lib/pipes/memory-format.pipe.mjs +35 -0
- package/esm2022/lib/pipes/phone-brazil.pipe.mjs +43 -0
- package/esm2022/lib/pipes/phone-spain.pipe.mjs +37 -0
- package/esm2022/lib/pipes/time.durantion.pipe.mjs +36 -0
- package/esm2022/lib/pipes/uptime-format.pipe.mjs +36 -0
- package/esm2022/lib/services/breadcrumb.service.mjs +51 -0
- package/esm2022/lib/services/breadcrumb.tokens.mjs +10 -0
- package/esm2022/lib/services/currency-preference.service.mjs +98 -0
- package/esm2022/lib/services/dialog.service.mjs +89 -0
- package/esm2022/lib/services/index.mjs +10 -0
- package/esm2022/lib/services/loading.service.mjs +27 -0
- package/esm2022/lib/services/message-token.mjs +16 -0
- package/esm2022/lib/services/module.change.service.mjs +19 -0
- package/esm2022/lib/services/nav.service.mjs +31 -0
- package/esm2022/lib/services/snackbar-message.service.mjs +59 -0
- package/esm2022/lib/utils/array.util.mjs +19 -0
- package/esm2022/lib/utils/currency.util.mjs +18 -0
- package/esm2022/lib/utils/date.util.mjs +80 -0
- package/esm2022/lib/utils/document.util.mjs +92 -0
- package/esm2022/lib/utils/index.mjs +9 -0
- package/esm2022/lib/utils/number.util.mjs +19 -0
- package/esm2022/lib/utils/object.util.mjs +28 -0
- package/esm2022/lib/utils/string.util.mjs +40 -0
- package/esm2022/lib/utils/uuid.util.mjs +18 -0
- package/esm2022/public-api.mjs +42 -0
- package/esm2022/pumpkin-tech-pumpkin-tech-ng.mjs +5 -0
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +4471 -0
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/action-dialog/action-dialog-config.d.ts +15 -0
- package/lib/components/action-dialog/action-dialog.component.d.ts +17 -0
- package/lib/components/action-dialog/index.d.ts +2 -0
- package/lib/components/action-result-dialog/action-result-dialog-data.d.ts +6 -0
- package/lib/components/action-result-dialog/action-result-dialog.component.d.ts +21 -0
- package/lib/components/action-result-dialog/index.d.ts +2 -0
- package/lib/components/action-row/action-row.component.d.ts +5 -0
- package/lib/components/action-row/index.d.ts +1 -0
- package/lib/components/alert/alert-data.d.ts +9 -0
- package/lib/components/alert/alert.component.d.ts +13 -0
- package/lib/components/alert/index.d.ts +2 -0
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +11 -0
- package/lib/components/breadcrumb/index.d.ts +1 -0
- package/lib/components/button/button.component.d.ts +36 -0
- package/lib/components/button/index.d.ts +1 -0
- package/lib/components/check-box/check-box.component.d.ts +24 -0
- package/lib/components/check-box/index.d.ts +1 -0
- package/lib/components/confirmation-dialog/confirmation-dialog-data.d.ts +7 -0
- package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
- package/lib/components/confirmation-dialog/index.d.ts +2 -0
- package/lib/components/footer/footer.component.d.ts +6 -0
- package/lib/components/footer/index.d.ts +1 -0
- package/lib/components/header/header.component.d.ts +14 -0
- package/lib/components/header/index.d.ts +1 -0
- package/lib/components/icon/icon.component.d.ts +10 -0
- package/lib/components/icon/index.d.ts +1 -0
- package/lib/components/info-detail/index.d.ts +2 -0
- package/lib/components/info-detail/info-detail-dialog.component.d.ts +19 -0
- package/lib/components/info-detail/info-detail.component.d.ts +13 -0
- package/lib/components/input/index.d.ts +1 -0
- package/lib/components/input/input.component.d.ts +58 -0
- package/lib/components/input-date-picker-range/index.d.ts +1 -0
- package/lib/components/input-date-picker-range/input-date-picker-range.component.d.ts +37 -0
- package/lib/components/loading-overlay/index.d.ts +1 -0
- package/lib/components/loading-overlay/loading-overlay.component.d.ts +10 -0
- package/lib/components/nav/index.d.ts +1 -0
- package/lib/components/nav/nav.component.d.ts +31 -0
- package/lib/components/profile-menu/index.d.ts +1 -0
- package/lib/components/profile-menu/profile-menu.component.d.ts +16 -0
- package/lib/components/progress-bar/index.d.ts +1 -0
- package/lib/components/progress-bar/progress-bar.component.d.ts +12 -0
- package/lib/components/progress-bar-multiple/index.d.ts +1 -0
- package/lib/components/progress-bar-multiple/progress-bar-multiple.component.d.ts +19 -0
- package/lib/components/quantity-items/index.d.ts +1 -0
- package/lib/components/quantity-items/quantity-items.component.d.ts +10 -0
- package/lib/components/radio-group/index.d.ts +1 -0
- package/lib/components/radio-group/radio-group.component.d.ts +20 -0
- package/lib/components/radio-group-entity/index.d.ts +1 -0
- package/lib/components/radio-group-entity/radio-group-entity.component.d.ts +21 -0
- package/lib/components/select-entity/index.d.ts +1 -0
- package/lib/components/select-entity/select-entity.component.d.ts +60 -0
- package/lib/components/select-enum/index.d.ts +1 -0
- package/lib/components/select-enum/select-enum.component.d.ts +28 -0
- package/lib/components/slide-toggle/index.d.ts +1 -0
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +46 -0
- package/lib/components/title/index.d.ts +1 -0
- package/lib/components/title/title.component.d.ts +11 -0
- package/lib/directives/click-catcher.directive.d.ts +6 -0
- package/lib/directives/date-mask.directive.d.ts +8 -0
- package/lib/directives/dynamic-tab.directive.d.ts +8 -0
- package/lib/directives/for.directive.d.ts +12 -0
- package/lib/directives/index.d.ts +10 -0
- package/lib/directives/lower-case.directive.d.ts +12 -0
- package/lib/directives/phone-mask-brazil.directive.d.ts +11 -0
- package/lib/directives/phone-mask-spain.directive.d.ts +11 -0
- package/lib/directives/red.directive.d.ts +9 -0
- package/lib/directives/space-drop.directive.d.ts +12 -0
- package/lib/directives/upper-case.directive.d.ts +12 -0
- package/lib/mock/fake-data.service.d.ts +34 -0
- package/lib/mock/index.d.ts +1 -0
- package/lib/modules/core.material.module.d.ts +43 -0
- package/lib/modules/directives.module.d.ts +16 -0
- package/lib/modules/pipes.module.d.ts +16 -0
- package/lib/modules/pumpkin-tech.module.d.ts +33 -0
- package/lib/modules/shared/portuguese.matpaginatorintl.d.ts +12 -0
- package/lib/pipes/currency-brl.pipe.d.ts +8 -0
- package/lib/pipes/date-ago.pipe.d.ts +8 -0
- package/lib/pipes/get-first-string-before-space.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +10 -0
- package/lib/pipes/line-break-after-period.pipe.d.ts +7 -0
- package/lib/pipes/line-break-after.pipe.d.ts +7 -0
- package/lib/pipes/memory-format.pipe.d.ts +7 -0
- package/lib/pipes/phone-brazil.pipe.d.ts +7 -0
- package/lib/pipes/phone-spain.pipe.d.ts +7 -0
- package/lib/pipes/time.durantion.pipe.d.ts +7 -0
- package/lib/pipes/uptime-format.pipe.d.ts +7 -0
- package/lib/services/breadcrumb.service.d.ts +14 -0
- package/lib/services/breadcrumb.tokens.d.ts +9 -0
- package/lib/services/currency-preference.service.d.ts +24 -0
- package/lib/services/dialog.service.d.ts +41 -0
- package/lib/services/index.d.ts +9 -0
- package/lib/services/loading.service.d.ts +9 -0
- package/lib/services/message-token.d.ts +9 -0
- package/lib/services/module.change.service.d.ts +8 -0
- package/lib/services/nav.service.d.ts +11 -0
- package/lib/services/snackbar-message.service.d.ts +13 -0
- package/lib/utils/array.util.d.ts +9 -0
- package/lib/utils/currency.util.d.ts +8 -0
- package/lib/utils/date.util.d.ts +18 -0
- package/lib/utils/document.util.d.ts +4 -0
- package/lib/utils/index.d.ts +8 -0
- package/lib/utils/number.util.d.ts +5 -0
- package/lib/utils/object.util.d.ts +9 -0
- package/lib/utils/string.util.d.ts +10 -0
- package/lib/utils/uuid.util.d.ts +5 -0
- package/package.json +49 -0
- package/public-api.d.ts +37 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
type Entity = Record<string, any>;
|
|
7
|
+
export declare class SelectEntityComponent implements ControlValueAccessor, OnChanges {
|
|
8
|
+
appearance: MatFormFieldAppearance;
|
|
9
|
+
label: string;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
multiple: boolean;
|
|
13
|
+
static ngAcceptInputType_required: BooleanInput;
|
|
14
|
+
private _required;
|
|
15
|
+
get required(): boolean;
|
|
16
|
+
set required(v: any);
|
|
17
|
+
/** propriedade a exibir (ex.: "description" ou "customer.name") */
|
|
18
|
+
property: string;
|
|
19
|
+
/** mapa para enums: { KEY: 'Rótulo' } — aplica se value final existir neste mapa */
|
|
20
|
+
propertyEnum?: Record<string, any>;
|
|
21
|
+
/** função alternativa para extrair o texto a exibir do item */
|
|
22
|
+
propertyFn?: (obj: any) => string;
|
|
23
|
+
/** Id prop usada no compare/trackBy (default "id") */
|
|
24
|
+
idProp: string;
|
|
25
|
+
/** placeholder do campo de busca no painel */
|
|
26
|
+
searchPlaceholder: string;
|
|
27
|
+
/** ex: mostrar 1º e um contador em múltipla seleção */
|
|
28
|
+
multipleTriggerMax: number;
|
|
29
|
+
/** dados */
|
|
30
|
+
entities: Entity[];
|
|
31
|
+
/** loading do combo */
|
|
32
|
+
loading: boolean;
|
|
33
|
+
selectionChange: EventEmitter<any>;
|
|
34
|
+
loadingChange: EventEmitter<boolean>;
|
|
35
|
+
filteredEntities: Entity[];
|
|
36
|
+
model: any;
|
|
37
|
+
searchText: string;
|
|
38
|
+
private onTouched;
|
|
39
|
+
private onChange;
|
|
40
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
41
|
+
writeValue(value: any): void;
|
|
42
|
+
registerOnChange(fn: any): void;
|
|
43
|
+
registerOnTouched(fn: any): void;
|
|
44
|
+
setDisabledState(isDisabled: boolean): void;
|
|
45
|
+
setValue(v: any): void;
|
|
46
|
+
compareFn: (a: any, b: any) => boolean;
|
|
47
|
+
trackById: (_: number, item: any) => any;
|
|
48
|
+
get triggerText(): string;
|
|
49
|
+
displayMultipleTrigger(items: any[]): string;
|
|
50
|
+
onSearch(value: string): void;
|
|
51
|
+
isArray(v: any): v is any[];
|
|
52
|
+
private filterModel;
|
|
53
|
+
private displayOf;
|
|
54
|
+
getPropertyValue(entity: any): string;
|
|
55
|
+
private getDeep;
|
|
56
|
+
private resolveId;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectEntityComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectEntityComponent, "ptech-select-entity", never, { "appearance": { "alias": "appearance"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "required": { "alias": "required"; "required": false; }; "property": { "alias": "property"; "required": false; }; "propertyEnum": { "alias": "propertyEnum"; "required": false; }; "propertyFn": { "alias": "propertyFn"; "required": false; }; "idProp": { "alias": "idProp"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "multipleTriggerMax": { "alias": "multipleTriggerMax"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "selectionChange": "selectionChange"; "loadingChange": "loadingChange"; }, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './select-enum.component';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectEnumComponent implements ControlValueAccessor, OnInit {
|
|
5
|
+
label: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
enum: any;
|
|
11
|
+
disabledOptions: string[];
|
|
12
|
+
sort: (a: any, b: any) => number;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
val: any;
|
|
15
|
+
selectionChange: EventEmitter<any>;
|
|
16
|
+
enumList: any[];
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
get value(): any;
|
|
19
|
+
set value(v: any);
|
|
20
|
+
onSelectionChange(entity: any): void;
|
|
21
|
+
onChange: any;
|
|
22
|
+
onTouch: any;
|
|
23
|
+
writeValue(value: any): void;
|
|
24
|
+
registerOnChange(fn: any): void;
|
|
25
|
+
registerOnTouched(fn: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectEnumComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectEnumComponent, "ptech-select-enum", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "enum": { "alias": "enum"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "val": { "alias": "value"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './slide-toggle.component';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ThemePalette } from '@angular/material/core';
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SlideToggleComponent implements ControlValueAccessor {
|
|
7
|
+
/** Texto do rótulo (aparece ao lado do toggle) */
|
|
8
|
+
label: string;
|
|
9
|
+
/** 'primary' | 'accent' | 'warn' */
|
|
10
|
+
color: ThemePalette;
|
|
11
|
+
/** Posição do rótulo: 'before' | 'after' */
|
|
12
|
+
labelPosition: 'before' | 'after';
|
|
13
|
+
/** Acessibilidade */
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
ariaLabelledby?: string;
|
|
16
|
+
/** Controle de estados (coerção de boolean) */
|
|
17
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
18
|
+
static ngAcceptInputType_required: BooleanInput;
|
|
19
|
+
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
20
|
+
private _disabled;
|
|
21
|
+
get disabled(): boolean;
|
|
22
|
+
set disabled(v: any);
|
|
23
|
+
private _required;
|
|
24
|
+
get required(): boolean;
|
|
25
|
+
set required(v: any);
|
|
26
|
+
private _disableRipple;
|
|
27
|
+
get disableRipple(): boolean;
|
|
28
|
+
set disableRipple(v: any);
|
|
29
|
+
/** name para forms nativos, se precisar */
|
|
30
|
+
name: string;
|
|
31
|
+
/** Saída de mudança (boolean) – compatível com (change) que você usava */
|
|
32
|
+
change: EventEmitter<boolean>;
|
|
33
|
+
/** Model interno (CVA) */
|
|
34
|
+
private _value;
|
|
35
|
+
get value(): boolean;
|
|
36
|
+
set value(v: boolean);
|
|
37
|
+
onChange: (v: any) => void;
|
|
38
|
+
onTouch: () => void;
|
|
39
|
+
writeValue(v: any): void;
|
|
40
|
+
registerOnChange(fn: any): void;
|
|
41
|
+
registerOnTouched(fn: any): void;
|
|
42
|
+
setDisabledState(isDisabled: boolean): void;
|
|
43
|
+
onMatChange(checked: boolean): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlideToggleComponent, "ptech-slide-toggle", never, { "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './title.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TitleComponent implements OnChanges {
|
|
4
|
+
private cd;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
constructor(cd: ChangeDetectorRef);
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TitleComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TitleComponent, "ptech-title", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ClickCatcherDirective {
|
|
3
|
+
onClick(id: any): void;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickCatcherDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickCatcherDirective, "[ptechClickCatcher]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DateMaskDirective {
|
|
3
|
+
onInputChange(event: Event): void;
|
|
4
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
5
|
+
private applyMask;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateMaskDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateMaskDirective, "[ptechDateMask]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DynamicTabDirective {
|
|
4
|
+
viewContainer: ViewContainerRef;
|
|
5
|
+
constructor(viewContainer: ViewContainerRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTabDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicTabDirective, "[ptechDynamicTab]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ForDirective implements OnChanges {
|
|
4
|
+
private container;
|
|
5
|
+
private template;
|
|
6
|
+
numbers: any[];
|
|
7
|
+
constructor(container: ViewContainerRef, template: TemplateRef<any>);
|
|
8
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
|
+
private render;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ForDirective, "[ptechFor]", never, { "numbers": { "alias": "ptechForEm"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './upper-case.directive';
|
|
2
|
+
export * from './lower-case.directive';
|
|
3
|
+
export * from './red.directive';
|
|
4
|
+
export * from './click-catcher.directive';
|
|
5
|
+
export * from './for.directive';
|
|
6
|
+
export * from './space-drop.directive';
|
|
7
|
+
export * from './date-mask.directive';
|
|
8
|
+
export * from './phone-mask-brazil.directive';
|
|
9
|
+
export * from './phone-mask-spain.directive';
|
|
10
|
+
export * from './dynamic-tab.directive';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LowerCaseDirective {
|
|
4
|
+
ngControl: NgControl;
|
|
5
|
+
enabledLowerCase: boolean;
|
|
6
|
+
constructor(ngControl: NgControl);
|
|
7
|
+
onModelChange(event: string): void;
|
|
8
|
+
onInput(event: Event): void;
|
|
9
|
+
private apply;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LowerCaseDirective, [{ optional: true; }]>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LowerCaseDirective, "[ptechLowerCase]", never, { "enabledLowerCase": { "alias": "ptechLowerCase"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PhoneMaskBrazilDirective {
|
|
4
|
+
ngControl: NgControl;
|
|
5
|
+
constructor(ngControl: NgControl);
|
|
6
|
+
onModelChange(event: string): void;
|
|
7
|
+
onBackspace(event: KeyboardEvent): void;
|
|
8
|
+
private apply;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskBrazilDirective, [{ optional: true; }]>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskBrazilDirective, "[ptechPhoneMaskBrazil]", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PhoneMaskSpainDirective {
|
|
4
|
+
ngControl: NgControl;
|
|
5
|
+
constructor(ngControl: NgControl);
|
|
6
|
+
onModelChange(event: string): void;
|
|
7
|
+
onBackspace(event: KeyboardEvent): void;
|
|
8
|
+
private apply;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskSpainDirective, [{ optional: true; }]>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskSpainDirective, "[ptechPhoneMaskSpain]", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RedDirective {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RedDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RedDirective, "[ptechRed]", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpaceDropDirective {
|
|
4
|
+
ngControl: NgControl;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
constructor(ngControl: NgControl);
|
|
7
|
+
onModelChange(value: string): void;
|
|
8
|
+
onInput(event: Event): void;
|
|
9
|
+
private apply;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpaceDropDirective, [{ optional: true; }]>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpaceDropDirective, "[ptechSpaceDrop]", never, { "enabled": { "alias": "ptechSpaceDrop"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UpperCaseDirective {
|
|
4
|
+
ngControl: NgControl;
|
|
5
|
+
enabledUpperCase: boolean;
|
|
6
|
+
constructor(ngControl: NgControl);
|
|
7
|
+
onModelChange(event: string): void;
|
|
8
|
+
onInput(event: Event): void;
|
|
9
|
+
private apply;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpperCaseDirective, [{ optional: true; }]>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpperCaseDirective, "[ptechUpperCase]", never, { "enabledUpperCase": { "alias": "ptechUpperCase"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Modelo mínimo de usuário falso gerado.
|
|
4
|
+
*/
|
|
5
|
+
export interface FakeUser {
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone: string;
|
|
9
|
+
birthDate: Date | string;
|
|
10
|
+
password: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Opções para geração de senha.
|
|
14
|
+
* Espelha o esperado pelo faker.internet.password({ ... })
|
|
15
|
+
*/
|
|
16
|
+
export interface PasswordOptions {
|
|
17
|
+
length?: number;
|
|
18
|
+
memorable?: boolean;
|
|
19
|
+
pattern?: RegExp;
|
|
20
|
+
prefix?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare class FakeDataService {
|
|
23
|
+
private readonly DEFAULT_PASSWORD_OPTIONS;
|
|
24
|
+
randomPassword(options?: PasswordOptions): string;
|
|
25
|
+
generateUsers(count: number): FakeUser[];
|
|
26
|
+
formatPhoneNumber(phone: string): string;
|
|
27
|
+
/**
|
|
28
|
+
* Retorna opções de senha padrão, permitindo sobreposição:
|
|
29
|
+
* ex: passwordDefaults({ length: 10, prefix: 'Hi' })
|
|
30
|
+
*/
|
|
31
|
+
passwordDefaults(overrides?: PasswordOptions): Required<PasswordOptions>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FakeDataService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './fake-data.service';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import 'moment/locale/pt-br';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/forms";
|
|
5
|
+
import * as i3 from "@angular/material/toolbar";
|
|
6
|
+
import * as i4 from "@angular/material/sidenav";
|
|
7
|
+
import * as i5 from "@angular/material/list";
|
|
8
|
+
import * as i6 from "@angular/material/button";
|
|
9
|
+
import * as i7 from "@angular/material/snack-bar";
|
|
10
|
+
import * as i8 from "@angular/material/card";
|
|
11
|
+
import * as i9 from "@angular/material/form-field";
|
|
12
|
+
import * as i10 from "@angular/material/input";
|
|
13
|
+
import * as i11 from "@angular/material/select";
|
|
14
|
+
import * as i12 from "@angular/material/table";
|
|
15
|
+
import * as i13 from "@angular/material/paginator";
|
|
16
|
+
import * as i14 from "@angular/material/sort";
|
|
17
|
+
import * as i15 from "@angular/material/icon";
|
|
18
|
+
import * as i16 from "@angular/material/divider";
|
|
19
|
+
import * as i17 from "@angular/material/tooltip";
|
|
20
|
+
import * as i18 from "@angular/material/menu";
|
|
21
|
+
import * as i19 from "@angular/material/datepicker";
|
|
22
|
+
import * as i20 from "@angular/material/progress-bar";
|
|
23
|
+
import * as i21 from "@angular/material/slide-toggle";
|
|
24
|
+
import * as i22 from "@angular/material/dialog";
|
|
25
|
+
import * as i23 from "@angular/material/radio";
|
|
26
|
+
import * as i24 from "@angular/material/checkbox";
|
|
27
|
+
import * as i25 from "@angular/material/progress-spinner";
|
|
28
|
+
export declare const MY_DATE_FORMATS: {
|
|
29
|
+
parse: {
|
|
30
|
+
dateInput: string;
|
|
31
|
+
};
|
|
32
|
+
display: {
|
|
33
|
+
dateInput: string;
|
|
34
|
+
monthYearLabel: string;
|
|
35
|
+
dateA11yLabel: string;
|
|
36
|
+
monthYearA11yLabel: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare class CoreMaterialModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreMaterialModule, never>;
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreMaterialModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatToolbarModule, typeof i4.MatSidenavModule, typeof i5.MatListModule, typeof i6.MatButtonModule, typeof i7.MatSnackBarModule, typeof i8.MatCardModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatSelectModule, typeof i12.MatTableModule, typeof i13.MatPaginatorModule, typeof i14.MatSortModule, typeof i15.MatIconModule, typeof i16.MatDividerModule, typeof i17.MatTooltipModule, typeof i18.MatMenuModule, typeof i19.MatDatepickerModule, typeof i20.MatProgressBarModule, typeof i21.MatSlideToggleModule, typeof i22.MatDialogModule, typeof i23.MatRadioModule, typeof i24.MatCheckboxModule, typeof i25.MatProgressSpinnerModule], [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatToolbarModule, typeof i4.MatSidenavModule, typeof i5.MatListModule, typeof i6.MatButtonModule, typeof i7.MatSnackBarModule, typeof i8.MatCardModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatSelectModule, typeof i12.MatTableModule, typeof i13.MatPaginatorModule, typeof i14.MatSortModule, typeof i15.MatIconModule, typeof i16.MatDividerModule, typeof i17.MatTooltipModule, typeof i18.MatMenuModule, typeof i19.MatDatepickerModule, typeof i20.MatProgressBarModule, typeof i21.MatSlideToggleModule, typeof i22.MatDialogModule, typeof i23.MatRadioModule, typeof i24.MatCheckboxModule, typeof i25.MatProgressSpinnerModule]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CoreMaterialModule>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../directives/upper-case.directive";
|
|
3
|
+
import * as i2 from "../directives/lower-case.directive";
|
|
4
|
+
import * as i3 from "../directives/red.directive";
|
|
5
|
+
import * as i4 from "../directives/click-catcher.directive";
|
|
6
|
+
import * as i5 from "../directives/for.directive";
|
|
7
|
+
import * as i6 from "../directives/phone-mask-brazil.directive";
|
|
8
|
+
import * as i7 from "../directives/phone-mask-spain.directive";
|
|
9
|
+
import * as i8 from "../directives/space-drop.directive";
|
|
10
|
+
import * as i9 from "../directives/date-mask.directive";
|
|
11
|
+
import * as i10 from "../directives/dynamic-tab.directive";
|
|
12
|
+
export declare class DirectivesModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, never, [typeof i1.UpperCaseDirective, typeof i2.LowerCaseDirective, typeof i3.RedDirective, typeof i4.ClickCatcherDirective, typeof i5.ForDirective, typeof i6.PhoneMaskBrazilDirective, typeof i7.PhoneMaskSpainDirective, typeof i8.SpaceDropDirective, typeof i9.DateMaskDirective, typeof i10.DynamicTabDirective], [typeof i1.UpperCaseDirective, typeof i2.LowerCaseDirective, typeof i3.RedDirective, typeof i4.ClickCatcherDirective, typeof i5.ForDirective, typeof i6.PhoneMaskBrazilDirective, typeof i7.PhoneMaskSpainDirective, typeof i8.SpaceDropDirective, typeof i9.DateMaskDirective, typeof i10.DynamicTabDirective]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "../pipes/currency-brl.pipe";
|
|
4
|
+
import * as i3 from "../pipes/date-ago.pipe";
|
|
5
|
+
import * as i4 from "../pipes/get-first-string-before-space.pipe";
|
|
6
|
+
import * as i5 from "../pipes/line-break-after-period.pipe";
|
|
7
|
+
import * as i6 from "../pipes/line-break-after.pipe";
|
|
8
|
+
import * as i7 from "../pipes/memory-format.pipe";
|
|
9
|
+
import * as i8 from "../pipes/phone-brazil.pipe";
|
|
10
|
+
import * as i9 from "../pipes/phone-spain.pipe";
|
|
11
|
+
import * as i10 from "../pipes/uptime-format.pipe";
|
|
12
|
+
export declare class PipesModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, never, [typeof i1.CommonModule, typeof i2.CurrencyBrlPipe, typeof i3.DateAgoPipe, typeof i4.GetFirstStringBeforeSpacePipe, typeof i5.LineBreakAfterPeriodPipe, typeof i6.LineBreakAfterPipe, typeof i7.MemoryFormatPipe, typeof i8.PhoneBrazilPipe, typeof i9.PhoneSpainPipe, typeof i10.UptimeFormatPipe], [typeof i2.CurrencyBrlPipe, typeof i3.DateAgoPipe, typeof i4.GetFirstStringBeforeSpacePipe, typeof i5.LineBreakAfterPeriodPipe, typeof i6.LineBreakAfterPipe, typeof i7.MemoryFormatPipe, typeof i8.PhoneBrazilPipe, typeof i9.PhoneSpainPipe, typeof i10.UptimeFormatPipe]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./core.material.module";
|
|
4
|
+
import * as i3 from "../components/input/input.component";
|
|
5
|
+
import * as i4 from "../components/input-date-picker-range/input-date-picker-range.component";
|
|
6
|
+
import * as i5 from "../components/info-detail/info-detail.component";
|
|
7
|
+
import * as i6 from "../components/info-detail/info-detail-dialog.component";
|
|
8
|
+
import * as i7 from "../components/action-dialog/action-dialog.component";
|
|
9
|
+
import * as i8 from "../components/action-result-dialog/action-result-dialog.component";
|
|
10
|
+
import * as i9 from "../components/button/button.component";
|
|
11
|
+
import * as i10 from "../components/breadcrumb/breadcrumb.component";
|
|
12
|
+
import * as i11 from "../components/title/title.component";
|
|
13
|
+
import * as i12 from "../components/action-row/action-row.component";
|
|
14
|
+
import * as i13 from "../components/header/header.component";
|
|
15
|
+
import * as i14 from "../components/nav/nav.component";
|
|
16
|
+
import * as i15 from "../components/footer/footer.component";
|
|
17
|
+
import * as i16 from "../components/icon/icon.component";
|
|
18
|
+
import * as i17 from "../components/select-entity/select-entity.component";
|
|
19
|
+
import * as i18 from "../components/select-enum/select-enum.component";
|
|
20
|
+
import * as i19 from "../components/radio-group/radio-group.component";
|
|
21
|
+
import * as i20 from "../components/radio-group-entity/radio-group-entity.component";
|
|
22
|
+
import * as i21 from "../components/slide-toggle/slide-toggle.component";
|
|
23
|
+
import * as i22 from "../components/quantity-items/quantity-items.component";
|
|
24
|
+
import * as i23 from "../components/loading-overlay/loading-overlay.component";
|
|
25
|
+
import * as i24 from "../components/profile-menu/profile-menu.component";
|
|
26
|
+
import * as i25 from "../components/check-box/check-box.component";
|
|
27
|
+
import * as i26 from "../components/progress-bar/progress-bar.component";
|
|
28
|
+
import * as i27 from "../components/progress-bar-multiple/progress-bar-multiple.component";
|
|
29
|
+
export declare class PumpkinTechModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PumpkinTechModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PumpkinTechModule, never, [typeof i1.CommonModule, typeof i2.CoreMaterialModule, typeof i3.InputComponent, typeof i4.InputDatePickerRangeComponent, typeof i5.InfoDetailComponent, typeof i6.InfoDetailDialogComponent, typeof i7.ActionDialogComponent, typeof i8.ActionResultDialogComponent, typeof i9.ButtonComponent, typeof i10.BreadcrumbComponent, typeof i11.TitleComponent, typeof i12.ActionRowComponent, typeof i13.HeaderComponent, typeof i14.NavComponent, typeof i15.FooterComponent, typeof i16.IconComponent, typeof i17.SelectEntityComponent, typeof i18.SelectEnumComponent, typeof i19.RadioGroupComponent, typeof i20.RadioGroupEntityComponent, typeof i21.SlideToggleComponent, typeof i22.QuantityItemsComponent, typeof i23.LoadingOverlayComponent, typeof i24.ProfileMenuComponent, typeof i25.CheckBoxComponent, typeof i26.ProgressBarComponent, typeof i27.ProgressBarMultipleComponent], [typeof i3.InputComponent, typeof i4.InputDatePickerRangeComponent, typeof i5.InfoDetailComponent, typeof i6.InfoDetailDialogComponent, typeof i7.ActionDialogComponent, typeof i8.ActionResultDialogComponent, typeof i9.ButtonComponent, typeof i10.BreadcrumbComponent, typeof i11.TitleComponent, typeof i12.ActionRowComponent, typeof i13.HeaderComponent, typeof i14.NavComponent, typeof i15.FooterComponent, typeof i16.IconComponent, typeof i17.SelectEntityComponent, typeof i18.SelectEnumComponent, typeof i19.RadioGroupComponent, typeof i20.RadioGroupEntityComponent, typeof i21.SlideToggleComponent, typeof i22.QuantityItemsComponent, typeof i23.LoadingOverlayComponent, typeof i24.ProfileMenuComponent, typeof i25.CheckBoxComponent, typeof i26.ProgressBarComponent, typeof i27.ProgressBarMultipleComponent, typeof i2.CoreMaterialModule]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PumpkinTechModule>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PortugueseMatPaginatorIntl extends MatPaginatorIntl {
|
|
4
|
+
itemsPerPageLabel: string;
|
|
5
|
+
nextPageLabel: string;
|
|
6
|
+
previousPageLabel: string;
|
|
7
|
+
firstPageLabel: string;
|
|
8
|
+
lastPageLabel: string;
|
|
9
|
+
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortugueseMatPaginatorIntl, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PortugueseMatPaginatorIntl>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CurrencyBrlPipe implements PipeTransform {
|
|
4
|
+
private currencyPipe;
|
|
5
|
+
transform(value: unknown, symbolDisplay?: boolean): string | null;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyBrlPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyBrlPipe, "currencybrl", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateAgoPipe implements PipeTransform {
|
|
4
|
+
private readonly intervals;
|
|
5
|
+
transform(value: unknown): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateAgoPipe, "dateAgo", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GetFirstStringBeforeSpacePipe implements PipeTransform {
|
|
4
|
+
transform(value: string | null | undefined): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetFirstStringBeforeSpacePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetFirstStringBeforeSpacePipe, "getFirstStringBeforeSpace", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './currency-brl.pipe';
|
|
2
|
+
export * from './date-ago.pipe';
|
|
3
|
+
export * from './get-first-string-before-space.pipe';
|
|
4
|
+
export * from './line-break-after-period.pipe';
|
|
5
|
+
export * from './line-break-after.pipe';
|
|
6
|
+
export * from './memory-format.pipe';
|
|
7
|
+
export * from './phone-brazil.pipe';
|
|
8
|
+
export * from './phone-spain.pipe';
|
|
9
|
+
export * from './uptime-format.pipe';
|
|
10
|
+
export * from './time.durantion.pipe';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LineBreakAfterPeriodPipe implements PipeTransform {
|
|
4
|
+
transform(value: string | null | undefined): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineBreakAfterPeriodPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LineBreakAfterPeriodPipe, "lineBreakAfterPeriod", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LineBreakAfterPipe implements PipeTransform {
|
|
4
|
+
transform(value: string | null | undefined, lettersPerLine?: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LineBreakAfterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LineBreakAfterPipe, "lineBreakAfter", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MemoryFormatPipe implements PipeTransform {
|
|
4
|
+
transform(value: number | string | null | undefined, unit?: 'MB' | 'GB'): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MemoryFormatPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MemoryFormatPipe, "memoryFormat", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PhoneBrazilPipe implements PipeTransform {
|
|
4
|
+
transform(tel: unknown): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneBrazilPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PhoneBrazilPipe, "phoneBrazil", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PhoneSpainPipe implements PipeTransform {
|
|
4
|
+
transform(tel: unknown): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneSpainPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PhoneSpainPipe, "phoneSpain", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TimeDurationPipe implements PipeTransform {
|
|
4
|
+
transform(input: Date | string | number | null | undefined): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeDurationPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDurationPipe, "timeDuration", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UptimeFormatPipe implements PipeTransform {
|
|
4
|
+
transform(totalSeconds: number | null | undefined): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UptimeFormatPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<UptimeFormatPipe, "uptimeFormat", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { BreadcrumbRoute } from '../components/breadcrumb/breadcrumb.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BreadcrumbService {
|
|
6
|
+
private router;
|
|
7
|
+
private prefix$;
|
|
8
|
+
private _crumbs;
|
|
9
|
+
readonly breadcrumbs$: Observable<BreadcrumbRoute[]>;
|
|
10
|
+
constructor(router: Router, prefix$: Observable<BreadcrumbRoute[]>);
|
|
11
|
+
private buildDynamicCrumbs;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, [null, { optional: true; }]>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { BreadcrumbRoute } from '../components/breadcrumb/breadcrumb.component';
|
|
4
|
+
/**
|
|
5
|
+
* Se o app consumidor quiser inserir dinamicamente
|
|
6
|
+
* o crumb de “módulo” (ou qualquer outro prefixo),
|
|
7
|
+
* ele pode fornecer um Observable<BreadcrumbRoute[]> aqui.
|
|
8
|
+
*/
|
|
9
|
+
export declare const BREADCRUMB_PREFIX$: InjectionToken<Observable<BreadcrumbRoute[]>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type CurrencyCode = 'EUR' | 'USD' | 'BRL';
|
|
3
|
+
export declare class CurrencyPreferenceService {
|
|
4
|
+
private _currency;
|
|
5
|
+
private readonly _subject;
|
|
6
|
+
readonly currency$: import("rxjs").Observable<CurrencyCode>;
|
|
7
|
+
constructor();
|
|
8
|
+
private loadInitialCurrency;
|
|
9
|
+
private isSupported;
|
|
10
|
+
private _setCurrencyInternal;
|
|
11
|
+
getCurrency(): CurrencyCode;
|
|
12
|
+
setCurrency(newCurrency: CurrencyCode): void;
|
|
13
|
+
getCurrencySymbol(): string;
|
|
14
|
+
getThousandSeparator(): string;
|
|
15
|
+
getDecimalMarker(): string;
|
|
16
|
+
getPlaceholder(): string;
|
|
17
|
+
formatAmount(value: number, options?: {
|
|
18
|
+
minimumFractionDigits?: number;
|
|
19
|
+
maximumFractionDigits?: number;
|
|
20
|
+
useSymbol?: boolean;
|
|
21
|
+
}): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyPreferenceService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CurrencyPreferenceService>;
|
|
24
|
+
}
|