@morozeckiy/dd-lib 0.1.1 → 0.1.2

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 (227) hide show
  1. package/esm2022/lib/common/lib-common-button.mjs +62 -0
  2. package/esm2022/lib/common/lib-common-input-text.mjs +172 -0
  3. package/esm2022/lib/core/dialog/dialog-config.mjs +15 -0
  4. package/esm2022/lib/core/dialog/dialog-container.component.mjs +40 -0
  5. package/esm2022/lib/core/dialog/dialog-ref.mjs +19 -0
  6. package/esm2022/lib/core/dialog/dialog.service.mjs +106 -0
  7. package/esm2022/lib/core/directives/auto-height.directive.mjs +36 -0
  8. package/esm2022/lib/core/directives/click-outside.directive.mjs +42 -0
  9. package/esm2022/lib/core/directives/counter.directive.mjs +64 -0
  10. package/esm2022/lib/core/directives/declension.directive.mjs +40 -0
  11. package/esm2022/lib/core/directives/resize-textarea.directive.mjs +26 -0
  12. package/esm2022/lib/core/directives/triangle.directive.mjs +75 -0
  13. package/esm2022/lib/core/index.mjs +26 -0
  14. package/esm2022/lib/core/pipes/filter-tabs.pipe.mjs +31 -0
  15. package/esm2022/lib/core/pipes/filter.pipe.mjs +49 -0
  16. package/esm2022/lib/core/pipes/highlight.pipe.mjs +23 -0
  17. package/esm2022/lib/core/pipes/reverse.pipe.mjs +17 -0
  18. package/esm2022/lib/core/pipes/safe.pipe.mjs +34 -0
  19. package/esm2022/lib/core/services/date.service.mjs +113 -0
  20. package/esm2022/lib/core/services/destroy.service.mjs +15 -0
  21. package/esm2022/lib/core/services/fetcher.service.mjs +92 -0
  22. package/esm2022/lib/core/services/interceptors.service.mjs +27 -0
  23. package/esm2022/lib/core/services/svg-icons.service.mjs +26 -0
  24. package/esm2022/lib/core/services/theme-constructor.service.mjs +64 -0
  25. package/esm2022/lib/core/services/validators.service.mjs +73 -0
  26. package/esm2022/lib/core/tools.mjs +128 -0
  27. package/esm2022/lib/core/tooltip/tooltip.component.mjs +27 -0
  28. package/esm2022/lib/core/tooltip/tooltip.directive.mjs +137 -0
  29. package/esm2022/lib/lib-accordion/lib-accordion.component.mjs +15 -0
  30. package/esm2022/lib/lib-back-button/lib-back-button.component.mjs +37 -0
  31. package/esm2022/lib/lib-button/lib-button.component.mjs +30 -0
  32. package/esm2022/lib/lib-calendar/lib-calendar.component.mjs +222 -0
  33. package/esm2022/lib/lib-card/lib-card.component.mjs +34 -0
  34. package/esm2022/lib/lib-checkbox/lib-checkbox.component.mjs +66 -0
  35. package/esm2022/lib/lib-comment-input/lib-comment-input.component.mjs +20 -0
  36. package/esm2022/lib/lib-file-upload/lib-file-upload.component.mjs +34 -0
  37. package/esm2022/lib/lib-filter-button/lib-filter-button.component.mjs +42 -0
  38. package/esm2022/lib/lib-image-loader/lib-image-loader.component.mjs +14 -0
  39. package/esm2022/lib/lib-input/lib-input.component.mjs +55 -0
  40. package/esm2022/lib/lib-loader/lib-loader.component.mjs +16 -0
  41. package/esm2022/lib/lib-period/lib-period.component.mjs +114 -0
  42. package/esm2022/lib/lib-radio/lib-radio.component.mjs +76 -0
  43. package/esm2022/lib/lib-search-input/lib-search-input.component.mjs +91 -0
  44. package/esm2022/lib/lib-select/lib-select.component.mjs +137 -0
  45. package/esm2022/lib/lib-skeleton/lib-skeleton.component.mjs +45 -0
  46. package/esm2022/lib/lib-sort/lib-sort.component.mjs +44 -0
  47. package/esm2022/lib/lib-step/lib-step.component.mjs +19 -0
  48. package/esm2022/lib/lib-svg/lib-svg.component.mjs +75 -0
  49. package/esm2022/lib/lib-svg-icon/lib-svg-icon.component.mjs +55 -0
  50. package/esm2022/lib/lib-tabs-fragment/lib-tabs-fragment.component.mjs +79 -0
  51. package/esm2022/lib/lib-textarea/lib-textarea.component.mjs +50 -0
  52. package/esm2022/lib/toast/toast-base/toast-base.component.mjs +29 -0
  53. package/esm2022/lib/toast/toast-placeholder/toast-placeholder.component.mjs +29 -0
  54. package/esm2022/lib/toast/toast.service.mjs +124 -0
  55. package/esm2022/lib/utils/decorators.mjs +102 -0
  56. package/esm2022/morozeckiy-dd-lib.mjs +5 -0
  57. package/esm2022/public-api.mjs +35 -0
  58. package/fesm2022/morozeckiy-dd-lib.mjs +3004 -0
  59. package/fesm2022/morozeckiy-dd-lib.mjs.map +1 -0
  60. package/index.d.ts +5 -0
  61. package/lib/common/lib-common-button.d.ts +20 -0
  62. package/lib/common/lib-common-input-text.d.ts +53 -0
  63. package/lib/core/dialog/dialog-config.d.ts +14 -0
  64. package/lib/core/dialog/dialog-container.component.d.ts +18 -0
  65. package/lib/core/dialog/dialog-ref.d.ts +18 -0
  66. package/lib/core/dialog/dialog.service.d.ts +28 -0
  67. package/lib/core/directives/auto-height.directive.d.ts +11 -0
  68. package/lib/core/directives/click-outside.directive.d.ts +11 -0
  69. package/lib/core/directives/counter.directive.d.ts +11 -0
  70. package/lib/core/directives/declension.directive.d.ts +13 -0
  71. package/lib/core/directives/resize-textarea.directive.d.ts +10 -0
  72. package/lib/core/directives/triangle.directive.d.ts +16 -0
  73. package/lib/core/index.d.ts +20 -0
  74. package/lib/core/pipes/filter-tabs.pipe.d.ts +7 -0
  75. package/lib/core/pipes/filter.pipe.d.ts +12 -0
  76. package/lib/core/pipes/highlight.pipe.d.ts +7 -0
  77. package/lib/core/pipes/reverse.pipe.d.ts +7 -0
  78. package/lib/core/pipes/safe.pipe.d.ts +10 -0
  79. package/lib/core/services/date.service.d.ts +41 -0
  80. package/lib/core/services/destroy.service.d.ts +8 -0
  81. package/lib/core/services/fetcher.service.d.ts +29 -0
  82. package/lib/core/services/interceptors.service.d.ts +12 -0
  83. package/lib/core/services/svg-icons.service.d.ts +9 -0
  84. package/lib/core/services/theme-constructor.service.d.ts +27 -0
  85. package/lib/core/services/validators.service.d.ts +18 -0
  86. package/lib/core/tools.d.ts +16 -0
  87. package/lib/core/tooltip/tooltip.component.d.ts +12 -0
  88. package/lib/core/tooltip/tooltip.directive.d.ts +22 -0
  89. package/lib/lib-accordion/lib-accordion.component.d.ts +8 -0
  90. package/lib/lib-back-button/lib-back-button.component.d.ts +13 -0
  91. package/lib/lib-button/lib-button.component.d.ts +10 -0
  92. package/lib/lib-calendar/lib-calendar.component.d.ts +76 -0
  93. package/lib/lib-card/lib-card.component.d.ts +16 -0
  94. package/lib/lib-checkbox/lib-checkbox.component.d.ts +23 -0
  95. package/lib/lib-comment-input/lib-comment-input.component.d.ts +8 -0
  96. package/lib/lib-file-upload/lib-file-upload.component.d.ts +12 -0
  97. package/lib/lib-filter-button/lib-filter-button.component.d.ts +13 -0
  98. package/lib/lib-image-loader/lib-image-loader.component.d.ts +6 -0
  99. package/lib/lib-input/lib-input.component.d.ts +13 -0
  100. package/lib/lib-loader/lib-loader.component.d.ts +6 -0
  101. package/lib/lib-period/lib-period.component.d.ts +41 -0
  102. package/lib/lib-radio/lib-radio.component.d.ts +25 -0
  103. package/lib/lib-search-input/lib-search-input.component.d.ts +29 -0
  104. package/lib/lib-select/lib-select.component.d.ts +30 -0
  105. package/lib/lib-skeleton/lib-skeleton.component.d.ts +16 -0
  106. package/lib/lib-sort/lib-sort.component.d.ts +18 -0
  107. package/lib/lib-step/lib-step.component.d.ts +7 -0
  108. package/{src/lib/lib-svg/lib-svg.component.ts → lib/lib-svg/lib-svg.component.d.ts} +38 -66
  109. package/lib/lib-svg-icon/lib-svg-icon.component.d.ts +18 -0
  110. package/lib/lib-tabs-fragment/lib-tabs-fragment.component.d.ts +29 -0
  111. package/lib/lib-textarea/lib-textarea.component.d.ts +13 -0
  112. package/lib/toast/toast-base/toast-base.component.d.ts +21 -0
  113. package/lib/toast/toast-placeholder/toast-placeholder.component.d.ts +12 -0
  114. package/lib/toast/toast.service.d.ts +35 -0
  115. package/lib/utils/decorators.d.ts +4 -0
  116. package/package.json +16 -3
  117. package/public-api.d.ts +30 -0
  118. package/ekgip-dd-lib-0.0.1.tgz +0 -0
  119. package/ng-package.json +0 -8
  120. package/src/lib/common/lib-common-button.ts +0 -34
  121. package/src/lib/common/lib-common-input-text.ts +0 -154
  122. package/src/lib/core/dialog/dialog-config.ts +0 -19
  123. package/src/lib/core/dialog/dialog-container.component.ts +0 -38
  124. package/src/lib/core/dialog/dialog-ref.ts +0 -28
  125. package/src/lib/core/dialog/dialog.service.ts +0 -144
  126. package/src/lib/core/directives/auto-height.directive.ts +0 -29
  127. package/src/lib/core/directives/click-outside.directive.ts +0 -33
  128. package/src/lib/core/directives/counter.directive.ts +0 -54
  129. package/src/lib/core/directives/declension.directive.ts +0 -29
  130. package/src/lib/core/directives/resize-textarea.directive.ts +0 -16
  131. package/src/lib/core/directives/triangle.directive.ts +0 -56
  132. package/src/lib/core/index.ts +0 -27
  133. package/src/lib/core/pipes/filter-tabs.pipe.ts +0 -25
  134. package/src/lib/core/pipes/filter.pipe.ts +0 -36
  135. package/src/lib/core/pipes/highlight.pipe.ts +0 -17
  136. package/src/lib/core/pipes/reverse.pipe.ts +0 -11
  137. package/src/lib/core/pipes/safe.pipe.ts +0 -37
  138. package/src/lib/core/services/date.service.ts +0 -153
  139. package/src/lib/core/services/destroy.service.ts +0 -10
  140. package/src/lib/core/services/fetcher.service.ts +0 -109
  141. package/src/lib/core/services/interceptors.service.ts +0 -26
  142. package/src/lib/core/services/svg-icons.service.ts +0 -25
  143. package/src/lib/core/services/theme-constructor.service.ts +0 -68
  144. package/src/lib/core/services/validators.service.ts +0 -73
  145. package/src/lib/core/tools.ts +0 -159
  146. package/src/lib/core/tooltip/tooltip.component.html +0 -10
  147. package/src/lib/core/tooltip/tooltip.component.scss +0 -59
  148. package/src/lib/core/tooltip/tooltip.component.ts +0 -27
  149. package/src/lib/core/tooltip/tooltip.directive.ts +0 -137
  150. package/src/lib/core/utils.ts +0 -28
  151. package/src/lib/lib-accordion/lib-accordion.component.html +0 -15
  152. package/src/lib/lib-accordion/lib-accordion.component.scss +0 -23
  153. package/src/lib/lib-accordion/lib-accordion.component.ts +0 -17
  154. package/src/lib/lib-back-button/lib-back-button.component.html +0 -4
  155. package/src/lib/lib-back-button/lib-back-button.component.scss +0 -3
  156. package/src/lib/lib-back-button/lib-back-button.component.ts +0 -31
  157. package/src/lib/lib-button/lib-button.component.html +0 -30
  158. package/src/lib/lib-button/lib-button.component.scss +0 -89
  159. package/src/lib/lib-button/lib-button.component.ts +0 -33
  160. package/src/lib/lib-calendar/lib-calendar.component.html +0 -64
  161. package/src/lib/lib-calendar/lib-calendar.component.scss +0 -88
  162. package/src/lib/lib-calendar/lib-calendar.component.ts +0 -227
  163. package/src/lib/lib-card/lib-card.component.html +0 -23
  164. package/src/lib/lib-card/lib-card.component.scss +0 -64
  165. package/src/lib/lib-card/lib-card.component.ts +0 -32
  166. package/src/lib/lib-checkbox/lib-checkbox.component.html +0 -15
  167. package/src/lib/lib-checkbox/lib-checkbox.component.scss +0 -80
  168. package/src/lib/lib-checkbox/lib-checkbox.component.ts +0 -67
  169. package/src/lib/lib-comment-input/lib-comment-input.component.html +0 -32
  170. package/src/lib/lib-comment-input/lib-comment-input.component.scss +0 -28
  171. package/src/lib/lib-comment-input/lib-comment-input.component.ts +0 -20
  172. package/src/lib/lib-file-upload/lib-file-upload.component.html +0 -14
  173. package/src/lib/lib-file-upload/lib-file-upload.component.scss +0 -3
  174. package/src/lib/lib-file-upload/lib-file-upload.component.ts +0 -26
  175. package/src/lib/lib-filter-button/lib-filter-button.component.html +0 -46
  176. package/src/lib/lib-filter-button/lib-filter-button.component.scss +0 -62
  177. package/src/lib/lib-filter-button/lib-filter-button.component.ts +0 -45
  178. package/src/lib/lib-image-loader/lib-image-loader.component.html +0 -17
  179. package/src/lib/lib-image-loader/lib-image-loader.component.scss +0 -6
  180. package/src/lib/lib-image-loader/lib-image-loader.component.ts +0 -16
  181. package/src/lib/lib-input/lib-input.component.html +0 -32
  182. package/src/lib/lib-input/lib-input.component.scss +0 -72
  183. package/src/lib/lib-input/lib-input.component.ts +0 -62
  184. package/src/lib/lib-loader/lib-loader.component.html +0 -29
  185. package/src/lib/lib-loader/lib-loader.component.scss +0 -26
  186. package/src/lib/lib-loader/lib-loader.component.ts +0 -13
  187. package/src/lib/lib-period/lib-period.component.html +0 -41
  188. package/src/lib/lib-period/lib-period.component.scss +0 -77
  189. package/src/lib/lib-period/lib-period.component.ts +0 -131
  190. package/src/lib/lib-radio/lib-radio.component.html +0 -22
  191. package/src/lib/lib-radio/lib-radio.component.scss +0 -113
  192. package/src/lib/lib-radio/lib-radio.component.ts +0 -78
  193. package/src/lib/lib-search-input/lib-search-input.component.html +0 -48
  194. package/src/lib/lib-search-input/lib-search-input.component.scss +0 -86
  195. package/src/lib/lib-search-input/lib-search-input.component.ts +0 -94
  196. package/src/lib/lib-select/lib-select.component.html +0 -83
  197. package/src/lib/lib-select/lib-select.component.scss +0 -130
  198. package/src/lib/lib-select/lib-select.component.ts +0 -152
  199. package/src/lib/lib-skeleton/lib-skeleton.component.html +0 -11
  200. package/src/lib/lib-skeleton/lib-skeleton.component.scss +0 -36
  201. package/src/lib/lib-skeleton/lib-skeleton.component.ts +0 -41
  202. package/src/lib/lib-sort/lib-sort.component.html +0 -21
  203. package/src/lib/lib-sort/lib-sort.component.scss +0 -21
  204. package/src/lib/lib-sort/lib-sort.component.ts +0 -52
  205. package/src/lib/lib-step/lib-step.component.html +0 -4
  206. package/src/lib/lib-step/lib-step.component.scss +0 -23
  207. package/src/lib/lib-step/lib-step.component.ts +0 -14
  208. package/src/lib/lib-svg/lib-svg.component.html +0 -15
  209. package/src/lib/lib-svg/lib-svg.component.scss +0 -81
  210. package/src/lib/lib-svg-icon/lib-svg-icon.component.css +0 -0
  211. package/src/lib/lib-svg-icon/lib-svg-icon.component.ts +0 -58
  212. package/src/lib/lib-tabs-fragment/lib-tabs-fragment.component.html +0 -12
  213. package/src/lib/lib-tabs-fragment/lib-tabs-fragment.component.scss +0 -19
  214. package/src/lib/lib-tabs-fragment/lib-tabs-fragment.component.ts +0 -88
  215. package/src/lib/lib-textarea/lib-textarea.component.html +0 -37
  216. package/src/lib/lib-textarea/lib-textarea.component.scss +0 -77
  217. package/src/lib/lib-textarea/lib-textarea.component.ts +0 -49
  218. package/src/lib/toast/toast-base/toast-base.component.html +0 -7
  219. package/src/lib/toast/toast-base/toast-base.component.scss +0 -44
  220. package/src/lib/toast/toast-base/toast-base.component.ts +0 -38
  221. package/src/lib/toast/toast-placeholder/toast-placeholder.component.ts +0 -20
  222. package/src/lib/toast/toast.service.ts +0 -130
  223. package/src/lib/utils/decorators.ts +0 -124
  224. package/src/public-api.ts +0 -35
  225. package/tsconfig.lib.json +0 -14
  226. package/tsconfig.lib.prod.json +0 -10
  227. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,76 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { DateService, IDaysInMonth } from "../core";
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ Этот компонент используется для отображения календаря с возможностью выбора даты.
7
+ Ниже приведено описание свойств и методов данного компонента:
8
+
9
+ Свойства:
10
+ - @Input() public type: 'string' | 'number' | 'date' = 'string'; - тип данных для выбора даты.
11
+ - @Input() public format = 'dd.MM.yyyy HH:mm'; - формат отображения даты.
12
+ - @Input() public maxDate = new Date(); - максимальная дата, которую можно выбрать.
13
+ - @Output() public emitDate = new EventEmitter<date | undefined>(); - событие, срабатывающее при выборе даты.
14
+ - public dateValue: Date | undefined; - выбранная пользователем дата.
15
+ - public months = Months; - массив с названиями месяцев.
16
+ - public week = ['ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ', 'ВС']; - массив с названиями дней недели.
17
+ - public year = new Date().getFullYear(); - текущий год.
18
+ - public month = new Date().getMonth(); - текущий месяц.
19
+ - public day = new Date().getDay(); - текущий день недели.
20
+ - public daysInMonth: IDaysInMonth; - количество дней в текущем месяце.
21
+ - public currentDate = new Date(); - текущая выбранная дата.
22
+ - public dateNow = new Date(); - текущая дата.
23
+ - public onTouchedCallback: () => void; - функция обратного вызова при касании.
24
+
25
+ Методы:
26
+ - public propagateChange(_value: Date): void {} - метод для обновления значения выбранной даты.
27
+ - public ngOnInit(): void {} - метод жизненного цикла компонента, вызываемый при инициализации.
28
+ - public setDayInMonth(): void {} - метод для установки количества дней в текущем месяце.
29
+ - public changeMonth(number: number): void {} - метод для изменения месяца в календаре.
30
+ - public getMonth(): string {} - метод для получения названия текущего месяца.
31
+ - public registerOnChange(fn: any): void {} - метод для регистрации функции обратного вызова при изменении значения.
32
+ - public registerOnTouched(fn: any): void {} - метод для регистрации функции обратного вызова при касании.
33
+ - public writeValue(val: Date): void {} - метод для установки значения даты.
34
+ - public selectDay(day: number): void {} - метод для выбора конкретного дня в календаре.
35
+ - public selectDate(): void {} - метод для выбора даты и передачи значения через propagateChange и emitDate.
36
+ - public checkHideDay(day: number): boolean {} - метод для проверки скрытия определенного дня в календаре.
37
+ - public canselDate(): void {} - метод для отмены выбранной даты и сброса значений.
38
+ **/
39
+ export declare class LibCalendarComponent implements ControlValueAccessor, OnInit {
40
+ private dateService;
41
+ type: 'string' | 'number' | 'date';
42
+ formatDate: string;
43
+ formatTime: string | undefined;
44
+ mode: 'icon' | 'full';
45
+ emitDate: EventEmitter<Date | undefined>;
46
+ set maxDate(date: any);
47
+ set minDate(date: any);
48
+ private _maxDate;
49
+ private _minDate;
50
+ dateValue: Date | undefined;
51
+ months: string[];
52
+ week: string[];
53
+ year: number;
54
+ month: number;
55
+ day: number;
56
+ daysInMonth: IDaysInMonth | undefined;
57
+ currentDate: Date;
58
+ dateNow: Date;
59
+ onTouchedCallback: (() => void) | undefined;
60
+ showCalendar: boolean | undefined;
61
+ constructor(dateService: DateService);
62
+ propagateChange(_value: Date): void;
63
+ ngOnInit(): void;
64
+ setDayInMonth(): void;
65
+ changeMonth(number: number): void;
66
+ getMonth(): string;
67
+ registerOnChange(fn: any): void;
68
+ registerOnTouched(fn: any): void;
69
+ writeValue(val: Date): void;
70
+ selectDay(day: number): void;
71
+ selectDate(): void;
72
+ checkHideDay(day: number): boolean;
73
+ canselDate(): void;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibCalendarComponent, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibCalendarComponent, "dd-lib-calendar", never, { "type": { "alias": "type"; "required": false; }; "formatDate": { "alias": "formatDate"; "required": false; }; "formatTime": { "alias": "formatTime"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; }, { "emitDate": "emitDate"; }, never, never, true, never>;
76
+ }
@@ -0,0 +1,16 @@
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LibCardComponent {
4
+ cdr: ChangeDetectorRef;
5
+ type: 'giant' | 'standard' | 'small';
6
+ footerBtn: string | undefined;
7
+ sHeight: string | undefined;
8
+ skeleton: any;
9
+ parentLvlForSkeleton: number | undefined;
10
+ plugs: number | undefined;
11
+ borderRadius: 'all' | 'top' | 'bottom' | 'none';
12
+ cardBtnEvent: EventEmitter<undefined>;
13
+ constructor(cdr: ChangeDetectorRef);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibCardComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibCardComponent, "dd-lib-card", never, { "type": { "alias": "type"; "required": false; }; "footerBtn": { "alias": "footerBtn"; "required": false; }; "sHeight": { "alias": "sHeight"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "parentLvlForSkeleton": { "alias": "parentLvlForSkeleton"; "required": false; }; "plugs": { "alias": "plugs"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; }, { "cardBtnEvent": "cardBtnEvent"; }, never, ["*"], true, never>;
16
+ }
@@ -0,0 +1,23 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LibCheckboxComponent implements OnInit, ControlValueAccessor {
5
+ static idCounter: number;
6
+ checkboxId: string | undefined;
7
+ required: boolean;
8
+ disabled: boolean;
9
+ checked: boolean;
10
+ customClass: string | undefined;
11
+ invalid: boolean;
12
+ checkEvent: EventEmitter<boolean>;
13
+ focused: boolean | undefined;
14
+ private onTouchedCallback;
15
+ ngOnInit(): void;
16
+ registerOnChange(fn: any): void;
17
+ registerOnTouched(fn: any): void;
18
+ onChecked(target: EventTarget | null): void;
19
+ writeValue(value: boolean): void;
20
+ private propagateChange;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibCheckboxComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibCheckboxComponent, "dd-lib-checkbox", never, { "checkboxId": { "alias": "checkboxId"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; }, { "checkEvent": "checkEvent"; }, never, ["*"], true, never>;
23
+ }
@@ -0,0 +1,8 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LibCommentInputComponent extends LibCommonInputTextComponent {
5
+ constructor(changeDetection: ChangeDetectorRef);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibCommentInputComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibCommentInputComponent, "dd-lib-comment-input", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LibFileUploadComponent {
4
+ multi: boolean | undefined;
5
+ requiredFileType: string | undefined;
6
+ template: TemplateRef<HTMLElement> | undefined;
7
+ outputFile: EventEmitter<File>;
8
+ outputFiles: EventEmitter<File[]>;
9
+ onFileSelected($event: Event): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibFileUploadComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibFileUploadComponent, "dd-lib-file-upload", never, { "multi": { "alias": "multi"; "required": false; }; "requiredFileType": { "alias": "requiredFileType"; "required": false; }; "template": { "alias": "template"; "required": false; }; }, { "outputFile": "outputFile"; "outputFiles": "outputFiles"; }, never, never, true, never>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { LibCommonButtonComponent } from '../common/lib-common-button';
3
+ import { TooltipData } from "../core";
4
+ import * as i0 from "@angular/core";
5
+ export declare class LibFilterButtonComponent extends LibCommonButtonComponent {
6
+ clearEvent: EventEmitter<null>;
7
+ hintEvent: EventEmitter<null>;
8
+ hintContent: TooltipData | undefined;
9
+ onClear($event: MouseEvent): void;
10
+ hintClick($event: MouseEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibFilterButtonComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibFilterButtonComponent, "dd-lib-filter-button", never, { "hintContent": { "alias": "hintContent"; "required": false; }; }, { "clearEvent": "clearEvent"; "hintEvent": "hintEvent"; }, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LibImageLoaderComponent {
3
+ images: any;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibImageLoaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibImageLoaderComponent, "dd-lib-image-loader", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,13 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { ControlContainer, ControlValueAccessor } from '@angular/forms';
3
+ import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LibInputComponent extends LibCommonInputTextComponent implements OnInit, OnDestroy, ControlValueAccessor {
6
+ private controlContainer;
7
+ constructor(changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
8
+ ngOnInit(): void;
9
+ writeValue(value: string | number | null): void;
10
+ ngOnDestroy(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibInputComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibInputComponent, "dd-lib-input", never, {}, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LibLoaderComponent {
3
+ color: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibLoaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibLoaderComponent, "dd-lib-loader", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { DateService, GetDateBy, PeriodMenuDate, PeriodName } from "../core";
4
+ import * as i0 from "@angular/core";
5
+ export declare class LibPeriodComponent implements OnInit, ControlValueAccessor {
6
+ private dateService;
7
+ static idCounter: number;
8
+ maxDate: Date | undefined;
9
+ setPeriodDate: EventEmitter<{
10
+ day?: string | undefined;
11
+ week?: string | undefined;
12
+ month?: string | undefined;
13
+ month_3?: string | undefined;
14
+ half_year?: string | undefined;
15
+ year?: string | undefined;
16
+ calendar?: string | undefined;
17
+ } | null>;
18
+ periodMenu: PeriodMenuDate[] | undefined;
19
+ periodIsShown: boolean;
20
+ calendarIsShown: boolean;
21
+ periodIsSelected: boolean;
22
+ calendarIsSelected: boolean;
23
+ selectedPeriod: PeriodName | undefined;
24
+ selectedDate: Date | undefined;
25
+ idPeriod: string;
26
+ idCalendar: string;
27
+ private onTouchedCallback;
28
+ constructor(dateService: DateService);
29
+ ngOnInit(): void;
30
+ registerOnChange(fn: any): void;
31
+ registerOnTouched(fn: any): void;
32
+ showPeriod(): void;
33
+ clearPeriod(): void;
34
+ selectPeriod(type: keyof GetDateBy): void;
35
+ writeValue(value: any): void;
36
+ selectDate($event: Date | undefined): void;
37
+ clickOutside($event: boolean): void;
38
+ private propagateChange;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibPeriodComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibPeriodComponent, "dd-lib-period", never, { "maxDate": { "alias": "maxDate"; "required": false; }; }, { "setPeriodDate": "setPeriodDate"; }, never, never, true, never>;
41
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LibRadioComponent implements OnInit, ControlValueAccessor {
5
+ static idCounter: number;
6
+ radioId: string | undefined;
7
+ disabled: boolean;
8
+ required: boolean;
9
+ name: string | undefined;
10
+ value: any;
11
+ checked: boolean;
12
+ changed: EventEmitter<any>;
13
+ focused: boolean | undefined;
14
+ onTouchedCallback: (() => void) | undefined;
15
+ private modelInitialization;
16
+ ngOnInit(): void;
17
+ onSelected(target: EventTarget | null): void;
18
+ registerOnChange(fn: any): void;
19
+ setDisabledState(disabled: boolean): void;
20
+ registerOnTouched(fn: any): void;
21
+ writeValue(value: any): void;
22
+ private propagateChange;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibRadioComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibRadioComponent, "dd-lib-radio", never, { "radioId": { "alias": "radioId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
25
+ }
@@ -0,0 +1,29 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
3
+ import { Subject } from 'rxjs';
4
+ import { DestroyService } from "../core";
5
+ import * as i0 from "@angular/core";
6
+ export declare class LibSearchInputComponent<T> extends LibCommonInputTextComponent implements OnInit {
7
+ private destroy$;
8
+ private cdr;
9
+ keyTitle: string;
10
+ keyDesc: string;
11
+ styleInput: 'round' | 'standard';
12
+ inputStyle: 'white' | 'gray';
13
+ searchData: T[] | null | undefined;
14
+ debounceTime: number;
15
+ delay: number;
16
+ idClose: string | undefined;
17
+ keyupEvent: EventEmitter<string>;
18
+ selectedItem: EventEmitter<any>;
19
+ keyUp: Subject<KeyboardEvent>;
20
+ constructor(destroy$: DestroyService, changeDetection: ChangeDetectorRef, cdr: ChangeDetectorRef);
21
+ ngOnInit(): void;
22
+ forceChange(): void;
23
+ onClear(noEmit?: boolean): void;
24
+ onClickSearchItem(item: T): void;
25
+ getTitle(item: T): string;
26
+ getDesc(item: T): string;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSearchInputComponent<any>, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSearchInputComponent<any>, "dd-lib-search-input", never, { "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "styleInput": { "alias": "styleInput"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "searchData": { "alias": "searchData"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "idClose": { "alias": "idClose"; "required": false; }; }, { "keyupEvent": "keyupEvent"; "selectedItem": "selectedItem"; }, never, never, true, never>;
29
+ }
@@ -0,0 +1,30 @@
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { ControlContainer, ControlValueAccessor } from '@angular/forms';
3
+ import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent implements OnInit, ControlValueAccessor {
6
+ private controlContainer;
7
+ static idCounter: number;
8
+ selectId: string | undefined;
9
+ data: any | undefined;
10
+ keyTitle: string | undefined;
11
+ keyDesc: string | undefined;
12
+ keyValue: string | undefined;
13
+ placeholder: string;
14
+ checkedItem: any;
15
+ inputValue: string | undefined;
16
+ searchValue: string | undefined;
17
+ isShownList: boolean | undefined;
18
+ constructor(changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
19
+ ngOnInit(): void;
20
+ registerOnChange(fn: any): void;
21
+ registerOnTouched(fn: any): void;
22
+ handleInput(e: Event): void;
23
+ notifyFocusEvent(e: Event): void;
24
+ writeValue(value: any): void;
25
+ selectItem(item: any): void;
26
+ filterList(item: any): any;
27
+ private propagateChange;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent<any>, [null, { optional: true; host: true; skipSelf: true; }]>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent<any>, "dd-lib-select", never, { "selectId": { "alias": "selectId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
30
+ }
@@ -0,0 +1,16 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LibSkeletonComponent {
4
+ private cdr;
5
+ deepParent: number | undefined;
6
+ sHeight: string | undefined;
7
+ sMb: string | undefined;
8
+ set skeleton(s: boolean | undefined);
9
+ set plugs(n: number | undefined);
10
+ _plugs: number[];
11
+ _skeleton: boolean | undefined;
12
+ constructor(cdr: ChangeDetectorRef);
13
+ protected readonly length: number;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSkeletonComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSkeletonComponent, "dd-lib-skeleton", never, { "deepParent": { "alias": "deepParent"; "required": false; }; "sHeight": { "alias": "sHeight"; "required": false; }; "sMb": { "alias": "sMb"; "required": false; }; "skeleton": { "alias": "skeleton"; "required": false; }; "plugs": { "alias": "plugs"; "required": false; }; }, {}, never, ["*"], true, never>;
16
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface ISort {
4
+ value: string;
5
+ name: string;
6
+ default?: boolean;
7
+ }
8
+ export declare class LibSortComponent implements OnInit {
9
+ sortItems: ISort[];
10
+ sortEvent: EventEmitter<string>;
11
+ sort: string | undefined;
12
+ showSort: boolean | undefined;
13
+ ngOnInit(): void;
14
+ onSort(field: string): void;
15
+ showSortList(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSortComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSortComponent, "dd-lib-sort", never, { "sortItems": { "alias": "sortItems"; "required": false; }; }, { "sortEvent": "sortEvent"; }, never, never, true, never>;
18
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LibStepComponent {
3
+ step: number;
4
+ name: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibStepComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibStepComponent, "dd-lib-step", never, { "step": { "alias": "step"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
7
+ }
@@ -1,66 +1,38 @@
1
- import {ChangeDetectionStrategy, Component, ElementRef, Input, OnInit, Renderer2, ViewChild,} from '@angular/core';
2
- import {HttpClient} from '@angular/common/http';
3
-
4
- export type TSvgColor = 'white' | 'green' | 'black' | 'gray' | 'gold' | 'blue';
5
- /**
6
- Компонент LibSvgComponent отвечает за отображение SVG иконок. Он содержит следующие свойства и методы:
7
-
8
- Свойства:
9
- - @ViewChild('svgRef', { static: true }) public svg: ElementRef; - ссылка на элемент SVG.
10
- - @Input() public width: string; - ширина иконки.
11
- - @Input() public height: string; - высота иконки.
12
- - @Input() public icon: string; - название иконки.
13
- - @Input() public pack = 'svg'; - тип иконки (по умолчанию 'svg').
14
- - @Input() public color: TSvgColor = 'green'; - цвет иконки (зеленый по умолчанию).
15
- - @Input() public stroke: TSvgColor; - цвет обводки иконки.
16
-
17
- Методы:
18
- - public ngOnInit(): void {} - метод жизненного цикла компонента, вызываемый при инициализации. В нем происходит загрузка SVG изображения и настройка его параметров, таких как ширина, высота и цвет.
19
-
20
- В методе ngOnInit компонента LibSvgComponent происходит загрузка SVG изображения по указанному пути в зависимости от типа иконки и ее названия. Затем происходит обработка SVG элементов: удаление атрибутов fill и stroke у всех элементов path, а также у элементов svg и g. Задается ширина и высота SVG изображения в соответствии с переданными значениями.
21
-
22
- Этот компонент значительно упрощает процесс отображения иконок на веб-странице, позволяя легко управлять их параметрами, такими как размеры и цвет.
23
- **/
24
- // @Deprecate
25
- @Component({
26
- selector: 'dd-lib-svg',
27
- standalone: true,
28
- imports: [],
29
- templateUrl: './lib-svg.component.html',
30
- styleUrl: './lib-svg.component.scss',
31
- changeDetection: ChangeDetectionStrategy.OnPush,
32
- })
33
- export class LibSvgComponent implements OnInit {
34
- @ViewChild('svgRef', {static: true}) public svg!: ElementRef;
35
- @Input() public width: string | undefined;
36
- @Input() public height: string | undefined;
37
- @Input() public icon: string | undefined;
38
- @Input() public pack = 'svg';
39
- @Input() public color: TSvgColor = 'green';
40
- @Input() public stroke: TSvgColor | undefined;
41
-
42
- constructor(private http: HttpClient, private rdr: Renderer2) {}
43
-
44
- public ngOnInit(): void {
45
- this.http
46
- .get(`assets/images/${this.pack}/${this.icon}.svg`, { responseType: 'text', withCredentials: true })
47
- .subscribe(txt => {
48
- this.svg.nativeElement.innerHTML = txt;
49
- const svg = this.svg.nativeElement.children[0];
50
- const g = this.svg.nativeElement.children[0].children[0];
51
- const path = this.svg.nativeElement.children[0].children[0].children;
52
- for (const item of path) {
53
- this.rdr.removeAttribute(item, 'fill');
54
- this.rdr.removeAttribute(item, 'stroke');
55
- }
56
- this.rdr.removeAttribute(svg, 'fill');
57
- this.rdr.removeAttribute(g, 'fill');
58
- if (this.width) {
59
- this.rdr.setAttribute(svg, 'width', this.width);
60
- }
61
- if (this.height) {
62
- this.rdr.setAttribute(svg, 'height', this.height);
63
- }
64
- });
65
- }
66
- }
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import * as i0 from "@angular/core";
4
+ export type TSvgColor = 'white' | 'green' | 'black' | 'gray' | 'gold' | 'blue';
5
+ /**
6
+ Компонент LibSvgComponent отвечает за отображение SVG иконок. Он содержит следующие свойства и методы:
7
+
8
+ Свойства:
9
+ - @ViewChild('svgRef', { static: true }) public svg: ElementRef; - ссылка на элемент SVG.
10
+ - @Input() public width: string; - ширина иконки.
11
+ - @Input() public height: string; - высота иконки.
12
+ - @Input() public icon: string; - название иконки.
13
+ - @Input() public pack = 'svg'; - тип иконки (по умолчанию 'svg').
14
+ - @Input() public color: TSvgColor = 'green'; - цвет иконки (зеленый по умолчанию).
15
+ - @Input() public stroke: TSvgColor; - цвет обводки иконки.
16
+
17
+ Методы:
18
+ - public ngOnInit(): void {} - метод жизненного цикла компонента, вызываемый при инициализации. В нем происходит загрузка SVG изображения и настройка его параметров, таких как ширина, высота и цвет.
19
+
20
+ В методе ngOnInit компонента LibSvgComponent происходит загрузка SVG изображения по указанному пути в зависимости от типа иконки и ее названия. Затем происходит обработка SVG элементов: удаление атрибутов fill и stroke у всех элементов path, а также у элементов svg и g. Задается ширина и высота SVG изображения в соответствии с переданными значениями.
21
+
22
+ Этот компонент значительно упрощает процесс отображения иконок на веб-странице, позволяя легко управлять их параметрами, такими как размеры и цвет.
23
+ **/
24
+ export declare class LibSvgComponent implements OnInit {
25
+ private http;
26
+ private rdr;
27
+ svg: ElementRef;
28
+ width: string | undefined;
29
+ height: string | undefined;
30
+ icon: string | undefined;
31
+ pack: string;
32
+ color: TSvgColor;
33
+ stroke: TSvgColor | undefined;
34
+ constructor(http: HttpClient, rdr: Renderer2);
35
+ ngOnInit(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSvgComponent, "dd-lib-svg", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "pack": { "alias": "pack"; "required": false; }; "color": { "alias": "color"; "required": false; }; "stroke": { "alias": "stroke"; "required": false; }; }, {}, never, never, true, never>;
38
+ }
@@ -0,0 +1,18 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { SvgIconsService } from "../core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class LibSvgIconComponent {
5
+ private el;
6
+ private rdr;
7
+ private svgIconRegistry;
8
+ private document;
9
+ width: string | undefined;
10
+ height: string | undefined;
11
+ color: string | undefined;
12
+ set icon(iconName: string);
13
+ private svgIcon;
14
+ constructor(el: ElementRef, rdr: Renderer2, svgIconRegistry: SvgIconsService, document: any);
15
+ private svgElementFromString;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibSvgIconComponent, [null, null, null, { optional: true; }]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSvgIconComponent, "dd-lib-svg-icon", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
18
+ }
@@ -0,0 +1,29 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ITab {
5
+ title: string;
6
+ id: null | number;
7
+ fragment: string;
8
+ name?: string;
9
+ welcomeText?: string;
10
+ type?: 1 | 2;
11
+ constructor(body: any);
12
+ }
13
+ export declare class LibTabsFragmentComponent implements OnInit {
14
+ private route;
15
+ private router;
16
+ private cdr;
17
+ rout: string;
18
+ tabs: ITab[] | undefined;
19
+ tabsFragment: string[] | undefined;
20
+ needInitEvent: boolean | undefined;
21
+ setActiveTab: EventEmitter<number | null>;
22
+ activeFragment: number | null | undefined;
23
+ constructor(route: ActivatedRoute, router: Router, cdr: ChangeDetectorRef);
24
+ ngOnInit(): void;
25
+ checkActiveTab(tab?: ITab): void;
26
+ private getFragment;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibTabsFragmentComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibTabsFragmentComponent, "dd-lib-tabs-fragment", never, { "rout": { "alias": "rout"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "tabsFragment": { "alias": "tabsFragment"; "required": false; }; "needInitEvent": { "alias": "needInitEvent"; "required": false; }; }, { "setActiveTab": "setActiveTab"; }, never, never, true, never>;
29
+ }
@@ -0,0 +1,13 @@
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { ControlContainer } from '@angular/forms';
3
+ import { LibCommonInputTextComponent } from '../common/lib-common-input-text';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LibTextareaComponent extends LibCommonInputTextComponent implements OnInit {
6
+ private controlContainer;
7
+ rows: string;
8
+ needCounter: boolean;
9
+ constructor(changeDetection: ChangeDetectorRef, controlContainer: ControlContainer);
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibTextareaComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibTextareaComponent, "dd-lib-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "needCounter": { "alias": "needCounter"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,21 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { ToastService, ToastType } from '../toast.service';
3
+ import * as i0 from "@angular/core";
4
+ export interface ToastData {
5
+ title?: string;
6
+ description?: string;
7
+ type: ToastType;
8
+ id: number;
9
+ }
10
+ export declare const TOAST_DATA: InjectionToken<ToastData>;
11
+ export declare class ToastBaseComponent {
12
+ private toastService;
13
+ ddToastData: ToastData;
14
+ get id(): number;
15
+ title: string | undefined;
16
+ protected data: ToastData;
17
+ constructor(toastService: ToastService, ddToastData: ToastData);
18
+ destroy(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastBaseComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastBaseComponent, "dd-toast-base", never, {}, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,12 @@
1
+ import { Injector } from '@angular/core';
2
+ import { ToastService } from '../toast.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ToastPlaceholderComponent {
5
+ private toastService;
6
+ private injector;
7
+ private viewContainerRef;
8
+ constructor(toastService: ToastService, injector: Injector);
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastPlaceholderComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastPlaceholderComponent, "dd-toast-placeholder", never, {}, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,35 @@
1
+ import { Injector, ViewContainerRef } from '@angular/core';
2
+ import { Overlay } from '@angular/cdk/overlay';
3
+ import { ToastData } from './toast-base/toast-base.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare enum ToastType {
6
+ Warning = "warning_t",
7
+ Success = "success_t",
8
+ Info = "info_t",
9
+ Danger = "danger_t"
10
+ }
11
+ export declare class ToastConfig {
12
+ timeOut: number;
13
+ constructor(config?: ToastConfig);
14
+ }
15
+ export declare class ToastService {
16
+ private overlay;
17
+ config: ToastConfig;
18
+ private viewContainer;
19
+ private counter;
20
+ ddToastData: ToastData;
21
+ private injector;
22
+ private overlayRefs;
23
+ constructor(overlay: Overlay);
24
+ warning(title: string, description?: string): void;
25
+ success(title: string, description?: string): void;
26
+ danger(title: string, description?: string): void;
27
+ info(title: string, description?: string): void;
28
+ registerViewContainerRef(vcRef: ViewContainerRef): void;
29
+ registerInjector(injector: Injector): void;
30
+ destroyToast(id: number): void;
31
+ private createToast;
32
+ private getPositionStrategy;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
34
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
35
+ }
@@ -0,0 +1,4 @@
1
+ export declare function Debounce(delay?: number): MethodDecorator;
2
+ export declare function Throttle(delay?: number): MethodDecorator;
3
+ export declare function Disabled<C, K extends keyof C = keyof C>(controlKey: K, streams?: K[]): PropertyDecorator;
4
+ export declare function DisableAfterNCall(limit?: number): (target: any, key: string, descriptor: PropertyDescriptor) => PropertyDescriptor;