aril 2.0.1-dev.4 → 2.0.1-dev.5

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 (189) hide show
  1. package/boot/config/apps/src/interfaces.d.ts +7 -1
  2. package/boot/config/apps/src/route-close.service.d.ts +8 -3
  3. package/boot/config/apps/src/route-permissions.d.ts +2 -2
  4. package/esm2022/boot/config/api/src/interfaces.mjs +3 -2
  5. package/esm2022/boot/config/apps/src/apps.service.mjs +2 -2
  6. package/esm2022/boot/config/apps/src/custom-route-reuse-strategy.class.mjs +4 -4
  7. package/esm2022/boot/config/apps/src/interfaces.mjs +2 -1
  8. package/esm2022/boot/config/apps/src/route-close.service.mjs +11 -4
  9. package/esm2022/boot/config/apps/src/route-permissions.mjs +24 -6
  10. package/esm2022/boot/config/plugins/src/plugins.service.mjs +7 -5
  11. package/esm2022/boot/host/src/bootstrap.mjs +5 -3
  12. package/esm2022/boot/mfe/src/bootstrap.mjs +11 -3
  13. package/esm2022/http/index.mjs +1 -2
  14. package/esm2022/http/src/serviceBase.mjs +4 -4
  15. package/esm2022/http/src/serviceStateMethods.mjs +9 -1
  16. package/esm2022/keycloak/src/auth.interceptor.mjs +5 -2
  17. package/esm2022/selection/aril-selection.mjs +5 -0
  18. package/esm2022/selection/index.mjs +2 -0
  19. package/esm2022/selection/src/interfaces.mjs +2 -0
  20. package/esm2022/selection/src/selection-group.service.mjs +195 -0
  21. package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +2 -2
  22. package/esm2022/theme/layout/index.mjs +4 -2
  23. package/esm2022/ui/button/index.mjs +1 -2
  24. package/esm2022/ui/button/src/button.component.mjs +5 -2
  25. package/esm2022/ui/charts/index.mjs +1 -11
  26. package/esm2022/ui/lib/index.mjs +1 -4
  27. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +9 -5
  28. package/esm2022/ui/multiSelect/src/multi-select.component.mjs +25 -25
  29. package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +2 -2
  30. package/esm2022/ui/selectBox/src/select-box.component.mjs +11 -34
  31. package/esm2022/ui/table/src/table.component.mjs +10 -5
  32. package/esm2022/ui/value/src/value.component.mjs +3 -2
  33. package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +14 -6
  34. package/esm2022/util/activity/aril-util-activity.mjs +5 -0
  35. package/esm2022/util/activity/index.mjs +4 -0
  36. package/esm2022/util/activity/src/activity.constants.mjs +4 -0
  37. package/esm2022/util/activity/src/activity.service.mjs +218 -0
  38. package/esm2022/util/activity/src/activity.types.mjs +2 -0
  39. package/esm2022/util/block/src/block.mjs +9 -25
  40. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +10 -5
  41. package/fesm2022/{aril-app.component-s14ruALV.mjs → aril-app.component-MjG_tPEe.mjs} +2 -1
  42. package/fesm2022/{aril-app.component-s14ruALV.mjs.map → aril-app.component-MjG_tPEe.mjs.map} +1 -1
  43. package/fesm2022/aril-boot-config-api.mjs +2 -1
  44. package/fesm2022/aril-boot-config-api.mjs.map +1 -1
  45. package/fesm2022/aril-boot-config-apps.mjs +36 -12
  46. package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
  47. package/fesm2022/aril-boot-config-plugins.mjs +6 -4
  48. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
  49. package/fesm2022/aril-boot-host.mjs +4 -2
  50. package/fesm2022/aril-boot-host.mjs.map +1 -1
  51. package/fesm2022/{aril-boot-mfe-app.component-oxzMhRXe.mjs → aril-boot-mfe-app.component-DtspQ3J8.mjs} +3 -2
  52. package/fesm2022/{aril-boot-mfe-app.component-oxzMhRXe.mjs.map → aril-boot-mfe-app.component-DtspQ3J8.mjs.map} +1 -1
  53. package/fesm2022/{aril-boot-mfe-aril-boot-mfe-CKOM61xb.mjs → aril-boot-mfe-aril-boot-mfe-lovoFcgw.mjs} +12 -4
  54. package/fesm2022/aril-boot-mfe-aril-boot-mfe-lovoFcgw.mjs.map +1 -0
  55. package/fesm2022/aril-boot-mfe.mjs +2 -1
  56. package/fesm2022/aril-boot-mfe.mjs.map +1 -1
  57. package/fesm2022/aril-http.mjs +11 -7
  58. package/fesm2022/aril-http.mjs.map +1 -1
  59. package/fesm2022/aril-keycloak.mjs +4 -1
  60. package/fesm2022/aril-keycloak.mjs.map +1 -1
  61. package/fesm2022/aril-selection.mjs +202 -0
  62. package/fesm2022/aril-selection.mjs.map +1 -0
  63. package/fesm2022/aril-theme-layout.mjs +4 -193
  64. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  65. package/fesm2022/aril-ui-business-enumPicker.mjs +14 -6
  66. package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
  67. package/fesm2022/aril-ui-button.mjs +5 -17
  68. package/fesm2022/aril-ui-button.mjs.map +1 -1
  69. package/fesm2022/aril-ui-charts.mjs +4 -1302
  70. package/fesm2022/aril-ui-charts.mjs.map +1 -1
  71. package/fesm2022/aril-ui-lib.mjs +10 -98
  72. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  73. package/fesm2022/aril-ui-multiSelect.mjs +24 -24
  74. package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
  75. package/fesm2022/aril-ui-relativeDateSelector.mjs +1 -1
  76. package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
  77. package/fesm2022/aril-ui-selectBox.mjs +10 -33
  78. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  79. package/fesm2022/aril-ui-table.mjs +9 -4
  80. package/fesm2022/aril-ui-table.mjs.map +1 -1
  81. package/fesm2022/aril-ui-value.mjs +2 -1
  82. package/fesm2022/aril-ui-value.mjs.map +1 -1
  83. package/fesm2022/aril-util-activity.mjs +228 -0
  84. package/fesm2022/aril-util-activity.mjs.map +1 -0
  85. package/fesm2022/aril-util-block.mjs +9 -25
  86. package/fesm2022/aril-util-block.mjs.map +1 -1
  87. package/fesm2022/aril-util-pub-sub.mjs +9 -4
  88. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  89. package/fesm2022/aril.mjs +14 -5
  90. package/fesm2022/aril.mjs.map +1 -1
  91. package/http/index.d.ts +0 -1
  92. package/http/src/serviceStateMethods.d.ts +1 -0
  93. package/package.json +215 -239
  94. package/selection/index.d.ts +1 -0
  95. package/selection/src/interfaces.d.ts +8 -0
  96. package/{theme/layout/service → selection/src}/selection-group.service.d.ts +1 -1
  97. package/theme/layout/index.d.ts +1 -1
  98. package/theme/layout/index.ts +3 -1
  99. package/ui/button/index.d.ts +0 -1
  100. package/ui/button/src/button.component.d.ts +2 -0
  101. package/ui/charts/index.d.ts +0 -10
  102. package/ui/lib/index.d.ts +0 -3
  103. package/ui/lib/src/form/form-error-message.directive.d.ts +4 -3
  104. package/ui/multiSelect/src/multi-select.component.d.ts +4 -5
  105. package/ui/selectBox/src/select-box.component.d.ts +2 -7
  106. package/ui/table/src/table.component.d.ts +3 -2
  107. package/util/activity/index.d.ts +3 -0
  108. package/util/activity/src/activity.constants.d.ts +3 -0
  109. package/util/activity/src/activity.service.d.ts +35 -0
  110. package/util/activity/src/activity.types.d.ts +13 -0
  111. package/util/block/src/block.d.ts +4 -10
  112. package/util/pub-sub/src/pub-sub.service.d.ts +2 -2
  113. package/esm2022/http/src/serviceMockBase.mjs +0 -4
  114. package/esm2022/theme/layout/service/selection-group.service.mjs +0 -195
  115. package/esm2022/ui/button/src/split-button.component.mjs +0 -18
  116. package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +0 -124
  117. package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +0 -164
  118. package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +0 -116
  119. package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +0 -114
  120. package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +0 -100
  121. package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +0 -117
  122. package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +0 -252
  123. package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +0 -89
  124. package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +0 -82
  125. package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +0 -137
  126. package/esm2022/ui/charts/src/theme/theme.mjs +0 -54
  127. package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +0 -5
  128. package/esm2022/ui/dxEditor/index.mjs +0 -2
  129. package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +0 -26
  130. package/esm2022/ui/lib/src/form/form-field-builder.mjs +0 -23
  131. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +0 -49
  132. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +0 -25
  133. package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +0 -5
  134. package/esm2022/ui/overlayPanel/index.mjs +0 -2
  135. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +0 -20
  136. package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +0 -5
  137. package/esm2022/ui/tooltip/index.mjs +0 -2
  138. package/esm2022/ui/tooltip/src/tooltip-component.mjs +0 -23
  139. package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +0 -5
  140. package/esm2022/ui/treeTable/index.mjs +0 -2
  141. package/esm2022/ui/treeTable/src/tree-table.component.mjs +0 -55
  142. package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +0 -5
  143. package/esm2022/ui-business/operation-types-dialog/index.mjs +0 -2
  144. package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +0 -76
  145. package/esm2022/util/unwrap/aril-util-unwrap.mjs +0 -5
  146. package/esm2022/util/unwrap/index.mjs +0 -2
  147. package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +0 -24
  148. package/fesm2022/aril-boot-mfe-aril-boot-mfe-CKOM61xb.mjs.map +0 -1
  149. package/fesm2022/aril-ui-business-operation-types-dialog.mjs +0 -83
  150. package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +0 -1
  151. package/fesm2022/aril-ui-dxEditor.mjs +0 -33
  152. package/fesm2022/aril-ui-dxEditor.mjs.map +0 -1
  153. package/fesm2022/aril-ui-overlayPanel.mjs +0 -27
  154. package/fesm2022/aril-ui-overlayPanel.mjs.map +0 -1
  155. package/fesm2022/aril-ui-tooltip.mjs +0 -30
  156. package/fesm2022/aril-ui-tooltip.mjs.map +0 -1
  157. package/fesm2022/aril-ui-treeTable.mjs +0 -62
  158. package/fesm2022/aril-ui-treeTable.mjs.map +0 -1
  159. package/fesm2022/aril-util-unwrap.mjs +0 -31
  160. package/fesm2022/aril-util-unwrap.mjs.map +0 -1
  161. package/http/src/serviceMockBase.d.ts +0 -6
  162. package/theme/layout/service/selection-group.service.ts +0 -209
  163. package/ui/button/src/split-button.component.d.ts +0 -8
  164. package/ui/charts/src/amCharts/column/column-chart.component.d.ts +0 -25
  165. package/ui/charts/src/amCharts/line/line-chart.component.d.ts +0 -26
  166. package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +0 -24
  167. package/ui/charts/src/highCharts/area/area-chart.component.d.ts +0 -20
  168. package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +0 -26
  169. package/ui/charts/src/highCharts/column/column-chart.component.d.ts +0 -28
  170. package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +0 -32
  171. package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +0 -21
  172. package/ui/charts/src/highCharts/line/line-chart.component.d.ts +0 -21
  173. package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +0 -27
  174. package/ui/charts/src/theme/theme.d.ts +0 -5
  175. package/ui/dxEditor/index.d.ts +0 -1
  176. package/ui/dxEditor/src/dx-editor.component.d.ts +0 -11
  177. package/ui/lib/src/form/form-field-builder.d.ts +0 -8
  178. package/ui/lib/src/input/common-input-validators.service.d.ts +0 -20
  179. package/ui/lib/src/input/input-disabled.directive.d.ts +0 -9
  180. package/ui/overlayPanel/index.d.ts +0 -1
  181. package/ui/overlayPanel/src/overlay-panel.component.d.ts +0 -8
  182. package/ui/tooltip/index.d.ts +0 -1
  183. package/ui/tooltip/src/tooltip-component.d.ts +0 -14
  184. package/ui/treeTable/index.d.ts +0 -1
  185. package/ui/treeTable/src/tree-table.component.d.ts +0 -21
  186. package/ui-business/operation-types-dialog/index.d.ts +0 -1
  187. package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +0 -28
  188. package/util/unwrap/index.d.ts +0 -1
  189. package/util/unwrap/src/unwrap-tag.directive.d.ts +0 -9
@@ -24,7 +24,7 @@ import * as i10 from 'primeng/tooltip';
24
24
  import { TooltipModule } from 'primeng/tooltip';
25
25
  import * as i5 from '@ngneat/transloco';
26
26
  import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
27
- import { Subject, filter, Observable, switchMap, BehaviorSubject, takeUntil, of, startWith, take } from 'rxjs';
27
+ import { Subject, filter, Observable, switchMap, BehaviorSubject, takeUntil, of, startWith } from 'rxjs';
28
28
  import { bridge } from 'aril/boot/bridge';
29
29
  import { NavService, NavLinkDirective, Apps, NavLinkContextMenuService } from 'aril/boot/config/apps';
30
30
  import * as i1 from 'aril/util/pipes';
@@ -85,7 +85,7 @@ import { MenubarModule } from 'primeng/menubar';
85
85
  import * as i6$3 from 'primeng/autocomplete';
86
86
  import { AutoCompleteModule } from 'primeng/autocomplete';
87
87
  import { map, filter as filter$1, switchMap as switchMap$1, catchError } from 'rxjs/operators';
88
- import { API_CONFIGS } from 'aril/boot/config/api';
88
+ export { SelectionGroupService } from 'aril/selection';
89
89
 
90
90
  /**
91
91
  * Sabitlenmiş (pinned) tab'ları kullanıcı bazlı `localStorage` anahtarında kalıcı
@@ -1930,7 +1930,7 @@ class EditProfileModalComponent {
1930
1930
  this.levelPairs = [];
1931
1931
  }
1932
1932
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EditProfileModalComponent, deps: [{ token: i1$2.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i3$1.MessageService }, { token: ProfileService }, { token: i2.DynamicDialogConfig }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1933
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: EditProfileModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div *transloco=\"let t; read: 'profileSidebar'\">\r\n\t<aril-form [formGroup]=\"profileForm\">\r\n\t\t<aril-field [label]=\"t('userStatus')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"enabled\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUser')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"systemUser\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userType')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-select-box formControlName=\"userTypeId\" [items]=\"userTypeItems\" itemKey=\"value\" itemText=\"label\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUserApp')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-select-box formControlName=\"clientOfSystemUser\" [items]=\"clientList\" itemText=\"text\" itemKey=\"key\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('username')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"userName\" [disabled]=\"true\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userPassword')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-password formControlName=\"password\" [placeholder]=\"'&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;'\"></aril-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('firstName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"firstName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('lastName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"lastName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('email')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"email\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('phone')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-mask mask=\"(999) 999 99 99\" [placeholder]=\"t('phoneExample')\" formControlName=\"phone\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('tcNumber')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-mask mask=\"99999999999\" formControlName=\"tckn\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('responsibleRegions')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-treeSelect\r\n\t\t\t\t[options]=\"treeItems\"\r\n\t\t\t\tformControlName=\"regions\"\r\n\t\t\t\t[placeholder]=\"t('select')\"\r\n\t\t\t\t(nodeSelect)=\"nodeSelect($event)\"\r\n\t\t\t\t(nodeUnselect)=\"nodeUnselect($event)\"\r\n\t\t\t\t(cleared)=\"clear()\">\r\n\t\t\t</aril-treeSelect>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('notes')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\r\n\t\t\t<aril-text-area [rows]=\"3\" [cols]=\"40\" formControlName=\"notes\"></aril-text-area>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('photoUrl')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"photoUrl\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-3 gap-1\">\r\n\t\t\t<aril-button color=\"danger\" [label]=\"t('cancel')\" [outlined]=\"true\" icon=\"TIMES\" (clickEvent)=\"cancel()\"></aril-button>\r\n\t\t\t<aril-form-submit [label]=\"t('save')\" color=\"success\" icon=\"CHECK\" [formGroup]=\"profileForm\" (validEvent)=\"submit()\"></aril-form-submit>\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6$1.FormComponent, selector: "aril-form", inputs: ["formGroup"] }, { kind: "component", type: i6$1.FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: ["formGroup"], outputs: ["validEvent", "inValidEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TreeSelectModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "component", type: MaskComponent, selector: "aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]", inputs: ["mask", "slotChar", "placeholder", "maxlength", "usageInGrid", "tabindex"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextAreaComponent, selector: "aril-text-area[ngModel], aril-text-area[formControl], aril-text-area[formControlName]", inputs: ["rows", "cols", "isAutoResize", "tabindex", "placeholder"] }, { kind: "component", type: CheckboxComponent, selector: "aril-checkbox[ngModel], aril-checkbox[formControl], aril-checkbox[formControlName]", inputs: ["label", "labelAsYesNo", "tabindex"] }, { kind: "component", type: PasswordComponent, selector: "aril-password[ngModel], aril-password[formControl], aril-password[formControlName]", inputs: ["feedback", "passwordCriterias", "placeholder", "tabindex"] }, { kind: "component", type: SelectBoxComponent, selector: "aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]", inputs: ["itemKey", "itemText", "groupName", "parentSelectionKey", "tabindex", "items", "grouped", "showClearButton", "placeholder", "searchExpr"], outputs: ["onSelectionChanged"] }, { kind: "component", type: TreeSelectComponent, selector: "aril-treeSelect", inputs: ["options", "modelValue", "placeholder", "selectionMode", "display", "showClear", "filter", "filterPlaceholder", "propagateSelectionUp", "propagateSelectionDown", "metaKeySelection", "formControlName"], outputs: ["modelValueChange", "nodeSelect", "nodeUnselect", "cleared"] }] }); }
1933
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: EditProfileModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div *transloco=\"let t; read: 'profileSidebar'\">\r\n\t<aril-form [formGroup]=\"profileForm\">\r\n\t\t<aril-field [label]=\"t('userStatus')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"enabled\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUser')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"systemUser\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userType')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-select-box formControlName=\"userTypeId\" [items]=\"userTypeItems\" itemKey=\"value\" itemText=\"label\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUserApp')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-select-box formControlName=\"clientOfSystemUser\" [items]=\"clientList\" itemText=\"text\" itemKey=\"key\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('username')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"userName\" [disabled]=\"true\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userPassword')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-password formControlName=\"password\" [placeholder]=\"'&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;'\"></aril-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('firstName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"firstName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('lastName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"lastName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('email')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"email\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('phone')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-mask mask=\"(999) 999 99 99\" [placeholder]=\"t('phoneExample')\" formControlName=\"phone\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('tcNumber')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-mask mask=\"99999999999\" formControlName=\"tckn\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('responsibleRegions')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-treeSelect\r\n\t\t\t\t[options]=\"treeItems\"\r\n\t\t\t\tformControlName=\"regions\"\r\n\t\t\t\t[placeholder]=\"t('select')\"\r\n\t\t\t\t(nodeSelect)=\"nodeSelect($event)\"\r\n\t\t\t\t(nodeUnselect)=\"nodeUnselect($event)\"\r\n\t\t\t\t(cleared)=\"clear()\">\r\n\t\t\t</aril-treeSelect>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('notes')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\r\n\t\t\t<aril-text-area [rows]=\"3\" [cols]=\"40\" formControlName=\"notes\"></aril-text-area>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('photoUrl')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"photoUrl\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-3 gap-1\">\r\n\t\t\t<aril-button color=\"danger\" [label]=\"t('cancel')\" [outlined]=\"true\" icon=\"TIMES\" (clickEvent)=\"cancel()\"></aril-button>\r\n\t\t\t<aril-form-submit [label]=\"t('save')\" color=\"success\" icon=\"CHECK\" [formGroup]=\"profileForm\" (validEvent)=\"submit()\"></aril-form-submit>\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6$1.FormComponent, selector: "aril-form", inputs: ["formGroup"] }, { kind: "component", type: i6$1.FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: ["formGroup"], outputs: ["validEvent", "inValidEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TreeSelectModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "component", type: MaskComponent, selector: "aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]", inputs: ["mask", "slotChar", "placeholder", "maxlength", "usageInGrid", "tabindex"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextAreaComponent, selector: "aril-text-area[ngModel], aril-text-area[formControl], aril-text-area[formControlName]", inputs: ["rows", "cols", "isAutoResize", "tabindex", "placeholder"] }, { kind: "component", type: CheckboxComponent, selector: "aril-checkbox[ngModel], aril-checkbox[formControl], aril-checkbox[formControlName]", inputs: ["label", "labelAsYesNo", "tabindex"] }, { kind: "component", type: PasswordComponent, selector: "aril-password[ngModel], aril-password[formControl], aril-password[formControlName]", inputs: ["feedback", "passwordCriterias", "placeholder", "tabindex"] }, { kind: "component", type: SelectBoxComponent, selector: "aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]", inputs: ["itemKey", "itemText", "parentSelectionKey", "tabindex", "items", "grouped", "showClearButton", "placeholder", "searchExpr"], outputs: ["onSelectionChanged"] }, { kind: "component", type: TreeSelectComponent, selector: "aril-treeSelect", inputs: ["options", "modelValue", "placeholder", "selectionMode", "display", "showClear", "filter", "filterPlaceholder", "propagateSelectionUp", "propagateSelectionDown", "metaKeySelection", "formControlName"], outputs: ["modelValueChange", "nodeSelect", "nodeUnselect", "cleared"] }] }); }
1934
1934
  }
1935
1935
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EditProfileModalComponent, decorators: [{
1936
1936
  type: Component,
@@ -3570,198 +3570,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
3570
3570
  }]
3571
3571
  }], ctorParameters: () => [] });
3572
3572
 
3573
- // Key başına maksimum ardışık fetch hatası: limit aşılınca o key oturum boyu yeniden denenmez.
3574
- // Sınırsız retry'da kalıcı hata veren bir grup (örn. silinmiş grup → 404), diğer grupların her
3575
- // başarılı yüklemesinde (map güncellemesi tüm enum computed'larını yeniden çalıştırır) yeniden
3576
- // POST edilirdi → istek/console fırtınası.
3577
- const MAX_FETCH_FAILURES = 3;
3578
- class SelectionGroupService {
3579
- constructor(http) {
3580
- this.http = http;
3581
- // State cross-MFE paylaşımlı: bridge globalThis-singleton'ında yaşar (bkz. mfe-bridge.ts).
3582
- // Servis instance'ı MFE/tab başına çoğalsa da tüm okuma/yazma tek bridge state'ine gider.
3583
- this.selectionGroups = bridge.selectionGroups;
3584
- this.loading = bridge.selectionLoading;
3585
- this.loaded = bridge.selectionLoaded;
3586
- this.failures = bridge.selectionFailures;
3587
- // loadStates + invalidate yalnızca ilk instance'ta (cross-MFE bir kez): tek localStorage
3588
- // yüklemesi, tek `/versions` çağrısı. effect her instance'ta kurulur ama hepsi aynı paylaşılan
3589
- // state'i yazdığından ezme olmaz.
3590
- if (!bridge.selectionInitialized) {
3591
- bridge.selectionInitialized = true;
3592
- this.loadStatesFromLocalStorage();
3593
- this.invalidateStaleGroups();
3594
- }
3595
- }
3596
- // localStorage'a slim cache yazar. `effect` YERİNE bilinçli olarak doğrudan çağrılır: signal'i
3597
- // değiştiren her yer (fetchEnum, invalidateStaleGroups) persist'i açıkça tetikler. NOT: webpack MF
3598
- // config'iyle `@angular/core` artık singleton shared olduğundan effect-tabanlı persist de çalışırdı;
3599
- // yine de açık/öngörülebilir olması (effect içinde gizli signal-write + NG0600 riski olmaması) için
3600
- // doğrudan çağrı tercih edildi.
3601
- persistToLocalStorage() {
3602
- try {
3603
- const slim = this.slimForStorage(this.selectionGroups());
3604
- localStorage.setItem('selection-groups', btoa(encodeURI(JSON.stringify(slim))));
3605
- }
3606
- catch {
3607
- // QuotaExceededError vb. → eski cache'i koru, yeni yazımı sessizce atla.
3608
- }
3609
- }
3610
- loadStatesFromLocalStorage() {
3611
- const selectionGroups = localStorage.getItem('selection-groups');
3612
- if (selectionGroups) {
3613
- try {
3614
- const decodedData = decodeURI(atob(selectionGroups));
3615
- // Dynamic gruplar zaten persist edilmiyor (slimForStorage onları atlar) → ekstra
3616
- // filtre gerekmez; localStorage içeriği yalnızca Fixed gruplardır.
3617
- const restored = JSON.parse(decodedData);
3618
- this.selectionGroups.set(restored);
3619
- // Restore edilen gruplar loaded sayılır: aksi halde koşulsuz fetchEnum çağıran
3620
- // consumer'lar guard'ı geçip her oturum yeniden çeker (cache faydası kaybolur).
3621
- // Stale'lik kontrolü invalidateStaleGroups'un işi. null entry'ler (legacy) loaded
3622
- // işaretlenmez — işaretlenirse o grup bir daha hiç yüklenemezdi.
3623
- Object.entries(restored).forEach(([key, group]) => {
3624
- if (group)
3625
- this.loaded.set(key, true);
3626
- });
3627
- }
3628
- catch (e) {
3629
- console.error(e);
3630
- }
3631
- }
3632
- }
3633
- // Dynamic grupları atlar + Fixed grupları yalnızca render (value/table/picker/export) ve invalidate
3634
- // için gerekli alanlara indirger. localStorage'da audit/id/açıklama gibi kullanılmayan alanları tutmaz.
3635
- slimForStorage(groups) {
3636
- const out = {};
3637
- for (const [key, group] of Object.entries(groups)) {
3638
- if (!group || group.loadStrategy === 'Dynamic')
3639
- continue;
3640
- out[key] = {
3641
- version: group.version,
3642
- selectionItems: (group.selectionItems ?? []).map((it) => ({
3643
- selectionKey: it.selectionKey,
3644
- selectionDisplay: it.selectionDisplay,
3645
- selectionMultiLanguageDisplays: it.selectionMultiLanguageDisplays,
3646
- showOrder: it.showOrder,
3647
- parentSelectionKey: it.parentSelectionKey
3648
- }))
3649
- };
3650
- }
3651
- return out;
3652
- }
3653
- // App init'te enum version'larını çekip localStorage'daki stale grupları temizler.
3654
- // Silinen grup, tüketici component'lerin `if (!selectionGroup) fetchEnum()` guard'ıyla yeniden yüklenir.
3655
- invalidateStaleGroups() {
3656
- // App-init snapshot: yalnızca localStorage'dan yüklenen gruplar kontrol edilir. Yanıt gelene
3657
- // kadar consumer'ların fetchEnum ile yüklediği taze gruplar taranmaz/silinmez (aksi halde
3658
- // taze grup silinir ve kalıcı per-component fetch guard'ları onu bir daha çekmeyebilir).
3659
- const keysToCheck = Object.keys(this.selectionGroups());
3660
- if (keysToCheck.length === 0)
3661
- return;
3662
- const hostApi = API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
3663
- this.http
3664
- .get(hostApi + '/selection-group/versions')
3665
- .pipe(take(1))
3666
- .subscribe({
3667
- next: (versions) => {
3668
- // Boş/bozuk yanıt güvenlik şeridi: aşağıdaki "listede olmayanı sil" kuralı
3669
- // boş listeyle tüm cache'i yanlışlıkla boşaltmasın.
3670
- if (!versions?.length)
3671
- return;
3672
- const latest = new Map(versions.map((v) => [v.groupName, v.version]));
3673
- let changed = false;
3674
- const next = { ...this.selectionGroups() };
3675
- keysToCheck.forEach((key) => {
3676
- const group = next[key];
3677
- if (!group)
3678
- return;
3679
- const separatorIndex = key.indexOf('~');
3680
- if (separatorIndex === -1)
3681
- return;
3682
- const serverVersion = latest.get(key.substring(0, separatorIndex));
3683
- // serverVersion == null: grup /versions listesinde yok → sunucudan silinmiş /
3684
- // yeniden adlandırılmış demektir (endpoint Fixed grupların tam listesini döner)
3685
- // → o da evict edilir; kalırsa kaldırılmış enum değerleri süresiz render edilir.
3686
- if (serverVersion == null || serverVersion !== group.version) {
3687
- delete next[key];
3688
- this.loaded.delete(key);
3689
- this.failures.delete(key);
3690
- // Uçuştaki fetch'in flag'i korunur: silinirse ikinci bir consumer guard'ı
3691
- // geçip duplicate /load atar ve export-overlay'in isLoading poll'ü grubu
3692
- // beklemeden erken geçer. Yanıt geldiğinde flag'i fetchEnum kendisi yönetir.
3693
- if (!this.loading.get(key)) {
3694
- this.loading.delete(key);
3695
- }
3696
- changed = true;
3697
- }
3698
- });
3699
- if (changed) {
3700
- this.selectionGroups.set(next);
3701
- this.persistToLocalStorage();
3702
- }
3703
- },
3704
- error: () => {
3705
- // versions endpoint yok/erişilemez: sessizce mevcut cache ile devam.
3706
- }
3707
- });
3708
- }
3709
- fetchEnum(groupName, parentSelectionKey = 'ALL') {
3710
- const key = groupName + '~' + parentSelectionKey;
3711
- if (this.loaded.get(key) || this.loading.get(key))
3712
- return;
3713
- if ((this.failures.get(key) ?? 0) >= MAX_FETCH_FAILURES)
3714
- return;
3715
- const payload = {
3716
- groupName,
3717
- parentSelectionKey
3718
- };
3719
- this.loading.set(key, true);
3720
- this.loaded.set(key, false);
3721
- const hostApi = API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
3722
- this.http
3723
- .post(hostApi + '/selection-group/load', payload)
3724
- .pipe(take(1))
3725
- .subscribe({
3726
- next: (selectionGroup) => {
3727
- this.loading.set(key, false);
3728
- this.loaded.set(key, true);
3729
- this.failures.delete(key);
3730
- this.selectionGroups.update((groups) => ({
3731
- ...groups,
3732
- [key]: selectionGroup
3733
- }));
3734
- this.persistToLocalStorage();
3735
- },
3736
- // HTTP hatasında loading'i sıfırla: aksi halde guard (loaded/loading) bu enum'u
3737
- // kilitler. loading/loaded bridge'de cross-MFE SHARED olduğundan, tek bir anlık hata
3738
- // bu enum'u TÜM remote'larda hard-reload'a kadar bir daha çekilemez yapardı. loading=false
3739
- // → sonraki fetchEnum (component init/retry) yeniden deneyebilir. loaded zaten false kalır.
3740
- // Deneme sayısı MAX_FETCH_FAILURES ile sınırlı: kalıcı hatada sonsuz retry önlenir.
3741
- error: () => {
3742
- this.loading.set(key, false);
3743
- this.failures.set(key, (this.failures.get(key) ?? 0) + 1);
3744
- }
3745
- });
3746
- }
3747
- // key formatı: `groupName~parentSelectionKey` (fetchEnum'daki composite key ile aynı).
3748
- // Direkt olarak groupName geçilirse Map'te eşleşme olmaz ve her zaman false döner.
3749
- isLoading(key) {
3750
- return this.loading.get(key) ?? false;
3751
- }
3752
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectionGroupService, deps: [{ token: i6.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
3753
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectionGroupService, providedIn: 'root' }); }
3754
- }
3755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectionGroupService, decorators: [{
3756
- type: Injectable,
3757
- args: [{
3758
- providedIn: 'root'
3759
- }]
3760
- }], ctorParameters: () => [{ type: i6.HttpClient }] });
3761
-
3762
3573
  /**
3763
3574
  * Generated bundle index. Do not edit.
3764
3575
  */
3765
3576
 
3766
- export { ActivityTypesEnum, AppLayoutComponent, AppMenuService, BreadcrumbService, DetailNotificationTypeEnum, Environment, FavoritePagesService, LanguageCode, LayoutService, MFELayoutComponent, SelectionGroupService, favoritePageEndpoints };
3577
+ export { ActivityTypesEnum, AppLayoutComponent, AppMenuService, BreadcrumbService, DetailNotificationTypeEnum, Environment, FavoritePagesService, LanguageCode, LayoutService, MFELayoutComponent, favoritePageEndpoints };
3767
3578
  //# sourceMappingURL=aril-theme-layout.mjs.map