@pumpkin-tech/pumpkin-tech-ng 0.1.9 → 0.2.1
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/pumpkin-tech-pumpkin-tech-ng.mjs +556 -450
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -1
- package/index.d.ts +1585 -3
- package/package.json +9 -11
- package/esm2022/lib/base/base-field.mjs +0 -96
- package/esm2022/lib/components/action-dialog/action-dialog-config.mjs +0 -2
- package/esm2022/lib/components/action-dialog/action-dialog.component.mjs +0 -198
- package/esm2022/lib/components/action-dialog/index.mjs +0 -3
- package/esm2022/lib/components/action-result-dialog/action-result-dialog-data.mjs +0 -2
- package/esm2022/lib/components/action-result-dialog/action-result-dialog.component.mjs +0 -70
- package/esm2022/lib/components/action-result-dialog/index.mjs +0 -3
- package/esm2022/lib/components/action-row/action-row.component.mjs +0 -19
- package/esm2022/lib/components/action-row/index.mjs +0 -2
- package/esm2022/lib/components/alert/alert-data.mjs +0 -2
- package/esm2022/lib/components/alert/alert.component.mjs +0 -59
- package/esm2022/lib/components/alert/index.mjs +0 -3
- package/esm2022/lib/components/badge/badge-stack.component.mjs +0 -107
- package/esm2022/lib/components/badge/badge.component.mjs +0 -241
- package/esm2022/lib/components/badge/index.mjs +0 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -62
- package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
- package/esm2022/lib/components/button/button.component.mjs +0 -738
- package/esm2022/lib/components/button/index.mjs +0 -2
- package/esm2022/lib/components/check-box/check-box.component.mjs +0 -109
- package/esm2022/lib/components/check-box/index.mjs +0 -2
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog-data.mjs +0 -2
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -66
- package/esm2022/lib/components/confirmation-dialog/index.mjs +0 -3
- package/esm2022/lib/components/flag/flag.component.mjs +0 -113
- package/esm2022/lib/components/flag/index.mjs +0 -2
- package/esm2022/lib/components/footer/footer.component.mjs +0 -29
- package/esm2022/lib/components/footer/index.mjs +0 -2
- package/esm2022/lib/components/header/header.component.mjs +0 -85
- package/esm2022/lib/components/header/index.mjs +0 -2
- package/esm2022/lib/components/icon/icon.component.mjs +0 -100
- package/esm2022/lib/components/icon/index.mjs +0 -2
- package/esm2022/lib/components/info-detail/index.mjs +0 -3
- package/esm2022/lib/components/info-detail/info-detail-dialog.component.mjs +0 -136
- package/esm2022/lib/components/info-detail/info-detail.component.mjs +0 -61
- package/esm2022/lib/components/input/index.mjs +0 -2
- package/esm2022/lib/components/input/input.component.mjs +0 -333
- package/esm2022/lib/components/input-currency/index.mjs +0 -2
- package/esm2022/lib/components/input-currency/input-currency.component.mjs +0 -134
- package/esm2022/lib/components/input-date/index.mjs +0 -2
- package/esm2022/lib/components/input-date/input-date.component.mjs +0 -349
- package/esm2022/lib/components/input-date-range/index.mjs +0 -2
- package/esm2022/lib/components/input-date-range/input-date-range.component.mjs +0 -165
- package/esm2022/lib/components/input-time/index.mjs +0 -2
- package/esm2022/lib/components/input-time/input-time.component.mjs +0 -184
- package/esm2022/lib/components/loading-overlay/index.mjs +0 -2
- package/esm2022/lib/components/loading-overlay/loading-overlay.component.mjs +0 -29
- package/esm2022/lib/components/nav/index.mjs +0 -2
- package/esm2022/lib/components/nav/nav.component.mjs +0 -363
- package/esm2022/lib/components/profile-menu/index.mjs +0 -2
- package/esm2022/lib/components/profile-menu/profile-menu.component.mjs +0 -79
- package/esm2022/lib/components/progress-bar/index.mjs +0 -2
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -59
- package/esm2022/lib/components/progress-bar-multiple/index.mjs +0 -2
- package/esm2022/lib/components/progress-bar-multiple/progress-bar-multiple.component.mjs +0 -69
- package/esm2022/lib/components/quantity-items/index.mjs +0 -2
- package/esm2022/lib/components/quantity-items/quantity-items.component.mjs +0 -143
- package/esm2022/lib/components/radio-group-entity/index.mjs +0 -2
- package/esm2022/lib/components/radio-group-entity/radio-group-entity.component.mjs +0 -97
- package/esm2022/lib/components/radio-group-enum/index.mjs +0 -2
- package/esm2022/lib/components/radio-group-enum/radio-group-enum.component.mjs +0 -107
- package/esm2022/lib/components/select-entity/index.mjs +0 -2
- package/esm2022/lib/components/select-entity/select-entity.component.mjs +0 -250
- package/esm2022/lib/components/select-enum/index.mjs +0 -2
- package/esm2022/lib/components/select-enum/select-enum.component.mjs +0 -153
- package/esm2022/lib/components/slide-toggle/index.mjs +0 -2
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -105
- package/esm2022/lib/components/table/index.mjs +0 -2
- package/esm2022/lib/components/table/table.component.mjs +0 -788
- package/esm2022/lib/components/textarea/index.mjs +0 -2
- package/esm2022/lib/components/textarea/textarea.component.mjs +0 -156
- package/esm2022/lib/components/title/index.mjs +0 -2
- package/esm2022/lib/components/title/title.component.mjs +0 -27
- package/esm2022/lib/directives/click-catcher.directive.mjs +0 -20
- package/esm2022/lib/directives/date-mask.directive.mjs +0 -58
- package/esm2022/lib/directives/dynamic-tab.directive.mjs +0 -18
- package/esm2022/lib/directives/for.directive.mjs +0 -35
- package/esm2022/lib/directives/index.mjs +0 -12
- package/esm2022/lib/directives/lower-case.directive.mjs +0 -48
- package/esm2022/lib/directives/phone-mask-brazil.directive.mjs +0 -64
- package/esm2022/lib/directives/phone-mask-spain.directive.mjs +0 -66
- package/esm2022/lib/directives/red.directive.mjs +0 -21
- package/esm2022/lib/directives/space-drop.directive.mjs +0 -48
- package/esm2022/lib/directives/table-cell.directive.mjs +0 -22
- package/esm2022/lib/directives/upper-case.directive.mjs +0 -48
- package/esm2022/lib/layout/ptech-col.directive.mjs +0 -162
- package/esm2022/lib/layout/ptech-grid.directive.mjs +0 -125
- package/esm2022/lib/mock/fake-data.service.mjs +0 -69
- package/esm2022/lib/mock/index.mjs +0 -2
- package/esm2022/lib/modules/core.material.module.mjs +0 -166
- package/esm2022/lib/modules/directives.module.mjs +0 -79
- package/esm2022/lib/modules/pipes.module.mjs +0 -64
- package/esm2022/lib/modules/pumpkin-tech.module.mjs +0 -240
- package/esm2022/lib/modules/shared/portuguese.matpaginatorintl.mjs +0 -28
- package/esm2022/lib/pipes/currency-brl.pipe.mjs +0 -27
- package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -59
- package/esm2022/lib/pipes/get-first-string-before-space.pipe.mjs +0 -21
- package/esm2022/lib/pipes/index.mjs +0 -12
- package/esm2022/lib/pipes/is-longer-than.pipe.mjs +0 -55
- package/esm2022/lib/pipes/line-break-after-period.pipe.mjs +0 -20
- package/esm2022/lib/pipes/line-break-after.pipe.mjs +0 -29
- package/esm2022/lib/pipes/memory-format.pipe.mjs +0 -35
- package/esm2022/lib/pipes/phone-brazil.pipe.mjs +0 -43
- package/esm2022/lib/pipes/phone-spain.pipe.mjs +0 -37
- package/esm2022/lib/pipes/time.durantion.pipe.mjs +0 -34
- package/esm2022/lib/pipes/uptime-format.pipe.mjs +0 -36
- package/esm2022/lib/services/breadcrumb.service.mjs +0 -51
- package/esm2022/lib/services/breadcrumb.tokens.mjs +0 -10
- package/esm2022/lib/services/currency-preference.service.mjs +0 -98
- package/esm2022/lib/services/dialog.service.mjs +0 -89
- package/esm2022/lib/services/index.mjs +0 -10
- package/esm2022/lib/services/loading.service.mjs +0 -27
- package/esm2022/lib/services/message-token.mjs +0 -16
- package/esm2022/lib/services/module.change.service.mjs +0 -19
- package/esm2022/lib/services/nav.service.mjs +0 -31
- package/esm2022/lib/services/snackbar-message.service.mjs +0 -59
- package/esm2022/lib/utils/array.util.mjs +0 -19
- package/esm2022/lib/utils/currency.util.mjs +0 -18
- package/esm2022/lib/utils/date.util.mjs +0 -80
- package/esm2022/lib/utils/document.util.mjs +0 -92
- package/esm2022/lib/utils/index.mjs +0 -9
- package/esm2022/lib/utils/number.util.mjs +0 -19
- package/esm2022/lib/utils/object.util.mjs +0 -28
- package/esm2022/lib/utils/string.util.mjs +0 -87
- package/esm2022/lib/utils/uuid.util.mjs +0 -18
- package/esm2022/public-api.mjs +0 -53
- package/esm2022/pumpkin-tech-pumpkin-tech-ng.mjs +0 -5
- package/lib/base/base-field.d.ts +0 -44
- package/lib/components/action-dialog/action-dialog-config.d.ts +0 -15
- package/lib/components/action-dialog/action-dialog.component.d.ts +0 -17
- package/lib/components/action-dialog/index.d.ts +0 -2
- package/lib/components/action-result-dialog/action-result-dialog-data.d.ts +0 -6
- package/lib/components/action-result-dialog/action-result-dialog.component.d.ts +0 -21
- package/lib/components/action-result-dialog/index.d.ts +0 -2
- package/lib/components/action-row/action-row.component.d.ts +0 -5
- package/lib/components/action-row/index.d.ts +0 -1
- package/lib/components/alert/alert-data.d.ts +0 -9
- package/lib/components/alert/alert.component.d.ts +0 -13
- package/lib/components/alert/index.d.ts +0 -2
- package/lib/components/badge/badge-stack.component.d.ts +0 -36
- package/lib/components/badge/badge.component.d.ts +0 -61
- package/lib/components/badge/index.d.ts +0 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -11
- package/lib/components/breadcrumb/index.d.ts +0 -1
- package/lib/components/button/button.component.d.ts +0 -52
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/check-box/check-box.component.d.ts +0 -35
- package/lib/components/check-box/index.d.ts +0 -1
- package/lib/components/confirmation-dialog/confirmation-dialog-data.d.ts +0 -7
- package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +0 -12
- package/lib/components/confirmation-dialog/index.d.ts +0 -2
- package/lib/components/flag/flag.component.d.ts +0 -35
- package/lib/components/flag/index.d.ts +0 -1
- package/lib/components/footer/footer.component.d.ts +0 -6
- package/lib/components/footer/index.d.ts +0 -1
- package/lib/components/header/header.component.d.ts +0 -14
- package/lib/components/header/index.d.ts +0 -1
- package/lib/components/icon/icon.component.d.ts +0 -27
- package/lib/components/icon/index.d.ts +0 -1
- package/lib/components/info-detail/index.d.ts +0 -2
- package/lib/components/info-detail/info-detail-dialog.component.d.ts +0 -22
- package/lib/components/info-detail/info-detail.component.d.ts +0 -13
- package/lib/components/input/index.d.ts +0 -1
- package/lib/components/input/input.component.d.ts +0 -42
- package/lib/components/input-currency/index.d.ts +0 -1
- package/lib/components/input-currency/input-currency.component.d.ts +0 -24
- package/lib/components/input-date/index.d.ts +0 -1
- package/lib/components/input-date/input-date.component.d.ts +0 -55
- package/lib/components/input-date-range/index.d.ts +0 -1
- package/lib/components/input-date-range/input-date-range.component.d.ts +0 -35
- package/lib/components/input-time/index.d.ts +0 -1
- package/lib/components/input-time/input-time.component.d.ts +0 -31
- package/lib/components/loading-overlay/index.d.ts +0 -1
- package/lib/components/loading-overlay/loading-overlay.component.d.ts +0 -10
- package/lib/components/nav/index.d.ts +0 -1
- package/lib/components/nav/nav.component.d.ts +0 -69
- package/lib/components/profile-menu/index.d.ts +0 -1
- package/lib/components/profile-menu/profile-menu.component.d.ts +0 -14
- package/lib/components/progress-bar/index.d.ts +0 -1
- package/lib/components/progress-bar/progress-bar.component.d.ts +0 -12
- package/lib/components/progress-bar-multiple/index.d.ts +0 -1
- package/lib/components/progress-bar-multiple/progress-bar-multiple.component.d.ts +0 -19
- package/lib/components/quantity-items/index.d.ts +0 -1
- package/lib/components/quantity-items/quantity-items.component.d.ts +0 -27
- package/lib/components/radio-group-entity/index.d.ts +0 -1
- package/lib/components/radio-group-entity/radio-group-entity.component.d.ts +0 -21
- package/lib/components/radio-group-enum/index.d.ts +0 -1
- package/lib/components/radio-group-enum/radio-group-enum.component.d.ts +0 -33
- package/lib/components/select-entity/index.d.ts +0 -1
- package/lib/components/select-entity/select-entity.component.d.ts +0 -44
- package/lib/components/select-enum/index.d.ts +0 -1
- package/lib/components/select-enum/select-enum.component.d.ts +0 -29
- package/lib/components/slide-toggle/index.d.ts +0 -1
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -35
- package/lib/components/table/index.d.ts +0 -1
- package/lib/components/table/table.component.d.ts +0 -109
- package/lib/components/textarea/index.d.ts +0 -1
- package/lib/components/textarea/textarea.component.d.ts +0 -29
- package/lib/components/title/index.d.ts +0 -1
- package/lib/components/title/title.component.d.ts +0 -11
- package/lib/directives/click-catcher.directive.d.ts +0 -6
- package/lib/directives/date-mask.directive.d.ts +0 -8
- package/lib/directives/dynamic-tab.directive.d.ts +0 -8
- package/lib/directives/for.directive.d.ts +0 -12
- package/lib/directives/index.d.ts +0 -11
- package/lib/directives/lower-case.directive.d.ts +0 -12
- package/lib/directives/phone-mask-brazil.directive.d.ts +0 -11
- package/lib/directives/phone-mask-spain.directive.d.ts +0 -11
- package/lib/directives/red.directive.d.ts +0 -9
- package/lib/directives/space-drop.directive.d.ts +0 -12
- package/lib/directives/table-cell.directive.d.ts +0 -9
- package/lib/directives/upper-case.directive.d.ts +0 -12
- package/lib/layout/ptech-col.directive.d.ts +0 -34
- package/lib/layout/ptech-grid.directive.d.ts +0 -32
- package/lib/mock/fake-data.service.d.ts +0 -34
- package/lib/mock/index.d.ts +0 -1
- package/lib/modules/core.material.module.d.ts +0 -43
- package/lib/modules/directives.module.d.ts +0 -19
- package/lib/modules/pipes.module.d.ts +0 -18
- package/lib/modules/pumpkin-tech.module.d.ts +0 -41
- package/lib/modules/shared/portuguese.matpaginatorintl.d.ts +0 -12
- package/lib/pipes/currency-brl.pipe.d.ts +0 -8
- package/lib/pipes/date-ago.pipe.d.ts +0 -8
- package/lib/pipes/get-first-string-before-space.pipe.d.ts +0 -7
- package/lib/pipes/index.d.ts +0 -11
- package/lib/pipes/is-longer-than.pipe.d.ts +0 -9
- package/lib/pipes/line-break-after-period.pipe.d.ts +0 -7
- package/lib/pipes/line-break-after.pipe.d.ts +0 -7
- package/lib/pipes/memory-format.pipe.d.ts +0 -7
- package/lib/pipes/phone-brazil.pipe.d.ts +0 -7
- package/lib/pipes/phone-spain.pipe.d.ts +0 -7
- package/lib/pipes/time.durantion.pipe.d.ts +0 -7
- package/lib/pipes/uptime-format.pipe.d.ts +0 -7
- package/lib/services/breadcrumb.service.d.ts +0 -14
- package/lib/services/breadcrumb.tokens.d.ts +0 -9
- package/lib/services/currency-preference.service.d.ts +0 -24
- package/lib/services/dialog.service.d.ts +0 -41
- package/lib/services/index.d.ts +0 -9
- package/lib/services/loading.service.d.ts +0 -9
- package/lib/services/message-token.d.ts +0 -9
- package/lib/services/module.change.service.d.ts +0 -8
- package/lib/services/nav.service.d.ts +0 -11
- package/lib/services/snackbar-message.service.d.ts +0 -13
- package/lib/utils/array.util.d.ts +0 -9
- package/lib/utils/currency.util.d.ts +0 -8
- package/lib/utils/date.util.d.ts +0 -18
- package/lib/utils/document.util.d.ts +0 -4
- package/lib/utils/index.d.ts +0 -8
- package/lib/utils/number.util.d.ts +0 -5
- package/lib/utils/object.util.d.ts +0 -9
- package/lib/utils/string.util.d.ts +0 -27
- package/lib/utils/uuid.util.d.ts +0 -5
- package/public-api.d.ts +0 -47
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface BreadcrumbRoute {
|
|
3
|
-
description: string;
|
|
4
|
-
route?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class BreadcrumbComponent {
|
|
7
|
-
routes: BreadcrumbRoute[];
|
|
8
|
-
isLast(route: BreadcrumbRoute): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ptech-breadcrumb", never, { "routes": { "alias": "routes"; "required": false; }; }, {}, never, ["[start-icon]"], true, never>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './breadcrumb.component';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ThemePalette } from '@angular/material/core';
|
|
3
|
-
import { BaseField } from '../../base/base-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
type ButtonVariant = 'basic' | 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab' | 'extended' | 'link';
|
|
6
|
-
type BtnSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
7
|
-
export declare class ButtonComponent extends BaseField {
|
|
8
|
-
/** Variante do botão */
|
|
9
|
-
type: ButtonVariant;
|
|
10
|
-
/** Tamanho: sm | md | lg */
|
|
11
|
-
size: BtnSize;
|
|
12
|
-
/** Tooltip */
|
|
13
|
-
tooltip: string;
|
|
14
|
-
/** Ícone do Material (nome) */
|
|
15
|
-
icon: string;
|
|
16
|
-
/** Cor do ícone (hex/rgb/etc.) */
|
|
17
|
-
iconColor: string;
|
|
18
|
-
/** Tamanho do ícone: se quiser forçar um valor específico */
|
|
19
|
-
iconWidth: string;
|
|
20
|
-
iconHeight: string;
|
|
21
|
-
/** Cor do texto (aplica quando usamos bg custom) */
|
|
22
|
-
textColor: string;
|
|
23
|
-
/** Navegação para variant 'link' */
|
|
24
|
-
link: string;
|
|
25
|
-
target: string;
|
|
26
|
-
/** Estética */
|
|
27
|
-
shape: 'default' | 'pill';
|
|
28
|
-
/** Cor do botão: ThemePalette (primary/accent/warn) ou cor CSS */
|
|
29
|
-
color: ThemePalette | string;
|
|
30
|
-
buttonClick: EventEmitter<MouseEvent>;
|
|
31
|
-
onLinkClick(event: MouseEvent): void;
|
|
32
|
-
private sizes;
|
|
33
|
-
get sizeCfg(): {
|
|
34
|
-
h: number;
|
|
35
|
-
pad: string;
|
|
36
|
-
icon: number;
|
|
37
|
-
font: number;
|
|
38
|
-
iconIconOnly: number;
|
|
39
|
-
iconFab: number;
|
|
40
|
-
iconMiniFab: number;
|
|
41
|
-
};
|
|
42
|
-
get isThemeColor(): boolean;
|
|
43
|
-
get themeColor(): ThemePalette | undefined;
|
|
44
|
-
get customBackground(): string | null;
|
|
45
|
-
/** Se quiser forçar tamanho de ícone custom, ele sobrepõe o token */
|
|
46
|
-
get iconStyle(): Record<string, string | null>;
|
|
47
|
-
get spinnerDiameter(): number;
|
|
48
|
-
onInnerClick(event: MouseEvent): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ptech-button", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconWidth": { "alias": "iconWidth"; "required": false; }; "iconHeight": { "alias": "iconHeight"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "link": { "alias": "link"; "required": false; }; "target": { "alias": "target"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
|
|
51
|
-
}
|
|
52
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './button.component';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { BaseField } from '../../base/base-field';
|
|
4
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CheckBoxComponent extends BaseField implements ControlValueAccessor {
|
|
7
|
-
constructor(el: ElementRef<HTMLElement>);
|
|
8
|
-
/** Cor do checkbox: 'primary' | 'accent' | 'warn' (ou custom) */
|
|
9
|
-
color: string;
|
|
10
|
-
/** Estado indeterminado com coerção booleana */
|
|
11
|
-
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
12
|
-
private _indeterminate;
|
|
13
|
-
get indeterminate(): boolean;
|
|
14
|
-
set indeterminate(v: any);
|
|
15
|
-
/** Eventos públicos */
|
|
16
|
-
change: EventEmitter<boolean>;
|
|
17
|
-
indeterminateChange: EventEmitter<boolean>;
|
|
18
|
-
/** Modelo interno (CVA) */
|
|
19
|
-
_value: boolean;
|
|
20
|
-
/** Atualização programática não emite eventos */
|
|
21
|
-
set value(v: any);
|
|
22
|
-
get value(): boolean;
|
|
23
|
-
private onChangeFn;
|
|
24
|
-
private onTouchFn;
|
|
25
|
-
writeValue(v: any): void;
|
|
26
|
-
registerOnChange(fn: any): void;
|
|
27
|
-
registerOnTouched(fn: any): void;
|
|
28
|
-
setDisabledState(isDisabled: boolean): void;
|
|
29
|
-
/** Apenas interação do usuário dispara CVA + outputs */
|
|
30
|
-
onCheckboxChange(checked: boolean): void;
|
|
31
|
-
/** Coerção robusta para boolean */
|
|
32
|
-
private toBool;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "ptech-check-box", never, { "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './check-box.component';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { ConfirmationDTO } from './confirmation-dialog-data';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ConfirmationDialogComponent {
|
|
5
|
-
dialogRef: MatDialogRef<ConfirmationDialogComponent>;
|
|
6
|
-
confirmation: ConfirmationDTO;
|
|
7
|
-
constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, confirmation: ConfirmationDTO);
|
|
8
|
-
confirm(): void;
|
|
9
|
-
cancel(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "ptech-confirmation-dialog", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FlagComponent {
|
|
5
|
-
/** ISO 3166-1 alpha-2 (ex.: 'BR', 'ES', 'US'). */
|
|
6
|
-
code: string | null | undefined;
|
|
7
|
-
/** Tamanho em px (controla a altura; largura acompanha 4:3). */
|
|
8
|
-
size: number;
|
|
9
|
-
/** Usa ícone quadrado do flag-icons. */
|
|
10
|
-
static ngAcceptInputType_squared: BooleanInput;
|
|
11
|
-
private _squared;
|
|
12
|
-
get squared(): boolean;
|
|
13
|
-
set squared(v: any);
|
|
14
|
-
/** Tooltip (fallback para o próprio code). */
|
|
15
|
-
tooltip?: string;
|
|
16
|
-
/** Texto opcional ao lado da bandeira. */
|
|
17
|
-
label?: string;
|
|
18
|
-
/** A11y: rótulo para leitores de tela (ex.: "Bandeira do Brasil"). */
|
|
19
|
-
ariaLabel?: string;
|
|
20
|
-
/** Emite click opcionalmente e muda o cursor/teclado. */
|
|
21
|
-
static ngAcceptInputType_clickable: BooleanInput;
|
|
22
|
-
private _clickable;
|
|
23
|
-
get clickable(): boolean;
|
|
24
|
-
set clickable(v: any);
|
|
25
|
-
flagClick: EventEmitter<string>;
|
|
26
|
-
private _col;
|
|
27
|
-
set col(v: number | string | null | undefined);
|
|
28
|
-
get gridColumn(): string | null;
|
|
29
|
-
/** Classe CSS final do flag-icons (normaliza UK->GB). */
|
|
30
|
-
get classCode(): string;
|
|
31
|
-
handleClick(): void;
|
|
32
|
-
onKey(ev: KeyboardEvent): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FlagComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FlagComponent, "ptech-flag", never, { "code": { "alias": "code"; "required": false; }; "size": { "alias": "size"; "required": false; }; "squared": { "alias": "squared"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, { "flagClick": "flagClick"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './flag.component';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FooterComponent {
|
|
3
|
-
version: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ptech-footer", never, { "version": { "alias": "version"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './footer.component';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface HeaderData {
|
|
4
|
-
title: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
routeUrl?: string;
|
|
7
|
-
imageHeader?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class HeaderComponent {
|
|
10
|
-
data: HeaderData;
|
|
11
|
-
toggleNav: EventEmitter<void>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "ptech-header", never, { "data": { "alias": "data"; "required": false; }; }, { "toggleNav": "toggleNav"; }, never, ["[user-profile]"], true, never>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './header.component';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type ThemeColor = 'primary' | 'accent' | 'warn';
|
|
4
|
-
export declare class IconComponent {
|
|
5
|
-
/** Nome do ícone (ex.: 'home', 'search'…) */
|
|
6
|
-
icon: string;
|
|
7
|
-
/** Pode ser 'primary' | 'accent' | 'warn' ou qualquer cor CSS (#hex, rgb, etc.) */
|
|
8
|
-
color: string;
|
|
9
|
-
/** Tamanho: número (px) ou string CSS (ex.: '1.5rem') */
|
|
10
|
-
size: number | string;
|
|
11
|
-
/** A11y */
|
|
12
|
-
static ngAcceptInputType_ariaHidden: BooleanInput;
|
|
13
|
-
private _ariaHidden;
|
|
14
|
-
get ariaHidden(): boolean;
|
|
15
|
-
set ariaHidden(v: any);
|
|
16
|
-
ariaLabel?: string;
|
|
17
|
-
/** Grid opcional: span de colunas quando usado dentro de CSS Grid */
|
|
18
|
-
private _col;
|
|
19
|
-
set col(v: number | string | null | undefined);
|
|
20
|
-
get gridColumn(): string | null;
|
|
21
|
-
get sizePx(): string;
|
|
22
|
-
isThemeColor(c: string | null | undefined, theme: ThemeColor): boolean;
|
|
23
|
-
get customColor(): string | null;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ptech-icon", never, { "icon": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './icon.component';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { IMessageService } from '../../services/message-token';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class InfoDetailDialogComponent {
|
|
5
|
-
data: {
|
|
6
|
-
title: string;
|
|
7
|
-
content: string;
|
|
8
|
-
rawContent?: string;
|
|
9
|
-
};
|
|
10
|
-
private dialogRef;
|
|
11
|
-
whatsappUrl: string;
|
|
12
|
-
private readonly msgService;
|
|
13
|
-
constructor(data: {
|
|
14
|
-
title: string;
|
|
15
|
-
content: string;
|
|
16
|
-
rawContent?: string;
|
|
17
|
-
}, dialogRef: MatDialogRef<InfoDetailDialogComponent>, messageService: IMessageService | null);
|
|
18
|
-
copyToClipboard(): void;
|
|
19
|
-
close(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InfoDetailDialogComponent, [null, null, { optional: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InfoDetailDialogComponent, "ptech-info-detail-dialog", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class InfoDetailComponent {
|
|
4
|
-
private dialog;
|
|
5
|
-
infoTitle: string;
|
|
6
|
-
infoContent: string;
|
|
7
|
-
infoRawContent: string;
|
|
8
|
-
iconColor: string;
|
|
9
|
-
constructor(dialog: MatDialog);
|
|
10
|
-
openInfo(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InfoDetailComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InfoDetailComponent, "ptech-info-detail", never, { "infoTitle": { "alias": "infoTitle"; "required": false; }; "infoContent": { "alias": "infoContent"; "required": false; }; "infoRawContent": { "alias": "infoRawContent"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input.component';
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { BaseField } from '../../base/base-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InputComponent extends BaseField implements ControlValueAccessor {
|
|
6
|
-
constructor(el: ElementRef<HTMLElement>);
|
|
7
|
-
_elementRef?: ElementRef<HTMLInputElement>;
|
|
8
|
-
suffixRef?: TemplateRef<any>;
|
|
9
|
-
buttonClick: EventEmitter<void>;
|
|
10
|
-
maxlength: string | number;
|
|
11
|
-
min: any;
|
|
12
|
-
max: any;
|
|
13
|
-
type: string;
|
|
14
|
-
/** Ícone */
|
|
15
|
-
icon: string;
|
|
16
|
-
iconColor: string;
|
|
17
|
-
iconWidth: string;
|
|
18
|
-
iconHeight: string;
|
|
19
|
-
iconSize: string;
|
|
20
|
-
iconPosition: 'left' | 'right';
|
|
21
|
-
forceFixedIcon: boolean;
|
|
22
|
-
/** Tooltip */
|
|
23
|
-
tooltip: string;
|
|
24
|
-
/** Extras */
|
|
25
|
-
autocomplete: string;
|
|
26
|
-
inputmode?: string;
|
|
27
|
-
pattern?: string;
|
|
28
|
-
private _val;
|
|
29
|
-
get value(): any;
|
|
30
|
-
set value(val: any);
|
|
31
|
-
onChange: any;
|
|
32
|
-
onTouch: any;
|
|
33
|
-
writeValue(value: any): void;
|
|
34
|
-
registerOnChange(fn: any): void;
|
|
35
|
-
registerOnTouched(fn: any): void;
|
|
36
|
-
setDisabledState(isDisabled: boolean): void;
|
|
37
|
-
onButtonClick(): void;
|
|
38
|
-
isThemeColor(c: string | null | undefined, theme: 'primary' | 'accent' | 'warn'): boolean;
|
|
39
|
-
get customIconColor(): string | null;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ptech-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconWidth": { "alias": "iconWidth"; "required": false; }; "iconHeight": { "alias": "iconHeight"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "forceFixedIcon": { "alias": "forceFixedIcon"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, { "buttonClick": "buttonClick"; }, ["suffixRef"], ["[matPrefix]", "[matSuffix]", "mat-hint, [mat-hint]", "mat-error, [mat-error]"], true, never>;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-currency.component';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { BaseField } from '../../base/base-field';
|
|
4
|
-
import { NgxCurrencyConfig } from 'ngx-currency';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class InputCurrencyComponent extends BaseField implements ControlValueAccessor {
|
|
7
|
-
constructor(el: ElementRef<HTMLElement>);
|
|
8
|
-
/** Config por input (parcial) */
|
|
9
|
-
options: Partial<NgxCurrencyConfig>;
|
|
10
|
-
valueChange: EventEmitter<any>;
|
|
11
|
-
private defaultOptions;
|
|
12
|
-
get resolvedOptions(): NgxCurrencyConfig;
|
|
13
|
-
private _val;
|
|
14
|
-
onChange: (val: any) => void;
|
|
15
|
-
onTouch: () => void;
|
|
16
|
-
get value(): any;
|
|
17
|
-
set value(v: any);
|
|
18
|
-
writeValue(value: any): void;
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
setDisabledState(isDisabled: boolean): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputCurrencyComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent, "ptech-input-currency", never, { "options": { "alias": "options"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["mat-hint, [mat-hint], mat-error, [mat-error]"], true, never>;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-date.component';
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { FormControl } from '@angular/forms';
|
|
4
|
-
import { MatDatepicker } from '@angular/material/datepicker';
|
|
5
|
-
import { BaseField } from '../../base/base-field';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
type EmitMode = 'date' | 'isoDate' | 'isoDateTimeZ' | 'isoDateTimeTZ' | 'localOffset';
|
|
8
|
-
export declare class InputDateComponent extends BaseField implements ControlValueAccessor, OnChanges {
|
|
9
|
-
private cdr;
|
|
10
|
-
inputDateElement: ElementRef<HTMLInputElement>;
|
|
11
|
-
picker: MatDatepicker<Date>;
|
|
12
|
-
dateCtrl: FormControl<Date | null>;
|
|
13
|
-
dateChange: EventEmitter<string | Date | null>;
|
|
14
|
-
opened: EventEmitter<void>;
|
|
15
|
-
closed: EventEmitter<void>;
|
|
16
|
-
min?: Date;
|
|
17
|
-
max?: Date;
|
|
18
|
-
startAt?: Date | null;
|
|
19
|
-
startView: 'month' | 'year' | 'multi-year';
|
|
20
|
-
touchUi: boolean;
|
|
21
|
-
panelClass?: string | string[];
|
|
22
|
-
dateFilter?: (d: Date | null) => boolean;
|
|
23
|
-
withTime: boolean;
|
|
24
|
-
seconds: boolean;
|
|
25
|
-
timeLabel: string;
|
|
26
|
-
defaultTime: string;
|
|
27
|
-
timeZone?: string | number;
|
|
28
|
-
emit: EmitMode;
|
|
29
|
-
timeString: string;
|
|
30
|
-
onChange: (val: any) => void;
|
|
31
|
-
onTouched: () => void;
|
|
32
|
-
get isDisabled(): boolean;
|
|
33
|
-
constructor(el: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
34
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
35
|
-
writeValue(value: string | Date | null): void;
|
|
36
|
-
registerOnChange(fn: any): void;
|
|
37
|
-
registerOnTouched(fn: any): void;
|
|
38
|
-
setDisabledState(isDisabled: boolean): void;
|
|
39
|
-
onTimeInput(v: string): void;
|
|
40
|
-
private emitCombined;
|
|
41
|
-
private combine;
|
|
42
|
-
private normalizeTime;
|
|
43
|
-
private clamp;
|
|
44
|
-
private parseToDate;
|
|
45
|
-
private toOutput;
|
|
46
|
-
private pad;
|
|
47
|
-
private formatIsoDate;
|
|
48
|
-
private formatWithFixedOffset;
|
|
49
|
-
private formatInTimeZone;
|
|
50
|
-
private offsetStringToMinutes;
|
|
51
|
-
private getTzOffsetMinutes;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateComponent, "ptech-input-date", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "timeLabel": { "alias": "timeLabel"; "required": false; }; "defaultTime": { "alias": "defaultTime"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "emit": { "alias": "emit"; "required": false; }; }, { "dateChange": "dateChange"; "opened": "opened"; "closed": "closed"; }, never, ["mat-hint, [mat-hint], mat-error, [mat-error]"], true, never>;
|
|
54
|
-
}
|
|
55
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-date-range.component';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
4
|
-
import { BaseField } from '../../base/base-field';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class InputDateRangeComponent extends BaseField implements ControlValueAccessor {
|
|
7
|
-
dateChange: EventEmitter<{
|
|
8
|
-
start: string | null;
|
|
9
|
-
end: string | null;
|
|
10
|
-
}>;
|
|
11
|
-
/** Placeholders específicos; caem no placeholder do BaseField se não definidos */
|
|
12
|
-
firstPlaceholder: string;
|
|
13
|
-
secondPlaceholder: string;
|
|
14
|
-
hint: string;
|
|
15
|
-
/** Valor interno como string com offset ou null */
|
|
16
|
-
start: string | null;
|
|
17
|
-
end: string | null;
|
|
18
|
-
private onChange;
|
|
19
|
-
private onTouch;
|
|
20
|
-
writeValue(obj: {
|
|
21
|
-
start: string | null;
|
|
22
|
-
end: string | null;
|
|
23
|
-
} | null): void;
|
|
24
|
-
registerOnChange(fn: any): void;
|
|
25
|
-
registerOnTouched(fn: any): void;
|
|
26
|
-
setDisabledState(isDisabled: boolean): void;
|
|
27
|
-
onStartDateChange(event: MatDatepickerInputEvent<Date>): void;
|
|
28
|
-
onEndDateChange(event: MatDatepickerInputEvent<Date>): void;
|
|
29
|
-
private emitDateChange;
|
|
30
|
-
/** Converte Date -> 'YYYY-MM-DDTHH:mm:ss±HH:MM' com offset local; retorna null quando sem data */
|
|
31
|
-
private toIsoWithLocalOffset;
|
|
32
|
-
private pad;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateRangeComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateRangeComponent, "ptech-input-date-range", never, {}, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-time.component';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { BaseField } from '../../base/base-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InputTimeComponent extends BaseField implements ControlValueAccessor {
|
|
6
|
-
/** 24 (padrão) ou 12 */
|
|
7
|
-
format: 12 | 24;
|
|
8
|
-
/** mostra/oculta seleção de segundos */
|
|
9
|
-
seconds: boolean;
|
|
10
|
-
/** evita focar/editar manualmente (só via picker) */
|
|
11
|
-
disableClick: boolean;
|
|
12
|
-
/** defaultTime dinâmico conforme seconds */
|
|
13
|
-
get defaultTime(): string;
|
|
14
|
-
/** two-way opcional via (valueChange) */
|
|
15
|
-
valueChange: EventEmitter<string>;
|
|
16
|
-
private _val;
|
|
17
|
-
onChange: (val: any) => void;
|
|
18
|
-
onTouch: () => void;
|
|
19
|
-
get value(): string | null;
|
|
20
|
-
set value(v: string | null);
|
|
21
|
-
writeValue(val: any): void;
|
|
22
|
-
registerOnChange(fn: any): void;
|
|
23
|
-
registerOnTouched(fn: any): void;
|
|
24
|
-
setDisabledState(isDisabled: boolean): void;
|
|
25
|
-
onTimeSet(raw: string): void;
|
|
26
|
-
private parseTime;
|
|
27
|
-
private pad;
|
|
28
|
-
private clamp;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTimeComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTimeComponent, "ptech-input-time", never, { "format": { "alias": "format"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "disableClick": { "alias": "disableClick"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["mat-hint, [mat-hint], mat-error, [mat-error]"], true, never>;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './loading-overlay.component';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { LoadingService } from '../../services/loading.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LoadingOverlayComponent {
|
|
5
|
-
private loadingService;
|
|
6
|
-
isLoading: Observable<boolean>;
|
|
7
|
-
constructor(loadingService: LoadingService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingOverlayComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingOverlayComponent, "ptech-loading-overlay", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './nav.component';
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ChangeDetectorRef, NgZone, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import { NavService } from '../../services/nav.service';
|
|
3
|
-
import { MatDrawerMode } from '@angular/material/sidenav';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface NavLink {
|
|
6
|
-
icon: string;
|
|
7
|
-
name: string;
|
|
8
|
-
path?: string;
|
|
9
|
-
children?: NavLink[];
|
|
10
|
-
}
|
|
11
|
-
export interface FooterItem {
|
|
12
|
-
icon: string;
|
|
13
|
-
text: string;
|
|
14
|
-
}
|
|
15
|
-
export declare class NavComponent {
|
|
16
|
-
navService: NavService;
|
|
17
|
-
private zone;
|
|
18
|
-
private cdr;
|
|
19
|
-
links: NavLink[];
|
|
20
|
-
currentModuleName: string;
|
|
21
|
-
fixedTopGap: number;
|
|
22
|
-
fixedBottomGap: number;
|
|
23
|
-
footerItems: FooterItem[];
|
|
24
|
-
mode: MatDrawerMode;
|
|
25
|
-
backdropClick: EventEmitter<void>;
|
|
26
|
-
headerClick: EventEmitter<void>;
|
|
27
|
-
navigate: EventEmitter<NavLink>;
|
|
28
|
-
logout: EventEmitter<void>;
|
|
29
|
-
/** Largura da sidenav (para o backdrop não cobrir a nav) */
|
|
30
|
-
sidenavWidth?: number;
|
|
31
|
-
private readonly defaultSidenavWidth;
|
|
32
|
-
/** Liga/desliga escurecimento do conteúdo ao abrir a nav (default: true). */
|
|
33
|
-
useDarkenBackdrop: boolean;
|
|
34
|
-
/** Opacidade do dimmer (0..1) */
|
|
35
|
-
backdropOpacity: number;
|
|
36
|
-
/** z-index do dimmer (deve ficar abaixo do header e acima do conteúdo). */
|
|
37
|
-
backdropZIndex: number;
|
|
38
|
-
/** Topo do dimmer em px; se omitido, usa fixedTopGap (para deixar header livre). */
|
|
39
|
-
backdropTop?: number;
|
|
40
|
-
coverFooter: boolean;
|
|
41
|
-
/** Classe opcional adicional para estilização do dimmer. */
|
|
42
|
-
backdropClass?: string;
|
|
43
|
-
snavRef?: ElementRef<HTMLElement>;
|
|
44
|
-
private backdropRight?;
|
|
45
|
-
private backdropBottom?;
|
|
46
|
-
private sub?;
|
|
47
|
-
private backdropEl?;
|
|
48
|
-
stack: NavLink[];
|
|
49
|
-
constructor(navService: NavService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
50
|
-
ngAfterViewInit(): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
53
|
-
onWinResize(): void;
|
|
54
|
-
private attachBackdrop;
|
|
55
|
-
private updateBackdropStyles;
|
|
56
|
-
private detachBackdrop;
|
|
57
|
-
private onBackdropClick;
|
|
58
|
-
private resolveTop;
|
|
59
|
-
private resolveLeft;
|
|
60
|
-
private get sidenavWidthPx();
|
|
61
|
-
get overlayTop(): string;
|
|
62
|
-
get overlayBottom(): string;
|
|
63
|
-
get currentLevel(): NavLink[];
|
|
64
|
-
get currentTitle(): string;
|
|
65
|
-
clickItem(item: NavLink, ev: MouseEvent): void;
|
|
66
|
-
onHeaderClick(): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "ptech-nav", never, { "links": { "alias": "links"; "required": false; }; "currentModuleName": { "alias": "currentModuleName"; "required": false; }; "fixedTopGap": { "alias": "fixedTopGap"; "required": false; }; "fixedBottomGap": { "alias": "fixedBottomGap"; "required": false; }; "footerItems": { "alias": "footerItems"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "sidenavWidth": { "alias": "sidenavWidth"; "required": false; }; "useDarkenBackdrop": { "alias": "useDarkenBackdrop"; "required": false; }; "backdropOpacity": { "alias": "backdropOpacity"; "required": false; }; "backdropZIndex": { "alias": "backdropZIndex"; "required": false; }; "backdropTop": { "alias": "backdropTop"; "required": false; }; "coverFooter": { "alias": "coverFooter"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; }, { "backdropClick": "backdropClick"; "headerClick": "headerClick"; "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
|
|
69
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './profile-menu.component';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface ProfileMenuItem {
|
|
3
|
-
label: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
action: () => void;
|
|
6
|
-
dividerBefore?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class ProfileMenuComponent {
|
|
9
|
-
displayName: string;
|
|
10
|
-
items: ProfileMenuItem[];
|
|
11
|
-
handle(item: ProfileMenuItem): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileMenuComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileMenuComponent, "ptech-profile-menu", never, { "displayName": { "alias": "displayName"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, ["[extra-items]"], true, never>;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './progress-bar.component';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ProgressBarComponent implements OnChanges {
|
|
4
|
-
progressStart: number;
|
|
5
|
-
progressEnd: number;
|
|
6
|
-
progressPercentage: number;
|
|
7
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
8
|
-
private calculateProgress;
|
|
9
|
-
get dynamicColorPrimary(): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ptech-progress-bar", never, { "progressStart": { "alias": "progressStart"; "required": false; }; "progressEnd": { "alias": "progressEnd"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './progress-bar-multiple.component';
|