@updevs/components 1.0.0-alpha.1 → 1.0.0-alpha.100

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 (198) hide show
  1. package/README.md +1 -24
  2. package/assets/styles/_bootstrap-components.scss +55 -0
  3. package/assets/styles/_bootstrap-config.scss +7 -0
  4. package/assets/styles/_bootstrap-override.scss +78 -0
  5. package/assets/styles/_config.scss +9 -0
  6. package/assets/styles/_core.scss +80 -0
  7. package/assets/styles/_debug.scss +49 -0
  8. package/assets/styles/_mixins.scss +2 -0
  9. package/assets/styles/_props.scss +91 -0
  10. package/assets/styles/_seven-columns.scss +73 -0
  11. package/assets/styles/_updevs.scss +25 -0
  12. package/assets/styles/_utilities-marketing.scss +209 -0
  13. package/assets/styles/_utilities.scss +133 -0
  14. package/assets/styles/_variables-dark.scss +19 -0
  15. package/assets/styles/_variables.scss +1003 -0
  16. package/assets/styles/fonts/_webfonts.scss +15 -0
  17. package/assets/styles/helpers/_index.scss +143 -0
  18. package/assets/styles/layout/_animations.scss +62 -0
  19. package/assets/styles/layout/_core.scss +62 -0
  20. package/assets/styles/layout/_dark.scss +77 -0
  21. package/assets/styles/layout/_footer.scss +12 -0
  22. package/assets/styles/layout/_navbar.scss +392 -0
  23. package/assets/styles/layout/_page.scss +170 -0
  24. package/assets/styles/layout/_root.scss +64 -0
  25. package/assets/styles/marketing/_browser.scss +67 -0
  26. package/assets/styles/marketing/_core.scss +8 -0
  27. package/assets/styles/marketing/_filters.scss +0 -0
  28. package/assets/styles/marketing/_hero.scss +70 -0
  29. package/assets/styles/marketing/_pricing.scss +111 -0
  30. package/assets/styles/marketing/_sections.scss +124 -0
  31. package/assets/styles/marketing/_shape.scss +31 -0
  32. package/assets/styles/mixins/_functions.scss +96 -0
  33. package/assets/styles/mixins/_mixins.scss +68 -0
  34. package/assets/styles/ui/_accordion.scss +178 -0
  35. package/assets/styles/ui/_alerts.scss +101 -0
  36. package/assets/styles/ui/_avatars.scss +145 -0
  37. package/assets/styles/ui/_badges.scss +113 -0
  38. package/assets/styles/ui/_breadcrumbs.scss +50 -0
  39. package/assets/styles/ui/_button-group.scss +16 -0
  40. package/assets/styles/ui/_buttons.scss +261 -0
  41. package/assets/styles/ui/_calendars.scss +104 -0
  42. package/assets/styles/ui/_cards.scss +595 -0
  43. package/assets/styles/ui/_carousel.scss +68 -0
  44. package/assets/styles/ui/_charts.scss +61 -0
  45. package/assets/styles/ui/_chat.scss +38 -0
  46. package/assets/styles/ui/_chips.scss +0 -0
  47. package/assets/styles/ui/_close.scss +60 -0
  48. package/assets/styles/ui/_datagrid.scss +17 -0
  49. package/assets/styles/ui/_dropdowns.scss +120 -0
  50. package/assets/styles/ui/_empty.scss +60 -0
  51. package/assets/styles/ui/_flags.scss +31 -0
  52. package/assets/styles/ui/_forms.scss +250 -0
  53. package/assets/styles/ui/_grid.scss +115 -0
  54. package/assets/styles/ui/_icons.scss +72 -0
  55. package/assets/styles/ui/_images.scss +19 -0
  56. package/assets/styles/ui/_legend.scss +12 -0
  57. package/assets/styles/ui/_lists.scss +123 -0
  58. package/assets/styles/ui/_loaders.scss +72 -0
  59. package/assets/styles/ui/_login.scss +3 -0
  60. package/assets/styles/ui/_markdown.scss +53 -0
  61. package/assets/styles/ui/_modals.scss +67 -0
  62. package/assets/styles/ui/_nav.scss +106 -0
  63. package/assets/styles/ui/_offcanvas.scss +17 -0
  64. package/assets/styles/ui/_pagination.scss +58 -0
  65. package/assets/styles/ui/_payments.scss +28 -0
  66. package/assets/styles/ui/_placeholder.scss +9 -0
  67. package/assets/styles/ui/_popovers.scss +2 -0
  68. package/assets/styles/ui/_progress.scss +107 -0
  69. package/assets/styles/ui/_ribbons.scss +157 -0
  70. package/assets/styles/ui/_segmented.scss +101 -0
  71. package/assets/styles/ui/_signature.scss +15 -0
  72. package/assets/styles/ui/_social.scss +52 -0
  73. package/assets/styles/ui/_stars.scss +13 -0
  74. package/assets/styles/ui/_status.scss +163 -0
  75. package/assets/styles/ui/_steps.scss +156 -0
  76. package/assets/styles/ui/_switch-icon.scss +211 -0
  77. package/assets/styles/ui/_tables.scss +176 -0
  78. package/assets/styles/ui/_tags.scss +57 -0
  79. package/assets/styles/ui/_timeline.scss +61 -0
  80. package/assets/styles/ui/_toasts.scss +18 -0
  81. package/assets/styles/ui/_toolbar.scss +10 -0
  82. package/assets/styles/ui/_tracking.scss +29 -0
  83. package/assets/styles/ui/_type.scss +330 -0
  84. package/assets/styles/ui/forms/_form-check.scss +91 -0
  85. package/assets/styles/ui/forms/_form-colorinput.scss +54 -0
  86. package/assets/styles/ui/forms/_form-custom.scss +28 -0
  87. package/assets/styles/ui/forms/_form-icon.scss +35 -0
  88. package/assets/styles/ui/forms/_form-imagecheck.scss +105 -0
  89. package/assets/styles/ui/forms/_form-selectgroup.scss +153 -0
  90. package/assets/styles/ui/forms/_validation.scss +13 -0
  91. package/assets/styles/ui/typo/_hr.scss +76 -0
  92. package/assets/styles/utils/_background.scss +15 -0
  93. package/assets/styles/utils/_colors.scss +101 -0
  94. package/assets/styles/utils/_opacity.scss +7 -0
  95. package/assets/styles/utils/_scroll.scss +45 -0
  96. package/assets/styles/utils/_shadow.scss +17 -0
  97. package/assets/styles/utils/_sizing.scss +10 -0
  98. package/assets/styles/utils/_text.scss +14 -0
  99. package/assets/styles/vendor/_apexcharts.scss +52 -0
  100. package/assets/styles/vendor/_coloris.scss +72 -0
  101. package/assets/styles/vendor/_dropzone.scss +27 -0
  102. package/assets/styles/vendor/_fslightbox.scss +13 -0
  103. package/assets/styles/vendor/_jsvectormap.scss +47 -0
  104. package/assets/styles/vendor/_litepicker.scss +69 -0
  105. package/assets/styles/vendor/_nouislider.scss +49 -0
  106. package/assets/styles/vendor/_plyr.scss +3 -0
  107. package/assets/styles/vendor/_stars-rating.scss +22 -0
  108. package/assets/styles/vendor/_tom-select.scss +81 -0
  109. package/assets/styles/vendor/_turbo.scss +3 -0
  110. package/assets/styles/vendor/_typed.scss +4 -0
  111. package/assets/styles/vendor/_wysiwyg.scss +46 -0
  112. package/fesm2022/updevs-components-badge.mjs +89 -0
  113. package/fesm2022/updevs-components-badge.mjs.map +1 -0
  114. package/fesm2022/updevs-components-button.mjs +193 -0
  115. package/fesm2022/updevs-components-button.mjs.map +1 -0
  116. package/fesm2022/updevs-components-calendar.mjs +582 -0
  117. package/fesm2022/updevs-components-calendar.mjs.map +1 -0
  118. package/fesm2022/updevs-components-card.mjs +242 -0
  119. package/fesm2022/updevs-components-card.mjs.map +1 -0
  120. package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
  121. package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
  122. package/fesm2022/updevs-components-dropdown.mjs +247 -0
  123. package/fesm2022/updevs-components-dropdown.mjs.map +1 -0
  124. package/fesm2022/updevs-components-form-controls-abstractions.mjs +106 -0
  125. package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
  126. package/fesm2022/updevs-components-form-controls-checkbox.mjs +99 -0
  127. package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -0
  128. package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
  129. package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
  130. package/fesm2022/updevs-components-form-controls-file-upload.mjs +272 -0
  131. package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
  132. package/fesm2022/updevs-components-form-controls-input.mjs +281 -0
  133. package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -0
  134. package/fesm2022/updevs-components-form-controls-radio.mjs +98 -0
  135. package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -0
  136. package/fesm2022/updevs-components-form-controls-select.mjs +600 -0
  137. package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -0
  138. package/fesm2022/updevs-components-form-controls-textarea.mjs +79 -0
  139. package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -0
  140. package/fesm2022/updevs-components-form-controls-time-picker.mjs +345 -0
  141. package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -0
  142. package/fesm2022/updevs-components-form.mjs +562 -0
  143. package/fesm2022/updevs-components-form.mjs.map +1 -0
  144. package/fesm2022/updevs-components-layout.mjs +1054 -0
  145. package/fesm2022/updevs-components-layout.mjs.map +1 -0
  146. package/fesm2022/updevs-components-link.mjs +79 -0
  147. package/fesm2022/updevs-components-link.mjs.map +1 -0
  148. package/fesm2022/updevs-components-list.mjs +215 -0
  149. package/fesm2022/updevs-components-list.mjs.map +1 -0
  150. package/fesm2022/updevs-components-modal.mjs +505 -0
  151. package/fesm2022/updevs-components-modal.mjs.map +1 -0
  152. package/fesm2022/updevs-components-paginator.mjs +160 -0
  153. package/fesm2022/updevs-components-paginator.mjs.map +1 -0
  154. package/fesm2022/updevs-components-popover.mjs +215 -0
  155. package/fesm2022/updevs-components-popover.mjs.map +1 -0
  156. package/fesm2022/updevs-components-pricing.mjs +130 -0
  157. package/fesm2022/updevs-components-pricing.mjs.map +1 -0
  158. package/fesm2022/updevs-components-table.mjs +2060 -0
  159. package/fesm2022/updevs-components-table.mjs.map +1 -0
  160. package/fesm2022/updevs-components.mjs +33 -0
  161. package/fesm2022/updevs-components.mjs.map +1 -0
  162. package/package.json +127 -14
  163. package/types/updevs-components-badge.d.ts +44 -0
  164. package/types/updevs-components-button.d.ts +75 -0
  165. package/types/updevs-components-calendar.d.ts +175 -0
  166. package/types/updevs-components-card.d.ts +92 -0
  167. package/types/updevs-components-drag-and-drop.d.ts +74 -0
  168. package/types/updevs-components-dropdown.d.ts +124 -0
  169. package/types/updevs-components-form-controls-abstractions.d.ts +49 -0
  170. package/types/updevs-components-form-controls-checkbox.d.ts +33 -0
  171. package/types/updevs-components-form-controls-date-picker.d.ts +80 -0
  172. package/types/updevs-components-form-controls-file-upload.d.ts +69 -0
  173. package/types/updevs-components-form-controls-input.d.ts +95 -0
  174. package/types/updevs-components-form-controls-radio.d.ts +32 -0
  175. package/types/updevs-components-form-controls-select.d.ts +200 -0
  176. package/types/updevs-components-form-controls-textarea.d.ts +31 -0
  177. package/types/updevs-components-form-controls-time-picker.d.ts +164 -0
  178. package/types/updevs-components-form.d.ts +356 -0
  179. package/types/updevs-components-layout.d.ts +490 -0
  180. package/types/updevs-components-link.d.ts +34 -0
  181. package/types/updevs-components-list.d.ts +107 -0
  182. package/types/updevs-components-modal.d.ts +155 -0
  183. package/types/updevs-components-paginator.d.ts +58 -0
  184. package/types/updevs-components-popover.d.ts +63 -0
  185. package/types/updevs-components-pricing.d.ts +91 -0
  186. package/types/updevs-components-table.d.ts +619 -0
  187. package/types/updevs-components.d.ts +44 -0
  188. package/CHANGELOG.md +0 -8
  189. package/ng-package.json +0 -7
  190. package/src/lib/components.component.spec.ts +0 -23
  191. package/src/lib/components.component.ts +0 -14
  192. package/src/lib/components.module.ts +0 -17
  193. package/src/lib/components.service.spec.ts +0 -16
  194. package/src/lib/components.service.ts +0 -9
  195. package/src/public-api.ts +0 -7
  196. package/tsconfig.lib.json +0 -14
  197. package/tsconfig.lib.prod.json +0 -10
  198. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,155 @@
1
+ import * as i0 from '@angular/core';
2
+ import { TemplateRef, Type, ElementRef, ComponentRef } from '@angular/core';
3
+ import { OptionalType, BgColorStyleType, TopBottomLeftRightType, ComponentType } from '@updevs/sdk/types';
4
+ import { TextModel } from '@updevs/sdk';
5
+ import * as i3 from '@updevs/sdk/layout';
6
+ import { ButtonModel, BaseComponent, Overlay } from '@updevs/sdk/layout';
7
+ import * as i5 from '@updevs/icons';
8
+ import { IconModel } from '@updevs/icons';
9
+ import { Observable } from 'rxjs';
10
+ import * as i6 from '@updevs/sdk/messages';
11
+ import { MessagesService } from '@updevs/sdk/messages';
12
+ import * as i7 from '@jsverse/transloco';
13
+ import { TranslocoService } from '@jsverse/transloco';
14
+ import * as i2 from '@angular/common';
15
+ import { NgComponentOutlet } from '@angular/common';
16
+ import * as i4 from '@updevs/components/button';
17
+
18
+ interface ModalRef {
19
+ afterClose?: (result?: any) => void;
20
+ close(result?: any): void;
21
+ getBodyInstance<T>(): OptionalType<T>;
22
+ }
23
+
24
+ declare abstract class BaseModal<TData = any> {
25
+ modalRef: i0.InputSignal<ModalRef>;
26
+ data: i0.InputSignal<TData>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseModal<any>, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseModal<any>, never, never, { "modalRef": { "alias": "modalRef"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
29
+ }
30
+
31
+ type ModalSizeType = 'regular' | 'small' | 'extra-large' | 'large';
32
+
33
+ type ModalFooterStyleType = 'full-width' | 'default' | 'centered';
34
+
35
+ interface ModalConfig {
36
+ size?: ModalSizeType;
37
+ isVerticallyCentered?: boolean;
38
+ isScrollable?: boolean;
39
+ showCancelButton?: boolean;
40
+ showCloseButton?: boolean;
41
+ shouldDismissOnEsc?: boolean;
42
+ shouldDismissOnOutsideClick?: boolean;
43
+ isAlert?: boolean;
44
+ isTextCentered?: boolean;
45
+ statusColor?: BgColorStyleType;
46
+ headerTemplateRef?: TemplateRef<any>;
47
+ footerTemplateRef?: TemplateRef<any>;
48
+ bodyTemplateRef?: TemplateRef<any>;
49
+ bodyContentType?: Type<any>;
50
+ body?: TextModel;
51
+ title?: TextModel;
52
+ titleIcon?: IconModel;
53
+ titleIconPosition?: TopBottomLeftRightType;
54
+ footerLayout?: ModalFooterStyleType;
55
+ actionButtons?: ButtonModel[];
56
+ data?: any;
57
+ }
58
+
59
+ declare class ModalService {
60
+ private readonly dynamicComponentLoaderService;
61
+ private readonly overlayService;
62
+ private readonly applicationRef;
63
+ open<T>(contentType?: ComponentType<T>, config?: ModalConfig, rootElement?: Element, shouldDisposeOnClick?: boolean, shouldDisposeOnEsc?: boolean): ModalRef;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
65
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
66
+ }
67
+
68
+ declare class ModalAlertService {
69
+ private readonly modalService;
70
+ private readonly defaultIconModel;
71
+ showWarning(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
72
+ showError(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
73
+ showInfo(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
74
+ showSuccess(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): ModalRef;
75
+ showConfirm(message: TextModel, title?: TextModel, actionButtons?: ButtonModel[]): Observable<boolean>;
76
+ showCustom(message: TextModel, title: TextModel, titleIcon: IconModel, titleIconPosition: TopBottomLeftRightType, statusColor: BgColorStyleType, actionButtons?: ButtonModel[], size?: ModalSizeType, footerLayout?: ModalFooterStyleType): ModalRef;
77
+ private open;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalAlertService, never>;
79
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalAlertService>;
80
+ }
81
+
82
+ declare class ModalContainerComponent extends BaseComponent implements ModalConfig, ModalRef {
83
+ id: string;
84
+ hostClass: string[];
85
+ role: string;
86
+ ariaHidden: boolean;
87
+ ariaModal: boolean;
88
+ tabIndex: number;
89
+ styleDisplay?: string;
90
+ dialog: i0.Signal<ElementRef<any>>;
91
+ content: i0.Signal<ElementRef<any>>;
92
+ bodyContentOutlet: i0.Signal<NgComponentOutlet<any> | undefined>;
93
+ size: ModalSizeType;
94
+ isVerticallyCentered: boolean;
95
+ isScrollable: boolean;
96
+ showCloseButton: boolean;
97
+ showCancelButton: boolean;
98
+ isTextCentered: boolean;
99
+ shouldDismissOnEsc: boolean;
100
+ shouldDismissOnOutsideClick: boolean;
101
+ isAlert: boolean;
102
+ statusColor?: BgColorStyleType;
103
+ headerTemplateRef?: TemplateRef<any>;
104
+ footerTemplateRef?: TemplateRef<any>;
105
+ bodyTemplateRef?: TemplateRef<any>;
106
+ bodyContentType?: Type<any>;
107
+ contentType?: Type<any>;
108
+ body?: TextModel;
109
+ title?: TextModel;
110
+ titleIcon?: IconModel;
111
+ titleIconPosition?: TopBottomLeftRightType;
112
+ footerLayout?: ModalFooterStyleType;
113
+ actionButtons: ButtonModel[];
114
+ overlay: Overlay;
115
+ modalContainerRef: ComponentRef<ModalContainerComponent>;
116
+ data?: any;
117
+ afterClose?: (result?: any) => void;
118
+ get classes(): string[];
119
+ get titleText(): string;
120
+ get bodyText(): string;
121
+ get statusColorClass(): string;
122
+ get sizeClass(): string;
123
+ private readonly openClass;
124
+ private readonly textService;
125
+ private readonly elementRef;
126
+ private readonly layoutService;
127
+ private readonly scrollbarService;
128
+ private readonly renderer;
129
+ private readonly document;
130
+ private get element();
131
+ prepareToShow(config?: ModalConfig): void;
132
+ show(): void;
133
+ close(result?: any): void;
134
+ buttonClick(event: MouseEvent, btn: ButtonModel): void;
135
+ getBodyInstance<T>(): OptionalType<T>;
136
+ private adjustDialog;
137
+ private setupConfig;
138
+ private setupActionButtons;
139
+ private setupListeners;
140
+ private clickCallback;
141
+ private escCallback;
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
143
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "upd-modal-container", never, {}, {}, never, never, false, never>;
144
+ }
145
+
146
+ declare class UpdModalModule {
147
+ constructor(translocoService: TranslocoService, modalAlertService: ModalAlertService, messagesService: MessagesService);
148
+ private setupMessagesService;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdModalModule, never>;
150
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UpdModalModule, [typeof ModalContainerComponent], [typeof i2.CommonModule, typeof i3.UpdCoreLayoutModule, typeof i4.UpdButtonModule, typeof i5.UpdIconsModule, typeof i6.UpdMessagesModule, typeof i7.TranslocoDirective], never>;
151
+ static ɵinj: i0.ɵɵInjectorDeclaration<UpdModalModule>;
152
+ }
153
+
154
+ export { BaseModal, ModalAlertService, ModalService, UpdModalModule };
155
+ export type { ModalConfig, ModalRef };
@@ -0,0 +1,58 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { EventEmitter, Signal } from '@angular/core';
3
+ import { TextModel, TextService } from '@updevs/sdk';
4
+ import * as i5 from '@updevs/components/form-controls/select';
5
+ import { SelectItem } from '@updevs/components/form-controls/select';
6
+ import * as i6 from '@jsverse/transloco';
7
+ import { TranslocoService } from '@jsverse/transloco';
8
+ import * as i2 from '@angular/common';
9
+ import * as i3 from '@updevs/icons';
10
+ import * as i4 from '@updevs/components/button';
11
+
12
+ declare class PaginatorComponent {
13
+ hostClasses: string;
14
+ readonly changed: EventEmitter<void>;
15
+ startPageIndex: _angular_core.InputSignal<0 | 1>;
16
+ currentPage: _angular_core.ModelSignal<number>;
17
+ wrapperClasses: _angular_core.InputSignal<string>;
18
+ availablePageSizes: _angular_core.InputSignal<number[]>;
19
+ defaultInitPageSize: _angular_core.InputSignal<number>;
20
+ pageSize: _angular_core.ModelSignal<number>;
21
+ shouldDisplayFirstIcon: _angular_core.InputSignal<boolean>;
22
+ shouldDisplayFirstText: _angular_core.InputSignal<boolean>;
23
+ shouldDisplayPreviousIcon: _angular_core.InputSignal<boolean>;
24
+ shouldDisplayPreviousText: _angular_core.InputSignal<boolean>;
25
+ shouldDisplayNextIcon: _angular_core.InputSignal<boolean>;
26
+ shouldDisplayNextText: _angular_core.InputSignal<boolean>;
27
+ shouldDisplayLastIcon: _angular_core.InputSignal<boolean>;
28
+ shouldDisplayLastText: _angular_core.InputSignal<boolean>;
29
+ previousDescription: _angular_core.InputSignal<TextModel | undefined>;
30
+ nextDescription: _angular_core.InputSignal<TextModel | undefined>;
31
+ totalRecords: _angular_core.InputSignal<number>;
32
+ isFirstDisabled: Signal<boolean>;
33
+ isPreviousDisabled: Signal<boolean>;
34
+ isNextDisabled: Signal<boolean>;
35
+ isLastDisabled: Signal<boolean>;
36
+ pageOptions: Signal<SelectItem[]>;
37
+ selectedPageSize: Signal<SelectItem | undefined>;
38
+ totalPages: Signal<number>;
39
+ currentFirstDisplayed: Signal<number>;
40
+ currentLastDisplayed: Signal<number>;
41
+ readonly textService: TextService;
42
+ private expectedLast;
43
+ private readonly defaultWrapperClasses;
44
+ constructor();
45
+ onSelectPageSize(page?: SelectItem): void;
46
+ selectPage(page: number): void;
47
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginatorComponent, never>;
48
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginatorComponent, "upd-paginator", never, { "startPageIndex": { "alias": "startPageIndex"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "availablePageSizes": { "alias": "availablePageSizes"; "required": false; "isSignal": true; }; "defaultInitPageSize": { "alias": "defaultInitPageSize"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "shouldDisplayFirstIcon": { "alias": "shouldDisplayFirstIcon"; "required": false; "isSignal": true; }; "shouldDisplayFirstText": { "alias": "shouldDisplayFirstText"; "required": false; "isSignal": true; }; "shouldDisplayPreviousIcon": { "alias": "shouldDisplayPreviousIcon"; "required": false; "isSignal": true; }; "shouldDisplayPreviousText": { "alias": "shouldDisplayPreviousText"; "required": false; "isSignal": true; }; "shouldDisplayNextIcon": { "alias": "shouldDisplayNextIcon"; "required": false; "isSignal": true; }; "shouldDisplayNextText": { "alias": "shouldDisplayNextText"; "required": false; "isSignal": true; }; "shouldDisplayLastIcon": { "alias": "shouldDisplayLastIcon"; "required": false; "isSignal": true; }; "shouldDisplayLastText": { "alias": "shouldDisplayLastText"; "required": false; "isSignal": true; }; "previousDescription": { "alias": "previousDescription"; "required": false; "isSignal": true; }; "nextDescription": { "alias": "nextDescription"; "required": false; "isSignal": true; }; "totalRecords": { "alias": "totalRecords"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; }, never, never, false, never>;
49
+ }
50
+
51
+ declare class UpdPaginatorModule {
52
+ constructor(translocoService: TranslocoService);
53
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdPaginatorModule, never>;
54
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdPaginatorModule, [typeof PaginatorComponent], [typeof i2.CommonModule, typeof i3.UpdIconsModule, typeof i4.UpdButtonModule, typeof i5.UpdSelectModule, typeof i6.TranslocoDirective], [typeof PaginatorComponent]>;
55
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdPaginatorModule>;
56
+ }
57
+
58
+ export { PaginatorComponent, UpdPaginatorModule };
@@ -0,0 +1,63 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnChanges, TemplateRef } from '@angular/core';
3
+ import { TopBottomLeftRightType } from '@updevs/sdk/types';
4
+ import * as i3 from '@angular/common';
5
+
6
+ declare class PopoverComponent implements OnInit, OnChanges {
7
+ classes: string;
8
+ popperPlacement: string;
9
+ readonly role = "tooltip";
10
+ title?: string;
11
+ text?: string;
12
+ titleTemplate?: TemplateRef<any>;
13
+ template?: TemplateRef<any>;
14
+ placement: TopBottomLeftRightType;
15
+ customClasses?: string;
16
+ get isVisible(): boolean;
17
+ private _isVisible;
18
+ ngOnInit(): void;
19
+ ngOnChanges(): void;
20
+ setVisible(isVisible: boolean): void;
21
+ private updateClasses;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "upd-popover", never, { "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "titleTemplate": { "alias": "titleTemplate"; "required": false; }; "template": { "alias": "template"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; }, {}, never, ["*"], false, never>;
24
+ }
25
+
26
+ declare class PopoverDirective {
27
+ text?: string;
28
+ title?: string;
29
+ popoverTitleTemplate?: TemplateRef<any>;
30
+ popoverTemplate?: TemplateRef<any>;
31
+ placement: TopBottomLeftRightType;
32
+ customClasses?: string;
33
+ /**
34
+ * This makes the popover behave like a tooltip.
35
+ * It means it'll show/hide depending on whether the mouse is over or not the element.
36
+ */
37
+ actAsTooltip: boolean;
38
+ private popoverComponentRef?;
39
+ private readonly elementRef;
40
+ private readonly renderer;
41
+ private readonly viewContainerRef;
42
+ private readonly ngZone;
43
+ private readonly injector;
44
+ private readonly positioningService;
45
+ private readonly dynamicComponentLoaderService;
46
+ onMouseEnter(): void;
47
+ onMouseLeave(): void;
48
+ onClick(): void;
49
+ private initPopover;
50
+ private disposePopover;
51
+ private setupPopover;
52
+ private updatePosition;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
54
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[updPopover]", never, { "text": { "alias": "updPopover"; "required": false; }; "title": { "alias": "updPopoverTitle"; "required": false; }; "popoverTitleTemplate": { "alias": "updPopoverTitleTemplate"; "required": false; }; "popoverTemplate": { "alias": "updPopoverTemplate"; "required": false; }; "placement": { "alias": "updPopoverPlacement"; "required": false; }; "customClasses": { "alias": "updPopoverCustomClasses"; "required": false; }; "actAsTooltip": { "alias": "updPopoverActAsTooltip"; "required": false; }; }, {}, never, never, false, never>;
55
+ }
56
+
57
+ declare class UpdPopoverModule {
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdPopoverModule, never>;
59
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UpdPopoverModule, [typeof PopoverComponent, typeof PopoverDirective], [typeof i3.CommonModule], [typeof PopoverComponent, typeof PopoverDirective]>;
60
+ static ɵinj: i0.ɵɵInjectorDeclaration<UpdPopoverModule>;
61
+ }
62
+
63
+ export { PopoverComponent, PopoverDirective, UpdPopoverModule };
@@ -0,0 +1,91 @@
1
+ import * as i5 from '@updevs/icons';
2
+ import { IconModel } from '@updevs/icons';
3
+ import { TextModel, TextService } from '@updevs/sdk';
4
+ import { BaseEntityModel } from '@updevs/sdk/core';
5
+ import { BgColorStyleType } from '@updevs/sdk/types';
6
+ import * as i4 from '@updevs/components/card';
7
+ import { RibbonStyleType } from '@updevs/components/card';
8
+ import * as _angular_core from '@angular/core';
9
+ import * as i3 from '@angular/common';
10
+ import * as i6 from '@updevs/components/button';
11
+ import * as i7 from '@updevs/components/badge';
12
+ import * as i8 from '@updevs/components/popover';
13
+
14
+ interface PriceItemFeature {
15
+ text: string;
16
+ extraInfo?: string;
17
+ itemDescription?: string;
18
+ isIncluded: boolean;
19
+ isHighlighted: boolean;
20
+ }
21
+
22
+ interface PriceItemFeaturesGroup {
23
+ name: string;
24
+ features: PriceItemFeature[];
25
+ }
26
+
27
+ interface PriceItemTagModel {
28
+ text: TextModel;
29
+ backgroundColor: BgColorStyleType;
30
+ }
31
+
32
+ interface PriceItemModel extends BaseEntityModel {
33
+ title: string;
34
+ price: string;
35
+ description?: string;
36
+ isPriceCentered?: boolean;
37
+ chooseThisText: TextModel;
38
+ currentText?: TextModel;
39
+ tags?: PriceItemTagModel[];
40
+ highlightColor?: BgColorStyleType;
41
+ ribbonStyle?: RibbonStyleType;
42
+ ribbonIcon?: IconModel;
43
+ groupedFeatures?: PriceItemFeaturesGroup[];
44
+ features?: PriceItemFeature[];
45
+ }
46
+
47
+ declare class PricingCardsComponent {
48
+ readonly isLoading: _angular_core.InputSignal<boolean>;
49
+ readonly items: _angular_core.InputSignal<PriceItemModel[]>;
50
+ readonly selected: _angular_core.OutputEmitterRef<PriceItemModel>;
51
+ readonly textService: TextService;
52
+ selectOption(item: PriceItemModel): void;
53
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PricingCardsComponent, never>;
54
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PricingCardsComponent, "upd-pricing-cards", never, { "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "selected": "selected"; }, never, never, false, never>;
55
+ }
56
+
57
+ type DisplayRow = {
58
+ isHeader: true;
59
+ name: string;
60
+ } | {
61
+ isHeader: false;
62
+ text: string;
63
+ extraInfo?: string;
64
+ cells: {
65
+ isIncluded: boolean;
66
+ itemDescription?: string;
67
+ }[];
68
+ };
69
+ declare class PricingTableComponent {
70
+ readonly isLoading: _angular_core.InputSignal<boolean>;
71
+ readonly shouldRemoveCardStyle: _angular_core.InputSignal<boolean>;
72
+ readonly title: _angular_core.InputSignal<string | undefined>;
73
+ readonly description: _angular_core.InputSignal<string | undefined>;
74
+ readonly items: _angular_core.InputSignal<PriceItemModel[]>;
75
+ readonly selected: _angular_core.OutputEmitterRef<PriceItemModel>;
76
+ readonly tableBodyRows: _angular_core.Signal<DisplayRow[]>;
77
+ readonly textService: TextService;
78
+ selectOption(item: PriceItemModel): void;
79
+ private findFeature;
80
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PricingTableComponent, never>;
81
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PricingTableComponent, "upd-pricing-table", never, { "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "shouldRemoveCardStyle": { "alias": "shouldRemoveCardStyle"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "selected": "selected"; }, never, never, false, never>;
82
+ }
83
+
84
+ declare class UpdPricingModule {
85
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdPricingModule, never>;
86
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdPricingModule, [typeof PricingCardsComponent, typeof PricingTableComponent], [typeof i3.CommonModule, typeof i4.UpdCardModule, typeof i5.UpdIconsModule, typeof i6.UpdButtonModule, typeof i7.UpdBadgeModule, typeof i8.UpdPopoverModule], [typeof PricingCardsComponent, typeof PricingTableComponent]>;
87
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdPricingModule>;
88
+ }
89
+
90
+ export { PricingCardsComponent, PricingTableComponent, UpdPricingModule };
91
+ export type { PriceItemFeature, PriceItemFeaturesGroup, PriceItemModel, PriceItemTagModel };