aril 0.0.2 → 0.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 (207) hide show
  1. package/README.md +20 -7
  2. package/esm2022/http/index.mjs +5 -1
  3. package/esm2022/http/lib/enums.mjs +1 -2
  4. package/esm2022/http/lib/interfaces.mjs +3 -1
  5. package/esm2022/http/src/httpClient.mjs +2 -1
  6. package/esm2022/http/src/serviceBase.mjs +10 -10
  7. package/esm2022/ui/badge/aril-ui-badge.mjs +5 -0
  8. package/esm2022/ui/badge/index.mjs +2 -0
  9. package/esm2022/ui/badge/src/badge.component.mjs +25 -0
  10. package/esm2022/ui/button/index.mjs +2 -1
  11. package/esm2022/ui/button/src/button.component.mjs +45 -7
  12. package/esm2022/ui/button/src/split-button.component.mjs +17 -0
  13. package/esm2022/ui/calendar/src/calendar.component.mjs +80 -8
  14. package/esm2022/ui/checkbox/index.mjs +2 -2
  15. package/esm2022/ui/checkbox/src/check-box.component.mjs +26 -0
  16. package/esm2022/ui/confirmPopup/aril-ui-confirmPopup.mjs +5 -0
  17. package/esm2022/ui/confirmPopup/index.mjs +2 -0
  18. package/esm2022/ui/confirmPopup/src/confirm-popup.component.mjs +40 -0
  19. package/esm2022/ui/dialog/aril-ui-dialog.mjs +5 -0
  20. package/esm2022/ui/dialog/index.mjs +2 -0
  21. package/esm2022/ui/dialog/src/dialog.component.mjs +56 -0
  22. package/esm2022/ui/dxField/aril-ui-dxField.mjs +5 -0
  23. package/esm2022/ui/dxField/index.mjs +2 -0
  24. package/esm2022/ui/dxField/src/dx-field.component.mjs +27 -0
  25. package/esm2022/ui/field/aril-ui-field.mjs +5 -0
  26. package/esm2022/ui/field/index.mjs +2 -0
  27. package/esm2022/ui/field/src/field.component.mjs +48 -0
  28. package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +5 -0
  29. package/esm2022/ui/fileUpload/index.mjs +2 -0
  30. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +85 -0
  31. package/esm2022/ui/form/aril-ui-form.mjs +5 -0
  32. package/esm2022/ui/form/index.mjs +3 -0
  33. package/esm2022/ui/form/src/form-submit-button.component.mjs +41 -0
  34. package/esm2022/ui/form/src/form.component.mjs +28 -0
  35. package/esm2022/ui/lib/index.mjs +13 -3
  36. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +33 -0
  37. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +35 -0
  38. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +21 -0
  39. package/esm2022/ui/lib/src/input/baseInput.mjs +24 -0
  40. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +3 -3
  41. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +22 -0
  42. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +3 -3
  43. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +41 -0
  44. package/esm2022/ui/lib/src/input/input-transforms.mjs +8 -0
  45. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +32 -0
  46. package/esm2022/ui/mask/aril-ui-mask.mjs +5 -0
  47. package/esm2022/ui/mask/index.mjs +2 -0
  48. package/esm2022/ui/mask/src/mask.component.mjs +44 -0
  49. package/esm2022/ui/number/aril-ui-number.mjs +5 -0
  50. package/esm2022/ui/number/index.mjs +2 -0
  51. package/esm2022/ui/number/src/number.component.mjs +58 -0
  52. package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +5 -0
  53. package/esm2022/ui/overlayPanel/index.mjs +2 -0
  54. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +37 -0
  55. package/esm2022/ui/panel/aril-ui-panel.mjs +5 -0
  56. package/esm2022/ui/panel/index.mjs +2 -0
  57. package/esm2022/ui/panel/src/panel.component.mjs +32 -0
  58. package/esm2022/ui/password/aril-ui-password.mjs +5 -0
  59. package/esm2022/ui/password/index.mjs +2 -0
  60. package/esm2022/ui/password/src/password.component.mjs +32 -0
  61. package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +5 -0
  62. package/esm2022/ui/radioButton/index.mjs +2 -0
  63. package/esm2022/ui/radioButton/src/radio-button.component.mjs +35 -0
  64. package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +5 -0
  65. package/esm2022/ui/selectBox/index.mjs +2 -0
  66. package/esm2022/ui/selectBox/src/select-box.component.mjs +41 -0
  67. package/esm2022/ui/switch/aril-ui-switch.mjs +5 -0
  68. package/esm2022/ui/switch/index.mjs +2 -0
  69. package/esm2022/ui/switch/src/switch.component.mjs +19 -0
  70. package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +5 -0
  71. package/esm2022/ui/tagBox/index.mjs +2 -0
  72. package/esm2022/ui/tagBox/src/tag-box.component.mjs +58 -0
  73. package/esm2022/ui/text/aril-ui-text.mjs +5 -0
  74. package/esm2022/ui/text/index.mjs +2 -0
  75. package/esm2022/ui/text/src/text.component.mjs +37 -0
  76. package/esm2022/ui/textArea/aril-ui-textArea.mjs +5 -0
  77. package/esm2022/ui/textArea/index.mjs +2 -0
  78. package/esm2022/ui/textArea/src/text-area.component.mjs +27 -0
  79. package/esm2022/ui/tree/aril-ui-tree.mjs +5 -0
  80. package/esm2022/ui/tree/index.mjs +2 -0
  81. package/esm2022/ui/tree/src/tree.component.mjs +67 -0
  82. package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +5 -0
  83. package/esm2022/ui/treeTable/index.mjs +2 -0
  84. package/esm2022/ui/treeTable/src/tree-table.component.mjs +52 -0
  85. package/esm2022/util/init-event/src/init-event.directive.mjs +8 -8
  86. package/esm2022/util/lib/src/interfaces.mjs +3 -1
  87. package/esm2022/util/lib/src/types.mjs +4 -1
  88. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +5 -4
  89. package/fesm2022/aril-http.mjs +49 -45
  90. package/fesm2022/aril-http.mjs.map +1 -1
  91. package/fesm2022/aril-ui-badge.mjs +32 -0
  92. package/fesm2022/aril-ui-badge.mjs.map +1 -0
  93. package/fesm2022/aril-ui-button.mjs +59 -7
  94. package/fesm2022/aril-ui-button.mjs.map +1 -1
  95. package/fesm2022/aril-ui-calendar.mjs +78 -7
  96. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  97. package/fesm2022/aril-ui-checkbox.mjs +22 -7
  98. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  99. package/fesm2022/aril-ui-confirmPopup.mjs +47 -0
  100. package/fesm2022/aril-ui-confirmPopup.mjs.map +1 -0
  101. package/fesm2022/aril-ui-dialog.mjs +63 -0
  102. package/fesm2022/aril-ui-dialog.mjs.map +1 -0
  103. package/fesm2022/aril-ui-dxField.mjs +34 -0
  104. package/fesm2022/aril-ui-dxField.mjs.map +1 -0
  105. package/fesm2022/aril-ui-field.mjs +55 -0
  106. package/fesm2022/aril-ui-field.mjs.map +1 -0
  107. package/fesm2022/aril-ui-fileUpload.mjs +92 -0
  108. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -0
  109. package/fesm2022/aril-ui-form.mjs +74 -0
  110. package/fesm2022/aril-ui-form.mjs.map +1 -0
  111. package/fesm2022/aril-ui-lib.mjs +252 -51
  112. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  113. package/fesm2022/aril-ui-mask.mjs +51 -0
  114. package/fesm2022/aril-ui-mask.mjs.map +1 -0
  115. package/fesm2022/aril-ui-number.mjs +65 -0
  116. package/fesm2022/aril-ui-number.mjs.map +1 -0
  117. package/fesm2022/aril-ui-overlayPanel.mjs +44 -0
  118. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -0
  119. package/fesm2022/aril-ui-panel.mjs +39 -0
  120. package/fesm2022/aril-ui-panel.mjs.map +1 -0
  121. package/fesm2022/aril-ui-password.mjs +39 -0
  122. package/fesm2022/aril-ui-password.mjs.map +1 -0
  123. package/fesm2022/aril-ui-radioButton.mjs +42 -0
  124. package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
  125. package/fesm2022/aril-ui-selectBox.mjs +48 -0
  126. package/fesm2022/aril-ui-selectBox.mjs.map +1 -0
  127. package/fesm2022/aril-ui-switch.mjs +26 -0
  128. package/fesm2022/aril-ui-switch.mjs.map +1 -0
  129. package/fesm2022/aril-ui-tagBox.mjs +65 -0
  130. package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
  131. package/fesm2022/aril-ui-text.mjs +44 -0
  132. package/fesm2022/aril-ui-text.mjs.map +1 -0
  133. package/fesm2022/aril-ui-textArea.mjs +34 -0
  134. package/fesm2022/aril-ui-textArea.mjs.map +1 -0
  135. package/fesm2022/aril-ui-tree.mjs +74 -0
  136. package/fesm2022/aril-ui-tree.mjs.map +1 -0
  137. package/fesm2022/aril-ui-treeTable.mjs +59 -0
  138. package/fesm2022/aril-ui-treeTable.mjs.map +1 -0
  139. package/fesm2022/aril-util-init-event.mjs +7 -7
  140. package/fesm2022/aril-util-init-event.mjs.map +1 -1
  141. package/fesm2022/aril-util-lib.mjs +7 -0
  142. package/fesm2022/aril-util-lib.mjs.map +1 -1
  143. package/fesm2022/aril-util-pub-sub.mjs +4 -3
  144. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  145. package/http/index.d.ts +2 -0
  146. package/http/lib/enums.d.ts +2 -2
  147. package/package.json +138 -12
  148. package/styles/ui/ui.styles.css +8 -0
  149. package/ui/badge/index.d.ts +1 -0
  150. package/ui/badge/src/badge.component.d.ts +11 -0
  151. package/ui/button/index.d.ts +1 -0
  152. package/ui/button/src/button.component.d.ts +21 -2
  153. package/ui/button/src/split-button.component.d.ts +8 -0
  154. package/ui/calendar/src/calendar.component.d.ts +26 -2
  155. package/ui/checkbox/index.d.ts +1 -1
  156. package/ui/checkbox/src/check-box.component.d.ts +8 -0
  157. package/ui/confirmPopup/index.d.ts +1 -0
  158. package/ui/confirmPopup/src/confirm-popup.component.d.ts +15 -0
  159. package/ui/dialog/index.d.ts +1 -0
  160. package/ui/dialog/src/dialog.component.d.ts +20 -0
  161. package/ui/dxField/index.d.ts +1 -0
  162. package/ui/dxField/src/dx-field.component.d.ts +11 -0
  163. package/ui/field/index.d.ts +1 -0
  164. package/ui/field/src/field.component.d.ts +24 -0
  165. package/ui/fileUpload/index.d.ts +1 -0
  166. package/ui/fileUpload/src/file-upload.component.d.ts +44 -0
  167. package/ui/form/index.d.ts +2 -0
  168. package/ui/form/src/form-submit-button.component.d.ts +14 -0
  169. package/ui/form/src/form.component.d.ts +8 -0
  170. package/ui/lib/index.d.ts +9 -2
  171. package/ui/lib/src/form/form-error-message.component.d.ts +9 -0
  172. package/ui/lib/src/form/form-error-message.directive.d.ts +14 -0
  173. package/ui/lib/src/grid/flex-grid.directive.d.ts +6 -0
  174. package/ui/lib/src/input/baseInput.d.ts +7 -0
  175. package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +11 -0
  176. package/ui/lib/src/input/input-error-message.pipe.d.ts +7 -0
  177. package/ui/lib/src/input/input-transforms.d.ts +5 -0
  178. package/ui/lib/src/input/value-accessor.directive.d.ts +9 -0
  179. package/ui/mask/index.d.ts +1 -0
  180. package/ui/mask/src/mask.component.d.ts +21 -0
  181. package/ui/number/index.d.ts +1 -0
  182. package/ui/number/src/number.component.d.ts +23 -0
  183. package/ui/overlayPanel/index.d.ts +1 -0
  184. package/ui/overlayPanel/src/overlay-panel.component.d.ts +15 -0
  185. package/ui/panel/index.d.ts +1 -0
  186. package/ui/panel/src/panel.component.d.ts +12 -0
  187. package/ui/password/index.d.ts +1 -0
  188. package/ui/password/src/password.component.d.ts +10 -0
  189. package/ui/radioButton/index.d.ts +1 -0
  190. package/ui/radioButton/src/radio-button.component.d.ts +17 -0
  191. package/ui/selectBox/index.d.ts +1 -0
  192. package/ui/selectBox/src/select-box.component.d.ts +18 -0
  193. package/ui/switch/index.d.ts +1 -0
  194. package/ui/switch/src/switch.component.d.ts +7 -0
  195. package/ui/tagBox/index.d.ts +1 -0
  196. package/ui/tagBox/src/tag-box.component.d.ts +14 -0
  197. package/ui/text/index.d.ts +1 -0
  198. package/ui/text/src/text.component.d.ts +15 -0
  199. package/ui/textArea/index.d.ts +1 -0
  200. package/ui/textArea/src/text-area.component.d.ts +11 -0
  201. package/ui/tree/index.d.ts +1 -0
  202. package/ui/tree/src/tree.component.d.ts +29 -0
  203. package/ui/treeTable/index.d.ts +1 -0
  204. package/ui/treeTable/src/tree-table.component.d.ts +23 -0
  205. package/util/init-event/src/init-event.directive.d.ts +4 -4
  206. package/esm2022/ui/checkbox/src/checkbox.component.mjs +0 -11
  207. package/ui/checkbox/src/checkbox.component.d.ts +0 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-tree.mjs","sources":["../../projects/aril/ui/tree/src/tree.component.ts","../../projects/aril/ui/tree/src/tree.component.html","../../projects/aril/ui/tree/aril-ui-tree.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\n\r\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { TreeNode } from 'primeng/api';\r\nimport { TreeModule } from 'primeng/tree';\r\n\r\nexport type SelectionModes = \"multiple\" | \"checkbox\" | \"single\";\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'aril-tree',\r\n templateUrl: './tree.component.html',\r\n imports: [TreeModule],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TreeComponent {\r\n @Input() value!: TreeNode[];\r\n @Input() selectionMode!: SelectionModes;\r\n @Input() selection!: TreeNode | TreeNode[];\r\n @Input() style!: object;\r\n @Input() styleClass!: string;\r\n @Input() contextMenuSelection!: TreeNode;\r\n @Input() contextMenu!: any;\r\n @Input() metaKeySelection = false;\r\n @Input() propagateSelectionUp = false;\r\n @Input() propagateSelectionDown = true;\r\n @Input() loading!: boolean;\r\n @Input() loadingIcon!: string;\r\n @Input() filter!: boolean;\r\n @Input() filterMode = 'lenient';\r\n @Input() filterBy = 'label';\r\n @Input() filterPlaceholder!: string;\r\n @Input() filterLocale!: string;\r\n\r\n @Output() nodeSelect: EventEmitter<unknown> = new EventEmitter();\r\n @Output() nodeUnselect: EventEmitter<unknown> = new EventEmitter();\r\n @Output() nodeExpand: EventEmitter<unknown> = new EventEmitter();\r\n @Output() nodeCollapse: EventEmitter<unknown> = new EventEmitter();\r\n}\r\n","<p-tree\r\n\t[value]=\"value\"\r\n\t[selectionMode]=\"selectionMode\"\r\n\t[selection]=\"selection\"\r\n\t[style]=\"style\"\r\n\t[styleClass]=\"styleClass\"\r\n\t[contextMenu]=\"contextMenu\"\r\n\t[metaKeySelection]=\"metaKeySelection\"\r\n\t[propagateSelectionUp]=\"propagateSelectionUp\"\r\n\t[propagateSelectionDown]=\"propagateSelectionDown\"\r\n\t[loading]=\"loading\"\r\n\t[loadingIcon]=\"loadingIcon\"\r\n\t[filter]=\"filter\"\r\n\t[filterMode]=\"filterMode\"\r\n\t[filterBy]=\"filterBy\"\r\n\t[filterPlaceholder]=\"filterPlaceholder\"\r\n\t[filterLocale]=\"filterLocale\"\r\n\t(onNodeSelect)=\"nodeSelect.emit($event)\"\r\n\t(onNodeUnselect)=\"nodeUnselect.emit($event)\"\r\n\t(onNodeExpand)=\"nodeExpand.emit($event)\"\r\n\t(onNodeCollapse)=\"nodeCollapse.emit($event)\">\r\n</p-tree>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;MAea,aAAa,CAAA;AAP1B,IAAA,WAAA,GAAA;QAeW,IAAgB,CAAA,gBAAA,GAAG,KAAK,CAAC;QACzB,IAAoB,CAAA,oBAAA,GAAG,KAAK,CAAC;QAC7B,IAAsB,CAAA,sBAAA,GAAG,IAAI,CAAC;QAI9B,IAAU,CAAA,UAAA,GAAG,SAAS,CAAC;QACvB,IAAQ,CAAA,QAAA,GAAG,OAAO,CAAC;AAIlB,QAAA,IAAA,CAAA,UAAU,GAA0B,IAAI,YAAY,EAAE,CAAC;AACvD,QAAA,IAAA,CAAA,YAAY,GAA0B,IAAI,YAAY,EAAE,CAAC;AACzD,QAAA,IAAA,CAAA,UAAU,GAA0B,IAAI,YAA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BAAd,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,iBAAiB,EAAA,CAAA;sBAAzB,KAAK;gBACG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBAEI,UAAU,EAAA,CAAA;sBAAnB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;gBACG,UAAU,EAAA,CAAA;sBAAnB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;;;AErCT;;AAEG;;;;"}
@@ -0,0 +1,59 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
3
+ import * as i1 from 'primeng/treetable';
4
+ import { TreeTableModule } from 'primeng/treetable';
5
+ import * as i2 from 'primeng/api';
6
+
7
+ /* eslint-disable @typescript-eslint/no-explicit-any */
8
+ class TreeTableComponent {
9
+ constructor() {
10
+ this.exportEvent = new EventEmitter();
11
+ }
12
+ getFilterTargetValue(event) {
13
+ const inputElement = event.target;
14
+ return inputElement.value;
15
+ }
16
+ exportSelectedRows() {
17
+ if (!this.selectedNodes)
18
+ return;
19
+ this.exportEvent.emit(this.selectedNodes);
20
+ this.selectedNodes = null;
21
+ }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TreeTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: TreeTableComponent, isStandalone: true, selector: "aril-tree-table", inputs: { value: "value", columns: "columns", rows: "rows", paginator: "paginator", rowsPerPageOptions: "rowsPerPageOptions", scrollable: "scrollable", scrollHeight: "scrollHeight", sortMode: "sortMode", filterMode: "filterMode", loading: "loading" }, outputs: { exportEvent: "exportEvent" }, ngImport: i0, template: "@if (value && columns) {\n\t<p-treeTable\n\t\t#tt\n\t\t[value]=\"value\"\n\t\t[columns]=\"columns\"\n\t\t[rows]=\"rows\"\n\t\t[paginator]=\"paginator\"\n\t\t[rowsPerPageOptions]=\"rowsPerPageOptions\"\n\t\t[scrollable]=\"scrollable\"\n\t\t[scrollHeight]=\"scrollHeight\"\n\t\t[sortMode]=\"sortMode\"\n\t\t[filterMode]=\"filterMode\"\n\t\t[loading]=\"loading\"\n\t\tselectionMode=\"checkbox\"\n\t\t[(selection)]=\"selectedNodes\">\n\t\t<ng-template pTemplate=\"caption\">\n\t\t\t<div class=\"flex justify-content-between align-items-center\">\n\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t<p-treeTableHeaderCheckbox></p-treeTableHeaderCheckbox>\n\t\t\t\t\t<span class=\"ml-2\">T\u00FCm\u00FCn\u00FC se\u00E7</span>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"p-input-icon-left\">\n\t\t\t\t\t<i class=\"pi pi-search\"></i>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tpInputText\n\t\t\t\t\t\tplaceholder=\"Arama\"\n\t\t\t\t\t\t(input)=\"\n\t\t\t\t\t\t\ttt.filterGlobal(getFilterTargetValue($event), 'contains')\n\t\t\t\t\t\t\" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"header\" let-columns>\n\t\t\t<tr>\n\t\t\t\t@for (col of columns; track col) {\n\t\t\t\t\t<th [ttSortableColumn]=\"col.field\">\n\t\t\t\t\t\t<span>{{ col.header }}</span>\n\t\t\t\t\t\t<p-treeTableSortIcon [field]=\"col.field\"></p-treeTableSortIcon>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t@for (col of columns; track col) {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tpInputText\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t(input)=\"\n\t\t\t\t\t\t\t\ttt.filter(\n\t\t\t\t\t\t\t\t\tgetFilterTargetValue($event),\n\t\t\t\t\t\t\t\t\tcol.field,\n\t\t\t\t\t\t\t\t\tcol.filterMatchMode\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\" />\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t</ng-template>\n\t\t<ng-template\n\t\t\tpTemplate=\"body\"\n\t\t\tlet-rowNode\n\t\t\tlet-rowData=\"rowData\"\n\t\t\tlet-columns=\"columns\">\n\t\t\t<tr [ttRow]=\"rowNode\">\n\t\t\t\t@for (col of columns; track col; let first = $first) {\n\t\t\t\t\t<td>\n\t\t\t\t\t\t@if (first) {\n\t\t\t\t\t\t\t<p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@if (first) {\n\t\t\t\t\t\t\t<p-treeTableCheckbox [value]=\"rowNode\"></p-treeTableCheckbox>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{{ rowData[col.field] }}\n\t\t\t\t\t</td>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<div class=\"flex justify-content-end\">\n\t\t\t\t<div [attr.role]=\"'none'\" (click)=\"exportSelectedRows()\">\n\t\t\t\t\t<ng-content select=\".export-btn\"></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"emptymessage\">\n\t\t\t<tr>\n\t\t\t\t<td [attr.colspan]=\"columns.length\">Data bulunamad\u0131..</td>\n\t\t\t</tr>\n\t\t</ng-template>\n\t</p-treeTable>\n}\n", styles: [":host ::ng-deep .p-icon-wrapper{display:inline-block!important}\n"], dependencies: [{ kind: "ngmodule", type: TreeTableModule }, { kind: "component", type: i1.TreeTable, selector: "p-treeTable", inputs: ["columns", "style", "styleClass", "tableStyle", "tableStyleClass", "autoLayout", "lazy", "lazyLoadOnInit", "paginator", "rows", "first", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "customSort", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "compareSelectionBy", "rowHover", "loading", "loadingIcon", "showLoader", "scrollable", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "frozenColumns", "resizableColumns", "columnResizeMode", "reorderableColumns", "contextMenu", "rowTrackBy", "filters", "globalFilterFields", "filterDelay", "filterMode", "filterLocale", "paginatorLocale", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "value", "virtualRowHeight"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i1.TreeTableToggler, selector: "p-treeTableToggler", inputs: ["rowNode"] }, { kind: "directive", type: i1.TTSortableColumn, selector: "[ttSortableColumn]", inputs: ["ttSortableColumn", "ttSortableColumnDisabled"] }, { kind: "component", type: i1.TTSortIcon, selector: "p-treeTableSortIcon", inputs: ["field", "ariaLabelDesc", "ariaLabelAsc"] }, { kind: "directive", type: i1.TTRow, selector: "[ttRow]", inputs: ["ttRow"] }, { kind: "component", type: i1.TTCheckbox, selector: "p-treeTableCheckbox", inputs: ["disabled", "value"] }, { kind: "component", type: i1.TTHeaderCheckbox, selector: "p-treeTableHeaderCheckbox" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TreeTableComponent, decorators: [{
26
+ type: Component,
27
+ args: [{ standalone: true, selector: 'aril-tree-table', imports: [TreeTableModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (value && columns) {\n\t<p-treeTable\n\t\t#tt\n\t\t[value]=\"value\"\n\t\t[columns]=\"columns\"\n\t\t[rows]=\"rows\"\n\t\t[paginator]=\"paginator\"\n\t\t[rowsPerPageOptions]=\"rowsPerPageOptions\"\n\t\t[scrollable]=\"scrollable\"\n\t\t[scrollHeight]=\"scrollHeight\"\n\t\t[sortMode]=\"sortMode\"\n\t\t[filterMode]=\"filterMode\"\n\t\t[loading]=\"loading\"\n\t\tselectionMode=\"checkbox\"\n\t\t[(selection)]=\"selectedNodes\">\n\t\t<ng-template pTemplate=\"caption\">\n\t\t\t<div class=\"flex justify-content-between align-items-center\">\n\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t<p-treeTableHeaderCheckbox></p-treeTableHeaderCheckbox>\n\t\t\t\t\t<span class=\"ml-2\">T\u00FCm\u00FCn\u00FC se\u00E7</span>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"p-input-icon-left\">\n\t\t\t\t\t<i class=\"pi pi-search\"></i>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tpInputText\n\t\t\t\t\t\tplaceholder=\"Arama\"\n\t\t\t\t\t\t(input)=\"\n\t\t\t\t\t\t\ttt.filterGlobal(getFilterTargetValue($event), 'contains')\n\t\t\t\t\t\t\" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"header\" let-columns>\n\t\t\t<tr>\n\t\t\t\t@for (col of columns; track col) {\n\t\t\t\t\t<th [ttSortableColumn]=\"col.field\">\n\t\t\t\t\t\t<span>{{ col.header }}</span>\n\t\t\t\t\t\t<p-treeTableSortIcon [field]=\"col.field\"></p-treeTableSortIcon>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t@for (col of columns; track col) {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tpInputText\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t(input)=\"\n\t\t\t\t\t\t\t\ttt.filter(\n\t\t\t\t\t\t\t\t\tgetFilterTargetValue($event),\n\t\t\t\t\t\t\t\t\tcol.field,\n\t\t\t\t\t\t\t\t\tcol.filterMatchMode\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\" />\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t</ng-template>\n\t\t<ng-template\n\t\t\tpTemplate=\"body\"\n\t\t\tlet-rowNode\n\t\t\tlet-rowData=\"rowData\"\n\t\t\tlet-columns=\"columns\">\n\t\t\t<tr [ttRow]=\"rowNode\">\n\t\t\t\t@for (col of columns; track col; let first = $first) {\n\t\t\t\t\t<td>\n\t\t\t\t\t\t@if (first) {\n\t\t\t\t\t\t\t<p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@if (first) {\n\t\t\t\t\t\t\t<p-treeTableCheckbox [value]=\"rowNode\"></p-treeTableCheckbox>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{{ rowData[col.field] }}\n\t\t\t\t\t</td>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<div class=\"flex justify-content-end\">\n\t\t\t\t<div [attr.role]=\"'none'\" (click)=\"exportSelectedRows()\">\n\t\t\t\t\t<ng-content select=\".export-btn\"></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"emptymessage\">\n\t\t\t<tr>\n\t\t\t\t<td [attr.colspan]=\"columns.length\">Data bulunamad\u0131..</td>\n\t\t\t</tr>\n\t\t</ng-template>\n\t</p-treeTable>\n}\n", styles: [":host ::ng-deep .p-icon-wrapper{display:inline-block!important}\n"] }]
28
+ }], propDecorators: { value: [{
29
+ type: Input,
30
+ args: [{ required: true }]
31
+ }], columns: [{
32
+ type: Input,
33
+ args: [{ required: true }]
34
+ }], rows: [{
35
+ type: Input
36
+ }], paginator: [{
37
+ type: Input
38
+ }], rowsPerPageOptions: [{
39
+ type: Input
40
+ }], scrollable: [{
41
+ type: Input
42
+ }], scrollHeight: [{
43
+ type: Input
44
+ }], sortMode: [{
45
+ type: Input
46
+ }], filterMode: [{
47
+ type: Input
48
+ }], loading: [{
49
+ type: Input
50
+ }], exportEvent: [{
51
+ type: Output
52
+ }] } });
53
+
54
+ /**
55
+ * Generated bundle index. Do not edit.
56
+ */
57
+
58
+ export { TreeTableComponent };
59
+ //# sourceMappingURL=aril-ui-treeTable.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aril-ui-treeTable.mjs","sources":["../../projects/aril/ui/treeTable/src/tree-table.component.ts","../../projects/aril/ui/treeTable/src/tree-table.component.html","../../projects/aril/ui/treeTable/aril-ui-treeTable.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\n\r\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { TreeNode, TreeTableNode } from 'primeng/api';\r\nimport { TreeTableModule } from 'primeng/treetable';\r\n\r\nexport type SortMode = 'single' | 'multiple';\r\nexport type FilterMode = 'lenient' | 'strict';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'aril-tree-table',\r\n templateUrl: './tree-table.component.html',\r\n styles: [`\r\n :host ::ng-deep .p-icon-wrapper {\r\n display: inline-block !important;\r\n }\r\n `\r\n ],\r\n imports: [TreeTableModule],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TreeTableComponent {\r\n @Input({ required: true }) value!: TreeNode[];\r\n @Input({ required: true }) columns!: Array<object>;\r\n @Input() rows!: number;\r\n @Input() paginator!: boolean;\r\n @Input() rowsPerPageOptions!: number[];\r\n @Input() scrollable!: boolean;\r\n @Input() scrollHeight!: string;\r\n @Input() sortMode!: SortMode;\r\n @Input() filterMode!: FilterMode;\r\n @Input() loading!: boolean;\r\n\r\n @Output() exportEvent: EventEmitter<any> = new EventEmitter();\r\n\r\n selectedNodes!: TreeTableNode<any> | TreeTableNode<any>[] | null;\r\n\r\n getFilterTargetValue(event: Event) {\r\n const inputElement = event.target as HTMLInputElement;\r\n return inputElement.value;\r\n }\r\n\r\n exportSelectedRows() {\r\n if (!this.selectedNodes) return;\r\n\r\n this.exportEvent.emit(this.selectedNodes);\r\n this.selectedNodes = null;\r\n }\r\n}\r\n","@if (value && columns) {\n\t<p-treeTable\n\t\t#tt\n\t\t[value]=\"value\"\n\t\t[columns]=\"columns\"\n\t\t[rows]=\"rows\"\n\t\t[paginator]=\"paginator\"\n\t\t[rowsPerPageOptions]=\"rowsPerPageOptions\"\n\t\t[scrollable]=\"scrollable\"\n\t\t[scrollHeight]=\"scrollHeight\"\n\t\t[sortMode]=\"sortMode\"\n\t\t[filterMode]=\"filterMode\"\n\t\t[loading]=\"loading\"\n\t\tselectionMode=\"checkbox\"\n\t\t[(selection)]=\"selectedNodes\">\n\t\t<ng-template pTemplate=\"caption\">\n\t\t\t<div class=\"flex justify-content-between align-items-center\">\n\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t<p-treeTableHeaderCheckbox></p-treeTableHeaderCheckbox>\n\t\t\t\t\t<span class=\"ml-2\">Tümünü seç</span>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"p-input-icon-left\">\n\t\t\t\t\t<i class=\"pi pi-search\"></i>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tpInputText\n\t\t\t\t\t\tplaceholder=\"Arama\"\n\t\t\t\t\t\t(input)=\"\n\t\t\t\t\t\t\ttt.filterGlobal(getFilterTargetValue($event), 'contains')\n\t\t\t\t\t\t\" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"header\" let-columns>\n\t\t\t<tr>\n\t\t\t\t@for (col of columns; track col) {\n\t\t\t\t\t<th [ttSortableColumn]=\"col.field\">\n\t\t\t\t\t\t<span>{{ col.header }}</span>\n\t\t\t\t\t\t<p-treeTableSortIcon [field]=\"col.field\"></p-treeTableSortIcon>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t@for (col of columns; track col) {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tpInputText\n\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t(input)=\"\n\t\t\t\t\t\t\t\ttt.filter(\n\t\t\t\t\t\t\t\t\tgetFilterTargetValue($event),\n\t\t\t\t\t\t\t\t\tcol.field,\n\t\t\t\t\t\t\t\t\tcol.filterMatchMode\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\" />\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t</ng-template>\n\t\t<ng-template\n\t\t\tpTemplate=\"body\"\n\t\t\tlet-rowNode\n\t\t\tlet-rowData=\"rowData\"\n\t\t\tlet-columns=\"columns\">\n\t\t\t<tr [ttRow]=\"rowNode\">\n\t\t\t\t@for (col of columns; track col; let first = $first) {\n\t\t\t\t\t<td>\n\t\t\t\t\t\t@if (first) {\n\t\t\t\t\t\t\t<p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@if (first) {\n\t\t\t\t\t\t\t<p-treeTableCheckbox [value]=\"rowNode\"></p-treeTableCheckbox>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t{{ rowData[col.field] }}\n\t\t\t\t\t</td>\n\t\t\t\t}\n\t\t\t</tr>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<div class=\"flex justify-content-end\">\n\t\t\t\t<div [attr.role]=\"'none'\" (click)=\"exportSelectedRows()\">\n\t\t\t\t\t<ng-content select=\".export-btn\"></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"emptymessage\">\n\t\t\t<tr>\n\t\t\t\t<td [attr.colspan]=\"columns.length\">Data bulunamadı..</td>\n\t\t\t</tr>\n\t\t</ng-template>\n\t</p-treeTable>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;MAsBa,kBAAkB,CAAA;AAb/B,IAAA,WAAA,GAAA;AAyBY,QAAA,IAAA,CAAA,WAAW,GAAsB,IAAI,YAAY,EAAE,CAAC;AAe/D,KAAA;AAXC,IAAA,oBAAoB,CAAC,KAAY,EAAA;AAC/B,QAAA,MAAM,YAAY,GAAG,KAAK,CAAC,MAA0B,CAAC;QACtD,OAAO,YAAY,CAAC,KAAK,CAAC;KAC3B;IAED,kBAAkB,GAAA;QAChB,IAAI,CAAC,IAAI,CAAC,aAAa;YAAE,OAAO;QAEhC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAC1C,QAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;KAC3B;8GA1BU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAA,EAAA,SAAA,EAAA,WAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,UAAA,EAAA,YAAA,EAAA,YAAA,EAAA,cAAA,EAAA,QAAA,EAA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EAAA;;2FAGd,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAb9B,SAAS;iCACI,IAAI,EAAA,QAAA,EACN,iBAAiB,EAQlB,OAAA,EAAA,CAAC,eAAe,CAAC,EAAA,eAAA,EACT,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2yFAAA,EAAA,MAAA,EAAA,CAAA,mEAAA,CAAA,EAAA,CAAA;8BAGpB,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAA;gBACE,OAAO,EAAA,CAAA;sBAAjC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAA;gBAChB,IAAI,EAAA,CAAA;sBAAZ,KAAK;gBACG,SAAS,EAAA,CAAA;sBAAjB,KAAK;gBACG,kBAAkB,EAAA,CAAA;sBAA1B,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,OAAO,EAAA,CAAA;sBAAf,KAAK;gBAEI,WAAW,EAAA,CAAA;sBAApB,MAAM;;;AElCT;;AAEG;;;;"}
@@ -3,21 +3,21 @@ import { EventEmitter, Directive, Output } from '@angular/core';
3
3
 
4
4
  class InitEventDirective {
5
5
  constructor() {
6
- this.arilUtilInit = new EventEmitter();
6
+ this.arilInit = new EventEmitter();
7
7
  }
8
8
  ngOnInit() {
9
- this.arilUtilInit.emit();
9
+ this.arilInit.emit();
10
10
  }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: InitEventDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
12
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.1", type: InitEventDirective, isStandalone: true, selector: "[arilUtilInit]", outputs: { arilUtilInit: "arilUtilInit" }, ngImport: i0 }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InitEventDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
12
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: InitEventDirective, isStandalone: true, selector: "[arilInit]", outputs: { arilInit: "arilInit" }, ngImport: i0 }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: InitEventDirective, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InitEventDirective, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
17
  standalone: true,
18
- selector: '[arilUtilInit]'
18
+ selector: '[arilInit]'
19
19
  }]
20
- }], propDecorators: { arilUtilInit: [{
20
+ }], propDecorators: { arilInit: [{
21
21
  type: Output
22
22
  }] } });
23
23
 
@@ -1 +1 @@
1
- {"version":3,"file":"aril-util-init-event.mjs","sources":["../../projects/aril/util/init-event/src/init-event.directive.ts","../../projects/aril/util/init-event/aril-util-init-event.ts"],"sourcesContent":["import { Directive, EventEmitter, Output } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: true,\r\n selector: '[arilUtilInit]'\r\n})\r\nexport class InitEventDirective {\r\n\r\n @Output() arilUtilInit: EventEmitter<never> = new EventEmitter<never>();\r\n\r\n ngOnInit() {\r\n this.arilUtilInit.emit();\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAJ/B,IAAA,WAAA,GAAA;AAMY,QAAA,IAAA,CAAA,YAAY,GAAwB,IAAI,YAAY,EAAS,CAAC;AAKzE,KAAA;IAHC,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;KAC1B;8GANU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gBAAgB;AAC3B,iBAAA,CAAA;8BAGW,YAAY,EAAA,CAAA;sBAArB,MAAM;;;ACRT;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-util-init-event.mjs","sources":["../../projects/aril/util/init-event/src/init-event.directive.ts","../../projects/aril/util/init-event/aril-util-init-event.ts"],"sourcesContent":["import { Directive, EventEmitter, OnInit, Output } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: true,\r\n selector: '[arilInit]'\r\n})\r\nexport class InitEventDirective implements OnInit {\r\n\r\n @Output() arilInit: EventEmitter<never> = new EventEmitter<never>();\r\n\r\n ngOnInit() {\r\n this.arilInit.emit();\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAJ/B,IAAA,WAAA,GAAA;AAMY,QAAA,IAAA,CAAA,QAAQ,GAAwB,IAAI,YAAY,EAAS,CAAC;AAKrE,KAAA;IAHC,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;KACtB;8GANU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,YAAY;AACvB,iBAAA,CAAA;8BAGW,QAAQ,EAAA,CAAA;sBAAjB,MAAM;;;ACRT;;AAEG;;;;"}
@@ -1,3 +1,10 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /* eslint-disable @typescript-eslint/ban-types */
3
+ /* eslint-disable @typescript-eslint/no-namespace */
4
+
5
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6
+ /* eslint-disable @typescript-eslint/no-namespace */
7
+
1
8
  /**
2
9
  * Generated bundle index. Do not edit.
3
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"aril-util-lib.mjs","sources":["../../projects/aril/util/lib/aril-util-lib.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
1
+ {"version":3,"file":"aril-util-lib.mjs","sources":["../../projects/aril/util/lib/src/types.ts","../../projects/aril/util/lib/src/interfaces.ts","../../projects/aril/util/lib/aril-util-lib.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\n/* eslint-disable @typescript-eslint/ban-types */\r\n/* eslint-disable @typescript-eslint/no-namespace */\r\n\r\nimport { FormControl, FormGroup } from \"@angular/forms\"\r\n\r\nexport namespace Types {\r\n type MarkComponentProps<Component> = {\r\n [Key in keyof Component]: Component[Key] extends Function ? never : Key;\r\n }\r\n type KeyOfComponentProps<T> = MarkComponentProps<T>[keyof T];\r\n type ComponentProps<T> = Pick<T, KeyOfComponentProps<T>>;\r\n export type NgChanges<Component, Props = ComponentProps<Component>> = {\r\n [Key in keyof Props]: {\r\n previousValue: Props[Key];\r\n currentValue: Props[Key];\r\n firstChange: boolean;\r\n isFirstChange(): boolean;\r\n }\r\n }\r\n\r\n // type IsArray<T> = T extends (infer U)[] ? U : never;\r\n\r\n export type ControlsOf<T extends Record<string, any>> = {\r\n [K in keyof T]: T[K] extends Record<any, any>\r\n ? T[K] extends any[]\r\n ? FormControl<T[K] | null>\r\n : FormGroup<ControlsOf<T[K]>>\r\n : FormControl<T[K] | null>;\r\n };\r\n\r\n type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N\r\n ? Acc[number]\r\n : Enumerate<N, [...Acc, Acc['length']]>\r\n\r\n export type NumberRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>\r\n}","/* eslint-disable @typescript-eslint/no-explicit-any */\r\n/* eslint-disable @typescript-eslint/no-namespace */\r\n\r\nexport namespace Interfaces {\r\n export interface MapStringString {\r\n [key: string]: string\r\n }\r\n export interface MapStringNumber {\r\n [key: string]: number\r\n }\r\n export interface MapStringBoolean {\r\n [key: string]: boolean\r\n }\r\n export interface MapStringObject<T> {\r\n [key: string]: T\r\n }\r\n export interface MapStringAny {\r\n [key: string]: any\r\n }\r\n export interface MapNumberString {\r\n [key: number]: string\r\n }\r\n export interface MapNumberNumber {\r\n [key: number]: number\r\n }\r\n export interface MapNumberBoolean {\r\n [key: number]: boolean\r\n }\r\n export interface MapNumberObject<T> {\r\n [key: number]: T\r\n }\r\n export interface MapNumberArray<T> {\r\n [key: number]: Array<T>\r\n }\r\n export interface MapNumberAny {\r\n [key: number]: any\r\n }\r\n export interface MapEnums {\r\n [key: number]: MapStringString\r\n }\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;AACA;;ACFA;AACA;;ACDA;;AAEG"}
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable } from '@angular/core';
3
3
 
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
4
5
  const PubSubEvents = {
5
6
  popstate: "popstate",
6
7
  navigateBetweenApps: "navigateBetweenApps",
@@ -16,10 +17,10 @@ class PubSubService {
16
17
  unSubscribe(eventName, listener) {
17
18
  removeEventListener(eventName, listener);
18
19
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PubSubService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PubSubService, providedIn: 'root' }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: PubSubService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
21
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: PubSubService, providedIn: 'root' }); }
21
22
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: PubSubService, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: PubSubService, decorators: [{
23
24
  type: Injectable,
24
25
  args: [{
25
26
  providedIn: 'root'
@@ -1 +1 @@
1
- {"version":3,"file":"aril-util-pub-sub.mjs","sources":["../../projects/aril/util/pub-sub/src/pub-sub.service.ts","../../projects/aril/util/pub-sub/aril-util-pub-sub.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\ntype CustomEvent = {\r\n name: string,\r\n data: {\r\n path: string;\r\n custom?: any;\r\n }\r\n}\r\n\r\nexport const PubSubEvents = {\r\n popstate: \"popstate\",\r\n navigateBetweenApps: \"navigateBetweenApps\",\r\n navigateInApps: \"navigateInApps\"\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PubSubService {\r\n\r\n publish(e: CustomEvent) {\r\n dispatchEvent(new CustomEvent(e.name, { detail: e.data }));\r\n }\r\n\r\n subscribe(eventName: string, listener: (data: any) => void) {\r\n addEventListener(eventName, (event: any) => { listener(event.detail) });\r\n }\r\n\r\n unSubscribe(eventName: string, listener: () => void) {\r\n removeEventListener(eventName, listener);\r\n }\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAUa,MAAA,YAAY,GAAG;AAC1B,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,mBAAmB,EAAE,qBAAqB;AAC1C,IAAA,cAAc,EAAE,gBAAgB;EACjC;MAKY,aAAa,CAAA;AAExB,IAAA,OAAO,CAAC,CAAc,EAAA;AACpB,QAAA,aAAa,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;KAC5D;IAED,SAAS,CAAC,SAAiB,EAAE,QAA6B,EAAA;AACxD,QAAA,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAAU,KAAO,EAAA,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA,EAAE,CAAC,CAAC;KACzE;IAED,WAAW,CAAC,SAAiB,EAAE,QAAoB,EAAA;AACjD,QAAA,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC1C;8GAZU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,cAFZ,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-util-pub-sub.mjs","sources":["../../projects/aril/util/pub-sub/src/pub-sub.service.ts","../../projects/aril/util/pub-sub/aril-util-pub-sub.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\n\r\nimport { Injectable } from '@angular/core';\r\n\r\ntype CustomEvent = {\r\n name: string,\r\n data: {\r\n path: string;\r\n custom?: any;\r\n }\r\n}\r\n\r\nexport const PubSubEvents = {\r\n popstate: \"popstate\",\r\n navigateBetweenApps: \"navigateBetweenApps\",\r\n navigateInApps: \"navigateInApps\"\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PubSubService {\r\n\r\n publish(e: CustomEvent) {\r\n dispatchEvent(new CustomEvent(e.name, { detail: e.data }));\r\n }\r\n\r\n subscribe(eventName: string, listener: (data: any) => void) {\r\n addEventListener(eventName, (event: any) => { listener(event.detail) });\r\n }\r\n\r\n unSubscribe(eventName: string, listener: () => void) {\r\n removeEventListener(eventName, listener);\r\n }\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;AAYa,MAAA,YAAY,GAAG;AAC1B,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,mBAAmB,EAAE,qBAAqB;AAC1C,IAAA,cAAc,EAAE,gBAAgB;EACjC;MAKY,aAAa,CAAA;AAExB,IAAA,OAAO,CAAC,CAAc,EAAA;AACpB,QAAA,aAAa,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;KAC5D;IAED,SAAS,CAAC,SAAiB,EAAE,QAA6B,EAAA;AACxD,QAAA,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAAU,KAAO,EAAA,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA,EAAE,CAAC,CAAC;KACzE;IAED,WAAW,CAAC,SAAiB,EAAE,QAAoB,EAAA;AACjD,QAAA,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC1C;8GAZU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,cAFZ,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
package/http/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export * from './lib/enums';
2
+ export * from './lib/interfaces';
1
3
  export * from './src/httpClient';
2
4
  export * from './src/serviceBase';
3
5
  export * from './src/serviceStateMethods';
@@ -1,6 +1,6 @@
1
1
  export declare enum HTTPMethods {
2
- GET = "GET",// Read
3
- POST = "POST",// Create
2
+ GET = "GET",
3
+ POST = "POST",
4
4
  DELETE = "DELETE"
5
5
  }
6
6
  export declare enum APIs {
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "aril",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.1.0",
6
- "@angular/core": "^17.1.0"
6
+ "@angular/core": "^17.1.0",
7
+ "@ngneat/transloco": "^6.0.4",
8
+ "primeflex": "^3.3.1",
9
+ "primeicons": "^6.0.1",
10
+ "primeng": "^17.4.0",
11
+ "devextreme": "^23.2.4",
12
+ "devextreme-angular": "^23.2.4"
7
13
  },
8
14
  "dependencies": {
9
15
  "tslib": "^2.3.0"
@@ -39,6 +45,12 @@
39
45
  "esm": "./esm2022/util/aril-util.mjs",
40
46
  "default": "./fesm2022/aril-util.mjs"
41
47
  },
48
+ "./ui/badge": {
49
+ "types": "./ui/badge/index.d.ts",
50
+ "esm2022": "./esm2022/ui/badge/aril-ui-badge.mjs",
51
+ "esm": "./esm2022/ui/badge/aril-ui-badge.mjs",
52
+ "default": "./fesm2022/aril-ui-badge.mjs"
53
+ },
42
54
  "./ui/button": {
43
55
  "types": "./ui/button/index.d.ts",
44
56
  "esm2022": "./esm2022/ui/button/aril-ui-button.mjs",
@@ -51,23 +63,131 @@
51
63
  "esm": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
52
64
  "default": "./fesm2022/aril-ui-calendar.mjs"
53
65
  },
66
+ "./ui/checkbox": {
67
+ "types": "./ui/checkbox/index.d.ts",
68
+ "esm2022": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
69
+ "esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
70
+ "default": "./fesm2022/aril-ui-checkbox.mjs"
71
+ },
72
+ "./ui/confirmPopup": {
73
+ "types": "./ui/confirmPopup/index.d.ts",
74
+ "esm2022": "./esm2022/ui/confirmPopup/aril-ui-confirmPopup.mjs",
75
+ "esm": "./esm2022/ui/confirmPopup/aril-ui-confirmPopup.mjs",
76
+ "default": "./fesm2022/aril-ui-confirmPopup.mjs"
77
+ },
78
+ "./ui/dialog": {
79
+ "types": "./ui/dialog/index.d.ts",
80
+ "esm2022": "./esm2022/ui/dialog/aril-ui-dialog.mjs",
81
+ "esm": "./esm2022/ui/dialog/aril-ui-dialog.mjs",
82
+ "default": "./fesm2022/aril-ui-dialog.mjs"
83
+ },
84
+ "./ui/dxField": {
85
+ "types": "./ui/dxField/index.d.ts",
86
+ "esm2022": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
87
+ "esm": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
88
+ "default": "./fesm2022/aril-ui-dxField.mjs"
89
+ },
90
+ "./ui/field": {
91
+ "types": "./ui/field/index.d.ts",
92
+ "esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
93
+ "esm": "./esm2022/ui/field/aril-ui-field.mjs",
94
+ "default": "./fesm2022/aril-ui-field.mjs"
95
+ },
96
+ "./ui/fileUpload": {
97
+ "types": "./ui/fileUpload/index.d.ts",
98
+ "esm2022": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
99
+ "esm": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
100
+ "default": "./fesm2022/aril-ui-fileUpload.mjs"
101
+ },
102
+ "./ui/form": {
103
+ "types": "./ui/form/index.d.ts",
104
+ "esm2022": "./esm2022/ui/form/aril-ui-form.mjs",
105
+ "esm": "./esm2022/ui/form/aril-ui-form.mjs",
106
+ "default": "./fesm2022/aril-ui-form.mjs"
107
+ },
54
108
  "./ui/lib": {
55
109
  "types": "./ui/lib/index.d.ts",
56
110
  "esm2022": "./esm2022/ui/lib/aril-ui-lib.mjs",
57
111
  "esm": "./esm2022/ui/lib/aril-ui-lib.mjs",
58
112
  "default": "./fesm2022/aril-ui-lib.mjs"
59
113
  },
60
- "./ui/checkbox": {
61
- "types": "./ui/checkbox/index.d.ts",
62
- "esm2022": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
63
- "esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
64
- "default": "./fesm2022/aril-ui-checkbox.mjs"
114
+ "./ui/mask": {
115
+ "types": "./ui/mask/index.d.ts",
116
+ "esm2022": "./esm2022/ui/mask/aril-ui-mask.mjs",
117
+ "esm": "./esm2022/ui/mask/aril-ui-mask.mjs",
118
+ "default": "./fesm2022/aril-ui-mask.mjs"
65
119
  },
66
- "./util/init-event": {
67
- "types": "./util/init-event/index.d.ts",
68
- "esm2022": "./esm2022/util/init-event/aril-util-init-event.mjs",
69
- "esm": "./esm2022/util/init-event/aril-util-init-event.mjs",
70
- "default": "./fesm2022/aril-util-init-event.mjs"
120
+ "./ui/number": {
121
+ "types": "./ui/number/index.d.ts",
122
+ "esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
123
+ "esm": "./esm2022/ui/number/aril-ui-number.mjs",
124
+ "default": "./fesm2022/aril-ui-number.mjs"
125
+ },
126
+ "./ui/overlayPanel": {
127
+ "types": "./ui/overlayPanel/index.d.ts",
128
+ "esm2022": "./esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs",
129
+ "esm": "./esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs",
130
+ "default": "./fesm2022/aril-ui-overlayPanel.mjs"
131
+ },
132
+ "./ui/panel": {
133
+ "types": "./ui/panel/index.d.ts",
134
+ "esm2022": "./esm2022/ui/panel/aril-ui-panel.mjs",
135
+ "esm": "./esm2022/ui/panel/aril-ui-panel.mjs",
136
+ "default": "./fesm2022/aril-ui-panel.mjs"
137
+ },
138
+ "./ui/password": {
139
+ "types": "./ui/password/index.d.ts",
140
+ "esm2022": "./esm2022/ui/password/aril-ui-password.mjs",
141
+ "esm": "./esm2022/ui/password/aril-ui-password.mjs",
142
+ "default": "./fesm2022/aril-ui-password.mjs"
143
+ },
144
+ "./ui/radioButton": {
145
+ "types": "./ui/radioButton/index.d.ts",
146
+ "esm2022": "./esm2022/ui/radioButton/aril-ui-radioButton.mjs",
147
+ "esm": "./esm2022/ui/radioButton/aril-ui-radioButton.mjs",
148
+ "default": "./fesm2022/aril-ui-radioButton.mjs"
149
+ },
150
+ "./ui/selectBox": {
151
+ "types": "./ui/selectBox/index.d.ts",
152
+ "esm2022": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
153
+ "esm": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
154
+ "default": "./fesm2022/aril-ui-selectBox.mjs"
155
+ },
156
+ "./ui/switch": {
157
+ "types": "./ui/switch/index.d.ts",
158
+ "esm2022": "./esm2022/ui/switch/aril-ui-switch.mjs",
159
+ "esm": "./esm2022/ui/switch/aril-ui-switch.mjs",
160
+ "default": "./fesm2022/aril-ui-switch.mjs"
161
+ },
162
+ "./ui/tagBox": {
163
+ "types": "./ui/tagBox/index.d.ts",
164
+ "esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
165
+ "esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
166
+ "default": "./fesm2022/aril-ui-tagBox.mjs"
167
+ },
168
+ "./ui/text": {
169
+ "types": "./ui/text/index.d.ts",
170
+ "esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
171
+ "esm": "./esm2022/ui/text/aril-ui-text.mjs",
172
+ "default": "./fesm2022/aril-ui-text.mjs"
173
+ },
174
+ "./ui/textArea": {
175
+ "types": "./ui/textArea/index.d.ts",
176
+ "esm2022": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
177
+ "esm": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
178
+ "default": "./fesm2022/aril-ui-textArea.mjs"
179
+ },
180
+ "./ui/tree": {
181
+ "types": "./ui/tree/index.d.ts",
182
+ "esm2022": "./esm2022/ui/tree/aril-ui-tree.mjs",
183
+ "esm": "./esm2022/ui/tree/aril-ui-tree.mjs",
184
+ "default": "./fesm2022/aril-ui-tree.mjs"
185
+ },
186
+ "./ui/treeTable": {
187
+ "types": "./ui/treeTable/index.d.ts",
188
+ "esm2022": "./esm2022/ui/treeTable/aril-ui-treeTable.mjs",
189
+ "esm": "./esm2022/ui/treeTable/aril-ui-treeTable.mjs",
190
+ "default": "./fesm2022/aril-ui-treeTable.mjs"
71
191
  },
72
192
  "./util/lib": {
73
193
  "types": "./util/lib/index.d.ts",
@@ -75,6 +195,12 @@
75
195
  "esm": "./esm2022/util/lib/aril-util-lib.mjs",
76
196
  "default": "./fesm2022/aril-util-lib.mjs"
77
197
  },
198
+ "./util/init-event": {
199
+ "types": "./util/init-event/index.d.ts",
200
+ "esm2022": "./esm2022/util/init-event/aril-util-init-event.mjs",
201
+ "esm": "./esm2022/util/init-event/aril-util-init-event.mjs",
202
+ "default": "./fesm2022/aril-util-init-event.mjs"
203
+ },
78
204
  "./util/primitive-extensions": {
79
205
  "types": "./util/primitive-extensions/index.d.ts",
80
206
  "esm2022": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
@@ -0,0 +1,8 @@
1
+ .tooltipErrorMessage.p-tooltip .p-tooltip-text {
2
+ background-color: crimson !important;
3
+ color: rgb(255, 255, 255) !important;
4
+ }
5
+ .formErrorMessage .p-message .p-message-wrapper {
6
+ padding: 0.7rem;
7
+ color: crimson;
8
+ }
@@ -0,0 +1 @@
1
+ export * from './src/badge.component';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class BadgeComponent {
3
+ icon: string;
4
+ value: string;
5
+ severity: string;
6
+ rounded: boolean;
7
+ style: object;
8
+ styleClass: string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "aril-badge", never, { "icon": { "alias": "icon"; "required": false; }; "value": { "alias": "value"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], true, never>;
11
+ }
@@ -1 +1,2 @@
1
1
  export * from './src/button.component';
2
+ export * from './src/split-button.component';
@@ -1,5 +1,24 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PrimeIcon } from 'aril/ui/lib';
1
3
  import * as i0 from "@angular/core";
2
- export declare class ButtonComponent {
4
+ import * as i1 from "aril/ui/lib";
5
+ export type Size = 'sm' | 'md' | 'lg';
6
+ export type Color = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger';
7
+ export declare class ButtonComponent implements OnInit {
8
+ label: string;
9
+ loading: boolean;
10
+ disabled: boolean;
11
+ raised: boolean;
12
+ outlined: boolean;
13
+ badge: string;
14
+ size: Size;
15
+ icon: PrimeIcon;
16
+ color: Color;
17
+ clickEvent: EventEmitter<MouseEvent>;
18
+ styleClass: string;
19
+ ngOnInit(): void;
3
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "aril-ui-button", never, {}, {}, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "aril-button:not([click])", never, { "label": { "alias": "label"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "raised": { "alias": "raised"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": true; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
22
+ static ngAcceptInputType_icon: i1.PrimeIcon;
23
+ static ngAcceptInputType_color: Color;
5
24
  }
@@ -0,0 +1,8 @@
1
+ import { MenuItem } from 'primeng/api';
2
+ import { ButtonComponent } from './button.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SplitButtonComponent extends ButtonComponent {
5
+ menu: MenuItem[];
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "aril-split-button", never, { "menu": { "alias": "menu"; "required": true; }; }, {}, never, never, true, never>;
8
+ }
@@ -1,5 +1,29 @@
1
+ import { OnChanges, OnInit } from '@angular/core';
2
+ import { BaseInputComponent } from 'aril/ui/lib';
3
+ import { Types } from 'aril/util/lib';
4
+ import "aril/util/primitive-extensions";
1
5
  import * as i0 from "@angular/core";
2
- export declare class CalendarComponent {
6
+ import * as i1 from "aril/ui/lib";
7
+ export declare class CalendarComponent extends BaseInputComponent implements OnInit, OnChanges {
8
+ minDate: number;
9
+ maxDate: number;
10
+ inline: boolean;
11
+ disabled: boolean;
12
+ showIcon: boolean;
13
+ showTime: boolean;
14
+ showWeek: boolean;
15
+ showSeconds: boolean;
16
+ showButtonBar: boolean;
17
+ readonlyInput: boolean;
18
+ disabledDates: number[];
19
+ view: 'date' | 'month' | 'year';
20
+ selectionMode: 'single' | 'multiple' | 'range';
21
+ minJSDate: Date;
22
+ maxJSDate: Date;
23
+ dateFormat: string;
24
+ selectedDisabledDates: Date[];
25
+ ngOnInit(): void;
26
+ ngOnChanges(changes: Types.NgChanges<CalendarComponent>): void;
3
27
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "aril-ui-calendar", never, {}, {}, never, never, true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "aril-calendar[ngModel], aril-calendar[formControl], aril-calendar[formControlName]", never, { "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "showWeek": { "alias": "showWeek"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "view": { "alias": "view"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, {}, never, ["calendar-header", "calendar-footer"], true, [{ directive: typeof i1.ValueAccessorDirective; inputs: {}; outputs: {}; }]>;
5
29
  }
@@ -1 +1 @@
1
- export * from './src/checkbox.component';
1
+ export * from './src/check-box.component';
@@ -0,0 +1,8 @@
1
+ import { BaseInputComponent } from 'aril/ui/lib';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "aril/ui/lib";
4
+ export declare class CheckboxComponent extends BaseInputComponent {
5
+ label: string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "aril-checkbox[ngModel], aril-checkbox[formControl], aril-checkbox[formControlName]", never, { "label": { "alias": "label"; "required": true; }; }, {}, never, never, true, [{ directive: typeof i1.ValueAccessorDirective; inputs: {}; outputs: {}; }]>;
8
+ }
@@ -0,0 +1 @@
1
+ export * from './src/confirm-popup.component';
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ConfirmPopupComponent {
4
+ key?: string;
5
+ autoZIndex: boolean;
6
+ baseZIndex: number;
7
+ style: object;
8
+ styleClass: string;
9
+ showTransitionOptions: string;
10
+ hideTransitionOptions: string;
11
+ showEvent: EventEmitter<void>;
12
+ hideEvent: EventEmitter<void>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmPopupComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmPopupComponent, "aril-confirm-popup", never, { "key": { "alias": "key"; "required": false; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "showTransitionOptions": { "alias": "showTransitionOptions"; "required": false; }; "hideTransitionOptions": { "alias": "hideTransitionOptions"; "required": false; }; }, { "showEvent": "showEvent"; "hideEvent": "hideEvent"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from './src/dialog.component';
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1 @@
1
+ export * from './src/dx-field.component';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DxFieldComponent {
3
+ label: string;
4
+ color: string;
5
+ labelWidth: number;
6
+ valueWidth: number;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DxFieldComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DxFieldComponent, "aril-dx-field", never, { "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "valueWidth": { "alias": "valueWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
9
+ static ngAcceptInputType_labelWidth: number;
10
+ static ngAcceptInputType_valueWidth: number;
11
+ }
@@ -0,0 +1 @@
1
+ export * from './src/field.component';