aril 0.0.3 → 0.0.4

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 (263) hide show
  1. package/README.md +10 -1
  2. package/esm2022/ui/badge/src/badge.component.mjs +8 -8
  3. package/esm2022/ui/button/src/button.component.mjs +3 -4
  4. package/esm2022/ui/button/src/split-button.component.mjs +9 -8
  5. package/esm2022/ui/calendar/src/calendar.component.mjs +55 -33
  6. package/esm2022/ui/checkbox/index.mjs +2 -1
  7. package/esm2022/ui/checkbox/src/check-box.component.mjs +7 -9
  8. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
  9. package/esm2022/ui/confirmPopup/src/confirm-popup.component.mjs +8 -20
  10. package/esm2022/ui/dxField/src/dx-field.component.mjs +4 -1
  11. package/esm2022/ui/field/src/field.component.mjs +1 -1
  12. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +9 -6
  13. package/esm2022/ui/form/index.mjs +2 -1
  14. package/esm2022/ui/form/src/form-submit-button.component.mjs +6 -3
  15. package/esm2022/ui/form/src/form.component.mjs +4 -1
  16. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +5 -1
  17. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -1
  18. package/esm2022/ui/lib/src/form/form-field-builder.mjs +2 -2
  19. package/esm2022/ui/lib/src/form/form-validation.mjs +1 -1
  20. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +5 -1
  21. package/esm2022/ui/mask/src/mask.component.mjs +11 -20
  22. package/esm2022/ui/number/src/number.component.mjs +7 -8
  23. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +10 -24
  24. package/esm2022/ui/panel/src/panel.component.mjs +7 -12
  25. package/esm2022/ui/password/src/password.component.mjs +8 -3
  26. package/esm2022/ui/radioButton/src/radio-button.component.mjs +5 -3
  27. package/esm2022/ui/selectBox/src/select-box.component.mjs +5 -3
  28. package/esm2022/ui/switch/src/switch.component.mjs +10 -5
  29. package/esm2022/ui/table/aril-ui-table.mjs +5 -0
  30. package/esm2022/ui/table/index.mjs +4 -0
  31. package/esm2022/ui/table/src/i18n.mjs +93 -0
  32. package/esm2022/ui/table/src/table-column.component.mjs +35 -0
  33. package/esm2022/ui/table/src/table.component.mjs +78 -0
  34. package/esm2022/ui/tagBox/src/tag-box.component.mjs +8 -3
  35. package/esm2022/ui/text/src/text.component.mjs +26 -9
  36. package/esm2022/ui/textArea/src/text-area.component.mjs +7 -4
  37. package/esm2022/ui/tree/src/tree.component.mjs +4 -13
  38. package/esm2022/ui/treeTable/src/tree-table.component.mjs +18 -11
  39. package/esm2022/ui/value/aril-ui-value.mjs +5 -0
  40. package/esm2022/ui/value/index.mjs +2 -0
  41. package/esm2022/ui/value/src/value.component.mjs +51 -0
  42. package/esm2022/util/lib/src/types.mjs +2 -1
  43. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +7 -1
  44. package/fesm2022/aril-ui-badge.mjs +7 -7
  45. package/fesm2022/aril-ui-badge.mjs.map +1 -1
  46. package/fesm2022/aril-ui-button.mjs +10 -10
  47. package/fesm2022/aril-ui-button.mjs.map +1 -1
  48. package/fesm2022/aril-ui-calendar.mjs +54 -31
  49. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  50. package/fesm2022/aril-ui-checkbox.mjs +23 -9
  51. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  52. package/fesm2022/aril-ui-confirmPopup.mjs +7 -19
  53. package/fesm2022/aril-ui-confirmPopup.mjs.map +1 -1
  54. package/fesm2022/aril-ui-dxField.mjs +3 -0
  55. package/fesm2022/aril-ui-dxField.mjs.map +1 -1
  56. package/fesm2022/aril-ui-field.mjs.map +1 -1
  57. package/fesm2022/aril-ui-fileUpload.mjs +8 -5
  58. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  59. package/fesm2022/aril-ui-form.mjs +10 -2
  60. package/fesm2022/aril-ui-form.mjs.map +1 -1
  61. package/fesm2022/aril-ui-lib.mjs +12 -1
  62. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  63. package/fesm2022/aril-ui-mask.mjs +10 -19
  64. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  65. package/fesm2022/aril-ui-number.mjs +6 -7
  66. package/fesm2022/aril-ui-number.mjs.map +1 -1
  67. package/fesm2022/aril-ui-overlayPanel.mjs +9 -23
  68. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  69. package/fesm2022/aril-ui-panel.mjs +6 -11
  70. package/fesm2022/aril-ui-panel.mjs.map +1 -1
  71. package/fesm2022/aril-ui-password.mjs +7 -2
  72. package/fesm2022/aril-ui-password.mjs.map +1 -1
  73. package/fesm2022/aril-ui-radioButton.mjs +4 -2
  74. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  75. package/fesm2022/aril-ui-selectBox.mjs +4 -2
  76. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  77. package/fesm2022/aril-ui-switch.mjs +9 -4
  78. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  79. package/fesm2022/aril-ui-table.mjs +211 -0
  80. package/fesm2022/aril-ui-table.mjs.map +1 -0
  81. package/fesm2022/aril-ui-tagBox.mjs +7 -2
  82. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  83. package/fesm2022/aril-ui-text.mjs +25 -8
  84. package/fesm2022/aril-ui-text.mjs.map +1 -1
  85. package/fesm2022/aril-ui-textArea.mjs +6 -3
  86. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  87. package/fesm2022/aril-ui-tree.mjs +3 -12
  88. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  89. package/fesm2022/aril-ui-treeTable.mjs +17 -10
  90. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  91. package/fesm2022/aril-ui-value.mjs +58 -0
  92. package/fesm2022/aril-ui-value.mjs.map +1 -0
  93. package/fesm2022/aril-util-lib.mjs +1 -0
  94. package/fesm2022/aril-util-lib.mjs.map +1 -1
  95. package/fesm2022/aril-util-primitive-extensions.mjs +6 -0
  96. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  97. package/package.json +22 -13
  98. package/theme/fonts/poppins-v20-latin-500.woff +0 -0
  99. package/theme/fonts/poppins-v20-latin-500.woff2 +0 -0
  100. package/theme/fonts/poppins-v20-latin-600.woff +0 -0
  101. package/theme/fonts/poppins-v20-latin-600.woff2 +0 -0
  102. package/theme/fonts/poppins-v20-latin-700.woff +0 -0
  103. package/theme/fonts/poppins-v20-latin-700.woff2 +0 -0
  104. package/theme/fonts/poppins-v20-latin-regular.woff +0 -0
  105. package/theme/fonts/poppins-v20-latin-regular.woff2 +0 -0
  106. package/theme/images/avatar.png +0 -0
  107. package/theme/styles/layout/_animation.scss +53 -0
  108. package/theme/styles/layout/_breadcrumb.scss +21 -0
  109. package/theme/styles/layout/_config.scss +42 -0
  110. package/theme/styles/layout/_content.scss +3 -0
  111. package/theme/styles/layout/_fonts.scss +36 -0
  112. package/theme/styles/layout/_layout_dark.scss +5 -0
  113. package/theme/styles/layout/_layout_dim.scss +5 -0
  114. package/theme/styles/layout/_layout_light.scss +5 -0
  115. package/theme/styles/layout/_main.scss +28 -0
  116. package/theme/styles/layout/_profile.scss +10 -0
  117. package/theme/styles/layout/_responsive.scss +113 -0
  118. package/theme/styles/layout/_sidebar_drawer.scss +236 -0
  119. package/theme/styles/layout/_sidebar_horizontal.scss +163 -0
  120. package/theme/styles/layout/_sidebar_reveal.scss +203 -0
  121. package/theme/styles/layout/_sidebar_slim.scss +145 -0
  122. package/theme/styles/layout/_sidebar_slim_plus.scss +163 -0
  123. package/theme/styles/layout/_sidebar_vertical.scss +153 -0
  124. package/theme/styles/layout/_topbar.scss +78 -0
  125. package/theme/styles/layout/_typography.scss +63 -0
  126. package/theme/styles/layout/_utils.scss +24 -0
  127. package/theme/styles/layout/layout.scss +24 -0
  128. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -0
  129. package/theme/styles/layout/menutheme/_menutheme.scss +3 -0
  130. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -0
  131. package/theme/styles/layout/menutheme/_transparent.scss +26 -0
  132. package/theme/styles/layout/preloading.scss +84 -0
  133. package/theme/styles/theme/base/_colors.scss +18 -0
  134. package/theme/styles/theme/base/_common.scss +75 -0
  135. package/theme/styles/theme/base/_components.scss +106 -0
  136. package/theme/styles/theme/base/_mixins.scss +337 -0
  137. package/theme/styles/theme/base/components/button/_button.scss +576 -0
  138. package/theme/styles/theme/base/components/button/_speeddial.scss +96 -0
  139. package/theme/styles/theme/base/components/button/_splitbutton.scss +354 -0
  140. package/theme/styles/theme/base/components/data/_carousel.scss +37 -0
  141. package/theme/styles/theme/base/components/data/_datatable.scss +338 -0
  142. package/theme/styles/theme/base/components/data/_dataview.scss +46 -0
  143. package/theme/styles/theme/base/components/data/_filter.scss +138 -0
  144. package/theme/styles/theme/base/components/data/_orderlist.scss +114 -0
  145. package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -0
  146. package/theme/styles/theme/base/components/data/_paginator.scss +92 -0
  147. package/theme/styles/theme/base/components/data/_picklist.scss +114 -0
  148. package/theme/styles/theme/base/components/data/_timeline.scss +38 -0
  149. package/theme/styles/theme/base/components/data/_tree.scss +150 -0
  150. package/theme/styles/theme/base/components/data/_treetable.scss +256 -0
  151. package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -0
  152. package/theme/styles/theme/base/components/file/_fileupload.scss +64 -0
  153. package/theme/styles/theme/base/components/input/_autocomplete.scss +136 -0
  154. package/theme/styles/theme/base/components/input/_calendar.scss +267 -0
  155. package/theme/styles/theme/base/components/input/_cascadeselect.scss +136 -0
  156. package/theme/styles/theme/base/components/input/_checkbox.scss +94 -0
  157. package/theme/styles/theme/base/components/input/_chips.scss +65 -0
  158. package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -0
  159. package/theme/styles/theme/base/components/input/_dropdown.scss +151 -0
  160. package/theme/styles/theme/base/components/input/_editor.scss +122 -0
  161. package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -0
  162. package/theme/styles/theme/base/components/input/_inputmask.scss +16 -0
  163. package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -0
  164. package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -0
  165. package/theme/styles/theme/base/components/input/_inputtext.scss +100 -0
  166. package/theme/styles/theme/base/components/input/_listbox.scss +97 -0
  167. package/theme/styles/theme/base/components/input/_multiselect.scss +179 -0
  168. package/theme/styles/theme/base/components/input/_password.scss +52 -0
  169. package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -0
  170. package/theme/styles/theme/base/components/input/_rating.scss +60 -0
  171. package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -0
  172. package/theme/styles/theme/base/components/input/_slider.scss +71 -0
  173. package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -0
  174. package/theme/styles/theme/base/components/input/_treeselect.scss +139 -0
  175. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +42 -0
  176. package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -0
  177. package/theme/styles/theme/base/components/menu/_dock.scss +95 -0
  178. package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -0
  179. package/theme/styles/theme/base/components/menu/_menu.scss +37 -0
  180. package/theme/styles/theme/base/components/menu/_menubar.scss +141 -0
  181. package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -0
  182. package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -0
  183. package/theme/styles/theme/base/components/menu/_steps.scss +56 -0
  184. package/theme/styles/theme/base/components/menu/_tabmenu.scss +74 -0
  185. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -0
  186. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -0
  187. package/theme/styles/theme/base/components/messages/_message.scss +107 -0
  188. package/theme/styles/theme/base/components/messages/_toast.scss +100 -0
  189. package/theme/styles/theme/base/components/misc/_avatar.scss +30 -0
  190. package/theme/styles/theme/base/components/misc/_badge.scss +48 -0
  191. package/theme/styles/theme/base/components/misc/_blockui.scss +0 -0
  192. package/theme/styles/theme/base/components/misc/_chip.scss +42 -0
  193. package/theme/styles/theme/base/components/misc/_inplace.scss +17 -0
  194. package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -0
  195. package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -0
  196. package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -0
  197. package/theme/styles/theme/base/components/misc/_tag.scss +40 -0
  198. package/theme/styles/theme/base/components/misc/_terminal.scss +12 -0
  199. package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -0
  200. package/theme/styles/theme/base/components/multimedia/_image.scss +49 -0
  201. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +72 -0
  202. package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -0
  203. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +64 -0
  204. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -0
  205. package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -0
  206. package/theme/styles/theme/base/components/panel/_accordion.scss +119 -0
  207. package/theme/styles/theme/base/components/panel/_card.scss +30 -0
  208. package/theme/styles/theme/base/components/panel/_divider.scss +31 -0
  209. package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -0
  210. package/theme/styles/theme/base/components/panel/_panel.scss +63 -0
  211. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -0
  212. package/theme/styles/theme/base/components/panel/_splitter.scss +19 -0
  213. package/theme/styles/theme/base/components/panel/_tabview.scss +82 -0
  214. package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -0
  215. package/theme/styles/theme/dark/_extensions.scss +120 -0
  216. package/theme/styles/theme/dark/_variables.scss +896 -0
  217. package/theme/styles/theme/dark/blue/theme.scss +14 -0
  218. package/theme/styles/theme/dark/indigo/theme.scss +14 -0
  219. package/theme/styles/theme/light/_extensions.scss +102 -0
  220. package/theme/styles/theme/light/_variables.scss +898 -0
  221. package/theme/styles/theme/light/blue/theme.scss +13 -0
  222. package/theme/styles/theme/light/indigo/theme.scss +14 -0
  223. package/ui/badge/src/badge.component.d.ts +4 -4
  224. package/ui/button/src/button.component.d.ts +7 -5
  225. package/ui/button/src/split-button.component.d.ts +2 -2
  226. package/ui/calendar/src/calendar.component.d.ts +13 -9
  227. package/ui/checkbox/index.d.ts +1 -0
  228. package/ui/checkbox/src/check-box.component.d.ts +3 -2
  229. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
  230. package/ui/confirmPopup/src/confirm-popup.component.d.ts +1 -7
  231. package/ui/field/src/field.component.d.ts +3 -2
  232. package/ui/fileUpload/src/file-upload.component.d.ts +3 -1
  233. package/ui/form/src/form-submit-button.component.d.ts +1 -1
  234. package/ui/lib/src/form/form-field-builder.d.ts +1 -0
  235. package/ui/mask/src/mask.component.d.ts +7 -7
  236. package/ui/number/src/number.component.d.ts +5 -4
  237. package/ui/overlayPanel/src/overlay-panel.component.d.ts +3 -10
  238. package/ui/panel/src/panel.component.d.ts +3 -4
  239. package/ui/password/src/password.component.d.ts +2 -1
  240. package/ui/radioButton/src/radio-button.component.d.ts +2 -1
  241. package/ui/selectBox/src/select-box.component.d.ts +4 -2
  242. package/ui/switch/src/switch.component.d.ts +2 -1
  243. package/ui/table/index.d.ts +2 -0
  244. package/ui/table/src/i18n.d.ts +42 -0
  245. package/ui/table/src/table-column.component.d.ts +22 -0
  246. package/ui/table/src/table.component.d.ts +30 -0
  247. package/ui/tagBox/src/tag-box.component.d.ts +2 -1
  248. package/ui/text/src/text.component.d.ts +6 -4
  249. package/ui/textArea/src/text-area.component.d.ts +2 -2
  250. package/ui/tree/src/tree.component.d.ts +3 -7
  251. package/ui/treeTable/src/tree-table.component.d.ts +10 -8
  252. package/ui/value/index.d.ts +1 -0
  253. package/ui/value/src/value.component.d.ts +15 -0
  254. package/util/lib/src/types.d.ts +7 -0
  255. package/util/primitive-extensions/src/string.extensions.d.ts +1 -0
  256. package/esm2022/ui/dialog/aril-ui-dialog.mjs +0 -5
  257. package/esm2022/ui/dialog/index.mjs +0 -2
  258. package/esm2022/ui/dialog/src/dialog.component.mjs +0 -56
  259. package/fesm2022/aril-ui-dialog.mjs +0 -63
  260. package/fesm2022/aril-ui-dialog.mjs.map +0 -1
  261. package/ui/dialog/index.d.ts +0 -1
  262. package/ui/dialog/src/dialog.component.d.ts +0 -20
  263. /package/styles/ui/{ui.styles.css → ui.common.scss} +0 -0
@@ -1,23 +1,25 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { TreeNode, TreeTableNode } from 'primeng/api';
3
3
  import * as i0 from "@angular/core";
4
- export type SortMode = 'single' | 'multiple';
5
- export type FilterMode = 'lenient' | 'strict';
4
+ type SortMode = 'single' | 'multiple';
5
+ type FilterMode = 'lenient' | 'strict';
6
+ type SelectionModes = 'single' | 'multiple' | 'checkbox';
6
7
  export declare class TreeTableComponent {
7
- value: TreeNode[];
8
+ data: TreeNode[];
8
9
  columns: Array<object>;
9
10
  rows: number;
10
- paginator: boolean;
11
11
  rowsPerPageOptions: number[];
12
12
  scrollable: boolean;
13
13
  scrollHeight: string;
14
+ loading: boolean;
14
15
  sortMode: SortMode;
15
16
  filterMode: FilterMode;
16
- loading: boolean;
17
- exportEvent: EventEmitter<any>;
17
+ selectionMode: SelectionModes;
18
+ selectEvent: EventEmitter<any>;
18
19
  selectedNodes: TreeTableNode<any> | TreeTableNode<any>[] | null;
19
20
  getFilterTargetValue(event: Event): string;
20
- exportSelectedRows(): void;
21
+ emitSelectedRows(): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "aril-tree-table", never, { "value": { "alias": "value"; "required": true; }; "columns": { "alias": "columns"; "required": true; }; "rows": { "alias": "rows"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "sortMode": { "alias": "sortMode"; "required": false; }; "filterMode": { "alias": "filterMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "exportEvent": "exportEvent"; }, never, [".export-btn"], true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent, "aril-tree-table", never, { "data": { "alias": "data"; "required": true; }; "columns": { "alias": "columns"; "required": true; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "sortMode": { "alias": "sortMode"; "required": false; }; "filterMode": { "alias": "filterMode"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, { "selectEvent": "selectEvent"; }, never, [".export-btn"], true, never>;
23
24
  }
25
+ export {};
@@ -0,0 +1 @@
1
+ export * from './src/value.component';
@@ -0,0 +1,15 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import "aril/util/primitive-extensions";
3
+ import * as i0 from "@angular/core";
4
+ type ValueTypes = 'text' | 'bool' | 'number' | 'decimal' | 'date' | 'password';
5
+ export declare class ValueComponent implements OnChanges {
6
+ model: any;
7
+ type: ValueTypes;
8
+ format: string;
9
+ color: string;
10
+ display: string;
11
+ ngOnChanges(changes: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValueComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ValueComponent, "aril-value", never, { "model": { "alias": "model"; "required": true; }; "type": { "alias": "type"; "required": false; }; "format": { "alias": "format"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
15
+ export {};
@@ -1,3 +1,4 @@
1
+ import { InputSignal } from "@angular/core";
1
2
  import { FormControl, FormGroup } from "@angular/forms";
2
3
  export declare namespace Types {
3
4
  type MarkComponentProps<Component> = {
@@ -13,10 +14,16 @@ export declare namespace Types {
13
14
  isFirstChange(): boolean;
14
15
  };
15
16
  };
17
+ export type IsArray<T> = T extends (infer U)[] ? U : never;
16
18
  export type ControlsOf<T extends Record<string, any>> = {
17
19
  [K in keyof T]: T[K] extends Record<any, any> ? T[K] extends any[] ? FormControl<T[K] | null> : FormGroup<ControlsOf<T[K]>> : FormControl<T[K] | null>;
18
20
  };
19
21
  type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
20
22
  export type NumberRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>;
23
+ export type ComponentInputs<C> = {
24
+ [K in keyof Pick<C, {
25
+ [K in keyof C]: C[K] extends InputSignal<any> ? K : never;
26
+ }[keyof C]>]: C[K] extends InputSignal<infer _, infer Write> ? Write : never;
27
+ };
21
28
  export {};
22
29
  }
@@ -5,6 +5,7 @@ declare global {
5
5
  toCamelCase(): string;
6
6
  toPascalCase(): string;
7
7
  toCapitalizeFirstLetter(): string;
8
+ stringToBool(str: string): boolean;
8
9
  }
9
10
  }
10
11
  export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJpbC11aS1kaWFsb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hcmlsL3VpL2RpYWxvZy9hcmlsLXVpLWRpYWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './src/dialog.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hcmlsL3VpL2RpYWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMvZGlhbG9nLmNvbXBvbmVudCc7Il19
@@ -1,56 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { DialogModule } from 'primeng/dialog';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "primeng/dialog";
5
- /* TODO : REFACTOR */
6
- export class DialogComponent {
7
- constructor() {
8
- this.visible = false;
9
- this.header = '';
10
- this.draggable = false;
11
- this.resizable = false;
12
- this.closable = true;
13
- this.maximizable = false;
14
- this.dismissableMask = false;
15
- this.modal = false;
16
- this.isVisible = false;
17
- this.transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
18
- this.showEvent = new EventEmitter();
19
- this.hideEvent = new EventEmitter();
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: DialogComponent, isStandalone: true, selector: "aril-dialog", inputs: { visible: "visible", header: "header", draggable: "draggable", resizable: "resizable", contentStyleClass: "contentStyleClass", closable: "closable", maximizable: "maximizable", dismissableMask: "dismissableMask", modal: "modal", style: "style", isVisible: "isVisible", transitionOptions: "transitionOptions" }, outputs: { showEvent: "showEvent", hideEvent: "hideEvent" }, ngImport: i0, template: "<p-dialog\r\n\t[(visible)]=\"visible\"\r\n\t[modal]=\"modal\"\r\n\t[header]=\"header\"\r\n\t[closable]=\"closable\"\r\n\t[maximizable]=\"maximizable\"\r\n\t[contentStyleClass]=\"contentStyleClass\"\r\n\t[draggable]=\"draggable\"\r\n\t[resizable]=\"resizable\"\r\n\t[dismissableMask]=\"dismissableMask\"\r\n\t[transitionOptions]=\"transitionOptions\"\r\n\t[style]=\"{ width: '60vw' }\"\r\n\t(onShow)=\"showEvent.emit()\"\r\n\t(onHide)=\"hideEvent.emit()\">\r\n\t<ng-content> </ng-content>\r\n\t<!-- <ng-template pTemplate=\"footer\">\r\n\t\t<p-button\r\n\t\t\ticon=\"pi pi-check\"\r\n\t\t\t(click)=\"visible = false\"\r\n\t\t\tlabel=\"Tamam\"\r\n\t\t\tstyleClass=\"p-button-text\"></p-button>\r\n\t</ng-template> -->\r\n</p-dialog>\r\n", dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DialogComponent, decorators: [{
25
- type: Component,
26
- args: [{ standalone: true, selector: 'aril-dialog', imports: [DialogModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-dialog\r\n\t[(visible)]=\"visible\"\r\n\t[modal]=\"modal\"\r\n\t[header]=\"header\"\r\n\t[closable]=\"closable\"\r\n\t[maximizable]=\"maximizable\"\r\n\t[contentStyleClass]=\"contentStyleClass\"\r\n\t[draggable]=\"draggable\"\r\n\t[resizable]=\"resizable\"\r\n\t[dismissableMask]=\"dismissableMask\"\r\n\t[transitionOptions]=\"transitionOptions\"\r\n\t[style]=\"{ width: '60vw' }\"\r\n\t(onShow)=\"showEvent.emit()\"\r\n\t(onHide)=\"hideEvent.emit()\">\r\n\t<ng-content> </ng-content>\r\n\t<!-- <ng-template pTemplate=\"footer\">\r\n\t\t<p-button\r\n\t\t\ticon=\"pi pi-check\"\r\n\t\t\t(click)=\"visible = false\"\r\n\t\t\tlabel=\"Tamam\"\r\n\t\t\tstyleClass=\"p-button-text\"></p-button>\r\n\t</ng-template> -->\r\n</p-dialog>\r\n" }]
27
- }], propDecorators: { visible: [{
28
- type: Input
29
- }], header: [{
30
- type: Input
31
- }], draggable: [{
32
- type: Input
33
- }], resizable: [{
34
- type: Input
35
- }], contentStyleClass: [{
36
- type: Input
37
- }], closable: [{
38
- type: Input
39
- }], maximizable: [{
40
- type: Input
41
- }], dismissableMask: [{
42
- type: Input
43
- }], modal: [{
44
- type: Input
45
- }], style: [{
46
- type: Input
47
- }], isVisible: [{
48
- type: Input
49
- }], transitionOptions: [{
50
- type: Input
51
- }], showEvent: [{
52
- type: Output
53
- }], hideEvent: [{
54
- type: Output
55
- }] } });
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FyaWwvdWkvZGlhbG9nL3NyYy9kaWFsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXJpbC91aS9kaWFsb2cvc3JjL2RpYWxvZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lc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JyB9XCJcclxuXHQob25TaG93KT1cInNob3dFdmVudC5lbWl0KClcIlxyXG5cdChvbkhpZGUpPVwiaGlkZUV2ZW50LmVtaXQoKVwiPlxyXG5cdDxuZy1jb250ZW50PiA8L25nLWNvbnRlbnQ+XHJcblx0PCEtLSA8bmctdGVtcGxhdGUgcFRlbXBsYXRlPVwiZm9vdGVyXCI+XHJcblx0XHQ8cC1idXR0b25cclxuXHRcdFx0aWNvbj1cInBpIHBpLWNoZWNrXCJcclxuXHRcdFx0KGNsaWNrKT1cInZpc2libGUgPSBmYWxzZVwiXHJcblx0XHRcdGxhYmVsPVwiVGFtYW1cIlxyXG5cdFx0XHRzdHlsZUNsYXNzPVwicC1idXR0b24tdGV4dFwiPjwvcC1idXR0b24+XHJcblx0PC9uZy10ZW1wbGF0ZT4gLS0+XHJcbjwvcC1kaWFsb2c+XHJcbiJdfQ==
@@ -1,63 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
3
- import * as i1 from 'primeng/dialog';
4
- import { DialogModule } from 'primeng/dialog';
5
-
6
- /* TODO : REFACTOR */
7
- class DialogComponent {
8
- constructor() {
9
- this.visible = false;
10
- this.header = '';
11
- this.draggable = false;
12
- this.resizable = false;
13
- this.closable = true;
14
- this.maximizable = false;
15
- this.dismissableMask = false;
16
- this.modal = false;
17
- this.isVisible = false;
18
- this.transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';
19
- this.showEvent = new EventEmitter();
20
- this.hideEvent = new EventEmitter();
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: DialogComponent, isStandalone: true, selector: "aril-dialog", inputs: { visible: "visible", header: "header", draggable: "draggable", resizable: "resizable", contentStyleClass: "contentStyleClass", closable: "closable", maximizable: "maximizable", dismissableMask: "dismissableMask", modal: "modal", style: "style", isVisible: "isVisible", transitionOptions: "transitionOptions" }, outputs: { showEvent: "showEvent", hideEvent: "hideEvent" }, ngImport: i0, template: "<p-dialog\r\n\t[(visible)]=\"visible\"\r\n\t[modal]=\"modal\"\r\n\t[header]=\"header\"\r\n\t[closable]=\"closable\"\r\n\t[maximizable]=\"maximizable\"\r\n\t[contentStyleClass]=\"contentStyleClass\"\r\n\t[draggable]=\"draggable\"\r\n\t[resizable]=\"resizable\"\r\n\t[dismissableMask]=\"dismissableMask\"\r\n\t[transitionOptions]=\"transitionOptions\"\r\n\t[style]=\"{ width: '60vw' }\"\r\n\t(onShow)=\"showEvent.emit()\"\r\n\t(onHide)=\"hideEvent.emit()\">\r\n\t<ng-content> </ng-content>\r\n\t<!-- <ng-template pTemplate=\"footer\">\r\n\t\t<p-button\r\n\t\t\ticon=\"pi pi-check\"\r\n\t\t\t(click)=\"visible = false\"\r\n\t\t\tlabel=\"Tamam\"\r\n\t\t\tstyleClass=\"p-button-text\"></p-button>\r\n\t</ng-template> -->\r\n</p-dialog>\r\n", dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DialogComponent, decorators: [{
26
- type: Component,
27
- args: [{ standalone: true, selector: 'aril-dialog', imports: [DialogModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-dialog\r\n\t[(visible)]=\"visible\"\r\n\t[modal]=\"modal\"\r\n\t[header]=\"header\"\r\n\t[closable]=\"closable\"\r\n\t[maximizable]=\"maximizable\"\r\n\t[contentStyleClass]=\"contentStyleClass\"\r\n\t[draggable]=\"draggable\"\r\n\t[resizable]=\"resizable\"\r\n\t[dismissableMask]=\"dismissableMask\"\r\n\t[transitionOptions]=\"transitionOptions\"\r\n\t[style]=\"{ width: '60vw' }\"\r\n\t(onShow)=\"showEvent.emit()\"\r\n\t(onHide)=\"hideEvent.emit()\">\r\n\t<ng-content> </ng-content>\r\n\t<!-- <ng-template pTemplate=\"footer\">\r\n\t\t<p-button\r\n\t\t\ticon=\"pi pi-check\"\r\n\t\t\t(click)=\"visible = false\"\r\n\t\t\tlabel=\"Tamam\"\r\n\t\t\tstyleClass=\"p-button-text\"></p-button>\r\n\t</ng-template> -->\r\n</p-dialog>\r\n" }]
28
- }], propDecorators: { visible: [{
29
- type: Input
30
- }], header: [{
31
- type: Input
32
- }], draggable: [{
33
- type: Input
34
- }], resizable: [{
35
- type: Input
36
- }], contentStyleClass: [{
37
- type: Input
38
- }], closable: [{
39
- type: Input
40
- }], maximizable: [{
41
- type: Input
42
- }], dismissableMask: [{
43
- type: Input
44
- }], modal: [{
45
- type: Input
46
- }], style: [{
47
- type: Input
48
- }], isVisible: [{
49
- type: Input
50
- }], transitionOptions: [{
51
- type: Input
52
- }], showEvent: [{
53
- type: Output
54
- }], hideEvent: [{
55
- type: Output
56
- }] } });
57
-
58
- /**
59
- * Generated bundle index. Do not edit.
60
- */
61
-
62
- export { DialogComponent };
63
- //# sourceMappingURL=aril-ui-dialog.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aril-ui-dialog.mjs","sources":["../../projects/aril/ui/dialog/src/dialog.component.ts","../../projects/aril/ui/dialog/src/dialog.component.html","../../projects/aril/ui/dialog/aril-ui-dialog.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { DialogModule } from 'primeng/dialog';\r\n\r\n/* TODO : REFACTOR */\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'aril-dialog',\r\n templateUrl: './dialog.component.html',\r\n imports: [DialogModule],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class DialogComponent {\r\n @Input() visible = false;\r\n @Input() header = '';\r\n @Input() draggable = false;\r\n @Input() resizable = false;\r\n @Input() contentStyleClass: string | undefined;\r\n @Input() closable = true;\r\n @Input() maximizable = false;\r\n @Input() dismissableMask = false;\r\n @Input() modal = false;\r\n @Input() style!: object;\r\n @Input() isVisible = false;\r\n @Input() transitionOptions = '150ms cubic-bezier(0, 0, 0.2, 1)';\r\n\r\n @Output() showEvent: EventEmitter<void> = new EventEmitter();\r\n @Output() hideEvent: EventEmitter<void> = new EventEmitter();\r\n}\r\n","<p-dialog\r\n\t[(visible)]=\"visible\"\r\n\t[modal]=\"modal\"\r\n\t[header]=\"header\"\r\n\t[closable]=\"closable\"\r\n\t[maximizable]=\"maximizable\"\r\n\t[contentStyleClass]=\"contentStyleClass\"\r\n\t[draggable]=\"draggable\"\r\n\t[resizable]=\"resizable\"\r\n\t[dismissableMask]=\"dismissableMask\"\r\n\t[transitionOptions]=\"transitionOptions\"\r\n\t[style]=\"{ width: '60vw' }\"\r\n\t(onShow)=\"showEvent.emit()\"\r\n\t(onHide)=\"hideEvent.emit()\">\r\n\t<ng-content> </ng-content>\r\n\t<!-- <ng-template pTemplate=\"footer\">\r\n\t\t<p-button\r\n\t\t\ticon=\"pi pi-check\"\r\n\t\t\t(click)=\"visible = false\"\r\n\t\t\tlabel=\"Tamam\"\r\n\t\t\tstyleClass=\"p-button-text\"></p-button>\r\n\t</ng-template> -->\r\n</p-dialog>\r\n","/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S,EAAA,CAAA;sBAAjB,KAAK;gBACG,iBAAiB,EAAA,CAAA;sBAAzB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACG,eAAe,EAAA,CAAA;sBAAvB,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,SAAS,EAAA,CAAA;sBAAjB,KAAK;gBACG,iBAAiB,EAAA,CAAA;sBAAzB,KAAK;gBAEI,SAAS,EAAA,CAAA;sBAAlB,MAAM;gBACG,SAAS,EAAA,CAAA;sBAAlB,MAAM;;;AE3BT;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- export * from './src/dialog.component';
@@ -1,20 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DialogComponent {
4
- visible: boolean;
5
- header: string;
6
- draggable: boolean;
7
- resizable: boolean;
8
- contentStyleClass: string | undefined;
9
- closable: boolean;
10
- maximizable: boolean;
11
- dismissableMask: boolean;
12
- modal: boolean;
13
- style: object;
14
- isVisible: boolean;
15
- transitionOptions: string;
16
- showEvent: EventEmitter<void>;
17
- hideEvent: EventEmitter<void>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "aril-dialog", never, { "visible": { "alias": "visible"; "required": false; }; "header": { "alias": "header"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "contentStyleClass": { "alias": "contentStyleClass"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "maximizable": { "alias": "maximizable"; "required": false; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "style": { "alias": "style"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "transitionOptions": { "alias": "transitionOptions"; "required": false; }; }, { "showEvent": "showEvent"; "hideEvent": "hideEvent"; }, never, ["*"], true, never>;
20
- }
File without changes