spiderly 19.0.1 → 19.0.3

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 (254) hide show
  1. package/fesm2022/spiderly.mjs +4382 -0
  2. package/fesm2022/spiderly.mjs.map +1 -0
  3. package/index.d.ts +5 -0
  4. package/lib/components/auth/login/login.component.d.ts +35 -0
  5. package/lib/components/auth/partials/auth.component.d.ts +21 -0
  6. package/lib/components/auth/partials/login-verification.component.d.ts +18 -0
  7. package/lib/components/auth/partials/registration-verification.component.d.ts +17 -0
  8. package/lib/components/auth/partials/verification-wrapper.component.d.ts +31 -0
  9. package/lib/components/auth/registration/registration.component.d.ts +34 -0
  10. package/lib/components/base-details/role-base-details.component.d.ts +50 -0
  11. package/lib/components/base-form/base-form copy.d.ts +54 -0
  12. package/lib/components/card-skeleton/card-skeleton.component.d.ts +12 -0
  13. package/lib/components/footer/footer.component.d.ts +9 -0
  14. package/lib/components/index-card/index-card.component.d.ts +22 -0
  15. package/lib/components/info-card/info-card.component.d.ts +11 -0
  16. package/lib/components/layout/layout-base.component.d.ts +37 -0
  17. package/lib/components/layout/sidebar/menuitem.component.d.ts +43 -0
  18. package/lib/components/layout/sidebar/sidebar-menu.component.d.ts +23 -0
  19. package/lib/components/layout/sidebar/sidebar-menu.service.d.ts +12 -0
  20. package/lib/components/layout/sidebar/sidebar.component.d.ts +11 -0
  21. package/lib/components/layout/topbar/topbar.component.d.ts +45 -0
  22. package/lib/components/not-found/not-found.component.d.ts +9 -0
  23. package/lib/components/required/required.component.d.ts +6 -0
  24. package/lib/components/spiderly-buttons/google-button/google-button.component.d.ts +17 -0
  25. package/lib/components/spiderly-buttons/return-button/return-button.component.d.ts +10 -0
  26. package/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.d.ts +6 -0
  27. package/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.d.ts +27 -0
  28. package/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.d.ts +8 -0
  29. package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +157 -0
  30. package/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.d.ts +11 -0
  31. package/lib/components/spiderly-form-control/spiderly-form-control.d.ts +37 -0
  32. package/lib/components/spiderly-panels/panel-body/panel-body.component.d.ts +9 -0
  33. package/lib/components/spiderly-panels/panel-footer/panel-footer.component.d.ts +8 -0
  34. package/lib/components/spiderly-panels/panel-header/panel-header.component.d.ts +29 -0
  35. package/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.d.ts +10 -0
  36. package/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.d.ts +25 -0
  37. package/lib/components/spiderly-panels/spiderly-panels.module.d.ts +14 -0
  38. package/lib/controls/base-autocomplete-control.d.ts +9 -0
  39. package/lib/controls/base-control.d.ts +23 -0
  40. package/lib/controls/base-dropdown-control.d.ts +18 -0
  41. package/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.d.ts +18 -0
  42. package/lib/controls/spiderly-calendar/spiderly-calendar.component.d.ts +13 -0
  43. package/lib/controls/spiderly-checkbox/spiderly-checkbox.component.d.ts +14 -0
  44. package/lib/controls/spiderly-colorpick/spiderly-colorpick.component.d.ts +11 -0
  45. package/lib/controls/spiderly-controls.module.d.ts +22 -0
  46. package/lib/controls/spiderly-dropdown/spiderly-dropdown.component.d.ts +14 -0
  47. package/lib/controls/spiderly-editor/spiderly-editor.component.d.ts +16 -0
  48. package/lib/controls/spiderly-file/spiderly-file.component.d.ts +36 -0
  49. package/lib/controls/spiderly-multiautocomplete/spiderly-multiautocomplete.component.d.ts +13 -0
  50. package/lib/controls/spiderly-multiselect/spiderly-multiselect.component.d.ts +11 -0
  51. package/lib/controls/spiderly-number/spiderly-number.component.d.ts +15 -0
  52. package/lib/controls/spiderly-password/spiderly-password.component.d.ts +12 -0
  53. package/lib/controls/spiderly-textarea/spiderly-textarea.component.d.ts +11 -0
  54. package/lib/controls/spiderly-textbox/spiderly-textbox.component.d.ts +15 -0
  55. package/lib/entities/base-entity.d.ts +14 -0
  56. package/lib/entities/codebook.d.ts +9 -0
  57. package/lib/entities/init-company-auth-dialog-details.d.ts +9 -0
  58. package/lib/entities/init-top-bar-data.d.ts +16 -0
  59. package/lib/entities/is-authorized-for-save-event.d.ts +9 -0
  60. package/lib/entities/last-menu-icon-index-clicked.d.ts +7 -0
  61. package/lib/entities/lazy-load-selected-ids-result.d.ts +9 -0
  62. package/{src/lib/entities/menuchangeevent.ts → lib/entities/menuchangeevent.d.ts} +4 -4
  63. package/lib/entities/mime-type.d.ts +11 -0
  64. package/lib/entities/namebook.d.ts +9 -0
  65. package/lib/entities/primeng-option.d.ts +9 -0
  66. package/lib/entities/security-entities.d.ts +211 -0
  67. package/lib/entities/simple-save-result.d.ts +7 -0
  68. package/lib/entities/spiderly-button.d.ts +13 -0
  69. package/{src/lib/entities/table-filter-context.ts → lib/entities/table-filter-context.d.ts} +5 -6
  70. package/lib/entities/table-filter-sort-meta.d.ts +4 -0
  71. package/{src/lib/entities/table-filter.ts → lib/entities/table-filter.d.ts} +23 -48
  72. package/lib/entities/table-response.d.ts +4 -0
  73. package/lib/enums/security-enums.d.ts +22 -0
  74. package/lib/enums/verification-type-codes.d.ts +4 -0
  75. package/lib/guards/auth.guard.d.ts +15 -0
  76. package/lib/guards/not-auth.guard.d.ts +12 -0
  77. package/lib/handlers/spiderly-error-handler.d.ts +14 -0
  78. package/lib/handlers/spiderly-transloco-fallback-strategy.d.ts +13 -0
  79. package/lib/interceptors/http-loading.interceptor.d.ts +2 -0
  80. package/lib/interceptors/json-parser.interceptor.d.ts +2 -0
  81. package/lib/interceptors/jwt.interceptor.d.ts +2 -0
  82. package/lib/interceptors/unauthorized.interceptor.d.ts +2 -0
  83. package/lib/modules/core.module.d.ts +2 -0
  84. package/lib/modules/spiderly-transloco.module.d.ts +15 -0
  85. package/lib/services/api.service.security.d.ts +35 -0
  86. package/lib/services/app-initializer.d.ts +4 -0
  87. package/lib/services/app-layout-base.service.d.ts +60 -0
  88. package/lib/services/auth-base.service.d.ts +55 -0
  89. package/lib/services/base-form.service.d.ts +27 -0
  90. package/lib/services/config-base.service.d.ts +24 -0
  91. package/lib/services/helper-functions.d.ts +37 -0
  92. package/lib/services/spiderly-message.service.d.ts +17 -0
  93. package/lib/services/spiderly-transloco-loader.d.ts +10 -0
  94. package/lib/services/translate-labels-abstract.service.d.ts +7 -0
  95. package/lib/services/validator-abstract.service.d.ts +13 -0
  96. package/package.json +66 -55
  97. package/{src/public-api.ts → public-api.d.ts} +90 -103
  98. package/{src/lib → styles}/styles/shared.scss +3 -6
  99. package/eslint.config.js +0 -32
  100. package/ng-package.json +0 -10
  101. package/src/lib/components/auth/login/login.component.html +0 -25
  102. package/src/lib/components/auth/login/login.component.ts +0 -77
  103. package/src/lib/components/auth/partials/auth.component.html +0 -29
  104. package/src/lib/components/auth/partials/auth.component.ts +0 -60
  105. package/src/lib/components/auth/partials/login-verification.component.html +0 -2
  106. package/src/lib/components/auth/partials/login-verification.component.ts +0 -41
  107. package/src/lib/components/auth/partials/registration-verification.component.html +0 -1
  108. package/src/lib/components/auth/partials/registration-verification.component.ts +0 -41
  109. package/src/lib/components/auth/partials/verification-wrapper.component.html +0 -39
  110. package/src/lib/components/auth/partials/verification-wrapper.component.ts +0 -68
  111. package/src/lib/components/auth/registration/registration.component.html +0 -31
  112. package/src/lib/components/auth/registration/registration.component.ts +0 -77
  113. package/src/lib/components/base-details/role-base-details.component.html +0 -33
  114. package/src/lib/components/base-details/role-base-details.component.ts +0 -194
  115. package/src/lib/components/base-form/base-form copy.ts +0 -356
  116. package/src/lib/components/card-skeleton/card-skeleton.component.html +0 -8
  117. package/src/lib/components/card-skeleton/card-skeleton.component.ts +0 -21
  118. package/src/lib/components/footer/app.footer.component.ts +0 -17
  119. package/src/lib/components/footer/footer.component.html +0 -3
  120. package/src/lib/components/footer/footer.component.ts +0 -17
  121. package/src/lib/components/index-card/index-card.component.html +0 -15
  122. package/src/lib/components/index-card/index-card.component.ts +0 -48
  123. package/src/lib/components/info-card/info-card.component.html +0 -18
  124. package/src/lib/components/info-card/info-card.component.ts +0 -29
  125. package/src/lib/components/layout/layout-base.component.ts +0 -140
  126. package/src/lib/components/layout/sidebar/menuitem.component.html +0 -40
  127. package/src/lib/components/layout/sidebar/menuitem.component.ts +0 -179
  128. package/src/lib/components/layout/sidebar/sidebar-menu.component.html +0 -6
  129. package/src/lib/components/layout/sidebar/sidebar-menu.component.ts +0 -44
  130. package/src/lib/components/layout/sidebar/sidebar-menu.service.ts +0 -22
  131. package/src/lib/components/layout/sidebar/sidebar.component.html +0 -1
  132. package/src/lib/components/layout/sidebar/sidebar.component.ts +0 -20
  133. package/src/lib/components/layout/topbar/topbar.component.html +0 -64
  134. package/src/lib/components/layout/topbar/topbar.component.ts +0 -137
  135. package/src/lib/components/not-found/not-found.component.html +0 -27
  136. package/src/lib/components/not-found/not-found.component.ts +0 -22
  137. package/src/lib/components/required/required.component.html +0 -1
  138. package/src/lib/components/required/required.component.ts +0 -13
  139. package/src/lib/components/spiderly-buttons/google-button/google-button.component.html +0 -5
  140. package/src/lib/components/spiderly-buttons/google-button/google-button.component.ts +0 -53
  141. package/src/lib/components/spiderly-buttons/return-button/return-button.component.html +0 -3
  142. package/src/lib/components/spiderly-buttons/return-button/return-button.component.ts +0 -35
  143. package/src/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.html +0 -14
  144. package/src/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.ts +0 -27
  145. package/src/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.ts +0 -61
  146. package/src/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.html +0 -15
  147. package/src/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.ts +0 -24
  148. package/src/lib/components/spiderly-data-table/spiderly-data-table.component.html +0 -93
  149. package/src/lib/components/spiderly-data-table/spiderly-data-table.component.ts +0 -614
  150. package/src/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.html +0 -17
  151. package/src/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.ts +0 -39
  152. package/src/lib/components/spiderly-form-control/spiderly-form-control.ts +0 -60
  153. package/src/lib/components/spiderly-panels/panel-body/panel-body.component.html +0 -8
  154. package/src/lib/components/spiderly-panels/panel-body/panel-body.component.ts +0 -16
  155. package/src/lib/components/spiderly-panels/panel-footer/panel-footer.component.html +0 -8
  156. package/src/lib/components/spiderly-panels/panel-footer/panel-footer.component.ts +0 -15
  157. package/src/lib/components/spiderly-panels/panel-header/panel-header.component.html +0 -25
  158. package/src/lib/components/spiderly-panels/panel-header/panel-header.component.ts +0 -69
  159. package/src/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.html +0 -7
  160. package/src/lib/components/spiderly-panels/spiderly-card/spiderly-card.component.ts +0 -17
  161. package/src/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.html +0 -40
  162. package/src/lib/components/spiderly-panels/spiderly-panel/spiderly-panel.component.ts +0 -42
  163. package/src/lib/components/spiderly-panels/spiderly-panels.module.ts +0 -32
  164. package/src/lib/controls/base-autocomplete-control.ts +0 -17
  165. package/src/lib/controls/base-control.ts +0 -60
  166. package/src/lib/controls/base-dropdown-control.ts +0 -37
  167. package/src/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.html +0 -36
  168. package/src/lib/controls/spiderly-autocomplete/spiderly-autocomplete.component.ts +0 -56
  169. package/src/lib/controls/spiderly-calendar/spiderly-calendar.component.html +0 -21
  170. package/src/lib/controls/spiderly-calendar/spiderly-calendar.component.ts +0 -37
  171. package/src/lib/controls/spiderly-checkbox/spiderly-checkbox.component.html +0 -16
  172. package/src/lib/controls/spiderly-checkbox/spiderly-checkbox.component.ts +0 -38
  173. package/src/lib/controls/spiderly-colorpick/spiderly-colorpick.component.html +0 -33
  174. package/src/lib/controls/spiderly-colorpick/spiderly-colorpick.component.ts +0 -40
  175. package/src/lib/controls/spiderly-controls.module.ts +0 -61
  176. package/src/lib/controls/spiderly-dropdown/spiderly-dropdown.component.html +0 -27
  177. package/src/lib/controls/spiderly-dropdown/spiderly-dropdown.component.ts +0 -39
  178. package/src/lib/controls/spiderly-editor/spiderly-editor.component.html +0 -22
  179. package/src/lib/controls/spiderly-editor/spiderly-editor.component.ts +0 -58
  180. package/src/lib/controls/spiderly-file/spiderly-file.component.html +0 -54
  181. package/src/lib/controls/spiderly-file/spiderly-file.component.ts +0 -123
  182. package/src/lib/controls/spiderly-multiautocomplete/spiderly-multiautocomplete.component.html +0 -30
  183. package/src/lib/controls/spiderly-multiautocomplete/spiderly-multiautocomplete.component.ts +0 -38
  184. package/src/lib/controls/spiderly-multiselect/spiderly-multiselect.component.html +0 -23
  185. package/src/lib/controls/spiderly-multiselect/spiderly-multiselect.component.ts +0 -32
  186. package/src/lib/controls/spiderly-number/spiderly-number.component.html +0 -19
  187. package/src/lib/controls/spiderly-number/spiderly-number.component.ts +0 -37
  188. package/src/lib/controls/spiderly-password/spiderly-password.component.html +0 -17
  189. package/src/lib/controls/spiderly-password/spiderly-password.component.ts +0 -34
  190. package/src/lib/controls/spiderly-textarea/spiderly-textarea.component.html +0 -18
  191. package/src/lib/controls/spiderly-textarea/spiderly-textarea.component.ts +0 -32
  192. package/src/lib/controls/spiderly-textbox/spiderly-textbox.component.html +0 -23
  193. package/src/lib/controls/spiderly-textbox/spiderly-textbox.component.ts +0 -41
  194. package/src/lib/entities/base-entity.ts +0 -25
  195. package/src/lib/entities/codebook.ts +0 -23
  196. package/src/lib/entities/init-company-auth-dialog-details.ts +0 -22
  197. package/src/lib/entities/init-top-bar-data.ts +0 -35
  198. package/src/lib/entities/is-authorized-for-save-event.ts +0 -22
  199. package/src/lib/entities/last-menu-icon-index-clicked.ts +0 -18
  200. package/src/lib/entities/lazy-load-selected-ids-result.ts +0 -22
  201. package/src/lib/entities/mime-type.ts +0 -15
  202. package/src/lib/entities/namebook.ts +0 -22
  203. package/src/lib/entities/primeng-option.ts +0 -23
  204. package/src/lib/entities/readonly-object.ts +0 -1
  205. package/src/lib/entities/security-entities.ts +0 -548
  206. package/src/lib/entities/simple-save-result.ts +0 -19
  207. package/src/lib/entities/spiderly-button.ts +0 -30
  208. package/src/lib/entities/table-filter-sort-meta.ts +0 -5
  209. package/src/lib/entities/table-response.ts +0 -5
  210. package/src/lib/enums/security-enums.ts +0 -28
  211. package/src/lib/enums/verification-type-codes.ts +0 -5
  212. package/src/lib/guards/auth.guard.ts +0 -39
  213. package/src/lib/guards/not-auth.guard.ts +0 -32
  214. package/src/lib/handlers/spiderly-error-handler.ts +0 -32
  215. package/src/lib/handlers/spiderly-transloco-fallback-strategy.ts +0 -25
  216. package/src/lib/interceptors/http-loading.interceptor.ts +0 -21
  217. package/src/lib/interceptors/json-parser.interceptor.ts +0 -44
  218. package/src/lib/interceptors/jwt.interceptor.ts +0 -18
  219. package/src/lib/interceptors/unauthorized.interceptor.ts +0 -77
  220. package/src/lib/modules/core.module.ts +0 -22
  221. package/src/lib/modules/primeng.module.ts +0 -122
  222. package/src/lib/modules/spiderly-transloco.module.ts +0 -50
  223. package/src/lib/services/api.service.security.ts +0 -120
  224. package/src/lib/services/app-initializer.ts +0 -9
  225. package/src/lib/services/app-layout-base.service.ts +0 -184
  226. package/src/lib/services/auth-base.service.ts +0 -271
  227. package/src/lib/services/base-form.service.ts +0 -178
  228. package/src/lib/services/config-base.service.ts +0 -36
  229. package/src/lib/services/helper-functions.ts +0 -288
  230. package/src/lib/services/spiderly-message.service.ts +0 -66
  231. package/src/lib/services/spiderly-transloco-loader.ts +0 -15
  232. package/src/lib/services/translate-labels-abstract.service.ts +0 -13
  233. package/src/lib/services/validator-abstract.service.ts +0 -63
  234. package/tsconfig.lib.json +0 -17
  235. package/tsconfig.lib.prod.json +0 -10
  236. package/tsconfig.spec.json +0 -14
  237. /package/{src/lib → styles}/components/spiderly-data-table/spiderly-data-table.component.scss +0 -0
  238. /package/{src/lib → styles}/components/spiderly-panels/panel-footer/panel-footer.component.scss +0 -0
  239. /package/{src/lib → styles}/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +0 -0
  240. /package/{src/lib → styles}/styles/layout/_config.scss +0 -0
  241. /package/{src/lib → styles}/styles/layout/_content.scss +0 -0
  242. /package/{src/lib → styles}/styles/layout/_footer.scss +0 -0
  243. /package/{src/lib → styles}/styles/layout/_main.scss +0 -0
  244. /package/{src/lib → styles}/styles/layout/_menu.scss +0 -0
  245. /package/{src/lib → styles}/styles/layout/_mixins.scss +0 -0
  246. /package/{src/lib → styles}/styles/layout/_preloading.scss +0 -0
  247. /package/{src/lib → styles}/styles/layout/_responsive.scss +0 -0
  248. /package/{src/lib → styles}/styles/layout/_spiderly-controls.scss +0 -0
  249. /package/{src/lib → styles}/styles/layout/_topbar.scss +0 -0
  250. /package/{src/lib → styles}/styles/layout/_typography.scss +0 -0
  251. /package/{src/lib → styles}/styles/layout/_utils.scss +0 -0
  252. /package/{src/lib → styles}/styles/layout/_variables.scss +0 -0
  253. /package/{src/lib → styles}/styles/layout/layout.scss +0 -0
  254. /package/{src/lib → styles}/styles/styles.scss +0 -0
@@ -0,0 +1,157 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { SelectItem } from 'primeng/api';
4
+ import { Table, TableFilterEvent, TableLazyLoadEvent } from 'primeng/table';
5
+ import { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';
6
+ import { SpiderlyMessageService } from '../../services/spiderly-message.service';
7
+ import { Observable } from 'rxjs';
8
+ import { PrimengOption } from '../../entities/primeng-option';
9
+ import { TranslocoService } from '@jsverse/transloco';
10
+ import { SpiderlyFormControl } from '../spiderly-form-control/spiderly-form-control';
11
+ import { TableResponse } from '../../entities/table-response';
12
+ import { LazyLoadSelectedIdsResult } from '../../entities/lazy-load-selected-ids-result';
13
+ import { TableFilter } from '../../entities/table-filter';
14
+ import * as i0 from "@angular/core";
15
+ export declare class SpiderlyDataTableComponent implements OnInit {
16
+ private router;
17
+ private dialogService;
18
+ private route;
19
+ private messageService;
20
+ private translocoService;
21
+ private locale;
22
+ table: Table;
23
+ tableTitle: string;
24
+ tableIcon: string;
25
+ items: any[];
26
+ rows: number;
27
+ cols: Column[];
28
+ showPaginator: boolean;
29
+ showCardWrapper: boolean;
30
+ readonly: boolean;
31
+ totalRecords: number;
32
+ onTotalRecordsChange: EventEmitter<number>;
33
+ getTableDataObservableMethod: (tableFilter: TableFilter) => Observable<TableResponse>;
34
+ exportTableDataToExcelObservableMethod: (tableFilter: TableFilter) => Observable<any>;
35
+ deleteItemFromTableObservableMethod: (rowId: number) => Observable<any>;
36
+ lastLazyLoadEvent: TableLazyLoadEvent;
37
+ loading: boolean;
38
+ newlySelectedItems: number[];
39
+ fakeSelectedItems: number[];
40
+ currentPageSelectedItemsFromDb: number[];
41
+ unselectedItems: number[];
42
+ selectionMode: 'single' | 'multiple' | undefined | null;
43
+ onLazyLoad: EventEmitter<TableFilter>;
44
+ rowsSelectedNumber: number;
45
+ isAllSelected: boolean;
46
+ fakeIsAllSelected: boolean;
47
+ isFirstTimeLazyLoad: boolean;
48
+ onIsAllSelectedChange: EventEmitter<AllClickEvent>;
49
+ selectedLazyLoadObservableMethod: (tableFilter: TableFilter) => Observable<LazyLoadSelectedIdsResult>;
50
+ additionalFilterIdLong: number;
51
+ matchModeDateOptions: SelectItem[];
52
+ matchModeNumberOptions: SelectItem[];
53
+ showAddButton: boolean;
54
+ showExportToExcelButton: boolean;
55
+ showReloadTableButton: boolean;
56
+ deleteRef: DynamicDialogRef;
57
+ getFormArrayItems: (additionalIndexes?: any) => any[];
58
+ hasLazyLoad: boolean;
59
+ selectedItemIds: number[];
60
+ getAlreadySelectedItemIds: (additionalIndexes?: any) => number[];
61
+ selectedItems: any[];
62
+ getAlreadySelectedItems: (additionalIndexes?: any) => any[];
63
+ getFormControl: (formControlName: string, index: number, additionalIndexes?: any) => SpiderlyFormControl;
64
+ additionalIndexes: any;
65
+ onRowSelect: EventEmitter<RowClickEvent>;
66
+ onRowUnselect: EventEmitter<RowClickEvent>;
67
+ constructor(router: Router, dialogService: DialogService, route: ActivatedRoute, messageService: SpiderlyMessageService, translocoService: TranslocoService, locale: string);
68
+ ngOnInit(): void;
69
+ lazyLoad(event: TableLazyLoadEvent): void;
70
+ clientLoad(): void;
71
+ private clientFilterCount;
72
+ filter(event: TableFilterEvent): void;
73
+ private loadFormArrayItems;
74
+ getColHeaderWidth(filterType: string): "min-width: 12rem;" | "min-width: 10rem;" | "min-width: 8rem;" | "width: 0rem;";
75
+ getColMatchModeOptions(filterType: string): SelectItem<any>[];
76
+ getColMatchMode(filterType: string): "equals" | "contains" | "in";
77
+ isDropOrMulti(filterType: string): boolean;
78
+ navigateToDetails(rowId: number): void;
79
+ deleteObject(rowId: number): void;
80
+ reload(): void;
81
+ showActions(): boolean;
82
+ getStyleForBodyColumn(col: Column<any>): string;
83
+ getClassForAction(action: Action): string;
84
+ getMethodForAction(action: Action, rowData: any): void;
85
+ getRowData(rowData: any, col: Column): string;
86
+ colTrackByFn(index: any, item: any): any;
87
+ actionTrackByFn(index: any, item: Action): string;
88
+ exportListToExcel(): void;
89
+ clear(table: Table): void;
90
+ setFakeIsAllSelected(): void;
91
+ selectAll(checked: boolean): void;
92
+ selectRow(id: number, index: number): void;
93
+ isRowSelected(id: number): boolean;
94
+ rowSelect(id: number): void;
95
+ rowUnselect(id: number): void;
96
+ getFormArrayControlByIndex(formControlName: string, index: number): SpiderlyFormControl;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyDataTableComponent, never>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyDataTableComponent, "spiderly-data-table", never, { "tableTitle": { "alias": "tableTitle"; "required": false; }; "tableIcon": { "alias": "tableIcon"; "required": false; }; "items": { "alias": "items"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "showCardWrapper": { "alias": "showCardWrapper"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "getTableDataObservableMethod": { "alias": "getTableDataObservableMethod"; "required": false; }; "exportTableDataToExcelObservableMethod": { "alias": "exportTableDataToExcelObservableMethod"; "required": false; }; "deleteItemFromTableObservableMethod": { "alias": "deleteItemFromTableObservableMethod"; "required": false; }; "newlySelectedItems": { "alias": "newlySelectedItems"; "required": false; }; "unselectedItems": { "alias": "unselectedItems"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selectedLazyLoadObservableMethod": { "alias": "selectedLazyLoadObservableMethod"; "required": false; }; "additionalFilterIdLong": { "alias": "additionalFilterIdLong"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showExportToExcelButton": { "alias": "showExportToExcelButton"; "required": false; }; "showReloadTableButton": { "alias": "showReloadTableButton"; "required": false; }; "getFormArrayItems": { "alias": "getFormArrayItems"; "required": false; }; "hasLazyLoad": { "alias": "hasLazyLoad"; "required": false; }; "getAlreadySelectedItemIds": { "alias": "getAlreadySelectedItemIds"; "required": false; }; "getAlreadySelectedItems": { "alias": "getAlreadySelectedItems"; "required": false; }; "getFormControl": { "alias": "getFormControl"; "required": false; }; "additionalIndexes": { "alias": "additionalIndexes"; "required": false; }; }, { "onTotalRecordsChange": "onTotalRecordsChange"; "onLazyLoad": "onLazyLoad"; "onIsAllSelectedChange": "onIsAllSelectedChange"; "onRowSelect": "onRowSelect"; "onRowUnselect": "onRowUnselect"; }, never, never, true, never>;
99
+ }
100
+ export declare class Action {
101
+ name?: string;
102
+ field?: string;
103
+ icon?: string;
104
+ style?: string;
105
+ onClick?: (id: number) => void;
106
+ constructor({ name, field, icon, style, onClick, }?: {
107
+ name?: string;
108
+ field?: string;
109
+ icon?: string;
110
+ style?: string;
111
+ onClick?: () => void;
112
+ });
113
+ }
114
+ export declare class Column<T = any> {
115
+ name: string;
116
+ field?: string & keyof T;
117
+ filterField?: string & keyof T;
118
+ filterType?: 'text' | 'date' | 'multiselect' | 'boolean' | 'numeric';
119
+ filterPlaceholder?: string;
120
+ showMatchModes?: boolean;
121
+ showAddButton?: boolean;
122
+ dropdownOrMultiselectValues?: PrimengOption[];
123
+ actions?: Action[];
124
+ editable?: boolean;
125
+ showTime?: boolean;
126
+ constructor({ name, field, filterField, filterType, filterPlaceholder, showMatchModes, showAddButton, dropdownOrMultiselectValues, actions, editable, showTime, }?: {
127
+ name?: string;
128
+ field?: string & keyof T;
129
+ filterField?: string & keyof T;
130
+ filterType?: 'text' | 'date' | 'multiselect' | 'boolean' | 'numeric';
131
+ filterPlaceholder?: string;
132
+ showMatchModes?: boolean;
133
+ showAddButton?: boolean;
134
+ dropdownOrMultiselectValues?: PrimengOption[];
135
+ actions?: Action[];
136
+ editable?: boolean;
137
+ showTime?: boolean;
138
+ });
139
+ }
140
+ export declare class RowClickEvent {
141
+ index?: number;
142
+ id?: number;
143
+ additionalIndexes?: any;
144
+ constructor({ index, id, additionalIndexes }?: {
145
+ index?: number;
146
+ id?: number;
147
+ additionalIndexes?: any;
148
+ });
149
+ }
150
+ export declare class AllClickEvent {
151
+ checked?: boolean;
152
+ additionalIndexes?: any;
153
+ constructor({ checked, additionalIndexes }?: {
154
+ checked?: boolean;
155
+ additionalIndexes?: any;
156
+ });
157
+ }
@@ -0,0 +1,11 @@
1
+ import { DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
2
+ import * as i0 from "@angular/core";
3
+ export declare class SpiderlyDeleteConfirmationComponent {
4
+ ref: DynamicDialogRef;
5
+ config: DynamicDialogConfig;
6
+ constructor(ref: DynamicDialogRef, config: DynamicDialogConfig);
7
+ accept(): void;
8
+ reject(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyDeleteConfirmationComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyDeleteConfirmationComponent, "spiderly-delete-confirmation", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,37 @@
1
+ import { FormArray, FormControl, FormControlOptions, FormGroup, ValidatorFn } from '@angular/forms';
2
+ import { Observable } from 'rxjs';
3
+ import { BaseEntity } from '../../entities/base-entity';
4
+ export interface SpiderlyValidatorFn extends ValidatorFn {
5
+ hasNotEmptyRule?: boolean;
6
+ }
7
+ export declare class SpiderlyFormControl<T = any> extends FormControl<T> {
8
+ label: string;
9
+ labelForDisplay: string;
10
+ required: boolean;
11
+ private _spiderlyValidator;
12
+ constructor(value: any, opts?: FormControlOptions, required?: boolean);
13
+ getRawValue(): T;
14
+ get validator(): SpiderlyValidatorFn | null;
15
+ set validator(validator: SpiderlyValidatorFn | null);
16
+ }
17
+ export declare class SpiderlyFormGroup<TValue = any> extends FormGroup {
18
+ controls: {
19
+ [P in keyof TValue]: SpiderlyFormControl<TValue[P]>;
20
+ };
21
+ constructor(controls: {
22
+ [P in keyof TValue]: SpiderlyFormControl<TValue[P]>;
23
+ });
24
+ getRawValue(): TValue;
25
+ name?: string;
26
+ mainDTOName?: string;
27
+ saveObservableMethod?: (saveBody: any) => Observable<any>;
28
+ initSaveBody?: () => BaseEntity;
29
+ controlNamesFromHtml?: string[];
30
+ }
31
+ export declare class SpiderlyFormArray<TValue = any> extends FormArray {
32
+ value: TValue[];
33
+ required: boolean;
34
+ modelConstructor: TValue;
35
+ translationKey: string;
36
+ controlNamesFromHtml?: string[];
37
+ }
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PanelBodyComponent implements OnInit {
4
+ normalBottomPadding: boolean;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelBodyComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelBodyComponent, "panel-body", never, { "normalBottomPadding": { "alias": "normalBottomPadding"; "required": false; }; }, {}, never, ["*"], false, never>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PanelFooterComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelFooterComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelFooterComponent, "panel-footer", never, {}, {}, never, ["*", "[footerRight]"], false, never>;
8
+ }
@@ -0,0 +1,29 @@
1
+ import { TranslocoService } from '@jsverse/transloco';
2
+ import { OnInit } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PanelHeaderComponent implements OnInit {
5
+ private translocoService;
6
+ title: string;
7
+ showBigTitle: boolean;
8
+ showIcon: boolean;
9
+ icon: string;
10
+ index: number;
11
+ tabs: SpiderlyTab[];
12
+ constructor(translocoService: TranslocoService);
13
+ ngOnInit(): void;
14
+ setTabIsSelected(tab: SpiderlyTab): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelHeaderComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelHeaderComponent, "panel-header", never, { "title": { "alias": "title"; "required": false; }; "showBigTitle": { "alias": "showBigTitle"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; }, {}, never, never, false, never>;
17
+ }
18
+ export declare class SpiderlyTab {
19
+ label?: string;
20
+ id?: number;
21
+ icon?: string;
22
+ isSelected?: boolean;
23
+ constructor({ label, id, icon, isSelected, }?: {
24
+ label?: string;
25
+ id?: number;
26
+ icon?: string;
27
+ isSelected?: boolean;
28
+ });
29
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SpiderlyCardComponent implements OnInit {
4
+ icon: string;
5
+ title: string;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyCardComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyCardComponent, "spiderly-card", never, { "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
10
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MenuItem } from 'primeng/api';
3
+ import { Menu } from 'primeng/menu';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyPanelComponent implements OnInit {
6
+ isFirstMultiplePanel: boolean;
7
+ isMiddleMultiplePanel: boolean;
8
+ isLastMultiplePanel: boolean;
9
+ toggleable: boolean;
10
+ collapsed: boolean;
11
+ crudMenu: MenuItem[];
12
+ showCrudMenu: boolean;
13
+ showRemoveIcon: boolean;
14
+ index: number;
15
+ showPanelHeader: boolean;
16
+ onMenuIconClick: EventEmitter<number>;
17
+ onRemoveIconClick: EventEmitter<null>;
18
+ menu: Menu;
19
+ constructor();
20
+ ngOnInit(): void;
21
+ menuItemClick(index: number, event: any): void;
22
+ removeItemClick(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyPanelComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyPanelComponent, "spiderly-panel", never, { "isFirstMultiplePanel": { "alias": "isFirstMultiplePanel"; "required": false; }; "isMiddleMultiplePanel": { "alias": "isMiddleMultiplePanel"; "required": false; }; "isLastMultiplePanel": { "alias": "isLastMultiplePanel"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "crudMenu": { "alias": "crudMenu"; "required": false; }; "showCrudMenu": { "alias": "showCrudMenu"; "required": false; }; "showRemoveIcon": { "alias": "showRemoveIcon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "showPanelHeader": { "alias": "showPanelHeader"; "required": false; }; }, { "onMenuIconClick": "onMenuIconClick"; "onRemoveIconClick": "onRemoveIconClick"; }, never, ["panel-header", "panel-body", "panel-footer"], false, never>;
25
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./panel-header/panel-header.component";
3
+ import * as i2 from "./panel-body/panel-body.component";
4
+ import * as i3 from "./panel-footer/panel-footer.component";
5
+ import * as i4 from "./spiderly-panel/spiderly-panel.component";
6
+ import * as i5 from "./spiderly-card/spiderly-card.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "primeng/menu";
9
+ import * as i8 from "primeng/panel";
10
+ export declare class SpiderlyPanelsModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyPanelsModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderlyPanelsModule, [typeof i1.PanelHeaderComponent, typeof i2.PanelBodyComponent, typeof i3.PanelFooterComponent, typeof i4.SpiderlyPanelComponent, typeof i5.SpiderlyCardComponent], [typeof i6.CommonModule, typeof i7.MenuModule, typeof i8.PanelModule], [typeof i1.PanelHeaderComponent, typeof i2.PanelBodyComponent, typeof i3.PanelFooterComponent, typeof i4.SpiderlyPanelComponent, typeof i5.SpiderlyCardComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpiderlyPanelsModule>;
14
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
3
+ import { BaseDropdownControl } from './base-dropdown-control';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BaseAutocompleteControl extends BaseDropdownControl {
6
+ onTextInput: EventEmitter<AutoCompleteCompleteEvent>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseAutocompleteControl, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseAutocompleteControl, "base-autocomplete-control", never, {}, { "onTextInput": "onTextInput"; }, never, never, false, never>;
9
+ }
@@ -0,0 +1,23 @@
1
+ import { SpiderlyFormControl } from '../components/spiderly-form-control/spiderly-form-control';
2
+ import { TranslocoService } from '@jsverse/transloco';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BaseControl {
5
+ protected translocoService: TranslocoService;
6
+ control: SpiderlyFormControl;
7
+ disabled: boolean;
8
+ showLabel: boolean;
9
+ label: string;
10
+ controlValid: boolean;
11
+ placeholder: string;
12
+ showTooltip: boolean;
13
+ tooltipText: string;
14
+ tooltipIcon: string;
15
+ errorMessageTooltipEvent: 'hover' | 'focus';
16
+ constructor(translocoService: TranslocoService);
17
+ ngOnInit(): void;
18
+ ngAfterViewInit(): void;
19
+ getTranslatedLabel(): string;
20
+ getValidationErrrorMessages(): any;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseControl, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseControl, "base-control", never, { "control": { "alias": "control"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "controlValid": { "alias": "controlValid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "tooltipIcon": { "alias": "tooltipIcon"; "required": false; }; }, {}, never, never, false, never>;
23
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BaseControl } from './base-control';
3
+ import { PrimengOption } from '../entities/primeng-option';
4
+ import { TranslocoService } from '@jsverse/transloco';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BaseDropdownControl extends BaseControl {
7
+ protected translocoService: TranslocoService;
8
+ options: PrimengOption[];
9
+ showAddon: boolean;
10
+ addonIcon: string;
11
+ placeholder: string;
12
+ onButtonClick: EventEmitter<null>;
13
+ constructor(translocoService: TranslocoService);
14
+ dropdownMarkAsDirty(): void;
15
+ addonClick(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseDropdownControl, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseDropdownControl, "base-dropdown-control", never, { "options": { "alias": "options"; "required": false; }; "showAddon": { "alias": "showAddon"; "required": false; }; "addonIcon": { "alias": "addonIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onButtonClick": "onButtonClick"; }, never, never, false, never>;
18
+ }
@@ -0,0 +1,18 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
3
+ import { BaseAutocompleteControl } from '../base-autocomplete-control';
4
+ import { TranslocoService } from '@jsverse/transloco';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SpiderlyAutocompleteComponent extends BaseAutocompleteControl implements OnInit {
7
+ protected translocoService: TranslocoService;
8
+ appendTo: any;
9
+ showClear: boolean;
10
+ emptyMessage: string;
11
+ displayName: string;
12
+ constructor(translocoService: TranslocoService);
13
+ ngOnInit(): void;
14
+ search(event: AutoCompleteCompleteEvent): void;
15
+ select(event: any): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyAutocompleteComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyAutocompleteComponent, "spiderly-autocomplete", never, { "appendTo": { "alias": "appendTo"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "displayName": { "alias": "displayName"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyCalendarComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ showTime: boolean;
8
+ constructor(translocoService: TranslocoService);
9
+ ngOnInit(): void;
10
+ setDate(event: Date): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyCalendarComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyCalendarComponent, "spiderly-calendar", never, { "showTime": { "alias": "showTime"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyCheckboxComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ fakeLabel: boolean;
8
+ initializeToFalse: boolean;
9
+ inlineLabel: boolean;
10
+ constructor(translocoService: TranslocoService);
11
+ ngOnInit(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyCheckboxComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyCheckboxComponent, "spiderly-checkbox", never, { "fakeLabel": { "alias": "fakeLabel"; "required": false; }; "initializeToFalse": { "alias": "initializeToFalse"; "required": false; }; "inlineLabel": { "alias": "inlineLabel"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyColorpickComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ constructor(translocoService: TranslocoService);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyColorpickComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyColorpickComponent, "spiderly-colorpick", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,22 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./spiderly-textbox/spiderly-textbox.component";
3
+ import * as i2 from "./spiderly-textarea/spiderly-textarea.component";
4
+ import * as i3 from "./spiderly-checkbox/spiderly-checkbox.component";
5
+ import * as i4 from "./spiderly-calendar/spiderly-calendar.component";
6
+ import * as i5 from "../components/spiderly-buttons/return-button/return-button.component";
7
+ import * as i6 from "../components/spiderly-buttons/spiderly-button/spiderly-button.component";
8
+ import * as i7 from "../components/spiderly-panels/spiderly-panels.module";
9
+ import * as i8 from "./spiderly-password/spiderly-password.component";
10
+ import * as i9 from "./spiderly-autocomplete/spiderly-autocomplete.component";
11
+ import * as i10 from "./spiderly-multiautocomplete/spiderly-multiautocomplete.component";
12
+ import * as i11 from "./spiderly-multiselect/spiderly-multiselect.component";
13
+ import * as i12 from "./spiderly-number/spiderly-number.component";
14
+ import * as i13 from "./spiderly-dropdown/spiderly-dropdown.component";
15
+ import * as i14 from "./spiderly-editor/spiderly-editor.component";
16
+ import * as i15 from "./spiderly-colorpick/spiderly-colorpick.component";
17
+ import * as i16 from "./spiderly-file/spiderly-file.component";
18
+ export declare class SpiderlyControlsModule {
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyControlsModule, never>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderlyControlsModule, never, [typeof i1.SpiderlyTextboxComponent, typeof i2.SpiderlyTextareaComponent, typeof i3.SpiderlyCheckboxComponent, typeof i4.SpiderlyCalendarComponent, typeof i5.SpiderlyReturnButtonComponent, typeof i6.SpiderlyButtonComponent, typeof i7.SpiderlyPanelsModule, typeof i8.SpiderlyPasswordComponent, typeof i9.SpiderlyAutocompleteComponent, typeof i10.SpiderlyMultiAutocompleteComponent, typeof i11.SpiderlyMultiSelectComponent, typeof i12.SpiderlyNumberComponent, typeof i13.SpiderlyDropdownComponent, typeof i14.SpiderlyEditorComponent, typeof i15.SpiderlyColorpickComponent, typeof i16.SpiderlyFileComponent], [typeof i1.SpiderlyTextboxComponent, typeof i2.SpiderlyTextareaComponent, typeof i3.SpiderlyCheckboxComponent, typeof i4.SpiderlyCalendarComponent, typeof i5.SpiderlyReturnButtonComponent, typeof i6.SpiderlyButtonComponent, typeof i7.SpiderlyPanelsModule, typeof i8.SpiderlyPasswordComponent, typeof i9.SpiderlyAutocompleteComponent, typeof i10.SpiderlyMultiAutocompleteComponent, typeof i11.SpiderlyMultiSelectComponent, typeof i12.SpiderlyNumberComponent, typeof i13.SpiderlyDropdownComponent, typeof i14.SpiderlyEditorComponent, typeof i15.SpiderlyColorpickComponent, typeof i16.SpiderlyFileComponent]>;
21
+ static ɵinj: i0.ɵɵInjectorDeclaration<SpiderlyControlsModule>;
22
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { BaseDropdownControl } from '../base-dropdown-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import { DropdownChangeEvent } from 'primeng/dropdown';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SpiderlyDropdownComponent extends BaseDropdownControl implements OnInit {
7
+ protected translocoService: TranslocoService;
8
+ onChange: EventEmitter<DropdownChangeEvent>;
9
+ constructor(translocoService: TranslocoService);
10
+ ngOnInit(): void;
11
+ change(event: DropdownChangeEvent): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyDropdownComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyDropdownComponent, "spiderly-dropdown", never, {}, { "onChange": "onChange"; }, never, never, true, never>;
14
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import { Editor } from 'primeng/editor';
5
+ import { Tooltip } from 'primeng/tooltip';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SpiderlyEditorComponent extends BaseControl implements OnInit {
8
+ protected translocoService: TranslocoService;
9
+ editor: Editor;
10
+ tooltip: Tooltip;
11
+ constructor(translocoService: TranslocoService);
12
+ ngOnInit(): void;
13
+ onClick(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyEditorComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyEditorComponent, "spiderly-editor", never, {}, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,36 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { FileSelectEvent } from 'primeng/fileupload';
4
+ import { TranslocoService } from '@jsverse/transloco';
5
+ import { BaseEntity } from '../../entities/base-entity';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SpiderlyFileComponent extends BaseControl implements OnInit {
8
+ protected translocoService: TranslocoService;
9
+ onFileSelected: EventEmitter<SpiderlyFileSelectEvent>;
10
+ onFileRemoved: EventEmitter<null>;
11
+ objectId: number;
12
+ fileData: string;
13
+ acceptedFileTypes: Array<'image/*' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.ms-excel' | '.xlsx' | '.xls'>;
14
+ required: boolean;
15
+ multiple: boolean;
16
+ acceptedFileTypesCommaSeparated: string;
17
+ files: File[];
18
+ constructor(translocoService: TranslocoService);
19
+ ngOnInit(): void;
20
+ filesSelected(event: FileSelectEvent): void;
21
+ choose(event: any, chooseCallback: any): void;
22
+ fileRemoved(removeFileCallback: any, index: number): void;
23
+ base64ToFile(base64String: string): File;
24
+ isImageFileType(mimeType: string): boolean;
25
+ isExcelFileType(mimeType: string): boolean;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyFileComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyFileComponent, "spiderly-file", never, { "objectId": { "alias": "objectId"; "required": false; }; "fileData": { "alias": "fileData"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "files": { "alias": "files"; "required": false; }; }, { "onFileSelected": "onFileSelected"; "onFileRemoved": "onFileRemoved"; }, never, never, true, never>;
28
+ }
29
+ export declare class SpiderlyFileSelectEvent extends BaseEntity {
30
+ file?: File;
31
+ formData?: FormData;
32
+ constructor({ file, formData, }?: {
33
+ file?: File;
34
+ formData?: FormData;
35
+ });
36
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AutoCompleteCompleteEvent } from 'primeng/autocomplete';
3
+ import { BaseAutocompleteControl } from '../base-autocomplete-control';
4
+ import { TranslocoService } from '@jsverse/transloco';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SpiderlyMultiAutocompleteComponent extends BaseAutocompleteControl implements OnInit {
7
+ protected translocoService: TranslocoService;
8
+ constructor(translocoService: TranslocoService);
9
+ ngOnInit(): void;
10
+ search(event: AutoCompleteCompleteEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyMultiAutocompleteComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyMultiAutocompleteComponent, "spiderly-multiautocomplete", never, {}, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseDropdownControl } from '../base-dropdown-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyMultiSelectComponent extends BaseDropdownControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ constructor(translocoService: TranslocoService);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyMultiSelectComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyMultiSelectComponent, "spiderly-multiselect", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyNumberComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ prefix: string;
8
+ showButtons: boolean;
9
+ decimal: boolean;
10
+ maxFractionDigits: number;
11
+ constructor(translocoService: TranslocoService);
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyNumberComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyNumberComponent, "spiderly-number", never, { "prefix": { "alias": "prefix"; "required": false; }; "showButtons": { "alias": "showButtons"; "required": false; }; "decimal": { "alias": "decimal"; "required": false; }; "maxFractionDigits": { "alias": "maxFractionDigits"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,12 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyPasswordComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ showPasswordStrength: boolean;
8
+ constructor(translocoService: TranslocoService);
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyPasswordComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyPasswordComponent, "spiderly-password", never, { "showPasswordStrength": { "alias": "showPasswordStrength"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyTextareaComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ constructor(translocoService: TranslocoService);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyTextareaComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyTextareaComponent, "spiderly-textarea", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { BaseControl } from '../base-control';
3
+ import { TranslocoService } from '@jsverse/transloco';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SpiderlyTextboxComponent extends BaseControl implements OnInit {
6
+ protected translocoService: TranslocoService;
7
+ showButton: boolean;
8
+ buttonIcon: string;
9
+ onButtonClick: EventEmitter<any>;
10
+ constructor(translocoService: TranslocoService);
11
+ ngOnInit(): void;
12
+ buttonClick(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyTextboxComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyTextboxComponent, "spiderly-textbox", never, { "showButton": { "alias": "showButton"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; }, { "onButtonClick": "onButtonClick"; }, never, never, true, never>;
15
+ }