info-library 2.15.1-beta → 3.0.0-beta

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 (184) hide show
  1. package/controls/alert/alert.component.d.ts +7 -7
  2. package/controls/autocomplete/autocomplete.component.d.ts +52 -51
  3. package/controls/big-checkbox/big-checkbox.component.d.ts +41 -41
  4. package/controls/card/card.component.d.ts +16 -16
  5. package/controls/card-menu/card-menu.component.d.ts +23 -23
  6. package/controls/checkbox/checkbox.component.d.ts +27 -27
  7. package/controls/chips/chips.component.d.ts +23 -23
  8. package/controls/date/date.component.d.ts +38 -37
  9. package/controls/date-month/date-month.component.d.ts +40 -39
  10. package/controls/editor/editor.component.d.ts +40 -40
  11. package/controls/grid/grid.component.d.ts +172 -172
  12. package/controls/input/input.component.d.ts +47 -37
  13. package/controls/input-list/input-list.component.d.ts +29 -29
  14. package/controls/list-checkbox/list-checkbox.component.d.ts +26 -26
  15. package/controls/message/message.component.d.ts +10 -10
  16. package/controls/multi-select/multi-select.component.d.ts +39 -37
  17. package/controls/paginator/paginator.component.d.ts +25 -25
  18. package/controls/select/select.component.d.ts +42 -41
  19. package/controls/timeline/timeline.component.d.ts +17 -17
  20. package/directives/mask.directive.d.ts +24 -24
  21. package/directives/unmask.directive.d.ts +12 -11
  22. package/enum/dialog-buttons.enum.d.ts +7 -7
  23. package/enum/index.d.ts +3 -3
  24. package/enum/modal-action.enum.d.ts +10 -10
  25. package/enum/page-action.enum.d.ts +8 -8
  26. package/esm2022/controls/alert/alert.component.mjs +72 -0
  27. package/esm2022/controls/autocomplete/autocomplete.component.mjs +265 -0
  28. package/esm2022/controls/big-checkbox/big-checkbox.component.mjs +300 -0
  29. package/esm2022/controls/card/card.component.mjs +83 -0
  30. package/esm2022/controls/card-menu/card-menu.component.mjs +143 -0
  31. package/esm2022/controls/checkbox/checkbox.component.mjs +93 -0
  32. package/esm2022/controls/chips/chips.component.mjs +114 -0
  33. package/esm2022/controls/date/date.component.mjs +173 -0
  34. package/esm2022/controls/date-month/date-month.component.mjs +181 -0
  35. package/esm2022/controls/editor/editor.component.mjs +139 -0
  36. package/esm2022/controls/grid/grid.component.mjs +1818 -0
  37. package/esm2022/controls/input/input.component.mjs +389 -0
  38. package/esm2022/controls/input-list/input-list.component.mjs +259 -0
  39. package/{esm2020 → esm2022}/controls/list-checkbox/list-checkbox.component.mjs +242 -238
  40. package/esm2022/controls/message/message.component.mjs +48 -0
  41. package/esm2022/controls/multi-select/multi-select.component.mjs +174 -0
  42. package/esm2022/controls/paginator/paginator.component.mjs +177 -0
  43. package/esm2022/controls/select/select.component.mjs +189 -0
  44. package/esm2022/controls/timeline/timeline.component.mjs +116 -0
  45. package/esm2022/directives/mask.directive.mjs +134 -0
  46. package/esm2022/directives/unmask.directive.mjs +35 -0
  47. package/{esm2020 → esm2022}/enum/dialog-buttons.enum.mjs +8 -8
  48. package/{esm2020 → esm2022}/enum/index.mjs +3 -3
  49. package/{esm2020 → esm2022}/enum/modal-action.enum.mjs +11 -11
  50. package/{esm2020 → esm2022}/enum/page-action.enum.mjs +9 -9
  51. package/{esm2020 → esm2022}/global-config.mjs +3 -3
  52. package/{esm2020 → esm2022}/info-library.mjs +4 -4
  53. package/esm2022/info-library.module.mjs +283 -0
  54. package/esm2022/layouts/dialog/dialog.component.mjs +192 -0
  55. package/esm2022/layouts/filter/filter.component.mjs +179 -0
  56. package/esm2022/layouts/loading/loading.component.mjs +40 -0
  57. package/esm2022/layouts/main/main.component.mjs +305 -0
  58. package/esm2022/layouts/modal/modal.component.mjs +273 -0
  59. package/esm2022/layouts/pagebar/pagebar.component.mjs +432 -0
  60. package/esm2022/layouts/sidebar/sidebar.component.mjs +447 -0
  61. package/esm2022/layouts/topbar/topbar.component.mjs +1032 -0
  62. package/esm2022/layouts/topmenu/topmenu.component.mjs +173 -0
  63. package/esm2022/model/app-config.model.mjs +14 -0
  64. package/esm2022/model/data-access.model.mjs +37 -0
  65. package/esm2022/model/dialog-result.model.mjs +9 -0
  66. package/esm2022/model/dialog.model.mjs +15 -0
  67. package/esm2022/model/form-prop.model.mjs +37 -0
  68. package/esm2022/model/grid-button.model.mjs +26 -0
  69. package/{esm2020 → esm2022}/model/index.mjs +14 -14
  70. package/esm2022/model/last-search.model.mjs +7 -0
  71. package/esm2022/model/login.model.mjs +11 -0
  72. package/esm2022/model/method-grid-button.model.mjs +11 -0
  73. package/esm2022/model/notification.model.mjs +13 -0
  74. package/{esm2020 → esm2022}/model/pagebar-buttons.model.mjs +15 -15
  75. package/esm2022/model/permission.model.mjs +6 -0
  76. package/esm2022/model/platform.model.mjs +20 -0
  77. package/esm2022/model/session.model.mjs +27 -0
  78. package/{esm2020 → esm2022}/pipe/index.mjs +2 -2
  79. package/esm2022/pipe/mask.pipe.mjs +38 -0
  80. package/esm2022/pipe/translate.pipe.mjs +27 -0
  81. package/{esm2020 → esm2022}/public_api.mjs +37 -36
  82. package/esm2022/service/authentication.service.mjs +411 -0
  83. package/esm2022/service/configuration.service.mjs +90 -0
  84. package/esm2022/service/data.service.mjs +129 -0
  85. package/{esm2020 → esm2022}/service/index.mjs +5 -5
  86. package/esm2022/service/theme.service.mjs +89 -0
  87. package/esm2022/service/translate.service.mjs +57 -0
  88. package/esm2022/utils/utilities.mjs +189 -0
  89. package/fesm2022/info-library.mjs +9364 -0
  90. package/fesm2022/info-library.mjs.map +1 -0
  91. package/global-config.d.ts +3 -3
  92. package/index.d.ts +5 -5
  93. package/info-library-3.0.0-beta.tgz +0 -0
  94. package/info-library.module.d.ts +61 -60
  95. package/layouts/dialog/dialog.component.d.ts +29 -29
  96. package/layouts/filter/filter.component.d.ts +24 -0
  97. package/layouts/loading/loading.component.d.ts +8 -8
  98. package/layouts/main/main.component.d.ts +60 -56
  99. package/layouts/modal/modal.component.d.ts +40 -39
  100. package/layouts/pagebar/pagebar.component.d.ts +45 -45
  101. package/layouts/sidebar/sidebar.component.d.ts +40 -40
  102. package/layouts/topbar/topbar.component.d.ts +69 -66
  103. package/layouts/topmenu/topmenu.component.d.ts +34 -34
  104. package/model/app-config.model.d.ts +13 -11
  105. package/model/data-access.model.d.ts +12 -12
  106. package/model/dialog-result.model.d.ts +6 -6
  107. package/model/dialog.model.d.ts +14 -14
  108. package/model/form-prop.model.d.ts +12 -12
  109. package/model/grid-button.model.d.ts +18 -18
  110. package/model/index.d.ts +14 -14
  111. package/model/last-search.model.d.ts +6 -6
  112. package/model/login.model.d.ts +6 -6
  113. package/model/method-grid-button.model.d.ts +6 -6
  114. package/model/notification.model.d.ts +12 -12
  115. package/model/pagebar-buttons.model.d.ts +10 -10
  116. package/model/permission.model.d.ts +5 -5
  117. package/model/platform.model.d.ts +16 -16
  118. package/model/session.model.d.ts +27 -22
  119. package/package.json +5 -11
  120. package/pipe/index.d.ts +2 -2
  121. package/pipe/mask.pipe.d.ts +8 -8
  122. package/pipe/translate.pipe.d.ts +10 -10
  123. package/public_api.d.ts +34 -33
  124. package/service/authentication.service.d.ts +63 -61
  125. package/service/configuration.service.d.ts +17 -14
  126. package/service/data.service.d.ts +41 -39
  127. package/service/index.d.ts +5 -5
  128. package/service/theme.service.d.ts +16 -16
  129. package/service/translate.service.d.ts +16 -16
  130. package/utils/utilities.d.ts +38 -27
  131. package/esm2020/controls/alert/alert.component.mjs +0 -74
  132. package/esm2020/controls/autocomplete/autocomplete.component.mjs +0 -258
  133. package/esm2020/controls/big-checkbox/big-checkbox.component.mjs +0 -298
  134. package/esm2020/controls/card/card.component.mjs +0 -77
  135. package/esm2020/controls/card-menu/card-menu.component.mjs +0 -145
  136. package/esm2020/controls/checkbox/checkbox.component.mjs +0 -93
  137. package/esm2020/controls/chips/chips.component.mjs +0 -113
  138. package/esm2020/controls/date/date.component.mjs +0 -141
  139. package/esm2020/controls/date-month/date-month.component.mjs +0 -148
  140. package/esm2020/controls/editor/editor.component.mjs +0 -135
  141. package/esm2020/controls/grid/grid.component.mjs +0 -1800
  142. package/esm2020/controls/input/input.component.mjs +0 -314
  143. package/esm2020/controls/input-list/input-list.component.mjs +0 -258
  144. package/esm2020/controls/message/message.component.mjs +0 -50
  145. package/esm2020/controls/multi-select/multi-select.component.mjs +0 -161
  146. package/esm2020/controls/paginator/paginator.component.mjs +0 -178
  147. package/esm2020/controls/select/select.component.mjs +0 -180
  148. package/esm2020/controls/timeline/timeline.component.mjs +0 -117
  149. package/esm2020/directives/mask.directive.mjs +0 -125
  150. package/esm2020/directives/unmask.directive.mjs +0 -28
  151. package/esm2020/info-library.module.mjs +0 -278
  152. package/esm2020/layouts/dialog/dialog.component.mjs +0 -188
  153. package/esm2020/layouts/loading/loading.component.mjs +0 -42
  154. package/esm2020/layouts/main/main.component.mjs +0 -258
  155. package/esm2020/layouts/modal/modal.component.mjs +0 -258
  156. package/esm2020/layouts/pagebar/pagebar.component.mjs +0 -404
  157. package/esm2020/layouts/sidebar/sidebar.component.mjs +0 -395
  158. package/esm2020/layouts/topbar/topbar.component.mjs +0 -868
  159. package/esm2020/layouts/topmenu/topmenu.component.mjs +0 -165
  160. package/esm2020/model/app-config.model.mjs +0 -14
  161. package/esm2020/model/data-access.model.mjs +0 -35
  162. package/esm2020/model/dialog-result.model.mjs +0 -8
  163. package/esm2020/model/dialog.model.mjs +0 -16
  164. package/esm2020/model/form-prop.model.mjs +0 -35
  165. package/esm2020/model/grid-button.model.mjs +0 -21
  166. package/esm2020/model/last-search.model.mjs +0 -9
  167. package/esm2020/model/login.model.mjs +0 -9
  168. package/esm2020/model/method-grid-button.model.mjs +0 -9
  169. package/esm2020/model/notification.model.mjs +0 -9
  170. package/esm2020/model/permission.model.mjs +0 -3
  171. package/esm2020/model/platform.model.mjs +0 -21
  172. package/esm2020/model/session.model.mjs +0 -8
  173. package/esm2020/pipe/mask.pipe.mjs +0 -34
  174. package/esm2020/pipe/translate.pipe.mjs +0 -26
  175. package/esm2020/service/authentication.service.mjs +0 -358
  176. package/esm2020/service/configuration.service.mjs +0 -59
  177. package/esm2020/service/data.service.mjs +0 -112
  178. package/esm2020/service/theme.service.mjs +0 -79
  179. package/esm2020/service/translate.service.mjs +0 -53
  180. package/esm2020/utils/utilities.mjs +0 -142
  181. package/fesm2015/info-library.mjs +0 -9312
  182. package/fesm2015/info-library.mjs.map +0 -1
  183. package/fesm2020/info-library.mjs +0 -8462
  184. package/fesm2020/info-library.mjs.map +0 -1
@@ -1,37 +1,39 @@
1
- import { OnInit, EventEmitter } from "@angular/core";
2
- import { ControlValueAccessor } from "@angular/forms";
3
- import { InfoDataService } from "../../service/data.service";
4
- import * as i0 from "@angular/core";
5
- export declare class InfoMultiSelectComponent implements OnInit, ControlValueAccessor {
6
- private _dataAcessService;
7
- placeholder: string;
8
- name: string;
9
- required: any;
10
- selectfirst: boolean;
11
- disablednoregisters: boolean;
12
- api: any;
13
- method: string;
14
- loading: boolean;
15
- disabled: boolean;
16
- onselecteditem: EventEmitter<any>;
17
- selectedValues: any[];
18
- onChange: any;
19
- onTouched: any;
20
- private initialized;
21
- _params: string;
22
- get params(): string;
23
- set params(value: string);
24
- _data: any;
25
- get data(): any;
26
- set data(value: any);
27
- constructor(_dataAcessService: InfoDataService);
28
- ngOnInit(): void;
29
- writeValue(value: any): void;
30
- getData(): void;
31
- onChangeValue(): void;
32
- registerOnChange(fn: any): void;
33
- registerOnTouched(fn: any): void;
34
- setDisabledState?(isDisabled: boolean): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoMultiSelectComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoMultiSelectComponent, "info-multi-select", never, { "placeholder": "placeholder"; "name": "name"; "required": "required"; "selectfirst": "selectfirst"; "disablednoregisters": "disablednoregisters"; "api": "api"; "method": "method"; "loading": "loading"; "disabled": "disabled"; "params": "params"; "data": "data"; }, { "onselecteditem": "onselecteditem"; }, never, never, false, never>;
37
- }
1
+ import { OnInit, EventEmitter } from "@angular/core";
2
+ import { ControlValueAccessor } from "@angular/forms";
3
+ import { InfoDataService } from "../../service/data.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class InfoMultiSelectComponent implements OnInit, ControlValueAccessor {
6
+ private _dataAcessService;
7
+ placeholder: string;
8
+ name: string;
9
+ required: any;
10
+ selectfirst: boolean;
11
+ disablednoregisters: boolean;
12
+ api: any;
13
+ method: string;
14
+ loading: boolean;
15
+ disabled: boolean;
16
+ notranslate: any;
17
+ notoken: boolean;
18
+ onselecteditem: EventEmitter<any>;
19
+ selectedValues: any[];
20
+ onChange: any;
21
+ onTouched: any;
22
+ private initialized;
23
+ _params: string;
24
+ get params(): string;
25
+ set params(value: string);
26
+ _data: any;
27
+ get data(): any;
28
+ set data(value: any);
29
+ constructor(_dataAcessService: InfoDataService);
30
+ ngOnInit(): void;
31
+ writeValue(value: any): void;
32
+ getData(): void;
33
+ onChangeValue(): void;
34
+ registerOnChange(fn: any): void;
35
+ registerOnTouched(fn: any): void;
36
+ setDisabledState?(isDisabled: boolean): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoMultiSelectComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoMultiSelectComponent, "info-multi-select", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectfirst": { "alias": "selectfirst"; "required": false; }; "disablednoregisters": { "alias": "disablednoregisters"; "required": false; }; "api": { "alias": "api"; "required": false; }; "method": { "alias": "method"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "notranslate": { "alias": "notranslate"; "required": false; }; "notoken": { "alias": "notoken"; "required": false; }; "params": { "alias": "params"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onselecteditem": "onselecteditem"; }, never, never, false, never>;
39
+ }
@@ -1,25 +1,25 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class InfoPaginatorComponent {
4
- size: number;
5
- min: boolean;
6
- show: boolean;
7
- index: number;
8
- change: EventEmitter<number>;
9
- _total: number;
10
- get total(): number;
11
- set total(value: number);
12
- onChange: any;
13
- indexActive: number;
14
- numberPages: number;
15
- pages: any[];
16
- totalDescription: string;
17
- refresh(total: number): void;
18
- initialize(): void;
19
- goto(index: number): void;
20
- next(): void;
21
- previous(): void;
22
- setDescription(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoPaginatorComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoPaginatorComponent, "info-paginator", never, { "size": "size"; "min": "min"; "show": "show"; "total": "total"; }, { "index": "index"; "change": "change"; }, never, never, false, never>;
25
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfoPaginatorComponent {
4
+ size: number;
5
+ min: boolean;
6
+ show: boolean;
7
+ index: number;
8
+ change: EventEmitter<number>;
9
+ _total: number;
10
+ get total(): number;
11
+ set total(value: number);
12
+ onChange: any;
13
+ indexActive: number;
14
+ numberPages: number;
15
+ pages: any[];
16
+ totalDescription: string;
17
+ refresh(total: number): void;
18
+ initialize(): void;
19
+ goto(index: number): void;
20
+ next(): void;
21
+ previous(): void;
22
+ setDescription(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoPaginatorComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoPaginatorComponent, "info-paginator", never, { "size": { "alias": "size"; "required": false; }; "min": { "alias": "min"; "required": false; }; "show": { "alias": "show"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, { "index": "index"; "change": "change"; }, never, never, false, never>;
25
+ }
@@ -1,41 +1,42 @@
1
- import { OnInit, EventEmitter } from "@angular/core";
2
- import { ControlValueAccessor } from "@angular/forms";
3
- import { InfoDataService } from "../../service/data.service";
4
- import * as i0 from "@angular/core";
5
- export declare class InfoSelectComponent implements OnInit, ControlValueAccessor {
6
- private _dataAcessService;
7
- placeholder: string;
8
- name: string;
9
- required: any;
10
- selectfirst: boolean;
11
- disablednoregisters: boolean;
12
- api: any;
13
- method: string;
14
- blank: boolean;
15
- blankItem: any;
16
- loading: boolean;
17
- disabled: boolean;
18
- notranslate: any;
19
- onselecteditem: EventEmitter<any>;
20
- selectedValue: any;
21
- translatValue: boolean;
22
- onChange: any;
23
- onTouched: any;
24
- private initialized;
25
- _params: string;
26
- get params(): string;
27
- set params(value: string);
28
- _data: any;
29
- get data(): any;
30
- set data(value: any);
31
- constructor(_dataAcessService: InfoDataService);
32
- ngOnInit(): void;
33
- writeValue(value: any): void;
34
- getData(): void;
35
- onChangeValue(): void;
36
- registerOnChange(fn: any): void;
37
- registerOnTouched(fn: any): void;
38
- setDisabledState?(isDisabled: boolean): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoSelectComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoSelectComponent, "info-select", never, { "placeholder": "placeholder"; "name": "name"; "required": "required"; "selectfirst": "selectfirst"; "disablednoregisters": "disablednoregisters"; "api": "api"; "method": "method"; "blank": "blank"; "blankItem": "blankItem"; "loading": "loading"; "disabled": "disabled"; "notranslate": "notranslate"; "params": "params"; "data": "data"; }, { "onselecteditem": "onselecteditem"; }, never, never, false, never>;
41
- }
1
+ import { OnInit, EventEmitter } from "@angular/core";
2
+ import { ControlValueAccessor } from "@angular/forms";
3
+ import { InfoDataService } from "../../service/data.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class InfoSelectComponent implements OnInit, ControlValueAccessor {
6
+ private _dataAcessService;
7
+ placeholder: string;
8
+ name: string;
9
+ required: any;
10
+ selectfirst: boolean;
11
+ disablednoregisters: boolean;
12
+ api: any;
13
+ method: string;
14
+ blank: boolean;
15
+ blankItem: any;
16
+ loading: boolean;
17
+ disabled: boolean;
18
+ notranslate: any;
19
+ notoken: boolean;
20
+ onselecteditem: EventEmitter<any>;
21
+ selectedValue: any;
22
+ translatValue: boolean;
23
+ onChange: any;
24
+ onTouched: any;
25
+ private initialized;
26
+ _params: string;
27
+ get params(): string;
28
+ set params(value: string);
29
+ _data: any;
30
+ get data(): any;
31
+ set data(value: any);
32
+ constructor(_dataAcessService: InfoDataService);
33
+ ngOnInit(): void;
34
+ writeValue(value: any): void;
35
+ getData(): void;
36
+ onChangeValue(): void;
37
+ registerOnChange(fn: any): void;
38
+ registerOnTouched(fn: any): void;
39
+ setDisabledState?(isDisabled: boolean): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoSelectComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoSelectComponent, "info-select", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectfirst": { "alias": "selectfirst"; "required": false; }; "disablednoregisters": { "alias": "disablednoregisters"; "required": false; }; "api": { "alias": "api"; "required": false; }; "method": { "alias": "method"; "required": false; }; "blank": { "alias": "blank"; "required": false; }; "blankItem": { "alias": "blankItem"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "notranslate": { "alias": "notranslate"; "required": false; }; "notoken": { "alias": "notoken"; "required": false; }; "params": { "alias": "params"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "onselecteditem": "onselecteditem"; }, never, never, false, never>;
42
+ }
@@ -1,17 +1,17 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class InfoTimelineComponent implements OnInit {
4
- showdate: boolean;
5
- align: string;
6
- style: any;
7
- label: string;
8
- data: any[];
9
- alignLeft: boolean;
10
- alignCenter: boolean;
11
- alignRight: boolean;
12
- alignBetween: boolean;
13
- constructor();
14
- ngOnInit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoTimelineComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoTimelineComponent, "info-timeline", never, { "showdate": "showdate"; "align": "align"; "style": "style"; "label": "label"; "data": "data"; }, {}, never, never, false, never>;
17
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InfoTimelineComponent implements OnInit {
4
+ showdate: boolean;
5
+ align: string;
6
+ style: any;
7
+ label: string;
8
+ data: any[];
9
+ alignLeft: boolean;
10
+ alignCenter: boolean;
11
+ alignRight: boolean;
12
+ alignBetween: boolean;
13
+ constructor();
14
+ ngOnInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoTimelineComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoTimelineComponent, "info-timeline", never, { "showdate": { "alias": "showdate"; "required": false; }; "align": { "alias": "align"; "required": false; }; "style": { "alias": "style"; "required": false; }; "label": { "alias": "label"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
@@ -1,24 +1,24 @@
1
- import { ElementRef, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class InfoMaskDirective implements ControlValueAccessor, OnChanges {
5
- private renderer;
6
- private element;
7
- private maskInputElement;
8
- private inputElement;
9
- private lastValue;
10
- private mask;
11
- maskType: any;
12
- _onTouched: () => void;
13
- _onChange: (_: any) => void;
14
- constructor(renderer: Renderer2, element: ElementRef);
15
- ngOnChanges(changes: SimpleChanges): void;
16
- writeValue(value: any): void;
17
- registerOnChange(fn: (value: any) => any): void;
18
- registerOnTouched(fn: () => any): void;
19
- setDisabledState(isDisabled: boolean): void;
20
- onInput(value: any): void;
21
- private setupMask;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoMaskDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<InfoMaskDirective, "[setmask]", never, { "maskType": "setmask"; }, {}, never, never, false, never>;
24
- }
1
+ import { ElementRef, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InfoMaskDirective implements ControlValueAccessor, OnChanges {
5
+ private renderer;
6
+ private element;
7
+ private maskInputElement;
8
+ private inputElement;
9
+ private lastValue;
10
+ private mask;
11
+ maskType: any;
12
+ _onTouched: () => void;
13
+ _onChange: (_: any) => void;
14
+ constructor(renderer: Renderer2, element: ElementRef);
15
+ ngOnChanges(changes: SimpleChanges): void;
16
+ writeValue(value: any): void;
17
+ registerOnChange(fn: (value: any) => any): void;
18
+ registerOnTouched(fn: () => any): void;
19
+ setDisabledState(isDisabled: boolean): void;
20
+ onInput(value: any): void;
21
+ private setupMask;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoMaskDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InfoMaskDirective, "[setmask]", never, { "maskType": { "alias": "setmask"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -1,11 +1,12 @@
1
- import { ElementRef } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class InfoUnmaskDirective {
5
- private elementRef;
6
- private model;
7
- constructor(elementRef: ElementRef, model: NgControl);
8
- inputChange(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoUnmaskDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<InfoUnmaskDirective, "[unmask]", never, {}, {}, never, never, false, never>;
11
- }
1
+ import { ElementRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InfoUnmaskDirective {
5
+ private elementRef;
6
+ private model;
7
+ maskType: string;
8
+ constructor(elementRef: ElementRef, model: NgControl);
9
+ inputChange(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoUnmaskDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InfoUnmaskDirective, "[unmask]", never, { "maskType": { "alias": "unmask"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -1,7 +1,7 @@
1
- export declare enum InfoDialogButtons {
2
- Ok = 0,
3
- Cancel = 1,
4
- Yes = 2,
5
- No = 3,
6
- Aux = 4
7
- }
1
+ export declare enum InfoDialogButtons {
2
+ Ok = 0,
3
+ Cancel = 1,
4
+ Yes = 2,
5
+ No = 3,
6
+ Aux = 4
7
+ }
package/enum/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { InfoDialogButtons } from './dialog-buttons.enum';
2
- export { InfoModalAction } from './modal-action.enum';
3
- export { InfoPageAction } from './page-action.enum';
1
+ export { InfoDialogButtons } from './dialog-buttons.enum';
2
+ export { InfoModalAction } from './modal-action.enum';
3
+ export { InfoPageAction } from './page-action.enum';
@@ -1,10 +1,10 @@
1
- export declare enum InfoModalAction {
2
- None = 0,
3
- Ok = 1,
4
- Yes = 2,
5
- No = 3,
6
- Cancel = 4,
7
- Save = 5,
8
- Special = 6,
9
- Aux = 7
10
- }
1
+ export declare enum InfoModalAction {
2
+ None = 0,
3
+ Ok = 1,
4
+ Yes = 2,
5
+ No = 3,
6
+ Cancel = 4,
7
+ Save = 5,
8
+ Special = 6,
9
+ Aux = 7
10
+ }
@@ -1,8 +1,8 @@
1
- export declare enum InfoPageAction {
2
- None = -1,
3
- View = 0,
4
- New = 1,
5
- Edit = 2,
6
- Delete = 3,
7
- Search = 4
8
- }
1
+ export declare enum InfoPageAction {
2
+ None = -1,
3
+ View = 0,
4
+ New = 1,
5
+ Edit = 2,
6
+ Delete = 3,
7
+ Search = 4
8
+ }
@@ -0,0 +1,72 @@
1
+ import { Component, Input } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/material/icon";
5
+ import * as i3 from "../../pipe/translate.pipe";
6
+ function InfoAlertComponent_div_0_li_8_Template(rf, ctx) { if (rf & 1) {
7
+ i0.ɵɵelementStart(0, "li")(1, "mat-icon");
8
+ i0.ɵɵtext(2, "error");
9
+ i0.ɵɵelementEnd();
10
+ i0.ɵɵelement(3, "label", 6);
11
+ i0.ɵɵpipe(4, "translate");
12
+ i0.ɵɵelementEnd();
13
+ } if (rf & 2) {
14
+ const m_r3 = ctx.$implicit;
15
+ i0.ɵɵadvance(3);
16
+ i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(4, 1, m_r3), i0.ɵɵsanitizeHtml);
17
+ } }
18
+ function InfoAlertComponent_div_0_Template(rf, ctx) { if (rf & 1) {
19
+ const _r5 = i0.ɵɵgetCurrentView();
20
+ i0.ɵɵelementStart(0, "div")(1, "div", 1, 2)(3, "h5");
21
+ i0.ɵɵtext(4);
22
+ i0.ɵɵpipe(5, "translate");
23
+ i0.ɵɵelementEnd();
24
+ i0.ɵɵprojection(6);
25
+ i0.ɵɵelementStart(7, "ul");
26
+ i0.ɵɵtemplate(8, InfoAlertComponent_div_0_li_8_Template, 5, 3, "li", 3);
27
+ i0.ɵɵelementEnd();
28
+ i0.ɵɵelementStart(9, "a", 4);
29
+ i0.ɵɵlistener("click", function InfoAlertComponent_div_0_Template_a_click_9_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onClose()); });
30
+ i0.ɵɵelementStart(10, "i", 5);
31
+ i0.ɵɵtext(11, "clear");
32
+ i0.ɵɵelementEnd()()()();
33
+ } if (rf & 2) {
34
+ const ctx_r0 = i0.ɵɵnextContext();
35
+ i0.ɵɵadvance(4);
36
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, "Atencao"));
37
+ i0.ɵɵadvance(4);
38
+ i0.ɵɵproperty("ngForOf", ctx_r0.messages);
39
+ } }
40
+ const _c0 = function () { return []; };
41
+ const _c1 = ["*"];
42
+ export class InfoAlertComponent {
43
+ messages = [];
44
+ onClose() {
45
+ this.messages = [];
46
+ }
47
+ /** @nocollapse */ static ɵfac = function InfoAlertComponent_Factory(t) { return new (t || InfoAlertComponent)(); };
48
+ /** @nocollapse */ static ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: InfoAlertComponent, selectors: [["info-alert"]], inputs: { messages: "messages" }, ngContentSelectors: _c1, decls: 1, vars: 2, consts: [[4, "ngIf"], [1, "alert"], ["alert", ""], [4, "ngFor", "ngForOf"], [1, "close", 3, "click"], [1, "material-icons"], [3, "innerHTML"]], template: function InfoAlertComponent_Template(rf, ctx) { if (rf & 1) {
49
+ i0.ɵɵprojectionDef();
50
+ i0.ɵɵtemplate(0, InfoAlertComponent_div_0_Template, 12, 4, "div", 0);
51
+ } if (rf & 2) {
52
+ i0.ɵɵproperty("ngIf", ctx.messages != i0.ɵɵpureFunction0(1, _c0) && ctx.messages.length > 0);
53
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.MatIcon, i3.InfoTranslatePipe], styles: ["body[_ngcontent-%COMP%]{--ux-cor-hover: #F5F5F5;--ux-cor-hover-2: #eee;--ux-cor-hover-3: #fafafa;--ux-cor-hover-4: #e5e3ed;--ux-cor-hover-5: #f9f9f9;--ux-cor-bg: #adadad;--ux-cor-P: #fff;--ux-cor-A: #eeeef2;--ux-cor-X: #f5f5f5;--ux-cor-S: #666;--ux-cor-O: #ddd;--ux-cor-F: #222;--ux-cor-D: #ccdbb4;--ux-cor-linha: #CCCEDB;--ux-cor-btn-pri: #eeeef2;--ux-cor-btn-wrn: #BA5005;--ux-cor-btn-dis: #6a7282}[_nghost-%COMP%]{display:block;position:fixed;bottom:70px;right:30px;margin-left:280px;min-width:350px;z-index:100}[_nghost-%COMP%]:last-child{margin-bottom:0}[_nghost-%COMP%] .alert[_ngcontent-%COMP%]{box-shadow:0 5px 5px 2px #00000040;padding:1.0476190667rem 1.5714286rem;position:relative}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{text-align:center;padding-bottom:10px;margin:0 -20px 5px;border-bottom:solid 1px rgba(255,255,255,.1)}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0;list-style:none}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(255,255,255,.1);padding:7px 5px}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#fff;font-size:20px;line-height:1;position:absolute;right:10px;top:15px;transition:background .2s ease-in-out,color .2s ease-in-out}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:hover{cursor:pointer;color:#ddd}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:inherit;font-size:inherit;margin:0;vertical-align:top}[_nghost-%COMP%] .alert[_ngcontent-%COMP%] .material-icons{color:main-color(A100);margin:0 1.5714286rem 0 0;vertical-align:top}"] });
54
+ }
55
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InfoAlertComponent, [{
56
+ type: Component,
57
+ args: [{ selector: 'info-alert', template: `
58
+ <div *ngIf="messages != [] && messages.length > 0">
59
+ <div class="alert" #alert >
60
+ <h5>{{ 'Atencao' | translate }}</h5>
61
+ <ng-content></ng-content>
62
+ <ul>
63
+ <li *ngFor="let m of messages"><mat-icon>error</mat-icon><label [innerHTML]="m | translate"></label></li>
64
+ </ul>
65
+ <a class="close" (click)="onClose()"><i class="material-icons">clear</i></a>
66
+ </div>
67
+ </div>
68
+ `, styles: ["body{--ux-cor-hover: #F5F5F5;--ux-cor-hover-2: #eee;--ux-cor-hover-3: #fafafa;--ux-cor-hover-4: #e5e3ed;--ux-cor-hover-5: #f9f9f9;--ux-cor-bg: #adadad;--ux-cor-P: #fff;--ux-cor-A: #eeeef2;--ux-cor-X: #f5f5f5;--ux-cor-S: #666;--ux-cor-O: #ddd;--ux-cor-F: #222;--ux-cor-D: #ccdbb4;--ux-cor-linha: #CCCEDB;--ux-cor-btn-pri: #eeeef2;--ux-cor-btn-wrn: #BA5005;--ux-cor-btn-dis: #6a7282}:host{display:block;position:fixed;bottom:70px;right:30px;margin-left:280px;min-width:350px;z-index:100}:host:last-child{margin-bottom:0}:host .alert{box-shadow:0 5px 5px 2px #00000040;padding:1.0476190667rem 1.5714286rem;position:relative}:host .alert h5{text-align:center;padding-bottom:10px;margin:0 -20px 5px;border-bottom:solid 1px rgba(255,255,255,.1)}:host .alert ul{padding:0;margin:0;list-style:none}:host .alert ul li{border-bottom:solid 1px rgba(255,255,255,.1);padding:7px 5px}:host .alert ul li:last-child{border-bottom:none}:host .alert .close{color:#fff;font-size:20px;line-height:1;position:absolute;right:10px;top:15px;transition:background .2s ease-in-out,color .2s ease-in-out}:host .alert .close:hover{cursor:pointer;color:#ddd}:host .alert .close .material-icons{color:inherit;font-size:inherit;margin:0;vertical-align:top}:host .alert ::ng-deep .material-icons{color:main-color(A100);margin:0 1.5714286rem 0 0;vertical-align:top}\n"] }]
69
+ }], null, { messages: [{
70
+ type: Input
71
+ }] }); })();
72
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaW5mby1saWJyYXJ5L3NyYy9jb250cm9scy9hbGVydC9hbGVydC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7OztJQVU3QiwwQkFBK0IsZUFBQTtJQUFVLHFCQUFLO0lBQUEsaUJBQVc7SUFBQSwyQkFBMkM7O0lBQUEsaUJBQUs7OztJQUF6QyxlQUEyQjtJQUEzQix5RUFBMkI7Ozs7SUFMdkcsMkJBQW1ELGdCQUFBLFNBQUE7SUFFdkMsWUFBMkI7O0lBQUEsaUJBQUs7SUFDcEMsa0JBQXlCO0lBQ3pCLDBCQUFJO0lBQ0EsdUVBQXlHO0lBQzdHLGlCQUFLO0lBQ0wsNEJBQXFDO0lBQXBCLDBKQUFTLGVBQUEsZ0JBQVMsQ0FBQSxJQUFDO0lBQUMsNkJBQTBCO0lBQUEsc0JBQUs7SUFBQSxpQkFBSSxFQUFBLEVBQUEsRUFBQTs7O0lBTHBFLGVBQTJCO0lBQTNCLHFEQUEyQjtJQUdULGVBQVc7SUFBWCx5Q0FBVzs7OztBQVFqRCxNQUFNLE9BQU8sa0JBQWtCO0lBRWxCLFFBQVEsR0FBYSxFQUFFLENBQUM7SUFFakMsT0FBTztRQUNILElBQUksQ0FBQyxRQUFRLEdBQUcsRUFBRSxDQUFDO0lBQ3ZCLENBQUM7K0ZBTlEsa0JBQWtCOzRGQUFsQixrQkFBa0I7O1lBYnZCLG9FQVNNOztZQVRBLDRGQUEyQzs7O3VGQWE1QyxrQkFBa0I7Y0FoQjlCLFNBQVM7MkJBQ0ksWUFBWSxZQUNaOzs7Ozs7Ozs7OztLQVdUO2dCQUtRLFFBQVE7a0JBQWhCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0IH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdpbmZvLWFsZXJ0JyxcclxuICAgIHRlbXBsYXRlOiBgXHJcbiAgICAgICAgPGRpdiAqbmdJZj1cIm1lc3NhZ2VzICE9IFtdICYmIG1lc3NhZ2VzLmxlbmd0aCA+IDBcIj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImFsZXJ0XCIgI2FsZXJ0ID5cclxuICAgICAgICAgICAgICAgIDxoNT57eyAnQXRlbmNhbycgfCB0cmFuc2xhdGUgfX08L2g1PlxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgICAgICAgICAgICAgPHVsPlxyXG4gICAgICAgICAgICAgICAgICAgIDxsaSAqbmdGb3I9XCJsZXQgbSBvZiBtZXNzYWdlc1wiPjxtYXQtaWNvbj5lcnJvcjwvbWF0LWljb24+PGxhYmVsIFtpbm5lckhUTUxdPVwibSB8IHRyYW5zbGF0ZVwiPjwvbGFiZWw+PC9saT5cclxuICAgICAgICAgICAgICAgIDwvdWw+XHJcbiAgICAgICAgICAgICAgICA8YSBjbGFzcz1cImNsb3NlXCIgKGNsaWNrKT1cIm9uQ2xvc2UoKVwiPjxpIGNsYXNzPVwibWF0ZXJpYWwtaWNvbnNcIj5jbGVhcjwvaT48L2E+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgYCxcclxuICAgIHN0eWxlVXJsczogWydhbGVydC5jb21wb25lbnQuc2NzcyddXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJbmZvQWxlcnRDb21wb25lbnQge1xyXG5cclxuICAgIEBJbnB1dCgpIG1lc3NhZ2VzOiBzdHJpbmdbXSA9IFtdO1xyXG5cclxuICAgIG9uQ2xvc2UoKSB7XHJcbiAgICAgICAgdGhpcy5tZXNzYWdlcyA9IFtdO1xyXG4gICAgfVxyXG59Il19