@pumpkin-tech/pumpkin-tech-ng 0.1.9 → 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.
Files changed (258) hide show
  1. package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs +279 -281
  2. package/fesm2022/pumpkin-tech-pumpkin-tech-ng.mjs.map +1 -1
  3. package/index.d.ts +1580 -3
  4. package/package.json +9 -11
  5. package/pumpkin-tech-pumpkin-tech-ng-0.2.0.tgz +0 -0
  6. package/esm2022/lib/base/base-field.mjs +0 -96
  7. package/esm2022/lib/components/action-dialog/action-dialog-config.mjs +0 -2
  8. package/esm2022/lib/components/action-dialog/action-dialog.component.mjs +0 -198
  9. package/esm2022/lib/components/action-dialog/index.mjs +0 -3
  10. package/esm2022/lib/components/action-result-dialog/action-result-dialog-data.mjs +0 -2
  11. package/esm2022/lib/components/action-result-dialog/action-result-dialog.component.mjs +0 -70
  12. package/esm2022/lib/components/action-result-dialog/index.mjs +0 -3
  13. package/esm2022/lib/components/action-row/action-row.component.mjs +0 -19
  14. package/esm2022/lib/components/action-row/index.mjs +0 -2
  15. package/esm2022/lib/components/alert/alert-data.mjs +0 -2
  16. package/esm2022/lib/components/alert/alert.component.mjs +0 -59
  17. package/esm2022/lib/components/alert/index.mjs +0 -3
  18. package/esm2022/lib/components/badge/badge-stack.component.mjs +0 -107
  19. package/esm2022/lib/components/badge/badge.component.mjs +0 -241
  20. package/esm2022/lib/components/badge/index.mjs +0 -3
  21. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -62
  22. package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
  23. package/esm2022/lib/components/button/button.component.mjs +0 -738
  24. package/esm2022/lib/components/button/index.mjs +0 -2
  25. package/esm2022/lib/components/check-box/check-box.component.mjs +0 -109
  26. package/esm2022/lib/components/check-box/index.mjs +0 -2
  27. package/esm2022/lib/components/confirmation-dialog/confirmation-dialog-data.mjs +0 -2
  28. package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -66
  29. package/esm2022/lib/components/confirmation-dialog/index.mjs +0 -3
  30. package/esm2022/lib/components/flag/flag.component.mjs +0 -113
  31. package/esm2022/lib/components/flag/index.mjs +0 -2
  32. package/esm2022/lib/components/footer/footer.component.mjs +0 -29
  33. package/esm2022/lib/components/footer/index.mjs +0 -2
  34. package/esm2022/lib/components/header/header.component.mjs +0 -85
  35. package/esm2022/lib/components/header/index.mjs +0 -2
  36. package/esm2022/lib/components/icon/icon.component.mjs +0 -100
  37. package/esm2022/lib/components/icon/index.mjs +0 -2
  38. package/esm2022/lib/components/info-detail/index.mjs +0 -3
  39. package/esm2022/lib/components/info-detail/info-detail-dialog.component.mjs +0 -136
  40. package/esm2022/lib/components/info-detail/info-detail.component.mjs +0 -61
  41. package/esm2022/lib/components/input/index.mjs +0 -2
  42. package/esm2022/lib/components/input/input.component.mjs +0 -333
  43. package/esm2022/lib/components/input-currency/index.mjs +0 -2
  44. package/esm2022/lib/components/input-currency/input-currency.component.mjs +0 -134
  45. package/esm2022/lib/components/input-date/index.mjs +0 -2
  46. package/esm2022/lib/components/input-date/input-date.component.mjs +0 -349
  47. package/esm2022/lib/components/input-date-range/index.mjs +0 -2
  48. package/esm2022/lib/components/input-date-range/input-date-range.component.mjs +0 -165
  49. package/esm2022/lib/components/input-time/index.mjs +0 -2
  50. package/esm2022/lib/components/input-time/input-time.component.mjs +0 -184
  51. package/esm2022/lib/components/loading-overlay/index.mjs +0 -2
  52. package/esm2022/lib/components/loading-overlay/loading-overlay.component.mjs +0 -29
  53. package/esm2022/lib/components/nav/index.mjs +0 -2
  54. package/esm2022/lib/components/nav/nav.component.mjs +0 -363
  55. package/esm2022/lib/components/profile-menu/index.mjs +0 -2
  56. package/esm2022/lib/components/profile-menu/profile-menu.component.mjs +0 -79
  57. package/esm2022/lib/components/progress-bar/index.mjs +0 -2
  58. package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +0 -59
  59. package/esm2022/lib/components/progress-bar-multiple/index.mjs +0 -2
  60. package/esm2022/lib/components/progress-bar-multiple/progress-bar-multiple.component.mjs +0 -69
  61. package/esm2022/lib/components/quantity-items/index.mjs +0 -2
  62. package/esm2022/lib/components/quantity-items/quantity-items.component.mjs +0 -143
  63. package/esm2022/lib/components/radio-group-entity/index.mjs +0 -2
  64. package/esm2022/lib/components/radio-group-entity/radio-group-entity.component.mjs +0 -97
  65. package/esm2022/lib/components/radio-group-enum/index.mjs +0 -2
  66. package/esm2022/lib/components/radio-group-enum/radio-group-enum.component.mjs +0 -107
  67. package/esm2022/lib/components/select-entity/index.mjs +0 -2
  68. package/esm2022/lib/components/select-entity/select-entity.component.mjs +0 -250
  69. package/esm2022/lib/components/select-enum/index.mjs +0 -2
  70. package/esm2022/lib/components/select-enum/select-enum.component.mjs +0 -153
  71. package/esm2022/lib/components/slide-toggle/index.mjs +0 -2
  72. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -105
  73. package/esm2022/lib/components/table/index.mjs +0 -2
  74. package/esm2022/lib/components/table/table.component.mjs +0 -788
  75. package/esm2022/lib/components/textarea/index.mjs +0 -2
  76. package/esm2022/lib/components/textarea/textarea.component.mjs +0 -156
  77. package/esm2022/lib/components/title/index.mjs +0 -2
  78. package/esm2022/lib/components/title/title.component.mjs +0 -27
  79. package/esm2022/lib/directives/click-catcher.directive.mjs +0 -20
  80. package/esm2022/lib/directives/date-mask.directive.mjs +0 -58
  81. package/esm2022/lib/directives/dynamic-tab.directive.mjs +0 -18
  82. package/esm2022/lib/directives/for.directive.mjs +0 -35
  83. package/esm2022/lib/directives/index.mjs +0 -12
  84. package/esm2022/lib/directives/lower-case.directive.mjs +0 -48
  85. package/esm2022/lib/directives/phone-mask-brazil.directive.mjs +0 -64
  86. package/esm2022/lib/directives/phone-mask-spain.directive.mjs +0 -66
  87. package/esm2022/lib/directives/red.directive.mjs +0 -21
  88. package/esm2022/lib/directives/space-drop.directive.mjs +0 -48
  89. package/esm2022/lib/directives/table-cell.directive.mjs +0 -22
  90. package/esm2022/lib/directives/upper-case.directive.mjs +0 -48
  91. package/esm2022/lib/layout/ptech-col.directive.mjs +0 -162
  92. package/esm2022/lib/layout/ptech-grid.directive.mjs +0 -125
  93. package/esm2022/lib/mock/fake-data.service.mjs +0 -69
  94. package/esm2022/lib/mock/index.mjs +0 -2
  95. package/esm2022/lib/modules/core.material.module.mjs +0 -166
  96. package/esm2022/lib/modules/directives.module.mjs +0 -79
  97. package/esm2022/lib/modules/pipes.module.mjs +0 -64
  98. package/esm2022/lib/modules/pumpkin-tech.module.mjs +0 -240
  99. package/esm2022/lib/modules/shared/portuguese.matpaginatorintl.mjs +0 -28
  100. package/esm2022/lib/pipes/currency-brl.pipe.mjs +0 -27
  101. package/esm2022/lib/pipes/date-ago.pipe.mjs +0 -59
  102. package/esm2022/lib/pipes/get-first-string-before-space.pipe.mjs +0 -21
  103. package/esm2022/lib/pipes/index.mjs +0 -12
  104. package/esm2022/lib/pipes/is-longer-than.pipe.mjs +0 -55
  105. package/esm2022/lib/pipes/line-break-after-period.pipe.mjs +0 -20
  106. package/esm2022/lib/pipes/line-break-after.pipe.mjs +0 -29
  107. package/esm2022/lib/pipes/memory-format.pipe.mjs +0 -35
  108. package/esm2022/lib/pipes/phone-brazil.pipe.mjs +0 -43
  109. package/esm2022/lib/pipes/phone-spain.pipe.mjs +0 -37
  110. package/esm2022/lib/pipes/time.durantion.pipe.mjs +0 -34
  111. package/esm2022/lib/pipes/uptime-format.pipe.mjs +0 -36
  112. package/esm2022/lib/services/breadcrumb.service.mjs +0 -51
  113. package/esm2022/lib/services/breadcrumb.tokens.mjs +0 -10
  114. package/esm2022/lib/services/currency-preference.service.mjs +0 -98
  115. package/esm2022/lib/services/dialog.service.mjs +0 -89
  116. package/esm2022/lib/services/index.mjs +0 -10
  117. package/esm2022/lib/services/loading.service.mjs +0 -27
  118. package/esm2022/lib/services/message-token.mjs +0 -16
  119. package/esm2022/lib/services/module.change.service.mjs +0 -19
  120. package/esm2022/lib/services/nav.service.mjs +0 -31
  121. package/esm2022/lib/services/snackbar-message.service.mjs +0 -59
  122. package/esm2022/lib/utils/array.util.mjs +0 -19
  123. package/esm2022/lib/utils/currency.util.mjs +0 -18
  124. package/esm2022/lib/utils/date.util.mjs +0 -80
  125. package/esm2022/lib/utils/document.util.mjs +0 -92
  126. package/esm2022/lib/utils/index.mjs +0 -9
  127. package/esm2022/lib/utils/number.util.mjs +0 -19
  128. package/esm2022/lib/utils/object.util.mjs +0 -28
  129. package/esm2022/lib/utils/string.util.mjs +0 -87
  130. package/esm2022/lib/utils/uuid.util.mjs +0 -18
  131. package/esm2022/public-api.mjs +0 -53
  132. package/esm2022/pumpkin-tech-pumpkin-tech-ng.mjs +0 -5
  133. package/lib/base/base-field.d.ts +0 -44
  134. package/lib/components/action-dialog/action-dialog-config.d.ts +0 -15
  135. package/lib/components/action-dialog/action-dialog.component.d.ts +0 -17
  136. package/lib/components/action-dialog/index.d.ts +0 -2
  137. package/lib/components/action-result-dialog/action-result-dialog-data.d.ts +0 -6
  138. package/lib/components/action-result-dialog/action-result-dialog.component.d.ts +0 -21
  139. package/lib/components/action-result-dialog/index.d.ts +0 -2
  140. package/lib/components/action-row/action-row.component.d.ts +0 -5
  141. package/lib/components/action-row/index.d.ts +0 -1
  142. package/lib/components/alert/alert-data.d.ts +0 -9
  143. package/lib/components/alert/alert.component.d.ts +0 -13
  144. package/lib/components/alert/index.d.ts +0 -2
  145. package/lib/components/badge/badge-stack.component.d.ts +0 -36
  146. package/lib/components/badge/badge.component.d.ts +0 -61
  147. package/lib/components/badge/index.d.ts +0 -2
  148. package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -11
  149. package/lib/components/breadcrumb/index.d.ts +0 -1
  150. package/lib/components/button/button.component.d.ts +0 -52
  151. package/lib/components/button/index.d.ts +0 -1
  152. package/lib/components/check-box/check-box.component.d.ts +0 -35
  153. package/lib/components/check-box/index.d.ts +0 -1
  154. package/lib/components/confirmation-dialog/confirmation-dialog-data.d.ts +0 -7
  155. package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +0 -12
  156. package/lib/components/confirmation-dialog/index.d.ts +0 -2
  157. package/lib/components/flag/flag.component.d.ts +0 -35
  158. package/lib/components/flag/index.d.ts +0 -1
  159. package/lib/components/footer/footer.component.d.ts +0 -6
  160. package/lib/components/footer/index.d.ts +0 -1
  161. package/lib/components/header/header.component.d.ts +0 -14
  162. package/lib/components/header/index.d.ts +0 -1
  163. package/lib/components/icon/icon.component.d.ts +0 -27
  164. package/lib/components/icon/index.d.ts +0 -1
  165. package/lib/components/info-detail/index.d.ts +0 -2
  166. package/lib/components/info-detail/info-detail-dialog.component.d.ts +0 -22
  167. package/lib/components/info-detail/info-detail.component.d.ts +0 -13
  168. package/lib/components/input/index.d.ts +0 -1
  169. package/lib/components/input/input.component.d.ts +0 -42
  170. package/lib/components/input-currency/index.d.ts +0 -1
  171. package/lib/components/input-currency/input-currency.component.d.ts +0 -24
  172. package/lib/components/input-date/index.d.ts +0 -1
  173. package/lib/components/input-date/input-date.component.d.ts +0 -55
  174. package/lib/components/input-date-range/index.d.ts +0 -1
  175. package/lib/components/input-date-range/input-date-range.component.d.ts +0 -35
  176. package/lib/components/input-time/index.d.ts +0 -1
  177. package/lib/components/input-time/input-time.component.d.ts +0 -31
  178. package/lib/components/loading-overlay/index.d.ts +0 -1
  179. package/lib/components/loading-overlay/loading-overlay.component.d.ts +0 -10
  180. package/lib/components/nav/index.d.ts +0 -1
  181. package/lib/components/nav/nav.component.d.ts +0 -69
  182. package/lib/components/profile-menu/index.d.ts +0 -1
  183. package/lib/components/profile-menu/profile-menu.component.d.ts +0 -14
  184. package/lib/components/progress-bar/index.d.ts +0 -1
  185. package/lib/components/progress-bar/progress-bar.component.d.ts +0 -12
  186. package/lib/components/progress-bar-multiple/index.d.ts +0 -1
  187. package/lib/components/progress-bar-multiple/progress-bar-multiple.component.d.ts +0 -19
  188. package/lib/components/quantity-items/index.d.ts +0 -1
  189. package/lib/components/quantity-items/quantity-items.component.d.ts +0 -27
  190. package/lib/components/radio-group-entity/index.d.ts +0 -1
  191. package/lib/components/radio-group-entity/radio-group-entity.component.d.ts +0 -21
  192. package/lib/components/radio-group-enum/index.d.ts +0 -1
  193. package/lib/components/radio-group-enum/radio-group-enum.component.d.ts +0 -33
  194. package/lib/components/select-entity/index.d.ts +0 -1
  195. package/lib/components/select-entity/select-entity.component.d.ts +0 -44
  196. package/lib/components/select-enum/index.d.ts +0 -1
  197. package/lib/components/select-enum/select-enum.component.d.ts +0 -29
  198. package/lib/components/slide-toggle/index.d.ts +0 -1
  199. package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -35
  200. package/lib/components/table/index.d.ts +0 -1
  201. package/lib/components/table/table.component.d.ts +0 -109
  202. package/lib/components/textarea/index.d.ts +0 -1
  203. package/lib/components/textarea/textarea.component.d.ts +0 -29
  204. package/lib/components/title/index.d.ts +0 -1
  205. package/lib/components/title/title.component.d.ts +0 -11
  206. package/lib/directives/click-catcher.directive.d.ts +0 -6
  207. package/lib/directives/date-mask.directive.d.ts +0 -8
  208. package/lib/directives/dynamic-tab.directive.d.ts +0 -8
  209. package/lib/directives/for.directive.d.ts +0 -12
  210. package/lib/directives/index.d.ts +0 -11
  211. package/lib/directives/lower-case.directive.d.ts +0 -12
  212. package/lib/directives/phone-mask-brazil.directive.d.ts +0 -11
  213. package/lib/directives/phone-mask-spain.directive.d.ts +0 -11
  214. package/lib/directives/red.directive.d.ts +0 -9
  215. package/lib/directives/space-drop.directive.d.ts +0 -12
  216. package/lib/directives/table-cell.directive.d.ts +0 -9
  217. package/lib/directives/upper-case.directive.d.ts +0 -12
  218. package/lib/layout/ptech-col.directive.d.ts +0 -34
  219. package/lib/layout/ptech-grid.directive.d.ts +0 -32
  220. package/lib/mock/fake-data.service.d.ts +0 -34
  221. package/lib/mock/index.d.ts +0 -1
  222. package/lib/modules/core.material.module.d.ts +0 -43
  223. package/lib/modules/directives.module.d.ts +0 -19
  224. package/lib/modules/pipes.module.d.ts +0 -18
  225. package/lib/modules/pumpkin-tech.module.d.ts +0 -41
  226. package/lib/modules/shared/portuguese.matpaginatorintl.d.ts +0 -12
  227. package/lib/pipes/currency-brl.pipe.d.ts +0 -8
  228. package/lib/pipes/date-ago.pipe.d.ts +0 -8
  229. package/lib/pipes/get-first-string-before-space.pipe.d.ts +0 -7
  230. package/lib/pipes/index.d.ts +0 -11
  231. package/lib/pipes/is-longer-than.pipe.d.ts +0 -9
  232. package/lib/pipes/line-break-after-period.pipe.d.ts +0 -7
  233. package/lib/pipes/line-break-after.pipe.d.ts +0 -7
  234. package/lib/pipes/memory-format.pipe.d.ts +0 -7
  235. package/lib/pipes/phone-brazil.pipe.d.ts +0 -7
  236. package/lib/pipes/phone-spain.pipe.d.ts +0 -7
  237. package/lib/pipes/time.durantion.pipe.d.ts +0 -7
  238. package/lib/pipes/uptime-format.pipe.d.ts +0 -7
  239. package/lib/services/breadcrumb.service.d.ts +0 -14
  240. package/lib/services/breadcrumb.tokens.d.ts +0 -9
  241. package/lib/services/currency-preference.service.d.ts +0 -24
  242. package/lib/services/dialog.service.d.ts +0 -41
  243. package/lib/services/index.d.ts +0 -9
  244. package/lib/services/loading.service.d.ts +0 -9
  245. package/lib/services/message-token.d.ts +0 -9
  246. package/lib/services/module.change.service.d.ts +0 -8
  247. package/lib/services/nav.service.d.ts +0 -11
  248. package/lib/services/snackbar-message.service.d.ts +0 -13
  249. package/lib/utils/array.util.d.ts +0 -9
  250. package/lib/utils/currency.util.d.ts +0 -8
  251. package/lib/utils/date.util.d.ts +0 -18
  252. package/lib/utils/document.util.d.ts +0 -4
  253. package/lib/utils/index.d.ts +0 -8
  254. package/lib/utils/number.util.d.ts +0 -5
  255. package/lib/utils/object.util.d.ts +0 -9
  256. package/lib/utils/string.util.d.ts +0 -27
  257. package/lib/utils/uuid.util.d.ts +0 -5
  258. package/public-api.d.ts +0 -47
@@ -1,19 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- export * from './quantity-items.component';
@@ -1,27 +0,0 @@
1
- import { ElementRef, 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 QuantityItemsComponent extends BaseField implements ControlValueAccessor {
6
- constructor(el: ElementRef<HTMLElement>);
7
- min: number;
8
- max: number | null;
9
- step: number;
10
- /** Compat c/ [(quantity)] */
11
- get quantity(): number;
12
- set quantity(v: number);
13
- quantityChange: EventEmitter<number>;
14
- current: number;
15
- private onChange;
16
- private onTouched;
17
- writeValue(v: number | null): void;
18
- registerOnChange(fn: (v: number) => void): void;
19
- registerOnTouched(fn: () => void): void;
20
- setDisabledState(isDisabled: boolean): void;
21
- decrement(): void;
22
- increment(): void;
23
- private clamp;
24
- private setValue;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<QuantityItemsComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<QuantityItemsComponent, "ptech-quantity-items", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "quantity": { "alias": "quantity"; "required": false; }; }, { "quantityChange": "quantityChange"; }, never, never, true, never>;
27
- }
@@ -1 +0,0 @@
1
- export * from './radio-group-entity.component';
@@ -1,21 +0,0 @@
1
- import { ElementRef } 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 RadioGroupEntityComponent extends BaseField implements ControlValueAccessor {
6
- constructor(el: ElementRef<HTMLElement>);
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, { "property": { "alias": "property"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; }, {}, never, never, true, never>;
21
- }
@@ -1 +0,0 @@
1
- export * from './radio-group-enum.component';
@@ -1,33 +0,0 @@
1
- import { ElementRef, 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
- type EnumArray = Array<{
6
- key: any;
7
- value: any;
8
- }>;
9
- type EnumMap = Record<string, any>;
10
- export declare class RadioGroupEnumComponent extends BaseField implements ControlValueAccessor {
11
- constructor(el: ElementRef<HTMLElement>);
12
- /** 'row' (padrão) ou 'column' */
13
- orientation: 'row' | 'column';
14
- /** Pode ser: { KEY: 'Rótulo' } ou [{ key, value }] */
15
- enums: EnumArray | EnumMap;
16
- valueChange: EventEmitter<any>;
17
- private _val;
18
- onChange: (val: any) => void;
19
- onTouch: () => void;
20
- get value(): any;
21
- set value(v: any);
22
- writeValue(value: any): void;
23
- registerOnChange(fn: any): void;
24
- registerOnTouched(fn: any): void;
25
- setDisabledState(isDisabled: boolean): void;
26
- get items(): EnumArray;
27
- trackByKey: (_: number, item: {
28
- key: any;
29
- }) => any;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupEnumComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupEnumComponent, "ptech-radio-group-enum", never, { "orientation": { "alias": "orientation"; "required": false; }; "enums": { "alias": "enums"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
32
- }
33
- export {};
@@ -1 +0,0 @@
1
- export * from './select-entity.component';
@@ -1,44 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { BaseField } from '../../base/base-field';
4
- import * as i0 from "@angular/core";
5
- type Entity = Record<string, any>;
6
- export declare class SelectEntityComponent extends BaseField implements ControlValueAccessor, OnChanges {
7
- constructor(el: ElementRef<HTMLElement>);
8
- multiple: boolean;
9
- property: string;
10
- propertyEnum?: Record<string, any>;
11
- propertyFn?: (obj: any) => string;
12
- idProp: string;
13
- searchPlaceholder: string;
14
- multipleTriggerMax: number;
15
- entities: Entity[];
16
- selectClick: EventEmitter<MouseEvent>;
17
- selectionChange: EventEmitter<any>;
18
- loadingChange: EventEmitter<boolean>;
19
- filteredEntities: Entity[];
20
- model: any;
21
- searchText: string;
22
- private onTouched;
23
- private onChange;
24
- ngOnChanges(changes: SimpleChanges): void;
25
- writeValue(value: any): void;
26
- registerOnChange(fn: any): void;
27
- registerOnTouched(fn: any): void;
28
- setDisabledState(isDisabled: boolean): void;
29
- setValue(v: any): void;
30
- compareFn: (a: any, b: any) => boolean;
31
- trackById: (_: number, item: any) => any;
32
- isArray(v: any): v is any[];
33
- private filterModel;
34
- private displayOf;
35
- getPropertyValue(entity: any): string;
36
- private getDeep;
37
- private resolveId;
38
- displayMultipleTrigger(items: any[]): string;
39
- onSearch(value: string): void;
40
- emitClick(event: MouseEvent): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectEntityComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectEntityComponent, "ptech-select-entity", never, { "multiple": { "alias": "multiple"; "required": false; }; "property": { "alias": "property"; "required": false; }; "propertyEnum": { "alias": "propertyEnum"; "required": false; }; "propertyFn": { "alias": "propertyFn"; "required": false; }; "idProp": { "alias": "idProp"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "multipleTriggerMax": { "alias": "multipleTriggerMax"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; }, { "selectClick": "selectClick"; "selectionChange": "selectionChange"; "loadingChange": "loadingChange"; }, never, never, true, never>;
43
- }
44
- export {};
@@ -1 +0,0 @@
1
- export * from './select-enum.component';
@@ -1,29 +0,0 @@
1
- import { EventEmitter, ElementRef } 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 SelectEnumComponent extends BaseField implements ControlValueAccessor {
6
- constructor(el: ElementRef<HTMLElement>);
7
- multiple: boolean;
8
- enum: Record<string, any>;
9
- disabledOptions: string[];
10
- sort: (a: any, b: any) => number;
11
- labelMap: Record<string, string>;
12
- selectionChange: EventEmitter<any>;
13
- enumList: Array<{
14
- key: string;
15
- value: any;
16
- }>;
17
- private _val;
18
- get value(): any;
19
- set value(v: any);
20
- ngOnInit(): void;
21
- onSelectionChange(entity: any): void;
22
- private onChange;
23
- private onTouch;
24
- writeValue(value: any): void;
25
- registerOnChange(fn: any): void;
26
- registerOnTouched(fn: any): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectEnumComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectEnumComponent, "ptech-select-enum", never, { "multiple": { "alias": "multiple"; "required": false; }; "enum": { "alias": "enum"; "required": false; }; "disabledOptions": { "alias": "disabledOptions"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "labelMap": { "alias": "labelMap"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
29
- }
@@ -1 +0,0 @@
1
- export * from './slide-toggle.component';
@@ -1,35 +0,0 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { ThemePalette } from '@angular/material/core';
4
- import { BooleanInput } from '@angular/cdk/coercion';
5
- import { BaseField } from '../../base/base-field';
6
- import { MatFormFieldAppearance } from '@angular/material/form-field';
7
- import * as i0 from "@angular/core";
8
- export declare class SlideToggleComponent extends BaseField implements ControlValueAccessor {
9
- constructor(el: ElementRef<HTMLElement>);
10
- /** Aparência padronizada (mesmo que mat-slide-toggle não use diretamente) */
11
- appearance: MatFormFieldAppearance;
12
- /** 'primary' | 'accent' | 'warn' */
13
- color: ThemePalette;
14
- /** Posição do rótulo */
15
- labelPosition: 'before' | 'after';
16
- /** Ripple */
17
- static ngAcceptInputType_disableRipple: BooleanInput;
18
- private _disableRipple;
19
- get disableRipple(): boolean;
20
- set disableRipple(v: any);
21
- /** Emissão adicional */
22
- change: EventEmitter<boolean>;
23
- private _value;
24
- get value(): boolean;
25
- set value(v: boolean);
26
- onChange: (v: any) => void;
27
- onTouch: () => void;
28
- writeValue(v: any): void;
29
- registerOnChange(fn: any): void;
30
- registerOnTouched(fn: any): void;
31
- setDisabledState(isDisabled: boolean): void;
32
- onMatChange(checked: boolean): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<SlideToggleComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<SlideToggleComponent, "ptech-slide-toggle", never, { "appearance": { "alias": "appearance"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
35
- }
@@ -1 +0,0 @@
1
- export * from './table.component';
@@ -1,109 +0,0 @@
1
- import { SelectionModel } from '@angular/cdk/collections';
2
- import { AfterContentInit, EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
3
- import { BadgeVariant, BadgeSize, BadgePreset } from '../badge';
4
- import { TableCellDirective } from '../../directives/table-cell.directive';
5
- import * as i0 from "@angular/core";
6
- export type TableAlign = 'left' | 'center' | 'right';
7
- export type TableColType = 'text' | 'number' | 'date' | 'image' | 'badge';
8
- export interface TableBadgeConfig<T> {
9
- label: string | ((row: T) => string);
10
- /** Preset da lib ou qualquer CSS color (#hex, rgb, var(...)) */
11
- color?: BadgePreset | string | ((row: T) => BadgePreset | string);
12
- /** filled | outline | soft */
13
- variant?: BadgeVariant | ((row: T) => BadgeVariant);
14
- /** sm | md | lg */
15
- size?: BadgeSize | ((row: T) => BadgeSize);
16
- /** controla se o badge aparece para a linha */
17
- visible?: (row: T) => boolean;
18
- }
19
- export interface TableColumn<T> {
20
- key: string;
21
- header: string;
22
- type?: TableColType;
23
- align?: TableAlign;
24
- width?: string;
25
- /**
26
- * Para 'image': de onde tirar a URL/alt
27
- */
28
- imageKey?: keyof T | string;
29
- altKey?: keyof T | string;
30
- /**
31
- * Para text/number/date, permite customizar a célula
32
- */
33
- cell?: (row: T) => string | number | null | undefined;
34
- /**
35
- * Para colunas do tipo 'badge'
36
- * - pode ser um array fixo de configs
37
- * - ou uma função que recebe a linha e retorna os badges
38
- */
39
- badges?: TableBadgeConfig<T>[] | ((row: T) => TableBadgeConfig<T>[]);
40
- /** cor dinâmica para o texto */
41
- color?: string | ((row: T) => string);
42
- }
43
- export interface TableAction<T> {
44
- icon: string;
45
- tooltip?: string;
46
- color?: string;
47
- handler: (row: T) => void;
48
- /** controla se a ação aparece para a linha */
49
- visible?: (row: T) => boolean;
50
- }
51
- export declare class TableComponent<T> implements OnChanges, AfterContentInit {
52
- title: string;
53
- loading: boolean;
54
- data: T[];
55
- total: number;
56
- pageIndex: number;
57
- pageSize: number;
58
- pageSizeOptions: number[];
59
- columns: TableColumn<T>[];
60
- actions: TableAction<T>[];
61
- selectRow: boolean;
62
- selectMultipleRow: boolean;
63
- getRowId: (row: T) => string | number;
64
- /** imagem de fallback para <img> quebrada ou ausente */
65
- imageFallback: string;
66
- /** ativa visualização em cards no mobile */
67
- responsiveCards: boolean;
68
- selectedRows: EventEmitter<T[]>;
69
- selectedIds: EventEmitter<(string | number)[]>;
70
- page: EventEmitter<{
71
- pageIndex: number;
72
- pageSize: number;
73
- }>;
74
- displayedColumns: string[];
75
- selection: SelectionModel<T>;
76
- private selectedIdSet;
77
- cellTemplates: QueryList<TableCellDirective>;
78
- private cellTemplateMap;
79
- ngAfterContentInit(): void;
80
- private rebuildTemplateMap;
81
- getCellTemplate(key: string): TemplateRef<any> | null;
82
- ngOnChanges(changes: SimpleChanges): void;
83
- toggleAllRows(): void;
84
- /** Verifica se todas estão selecionadas */
85
- isAllSelected(): boolean;
86
- clearSelection(): void;
87
- /** Marca/desmarca uma linha */
88
- toggleRow(row: T): void;
89
- /** Emite o estado atual */
90
- private emitSelected;
91
- /** Verifica se uma linha está selecionada */
92
- isSelected(row: T): boolean;
93
- onPage(ev: any): void;
94
- renderCell(row: T, col: TableColumn<T>): any;
95
- resolveImage(row: T, col: TableColumn<T>): string | null;
96
- resolveAlt(row: T, col: TableColumn<T>): string | null;
97
- resolveColor(row: T, col: TableColumn<T>): string | null;
98
- read(obj: any, path: string): any;
99
- onImgError(ev: Event): void;
100
- /** BADGES: resolve a lista de badges para a linha+coluna */
101
- getBadges(row: T, col: TableColumn<T>): Array<{
102
- label: string;
103
- color: BadgePreset | string;
104
- variant: BadgeVariant;
105
- size: BadgeSize;
106
- }>;
107
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "ptech-table", never, { "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "selectRow": { "alias": "selectRow"; "required": false; }; "selectMultipleRow": { "alias": "selectMultipleRow"; "required": false; }; "getRowId": { "alias": "getRowId"; "required": false; }; "imageFallback": { "alias": "imageFallback"; "required": false; }; "responsiveCards": { "alias": "responsiveCards"; "required": false; }; }, { "selectedRows": "selectedRows"; "selectedIds": "selectedIds"; "page": "page"; }, ["cellTemplates"], ["[table-filters]", "[table-filters-actions]"], true, never>;
109
- }
@@ -1 +0,0 @@
1
- export * from './textarea.component';
@@ -1,29 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { MatFormFieldAppearance } from '@angular/material/form-field';
4
- import { BaseField } from '../../base/base-field';
5
- import * as i0 from "@angular/core";
6
- export declare class TextareaComponent extends BaseField implements ControlValueAccessor {
7
- constructor(el: ElementRef<HTMLElement>);
8
- taRef?: ElementRef<HTMLTextAreaElement>;
9
- maxlength: number | string;
10
- rows: number;
11
- appearance: MatFormFieldAppearance;
12
- tooltip: string;
13
- autocomplete: string;
14
- showCounter: boolean;
15
- resize: 'none' | 'vertical' | 'horizontal' | 'both';
16
- allowHorizontalResize: boolean;
17
- private _val;
18
- get value(): any;
19
- set value(v: any);
20
- onChange: any;
21
- onTouch: any;
22
- writeValue(value: any): void;
23
- registerOnChange(fn: any): void;
24
- registerOnTouched(fn: any): void;
25
- setDisabledState(isDisabled: boolean): void;
26
- get effectiveResize(): 'none' | 'vertical' | 'horizontal' | 'both';
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "ptech-textarea", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "showCounter": { "alias": "showCounter"; "required": false; }; "resize": { "alias": "resize"; "required": false; }; "allowHorizontalResize": { "alias": "allowHorizontalResize"; "required": false; }; }, {}, never, ["mat-hint, [mat-hint], mat-error, [mat-error]"], true, never>;
29
- }
@@ -1 +0,0 @@
1
- export * from './title.component';
@@ -1,11 +0,0 @@
1
- import { OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TitleComponent implements OnChanges {
4
- private cd;
5
- title: string;
6
- subtitle: string;
7
- constructor(cd: ChangeDetectorRef);
8
- ngOnChanges(changes: SimpleChanges): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TitleComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TitleComponent, "ptech-title", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, {}, never, ["*"], true, never>;
11
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ClickCatcherDirective {
3
- onClick(id: any): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ClickCatcherDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClickCatcherDirective, "[ptechClickCatcher]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DateMaskDirective {
3
- onInputChange(event: Event): void;
4
- onKeyDown(event: KeyboardEvent): void;
5
- private applyMask;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DateMaskDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<DateMaskDirective, "[ptechDateMask]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,8 +0,0 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DynamicTabDirective {
4
- viewContainer: ViewContainerRef;
5
- constructor(viewContainer: ViewContainerRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTabDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicTabDirective, "[ptechDynamicTab]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,12 +0,0 @@
1
- import { OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ForDirective implements OnChanges {
4
- private container;
5
- private template;
6
- numbers: any[];
7
- constructor(container: ViewContainerRef, template: TemplateRef<any>);
8
- ngOnChanges(changes: SimpleChanges): void;
9
- private render;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ForDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<ForDirective, "[ptechFor]", never, { "numbers": { "alias": "ptechForEm"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,11 +0,0 @@
1
- export * from './upper-case.directive';
2
- export * from './lower-case.directive';
3
- export * from './red.directive';
4
- export * from './click-catcher.directive';
5
- export * from './for.directive';
6
- export * from './space-drop.directive';
7
- export * from './date-mask.directive';
8
- export * from './phone-mask-brazil.directive';
9
- export * from './phone-mask-spain.directive';
10
- export * from './dynamic-tab.directive';
11
- export * from './table-cell.directive';
@@ -1,12 +0,0 @@
1
- import { NgControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class LowerCaseDirective {
4
- ngControl: NgControl;
5
- enabledLowerCase: boolean;
6
- constructor(ngControl: NgControl);
7
- onModelChange(event: string): void;
8
- onInput(event: Event): void;
9
- private apply;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<LowerCaseDirective, [{ optional: true; }]>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<LowerCaseDirective, "[ptechLowerCase]", never, { "enabledLowerCase": { "alias": "ptechLowerCase"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,11 +0,0 @@
1
- import { NgControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class PhoneMaskBrazilDirective {
4
- ngControl: NgControl;
5
- constructor(ngControl: NgControl);
6
- onModelChange(event: string): void;
7
- onBackspace(event: KeyboardEvent): void;
8
- private apply;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskBrazilDirective, [{ optional: true; }]>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskBrazilDirective, "[ptechPhoneMaskBrazil]", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,11 +0,0 @@
1
- import { NgControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class PhoneMaskSpainDirective {
4
- ngControl: NgControl;
5
- constructor(ngControl: NgControl);
6
- onModelChange(event: string): void;
7
- onBackspace(event: KeyboardEvent): void;
8
- private apply;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskSpainDirective, [{ optional: true; }]>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskSpainDirective, "[ptechPhoneMaskSpain]", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,9 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class RedDirective {
4
- private el;
5
- private renderer;
6
- constructor(el: ElementRef, renderer: Renderer2);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<RedDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<RedDirective, "[ptechRed]", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,12 +0,0 @@
1
- import { NgControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class SpaceDropDirective {
4
- ngControl: NgControl;
5
- enabled: boolean;
6
- constructor(ngControl: NgControl);
7
- onModelChange(value: string): void;
8
- onInput(event: Event): void;
9
- private apply;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SpaceDropDirective, [{ optional: true; }]>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<SpaceDropDirective, "[ptechSpaceDrop]", never, { "enabled": { "alias": "ptechSpaceDrop"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,9 +0,0 @@
1
- import { TemplateRef } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class TableCellDirective {
4
- template: TemplateRef<any>;
5
- columnKey: string;
6
- constructor(template: TemplateRef<any>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TableCellDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableCellDirective, "ng-template[tableCell]", never, { "columnKey": { "alias": "tableCell"; "required": false; }; }, {}, never, never, true, never>;
9
- }
@@ -1,12 +0,0 @@
1
- import { NgControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class UpperCaseDirective {
4
- ngControl: NgControl;
5
- enabledUpperCase: boolean;
6
- constructor(ngControl: NgControl);
7
- onModelChange(event: string): void;
8
- onInput(event: Event): void;
9
- private apply;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<UpperCaseDirective, [{ optional: true; }]>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<UpperCaseDirective, "[ptechUpperCase]", never, { "enabledUpperCase": { "alias": "ptechUpperCase"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,34 +0,0 @@
1
- import { ElementRef, NgZone, OnDestroy } from '@angular/core';
2
- import { BreakpointObserver } from '@angular/cdk/layout';
3
- import * as i0 from "@angular/core";
4
- export declare class PtechColDirective implements OnDestroy {
5
- private el;
6
- private ngZone;
7
- private bp;
8
- private destroy$;
9
- private ro?;
10
- private roScheduled;
11
- private lastSpan;
12
- /** Controla de onde vêm os breakpoints (viewport ou container). */
13
- ptechColMode: 'viewport' | 'container' | 'auto';
14
- private _col;
15
- set ptechCol(v: number | string | null | undefined);
16
- ptechColXs?: number | string;
17
- ptechColSm?: number | string;
18
- ptechColMd?: number | string;
19
- ptechColLg?: number | string;
20
- ptechColXl?: number | string;
21
- private activeBp;
22
- private activeSource;
23
- gridColumn: string;
24
- minWidth: string;
25
- constructor(el: ElementRef<HTMLElement>, ngZone: NgZone, bp: BreakpointObserver);
26
- ngOnDestroy(): void;
27
- private findGridParent;
28
- private pickActive;
29
- private updateSpan;
30
- private resolveColForBp;
31
- private asNum;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<PtechColDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<PtechColDirective, "[ptechCol]", never, { "ptechColMode": { "alias": "ptechColMode"; "required": false; }; "ptechCol": { "alias": "ptechCol"; "required": false; }; "ptechColXs": { "alias": "ptechColXs"; "required": false; }; "ptechColSm": { "alias": "ptechColSm"; "required": false; }; "ptechColMd": { "alias": "ptechColMd"; "required": false; }; "ptechColLg": { "alias": "ptechColLg"; "required": false; }; "ptechColXl": { "alias": "ptechColXl"; "required": false; }; }, {}, never, never, true, never>;
34
- }
@@ -1,32 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { BreakpointObserver } from '@angular/cdk/layout';
3
- import { BooleanInput } from '@angular/cdk/coercion';
4
- import * as i0 from "@angular/core";
5
- export declare class PtechGridDirective implements OnDestroy {
6
- private bp;
7
- private destroy$;
8
- private _cols;
9
- set ptechCols(v: number | string | null | undefined);
10
- ptechColsXs?: number | string;
11
- ptechColsSm?: number | string;
12
- ptechColsMd?: number | string;
13
- ptechColsLg?: number | string;
14
- ptechColsXl?: number | string;
15
- private _gapPx;
16
- set ptechGap(v: number | string | null | undefined);
17
- get gapCss(): string;
18
- static ngAcceptInputType_ptechVertical: BooleanInput;
19
- private _vertical;
20
- set ptechVertical(v: any);
21
- display: string;
22
- columns: string;
23
- private activeBp;
24
- constructor(bp: BreakpointObserver);
25
- ngOnDestroy(): void;
26
- private pickActive;
27
- private updateCols;
28
- private resolveColsForBp;
29
- private asNum;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<PtechGridDirective, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<PtechGridDirective, "[ptechGrid]", never, { "ptechCols": { "alias": "ptechCols"; "required": false; }; "ptechColsXs": { "alias": "ptechColsXs"; "required": false; }; "ptechColsSm": { "alias": "ptechColsSm"; "required": false; }; "ptechColsMd": { "alias": "ptechColsMd"; "required": false; }; "ptechColsLg": { "alias": "ptechColsLg"; "required": false; }; "ptechColsXl": { "alias": "ptechColsXl"; "required": false; }; "ptechGap": { "alias": "ptechGap"; "required": false; }; "ptechVertical": { "alias": "ptechVertical"; "required": false; }; }, {}, never, never, true, never>;
32
- }