@pumpkin-tech/pumpkin-tech-ng 0.1.8 → 0.2.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/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +1273 -644
- package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -1
- package/index.d.ts +1580 -3
- package/package.json +9 -11
- package/pumpkin-tech-pumpkin-tech-ng-0.2.0.tgz +0 -0
- 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 -70
- 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 -459
- 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 -96
- package/esm2022/lib/components/info-detail/info-detail.component.mjs +0 -43
- 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 -244
- 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 -700
- 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 -11
- 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/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 -74
- 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 -40
- 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 -47
- 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 -19
- 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 -42
- 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 -100
- 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 -10
- 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/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 -18
- 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 -10
- package/lib/utils/uuid.util.d.ts +0 -5
- package/public-api.d.ts +0 -47
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
import * as i11 from "../layout/ptech-grid.directive";
|
|
13
|
-
import * as i12 from "../layout/ptech-col.directive";
|
|
14
|
-
export declare class DirectivesModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
16
|
-
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 i11.PtechGridDirective, typeof i12.PtechColDirective], [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 i11.PtechGridDirective, typeof i12.PtechColDirective]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
import * as i11 from "../pipes/time.durantion.pipe";
|
|
13
|
-
import * as i12 from "../pipes/is-longer-than.pipe";
|
|
14
|
-
export declare class PipesModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
16
|
-
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 i11.TimeDurationPipe, typeof i12.IsLongerThanPipe], [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 i11.TimeDurationPipe, typeof i12.IsLongerThanPipe]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
18
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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/textarea/textarea.component";
|
|
6
|
-
import * as i5 from "../components/input-date/input-date.component";
|
|
7
|
-
import * as i6 from "../components/input-date-range/input-date-range.component";
|
|
8
|
-
import * as i7 from "../components/input-time/input-time.component";
|
|
9
|
-
import * as i8 from "../components/input-currency/input-currency.component";
|
|
10
|
-
import * as i9 from "../components/info-detail/info-detail.component";
|
|
11
|
-
import * as i10 from "../components/info-detail/info-detail-dialog.component";
|
|
12
|
-
import * as i11 from "../components/action-dialog/action-dialog.component";
|
|
13
|
-
import * as i12 from "../components/action-result-dialog/action-result-dialog.component";
|
|
14
|
-
import * as i13 from "../components/button/button.component";
|
|
15
|
-
import * as i14 from "../components/badge/badge.component";
|
|
16
|
-
import * as i15 from "../components/badge/badge-stack.component";
|
|
17
|
-
import * as i16 from "../components/breadcrumb/breadcrumb.component";
|
|
18
|
-
import * as i17 from "../components/title/title.component";
|
|
19
|
-
import * as i18 from "../components/action-row/action-row.component";
|
|
20
|
-
import * as i19 from "../components/header/header.component";
|
|
21
|
-
import * as i20 from "../components/nav/nav.component";
|
|
22
|
-
import * as i21 from "../components/footer/footer.component";
|
|
23
|
-
import * as i22 from "../components/icon/icon.component";
|
|
24
|
-
import * as i23 from "../components/select-entity/select-entity.component";
|
|
25
|
-
import * as i24 from "../components/select-enum/select-enum.component";
|
|
26
|
-
import * as i25 from "../components/radio-group-enum/radio-group-enum.component";
|
|
27
|
-
import * as i26 from "../components/radio-group-entity/radio-group-entity.component";
|
|
28
|
-
import * as i27 from "../components/slide-toggle/slide-toggle.component";
|
|
29
|
-
import * as i28 from "../components/quantity-items/quantity-items.component";
|
|
30
|
-
import * as i29 from "../components/loading-overlay/loading-overlay.component";
|
|
31
|
-
import * as i30 from "../components/profile-menu/profile-menu.component";
|
|
32
|
-
import * as i31 from "../components/check-box/check-box.component";
|
|
33
|
-
import * as i32 from "../components/progress-bar/progress-bar.component";
|
|
34
|
-
import * as i33 from "../components/progress-bar-multiple/progress-bar-multiple.component";
|
|
35
|
-
import * as i34 from "../components/flag/flag.component";
|
|
36
|
-
import * as i35 from "../components/table/table.component";
|
|
37
|
-
export declare class PumpkinTechModule {
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PumpkinTechModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PumpkinTechModule, never, [typeof i1.CommonModule, typeof i2.CoreMaterialModule, typeof i3.InputComponent, typeof i4.TextareaComponent, typeof i5.InputDateComponent, typeof i6.InputDateRangeComponent, typeof i7.InputTimeComponent, typeof i8.InputCurrencyComponent, typeof i9.InfoDetailComponent, typeof i10.InfoDetailDialogComponent, typeof i11.ActionDialogComponent, typeof i12.ActionResultDialogComponent, typeof i13.ButtonComponent, typeof i14.BadgeComponent, typeof i15.BadgeStackComponent, typeof i16.BreadcrumbComponent, typeof i17.TitleComponent, typeof i18.ActionRowComponent, typeof i19.HeaderComponent, typeof i20.NavComponent, typeof i21.FooterComponent, typeof i22.IconComponent, typeof i23.SelectEntityComponent, typeof i24.SelectEnumComponent, typeof i25.RadioGroupEnumComponent, typeof i26.RadioGroupEntityComponent, typeof i27.SlideToggleComponent, typeof i28.QuantityItemsComponent, typeof i29.LoadingOverlayComponent, typeof i30.ProfileMenuComponent, typeof i31.CheckBoxComponent, typeof i32.ProgressBarComponent, typeof i33.ProgressBarMultipleComponent, typeof i34.FlagComponent, typeof i35.TableComponent], [typeof i3.InputComponent, typeof i4.TextareaComponent, typeof i5.InputDateComponent, typeof i6.InputDateRangeComponent, typeof i7.InputTimeComponent, typeof i8.InputCurrencyComponent, typeof i9.InfoDetailComponent, typeof i10.InfoDetailDialogComponent, typeof i11.ActionDialogComponent, typeof i12.ActionResultDialogComponent, typeof i13.ButtonComponent, typeof i14.BadgeComponent, typeof i15.BadgeStackComponent, typeof i16.BreadcrumbComponent, typeof i17.TitleComponent, typeof i18.ActionRowComponent, typeof i19.HeaderComponent, typeof i20.NavComponent, typeof i21.FooterComponent, typeof i22.IconComponent, typeof i23.SelectEntityComponent, typeof i24.SelectEnumComponent, typeof i25.RadioGroupEnumComponent, typeof i26.RadioGroupEntityComponent, typeof i27.SlideToggleComponent, typeof i28.QuantityItemsComponent, typeof i29.LoadingOverlayComponent, typeof i30.ProfileMenuComponent, typeof i31.CheckBoxComponent, typeof i32.ProgressBarComponent, typeof i33.ProgressBarMultipleComponent, typeof i34.FlagComponent, typeof i35.TableComponent, typeof i2.CoreMaterialModule]>;
|
|
40
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PumpkinTechModule>;
|
|
41
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/lib/pipes/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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';
|
|
11
|
-
export * from './is-longer-than.pipe';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IsLongerThanPipe implements PipeTransform {
|
|
4
|
-
transform(input: Date | string | number | null | undefined, threshold: number | string, // horas (número) OU string: "00:30", "30m", "2h", "90s", "1:30:00"
|
|
5
|
-
now?: Date | null): boolean;
|
|
6
|
-
private parseThresholdToMs;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IsLongerThanPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IsLongerThanPipe, "isLongerThan", true>;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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, now?: Date | null): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeDurationPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeDurationPipe, "timeDuration", true>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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[]>>;
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material/dialog';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ConfirmationDTO } from '../components/confirmation-dialog';
|
|
4
|
-
import { InfoDetailDialogComponent } from '../components/info-detail/info-detail-dialog.component';
|
|
5
|
-
import { ActionDialogComponent } from '../components/action-dialog/action-dialog.component';
|
|
6
|
-
import { ActionResultDialogComponent } from '../components/action-result-dialog/action-result-dialog.component';
|
|
7
|
-
import { ActionDialogConfig } from '../components/action-dialog/action-dialog-config';
|
|
8
|
-
import { ActionResultData } from '../components/action-result-dialog/action-result-dialog-data';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export interface DialogModel<T = any, D = any> {
|
|
11
|
-
component: any;
|
|
12
|
-
data?: D;
|
|
13
|
-
width?: string;
|
|
14
|
-
height?: string;
|
|
15
|
-
position?: MatDialogConfig['position'];
|
|
16
|
-
panelClass?: string | string[];
|
|
17
|
-
disableClose?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare class DialogService {
|
|
20
|
-
private dialog;
|
|
21
|
-
constructor(dialog: MatDialog);
|
|
22
|
-
open<T = any, R = any>(model: DialogModel<T, any>): MatDialogRef<T, R>;
|
|
23
|
-
openInfo(arg: {
|
|
24
|
-
title: string;
|
|
25
|
-
content: string;
|
|
26
|
-
rawContent?: string;
|
|
27
|
-
}, width?: string): MatDialogRef<InfoDetailDialogComponent>;
|
|
28
|
-
openActionDialog(config: ActionDialogConfig, width?: string): MatDialogRef<ActionDialogComponent, any>;
|
|
29
|
-
openResultDialog(arg: ActionResultData, width?: string): MatDialogRef<ActionResultDialogComponent>;
|
|
30
|
-
confirm(confirmation: ConfirmationDTO, width?: string): Observable<boolean>;
|
|
31
|
-
/**
|
|
32
|
-
* Abre um ActionDialog e, se houver resultado, usa o builder para criar
|
|
33
|
-
* o ActionResultData e abre o resultado.
|
|
34
|
-
* Retorna um observable que emite quando o fluxo completo terminou.
|
|
35
|
-
*/
|
|
36
|
-
openActionThenResult(actionConfig: Omit<ActionDialogConfig, 'fields'> & {
|
|
37
|
-
fields?: any[];
|
|
38
|
-
}, resultConfigBuilder: (actionResult: any) => ActionResultData): Observable<void>;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
40
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
41
|
-
}
|
package/lib/services/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './message-token';
|
|
2
|
-
export * from './snackbar-message.service';
|
|
3
|
-
export * from './dialog.service';
|
|
4
|
-
export * from './loading.service';
|
|
5
|
-
export * from './module.change.service';
|
|
6
|
-
export * from './currency-preference.service';
|
|
7
|
-
export * from './nav.service';
|
|
8
|
-
export * from './breadcrumb.service';
|
|
9
|
-
export * from './breadcrumb.tokens';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LoadingService {
|
|
3
|
-
private _isLoading;
|
|
4
|
-
isLoading$: import("rxjs").Observable<boolean>;
|
|
5
|
-
showLoading(): void;
|
|
6
|
-
hideLoading(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export interface IMessageService {
|
|
3
|
-
successMessage(title: string, message: string, details?: string[], timestamp?: string, duration?: number): void;
|
|
4
|
-
errorMessage(title: string, message: string, details?: string[], timestamp?: string, duration?: number): void;
|
|
5
|
-
warnMessage(title: string, message: string, details?: string[], timestamp?: string, duration?: number): void;
|
|
6
|
-
}
|
|
7
|
-
export declare const MESSAGE_SERVICE: InjectionToken<IMessageService>;
|
|
8
|
-
export declare const DefaultConsoleMessageService: IMessageService;
|
|
9
|
-
export declare const DefaultMessageService: IMessageService;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ModuleChangeService {
|
|
3
|
-
private moduleChangedSource;
|
|
4
|
-
moduleChanged$: import("rxjs").Observable<string>;
|
|
5
|
-
notifyModuleChange(lastModule: string): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModuleChangeService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModuleChangeService>;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NavService {
|
|
3
|
-
private navVisible;
|
|
4
|
-
get navState$(): import("rxjs").Observable<boolean>;
|
|
5
|
-
get isNavOpen(): boolean;
|
|
6
|
-
toggleNav(): void;
|
|
7
|
-
open(): void;
|
|
8
|
-
close(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavService>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
|
-
import { IMessageService } from './message-token';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SnackbarMessageService implements IMessageService {
|
|
5
|
-
private snackBar;
|
|
6
|
-
constructor(snackBar: MatSnackBar);
|
|
7
|
-
private openSnackBar;
|
|
8
|
-
successMessage(title: string, message: string, details?: string[], timestamp?: string, duration?: number): void;
|
|
9
|
-
errorMessage(title: string, message: string, details?: string[], timestamp?: string, duration?: number): void;
|
|
10
|
-
warnMessage(title: string, message: string, details?: string[], timestamp?: string, duration?: number): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarMessageService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarMessageService>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ArrayUtil {
|
|
2
|
-
static isEmpty<T>(value: T[] | null | undefined): boolean;
|
|
3
|
-
static clone<T>(value: T[] | null | undefined): T[];
|
|
4
|
-
/**
|
|
5
|
-
* Usar como predicate em filter para distinct por comparação de id
|
|
6
|
-
* Ex: array.filter(ArrayUtil.distinctById)
|
|
7
|
-
*/
|
|
8
|
-
static distinctById: (obj: any, index: number, self: any[]) => boolean;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare class CurrencyUtil {
|
|
2
|
-
/**
|
|
3
|
-
* @param value número a formatar. Se nulo/indefinido retorna string vazia.
|
|
4
|
-
* @param currency código ISO (ex: 'BRL') ou símbolo informal passado como terceiro arg se precisar.
|
|
5
|
-
* @param digitsInfo formato, ex: '1.2-2'
|
|
6
|
-
*/
|
|
7
|
-
static transform(value: number | null | undefined, currency?: string, digitsInfo?: string): string;
|
|
8
|
-
}
|
package/lib/utils/date.util.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare class DateUtil {
|
|
2
|
-
static readonly DATE_FORMAT = "dd/MM/yyyy";
|
|
3
|
-
static readonly DATE_TIME_FORMAT = "dd/MM/yyyy HH:mm";
|
|
4
|
-
static readonly DATE_TIME_FORMAT_SLICED = "dd/MM/yy HH:mm";
|
|
5
|
-
static readonly DATE_TIME_FULL_FORMAT = "dd/MM/yyyy HH:mm:ss";
|
|
6
|
-
/**
|
|
7
|
-
* Aceita Date | string | undefined. Retorna string formatada ou vazio.
|
|
8
|
-
*/
|
|
9
|
-
static format(value: Date | string | undefined | null, format: string): string;
|
|
10
|
-
static getTotalDaysInMonth(month: number, year: number): number;
|
|
11
|
-
static addMonthsToDate(date: Date, monthsToAdd: number): Date;
|
|
12
|
-
static addDaysToDate(days: number, date: Date): Date;
|
|
13
|
-
static isValid(value: any): boolean;
|
|
14
|
-
static isGreaterThan(initial: Date | string, final: Date | string): boolean;
|
|
15
|
-
static isLessThan(initial: Date | string, final: Date | string): boolean;
|
|
16
|
-
static isBetween(date: Date | string, initial: Date | string, final: Date | string): boolean;
|
|
17
|
-
static getDayOfWeek(date: Date): string;
|
|
18
|
-
}
|
package/lib/utils/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ObjectUtil {
|
|
2
|
-
static isNull(value: any): boolean;
|
|
3
|
-
static isEmptyObject(obj: object): boolean;
|
|
4
|
-
/**
|
|
5
|
-
* Considera “novo” um modelo sem id ou com id não positivo.
|
|
6
|
-
*/
|
|
7
|
-
static isNewModel(value: any): boolean;
|
|
8
|
-
static clone<T extends object>(value: T | null | undefined): T | {};
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class StringUtil {
|
|
2
|
-
static readonly EMPTY = "";
|
|
3
|
-
static replaceAccents(value: string): string;
|
|
4
|
-
static removeAccents(value: string): string;
|
|
5
|
-
static isEmpty(value: string | null | undefined): boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Aplica máscara simples onde '9' é placeholder numérico.
|
|
8
|
-
*/
|
|
9
|
-
static format(value: string, mask: string): string;
|
|
10
|
-
}
|
package/lib/utils/uuid.util.d.ts
DELETED
package/public-api.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export * from './lib/layout/ptech-grid.directive';
|
|
2
|
-
export * from './lib/layout/ptech-col.directive';
|
|
3
|
-
export * from './lib/components/input';
|
|
4
|
-
export * from './lib/components/textarea';
|
|
5
|
-
export * from './lib/components/button';
|
|
6
|
-
export * from './lib/components/badge';
|
|
7
|
-
export * from './lib/components/button';
|
|
8
|
-
export * from './lib/components/icon';
|
|
9
|
-
export * from './lib/components/action-row';
|
|
10
|
-
export * from './lib/components/quantity-items';
|
|
11
|
-
export * from './lib/components/select-entity';
|
|
12
|
-
export * from './lib/components/breadcrumb';
|
|
13
|
-
export * from './lib/components/header';
|
|
14
|
-
export * from './lib/components/nav';
|
|
15
|
-
export * from './lib/components/footer';
|
|
16
|
-
export * from './lib/components/loading-overlay';
|
|
17
|
-
export * from './lib/components/progress-bar';
|
|
18
|
-
export * from './lib/components/progress-bar-multiple';
|
|
19
|
-
export * from './lib/components/radio-group-enum';
|
|
20
|
-
export * from './lib/components/radio-group-entity';
|
|
21
|
-
export * from './lib/components/select-enum';
|
|
22
|
-
export * from './lib/components/slide-toggle';
|
|
23
|
-
export * from './lib/components/title';
|
|
24
|
-
export * from './lib/components/confirmation-dialog';
|
|
25
|
-
export * from './lib/components/action-dialog';
|
|
26
|
-
export * from './lib/components/info-detail';
|
|
27
|
-
export * from './lib/components/info-detail/info-detail-dialog.component';
|
|
28
|
-
export * from './lib/components/action-result-dialog';
|
|
29
|
-
export * from './lib/components/alert';
|
|
30
|
-
export * from './lib/components/profile-menu';
|
|
31
|
-
export * from './lib/components/check-box';
|
|
32
|
-
export * from './lib/components/input-date-range';
|
|
33
|
-
export * from './lib/components/input-date';
|
|
34
|
-
export * from './lib/components/input-time';
|
|
35
|
-
export * from './lib/components/input-currency';
|
|
36
|
-
export * from './lib/components/title';
|
|
37
|
-
export * from './lib/components/flag';
|
|
38
|
-
export * from './lib/components/table';
|
|
39
|
-
export * from './lib/modules/pumpkin-tech.module';
|
|
40
|
-
export * from './lib/modules/directives.module';
|
|
41
|
-
export * from './lib/modules/pipes.module';
|
|
42
|
-
export * from './lib/modules/core.material.module';
|
|
43
|
-
export * from './lib/services';
|
|
44
|
-
export * from './lib/directives';
|
|
45
|
-
export * from './lib/pipes';
|
|
46
|
-
export * from './lib/utils';
|
|
47
|
-
export * from './lib/mock';
|