@pumpkin-tech/pumpkin-tech-ng 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/README.md +63 -0
  2. package/esm2022/lib/components/action-dialog/action-dialog-config.mjs +2 -0
  3. package/esm2022/lib/components/action-dialog/action-dialog.component.mjs +70 -0
  4. package/esm2022/lib/components/action-dialog/index.mjs +3 -0
  5. package/esm2022/lib/components/action-result-dialog/action-result-dialog-data.mjs +2 -0
  6. package/esm2022/lib/components/action-result-dialog/action-result-dialog.component.mjs +70 -0
  7. package/esm2022/lib/components/action-result-dialog/index.mjs +3 -0
  8. package/esm2022/lib/components/action-row/action-row.component.mjs +19 -0
  9. package/esm2022/lib/components/action-row/index.mjs +2 -0
  10. package/esm2022/lib/components/alert/alert-data.mjs +2 -0
  11. package/esm2022/lib/components/alert/alert.component.mjs +59 -0
  12. package/esm2022/lib/components/alert/index.mjs +3 -0
  13. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +62 -0
  14. package/esm2022/lib/components/breadcrumb/index.mjs +2 -0
  15. package/esm2022/lib/components/button/button.component.mjs +355 -0
  16. package/esm2022/lib/components/button/index.mjs +2 -0
  17. package/esm2022/lib/components/check-box/check-box.component.mjs +108 -0
  18. package/esm2022/lib/components/check-box/index.mjs +2 -0
  19. package/esm2022/lib/components/confirmation-dialog/confirmation-dialog-data.mjs +2 -0
  20. package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +66 -0
  21. package/esm2022/lib/components/confirmation-dialog/index.mjs +3 -0
  22. package/esm2022/lib/components/footer/footer.component.mjs +29 -0
  23. package/esm2022/lib/components/footer/index.mjs +2 -0
  24. package/esm2022/lib/components/header/header.component.mjs +85 -0
  25. package/esm2022/lib/components/header/index.mjs +2 -0
  26. package/esm2022/lib/components/icon/icon.component.mjs +53 -0
  27. package/esm2022/lib/components/icon/index.mjs +2 -0
  28. package/esm2022/lib/components/info-detail/index.mjs +3 -0
  29. package/esm2022/lib/components/info-detail/info-detail-dialog.component.mjs +96 -0
  30. package/esm2022/lib/components/info-detail/info-detail.component.mjs +43 -0
  31. package/esm2022/lib/components/input/index.mjs +2 -0
  32. package/esm2022/lib/components/input/input.component.mjs +316 -0
  33. package/esm2022/lib/components/input-date-picker-range/index.mjs +2 -0
  34. package/esm2022/lib/components/input-date-picker-range/input-date-picker-range.component.mjs +120 -0
  35. package/esm2022/lib/components/loading-overlay/index.mjs +2 -0
  36. package/esm2022/lib/components/loading-overlay/loading-overlay.component.mjs +29 -0
  37. package/esm2022/lib/components/nav/index.mjs +2 -0
  38. package/esm2022/lib/components/nav/nav.component.mjs +172 -0
  39. package/esm2022/lib/components/profile-menu/index.mjs +2 -0
  40. package/esm2022/lib/components/profile-menu/profile-menu.component.mjs +68 -0
  41. package/esm2022/lib/components/progress-bar/index.mjs +2 -0
  42. package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +59 -0
  43. package/esm2022/lib/components/progress-bar-multiple/index.mjs +2 -0
  44. package/esm2022/lib/components/progress-bar-multiple/progress-bar-multiple.component.mjs +69 -0
  45. package/esm2022/lib/components/quantity-items/index.mjs +2 -0
  46. package/esm2022/lib/components/quantity-items/quantity-items.component.mjs +68 -0
  47. package/esm2022/lib/components/radio-group/index.mjs +2 -0
  48. package/esm2022/lib/components/radio-group/radio-group.component.mjs +74 -0
  49. package/esm2022/lib/components/radio-group-entity/index.mjs +2 -0
  50. package/esm2022/lib/components/radio-group-entity/radio-group-entity.component.mjs +101 -0
  51. package/esm2022/lib/components/select-entity/index.mjs +2 -0
  52. package/esm2022/lib/components/select-entity/select-entity.component.mjs +342 -0
  53. package/esm2022/lib/components/select-enum/index.mjs +2 -0
  54. package/esm2022/lib/components/select-enum/select-enum.component.mjs +93 -0
  55. package/esm2022/lib/components/slide-toggle/index.mjs +2 -0
  56. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +94 -0
  57. package/esm2022/lib/components/title/index.mjs +2 -0
  58. package/esm2022/lib/components/title/title.component.mjs +27 -0
  59. package/esm2022/lib/directives/click-catcher.directive.mjs +20 -0
  60. package/esm2022/lib/directives/date-mask.directive.mjs +58 -0
  61. package/esm2022/lib/directives/dynamic-tab.directive.mjs +18 -0
  62. package/esm2022/lib/directives/for.directive.mjs +35 -0
  63. package/esm2022/lib/directives/index.mjs +11 -0
  64. package/esm2022/lib/directives/lower-case.directive.mjs +48 -0
  65. package/esm2022/lib/directives/phone-mask-brazil.directive.mjs +64 -0
  66. package/esm2022/lib/directives/phone-mask-spain.directive.mjs +66 -0
  67. package/esm2022/lib/directives/red.directive.mjs +21 -0
  68. package/esm2022/lib/directives/space-drop.directive.mjs +48 -0
  69. package/esm2022/lib/directives/upper-case.directive.mjs +48 -0
  70. package/esm2022/lib/mock/fake-data.service.mjs +69 -0
  71. package/esm2022/lib/mock/index.mjs +2 -0
  72. package/esm2022/lib/modules/core.material.module.mjs +166 -0
  73. package/esm2022/lib/modules/directives.module.mjs +64 -0
  74. package/esm2022/lib/modules/pipes.module.mjs +56 -0
  75. package/esm2022/lib/modules/pumpkin-tech.module.mjs +193 -0
  76. package/esm2022/lib/modules/shared/portuguese.matpaginatorintl.mjs +28 -0
  77. package/esm2022/lib/pipes/currency-brl.pipe.mjs +27 -0
  78. package/esm2022/lib/pipes/date-ago.pipe.mjs +59 -0
  79. package/esm2022/lib/pipes/get-first-string-before-space.pipe.mjs +21 -0
  80. package/esm2022/lib/pipes/index.mjs +11 -0
  81. package/esm2022/lib/pipes/line-break-after-period.pipe.mjs +20 -0
  82. package/esm2022/lib/pipes/line-break-after.pipe.mjs +29 -0
  83. package/esm2022/lib/pipes/memory-format.pipe.mjs +35 -0
  84. package/esm2022/lib/pipes/phone-brazil.pipe.mjs +43 -0
  85. package/esm2022/lib/pipes/phone-spain.pipe.mjs +37 -0
  86. package/esm2022/lib/pipes/time.durantion.pipe.mjs +36 -0
  87. package/esm2022/lib/pipes/uptime-format.pipe.mjs +36 -0
  88. package/esm2022/lib/services/breadcrumb.service.mjs +51 -0
  89. package/esm2022/lib/services/breadcrumb.tokens.mjs +10 -0
  90. package/esm2022/lib/services/currency-preference.service.mjs +98 -0
  91. package/esm2022/lib/services/dialog.service.mjs +89 -0
  92. package/esm2022/lib/services/index.mjs +10 -0
  93. package/esm2022/lib/services/loading.service.mjs +27 -0
  94. package/esm2022/lib/services/message-token.mjs +16 -0
  95. package/esm2022/lib/services/module.change.service.mjs +19 -0
  96. package/esm2022/lib/services/nav.service.mjs +31 -0
  97. package/esm2022/lib/services/snackbar-message.service.mjs +59 -0
  98. package/esm2022/lib/utils/array.util.mjs +19 -0
  99. package/esm2022/lib/utils/currency.util.mjs +18 -0
  100. package/esm2022/lib/utils/date.util.mjs +80 -0
  101. package/esm2022/lib/utils/document.util.mjs +92 -0
  102. package/esm2022/lib/utils/index.mjs +9 -0
  103. package/esm2022/lib/utils/number.util.mjs +19 -0
  104. package/esm2022/lib/utils/object.util.mjs +28 -0
  105. package/esm2022/lib/utils/string.util.mjs +40 -0
  106. package/esm2022/lib/utils/uuid.util.mjs +18 -0
  107. package/esm2022/public-api.mjs +42 -0
  108. package/esm2022/pumpkin-tech-pumpkin-tech-ng.mjs +5 -0
  109. package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +4471 -0
  110. package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -0
  111. package/index.d.ts +5 -0
  112. package/lib/components/action-dialog/action-dialog-config.d.ts +15 -0
  113. package/lib/components/action-dialog/action-dialog.component.d.ts +17 -0
  114. package/lib/components/action-dialog/index.d.ts +2 -0
  115. package/lib/components/action-result-dialog/action-result-dialog-data.d.ts +6 -0
  116. package/lib/components/action-result-dialog/action-result-dialog.component.d.ts +21 -0
  117. package/lib/components/action-result-dialog/index.d.ts +2 -0
  118. package/lib/components/action-row/action-row.component.d.ts +5 -0
  119. package/lib/components/action-row/index.d.ts +1 -0
  120. package/lib/components/alert/alert-data.d.ts +9 -0
  121. package/lib/components/alert/alert.component.d.ts +13 -0
  122. package/lib/components/alert/index.d.ts +2 -0
  123. package/lib/components/breadcrumb/breadcrumb.component.d.ts +11 -0
  124. package/lib/components/breadcrumb/index.d.ts +1 -0
  125. package/lib/components/button/button.component.d.ts +36 -0
  126. package/lib/components/button/index.d.ts +1 -0
  127. package/lib/components/check-box/check-box.component.d.ts +24 -0
  128. package/lib/components/check-box/index.d.ts +1 -0
  129. package/lib/components/confirmation-dialog/confirmation-dialog-data.d.ts +7 -0
  130. package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
  131. package/lib/components/confirmation-dialog/index.d.ts +2 -0
  132. package/lib/components/footer/footer.component.d.ts +6 -0
  133. package/lib/components/footer/index.d.ts +1 -0
  134. package/lib/components/header/header.component.d.ts +14 -0
  135. package/lib/components/header/index.d.ts +1 -0
  136. package/lib/components/icon/icon.component.d.ts +10 -0
  137. package/lib/components/icon/index.d.ts +1 -0
  138. package/lib/components/info-detail/index.d.ts +2 -0
  139. package/lib/components/info-detail/info-detail-dialog.component.d.ts +19 -0
  140. package/lib/components/info-detail/info-detail.component.d.ts +13 -0
  141. package/lib/components/input/index.d.ts +1 -0
  142. package/lib/components/input/input.component.d.ts +58 -0
  143. package/lib/components/input-date-picker-range/index.d.ts +1 -0
  144. package/lib/components/input-date-picker-range/input-date-picker-range.component.d.ts +37 -0
  145. package/lib/components/loading-overlay/index.d.ts +1 -0
  146. package/lib/components/loading-overlay/loading-overlay.component.d.ts +10 -0
  147. package/lib/components/nav/index.d.ts +1 -0
  148. package/lib/components/nav/nav.component.d.ts +31 -0
  149. package/lib/components/profile-menu/index.d.ts +1 -0
  150. package/lib/components/profile-menu/profile-menu.component.d.ts +16 -0
  151. package/lib/components/progress-bar/index.d.ts +1 -0
  152. package/lib/components/progress-bar/progress-bar.component.d.ts +12 -0
  153. package/lib/components/progress-bar-multiple/index.d.ts +1 -0
  154. package/lib/components/progress-bar-multiple/progress-bar-multiple.component.d.ts +19 -0
  155. package/lib/components/quantity-items/index.d.ts +1 -0
  156. package/lib/components/quantity-items/quantity-items.component.d.ts +10 -0
  157. package/lib/components/radio-group/index.d.ts +1 -0
  158. package/lib/components/radio-group/radio-group.component.d.ts +20 -0
  159. package/lib/components/radio-group-entity/index.d.ts +1 -0
  160. package/lib/components/radio-group-entity/radio-group-entity.component.d.ts +21 -0
  161. package/lib/components/select-entity/index.d.ts +1 -0
  162. package/lib/components/select-entity/select-entity.component.d.ts +60 -0
  163. package/lib/components/select-enum/index.d.ts +1 -0
  164. package/lib/components/select-enum/select-enum.component.d.ts +28 -0
  165. package/lib/components/slide-toggle/index.d.ts +1 -0
  166. package/lib/components/slide-toggle/slide-toggle.component.d.ts +46 -0
  167. package/lib/components/title/index.d.ts +1 -0
  168. package/lib/components/title/title.component.d.ts +11 -0
  169. package/lib/directives/click-catcher.directive.d.ts +6 -0
  170. package/lib/directives/date-mask.directive.d.ts +8 -0
  171. package/lib/directives/dynamic-tab.directive.d.ts +8 -0
  172. package/lib/directives/for.directive.d.ts +12 -0
  173. package/lib/directives/index.d.ts +10 -0
  174. package/lib/directives/lower-case.directive.d.ts +12 -0
  175. package/lib/directives/phone-mask-brazil.directive.d.ts +11 -0
  176. package/lib/directives/phone-mask-spain.directive.d.ts +11 -0
  177. package/lib/directives/red.directive.d.ts +9 -0
  178. package/lib/directives/space-drop.directive.d.ts +12 -0
  179. package/lib/directives/upper-case.directive.d.ts +12 -0
  180. package/lib/mock/fake-data.service.d.ts +34 -0
  181. package/lib/mock/index.d.ts +1 -0
  182. package/lib/modules/core.material.module.d.ts +43 -0
  183. package/lib/modules/directives.module.d.ts +16 -0
  184. package/lib/modules/pipes.module.d.ts +16 -0
  185. package/lib/modules/pumpkin-tech.module.d.ts +33 -0
  186. package/lib/modules/shared/portuguese.matpaginatorintl.d.ts +12 -0
  187. package/lib/pipes/currency-brl.pipe.d.ts +8 -0
  188. package/lib/pipes/date-ago.pipe.d.ts +8 -0
  189. package/lib/pipes/get-first-string-before-space.pipe.d.ts +7 -0
  190. package/lib/pipes/index.d.ts +10 -0
  191. package/lib/pipes/line-break-after-period.pipe.d.ts +7 -0
  192. package/lib/pipes/line-break-after.pipe.d.ts +7 -0
  193. package/lib/pipes/memory-format.pipe.d.ts +7 -0
  194. package/lib/pipes/phone-brazil.pipe.d.ts +7 -0
  195. package/lib/pipes/phone-spain.pipe.d.ts +7 -0
  196. package/lib/pipes/time.durantion.pipe.d.ts +7 -0
  197. package/lib/pipes/uptime-format.pipe.d.ts +7 -0
  198. package/lib/services/breadcrumb.service.d.ts +14 -0
  199. package/lib/services/breadcrumb.tokens.d.ts +9 -0
  200. package/lib/services/currency-preference.service.d.ts +24 -0
  201. package/lib/services/dialog.service.d.ts +41 -0
  202. package/lib/services/index.d.ts +9 -0
  203. package/lib/services/loading.service.d.ts +9 -0
  204. package/lib/services/message-token.d.ts +9 -0
  205. package/lib/services/module.change.service.d.ts +8 -0
  206. package/lib/services/nav.service.d.ts +11 -0
  207. package/lib/services/snackbar-message.service.d.ts +13 -0
  208. package/lib/utils/array.util.d.ts +9 -0
  209. package/lib/utils/currency.util.d.ts +8 -0
  210. package/lib/utils/date.util.d.ts +18 -0
  211. package/lib/utils/document.util.d.ts +4 -0
  212. package/lib/utils/index.d.ts +8 -0
  213. package/lib/utils/number.util.d.ts +5 -0
  214. package/lib/utils/object.util.d.ts +9 -0
  215. package/lib/utils/string.util.d.ts +10 -0
  216. package/lib/utils/uuid.util.d.ts +5 -0
  217. package/package.json +49 -0
  218. package/public-api.d.ts +37 -0
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@pumpkin-tech/pumpkin-tech-ng" />
5
+ export * from './public-api';
@@ -0,0 +1,15 @@
1
+ export interface ActionDialogField<T = any> {
2
+ type: 'select' | 'number' | 'text' | 'checkbox';
3
+ label: string;
4
+ value?: any;
5
+ options?: T[];
6
+ }
7
+ export interface ActionDialogConfig {
8
+ title: string;
9
+ fields: ActionDialogField[];
10
+ infoBox?: string;
11
+ content?: string;
12
+ rawContent?: string;
13
+ confirmText?: string;
14
+ cancelText?: string;
15
+ }
@@ -0,0 +1,17 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { ActionDialogConfig } from './action-dialog-config';
3
+ import { IMessageService } from '../../services/message-token';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ActionDialogComponent {
6
+ data: ActionDialogConfig;
7
+ private dialogRef;
8
+ private messageService?;
9
+ constructor(data: ActionDialogConfig, dialogRef: MatDialogRef<ActionDialogComponent>, messageService?: IMessageService | undefined);
10
+ private get msg();
11
+ onConfirm(): void;
12
+ onCancel(): void;
13
+ changeQuantity($event: number): void;
14
+ onSelectionChange($event: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionDialogComponent, [null, null, { optional: true; }]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionDialogComponent, "ptech-action-dialog", never, {}, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,2 @@
1
+ export { ActionDialogComponent } from './action-dialog.component';
2
+ export * from './action-dialog-config';
@@ -0,0 +1,6 @@
1
+ export interface ActionResultData {
2
+ title: string;
3
+ content?: string;
4
+ rawContent?: string;
5
+ details?: unknown;
6
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import { MatDialogRef } from '@angular/material/dialog';
4
+ import { ActionResultData } from './action-result-dialog-data';
5
+ import { IMessageService } from '../../services/message-token';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ActionResultDialogComponent implements OnInit {
8
+ data: ActionResultData;
9
+ private dialogRef;
10
+ private sanitizer;
11
+ private messageService;
12
+ whatsappUrl: string;
13
+ sanitizedContent: SafeHtml;
14
+ constructor(data: ActionResultData, dialogRef: MatDialogRef<ActionResultDialogComponent>, sanitizer: DomSanitizer, messageService: IMessageService);
15
+ ngOnInit(): void;
16
+ close(): void;
17
+ copyToClipboard(): void;
18
+ openWhatsApp(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionResultDialogComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionResultDialogComponent, "ptech-action-result-dialog", never, {}, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,2 @@
1
+ export { ActionResultDialogComponent } from './action-result-dialog.component';
2
+ export * from './action-result-dialog-data';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ActionRowComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionRowComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionRowComponent, "ptech-action-row", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './action-row.component';
@@ -0,0 +1,9 @@
1
+ export type AlertType = 'success' | 'error' | 'warn' | 'info';
2
+ export interface AlertData {
3
+ title: string;
4
+ message: string;
5
+ details?: string[];
6
+ icon?: string;
7
+ type: AlertType;
8
+ timestamp?: string | Date;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { MatSnackBarRef } from '@angular/material/snack-bar';
2
+ import { AlertData } from './alert-data';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AlertComponent {
5
+ data: AlertData;
6
+ private snackBarRef;
7
+ constructor(data: AlertData, snackBarRef: MatSnackBarRef<AlertComponent>);
8
+ getIconColor(type: string): string;
9
+ closeSnackbar(): void;
10
+ formattedTimestamp(): string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "ptech-alert", never, {}, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './alert.component';
2
+ export * from './alert-data';
@@ -0,0 +1,11 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './breadcrumb.component';
@@ -0,0 +1,36 @@
1
+ import { ThemePalette } from '@angular/material/core';
2
+ import { BooleanInput } from '@angular/cdk/coercion';
3
+ import * as i0 from "@angular/core";
4
+ type ButtonVariant = 'basic' | 'raised' | 'stroked' | 'flat' | 'icon' | 'fab' | 'mini-fab' | 'extended' | 'link';
5
+ export declare class ButtonComponent {
6
+ static ngAcceptInputType_required: BooleanInput;
7
+ private _required;
8
+ get required(): boolean;
9
+ set required(value: any);
10
+ type: ButtonVariant;
11
+ tooltip: string;
12
+ disabled: boolean;
13
+ loading: boolean;
14
+ icon: string;
15
+ iconColor: string;
16
+ iconWidth: string;
17
+ iconHeight: string;
18
+ label: string;
19
+ textColor: string;
20
+ link: string;
21
+ target: string;
22
+ shape: 'default' | 'pill';
23
+ ariaLabel?: string;
24
+ color: ThemePalette | string;
25
+ fullWidth: boolean;
26
+ get isThemeColor(): boolean;
27
+ /** Para [color] do Angular Material (ou undefined quando custom) */
28
+ get themeColor(): ThemePalette | undefined;
29
+ /** Para aplicar bg custom somente quando não for primary/accent/warn */
30
+ get customBackground(): string | null;
31
+ /** MatIcon não respeita width/height do glifo: use font-size */
32
+ get iconStyle(): Record<string, string | null>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ptech-button", never, { "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconWidth": { "alias": "iconWidth"; "required": false; }; "iconHeight": { "alias": "iconHeight"; "required": false; }; "label": { "alias": "label"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "link": { "alias": "link"; "required": false; }; "target": { "alias": "target"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "color": { "alias": "color"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, never, true, never>;
35
+ }
36
+ export {};
@@ -0,0 +1 @@
1
+ export * from './button.component';
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CheckBoxComponent implements ControlValueAccessor {
5
+ label: string;
6
+ disabled: boolean;
7
+ required: boolean;
8
+ color: string;
9
+ indeterminate: boolean;
10
+ indeterminateChange: EventEmitter<boolean>;
11
+ change: EventEmitter<any>;
12
+ private _value;
13
+ get value(): boolean;
14
+ set value(v: boolean);
15
+ onChange: any;
16
+ onTouch: any;
17
+ writeValue(value: any): void;
18
+ registerOnChange(fn: any): void;
19
+ registerOnTouched(fn: any): void;
20
+ setDisabledState(isDisabled: boolean): void;
21
+ onCheckboxChange(checked: boolean): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "ptech-check-box", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "indeterminateChange": "indeterminateChange"; "change": "change"; }, never, never, true, never>;
24
+ }
@@ -0,0 +1 @@
1
+ export * from './check-box.component';
@@ -0,0 +1,7 @@
1
+ export interface ConfirmationDTO {
2
+ title: string;
3
+ message: string;
4
+ accept: () => void;
5
+ cancelText?: string;
6
+ confirmText?: string;
7
+ }
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './confirmation-dialog.component';
2
+ export * from './confirmation-dialog-data';
@@ -0,0 +1,6 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './footer.component';
@@ -0,0 +1,14 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './header.component';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class IconComponent {
3
+ color: string;
4
+ icon: string;
5
+ size: number | string;
6
+ ariaHidden: 'true' | 'false';
7
+ computeSize(): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ptech-icon", never, { "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './icon.component';
@@ -0,0 +1,2 @@
1
+ export * from './info-detail.component';
2
+ export * from './info-detail-dialog.component';
@@ -0,0 +1,19 @@
1
+ import { IMessageService } from '../../services/message-token';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfoDetailDialogComponent {
4
+ data: {
5
+ title: string;
6
+ content: string;
7
+ rawContent?: string;
8
+ };
9
+ whatsappUrl: string;
10
+ private readonly msgService;
11
+ constructor(data: {
12
+ title: string;
13
+ content: string;
14
+ rawContent?: string;
15
+ }, messageService: IMessageService | null);
16
+ copyToClipboard(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoDetailDialogComponent, [null, { optional: true; }]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoDetailDialogComponent, "ptech-info-detail-dialog", never, {}, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,13 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './input.component';
@@ -0,0 +1,58 @@
1
+ import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
4
+ import { BooleanInput } from '@angular/cdk/coercion';
5
+ import * as i0 from "@angular/core";
6
+ export declare class InputComponent implements ControlValueAccessor, OnInit {
7
+ _elementRef?: ElementRef<HTMLInputElement>;
8
+ suffixRef?: TemplateRef<any>;
9
+ buttonClick: EventEmitter<void>;
10
+ static ngAcceptInputType_required: BooleanInput;
11
+ private _required;
12
+ get required(): boolean;
13
+ set required(value: any);
14
+ label: string;
15
+ placeholder: string;
16
+ disabled: boolean;
17
+ readonly: boolean;
18
+ maxlength: string | number;
19
+ min: any;
20
+ max: any;
21
+ type: string;
22
+ name: string;
23
+ appearance: MatFormFieldAppearance;
24
+ loading: boolean;
25
+ /** Ícone no suffix */
26
+ icon: string;
27
+ /** Pode ser 'primary' | 'accent' | 'warn' | '#hex' | 'rgb()' etc */
28
+ iconColor: string;
29
+ /** Tamanhos opcionais */
30
+ iconWidth: string;
31
+ iconHeight: string;
32
+ /** Tamanho “real” do glifo */
33
+ iconSize: string;
34
+ /** Tooltip (no field quando sem ícone; no ícone quando há ícone) */
35
+ tooltip: string;
36
+ /** Acessibilidade */
37
+ ariaLabel?: string;
38
+ /** Extras úteis */
39
+ autocomplete: string;
40
+ inputmode?: string;
41
+ pattern?: string;
42
+ fullWidth: boolean;
43
+ private _val;
44
+ ngOnInit(): void;
45
+ get value(): any;
46
+ set value(val: any);
47
+ onChange: any;
48
+ onTouch: any;
49
+ writeValue(value: any): void;
50
+ registerOnChange(fn: any): void;
51
+ registerOnTouched(fn: any): void;
52
+ setDisabledState(isDisabled: boolean): void;
53
+ onButtonClick(): void;
54
+ isThemeColor(c: string | null | undefined, theme: 'primary' | 'accent' | 'warn'): boolean;
55
+ get customIconColor(): string | null;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ptech-input", never, { "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "loading": { "alias": "loading"; "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; }; "tooltip": { "alias": "tooltip"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "buttonClick": "buttonClick"; }, ["suffixRef"], ["[matPrefix]", "[matSuffix]", "mat-hint, [mat-hint]", "mat-error, [mat-error]"], true, never>;
58
+ }
@@ -0,0 +1 @@
1
+ export * from './input-date-picker-range.component';
@@ -0,0 +1,37 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { MatDatepickerInputEvent } from '@angular/material/datepicker';
4
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
5
+ import * as moment from 'moment';
6
+ import * as i0 from "@angular/core";
7
+ export declare class InputDatePickerRangeComponent implements ControlValueAccessor {
8
+ disabled: boolean;
9
+ label: string;
10
+ required: boolean;
11
+ loading: boolean;
12
+ firstPlaceholder: string;
13
+ secondPlaceholder: string;
14
+ hint: string;
15
+ appearance: MatFormFieldAppearance;
16
+ dateChange: EventEmitter<{
17
+ start: string | null;
18
+ end: string | null;
19
+ }>;
20
+ start: string | null;
21
+ end: string | null;
22
+ onChange: any;
23
+ onTouch: any;
24
+ writeValue(obj: {
25
+ start: string;
26
+ end: string;
27
+ }): void;
28
+ registerOnChange(fn: any): void;
29
+ registerOnTouched(fn: any): void;
30
+ setDisabledState?(isDisabled: boolean): void;
31
+ onStartDateChange(event: MatDatepickerInputEvent<Date | moment.Moment>): void;
32
+ onEndDateChange(event: MatDatepickerInputEvent<Date | moment.Moment>): void;
33
+ private emitDateChange;
34
+ private convertToLocalDateString;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDatePickerRangeComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDatePickerRangeComponent, "ptech-input-date-picker-range", never, { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "firstPlaceholder": { "alias": "firstPlaceholder"; "required": false; }; "secondPlaceholder": { "alias": "secondPlaceholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
37
+ }
@@ -0,0 +1 @@
1
+ export * from './loading-overlay.component';
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './nav.component';
@@ -0,0 +1,31 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { NavService } from '../../services/nav.service';
3
+ import * as i0 from "@angular/core";
4
+ export interface NavLink {
5
+ icon: string;
6
+ name: string;
7
+ path?: string;
8
+ children?: NavLink[];
9
+ }
10
+ export interface FooterItem {
11
+ icon: string;
12
+ text: string;
13
+ }
14
+ export declare class NavComponent {
15
+ navService: NavService;
16
+ links: NavLink[];
17
+ currentModuleName: string;
18
+ fixedTopGap: number;
19
+ fixedBottomGap: number;
20
+ footerItems: FooterItem[];
21
+ navigate: EventEmitter<NavLink>;
22
+ logout: EventEmitter<void>;
23
+ stack: NavLink[];
24
+ constructor(navService: NavService);
25
+ get currentLevel(): NavLink[];
26
+ get currentTitle(): string;
27
+ clickItem(item: NavLink, ev: MouseEvent): void;
28
+ onHeaderClick(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
30
+ 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; }; }, { "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
31
+ }
@@ -0,0 +1 @@
1
+ export * from './profile-menu.component';
@@ -0,0 +1,16 @@
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
+ /** Nome a ser exibido (pode ser “João Silva”, o pipe corta para “João”) */
10
+ displayName: string;
11
+ /** Itens do menu */
12
+ items: ProfileMenuItem[];
13
+ handle(item: ProfileMenuItem): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileMenuComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileMenuComponent, "ptech-profile-menu", never, { "displayName": { "alias": "displayName"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, ["[extra-items]"], true, never>;
16
+ }
@@ -0,0 +1 @@
1
+ export * from './progress-bar.component';
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './progress-bar-multiple.component';
@@ -0,0 +1,19 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ProgressBarMultipleComponent implements OnChanges {
4
+ progressStartPrimary: number;
5
+ progressEndPrimary: number;
6
+ labelPrimary: string;
7
+ progressStartSecondary?: number;
8
+ progressEndSecondary?: number;
9
+ labelSecondary?: string;
10
+ progressPercentagePrimary: number;
11
+ progressPercentageSecondary?: number;
12
+ ngOnChanges(changes: SimpleChanges): void;
13
+ private calculateProgress;
14
+ private compute;
15
+ get dynamicColorPrimary(): string;
16
+ get dynamicColorSecondary(): string | undefined;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarMultipleComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarMultipleComponent, "ptech-progress-bar-multiple", never, { "progressStartPrimary": { "alias": "progressStartPrimary"; "required": false; }; "progressEndPrimary": { "alias": "progressEndPrimary"; "required": false; }; "labelPrimary": { "alias": "labelPrimary"; "required": false; }; "progressStartSecondary": { "alias": "progressStartSecondary"; "required": false; }; "progressEndSecondary": { "alias": "progressEndSecondary"; "required": false; }; "labelSecondary": { "alias": "labelSecondary"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1 @@
1
+ export * from './quantity-items.component';
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class QuantityItemsComponent {
4
+ quantity: number;
5
+ quantityChange: EventEmitter<number>;
6
+ decrement(): void;
7
+ increment(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuantityItemsComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuantityItemsComponent, "ptech-quantity-items", never, { "quantity": { "alias": "quantity"; "required": false; }; }, { "quantityChange": "quantityChange"; }, never, never, true, never>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './radio-group.component';
@@ -0,0 +1,20 @@
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RadioGroupComponent implements ControlValueAccessor {
4
+ label: string;
5
+ disabled: boolean;
6
+ required: boolean;
7
+ property: string;
8
+ entities: any[];
9
+ private _value;
10
+ get value(): any;
11
+ set value(val: any);
12
+ onChange: any;
13
+ onTouch: any;
14
+ writeValue(value: any): void;
15
+ registerOnChange(fn: any): void;
16
+ registerOnTouched(fn: any): void;
17
+ getPropertyValue(entity: any): string;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ptech-radio-group", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "property": { "alias": "property"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
20
+ }
@@ -0,0 +1 @@
1
+ export * from './radio-group-entity.component';
@@ -0,0 +1,21 @@
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RadioGroupEntityComponent implements ControlValueAccessor {
4
+ label: string;
5
+ disabled: boolean;
6
+ required: boolean;
7
+ property: string;
8
+ entities: any[];
9
+ private _value;
10
+ get value(): any;
11
+ set value(val: any);
12
+ getPropertyValue(entity: any): string;
13
+ onChange: (value: any) => void;
14
+ onTouch: () => void;
15
+ writeValue(value: any): void;
16
+ registerOnChange(fn: any): void;
17
+ registerOnTouched(fn: any): void;
18
+ setDisabledState?(isDisabled: boolean): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupEntityComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupEntityComponent, "ptech-radio-group-entity", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "property": { "alias": "property"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1 @@
1
+ export * from './select-entity.component';