@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,200 @@
1
+ import { HorizontalVerticalType } from '@updevs/components';
2
+ import * as i5 from '@updevs/components/list';
3
+ import { ListItem } from '@updevs/components/list';
4
+ import { Observable } from 'rxjs';
5
+ import * as _angular_core from '@angular/core';
6
+ import { OnInit, ElementRef, EventEmitter } from '@angular/core';
7
+ import { OptionalType } from '@updevs/sdk/types';
8
+ import { BaseSearchStore, ObservableSearchType } from '@updevs/sdk/stores';
9
+ import { BaseControl } from '@updevs/components/form-controls/abstractions';
10
+ import * as i3 from '@angular/common';
11
+ import * as i4 from '@updevs/sdk/layout';
12
+ import * as i6 from '@updevs/components/form-controls/input';
13
+ import * as i7 from '@updevs/icons';
14
+ import * as i8 from '@updevs/components/button';
15
+ import * as i9 from '@updevs/components/popover';
16
+ import * as i10 from '@jsverse/transloco';
17
+
18
+ declare class Defaults {
19
+ static dropdownMaxHeight: number;
20
+ static typeaheadDebounce: number;
21
+ static shouldAutoSearch: boolean;
22
+ static shouldCloseOnOutsideClick: boolean;
23
+ static layout: HorizontalVerticalType;
24
+ }
25
+
26
+ interface SelectItem {
27
+ /**
28
+ * Value of the single item if selected.
29
+ * If grouped, will be the group key.
30
+ */
31
+ value?: any;
32
+ /**
33
+ * Description of the single item.
34
+ * If grouped, will be the group name.
35
+ */
36
+ text: string;
37
+ /**
38
+ * Full object's data.
39
+ */
40
+ objectData?: any;
41
+ /**
42
+ * Allows to customize the list item.
43
+ */
44
+ listItem?: ListItem;
45
+ /**
46
+ * Children.
47
+ */
48
+ children?: SelectItem[];
49
+ }
50
+
51
+ type ParentLoaderType = (parentId: any, term?: string) => Observable<SelectItem[]>;
52
+ type GetItemByIdType = (id: any) => Observable<SelectItem>;
53
+
54
+ declare abstract class BaseSelectComponent extends BaseControl implements OnInit {
55
+ get wrapperClasses(): "row" | "";
56
+ readonly componentBox: _angular_core.Signal<ElementRef<any> | undefined>;
57
+ readonly searchBox: _angular_core.Signal<ElementRef<any> | undefined>;
58
+ readonly searchBoxChild: _angular_core.Signal<ElementRef<any> | undefined>;
59
+ readonly list: _angular_core.Signal<ElementRef<any> | undefined>;
60
+ readonly dropdownOpenStatusChange: _angular_core.OutputEmitterRef<boolean>;
61
+ /**
62
+ * Select items.
63
+ * If provided, the select will be considered static.
64
+ */
65
+ readonly items: _angular_core.InputSignal<SelectItem[] | undefined>;
66
+ /**
67
+ * Store used to load/filter the items.
68
+ */
69
+ readonly store: _angular_core.InputSignal<BaseSearchStore<any> | undefined>;
70
+ /**
71
+ * Observable used to load/filter the items.
72
+ */
73
+ readonly observable: _angular_core.InputSignal<ObservableSearchType | undefined>;
74
+ /**
75
+ * Name of the property in the object that represents the ID/key of the option.
76
+ * **Note:** used only for remote data.
77
+ */
78
+ readonly itemKey: _angular_core.InputSignal<string | undefined>;
79
+ /**
80
+ * Name of the property in the object that represents the value/description of the option.
81
+ * **Note:** used only for remote data.
82
+ */
83
+ readonly itemValue: _angular_core.InputSignal<string | undefined>;
84
+ /**
85
+ * Maximum height of the dropdown.
86
+ */
87
+ readonly dropdownMaxHeight: _angular_core.InputSignal<number>;
88
+ readonly typeaheadDebounce: _angular_core.InputSignal<number>;
89
+ readonly shouldAutoSearch: _angular_core.InputSignal<boolean>;
90
+ readonly shouldCloseOnOutsideClick: _angular_core.InputSignal<boolean>;
91
+ readonly layout: _angular_core.InputSignal<HorizontalVerticalType>;
92
+ /**
93
+ * Value coming from a parent field when the rule `AttachmentTypeEnum.ParentLoad` is active.
94
+ * `upd-select` can use it to fetch the dependent list.
95
+ */
96
+ readonly parentValue: _angular_core.InputSignal<unknown>;
97
+ readonly parentSelectedId: _angular_core.InputSignal<any>;
98
+ readonly parentDependentLoader: _angular_core.InputSignal<ParentLoaderType | undefined>;
99
+ readonly getItemById: _angular_core.InputSignal<GetItemByIdType | undefined>;
100
+ layoutClasses: _angular_core.Signal<string[]>;
101
+ isLoading: boolean;
102
+ localItems: _angular_core.WritableSignal<SelectItem[]>;
103
+ listItems: ListItem[];
104
+ dropdownClasses: string;
105
+ get isDropdownOpen(): boolean;
106
+ set isDropdownOpen(value: boolean);
107
+ get labelSizeClasses(): string;
108
+ protected _currentTerm?: string;
109
+ protected _localBackupItems: SelectItem[];
110
+ private hasInternalList;
111
+ private _isDropdownOpen;
112
+ private hostWrapperClasses;
113
+ private previousParentValue?;
114
+ private readonly searchInputSubject;
115
+ private readonly renderer;
116
+ private readonly ngZone;
117
+ private readonly domEventsService;
118
+ private readonly positioningService;
119
+ private readonly injector;
120
+ protected constructor();
121
+ ngOnInit(): void;
122
+ openDropdown(): void;
123
+ search(term?: string): void;
124
+ protected _setupLocalItems(items: SelectItem[]): void;
125
+ private searchLocal;
126
+ private searchExternal;
127
+ private getListItem;
128
+ private updatePosition;
129
+ abstract clearSelection(): void;
130
+ abstract onSelectItem(item: ListItem): void;
131
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseSelectComponent, never>;
132
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseSelectComponent, never, never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "store": { "alias": "store"; "required": false; "isSignal": true; }; "observable": { "alias": "observable"; "required": false; "isSignal": true; }; "itemKey": { "alias": "itemKey"; "required": false; "isSignal": true; }; "itemValue": { "alias": "itemValue"; "required": false; "isSignal": true; }; "dropdownMaxHeight": { "alias": "dropdownMaxHeight"; "required": false; "isSignal": true; }; "typeaheadDebounce": { "alias": "typeaheadDebounce"; "required": false; "isSignal": true; }; "shouldAutoSearch": { "alias": "shouldAutoSearch"; "required": false; "isSignal": true; }; "shouldCloseOnOutsideClick": { "alias": "shouldCloseOnOutsideClick"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "parentValue": { "alias": "parentValue"; "required": false; "isSignal": true; }; "parentSelectedId": { "alias": "parentSelectedId"; "required": false; "isSignal": true; }; "parentDependentLoader": { "alias": "parentDependentLoader"; "required": false; "isSignal": true; }; "getItemById": { "alias": "getItemById"; "required": false; "isSignal": true; }; }, { "dropdownOpenStatusChange": "dropdownOpenStatusChange"; }, never, never, false, never>;
133
+ }
134
+
135
+ declare class SelectComponent extends BaseSelectComponent {
136
+ /**
137
+ * If true, it'll use the default style of the OS, no search capabilities.
138
+ */
139
+ readonly useSystemStyle: _angular_core.InputSignal<boolean>;
140
+ readonly shouldShowClearButton: _angular_core.InputSignal<boolean>;
141
+ readonly shouldTruncateSelectedText: _angular_core.InputSignal<OptionalType<boolean>>;
142
+ readonly isCompact: _angular_core.InputSignal<boolean>;
143
+ readonly value: _angular_core.ModelSignal<any>;
144
+ readonly shouldShowHintWithoutLabel: _angular_core.Signal<boolean>;
145
+ /**
146
+ * Triggered when an item is selected.
147
+ */
148
+ readonly selectedItem: _angular_core.OutputEmitterRef<OptionalType<SelectItem>>;
149
+ currentSelection?: SelectItem;
150
+ get canTruncateText(): boolean;
151
+ private isFetchingMissingItem;
152
+ constructor();
153
+ onSelectItem(item: ListItem): void;
154
+ search(term?: string): void;
155
+ clearSelection(isInternalCall?: boolean): void;
156
+ onSystemSelect(event: any): void;
157
+ protected _getValue(): any;
158
+ protected _updateValue(value: any): void;
159
+ private loadDependentData;
160
+ private clearData;
161
+ private fetchMissingItem;
162
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent, never>;
163
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "upd-select", never, { "useSystemStyle": { "alias": "useSystemStyle"; "required": false; "isSignal": true; }; "shouldShowClearButton": { "alias": "shouldShowClearButton"; "required": false; "isSignal": true; }; "shouldTruncateSelectedText": { "alias": "shouldTruncateSelectedText"; "required": false; "isSignal": true; }; "isCompact": { "alias": "isCompact"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "selectedItem": "selectedItem"; }, never, never, false, never>;
164
+ }
165
+
166
+ declare class SelectMultipleComponent extends BaseSelectComponent {
167
+ /**
168
+ * Returns the selected items.
169
+ * Triggered when items are selected.
170
+ */
171
+ readonly selectedItems: EventEmitter<SelectItem[]>;
172
+ /**
173
+ * Returns the selected Ids.
174
+ * Triggered when items are selected.
175
+ */
176
+ readonly selectedIds: EventEmitter<any[]>;
177
+ /**
178
+ * An array of primitive values to set the selection programmatically.
179
+ */
180
+ readonly selectedValues: _angular_core.InputSignal<SelectItem[] | undefined>;
181
+ currentSelection: SelectItem[];
182
+ constructor();
183
+ clearSelection(): void;
184
+ onSelectItem(item: ListItem): void;
185
+ onRemoveItem(item: SelectItem): void;
186
+ protected _getValue(): any;
187
+ protected _updateValue(value: any): void;
188
+ private updateActiveItemsOnList;
189
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectMultipleComponent, never>;
190
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectMultipleComponent, "upd-select-multiple", never, { "selectedValues": { "alias": "selectedValues"; "required": false; "isSignal": true; }; }, { "selectedItems": "selectedItems"; "selectedIds": "selectedIds"; }, never, never, false, never>;
191
+ }
192
+
193
+ declare class UpdSelectModule {
194
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdSelectModule, never>;
195
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdSelectModule, [typeof SelectComponent, typeof SelectMultipleComponent], [typeof i3.CommonModule, typeof i4.UpdCoreLayoutModule, typeof i5.UpdListModule, typeof i6.UpdInputModule, typeof i7.UpdIconsModule, typeof i8.UpdButtonModule, typeof i9.UpdPopoverModule, typeof i10.TranslocoModule], [typeof SelectComponent, typeof SelectMultipleComponent]>;
196
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdSelectModule>;
197
+ }
198
+
199
+ export { Defaults, SelectComponent, SelectMultipleComponent, UpdSelectModule };
200
+ export type { GetItemByIdType, ParentLoaderType, SelectItem };
@@ -0,0 +1,31 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnInit, OnChanges } from '@angular/core';
3
+ import { BaseControl } from '@updevs/components/form-controls/abstractions';
4
+ import * as i2 from '@angular/common';
5
+
6
+ declare class TextareaComponent extends BaseControl implements OnInit, OnChanges {
7
+ hostWrapperClasses: string;
8
+ value: _angular_core.ModelSignal<string | undefined>;
9
+ customClasses: _angular_core.InputSignal<string | undefined>;
10
+ wrapperClasses: _angular_core.InputSignal<string | undefined>;
11
+ maxLength: _angular_core.InputSignal<number | undefined>;
12
+ rows: _angular_core.InputSignal<number | undefined>;
13
+ displayCharactersCount: _angular_core.InputSignal<boolean>;
14
+ classes: string[];
15
+ ngOnInit(): void;
16
+ ngOnChanges(): void;
17
+ updateValue(event?: any): void;
18
+ protected _getValue(): any;
19
+ protected _updateValue(value: any): void;
20
+ private updateClasses;
21
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
22
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "upd-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "customClasses": { "alias": "customClasses"; "required": false; "isSignal": true; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "displayCharactersCount": { "alias": "displayCharactersCount"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, false, never>;
23
+ }
24
+
25
+ declare class UpdTextareaModule {
26
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpdTextareaModule, never>;
27
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<UpdTextareaModule, [typeof TextareaComponent], [typeof i2.CommonModule], [typeof TextareaComponent]>;
28
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<UpdTextareaModule>;
29
+ }
30
+
31
+ export { TextareaComponent, UpdTextareaModule };
@@ -0,0 +1,164 @@
1
+ import * as i4 from '@jsverse/transloco';
2
+ import { TranslocoService } from '@jsverse/transloco';
3
+ import * as i0 from '@angular/core';
4
+ import { OnInit, OnChanges, ElementRef, SimpleChanges } from '@angular/core';
5
+ import * as i3 from '@angular/common';
6
+ import * as i5 from '@updevs/components/form-controls/input';
7
+ import * as i6 from '@updevs/icons';
8
+ import * as i7 from '@updevs/components/button';
9
+ import * as i8 from '@updevs/components/list';
10
+ import * as i9 from '@updevs/components/dropdown';
11
+
12
+ declare class TimePickerComponent implements OnInit, OnChanges {
13
+ inputRef?: ElementRef;
14
+ /**
15
+ * Maximum height of the dropdown.
16
+ */
17
+ dropdownMaxHeight: number;
18
+ /**
19
+ * Whether the mask should be shown.
20
+ */
21
+ showMask: boolean;
22
+ /**
23
+ * Whether seconds should be selectable.
24
+ */
25
+ shouldSelectSeconds: boolean;
26
+ /**
27
+ * Whether the 24-hour format will be used or the 12-hour one (AM/PM)
28
+ */
29
+ shouldUse24hFormat: boolean;
30
+ /**
31
+ * Hour from which where the list will begin.
32
+ */
33
+ startingHour: number;
34
+ /**
35
+ * Hour from which where the list will end.
36
+ */
37
+ endingHour: number;
38
+ /**
39
+ * Interval between hours displayed.
40
+ */
41
+ hourInterval: number;
42
+ /**
43
+ * Minute from which where the list will begin.
44
+ */
45
+ startingMinute: number;
46
+ /**
47
+ * Minute from which where the list will end.
48
+ */
49
+ endingMinute: number;
50
+ /**
51
+ * Interval between minutes displayed.
52
+ */
53
+ minuteInterval: number;
54
+ /**
55
+ * Second from which where the list will begin.
56
+ */
57
+ startingSecond: number;
58
+ /**
59
+ * Second from which where the list will end.
60
+ */
61
+ endingSecond: number;
62
+ /**
63
+ * Interval between seconds displayed.
64
+ */
65
+ secondInterval: number;
66
+ /**
67
+ * Custom list of hours to be displayed for selection.
68
+ */
69
+ customHours?: number[];
70
+ /**
71
+ * Custom list of minutes to be displayed for selection.
72
+ */
73
+ customMinutes?: number[];
74
+ /**
75
+ * Custom list of seconds to be displayed for selection.
76
+ */
77
+ customSeconds?: number[];
78
+ maxWidth: number;
79
+ isDropdownOpen: boolean;
80
+ get inputMask(): string;
81
+ ngOnInit(): void;
82
+ ngOnChanges(changes: SimpleChanges): void;
83
+ openDropdown(): void;
84
+ private setupStyle;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "upd-time-picker", never, { "dropdownMaxHeight": { "alias": "dropdownMaxHeight"; "required": false; }; "showMask": { "alias": "showMask"; "required": false; }; "shouldSelectSeconds": { "alias": "shouldSelectSeconds"; "required": false; }; "shouldUse24hFormat": { "alias": "shouldUse24hFormat"; "required": false; }; "startingHour": { "alias": "startingHour"; "required": false; }; "endingHour": { "alias": "endingHour"; "required": false; }; "hourInterval": { "alias": "hourInterval"; "required": false; }; "startingMinute": { "alias": "startingMinute"; "required": false; }; "endingMinute": { "alias": "endingMinute"; "required": false; }; "minuteInterval": { "alias": "minuteInterval"; "required": false; }; "startingSecond": { "alias": "startingSecond"; "required": false; }; "endingSecond": { "alias": "endingSecond"; "required": false; }; "secondInterval": { "alias": "secondInterval"; "required": false; }; "customHours": { "alias": "customHours"; "required": false; }; "customMinutes": { "alias": "customMinutes"; "required": false; }; "customSeconds": { "alias": "customSeconds"; "required": false; }; }, {}, never, never, false, never>;
87
+ }
88
+
89
+ declare class TimeSelectorComponent implements OnInit, OnChanges {
90
+ /**
91
+ * Whether seconds should be selectable.
92
+ */
93
+ shouldSelectSeconds: boolean;
94
+ /**
95
+ * Whether the 24-hour format will be used or the 12-hour one (AM/PM)
96
+ */
97
+ shouldUse24hFormat: boolean;
98
+ /**
99
+ * Hour from which where the list will begin.
100
+ */
101
+ startingHour: number;
102
+ /**
103
+ * Hour from which where the list will end.
104
+ */
105
+ endingHour: number;
106
+ /**
107
+ * Interval between hours displayed.
108
+ */
109
+ hourInterval: number;
110
+ /**
111
+ * Minute from which where the list will begin.
112
+ */
113
+ startingMinute: number;
114
+ /**
115
+ * Minute from which where the list will end.
116
+ */
117
+ endingMinute: number;
118
+ /**
119
+ * Interval between minutes displayed.
120
+ */
121
+ minuteInterval: number;
122
+ /**
123
+ * Second from which where the list will begin.
124
+ */
125
+ startingSecond: number;
126
+ /**
127
+ * Second from which where the list will end.
128
+ */
129
+ endingSecond: number;
130
+ /**
131
+ * Interval between seconds displayed.
132
+ */
133
+ secondInterval: number;
134
+ /**
135
+ * Custom list of hours to be displayed for selection.
136
+ */
137
+ customHours?: number[];
138
+ /**
139
+ * Custom list of minutes to be displayed for selection.
140
+ */
141
+ customMinutes?: number[];
142
+ /**
143
+ * Custom list of seconds to be displayed for selection.
144
+ */
145
+ customSeconds?: number[];
146
+ hoursList: number[];
147
+ minutesList: number[];
148
+ secondsList: number[];
149
+ ngOnInit(): void;
150
+ ngOnChanges(changes: SimpleChanges): void;
151
+ private setupTimeLists;
152
+ private setupTimeList;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeSelectorComponent, never>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimeSelectorComponent, "upd-time-selector", never, { "shouldSelectSeconds": { "alias": "shouldSelectSeconds"; "required": false; }; "shouldUse24hFormat": { "alias": "shouldUse24hFormat"; "required": false; }; "startingHour": { "alias": "startingHour"; "required": false; }; "endingHour": { "alias": "endingHour"; "required": false; }; "hourInterval": { "alias": "hourInterval"; "required": false; }; "startingMinute": { "alias": "startingMinute"; "required": false; }; "endingMinute": { "alias": "endingMinute"; "required": false; }; "minuteInterval": { "alias": "minuteInterval"; "required": false; }; "startingSecond": { "alias": "startingSecond"; "required": false; }; "endingSecond": { "alias": "endingSecond"; "required": false; }; "secondInterval": { "alias": "secondInterval"; "required": false; }; "customHours": { "alias": "customHours"; "required": false; }; "customMinutes": { "alias": "customMinutes"; "required": false; }; "customSeconds": { "alias": "customSeconds"; "required": false; }; }, {}, never, never, false, never>;
155
+ }
156
+
157
+ declare class UpdTimePickerModule {
158
+ constructor(translocoService: TranslocoService);
159
+ static ɵfac: i0.ɵɵFactoryDeclaration<UpdTimePickerModule, never>;
160
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UpdTimePickerModule, [typeof TimePickerComponent, typeof TimeSelectorComponent], [typeof i3.CommonModule, typeof i4.TranslocoModule, typeof i5.UpdInputModule, typeof i6.UpdIconsModule, typeof i7.UpdButtonModule, typeof i8.UpdListModule, typeof i9.UpdDropdownModule], [typeof TimePickerComponent, typeof TimeSelectorComponent]>;
161
+ static ɵinj: i0.ɵɵInjectorDeclaration<UpdTimePickerModule>;
162
+ }
163
+
164
+ export { TimePickerComponent, TimeSelectorComponent, UpdTimePickerModule };