aril 0.0.24 → 0.0.26

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 (172) hide show
  1. package/boot/host/src/bootstrap.d.ts +2 -1
  2. package/boot/mfe/src/bootstrap.d.ts +2 -1
  3. package/esm2022/boot/host/index.mjs +1 -1
  4. package/esm2022/boot/host/src/app.component.mjs +1 -1
  5. package/esm2022/boot/host/src/bootstrap.mjs +14 -6
  6. package/esm2022/boot/host/src/services/custom-manifest.mjs +1 -1
  7. package/esm2022/boot/host/src/services/microFrontEnd.service.mjs +1 -1
  8. package/esm2022/boot/host/src/services/plugin-init.token.mjs +1 -1
  9. package/esm2022/boot/host/src/services/showdowDOMWrapper.mjs +1 -1
  10. package/esm2022/boot/index.mjs +1 -1
  11. package/esm2022/boot/mfe/index.mjs +1 -1
  12. package/esm2022/boot/mfe/src/app.component.mjs +13 -13
  13. package/esm2022/boot/mfe/src/bootstrap.mjs +13 -5
  14. package/esm2022/http/lib/enums.mjs +2 -1
  15. package/esm2022/http/lib/interfaces.mjs +1 -2
  16. package/esm2022/http/src/httpClient.mjs +1 -1
  17. package/esm2022/http/src/serviceBase.mjs +8 -5
  18. package/esm2022/http/src/serviceStateMethods.mjs +1 -2
  19. package/esm2022/i18n/src/file-url-token.mjs +1 -1
  20. package/esm2022/i18n/src/i18n.module.mjs +1 -1
  21. package/esm2022/i18n/src/loader.mjs +2 -2
  22. package/esm2022/i18n/src/provideI18n.mjs +1 -1
  23. package/esm2022/i18n/src/provideScope.mjs +1 -1
  24. package/esm2022/keycloak/aril-keycloak.mjs +5 -0
  25. package/esm2022/keycloak/index.mjs +3 -0
  26. package/esm2022/keycloak/src/auth.interceptor.mjs +13 -0
  27. package/esm2022/keycloak/src/keycloak.manager.mjs +59 -0
  28. package/esm2022/public-api.mjs +1 -1
  29. package/esm2022/theme/index.mjs +1 -1
  30. package/esm2022/theme/layout/app/config/app.config.component.mjs +4 -4
  31. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +5 -5
  32. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +21 -21
  33. package/esm2022/theme/layout/app/menu/app.menu.component.mjs +4 -4
  34. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +2 -2
  35. package/esm2022/theme/layout/app/sidebar/app.sidebar.component.mjs +2 -2
  36. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +12 -9
  37. package/esm2022/theme/layout/service/app.layout.service.mjs +1 -1
  38. package/esm2022/theme/layout/service/app.menu.service.mjs +1 -1
  39. package/esm2022/ui/button/src/button.component.mjs +2 -2
  40. package/esm2022/ui/calendar/src/calendar.component.mjs +4 -4
  41. package/esm2022/ui/field/src/field.component.mjs +5 -5
  42. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +3 -3
  43. package/esm2022/ui/form/index.mjs +2 -2
  44. package/esm2022/ui/form/src/form-submit-button.component.mjs +2 -2
  45. package/esm2022/ui/form/src/form.component.mjs +1 -1
  46. package/esm2022/ui/index.mjs +1 -1
  47. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +1 -1
  48. package/esm2022/ui/lib/src/form/form-field-builder.mjs +1 -1
  49. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +1 -1
  50. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +1 -1
  51. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +1 -1
  52. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +1 -1
  53. package/esm2022/ui/mask/src/mask.component.mjs +2 -2
  54. package/esm2022/ui/number/src/number.component.mjs +2 -2
  55. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +2 -2
  56. package/esm2022/ui/password/src/password.component.mjs +2 -2
  57. package/esm2022/ui/radioButton/src/radio-button.component.mjs +1 -1
  58. package/esm2022/ui/selectBox/src/select-box.component.mjs +4 -4
  59. package/esm2022/ui/switch/src/switch.component.mjs +2 -2
  60. package/esm2022/ui/table/index.mjs +3 -3
  61. package/esm2022/ui/table/src/table-column.component.mjs +1 -1
  62. package/esm2022/ui/table/src/table.component.mjs +2 -2
  63. package/esm2022/ui/tagBox/src/tag-box.component.mjs +1 -1
  64. package/esm2022/ui/text/src/text.component.mjs +2 -2
  65. package/esm2022/ui/textArea/src/text-area.component.mjs +3 -3
  66. package/esm2022/ui/tree/src/tree.component.mjs +5 -5
  67. package/esm2022/ui/treeTable/src/tree-table.component.mjs +4 -4
  68. package/esm2022/util/custom_pages/index.mjs +1 -1
  69. package/esm2022/util/custom_pages/src/notFound.component.mjs +109 -109
  70. package/esm2022/util/index.mjs +1 -1
  71. package/esm2022/util/lib/src/module-router.mjs +1 -1
  72. package/esm2022/util/lib/src/types.mjs +1 -4
  73. package/esm2022/util/loaders/index.mjs +1 -1
  74. package/esm2022/util/loaders/script/script.loader.service.mjs +1 -1
  75. package/esm2022/util/loaders/style/style.loader.service.mjs +1 -1
  76. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +1 -1
  77. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +1 -1
  78. package/fesm2022/{aril-app.component-tFlRp3qI.mjs → aril-app.component-sZDpvJDM.mjs} +16 -14
  79. package/fesm2022/aril-app.component-sZDpvJDM.mjs.map +1 -0
  80. package/fesm2022/{aril-aril--3c18nTH.mjs → aril-aril-D__IXMsf.mjs} +24 -10
  81. package/fesm2022/aril-aril-D__IXMsf.mjs.map +1 -0
  82. package/fesm2022/aril-boot-host.mjs +13 -5
  83. package/fesm2022/aril-boot-host.mjs.map +1 -1
  84. package/fesm2022/{aril-boot-mfe-app.component-wYzFs1Za.mjs → aril-boot-mfe-app.component-zro0FnKY.mjs} +15 -13
  85. package/fesm2022/aril-boot-mfe-app.component-zro0FnKY.mjs.map +1 -0
  86. package/fesm2022/aril-boot-mfe.mjs +13 -5
  87. package/fesm2022/aril-boot-mfe.mjs.map +1 -1
  88. package/fesm2022/aril-boot.mjs.map +1 -1
  89. package/fesm2022/aril-http.mjs +6 -4
  90. package/fesm2022/aril-http.mjs.map +1 -1
  91. package/fesm2022/aril-i18n.mjs +1 -1
  92. package/fesm2022/aril-i18n.mjs.map +1 -1
  93. package/fesm2022/aril-keycloak.mjs +77 -0
  94. package/fesm2022/aril-keycloak.mjs.map +1 -0
  95. package/fesm2022/aril-theme-layout.mjs +266 -264
  96. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  97. package/fesm2022/aril-theme.mjs.map +1 -1
  98. package/fesm2022/aril-ui-button.mjs.map +1 -1
  99. package/fesm2022/aril-ui-calendar.mjs +3 -3
  100. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  101. package/fesm2022/aril-ui-field.mjs +3 -3
  102. package/fesm2022/aril-ui-field.mjs.map +1 -1
  103. package/fesm2022/aril-ui-fileUpload.mjs +2 -2
  104. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  105. package/fesm2022/aril-ui-form.mjs +28 -28
  106. package/fesm2022/aril-ui-form.mjs.map +1 -1
  107. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  108. package/fesm2022/aril-ui-mask.mjs +1 -1
  109. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  110. package/fesm2022/aril-ui-number.mjs +2 -2
  111. package/fesm2022/aril-ui-number.mjs.map +1 -1
  112. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  113. package/fesm2022/aril-ui-password.mjs +2 -2
  114. package/fesm2022/aril-ui-password.mjs.map +1 -1
  115. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  116. package/fesm2022/aril-ui-selectBox.mjs +2 -2
  117. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  118. package/fesm2022/aril-ui-switch.mjs +2 -2
  119. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  120. package/fesm2022/aril-ui-table.mjs +23 -23
  121. package/fesm2022/aril-ui-table.mjs.map +1 -1
  122. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  123. package/fesm2022/aril-ui-text.mjs +1 -1
  124. package/fesm2022/aril-ui-text.mjs.map +1 -1
  125. package/fesm2022/aril-ui-textArea.mjs +2 -2
  126. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  127. package/fesm2022/aril-ui-tree.mjs +4 -4
  128. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  129. package/fesm2022/aril-ui-treeTable.mjs +2 -2
  130. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  131. package/fesm2022/aril-ui.mjs.map +1 -1
  132. package/fesm2022/aril-util-custom_pages.mjs +108 -108
  133. package/fesm2022/aril-util-custom_pages.mjs.map +1 -1
  134. package/fesm2022/aril-util-lib.mjs +0 -3
  135. package/fesm2022/aril-util-lib.mjs.map +1 -1
  136. package/fesm2022/aril-util-loaders.mjs.map +1 -1
  137. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  138. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  139. package/fesm2022/aril-util.mjs.map +1 -1
  140. package/fesm2022/aril.mjs +3 -1
  141. package/fesm2022/aril.mjs.map +1 -1
  142. package/http/lib/enums.d.ts +1 -0
  143. package/keycloak/index.d.ts +2 -0
  144. package/keycloak/src/auth.interceptor.d.ts +2 -0
  145. package/keycloak/src/keycloak.manager.d.ts +24 -0
  146. package/package.json +10 -2
  147. package/styles/ui/ui.common.scss +24 -24
  148. package/theme/index.ts +1 -1
  149. package/theme/layout/app/config/app.config.component.d.ts +1 -1
  150. package/theme/layout/app/config/app.config.component.ts +4 -4
  151. package/theme/layout/app/layout/app.layout.component.d.ts +1 -1
  152. package/theme/layout/app/layout/app.layout.component.ts +6 -6
  153. package/theme/layout/app/layout/mfe.layout.component.ts +49 -49
  154. package/theme/layout/app/menu/app.menu.component.d.ts +2 -2
  155. package/theme/layout/app/menu/app.menu.component.ts +2 -2
  156. package/theme/layout/app/menu/app.sub.menu.component.html +13 -13
  157. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +1 -1
  158. package/theme/layout/app/sidebar/app.sidebar.component.ts +1 -1
  159. package/theme/layout/app/topbar/app.topbar.component.d.ts +3 -2
  160. package/theme/layout/app/topbar/app.topbar.component.html +45 -37
  161. package/theme/layout/app/topbar/app.topbar.component.ts +32 -28
  162. package/theme/layout/service/app.layout.service.ts +178 -178
  163. package/theme/layout/service/app.menu.service.ts +59 -57
  164. package/theme/ng-package.json +6 -6
  165. package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
  166. package/theme/styles/theme/dark/_variables.scss +918 -918
  167. package/theme/styles/theme/light/_variables.scss +911 -911
  168. package/ui/selectBox/src/select-box.component.d.ts +1 -1
  169. package/ui/table/src/table.component.d.ts +1 -1
  170. package/fesm2022/aril-app.component-tFlRp3qI.mjs.map +0 -1
  171. package/fesm2022/aril-aril--3c18nTH.mjs.map +0 -1
  172. package/fesm2022/aril-boot-mfe-app.component-wYzFs1Za.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-calendar.mjs","sources":["../../projects/aril/ui/calendar/src/calendar.component.ts","../../projects/aril/ui/calendar/src/calendar.component.html","../../projects/aril/ui/calendar/aril-ui-calendar.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\n\r\n/* TODO\r\n 1. Adjust different color or background for weekends\r\n*/\r\n\r\nimport { OnInit, runInInjectionContext } from '@angular/core';\r\nimport { AfterViewInit, Component, Injector, computed, inject, input } from '@angular/core';\r\nimport { NgClass } from '@angular/common';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\n\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\nimport 'aril/util/primitive-extensions';\r\n\r\ntype View = 'date' | 'month' | 'year';\r\ntype SelectionMode = 'single' | 'multiple' | 'range';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-calendar[ngModel], aril-calendar[formControl], aril-calendar[formControlName]',\r\n\ttemplateUrl: './calendar.component.html',\r\n\timports: [ReactiveFormsModule, FormsModule, NgClass, CalendarModule, TooltipModule, InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective],\r\n\tstyles: '.invalidCalendar { border:1px solid #e24c4c;border-radius: 6px; }'\r\n})\r\nexport class CalendarComponent extends BaseInputComponent implements OnInit, AfterViewInit {\r\n\tconstructor(private primeNgConfig: PrimeNGConfig) {\r\n\t\tsuper();\r\n\t\tthis.setLocale();\r\n\t}\r\n\r\n\tprivate readonly injector = inject(Injector);\r\n\r\n\tngOnInit(): void {\r\n\t\tif (Number(this.ngControl?.control?.value)) this.model = this.ngControl?.control?.value?.longToDate();\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\trunInInjectionContext(this.injector, () => {\r\n\t\t\tthis.ngControl?.control?.valueChanges?.pipe(takeUntilDestroyed()).subscribe((value: number) => {\r\n\t\t\t\tif (Number(value)) this.model = value?.longToDate();\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tsetFormCtrl(value: Date) {\r\n\t\tthis.ngControl?.control?.setValue(value?.dateToLong());\r\n\t}\r\n\r\n\tmodel!: Date | undefined;\r\n\r\n\tminDate = input<number>();\r\n\tmaxDate = input<number>();\r\n\tinline = input<boolean>(false);\r\n\tshowIcon = input<boolean>(false);\r\n\tshowTime = input<boolean>(false);\r\n\tshowWeek = input<boolean>(false);\r\n\tshowSeconds = input<boolean>(false);\r\n\tdisabledDates = input<number[]>([]);\r\n\tview = input<View>('date');\r\n\tselectionMode = input<SelectionMode>('single');\r\n\ttabindex = input<number>();\r\n\r\n\t_minJSDate = computed(() => {\r\n\t\treturn this.minDate()?.longToDate() as Date;\r\n\t});\r\n\r\n\t_maxJSDate = computed(() => {\r\n\t\treturn this.maxDate()?.longToDate() as Date;\r\n\t});\r\n\r\n\t_selectedDisabledDates = computed(() => {\r\n\t\treturn this.disabledDates()?.map((value: number) => value.longToDate() as Date);\r\n\t});\r\n\r\n\t_dateFormat = computed(() => {\r\n\t\tswitch (this.view()) {\r\n\t\t\tcase 'month':\r\n\t\t\t\treturn 'MM/yy';\r\n\t\t\tcase 'year':\r\n\t\t\t\treturn 'yy';\r\n\t\t\tdefault:\r\n\t\t\t\treturn 'dd/MM/yy';\r\n\t\t}\r\n\t});\r\n\r\n\t// isWeekend(date: any): boolean {\r\n\t// if (!date) {\r\n\t// return false;\r\n\t// }\r\n\r\n\t// if (this.view == 'date') {\r\n\t// const dayOfWeek = date.getDay();\r\n\t// return dayOfWeek === 5 || dayOfWeek === 6;\r\n\t// }\r\n\t// }\r\n\r\n\tsetLocale() {\r\n\t\tthis.primeNgConfig.setTranslation({\r\n\t\t\tfirstDayOfWeek: 0,\r\n\t\t\tdayNames: ['Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi', 'Pazar'],\r\n\t\t\tdayNamesMin: ['Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt', 'Pzr'],\r\n\t\t\tdayNamesShort: ['Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt', 'Pzr'],\r\n\t\t\tmonthNames: [\r\n\t\t\t\t'Ocak',\r\n\t\t\t\t'Şubat',\r\n\t\t\t\t'Mart',\r\n\t\t\t\t'Nisan',\r\n\t\t\t\t'Mayıs',\r\n\t\t\t\t'Haziran',\r\n\t\t\t\t'Temmuz',\r\n\t\t\t\t'Ağustos',\r\n\t\t\t\t'Eylül',\r\n\t\t\t\t'Ekim',\r\n\t\t\t\t'Kasım',\r\n\t\t\t\t'Aralık'\r\n\t\t\t],\r\n\t\t\tmonthNamesShort: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],\r\n\t\t\ttoday: 'Bugün',\r\n\t\t\tclear: 'Temizle',\r\n\t\t\tdateFormat: 'dd/mm/yy',\r\n\t\t\tweekHeader: 'Hafta'\r\n\t\t});\r\n\t}\r\n}\r\n","<div [ngClass]=\"{ invalidCalendar: ngControl.dirty && ngControl.invalid }\">\r\n\t<p-calendar\r\n\t\t[showIcon]=\"true\"\r\n\t\t[dateFormat]=\"_dateFormat()\"\r\n\t\t[showButtonBar]=\"true\"\r\n\t\t[minDate]=\"_minJSDate()\"\r\n\t\t[maxDate]=\"_maxJSDate()\"\r\n\t\t[tabindex]=\"tabindex()\"\r\n\t\t[disabledDates]=\"_selectedDisabledDates()\"\r\n\t\t[selectionMode]=\"selectionMode()\"\r\n\t\t[disabled]=\"ngControl.control.disabled\"\r\n\t\t[readonlyInput]=\"true\"\r\n\t\t[showTime]=\"showTime()\"\r\n\t\t[showSeconds]=\"showSeconds()\"\r\n\t\t[inline]=\"inline()\"\r\n\t\t[showWeek]=\"showWeek()\"\r\n\t\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\r\n\t\t[tooltipOptions]=\"tooltipOptions\"\r\n\t\t[(ngModel)]=\"model\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event); setFormCtrl($event)\">\r\n\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t<ng-content select=\"[header]\"></ng-content>\r\n\t\t</ng-template>\r\n\t\t<ng-template pTemplate=\"footer\">\r\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t\t</ng-template>\r\n\t</p-calendar>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;AAEA;;AAEE;AA2BI,MAAO,iBAAkB,SAAQ,kBAAkB,CAAA;AACxD,IAAA,WAAA,CAAoB,aAA4B,EAAA;AAC/C,QAAA,KAAK,EAAE,CAAC;QADW,IAAa,CAAA,aAAA,GAAb,aAAa,CAAe;AAK/B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC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AAA;;2FAI7F,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAR7B,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,YACN,oFAAoF,EAAA,OAAA,EAErF,CAAC,mBAAmB,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,qBAAqB,CAAC,EAC1F,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,gnCAAA,EAAA,MAAA,EAAA,CAAA,gEAAA,CAAA,EAAA,CAAA;;;AE5BzC;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-calendar.mjs","sources":["../../projects/aril/ui/calendar/src/calendar.component.ts","../../projects/aril/ui/calendar/src/calendar.component.html","../../projects/aril/ui/calendar/aril-ui-calendar.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/* TODO\n 1. Adjust different color or background for weekends\n*/\nimport { NgClass } from '@angular/common';\nimport { OnInit, runInInjectionContext } from '@angular/core';\nimport { AfterViewInit, Component, Injector, computed, inject, input } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\n\nimport { PrimeNGConfig } from 'primeng/api';\nimport { CalendarModule } from 'primeng/calendar';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\nimport 'aril/util/primitive-extensions';\n\ntype View = 'date' | 'month' | 'year';\ntype SelectionMode = 'single' | 'multiple' | 'range';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-calendar[ngModel], aril-calendar[formControl], aril-calendar[formControlName]',\n\ttemplateUrl: './calendar.component.html',\n\timports: [ReactiveFormsModule, FormsModule, NgClass, CalendarModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective],\n\tstyles: '.invalidCalendar { border:1px solid #e24c4c;border-radius: 6px; }'\n})\nexport class CalendarComponent extends BaseInputComponent implements OnInit, AfterViewInit {\n\tconstructor(private primeNgConfig: PrimeNGConfig) {\n\t\tsuper();\n\t\tthis.setLocale();\n\t}\n\n\tprivate readonly injector = inject(Injector);\n\n\tngOnInit(): void {\n\t\tif (Number(this.ngControl?.control?.value)) this.model = this.ngControl?.control?.value?.longToDate();\n\t}\n\n\tngAfterViewInit(): void {\n\t\trunInInjectionContext(this.injector, () => {\n\t\t\tthis.ngControl?.control?.valueChanges?.pipe(takeUntilDestroyed()).subscribe((value: number) => {\n\t\t\t\tif (Number(value)) this.model = value?.longToDate();\n\t\t\t});\n\t\t});\n\t}\n\n\tsetFormCtrl(value: Date) {\n\t\tthis.ngControl?.control?.setValue(value?.dateToLong());\n\t}\n\n\tmodel!: Date | undefined;\n\n\tminDate = input<number>();\n\tmaxDate = input<number>();\n\tinline = input<boolean>(false);\n\tshowIcon = input<boolean>(false);\n\tshowTime = input<boolean>(false);\n\tshowWeek = input<boolean>(false);\n\tshowSeconds = input<boolean>(false);\n\tdisabledDates = input<number[]>([]);\n\tview = input<View>('date');\n\tselectionMode = input<SelectionMode>('single');\n\ttabindex = input<number>();\n\n\t_minJSDate = computed(() => {\n\t\treturn this.minDate()?.longToDate() as Date;\n\t});\n\n\t_maxJSDate = computed(() => {\n\t\treturn this.maxDate()?.longToDate() as Date;\n\t});\n\n\t_selectedDisabledDates = computed(() => {\n\t\treturn this.disabledDates()?.map((value: number) => value.longToDate() as Date);\n\t});\n\n\t_dateFormat = computed(() => {\n\t\tswitch (this.view()) {\n\t\t\tcase 'month':\n\t\t\t\treturn 'MM/yy';\n\t\t\tcase 'year':\n\t\t\t\treturn 'yy';\n\t\t\tdefault:\n\t\t\t\treturn 'dd/MM/yy';\n\t\t}\n\t});\n\n\t// isWeekend(date: any): boolean {\n\t// if (!date) {\n\t// return false;\n\t// }\n\n\t// if (this.view == 'date') {\n\t// const dayOfWeek = date.getDay();\n\t// return dayOfWeek === 5 || dayOfWeek === 6;\n\t// }\n\t// }\n\n\tsetLocale() {\n\t\tthis.primeNgConfig.setTranslation({\n\t\t\tfirstDayOfWeek: 0,\n\t\t\tdayNames: ['Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi', 'Pazar'],\n\t\t\tdayNamesMin: ['Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt', 'Pzr'],\n\t\t\tdayNamesShort: ['Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt', 'Pzr'],\n\t\t\tmonthNames: [\n\t\t\t\t'Ocak',\n\t\t\t\t'Şubat',\n\t\t\t\t'Mart',\n\t\t\t\t'Nisan',\n\t\t\t\t'Mayıs',\n\t\t\t\t'Haziran',\n\t\t\t\t'Temmuz',\n\t\t\t\t'Ağustos',\n\t\t\t\t'Eylül',\n\t\t\t\t'Ekim',\n\t\t\t\t'Kasım',\n\t\t\t\t'Aralık'\n\t\t\t],\n\t\t\tmonthNamesShort: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],\n\t\t\ttoday: 'Bugün',\n\t\t\tclear: 'Temizle',\n\t\t\tdateFormat: 'dd/mm/yy',\n\t\t\tweekHeader: 'Hafta'\n\t\t});\n\t}\n}\n","<div [ngClass]=\"{ invalidCalendar: ngControl.dirty && ngControl.invalid }\">\n\t<p-calendar\n\t\t[showIcon]=\"true\"\n\t\t[dateFormat]=\"_dateFormat()\"\n\t\t[showButtonBar]=\"true\"\n\t\t[minDate]=\"_minJSDate()\"\n\t\t[maxDate]=\"_maxJSDate()\"\n\t\t[tabindex]=\"tabindex()\"\n\t\t[disabledDates]=\"_selectedDisabledDates()\"\n\t\t[selectionMode]=\"selectionMode()\"\n\t\t[disabled]=\"ngControl.control.disabled\"\n\t\t[readonlyInput]=\"true\"\n\t\t[showTime]=\"showTime()\"\n\t\t[showSeconds]=\"showSeconds()\"\n\t\t[inline]=\"inline()\"\n\t\t[showWeek]=\"showWeek()\"\n\t\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t\t[tooltipOptions]=\"tooltipOptions\"\n\t\t[(ngModel)]=\"model\"\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event); setFormCtrl($event)\">\n\t\t<ng-template pTemplate=\"header\">\n\t\t\t<ng-content select=\"[header]\"></ng-content>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"footer\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t</p-calendar>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;AAEA;;AAEE;AAyBI,MAAO,iBAAkB,SAAQ,kBAAkB,CAAA;AACxD,IAAA,WAAA,CAAoB,aAA4B,EAAA;AAC/C,QAAA,KAAK,EAAE,CAAC;QADW,IAAa,CAAA,aAAA,GAAb,aAAa,CAAe;AAK/B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAoB7C,IAAO,CAAA,OAAA,GAAG,KAAK,EAAU,CAAC;QAC1B,IAAO,CAAA,OAAA,GAAG,KAAK,EAAU,CAAC;AAC1B,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAW,EAAE,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CA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,EAAA,eAAA,EAAA,WAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,UAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,cAAA,EAAA,WAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,MAAA,EAAA,aAAA,CAAA,EAAA,OAAA,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,SAAA,EAAA,cAAA,EAAA,cAAA,EAAA,eAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,aAAa,iXAAE,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAI7F,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAR7B,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,YACN,oFAAoF,EAAA,OAAA,EAErF,CAAC,mBAAmB,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,qBAAqB,CAAC,EAC1F,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,wjCAAA,EAAA,MAAA,EAAA,CAAA,gEAAA,CAAA,EAAA,CAAA;;;AE1BzC;;AAEG;;;;"}
@@ -1,7 +1,7 @@
1
+ import { NgIf, NgTemplateOutlet } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
3
  import { input, effect, Component, ChangeDetectionStrategy, HostBinding } from '@angular/core';
3
4
  import { DxFieldComponent } from 'aril/ui/dxField';
4
- import { NgIf, NgTemplateOutlet } from '@angular/common';
5
5
 
6
6
  class FieldComponent {
7
7
  constructor() {
@@ -23,11 +23,11 @@ class FieldComponent {
23
23
  });
24
24
  }
25
25
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: FieldComponent, isStandalone: true, selector: "aril-field", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, valueWidth: { classPropertyName: "valueWidth", publicName: "valueWidth", isSignal: true, isRequired: false, transformFunction: null }, labelPos: { classPropertyName: "labelPos", publicName: "labelPos", isSignal: true, isRequired: false, transformFunction: null }, markAsRequired: { classPropertyName: "markAsRequired", publicName: "markAsRequired", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class": "this.hostClass", "style.padding": "this.padding" } }, ngImport: i0, template: "<ng-template #content>\n\t@if (label() && labelPos() === 'top') {\n\t\t<div class=\"mb-1\">\n\t\t\t<span class=\"font-bold\">\n\t\t\t\t@if(markAsRequired()) {*}\n\t\t\t\t{{ label() }}\n\t\t\t</span>\n\t\t</div>\n\t}\n\t<ng-content></ng-content>\n</ng-template>\n\n<aril-dx-field\n\t*ngIf=\"labelPos() === 'left'; else content\"\n\t[label]=\"label()\" [color]=\"color()\" [labelWidth]=\"labelWidth()\" [valueWidth]=\"valueWidth()\">\n\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aril-dx-field>\n", dependencies: [{ kind: "component", type: DxFieldComponent, selector: "aril-dx-field", inputs: ["label", "color", "labelWidth", "valueWidth"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: FieldComponent, isStandalone: true, selector: "aril-field", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, valueWidth: { classPropertyName: "valueWidth", publicName: "valueWidth", isSignal: true, isRequired: false, transformFunction: null }, labelPos: { classPropertyName: "labelPos", publicName: "labelPos", isSignal: true, isRequired: false, transformFunction: null }, markAsRequired: { classPropertyName: "markAsRequired", publicName: "markAsRequired", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class": "this.hostClass", "style.padding": "this.padding" } }, ngImport: i0, template: "<ng-template #content>\n\t@if (label() && labelPos() === 'top') {\n\t\t<div class=\"mb-1\">\n\t\t\t<span class=\"font-bold\">\n\t\t\t\t@if (markAsRequired()) {\n\t\t\t\t\t*\n\t\t\t\t}\n\t\t\t\t{{ label() }}\n\t\t\t</span>\n\t\t</div>\n\t}\n\t<ng-content></ng-content>\n</ng-template>\n\n<aril-dx-field\n\t*ngIf=\"labelPos() === 'left'; else content\"\n\t[label]=\"label()\"\n\t[color]=\"color()\"\n\t[labelWidth]=\"labelWidth()\"\n\t[valueWidth]=\"valueWidth()\">\n\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aril-dx-field>\n", dependencies: [{ kind: "component", type: DxFieldComponent, selector: "aril-dx-field", inputs: ["label", "color", "labelWidth", "valueWidth"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
27
  }
28
28
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FieldComponent, decorators: [{
29
29
  type: Component,
30
- args: [{ standalone: true, selector: 'aril-field', imports: [DxFieldComponent, NgIf, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #content>\n\t@if (label() && labelPos() === 'top') {\n\t\t<div class=\"mb-1\">\n\t\t\t<span class=\"font-bold\">\n\t\t\t\t@if(markAsRequired()) {*}\n\t\t\t\t{{ label() }}\n\t\t\t</span>\n\t\t</div>\n\t}\n\t<ng-content></ng-content>\n</ng-template>\n\n<aril-dx-field\n\t*ngIf=\"labelPos() === 'left'; else content\"\n\t[label]=\"label()\" [color]=\"color()\" [labelWidth]=\"labelWidth()\" [valueWidth]=\"valueWidth()\">\n\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aril-dx-field>\n" }]
30
+ args: [{ standalone: true, selector: 'aril-field', imports: [DxFieldComponent, NgIf, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #content>\n\t@if (label() && labelPos() === 'top') {\n\t\t<div class=\"mb-1\">\n\t\t\t<span class=\"font-bold\">\n\t\t\t\t@if (markAsRequired()) {\n\t\t\t\t\t*\n\t\t\t\t}\n\t\t\t\t{{ label() }}\n\t\t\t</span>\n\t\t</div>\n\t}\n\t<ng-content></ng-content>\n</ng-template>\n\n<aril-dx-field\n\t*ngIf=\"labelPos() === 'left'; else content\"\n\t[label]=\"label()\"\n\t[color]=\"color()\"\n\t[labelWidth]=\"labelWidth()\"\n\t[valueWidth]=\"valueWidth()\">\n\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aril-dx-field>\n" }]
31
31
  }], ctorParameters: () => [], propDecorators: { hostClass: [{
32
32
  type: HostBinding,
33
33
  args: ['class']
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-field.mjs","sources":["../../projects/aril/ui/field/src/field.component.ts","../../projects/aril/ui/field/src/field.component.html","../../projects/aril/ui/field/aril-ui-field.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, input, effect } from '@angular/core';\n\nimport { Types } from 'aril/util/lib';\nimport { DxFieldComponent } from 'aril/ui/dxField';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\n\ntype LabelPositions = 'top' | 'left';\n\ninterface ColumnSizeTypes {\n\txl?: Types.NumberRange<1, 13>;\n\tlg?: Types.NumberRange<1, 13>;\n\tmd?: Types.NumberRange<1, 13>;\n\tsm?: Types.NumberRange<1, 13>;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-field',\n\ttemplateUrl: './field.component.html',\n\timports: [DxFieldComponent, NgIf, NgTemplateOutlet],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FieldComponent {\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tif (this.cols()) {\n\t\t\t\tthis.hostClass = Object.entries(this.cols()).reduce((acc, [key, value]) => {\n\t\t\t\t\treturn `${acc} ${key}:col-${value}`;\n\t\t\t\t}, '');\n\t\t\t}\n\t\t});\n\t}\n\n\tlabel = input<string>();\n\tcolor = input<string>('#333');\n\tlabelWidth = input<number>(30);\n\tvalueWidth = input<number>(70);\n\tlabelPos = input<LabelPositions>('top');\n\tmarkAsRequired = input<boolean>(false);\n\tcols = input.required<ColumnSizeTypes>({});\n\n\t@HostBinding('class') hostClass = '';\n\t@HostBinding('style.padding') padding = '.5rem';\n}\n","<ng-template #content>\n\t@if (label() && labelPos() === 'top') {\n\t\t<div class=\"mb-1\">\n\t\t\t<span class=\"font-bold\">\n\t\t\t\t@if(markAsRequired()) {*}\n\t\t\t\t{{ label() }}\n\t\t\t</span>\n\t\t</div>\n\t}\n\t<ng-content></ng-content>\n</ng-template>\n\n<aril-dx-field\n\t*ngIf=\"labelPos() === 'left'; else content\"\n\t[label]=\"label()\" [color]=\"color()\" [labelWidth]=\"labelWidth()\" [valueWidth]=\"valueWidth()\">\n\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aril-dx-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAsBa,cAAc,CAAA;AAC1B,IAAA,WAAA,GAAA;QAUA,IAAK,CAAA,KAAA,GAAG,KAAK,EAAU,CAAC;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,MAAM,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAiB,KAAK,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAkB,EAAE,CAAC,CAAC;QAErB,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;QACP,IAAO,CAAA,OAAA,GAAG,OAAO,CAAC;QAlB/C,MAAM,CAAC,MAAK;AACX,YAAA,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;gBAChB,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AACzE,oBAAA,OAAO,GAAG,GAAG,CAAA,CAAA,EAAI,GAAG,CAAQ,KA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../../projects/aril/ui/field/src/field.component.ts","../../projects/aril/ui/field/src/field.component.html","../../projects/aril/ui/field/aril-ui-field.ts"],"sourcesContent":["import { NgIf, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, effect, input } from '@angular/core';\n\nimport { DxFieldComponent } from 'aril/ui/dxField';\nimport { Types } from 'aril/util/lib';\n\ntype LabelPositions = 'top' | 'left';\n\ninterface ColumnSizeTypes {\n\txl?: Types.NumberRange<1, 13>;\n\tlg?: Types.NumberRange<1, 13>;\n\tmd?: Types.NumberRange<1, 13>;\n\tsm?: Types.NumberRange<1, 13>;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-field',\n\ttemplateUrl: './field.component.html',\n\timports: [DxFieldComponent, NgIf, NgTemplateOutlet],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FieldComponent {\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tif (this.cols()) {\n\t\t\t\tthis.hostClass = Object.entries(this.cols()).reduce((acc, [key, value]) => {\n\t\t\t\t\treturn `${acc} ${key}:col-${value}`;\n\t\t\t\t}, '');\n\t\t\t}\n\t\t});\n\t}\n\n\tlabel = input<string>();\n\tcolor = input<string>('#333');\n\tlabelWidth = input<number>(30);\n\tvalueWidth = input<number>(70);\n\tlabelPos = input<LabelPositions>('top');\n\tmarkAsRequired = input<boolean>(false);\n\tcols = input.required<ColumnSizeTypes>({});\n\n\t@HostBinding('class') hostClass = '';\n\t@HostBinding('style.padding') padding = '.5rem';\n}\n","<ng-template #content>\n\t@if (label() && labelPos() === 'top') {\n\t\t<div class=\"mb-1\">\n\t\t\t<span class=\"font-bold\">\n\t\t\t\t@if (markAsRequired()) {\n\t\t\t\t\t*\n\t\t\t\t}\n\t\t\t\t{{ label() }}\n\t\t\t</span>\n\t\t</div>\n\t}\n\t<ng-content></ng-content>\n</ng-template>\n\n<aril-dx-field\n\t*ngIf=\"labelPos() === 'left'; else content\"\n\t[label]=\"label()\"\n\t[color]=\"color()\"\n\t[labelWidth]=\"labelWidth()\"\n\t[valueWidth]=\"valueWidth()\">\n\t<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</aril-dx-field>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAsBa,cAAc,CAAA;AAC1B,IAAA,WAAA,GAAA;QAUA,IAAK,CAAA,KAAA,GAAG,KAAK,EAAU,CAAC;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,MAAM,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAiB,KAAK,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAkB,EAAE,CAAC,CAAC;QAErB,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;QACP,IAAO,CAAA,OAAA,GAAG,OAAO,CAAC;QAlB/C,MAAM,CAAC,MAAK;AACX,YAAA,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;gBAChB,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;AACzE,oBAAA,OAAO,GAAG,GAAG,CAAA,CAAA,EAAI,GAAG,CAAQ,KAAA,EAAA,KAAK,EAAE,CAAC;iBACpC,EAAE,EAAE,CAAC,CAAC;aACP;AACF,SAAC,CAAC,CAAC;KACH;8GATW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,8iCCtB3B,oiBAsBA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHW,gBAAgB,EAAE,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,YAAA,EAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,6FAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGtC,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,YAAY,EAEb,OAAA,EAAA,CAAC,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,CAAC,EAClC,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,oiBAAA,EAAA,CAAA;wDAqBzB,SAAS,EAAA,CAAA;sBAA9B,WAAW;uBAAC,OAAO,CAAA;gBACU,OAAO,EAAA,CAAA;sBAApC,WAAW;uBAAC,eAAe,CAAA;;;AE1C7B;;AAEG;;;;"}
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, EventEmitter, Component, Output } from '@angular/core';
3
- import * as i2 from 'primeng/fileupload';
4
- import { FileUploadModule } from 'primeng/fileupload';
5
3
  import * as i1 from 'primeng/api';
6
4
  import { MessageService } from 'primeng/api';
5
+ import * as i2 from 'primeng/fileupload';
6
+ import { FileUploadModule } from 'primeng/fileupload';
7
7
 
8
8
  class FileUploadComponent {
9
9
  constructor(messageService) {
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-fileUpload.mjs","sources":["../../projects/aril/ui/fileUpload/src/file-upload.component.ts","../../projects/aril/ui/fileUpload/src/file-upload.component.html","../../projects/aril/ui/fileUpload/aril-ui-fileUpload.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { HttpEvent } from '@angular/common/http';\nimport { Component, EventEmitter, input, Output } from '@angular/core';\n\nimport { FileUploadModule } from 'primeng/fileupload';\nimport { MessageService } from 'primeng/api';\n\ninterface UploadEvent {\n\toriginalEvent: HttpEvent<any>;\n\tfiles: File[];\n}\n\ninterface UploadFile {\n\tname: string;\n\tsize: number;\n\ttype: string;\n\tobjectURL?: string;\n}\n\ninterface FileUploadErrorEvent {\n\tfiles: File[];\n\terror: ErrorEvent;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-file-upload',\n\ttemplateUrl: './file-upload.component.html',\n\timports: [FileUploadModule],\n\tproviders: [MessageService]\n})\nexport class FileUploadComponent {\n\tconstructor(private messageService: MessageService) {}\n\n\tname = input<string>();\n\turl = input.required<string>();\n\tmultiple = input(false);\n\taccept = input<string>('.xlsx');\n\tdisabled = input(false);\n\tauto = input(false);\n\tmaxFileSize = input<number>();\n\ttabindex = input<number>();\n\twithCredentials = input(false);\n\tshowUploadButton = input(true);\n\tshowCancelButton = input(true);\n\tcancelLabel = input('Temizle');\n\tchooseLabel = input('Dosya Seç');\n\tuploadLabel = input('Dosya Yükle');\n\tinvalidFileTypeMessageSummary = input('Geçersiz dosya türü');\n\tinvalidFileTypeMessageDetail = input('Seçilen dosya türü desteklenmiyor.');\n\tinvalidFileSizeMessageSummary = input('Dosya boyutu çok büyük');\n\tinvalidFileSizeMessageDetail = input('Dosya boyutu izin verilen maksimum boyuttan daha büyük.');\n\n\t@Output() beforeSend: EventEmitter<unknown> = new EventEmitter();\n\t@Output() upload: EventEmitter<unknown> = new EventEmitter();\n\t@Output() errors: EventEmitter<unknown> = new EventEmitter();\n\t@Output() selects: EventEmitter<unknown> = new EventEmitter();\n\t@Output() clear: EventEmitter<unknown> = new EventEmitter();\n\n\tuploadedFiles: UploadFile[] = [];\n\n\tonUpload(event: UploadEvent) {\n\t\tthis.upload.emit(event);\n\t\tthis.uploadedFiles = event.files;\n\t\tthis.messageService.add({ key: 'toast-root', severity: 'success', summary: 'Dosya başarıyla yüklendi.' });\n\t}\n\n\tonError(event: any) {\n\t\tthis.errors.emit(event);\n\t\tthis.messageService.add({ key: 'toast-root', severity: 'error', summary: 'Dosya yüklenemedi.' });\n\t}\n}\n","<p-fileUpload\n\t[name]=\"name()\"\n\t[url]=\"url()\"\n\tmethod=\"post\"\n\t[multiple]=\"multiple()\"\n\t[accept]=\"accept()\"\n\t[disabled]=\"disabled()\"\n\t[auto]=\"auto()\"\n\t[maxFileSize]=\"maxFileSize()\"\n\t[tabindex]=\"tabindex\"\n\t[withCredentials]=\"withCredentials()\"\n\t[showUploadButton]=\"showUploadButton()\"\n\t[showCancelButton]=\"showCancelButton()\"\n\t[chooseLabel]=\"chooseLabel()\"\n\t[cancelLabel]=\"cancelLabel()\"\n\t[uploadLabel]=\"uploadLabel()\"\n\t[invalidFileTypeMessageSummary]=\"invalidFileTypeMessageSummary()\"\n\t[invalidFileTypeMessageDetail]=\"invalidFileTypeMessageDetail()\"\n\t[invalidFileSizeMessageSummary]=\"invalidFileSizeMessageSummary()\"\n\t[invalidFileSizeMessageDetail]=\"invalidFileSizeMessageDetail()\"\n\t(onBeforeSend)=\"beforeSend.emit($event)\"\n\t(onUpload)=\"onUpload($event)\"\n\t(onError)=\"onError($event)\"\n\t(onSelect)=\"selects.emit($event)\"\n\t(onClear)=\"clear.emit($event)\">\n\t<ng-template pTemplate=\"content\">\n\t\t@if (uploadedFiles.length) {\n\t\t\t<div class=\"flex flex-column\">\n\t\t\t\t@for (file of uploadedFiles; track file) {\n\t\t\t\t\t<div class=\"mt-2\">\n\t\t\t\t\t\t<i class=\"pi pi-file-excel\" style=\"color: slateblue; font-size: 1.4rem\"></i>\n\t\t\t\t\t\t{{ file.name }} - {{ file.size }} bytes\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t</div>\n\t\t}\n\t</ng-template>\n</p-fileUpload>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAgCa,mBAAmB,CAAA;AAC/B,IAAA,WAAA,CAAoB,cAA8B,EAAA;QAA9B,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAElD,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;AACvB,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAS,OAAO,CAAC,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACpB,IAAW,CAAA,WAAA,GAAG,KAAK,EAAU,CAAC;QAC9B,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC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EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGd,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;iCACG,IAAI,EAAA,QAAA,EACN,kBAAkB,EAEnB,OAAA,EAAA,CAAC,gBAAgB,CAAC,EAAA,SAAA,EAChB,CAAC,cAAc,CAAC,EAAA,QAAA,EAAA,m2CAAA,EAAA,CAAA;mFAwBjB,UAAU,EAAA,CAAA;sBAAnB,MAAM;gBACG,MAAM,EAAA,CAAA;sBAAf,MAAM;gBACG,MAAM,EAAA,CAAA;sBAAf,MAAM;gBACG,OAAO,EAAA,CAAA;sBAAhB,MAAM;gBACG,KAAK,EAAA,CAAA;sBAAd,MAAM;;;AE1DR;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-fileUpload.mjs","sources":["../../projects/aril/ui/fileUpload/src/file-upload.component.ts","../../projects/aril/ui/fileUpload/src/file-upload.component.html","../../projects/aril/ui/fileUpload/aril-ui-fileUpload.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { HttpEvent } from '@angular/common/http';\nimport { Component, EventEmitter, Output, input } from '@angular/core';\n\nimport { MessageService } from 'primeng/api';\nimport { FileUploadModule } from 'primeng/fileupload';\n\ninterface UploadEvent {\n\toriginalEvent: HttpEvent<any>;\n\tfiles: File[];\n}\n\ninterface UploadFile {\n\tname: string;\n\tsize: number;\n\ttype: string;\n\tobjectURL?: string;\n}\n\ninterface FileUploadErrorEvent {\n\tfiles: File[];\n\terror: ErrorEvent;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-file-upload',\n\ttemplateUrl: './file-upload.component.html',\n\timports: [FileUploadModule],\n\tproviders: [MessageService]\n})\nexport class FileUploadComponent {\n\tconstructor(private messageService: MessageService) {}\n\n\tname = input<string>();\n\turl = input.required<string>();\n\tmultiple = input(false);\n\taccept = input<string>('.xlsx');\n\tdisabled = input(false);\n\tauto = input(false);\n\tmaxFileSize = input<number>();\n\ttabindex = input<number>();\n\twithCredentials = input(false);\n\tshowUploadButton = input(true);\n\tshowCancelButton = input(true);\n\tcancelLabel = input('Temizle');\n\tchooseLabel = input('Dosya Seç');\n\tuploadLabel = input('Dosya Yükle');\n\tinvalidFileTypeMessageSummary = input('Geçersiz dosya türü');\n\tinvalidFileTypeMessageDetail = input('Seçilen dosya türü desteklenmiyor.');\n\tinvalidFileSizeMessageSummary = input('Dosya boyutu çok büyük');\n\tinvalidFileSizeMessageDetail = input('Dosya boyutu izin verilen maksimum boyuttan daha büyük.');\n\n\t@Output() beforeSend: EventEmitter<unknown> = new EventEmitter();\n\t@Output() upload: EventEmitter<unknown> = new EventEmitter();\n\t@Output() errors: EventEmitter<unknown> = new EventEmitter();\n\t@Output() selects: EventEmitter<unknown> = new EventEmitter();\n\t@Output() clear: EventEmitter<unknown> = new EventEmitter();\n\n\tuploadedFiles: UploadFile[] = [];\n\n\tonUpload(event: UploadEvent) {\n\t\tthis.upload.emit(event);\n\t\tthis.uploadedFiles = event.files;\n\t\tthis.messageService.add({ key: 'toast-root', severity: 'success', summary: 'Dosya başarıyla yüklendi.' });\n\t}\n\n\tonError(event: any) {\n\t\tthis.errors.emit(event);\n\t\tthis.messageService.add({ key: 'toast-root', severity: 'error', summary: 'Dosya yüklenemedi.' });\n\t}\n}\n","<p-fileUpload\n\t[name]=\"name()\"\n\t[url]=\"url()\"\n\tmethod=\"post\"\n\t[multiple]=\"multiple()\"\n\t[accept]=\"accept()\"\n\t[disabled]=\"disabled()\"\n\t[auto]=\"auto()\"\n\t[maxFileSize]=\"maxFileSize()\"\n\t[tabindex]=\"tabindex\"\n\t[withCredentials]=\"withCredentials()\"\n\t[showUploadButton]=\"showUploadButton()\"\n\t[showCancelButton]=\"showCancelButton()\"\n\t[chooseLabel]=\"chooseLabel()\"\n\t[cancelLabel]=\"cancelLabel()\"\n\t[uploadLabel]=\"uploadLabel()\"\n\t[invalidFileTypeMessageSummary]=\"invalidFileTypeMessageSummary()\"\n\t[invalidFileTypeMessageDetail]=\"invalidFileTypeMessageDetail()\"\n\t[invalidFileSizeMessageSummary]=\"invalidFileSizeMessageSummary()\"\n\t[invalidFileSizeMessageDetail]=\"invalidFileSizeMessageDetail()\"\n\t(onBeforeSend)=\"beforeSend.emit($event)\"\n\t(onUpload)=\"onUpload($event)\"\n\t(onError)=\"onError($event)\"\n\t(onSelect)=\"selects.emit($event)\"\n\t(onClear)=\"clear.emit($event)\">\n\t<ng-template pTemplate=\"content\">\n\t\t@if (uploadedFiles.length) {\n\t\t\t<div class=\"flex flex-column\">\n\t\t\t\t@for (file of uploadedFiles; track file) {\n\t\t\t\t\t<div class=\"mt-2\">\n\t\t\t\t\t\t<i class=\"pi pi-file-excel\" style=\"color: slateblue; font-size: 1.4rem\"></i>\n\t\t\t\t\t\t{{ file.name }} - {{ file.size }} bytes\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t</div>\n\t\t}\n\t</ng-template>\n</p-fileUpload>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MA+Ba,mBAAmB,CAAA;AAC/B,IAAA,WAAA,CAAoB,cAA8B,EAAA;QAA9B,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAElD,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;AACvB,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAS,OAAO,CAAC,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACpB,IAAW,CAA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aAAA,EAAA,aAAA,EAAA,YAAA,EAAA,YAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,SAAA,EAAA,cAAA,EAAA,WAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,kBAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,SAAA,EAAA,SAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,EAAA,eAAA,EAAA,cAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGd,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;iCACG,IAAI,EAAA,QAAA,EACN,kBAAkB,EAEnB,OAAA,EAAA,CAAC,gBAAgB,CAAC,EAAA,SAAA,EAChB,CAAC,cAAc,CAAC,EAAA,QAAA,EAAA,m2CAAA,EAAA,CAAA;mFAwBjB,UAAU,EAAA,CAAA;sBAAnB,MAAM;gBACG,MAAM,EAAA,CAAA;sBAAf,MAAM;gBACG,MAAM,EAAA,CAAA;sBAAf,MAAM;gBACG,OAAO,EAAA,CAAA;sBAAhB,MAAM;gBACG,KAAK,EAAA,CAAA;sBAAd,MAAM;;;AEzDR;;AAEG;;;;"}
@@ -1,33 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component, ChangeDetectionStrategy, EventEmitter, inject, Output, NgModule } from '@angular/core';
3
- import * as i1$1 from 'aril/ui/button';
2
+ import { input, EventEmitter, inject, Component, ChangeDetectionStrategy, Output, NgModule } from '@angular/core';
3
+ import * as i1 from 'aril/ui/button';
4
4
  import { ButtonComponent } from 'aril/ui/button';
5
- import * as i1 from 'aril/ui/lib';
6
- import { FlexGridDirective, FormErrorMessageDirective, checkValidInputs } from 'aril/ui/lib';
7
5
  import { MessageService } from 'primeng/api';
8
-
9
- class FormComponent {
10
- constructor() {
11
- this.formGroup = input.required();
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: FormComponent, selector: "aril-form", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, hostDirectives: [{ directive: i1.FlexGridDirective }, { directive: i1.FormErrorMessageDirective, inputs: ["formErrorMessage", "formGroup"] }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormComponent, decorators: [{
17
- type: Component,
18
- args: [{
19
- selector: 'aril-form',
20
- template: ` <ng-content></ng-content> `,
21
- hostDirectives: [
22
- FlexGridDirective,
23
- {
24
- directive: FormErrorMessageDirective,
25
- inputs: ['formErrorMessage: formGroup']
26
- }
27
- ],
28
- changeDetection: ChangeDetectionStrategy.OnPush
29
- }]
30
- }] });
6
+ import * as i1$1 from 'aril/ui/lib';
7
+ import { checkValidInputs, FlexGridDirective, FormErrorMessageDirective } from 'aril/ui/lib';
31
8
 
32
9
  class FormSubmitButtonComponent extends ButtonComponent {
33
10
  constructor() {
@@ -52,7 +29,7 @@ class FormSubmitButtonComponent extends ButtonComponent {
52
29
  }
53
30
  }
54
31
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormSubmitButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
55
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { validEvent: "validEvent", inValidEvent: "inValidEvent" }, usesInheritance: true, ngImport: i0, template: "<aril-button\n\t[label]=\"label()\"\n\t[loading]=\"formGroup().pending\"\n\t[disabled]=\"disabled()\"\n\t[raised]=\"raised()\"\n\t[outlined]=\"outlined()\"\n\t[badge]=\"badge()\"\n\t[size]=\"size()\"\n\t[icon]=\"icon()\"\n\t[color]=\"color()\"\n\t(clickEvent)=\"submit()\">\n</aril-button>\n", dependencies: [{ kind: "component", type: i1$1.ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "outlined", "badge", "size", "icon", "color"], outputs: ["clickEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { validEvent: "validEvent", inValidEvent: "inValidEvent" }, usesInheritance: true, ngImport: i0, template: "<aril-button\n\t[label]=\"label()\"\n\t[loading]=\"formGroup().pending\"\n\t[disabled]=\"disabled()\"\n\t[raised]=\"raised()\"\n\t[outlined]=\"outlined()\"\n\t[badge]=\"badge()\"\n\t[size]=\"size()\"\n\t[icon]=\"icon()\"\n\t[color]=\"color()\"\n\t(clickEvent)=\"submit()\">\n</aril-button>\n", dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "outlined", "badge", "size", "icon", "color"], outputs: ["clickEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
56
33
  }
57
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormSubmitButtonComponent, decorators: [{
58
35
  type: Component,
@@ -63,6 +40,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
63
40
  type: Output
64
41
  }] } });
65
42
 
43
+ class FormComponent {
44
+ constructor() {
45
+ this.formGroup = input.required();
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
48
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: FormComponent, selector: "aril-form", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, hostDirectives: [{ directive: i1$1.FlexGridDirective }, { directive: i1$1.FormErrorMessageDirective, inputs: ["formErrorMessage", "formGroup"] }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
+ }
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormComponent, decorators: [{
51
+ type: Component,
52
+ args: [{
53
+ selector: 'aril-form',
54
+ template: ` <ng-content></ng-content> `,
55
+ hostDirectives: [
56
+ FlexGridDirective,
57
+ {
58
+ directive: FormErrorMessageDirective,
59
+ inputs: ['formErrorMessage: formGroup']
60
+ }
61
+ ],
62
+ changeDetection: ChangeDetectionStrategy.OnPush
63
+ }]
64
+ }] });
65
+
66
66
  const components = [FormComponent, FormSubmitButtonComponent];
67
67
  class ARiLFormModule {
68
68
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ARiLFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-form.mjs","sources":["../../projects/aril/ui/form/src/form.component.ts","../../projects/aril/ui/form/src/form-submit-button.component.ts","../../projects/aril/ui/form/src/form-submit-button.component.html","../../projects/aril/ui/form/index.ts","../../projects/aril/ui/form/aril-ui-form.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { FlexGridDirective, FormErrorMessageDirective } from 'aril/ui/lib';\r\n\r\n@Component({\r\n\tselector: 'aril-form',\r\n\ttemplate: ` <ng-content></ng-content> `,\r\n\thostDirectives: [\r\n\t\tFlexGridDirective,\r\n\t\t{\r\n\t\t\tdirective: FormErrorMessageDirective,\r\n\t\t\tinputs: ['formErrorMessage: formGroup']\r\n\t\t}\r\n\t],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormComponent {\r\n\tformGroup = input.required<FormGroup>();\r\n}\r\n","import { ChangeDetectionStrategy, Component, EventEmitter, input, Output, inject } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { MessageService } from 'primeng/api';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { checkValidInputs } from 'aril/ui/lib';\r\n\r\n@Component({\r\n\tselector: 'aril-form-submit:not([click])',\r\n\ttemplateUrl: './form-submit-button.component.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormSubmitButtonComponent extends ButtonComponent {\r\n\tformGroup = input.required<FormGroup>();\r\n\r\n\t@Output() validEvent: EventEmitter<never> = new EventEmitter<never>();\r\n\t@Output() inValidEvent: EventEmitter<never> = new EventEmitter<never>();\r\n\r\n\tmessageService = inject(MessageService);\r\n\r\n\tsubmit() {\r\n\t\tcheckValidInputs(this.formGroup());\r\n\r\n\t\tif (this.formGroup().valid) this.validEvent.emit();\r\n\t\telse {\r\n\t\t\tthis.messageService.add({\r\n\t\t\t\tkey: 'toast-root',\r\n\t\t\t\tseverity: 'warn ',\r\n\t\t\t\tsummary: 'Form Hatası',\r\n\t\t\t\tdetail: 'Lütfen formdaki eksikleri gideriniz'\r\n\t\t\t});\r\n\t\t\tthis.inValidEvent.emit();\r\n\t\t}\r\n\t}\r\n}\r\n","<aril-button\n\t[label]=\"label()\"\n\t[loading]=\"formGroup().pending\"\n\t[disabled]=\"disabled()\"\n\t[raised]=\"raised()\"\n\t[outlined]=\"outlined()\"\n\t[badge]=\"badge()\"\n\t[size]=\"size()\"\n\t[icon]=\"icon()\"\n\t[color]=\"color()\"\n\t(clickEvent)=\"submit()\">\n</aril-button>\n","export * from './src/form.component';\nexport * from './src/form-submit-button.component';\n\nimport { NgModule } from '@angular/core';\n\nimport { ButtonComponent } from 'aril/ui/button';\n\nimport { FormComponent } from './src/form.component';\nimport { FormSubmitButtonComponent } from './src/form-submit-button.component';\n\nconst components = [FormComponent, FormSubmitButtonComponent];\n\n@NgModule({\n\timports: [ButtonComponent],\n\texports: [components],\n\tdeclarations: [components]\n})\nexport class ARiLFormModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;MAiBa,aAAa,CAAA;AAZ1B,IAAA,WAAA,GAAA;AAaC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,EAAa,CAAC;AACxC,KAAA;8GAFY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,+UAVf,CAA6B,2BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAU3B,aAAa,EAAA,UAAA,EAAA,CAAA;kBAZzB,SAAS;AAAC,YAAA,IAAA,EAAA,CA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AJhB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;oBACrB,YAAY,EAAE,CAAC,UAAU,CAAC;AAC1B,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-form.mjs","sources":["../../projects/aril/ui/form/src/form-submit-button.component.ts","../../projects/aril/ui/form/src/form-submit-button.component.html","../../projects/aril/ui/form/src/form.component.ts","../../projects/aril/ui/form/index.ts","../../projects/aril/ui/form/aril-ui-form.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output, inject, input } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\n\nimport { MessageService } from 'primeng/api';\n\nimport { ButtonComponent } from 'aril/ui/button';\nimport { checkValidInputs } from 'aril/ui/lib';\n\n@Component({\n\tselector: 'aril-form-submit:not([click])',\n\ttemplateUrl: './form-submit-button.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormSubmitButtonComponent extends ButtonComponent {\n\tformGroup = input.required<FormGroup>();\n\n\t@Output() validEvent: EventEmitter<never> = new EventEmitter<never>();\n\t@Output() inValidEvent: EventEmitter<never> = new EventEmitter<never>();\n\n\tmessageService = inject(MessageService);\n\n\tsubmit() {\n\t\tcheckValidInputs(this.formGroup());\n\n\t\tif (this.formGroup().valid) this.validEvent.emit();\n\t\telse {\n\t\t\tthis.messageService.add({\n\t\t\t\tkey: 'toast-root',\n\t\t\t\tseverity: 'warn ',\n\t\t\t\tsummary: 'Form Hatası',\n\t\t\t\tdetail: 'Lütfen formdaki eksikleri gideriniz'\n\t\t\t});\n\t\t\tthis.inValidEvent.emit();\n\t\t}\n\t}\n}\n","<aril-button\n\t[label]=\"label()\"\n\t[loading]=\"formGroup().pending\"\n\t[disabled]=\"disabled()\"\n\t[raised]=\"raised()\"\n\t[outlined]=\"outlined()\"\n\t[badge]=\"badge()\"\n\t[size]=\"size()\"\n\t[icon]=\"icon()\"\n\t[color]=\"color()\"\n\t(clickEvent)=\"submit()\">\n</aril-button>\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\n\nimport { FlexGridDirective, FormErrorMessageDirective } from 'aril/ui/lib';\n\n@Component({\n\tselector: 'aril-form',\n\ttemplate: ` <ng-content></ng-content> `,\n\thostDirectives: [\n\t\tFlexGridDirective,\n\t\t{\n\t\t\tdirective: FormErrorMessageDirective,\n\t\t\tinputs: ['formErrorMessage: formGroup']\n\t\t}\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormComponent {\n\tformGroup = input.required<FormGroup>();\n}\n","import { NgModule } from '@angular/core';\n\nimport { ButtonComponent } from 'aril/ui/button';\n\nimport { FormSubmitButtonComponent } from './src/form-submit-button.component';\nimport { FormComponent } from './src/form.component';\n\nexport * from './src/form.component';\nexport * from './src/form-submit-button.component';\n\nconst components = [FormComponent, FormSubmitButtonComponent];\n\n@NgModule({\n\timports: [ButtonComponent],\n\texports: [components],\n\tdeclarations: [components]\n})\nexport class ARiLFormModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAaM,MAAO,yBAA0B,SAAQ,eAAe,CAAA;AAL9D,IAAA,WAAA,GAAA;;AAMC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,EAAa,CAAC;AAE9B,QAAA,IAAA,CAAA,UAAU,GAAwB,IAAI,YAAY,EAAS,CAAC;AAC5D,QAAA,IAAA,CAAA,YAAY,GAAwB,IAAI,YAAY,EAAS,CAAC;AAExE,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAgBxC,KAAA;IAdA,MAAM,GAAA;AACL,QAAA,gBA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yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;AAO/C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJhB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;oBACrB,YAAY,EAAE,CAAC,UAAU,CAAC;AAC1B,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-lib.mjs","sources":["../../projects/aril/ui/lib/src/form/form-error-message.component.ts","../../projects/aril/ui/lib/src/form/form-error-message.directive.ts","../../projects/aril/ui/lib/src/form/form-validation.ts","../../projects/aril/ui/lib/src/form/form-field-builder.ts","../../projects/aril/ui/lib/src/grid/flex-grid.directive.ts","../../projects/aril/ui/lib/src/input/baseInput.ts","../../projects/aril/ui/lib/src/input/common-input-validators.service.ts","../../projects/aril/ui/lib/src/input/input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/dx-input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/input-disabled.directive.ts","../../projects/aril/ui/lib/src/input/input-transforms.ts","../../projects/aril/ui/lib/src/input/value-accessor.directive.ts","../../projects/aril/ui/lib/index.ts","../../projects/aril/ui/lib/aril-ui-lib.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\nimport { Message } from 'primeng/api';\nimport { MessagesModule } from 'primeng/messages';\n\n@Component({\n\tstandalone: true,\n\timports: [MessagesModule],\n\ttemplate: `\n\t\t<div class=\"flex gap-2 formErrorMessage\">\n\t\t\t<p-messages [(value)]=\"_pMessages\" [enableService]=\"false\" [closable]=\"false\"></p-messages>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormErrorMessagesComponent {\n\t_pMessages!: Message[];\n\n\t@Input() set messages(messages: ValidationErrors | null) {\n\t\tthis._pMessages = Object.values(messages!).map((msg) => {\n\t\t\treturn { severity: 'error', summary: '', detail: msg };\n\t\t});\n\t}\n}\n","/* eslint-disable @angular-eslint/directive-selector */\n\nimport { ComponentRef, Directive, input, OnInit, ViewContainerRef } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\n\nimport { FormErrorMessagesComponent } from './form-error-message.component';\n\n@Directive({\n\tstandalone: true,\n\tselector: '[formErrorMessage]'\n})\nexport class FormErrorMessageDirective implements OnInit {\n\tconstructor(private viewContainerRef: ViewContainerRef) {}\n\n\tformErrorMessage = input.required<FormGroup>();\n\n\terrorKeys: string[] = [];\n\tcomponentRef!: ComponentRef<FormErrorMessagesComponent>;\n\n\tngOnInit(): void {\n\t\tthis.formErrorMessage().statusChanges.subscribe((status) => {\n\t\t\tif (this.componentRef) this.viewContainerRef.remove();\n\n\t\t\tif (status === 'INVALID') {\n\t\t\t\tif (this.formErrorMessage().errors) {\n\t\t\t\t\tthis.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);\n\t\t\t\t\tthis.componentRef.instance.messages = this.formErrorMessage().errors;\n\t\t\t\t\tthis.viewContainerRef.insert(this.componentRef.hostView);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n}\n","import { FormArray, FormControl, FormGroup } from '@angular/forms';\n\nexport const checkValidInputs = (formGroup: FormGroup | FormArray) => {\n\tObject.keys(formGroup.controls).forEach((field) => {\n\t\tconst control = formGroup.get(field);\n\n\t\tif (control instanceof FormControl) {\n\t\t\tcontrol.markAsTouched({ onlySelf: true });\n\t\t\tcontrol.markAsDirty({ onlySelf: true });\n\t\t} else if (control instanceof FormGroup || control instanceof FormArray) {\n\t\t\tcheckValidInputs(control);\n\t\t}\n\t});\n};\n","import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';\r\n\r\nexport const addControlsWithValidation = (\r\n\tform: FormGroup,\r\n\tcontrols: { name: string; validator?: ValidatorFn; disabled?: boolean }[]\r\n) => {\r\n\tcontrols.forEach((control) => {\r\n\t\tif (!form.contains(control.name)) {\r\n\t\t\tform.addControl(\r\n\t\t\t\tcontrol.name,\r\n\t\t\t\tnew FormControl({ value: null, disabled: control?.disabled || false }, control.validator)\r\n\t\t\t);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nexport const removeControls = (form: FormGroup, controlNames: string[]) => {\r\n\tcontrolNames.forEach((controlName) => {\r\n\t\tif (form.contains(controlName)) {\r\n\t\t\tform.removeControl(controlName);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nexport const updateValueAndValidities = (form: FormGroup, controlNames: string[]) => {\r\n\tcontrolNames.forEach((controlName) => {\r\n\t\tif (form.contains(controlName)) {\r\n\t\t\tform.get(controlName)?.updateValueAndValidity();\r\n\t\t}\r\n\t});\r\n};\r\n","/* eslint-disable @angular-eslint/directive-selector */\n\nimport { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n\tstandalone: true,\n\tselector: '[flexGrid]'\n})\nexport class FlexGridDirective {\n\t@HostBinding('class') hostClass = 'grid p-fluid m-0 p-0';\n}\n","import { inject } from '@angular/core';\nimport { FormControlDirective, FormControlName, NgControl, NgModel } from '@angular/forms';\n\nimport { TooltipOptions } from 'primeng/api';\n\nexport abstract class BaseInputComponent {\n\tngControl = injectNgControl();\n\n\ttooltipOptions: TooltipOptions = {\n\t\ttooltipPosition: 'top',\n\t\ttooltipEvent: 'focus',\n\t\ttooltipStyleClass: 'tooltipErrorMessage'\n\t};\n}\n\nexport function injectNgControl() {\n\tconst ngControl = inject(NgControl, { self: true, optional: true });\n\n\tif (!ngControl) throw new Error('NgModel or FormControlName or FormControlDirective is required');\n\n\tif (\n\t\tngControl instanceof NgModel ||\n\t\tngControl instanceof FormControlName ||\n\t\tngControl instanceof FormControlDirective\n\t) {\n\t\treturn ngControl;\n\t}\n\n\tthrow new Error('Something went wrong in InjectNgControl');\n}\n","import { Injectable } from '@angular/core';\nimport { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\n\nimport 'aril/util/primitive-extensions';\n\nexport type DateRangeFormat = 'minute' | 'hour' | 'day' | 'month' | 'year';\n\n@Injectable({\n\tprovidedIn: 'root'\n})\nexport class CommonInputValidatorsService {\n\t/**\n\t * @param sdCtrlName - name of the start date form control\n\t * @param edCtrlName - name of the end date form control\n\t * @param rangeValue - range between start and end date. Default value is 1\n\t * @param rangeFormat - format of the range. Default value is \"day\"\n\t */\n\tdateRange(sdCtrlName: string, edCtrlName: string, rangeValue = 0, rangeFormat: DateRangeFormat = 'day'): ValidatorFn {\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\n\t\t\tconst start: number = control.get(sdCtrlName)?.value;\n\t\t\tconst end: number = control.get(edCtrlName)?.value;\n\n\t\t\tconst startJSDate = start.longToDate();\n\t\t\tconst endJSDate = end.longToDate();\n\n\t\t\tif (startJSDate && endJSDate) {\n\t\t\t\tconst isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;\n\n\t\t\t\treturn isRangeValid ? null : (\n\t\t\t\t\t\t{ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` }\n\t\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn null;\n\t\t};\n\t}\n\n\t/**\n\t * @description - pasword match vs.\n\t */\n\tstrictMatch(controlName: string, matchingControlName: string): ValidatorFn {\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\n\t\t\tconst firstField = control.get(controlName);\n\t\t\tconst secondField = control.get(matchingControlName);\n\n\t\t\tif (!firstField || !secondField) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif (firstField.value !== secondField.value) {\n\t\t\t\treturn { strictMatch: `${controlName} and ${matchingControlName} do not match` };\n\t\t\t}\n\n\t\t\treturn null;\n\t\t};\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tstandalone: true,\n\tname: 'inputErrorMessage'\n})\nexport class InputErrorMessagePipe implements PipeTransform {\n\ttransform(value: any, ...args: any[]): string {\n\t\tconst control = args[0];\n\t\tconst errorKeys = Object.keys(control.errors || {});\n\n\t\tif (errorKeys.length) {\n\t\t\tconst errorKey = errorKeys[0];\n\t\t\tconst errorValue = control.errors![errorKey];\n\n\t\t\tswitch (errorKey) {\n\t\t\t\tcase 'required':\n\t\t\t\t\treturn 'This field is required';\n\t\t\t\tcase 'min':\n\t\t\t\t\treturn `Minimum value is ${errorValue.min}`;\n\t\t\t\tcase 'max':\n\t\t\t\t\treturn `Maximum value is ${errorValue.max}`;\n\t\t\t\tcase 'minlength':\n\t\t\t\t\treturn `Minimum length is ${errorValue.requiredLength}`;\n\t\t\t\tcase 'maxlength':\n\t\t\t\t\treturn `Maximum length is ${errorValue.requiredLength}`;\n\t\t\t\tcase 'email':\n\t\t\t\t\treturn 'Invalid email';\n\t\t\t\tcase 'pattern':\n\t\t\t\t\treturn 'Invalid format';\n\t\t\t\tdefault:\n\t\t\t\t\treturn errorValue;\n\t\t\t}\n\t\t}\n\n\t\treturn '';\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Pipe, PipeTransform, inject } from '@angular/core';\n\nimport { InputErrorMessagePipe } from './input-error-message.pipe';\n\n@Pipe({\n\tstandalone: true,\n\tname: 'dxInputErrorMessage'\n})\nexport class DXInputErrorMessagePipe implements PipeTransform {\n\terrorMsgPipe = inject(InputErrorMessagePipe);\n\n\ttransform(value: any, ...args: any[]): { message: string } {\n\t\treturn { message: this.errorMsgPipe.transform(value, ...args) };\n\t}\n}\n","import { Directive, Input } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\n@Directive({\n\tstandalone: true,\n\tselector: '[arilDisabled]'\n})\nexport class InputDisabledDirective {\n\tconstructor(private ngControl: NgControl) {}\n\n\t@Input() set arilDisabled(condition: boolean) {\n\t\tconst action = condition ? 'disable' : 'enable';\n\t\tif (this.ngControl.control) this.ngControl.control[action]();\n\t}\n}\n","import { PrimeIcons } from 'primeng/api';\n\nexport type PrimeIcon = Exclude<keyof typeof PrimeIcons, 'prototype'>;\nexport function iconTransform(icon: PrimeIcon): string {\n\treturn PrimeIcons[icon];\n}\n\nexport type IconPosTypes = 'right' | 'left';\nexport function iconPosTransform(pos: IconPosTypes): string {\n\treturn 'p-input-icon-' + pos;\n}\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Directive } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\n@Directive({\n\tstandalone: true,\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tmulti: true,\n\t\t\tuseExisting: ValueAccessorDirective\n\t\t}\n\t]\n})\nexport class ValueAccessorDirective implements ControlValueAccessor {\n\twriteValue(obj: any): void {\n\t\treturn;\n\t}\n\tregisterOnChange(fn: any): void {\n\t\treturn;\n\t}\n\tregisterOnTouched(fn: any): void {\n\t\treturn;\n\t}\n}\n","/* form */\nexport * from './src/form/form-error-message.directive';\nexport * from './src/form/form-validation';\nexport * from './src/form/form-field-builder';\n\n/* grid */\nexport * from './src/grid/flex-grid.directive';\n\n/* input */\nexport * from './src/input/baseInput';\nexport * from './src/input/common-input-validators.service';\nexport * from './src/input/dx-input-error-message.pipe';\nexport * from './src/input/input-disabled.directive';\nexport * from './src/input/input-error-message.pipe';\nexport * from './src/input/input-transforms';\nexport * from './src/input/value-accessor.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;MAgBa,0BAA0B,CAAA;IAGtC,IAAa,QAAQ,CAAC,QAAiC,EAAA;AACtD,QAAA,IAAI,C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A,IAAA,EAAA,sBAAsB,EARvB,YAAA,EAAA,IAAA,EAAA,SAAA,EAAA;AACV,YAAA;AACC,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,WAAW,EAAE,sBAAsB;AACnC,aAAA;AACD,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAEW,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,WAAW,EAAwB,sBAAA;AACnC,yBAAA;AACD,qBAAA;AACD,iBAAA,CAAA;;;ACfD;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-lib.mjs","sources":["../../projects/aril/ui/lib/src/form/form-error-message.component.ts","../../projects/aril/ui/lib/src/form/form-error-message.directive.ts","../../projects/aril/ui/lib/src/form/form-validation.ts","../../projects/aril/ui/lib/src/form/form-field-builder.ts","../../projects/aril/ui/lib/src/grid/flex-grid.directive.ts","../../projects/aril/ui/lib/src/input/baseInput.ts","../../projects/aril/ui/lib/src/input/common-input-validators.service.ts","../../projects/aril/ui/lib/src/input/input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/dx-input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/input-disabled.directive.ts","../../projects/aril/ui/lib/src/input/input-transforms.ts","../../projects/aril/ui/lib/src/input/value-accessor.directive.ts","../../projects/aril/ui/lib/index.ts","../../projects/aril/ui/lib/aril-ui-lib.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\nimport { Message } from 'primeng/api';\nimport { MessagesModule } from 'primeng/messages';\n\n@Component({\n\tstandalone: true,\n\timports: [MessagesModule],\n\ttemplate: `\n\t\t<div class=\"flex gap-2 formErrorMessage\">\n\t\t\t<p-messages [(value)]=\"_pMessages\" [enableService]=\"false\" [closable]=\"false\"></p-messages>\n\t\t</div>\n\t`,\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormErrorMessagesComponent {\n\t_pMessages!: Message[];\n\n\t@Input() set messages(messages: ValidationErrors | null) {\n\t\tthis._pMessages = Object.values(messages!).map((msg) => {\n\t\t\treturn { severity: 'error', summary: '', detail: msg };\n\t\t});\n\t}\n}\n","/* eslint-disable @angular-eslint/directive-selector */\nimport { ComponentRef, Directive, OnInit, ViewContainerRef, input } from '@angular/core';\nimport { FormGroup } from '@angular/forms';\n\nimport { FormErrorMessagesComponent } from './form-error-message.component';\n\n@Directive({\n\tstandalone: true,\n\tselector: '[formErrorMessage]'\n})\nexport class FormErrorMessageDirective implements OnInit {\n\tconstructor(private viewContainerRef: ViewContainerRef) {}\n\n\tformErrorMessage = input.required<FormGroup>();\n\n\terrorKeys: string[] = [];\n\tcomponentRef!: ComponentRef<FormErrorMessagesComponent>;\n\n\tngOnInit(): void {\n\t\tthis.formErrorMessage().statusChanges.subscribe((status) => {\n\t\t\tif (this.componentRef) this.viewContainerRef.remove();\n\n\t\t\tif (status === 'INVALID') {\n\t\t\t\tif (this.formErrorMessage().errors) {\n\t\t\t\t\tthis.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);\n\t\t\t\t\tthis.componentRef.instance.messages = this.formErrorMessage().errors;\n\t\t\t\t\tthis.viewContainerRef.insert(this.componentRef.hostView);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n}\n","import { FormArray, FormControl, FormGroup } from '@angular/forms';\n\nexport const checkValidInputs = (formGroup: FormGroup | FormArray) => {\n\tObject.keys(formGroup.controls).forEach((field) => {\n\t\tconst control = formGroup.get(field);\n\n\t\tif (control instanceof FormControl) {\n\t\t\tcontrol.markAsTouched({ onlySelf: true });\n\t\t\tcontrol.markAsDirty({ onlySelf: true });\n\t\t} else if (control instanceof FormGroup || control instanceof FormArray) {\n\t\t\tcheckValidInputs(control);\n\t\t}\n\t});\n};\n","import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';\n\nexport const addControlsWithValidation = (\n\tform: FormGroup,\n\tcontrols: { name: string; validator?: ValidatorFn; disabled?: boolean }[]\n) => {\n\tcontrols.forEach((control) => {\n\t\tif (!form.contains(control.name)) {\n\t\t\tform.addControl(\n\t\t\t\tcontrol.name,\n\t\t\t\tnew FormControl({ value: null, disabled: control?.disabled || false }, control.validator)\n\t\t\t);\n\t\t}\n\t});\n};\n\nexport const removeControls = (form: FormGroup, controlNames: string[]) => {\n\tcontrolNames.forEach((controlName) => {\n\t\tif (form.contains(controlName)) {\n\t\t\tform.removeControl(controlName);\n\t\t}\n\t});\n};\n\nexport const updateValueAndValidities = (form: FormGroup, controlNames: string[]) => {\n\tcontrolNames.forEach((controlName) => {\n\t\tif (form.contains(controlName)) {\n\t\t\tform.get(controlName)?.updateValueAndValidity();\n\t\t}\n\t});\n};\n","/* eslint-disable @angular-eslint/directive-selector */\nimport { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n\tstandalone: true,\n\tselector: '[flexGrid]'\n})\nexport class FlexGridDirective {\n\t@HostBinding('class') hostClass = 'grid p-fluid m-0 p-0';\n}\n","import { inject } from '@angular/core';\nimport { FormControlDirective, FormControlName, NgControl, NgModel } from '@angular/forms';\n\nimport { TooltipOptions } from 'primeng/api';\n\nexport abstract class BaseInputComponent {\n\tngControl = injectNgControl();\n\n\ttooltipOptions: TooltipOptions = {\n\t\ttooltipPosition: 'top',\n\t\ttooltipEvent: 'focus',\n\t\ttooltipStyleClass: 'tooltipErrorMessage'\n\t};\n}\n\nexport function injectNgControl() {\n\tconst ngControl = inject(NgControl, { self: true, optional: true });\n\n\tif (!ngControl) throw new Error('NgModel or FormControlName or FormControlDirective is required');\n\n\tif (\n\t\tngControl instanceof NgModel ||\n\t\tngControl instanceof FormControlName ||\n\t\tngControl instanceof FormControlDirective\n\t) {\n\t\treturn ngControl;\n\t}\n\n\tthrow new Error('Something went wrong in InjectNgControl');\n}\n","import { Injectable } from '@angular/core';\nimport { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\n\nimport 'aril/util/primitive-extensions';\n\nexport type DateRangeFormat = 'minute' | 'hour' | 'day' | 'month' | 'year';\n\n@Injectable({\n\tprovidedIn: 'root'\n})\nexport class CommonInputValidatorsService {\n\t/**\n\t * @param sdCtrlName - name of the start date form control\n\t * @param edCtrlName - name of the end date form control\n\t * @param rangeValue - range between start and end date. Default value is 1\n\t * @param rangeFormat - format of the range. Default value is \"day\"\n\t */\n\tdateRange(sdCtrlName: string, edCtrlName: string, rangeValue = 0, rangeFormat: DateRangeFormat = 'day'): ValidatorFn {\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\n\t\t\tconst start: number = control.get(sdCtrlName)?.value;\n\t\t\tconst end: number = control.get(edCtrlName)?.value;\n\n\t\t\tconst startJSDate = start.longToDate();\n\t\t\tconst endJSDate = end.longToDate();\n\n\t\t\tif (startJSDate && endJSDate) {\n\t\t\t\tconst isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;\n\n\t\t\t\treturn isRangeValid ? null : (\n\t\t\t\t\t\t{ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` }\n\t\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn null;\n\t\t};\n\t}\n\n\t/**\n\t * @description - pasword match vs.\n\t */\n\tstrictMatch(controlName: string, matchingControlName: string): ValidatorFn {\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\n\t\t\tconst firstField = control.get(controlName);\n\t\t\tconst secondField = control.get(matchingControlName);\n\n\t\t\tif (!firstField || !secondField) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif (firstField.value !== secondField.value) {\n\t\t\t\treturn { strictMatch: `${controlName} and ${matchingControlName} do not match` };\n\t\t\t}\n\n\t\t\treturn null;\n\t\t};\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tstandalone: true,\n\tname: 'inputErrorMessage'\n})\nexport class InputErrorMessagePipe implements PipeTransform {\n\ttransform(value: any, ...args: any[]): string {\n\t\tconst control = args[0];\n\t\tconst errorKeys = Object.keys(control.errors || {});\n\n\t\tif (errorKeys.length) {\n\t\t\tconst errorKey = errorKeys[0];\n\t\t\tconst errorValue = control.errors![errorKey];\n\n\t\t\tswitch (errorKey) {\n\t\t\t\tcase 'required':\n\t\t\t\t\treturn 'This field is required';\n\t\t\t\tcase 'min':\n\t\t\t\t\treturn `Minimum value is ${errorValue.min}`;\n\t\t\t\tcase 'max':\n\t\t\t\t\treturn `Maximum value is ${errorValue.max}`;\n\t\t\t\tcase 'minlength':\n\t\t\t\t\treturn `Minimum length is ${errorValue.requiredLength}`;\n\t\t\t\tcase 'maxlength':\n\t\t\t\t\treturn `Maximum length is ${errorValue.requiredLength}`;\n\t\t\t\tcase 'email':\n\t\t\t\t\treturn 'Invalid email';\n\t\t\t\tcase 'pattern':\n\t\t\t\t\treturn 'Invalid format';\n\t\t\t\tdefault:\n\t\t\t\t\treturn errorValue;\n\t\t\t}\n\t\t}\n\n\t\treturn '';\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Pipe, PipeTransform, inject } from '@angular/core';\n\nimport { InputErrorMessagePipe } from './input-error-message.pipe';\n\n@Pipe({\n\tstandalone: true,\n\tname: 'dxInputErrorMessage'\n})\nexport class DXInputErrorMessagePipe implements PipeTransform {\n\terrorMsgPipe = inject(InputErrorMessagePipe);\n\n\ttransform(value: any, ...args: any[]): { message: string } {\n\t\treturn { message: this.errorMsgPipe.transform(value, ...args) };\n\t}\n}\n","import { Directive, Input } from '@angular/core';\nimport { NgControl } from '@angular/forms';\n\n@Directive({\n\tstandalone: true,\n\tselector: '[arilDisabled]'\n})\nexport class InputDisabledDirective {\n\tconstructor(private ngControl: NgControl) {}\n\n\t@Input() set arilDisabled(condition: boolean) {\n\t\tconst action = condition ? 'disable' : 'enable';\n\t\tif (this.ngControl.control) this.ngControl.control[action]();\n\t}\n}\n","import { PrimeIcons } from 'primeng/api';\n\nexport type PrimeIcon = Exclude<keyof typeof PrimeIcons, 'prototype'>;\nexport function iconTransform(icon: PrimeIcon): string {\n\treturn PrimeIcons[icon];\n}\n\nexport type IconPosTypes = 'right' | 'left';\nexport function iconPosTransform(pos: IconPosTypes): string {\n\treturn 'p-input-icon-' + pos;\n}\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Directive } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\n@Directive({\n\tstandalone: true,\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tmulti: true,\n\t\t\tuseExisting: ValueAccessorDirective\n\t\t}\n\t]\n})\nexport class ValueAccessorDirective implements ControlValueAccessor {\n\twriteValue(obj: any): void {\n\t\treturn;\n\t}\n\tregisterOnChange(fn: any): void {\n\t\treturn;\n\t}\n\tregisterOnTouched(fn: any): void {\n\t\treturn;\n\t}\n}\n","/* form */\nexport * from './src/form/form-error-message.directive';\nexport * from './src/form/form-validation';\nexport * from './src/form/form-field-builder';\n\n/* grid */\nexport * from './src/grid/flex-grid.directive';\n\n/* input */\nexport * from './src/input/baseInput';\nexport * from './src/input/common-input-validators.service';\nexport * from './src/input/dx-input-error-message.pipe';\nexport * from './src/input/input-disabled.directive';\nexport * from './src/input/input-error-message.pipe';\nexport * from './src/input/input-transforms';\nexport * from './src/input/value-accessor.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;MAgBa,0BAA0B,CAAA;IAGtC,IAAa,QAAQ,CAAC,QAAiC,EAAA;AACtD,QAAA,IAAI,CAAC,UAAU,GAAG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AAsB,EARvB,YAAA,EAAA,IAAA,EAAA,SAAA,EAAA;AACV,YAAA;AACC,gBAAA,OAAO,EAAE,iBAAiB;AAC1B,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,WAAW,EAAE,sBAAsB;AACnC,aAAA;AACD,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAEW,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,WAAW,EAAwB,sBAAA;AACnC,yBAAA;AACD,qBAAA;AACD,iBAAA,CAAA;;;ACfD;;ACAA;;AAEG;;;;"}
@@ -1,8 +1,8 @@
1
+ import { NgStyle } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
3
  import { input, Component } from '@angular/core';
3
4
  import * as i2 from '@angular/forms';
4
5
  import { ReactiveFormsModule } from '@angular/forms';
5
- import { NgStyle } from '@angular/common';
6
6
  import * as i3 from 'primeng/inputmask';
7
7
  import { InputMaskModule } from 'primeng/inputmask';
8
8
  import * as i1 from 'aril/ui/lib';
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-mask.mjs","sources":["../../projects/aril/ui/mask/src/mask.component.ts","../../projects/aril/ui/mask/src/mask.component.html","../../projects/aril/ui/mask/aril-ui-mask.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NgStyle } from '@angular/common';\n\nimport { InputMaskModule } from 'primeng/inputmask';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\n/**\n * a - alphabetic characters\n * 9 - numeric characters\n * * - alphanumeric characters\n * ? - optional characters\n * formatting characters -> (), -\n */\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]',\n\ttemplateUrl: './mask.component.html',\n\tstyleUrl: './mask.component.css',\n\timports: [ReactiveFormsModule, NgStyle, InputMaskModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class MaskComponent extends BaseInputComponent {\n\tmask = input.required<string>();\n\tslotChar = input<string>('_');\n\tplaceholder = input<string>('');\n\tmaxlength = input<number>(100);\n\tusageInGrid = input<boolean>(true);\n\ttabindex = input<number>();\n\n\tshowTooltip = false;\n}\n","<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\n\t<p-inputMask\n\t\t[mask]=\"mask()\"\n\t\t[slotChar]=\"slotChar()\"\n\t\t[placeholder]=\"placeholder()\"\n\t\t[maxlength]=\"maxlength()\"\n\t\t[formControl]=\"ngControl.control\"\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\n\t\t(onFocus)=\"showTooltip = true\"\n\t\t(onBlur)=\"showTooltip = false\">\n\t</p-inputMask>\n\t@if (ngControl.invalid && showTooltip) {\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\n\t\t</div>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA;;;;;;AAMG;AAUG,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AARrD,IAAA,WAAA,GAAA;;AASC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAChC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AAC/B,QA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e,EAAE,qBAAqB,CAAC,EAC/D,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,snBAAA,EAAA,MAAA,EAAA,CAAA,2XAAA,CAAA,EAAA,CAAA;;;AEtBzC;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-mask.mjs","sources":["../../projects/aril/ui/mask/src/mask.component.ts","../../projects/aril/ui/mask/src/mask.component.html","../../projects/aril/ui/mask/aril-ui-mask.ts"],"sourcesContent":["import { NgStyle } from '@angular/common';\nimport { Component, input } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { InputMaskModule } from 'primeng/inputmask';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\n/**\n * a - alphabetic characters\n * 9 - numeric characters\n * * - alphanumeric characters\n * ? - optional characters\n * formatting characters -> (), -\n */\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]',\n\ttemplateUrl: './mask.component.html',\n\tstyleUrl: './mask.component.css',\n\timports: [ReactiveFormsModule, NgStyle, InputMaskModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class MaskComponent extends BaseInputComponent {\n\tmask = input.required<string>();\n\tslotChar = input<string>('_');\n\tplaceholder = input<string>('');\n\tmaxlength = input<number>(100);\n\tusageInGrid = input<boolean>(true);\n\ttabindex = input<number>();\n\n\tshowTooltip = false;\n}\n","<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\n\t<p-inputMask\n\t\t[mask]=\"mask()\"\n\t\t[slotChar]=\"slotChar()\"\n\t\t[placeholder]=\"placeholder()\"\n\t\t[maxlength]=\"maxlength()\"\n\t\t[formControl]=\"ngControl.control\"\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\n\t\t(onFocus)=\"showTooltip = true\"\n\t\t(onBlur)=\"showTooltip = false\">\n\t</p-inputMask>\n\t@if (ngControl.invalid && showTooltip) {\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\n\t\t</div>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA;;;;;;AAMG;AAUG,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AARrD,IAAA,WAAA,GAAA;;AASC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAChC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,IAAI,CAAC,CAAC;QACnC,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;QAE3B,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AACpB,KAAA;8GATY,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wEAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,i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A,EAAA,gBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,MAAA,EAAA,UAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,YAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAA,EAAA,SAAA,EAAA,QAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAE,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGlE,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,wEAAwE,EAGzE,OAAA,EAAA,CAAC,mBAAmB,EAAE,OAAO,EAAE,eAAe,EAAE,qBAAqB,CAAC,EAC/D,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,snBAAA,EAAA,MAAA,EAAA,CAAA,2XAAA,CAAA,EAAA,CAAA;;;AEtBzC;;AAEG;;;;"}
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { input, computed, Component } from '@angular/core';
3
3
  import * as i2 from '@angular/forms';
4
4
  import { ReactiveFormsModule } from '@angular/forms';
5
- import * as i4 from 'primeng/tooltip';
6
- import { TooltipModule } from 'primeng/tooltip';
7
5
  import * as i3 from 'primeng/inputnumber';
8
6
  import { InputNumberModule } from 'primeng/inputnumber';
7
+ import * as i4 from 'primeng/tooltip';
8
+ import { TooltipModule } from 'primeng/tooltip';
9
9
  import * as i1 from 'aril/ui/lib';
10
10
  import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
11
11
 
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-number.mjs","sources":["../../projects/aril/ui/number/src/number.component.ts","../../projects/aril/ui/number/src/number.component.html","../../projects/aril/ui/number/aril-ui-number.ts"],"sourcesContent":["import { Component, computed, input } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { TooltipModule } from 'primeng/tooltip';\nimport { InputNumberModule } from 'primeng/inputnumber';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\ntype ButtonLayouts = 'stacked' | 'horizontal' | 'vertical';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-number[ngModel], aril-number[formControl], aril-number[formControlName]',\n\ttemplateUrl: './number.component.html',\n\timports: [ReactiveFormsModule, InputNumberModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class NumberComponent extends BaseInputComponent {\n\tmin = input<number>();\n\tmax = input<number>();\n\tshowButtons = input(false);\n\tplaceholder = input<string>('');\n\tprefix = input<string>();\n\tsuffix = input<string>();\n\tmaxlength = input<any>();\n\tshowClear = input(false);\n\tuseGrouping = input(true);\n\tmaxDigits = input<number>();\n\tminDigits = input<number>();\n\ttabindex = input<number>();\n\tbuttonLayout = input<ButtonLayouts>('stacked');\n\n\t_style = computed(() => (this.buttonLayout() == 'vertical' ? { width: '3rem' } : {}));\n}\n","<p-inputNumber\n\t[min]=\"min()\"\n\t[max]=\"max()\"\n\tmode=\"decimal\"\n\tlocale=\"en-US\"\n\t[prefix]=\"prefix()\"\n\t[suffix]=\"suffix()\"\n\t[maxlength]=\"maxlength()\"\n\t[showClear]=\"showClear()\"\n\t[style]=\"_style()\"\n\t[tabindex]=\"tabindex()\"\n\tspinnerMode=\"vertical\"\n\t[useGrouping]=\"useGrouping()\"\n\t[placeholder]=\"placeholder()\"\n\t[showButtons]=\"showButtons()\"\n\t[maxFractionDigits]=\"maxDigits()\"\n\t[minFractionDigits]=\"minDigits()\"\n\t[buttonLayout]=\"buttonLayout()\"\n\tincrementButtonClass=\"p-button-info\"\n\tdecrementButtonClass=\"p-button-danger\"\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t[tooltipOptions]=\"tooltipOptions\"\n\t[formControl]=\"ngControl.control\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\n</p-inputNumber>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAiBM,MAAO,eAAgB,SAAQ,kBAAkB,CAAA;AAPvD,IAAA,WAAA,GAAA;;QAQC,IAAG,CAAA,GAAA,GAAG,KAAK,EAAU,CAAC;QACtB,IAAG,CAAA,GAAA,GAAG,KAAK,EAAU,CAAC;AACtB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QAChC,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU,CAAC;QACzB,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU,CAAC;QACzB,IAAS,CAAA,SAAA,GAAG,KAAK,EAAO,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAS,CAAA,SAAA,GAAG,KAAK,EAAU,CAAC;QAC5B,IAAS,CAAA,SAAA,GAAG,KAAK,EAAU,CAAC;QAC5B,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAgB,SAAS,CAAC,CAAC;QAE/C,IAAM,CAAA,MAAA,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,YAAY,EAAE,IAAI,UAAU,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;AACtF,KAAA;8GAhBY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAA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EAAE,aAAa,EAAE,qBAAqB,CAAC,EACvE,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,m1BAAA,EAAA,CAAA;;;AEfzC;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-number.mjs","sources":["../../projects/aril/ui/number/src/number.component.ts","../../projects/aril/ui/number/src/number.component.html","../../projects/aril/ui/number/aril-ui-number.ts"],"sourcesContent":["import { Component, computed, input } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { InputNumberModule } from 'primeng/inputnumber';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\ntype ButtonLayouts = 'stacked' | 'horizontal' | 'vertical';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-number[ngModel], aril-number[formControl], aril-number[formControlName]',\n\ttemplateUrl: './number.component.html',\n\timports: [ReactiveFormsModule, InputNumberModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class NumberComponent extends BaseInputComponent {\n\tmin = input<number>();\n\tmax = input<number>();\n\tshowButtons = input(false);\n\tplaceholder = input<string>('');\n\tprefix = input<string>();\n\tsuffix = input<string>();\n\tmaxlength = input<any>();\n\tshowClear = input(false);\n\tuseGrouping = input(true);\n\tmaxDigits = input<number>();\n\tminDigits = input<number>();\n\ttabindex = input<number>();\n\tbuttonLayout = input<ButtonLayouts>('stacked');\n\n\t_style = computed(() => (this.buttonLayout() == 'vertical' ? { width: '3rem' } : {}));\n}\n","<p-inputNumber\n\t[min]=\"min()\"\n\t[max]=\"max()\"\n\tmode=\"decimal\"\n\tlocale=\"en-US\"\n\t[prefix]=\"prefix()\"\n\t[suffix]=\"suffix()\"\n\t[maxlength]=\"maxlength()\"\n\t[showClear]=\"showClear()\"\n\t[style]=\"_style()\"\n\t[tabindex]=\"tabindex()\"\n\tspinnerMode=\"vertical\"\n\t[useGrouping]=\"useGrouping()\"\n\t[placeholder]=\"placeholder()\"\n\t[showButtons]=\"showButtons()\"\n\t[maxFractionDigits]=\"maxDigits()\"\n\t[minFractionDigits]=\"minDigits()\"\n\t[buttonLayout]=\"buttonLayout()\"\n\tincrementButtonClass=\"p-button-info\"\n\tdecrementButtonClass=\"p-button-danger\"\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t[tooltipOptions]=\"tooltipOptions\"\n\t[formControl]=\"ngControl.control\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\n</p-inputNumber>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAiBM,MAAO,eAAgB,SAAQ,kBAAkB,CAAA;AAPvD,IAAA,WAAA,GAAA;;QAQC,IAAG,CAAA,GAAA,GAAG,KAAK,EAAU,CAAC;QACtB,IAAG,CAAA,GAAA,GAAG,KAAK,EAAU,CAAC;AACtB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QAChC,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU,CAAC;QACzB,IAAM,CAAA,MAAA,GAAG,KAAK,EAAU,CAAC;QACzB,IAAS,CAAA,SAAA,GAAG,KAAK,EAAO,CAAC;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAS,CAAA,SAAA,GAAG,KAAK,EAAU,CAAC;QAC5B,IAAS,CAAA,SAAA,GAAG,KAAK,EAAU,CAAC;QAC5B,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAgB,SAAS,CAAC,C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mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG1E,eAAe,EAAA,UAAA,EAAA,CAAA;kBAP3B,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,8EAA8E,EAE/E,OAAA,EAAA,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,aAAa,EAAE,qBAAqB,CAAC,EACvE,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,m1BAAA,EAAA,CAAA;;;AEfzC;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-overlayPanel.mjs","sources":["../../projects/aril/ui/overlayPanel/src/overlay-panel.component.ts","../../projects/aril/ui/overlayPanel/src/overlay-panel.component.html","../../projects/aril/ui/overlayPanel/aril-ui-overlayPanel.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, ViewChild } from '@angular/core';\n\nimport { OverlayPanel, OverlayPanelModule } from 'primeng/overlaypanel';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-overlay-panel',\n\ttemplateUrl: './overlay-panel.component.html',\n\timports: [OverlayPanelModule],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class OverlayPanelComponent {\n\tdismissable = input<boolean>(true);\n\n\t@ViewChild('ref') ref!: OverlayPanel;\n}\n","<p-overlayPanel #ref [dismissable]=\"dismissable()\">\n\t<ng-template pTemplate=\"content\">\n\t\t<ng-content></ng-content>\n\t</ng-template>\n</p-overlayPanel>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AAQC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,IAAI,CAAC,CAAC;AAGnC,KAAA;8GAJY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAA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ACZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,oKAAA,EAAA,CAAA;8BAK7B,GAAG,EAAA,CAAA;sBAApB,SAAS;uBAAC,KAAK,CAAA;;;AEdjB;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-overlayPanel.mjs","sources":["../../projects/aril/ui/overlayPanel/src/overlay-panel.component.ts","../../projects/aril/ui/overlayPanel/src/overlay-panel.component.html","../../projects/aril/ui/overlayPanel/aril-ui-overlayPanel.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewChild, input } from '@angular/core';\n\nimport { OverlayPanel, OverlayPanelModule } from 'primeng/overlaypanel';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-overlay-panel',\n\ttemplateUrl: './overlay-panel.component.html',\n\timports: [OverlayPanelModule],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class OverlayPanelComponent {\n\tdismissable = input<boolean>(true);\n\n\t@ViewChild('ref') ref!: OverlayPanel;\n}\n","<p-overlayPanel #ref [dismissable]=\"dismissable()\">\n\t<ng-template pTemplate=\"content\">\n\t\t<ng-content></ng-content>\n\t</ng-template>\n</p-overlayPanel>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AAQC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,IAAI,CAAC,CAAC;AAGnC,KAAA;8GAJY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,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angular/forms';
4
4
  import { ReactiveFormsModule } from '@angular/forms';
5
- import * as i3 from 'primeng/password';
6
- import { PasswordModule } from 'primeng/password';
7
5
  import * as i5 from 'primeng/divider';
8
6
  import { DividerModule } from 'primeng/divider';
7
+ import * as i3 from 'primeng/password';
8
+ import { PasswordModule } from 'primeng/password';
9
9
  import * as i6 from 'primeng/tooltip';
10
10
  import { TooltipModule } from 'primeng/tooltip';
11
11
  import * as i1 from 'aril/ui/lib';
@@ -1 +1 @@
1
- {"version":3,"file":"aril-ui-password.mjs","sources":["../../projects/aril/ui/password/src/password.component.ts","../../projects/aril/ui/password/src/password.component.html","../../projects/aril/ui/password/aril-ui-password.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { PasswordModule } from 'primeng/password';\nimport { DividerModule } from 'primeng/divider';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-password[ngModel], aril-password[formControl], aril-password[formControlName]',\n\ttemplateUrl: './password.component.html',\n\timports: [ReactiveFormsModule, PasswordModule, DividerModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class PasswordComponent extends BaseInputComponent {\n\tfeedback = input(false);\n\tpasswordCriterias = input<string[]>();\n\tplaceholder = input<string>('');\n\ttabindex = input<number>();\n}\n","<p-password\n\t[feedback]=\"feedback()\"\n\t[toggleMask]=\"true\"\n\t[placeholder]=\"placeholder()\"\n\t[tabindex]=\"tabindex\"\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t[tooltipOptions]=\"tooltipOptions\"\n\t[formControl]=\"ngControl.control\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\n\t@if (passwordCriterias()?.length) {\n\t\t<ng-template pTemplate=\"header\">\n\t\t\t<h6>Şifre Oluştur</h6>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"footer\">\n\t\t\t<p-divider></p-divider>\n\t\t\t<p class=\"mt-2\">Şartlar</p>\n\t\t\t<ul class=\"pl-2 ml-2 mt-0\" style=\"line-height: 1.5\">\n\t\t\t\t@for (criteria of passwordCriterias(); track criteria) {\n\t\t\t\t\t<li>{{ criteria }}</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t</ng-template>\n\t}\n</p-password>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBM,MAAO,iBAAkB,SAAQ,kBAAkB,CAAA;AAPzD,IAAA,WAAA,GAAA;;AAQC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACxB,IAAiB,CAAA,iBAAA,GAAG,KAAK,EAAY,CAAC;AACtC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QAChC,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,KAAA;8GALY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oFAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,U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cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,k1BAAA,EAAA,CAAA;;;AEdzC;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-password.mjs","sources":["../../projects/aril/ui/password/src/password.component.ts","../../projects/aril/ui/password/src/password.component.html","../../projects/aril/ui/password/aril-ui-password.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { DividerModule } from 'primeng/divider';\nimport { PasswordModule } from 'primeng/password';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-password[ngModel], aril-password[formControl], aril-password[formControlName]',\n\ttemplateUrl: './password.component.html',\n\timports: [ReactiveFormsModule, PasswordModule, DividerModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class PasswordComponent extends BaseInputComponent {\n\tfeedback = input(false);\n\tpasswordCriterias = input<string[]>();\n\tplaceholder = input<string>('');\n\ttabindex = input<number>();\n}\n","<p-password\n\t[feedback]=\"feedback()\"\n\t[toggleMask]=\"true\"\n\t[placeholder]=\"placeholder()\"\n\t[tabindex]=\"tabindex\"\n\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t[tooltipOptions]=\"tooltipOptions\"\n\t[formControl]=\"ngControl.control\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\n\t@if (passwordCriterias()?.length) {\n\t\t<ng-template pTemplate=\"header\">\n\t\t\t<h6>Şifre Oluştur</h6>\n\t\t</ng-template>\n\t\t<ng-template pTemplate=\"footer\">\n\t\t\t<p-divider></p-divider>\n\t\t\t<p class=\"mt-2\">Şartlar</p>\n\t\t\t<ul class=\"pl-2 ml-2 mt-0\" style=\"line-height: 1.5\">\n\t\t\t\t@for (criteria of passwordCriterias(); track criteria)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button.component.html","../../projects/aril/ui/radioButton/aril-ui-radioButton.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Component, computed, input, signal, Signal } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\ntype Aligns = 'horizontal' | 'vertical';\ninterface RadioButtonOption {\n\tkey: any;\n\tlabel: string;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-radio-button[ngModel], aril-radio-button[formControl], aril-radio-button[formControlName]',\n\ttemplateUrl: './radio-button.component.html',\n\timports: [ReactiveFormsModule, RadioButtonModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class RadioButtonComponent extends BaseInputComponent {\n\tconstructor() {\n\t\tsuper();\n\t\tthis._pAlign = computed(() => (this.align() == 'horizontal' ? 'flex flex-wrap gap-3' : 'flex flex-column'));\n\t\tthis._cAlign = computed(() => (this.align() == 'horizontal' ? 'flex align-items-center' : 'field-checkbox'));\n\t}\n\n\toptions = input.required<RadioButtonOption[]>();\n\ttabindex = input<number>();\n\talign = input<Aligns>('horizontal');\n\n\t_pAlign: Signal<string> = signal('flex flex-wrap gap-3');\n\t_cAlign: Signal<string> = signal('flex align-items-center');\n}\n","<div [class]=\"_pAlign()\">\n\t@for (item of options(); track item) {\n\t\t<div [class]=\"_cAlign()\">\n\t\t\t<p-radioButton\n\t\t\t\t[value]=\"item.key\"\n\t\t\t\t[inputId]=\"item.key\"\n\t\t\t\t[tabindex]=\"tabindex()\"\n\t\t\t\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t\t\t\t[tooltipOptions]=\"tooltipOptions\"\n\t\t\t\t[formControl]=\"ngControl.control\"\n\t\t\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\n\t\t\t</p-radioButton\n\t\t\t>&nbsp;\n\t\t\t<span class=\"ml-2\">{{ item.label }}</span>\n\t\t</div>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;AAuBM,MAAO,oBAAqB,SAAQ,kBAAkB,CAAA;AAC3D,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;AAKT,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAuB,CAAC;QAChD,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,YAAY,CAAC,CAAC;AAEpC,QAAA,IAAA,CAAA,OAAO,GAAmB,MAAM,CAAC,sBAAsB,CAAC,CAAC;AACzD,QAAA,IAAA,CAAA,OAAO,GAAmB,MAAM,CAAC,yBAAyB,CAAC,CAAC;QAT3D,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,KAAK,EAAE,IAAI,YAAY,GAAG,sBAAsB,GAAG,kBAAkB,CAAC,CAAC,CAAC;QAC5G,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,KAAK,EAAE,IAAI,YAAY,GAAG,yBAAyB,GAAG,gBAAgB,CAAC,CAAC,CAAC;KAC7G;8GALW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gGAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,E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UAAA,EAAA,iBAAA,EAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAE,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG1E,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,gGAAgG,EAEjG,OAAA,EAAA,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,aAAa,EAAE,qBAAqB,CAAC,EACvE,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,0lBAAA,EAAA,CAAA;;;AErBzC;;AAEG;;;;"}
1
+ {"version":3,"file":"aril-ui-radioButton.mjs","sources":["../../projects/aril/ui/radioButton/src/radio-button.component.ts","../../projects/aril/ui/radioButton/src/radio-button.component.html","../../projects/aril/ui/radioButton/aril-ui-radioButton.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Component, Signal, computed, input, signal } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { RadioButtonModule } from 'primeng/radiobutton';\nimport { TooltipModule } from 'primeng/tooltip';\n\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\ntype Aligns = 'horizontal' | 'vertical';\ninterface RadioButtonOption {\n\tkey: any;\n\tlabel: string;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-radio-button[ngModel], aril-radio-button[formControl], aril-radio-button[formControlName]',\n\ttemplateUrl: './radio-button.component.html',\n\timports: [ReactiveFormsModule, RadioButtonModule, TooltipModule, InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class RadioButtonComponent extends BaseInputComponent {\n\tconstructor() {\n\t\tsuper();\n\t\tthis._pAlign = computed(() => (this.align() == 'horizontal' ? 'flex flex-wrap gap-3' : 'flex flex-column'));\n\t\tthis._cAlign = computed(() => (this.align() == 'horizontal' ? 'flex align-items-center' : 'field-checkbox'));\n\t}\n\n\toptions = input.required<RadioButtonOption[]>();\n\ttabindex = input<number>();\n\talign = input<Aligns>('horizontal');\n\n\t_pAlign: Signal<string> = signal('flex flex-wrap gap-3');\n\t_cAlign: Signal<string> = signal('flex align-items-center');\n}\n","<div [class]=\"_pAlign()\">\n\t@for (item of options(); track item) {\n\t\t<div [class]=\"_cAlign()\">\n\t\t\t<p-radioButton\n\t\t\t\t[value]=\"item.key\"\n\t\t\t\t[inputId]=\"item.key\"\n\t\t\t\t[tabindex]=\"tabindex()\"\n\t\t\t\t[pTooltip]=\"ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''\"\n\t\t\t\t[tooltipOptions]=\"tooltipOptions\"\n\t\t\t\t[formControl]=\"ngControl.control\"\n\t\t\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\">\n\t\t\t</p-radioButton\n\t\t\t>&nbsp;\n\t\t\t<span class=\"ml-2\">{{ item.label }}</span>\n\t\t</div>\n\t}\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;AAsBM,MAAO,oBAAqB,SAAQ,kBAAkB,CAAA;AAC3D,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;AAKT,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAuB,CAAC;QAChD,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,YAAY,CAAC,CAAC;AAEpC,QAAA,IAAA,CAAA,OAAO,GAAmB,MAAM,CAAC,sBAAsB,CAAC,CAAC;AACzD,QAAA,IAAA,CAAA,OAAO,GAAmB,MAAM,CAAC,yBAAyB,CAAC,CAAC;QAT3D,IAAI,CAAC,OAAO,GAAG,QAAQ,CA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