limitng 0.16.39 → 0.16.41

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 (327) hide show
  1. package/esm2022/alt-buyuk-kart/alt-buyuk-kart.component.mjs +7 -7
  2. package/esm2022/alt-kucuk-kart/alt-kucuk-kart.component.mjs +7 -7
  3. package/esm2022/dikey-baslikli-panel/dikey-baslikli-panel.component.mjs +7 -7
  4. package/esm2022/directives/adAlani.directive/adAlani.directive.mjs +7 -7
  5. package/esm2022/directives/buyukHarf.directive/buyukHarf.directive.mjs +7 -7
  6. package/esm2022/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.mjs +7 -7
  7. package/esm2022/directives/disable.directive/disable.directive.mjs +7 -7
  8. package/esm2022/directives/flexBasis.directive/flexBasis.directive.mjs +13 -13
  9. package/esm2022/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.mjs +7 -7
  10. package/esm2022/directives/kodAlani.directive/kodAlani.directive.mjs +7 -7
  11. package/esm2022/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.mjs +7 -7
  12. package/esm2022/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.mjs +7 -7
  13. package/esm2022/directives/sutunGenisligi.directive/sutunGenisligi.directive.mjs +16 -16
  14. package/esm2022/directives/tumBoslukSil.directive/tumBoslukSil.directive.mjs +7 -7
  15. package/esm2022/directives/tumIlkHarfBuyuk.directive/tumIlkHarfBuyuk.directive.mjs +7 -7
  16. package/esm2022/filtre-bar/filtre-bar.component.mjs +7 -7
  17. package/esm2022/geri-ileri-detay/geri-ileri-detay.component.mjs +7 -7
  18. package/esm2022/geri-ileri-liste/geri-ileri-liste.component.mjs +7 -7
  19. package/esm2022/pipes/boolToPlus.pipe/boolToPlus.pipe.mjs +7 -7
  20. package/esm2022/pipes/boolToPlusMinus.pipe/boolToPlusMinus.pipe.mjs +7 -7
  21. package/esm2022/pipes/dateToText.pipe/dateToText.pipe.mjs +7 -7
  22. package/esm2022/pipes/mecraTuru.pipe/mecraTuru.pipe.mjs +7 -7
  23. package/esm2022/pipes/safe.pipe/safe.pipe.mjs +7 -7
  24. package/esm2022/rapor-kart/rapor-kart.component.mjs +7 -7
  25. package/esm2022/sol-buyuk-kart/sol-buyuk-kart.component.mjs +7 -7
  26. package/esm2022/sol-kucuk-kart/sol-kucuk-kart.component.mjs +7 -7
  27. package/esm2022/yatay-baslikli-panel/yatay-baslikli-panel.component.mjs +7 -7
  28. package/fesm2022/limitng-alt-buyuk-kart.mjs +7 -7
  29. package/fesm2022/limitng-alt-kucuk-kart.mjs +7 -7
  30. package/fesm2022/limitng-dikey-baslikli-panel.mjs +7 -7
  31. package/fesm2022/limitng-directives.mjs +99 -99
  32. package/fesm2022/limitng-filtre-bar.mjs +7 -7
  33. package/fesm2022/limitng-geri-ileri-detay.mjs +7 -7
  34. package/fesm2022/limitng-geri-ileri-liste.mjs +7 -7
  35. package/fesm2022/limitng-pipes.mjs +35 -35
  36. package/fesm2022/limitng-rapor-kart.mjs +7 -7
  37. package/fesm2022/limitng-sol-buyuk-kart.mjs +7 -7
  38. package/fesm2022/limitng-sol-kucuk-kart.mjs +7 -7
  39. package/fesm2022/limitng-yatay-baslikli-panel.mjs +7 -7
  40. package/package.json +52 -52
  41. package/api/models/fourDConstants.d.ts +0 -84
  42. package/api/models/fourDConstants.d.ts.map +0 -1
  43. package/api/models/index.d.ts +0 -6
  44. package/api/models/kisisel/izin-islemleri/izinDetaylari.d.ts +0 -25
  45. package/api/models/kisisel/izin-islemleri/izinDetaylari.d.ts.map +0 -1
  46. package/api/models/kisisel/izin-islemleri/izinFiltre.d.ts +0 -14
  47. package/api/models/kisisel/izin-islemleri/izinFiltre.d.ts.map +0 -1
  48. package/api/models/kisisel/izin-islemleri/izinGuncelle.d.ts +0 -12
  49. package/api/models/kisisel/izin-islemleri/izinGuncelle.d.ts.map +0 -1
  50. package/api/models/kisisel/izin-islemleri/izinListe.d.ts +0 -28
  51. package/api/models/kisisel/izin-islemleri/izinListe.d.ts.map +0 -1
  52. package/api/models/kisisel/izin-islemleri/izinSilAlanlar.d.ts +0 -5
  53. package/api/models/kisisel/izin-islemleri/izinSilAlanlar.d.ts.map +0 -1
  54. package/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.d.ts +0 -83
  55. package/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.d.ts.map +0 -1
  56. package/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.d.ts +0 -41
  57. package/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.d.ts.map +0 -1
  58. package/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.d.ts +0 -8
  59. package/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.d.ts.map +0 -1
  60. package/api/models/kisisel/kullanici-onay-islemleri/onayListe.d.ts +0 -32
  61. package/api/models/kisisel/kullanici-onay-islemleri/onayListe.d.ts.map +0 -1
  62. package/api/models/kisisel/masraf-islemleri/masrafDetaylari.d.ts +0 -58
  63. package/api/models/kisisel/masraf-islemleri/masrafDetaylari.d.ts.map +0 -1
  64. package/api/models/kisisel/masraf-islemleri/masrafFiltre.d.ts +0 -17
  65. package/api/models/kisisel/masraf-islemleri/masrafFiltre.d.ts.map +0 -1
  66. package/api/models/kisisel/masraf-islemleri/masrafGuncelle.d.ts +0 -13
  67. package/api/models/kisisel/masraf-islemleri/masrafGuncelle.d.ts.map +0 -1
  68. package/api/models/kisisel/masraf-islemleri/masrafListe.d.ts +0 -83
  69. package/api/models/kisisel/masraf-islemleri/masrafListe.d.ts.map +0 -1
  70. package/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.d.ts +0 -5
  71. package/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.d.ts.map +0 -1
  72. package/api/models/limitng-api-models.d.ts.map +0 -1
  73. package/api/models/logbook/logbook.d.ts +0 -104
  74. package/api/models/logbook/logbook.d.ts.map +0 -1
  75. package/api/models/login/login.d.ts +0 -28
  76. package/api/models/login/login.d.ts.map +0 -1
  77. package/api/models/onayBilgi.d.ts +0 -9
  78. package/api/models/onayBilgi.d.ts.map +0 -1
  79. package/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.d.ts +0 -67
  80. package/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.d.ts.map +0 -1
  81. package/api/models/ortak.d.ts +0 -122
  82. package/api/models/ortak.d.ts.map +0 -1
  83. package/api/models/ozet/OzetKartAlan.d.ts +0 -16
  84. package/api/models/ozet/OzetKartAlan.d.ts.map +0 -1
  85. package/api/models/ozet/ozetData.d.ts +0 -22
  86. package/api/models/ozet/ozetData.d.ts.map +0 -1
  87. package/api/models/public_api.d.ts +0 -46
  88. package/api/models/public_api.d.ts.map +0 -1
  89. package/api/models/raporlar/izin-raporu/izinRaporDetaylari.d.ts +0 -15
  90. package/api/models/raporlar/izin-raporu/izinRaporDetaylari.d.ts.map +0 -1
  91. package/api/models/raporlar/izin-raporu/izinRaporListe.d.ts +0 -17
  92. package/api/models/raporlar/izin-raporu/izinRaporListe.d.ts.map +0 -1
  93. package/api/models/raporlar/listeden-sec/listeSecenekler.d.ts +0 -17
  94. package/api/models/raporlar/listeden-sec/listeSecenekler.d.ts.map +0 -1
  95. package/api/models/raporlar/rapor-detay/raporDetaylari.d.ts +0 -53
  96. package/api/models/raporlar/rapor-detay/raporDetaylari.d.ts.map +0 -1
  97. package/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.d.ts +0 -9
  98. package/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.d.ts.map +0 -1
  99. package/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.d.ts +0 -46
  100. package/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.d.ts.map +0 -1
  101. package/api/models/sistem-ozet/sistemOzetData.d.ts +0 -144
  102. package/api/models/sistem-ozet/sistemOzetData.d.ts.map +0 -1
  103. package/api/models/sistem-raporlari/sistemRaporlariData.d.ts +0 -11
  104. package/api/models/sistem-raporlari/sistemRaporlariData.d.ts.map +0 -1
  105. package/api/models/teklif-siparis/teklifDetaylari.d.ts +0 -25
  106. package/api/models/teklif-siparis/teklifDetaylari.d.ts.map +0 -1
  107. package/api/models/teklif-siparis/teklifFiltre.d.ts +0 -14
  108. package/api/models/teklif-siparis/teklifFiltre.d.ts.map +0 -1
  109. package/api/models/teklif-siparis/teklifGuncelle.d.ts +0 -12
  110. package/api/models/teklif-siparis/teklifGuncelle.d.ts.map +0 -1
  111. package/api/models/teklif-siparis/teklifListe.d.ts +0 -27
  112. package/api/models/teklif-siparis/teklifListe.d.ts.map +0 -1
  113. package/api/models/teklif-siparis/teklifSilAlanlar.d.ts +0 -5
  114. package/api/models/teklif-siparis/teklifSilAlanlar.d.ts.map +0 -1
  115. package/api/models/theme/bildirimler.d.ts +0 -31
  116. package/api/models/theme/bildirimler.d.ts.map +0 -1
  117. package/api/models/timeSheet/timeSheetGirisListeler.d.ts +0 -325
  118. package/api/models/timeSheet/timeSheetGirisListeler.d.ts.map +0 -1
  119. package/api/models/timeSheet/timeSheetLog.d.ts +0 -15
  120. package/api/models/timeSheet/timeSheetLog.d.ts.map +0 -1
  121. package/api/models/timeSheet/timeSheetOzetListe.d.ts +0 -19
  122. package/api/models/timeSheet/timeSheetOzetListe.d.ts.map +0 -1
  123. package/api/models/timeSheet/timeSheetSecenekler.d.ts +0 -29
  124. package/api/models/timeSheet/timeSheetSecenekler.d.ts.map +0 -1
  125. package/api/models/xlConfig.d.ts +0 -196
  126. package/api/models/xlConfig.d.ts.map +0 -1
  127. package/api/models/xlConstants.d.ts +0 -60
  128. package/api/models/xlConstants.d.ts.map +0 -1
  129. package/api/models/xlOptions.d.ts +0 -27
  130. package/api/models/xlOptions.d.ts.map +0 -1
  131. package/api/models/xlTools.d.ts +0 -3
  132. package/api/models/xlTools.d.ts.map +0 -1
  133. package/directives/adAlani.directive/index.d.ts +0 -6
  134. package/directives/adAlani.directive/limitng-directives-adAlani.directive.d.ts.map +0 -1
  135. package/directives/adAlani.directive/public_api.d.ts +0 -2
  136. package/directives/adAlani.directive/public_api.d.ts.map +0 -1
  137. package/directives/buyukHarf.directive/index.d.ts +0 -6
  138. package/directives/buyukHarf.directive/limitng-directives-buyukHarf.directive.d.ts.map +0 -1
  139. package/directives/buyukHarf.directive/public_api.d.ts +0 -2
  140. package/directives/buyukHarf.directive/public_api.d.ts.map +0 -1
  141. package/directives/ciftBoslukTek.directive/index.d.ts +0 -6
  142. package/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.d.ts.map +0 -1
  143. package/directives/ciftBoslukTek.directive/public_api.d.ts +0 -2
  144. package/directives/ciftBoslukTek.directive/public_api.d.ts.map +0 -1
  145. package/directives/disable.directive/index.d.ts +0 -6
  146. package/directives/disable.directive/limitng-directives-disable.directive.d.ts.map +0 -1
  147. package/directives/disable.directive/public_api.d.ts +0 -2
  148. package/directives/disable.directive/public_api.d.ts.map +0 -1
  149. package/directives/flexBasis.directive/index.d.ts +0 -6
  150. package/directives/flexBasis.directive/limitng-directives-flexBasis.directive.d.ts.map +0 -1
  151. package/directives/flexBasis.directive/public_api.d.ts +0 -2
  152. package/directives/flexBasis.directive/public_api.d.ts.map +0 -1
  153. package/directives/ilkHarfBuyuk.directive/index.d.ts +0 -6
  154. package/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.d.ts.map +0 -1
  155. package/directives/ilkHarfBuyuk.directive/public_api.d.ts +0 -2
  156. package/directives/ilkHarfBuyuk.directive/public_api.d.ts.map +0 -1
  157. package/directives/kodAlani.directive/index.d.ts +0 -6
  158. package/directives/kodAlani.directive/limitng-directives-kodAlani.directive.d.ts.map +0 -1
  159. package/directives/kodAlani.directive/public_api.d.ts +0 -2
  160. package/directives/kodAlani.directive/public_api.d.ts.map +0 -1
  161. package/directives/maksimumUzunluk.directive/index.d.ts +0 -6
  162. package/directives/maksimumUzunluk.directive/limitng-directives-maksimumUzunluk.directive.d.ts.map +0 -1
  163. package/directives/maksimumUzunluk.directive/public_api.d.ts +0 -2
  164. package/directives/maksimumUzunluk.directive/public_api.d.ts.map +0 -1
  165. package/directives/sagSolBoslukSil.directive/index.d.ts +0 -6
  166. package/directives/sagSolBoslukSil.directive/limitng-directives-sagSolBoslukSil.directive.d.ts.map +0 -1
  167. package/directives/sagSolBoslukSil.directive/public_api.d.ts +0 -2
  168. package/directives/sagSolBoslukSil.directive/public_api.d.ts.map +0 -1
  169. package/directives/sutunGenisligi.directive/index.d.ts +0 -6
  170. package/directives/sutunGenisligi.directive/limitng-directives-sutunGenisligi.directive.d.ts.map +0 -1
  171. package/directives/sutunGenisligi.directive/public_api.d.ts +0 -2
  172. package/directives/sutunGenisligi.directive/public_api.d.ts.map +0 -1
  173. package/directives/tumBoslukSil.directive/index.d.ts +0 -6
  174. package/directives/tumBoslukSil.directive/limitng-directives-tumBoslukSil.directive.d.ts.map +0 -1
  175. package/directives/tumBoslukSil.directive/public_api.d.ts +0 -2
  176. package/directives/tumBoslukSil.directive/public_api.d.ts.map +0 -1
  177. package/directives/tumIlkHarfBuyuk.directive/index.d.ts +0 -6
  178. package/directives/tumIlkHarfBuyuk.directive/limitng-directives-tumIlkHarfBuyuk.directive.d.ts.map +0 -1
  179. package/directives/tumIlkHarfBuyuk.directive/public_api.d.ts +0 -2
  180. package/directives/tumIlkHarfBuyuk.directive/public_api.d.ts.map +0 -1
  181. package/esm2022/api/models/fourDConstants.mjs +0 -88
  182. package/esm2022/api/models/kisisel/izin-islemleri/izinDetaylari.mjs +0 -16
  183. package/esm2022/api/models/kisisel/izin-islemleri/izinFiltre.mjs +0 -17
  184. package/esm2022/api/models/kisisel/izin-islemleri/izinGuncelle.mjs +0 -6
  185. package/esm2022/api/models/kisisel/izin-islemleri/izinListe.mjs +0 -25
  186. package/esm2022/api/models/kisisel/izin-islemleri/izinSilAlanlar.mjs +0 -7
  187. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.mjs +0 -41
  188. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.mjs +0 -42
  189. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.mjs +0 -10
  190. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayListe.mjs +0 -35
  191. package/esm2022/api/models/kisisel/masraf-islemleri/masrafDetaylari.mjs +0 -54
  192. package/esm2022/api/models/kisisel/masraf-islemleri/masrafFiltre.mjs +0 -20
  193. package/esm2022/api/models/kisisel/masraf-islemleri/masrafGuncelle.mjs +0 -6
  194. package/esm2022/api/models/kisisel/masraf-islemleri/masrafListe.mjs +0 -41
  195. package/esm2022/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.mjs +0 -7
  196. package/esm2022/api/models/limitng-api-models.mjs +0 -5
  197. package/esm2022/api/models/logbook/logbook.mjs +0 -111
  198. package/esm2022/api/models/login/login.mjs +0 -18
  199. package/esm2022/api/models/onayBilgi.mjs +0 -9
  200. package/esm2022/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.mjs +0 -56
  201. package/esm2022/api/models/ortak.mjs +0 -90
  202. package/esm2022/api/models/ozet/OzetKartAlan.mjs +0 -2
  203. package/esm2022/api/models/ozet/ozetData.mjs +0 -2
  204. package/esm2022/api/models/public_api.mjs +0 -46
  205. package/esm2022/api/models/raporlar/izin-raporu/izinRaporDetaylari.mjs +0 -8
  206. package/esm2022/api/models/raporlar/izin-raporu/izinRaporListe.mjs +0 -19
  207. package/esm2022/api/models/raporlar/listeden-sec/listeSecenekler.mjs +0 -19
  208. package/esm2022/api/models/raporlar/rapor-detay/raporDetaylari.mjs +0 -63
  209. package/esm2022/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.mjs +0 -7
  210. package/esm2022/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.mjs +0 -47
  211. package/esm2022/api/models/sistem-ozet/sistemOzetData.mjs +0 -172
  212. package/esm2022/api/models/sistem-raporlari/sistemRaporlariData.mjs +0 -8
  213. package/esm2022/api/models/teklif-siparis/teklifDetaylari.mjs +0 -16
  214. package/esm2022/api/models/teklif-siparis/teklifFiltre.mjs +0 -17
  215. package/esm2022/api/models/teklif-siparis/teklifGuncelle.mjs +0 -6
  216. package/esm2022/api/models/teklif-siparis/teklifListe.mjs +0 -27
  217. package/esm2022/api/models/teklif-siparis/teklifSilAlanlar.mjs +0 -7
  218. package/esm2022/api/models/theme/bildirimler.mjs +0 -39
  219. package/esm2022/api/models/timeSheet/timeSheetGirisListeler.mjs +0 -305
  220. package/esm2022/api/models/timeSheet/timeSheetLog.mjs +0 -14
  221. package/esm2022/api/models/timeSheet/timeSheetOzetListe.mjs +0 -22
  222. package/esm2022/api/models/timeSheet/timeSheetSecenekler.mjs +0 -30
  223. package/esm2022/api/models/xlConfig.mjs +0 -438
  224. package/esm2022/api/models/xlConstants.mjs +0 -66
  225. package/esm2022/api/models/xlOptions.mjs +0 -34
  226. package/esm2022/api/models/xlTools.mjs +0 -3
  227. package/esm2022/directives/adAlani.directive/limitng-directives-adAlani.directive.mjs +0 -5
  228. package/esm2022/directives/adAlani.directive/public_api.mjs +0 -2
  229. package/esm2022/directives/buyukHarf.directive/limitng-directives-buyukHarf.directive.mjs +0 -5
  230. package/esm2022/directives/buyukHarf.directive/public_api.mjs +0 -2
  231. package/esm2022/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.mjs +0 -5
  232. package/esm2022/directives/ciftBoslukTek.directive/public_api.mjs +0 -2
  233. package/esm2022/directives/disable.directive/limitng-directives-disable.directive.mjs +0 -5
  234. package/esm2022/directives/disable.directive/public_api.mjs +0 -2
  235. package/esm2022/directives/flexBasis.directive/limitng-directives-flexBasis.directive.mjs +0 -5
  236. package/esm2022/directives/flexBasis.directive/public_api.mjs +0 -2
  237. package/esm2022/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.mjs +0 -5
  238. package/esm2022/directives/ilkHarfBuyuk.directive/public_api.mjs +0 -2
  239. package/esm2022/directives/kodAlani.directive/limitng-directives-kodAlani.directive.mjs +0 -5
  240. package/esm2022/directives/kodAlani.directive/public_api.mjs +0 -2
  241. package/esm2022/directives/maksimumUzunluk.directive/limitng-directives-maksimumUzunluk.directive.mjs +0 -5
  242. package/esm2022/directives/maksimumUzunluk.directive/public_api.mjs +0 -2
  243. package/esm2022/directives/sagSolBoslukSil.directive/limitng-directives-sagSolBoslukSil.directive.mjs +0 -5
  244. package/esm2022/directives/sagSolBoslukSil.directive/public_api.mjs +0 -2
  245. package/esm2022/directives/sutunGenisligi.directive/limitng-directives-sutunGenisligi.directive.mjs +0 -5
  246. package/esm2022/directives/sutunGenisligi.directive/public_api.mjs +0 -2
  247. package/esm2022/directives/tumBoslukSil.directive/limitng-directives-tumBoslukSil.directive.mjs +0 -5
  248. package/esm2022/directives/tumBoslukSil.directive/public_api.mjs +0 -2
  249. package/esm2022/directives/tumIlkHarfBuyuk.directive/limitng-directives-tumIlkHarfBuyuk.directive.mjs +0 -5
  250. package/esm2022/directives/tumIlkHarfBuyuk.directive/public_api.mjs +0 -2
  251. package/esm2022/pipes/boolToPlus.pipe/limitng-pipes-boolToPlus.pipe.mjs +0 -5
  252. package/esm2022/pipes/boolToPlus.pipe/public_api.mjs +0 -2
  253. package/esm2022/pipes/boolToPlusMinus.pipe/limitng-pipes-boolToPlusMinus.pipe.mjs +0 -5
  254. package/esm2022/pipes/boolToPlusMinus.pipe/public_api.mjs +0 -2
  255. package/esm2022/pipes/dateToText.pipe/limitng-pipes-dateToText.pipe.mjs +0 -5
  256. package/esm2022/pipes/dateToText.pipe/public_api.mjs +0 -2
  257. package/esm2022/pipes/evetHayir.pipe/evetHayir.pipe.mjs +0 -29
  258. package/esm2022/pipes/evetHayir.pipe/limitng-pipes-evetHayir.pipe.mjs +0 -5
  259. package/esm2022/pipes/evetHayir.pipe/public_api.mjs +0 -2
  260. package/esm2022/pipes/mecraTuru.pipe/limitng-pipes-mecraTuru.pipe.mjs +0 -5
  261. package/esm2022/pipes/mecraTuru.pipe/public_api.mjs +0 -2
  262. package/esm2022/pipes/safe.pipe/limitng-pipes-safe.pipe.mjs +0 -5
  263. package/esm2022/pipes/safe.pipe/public_api.mjs +0 -2
  264. package/fesm2022/limitng-api-models.mjs +0 -2203
  265. package/fesm2022/limitng-api-models.mjs.map +0 -1
  266. package/fesm2022/limitng-directives-adAlani.directive.mjs +0 -100
  267. package/fesm2022/limitng-directives-adAlani.directive.mjs.map +0 -1
  268. package/fesm2022/limitng-directives-buyukHarf.directive.mjs +0 -82
  269. package/fesm2022/limitng-directives-buyukHarf.directive.mjs.map +0 -1
  270. package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs +0 -83
  271. package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs.map +0 -1
  272. package/fesm2022/limitng-directives-disable.directive.mjs +0 -162
  273. package/fesm2022/limitng-directives-disable.directive.mjs.map +0 -1
  274. package/fesm2022/limitng-directives-flexBasis.directive.mjs +0 -81
  275. package/fesm2022/limitng-directives-flexBasis.directive.mjs.map +0 -1
  276. package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs +0 -83
  277. package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs.map +0 -1
  278. package/fesm2022/limitng-directives-kodAlani.directive.mjs +0 -100
  279. package/fesm2022/limitng-directives-kodAlani.directive.mjs.map +0 -1
  280. package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs +0 -88
  281. package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs.map +0 -1
  282. package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs +0 -82
  283. package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs.map +0 -1
  284. package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs +0 -114
  285. package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs.map +0 -1
  286. package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs +0 -83
  287. package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs.map +0 -1
  288. package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs +0 -86
  289. package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs.map +0 -1
  290. package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs +0 -36
  291. package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs.map +0 -1
  292. package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs +0 -36
  293. package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs.map +0 -1
  294. package/fesm2022/limitng-pipes-dateToText.pipe.mjs +0 -37
  295. package/fesm2022/limitng-pipes-dateToText.pipe.mjs.map +0 -1
  296. package/fesm2022/limitng-pipes-evetHayir.pipe.mjs +0 -36
  297. package/fesm2022/limitng-pipes-evetHayir.pipe.mjs.map +0 -1
  298. package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs +0 -37
  299. package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs.map +0 -1
  300. package/fesm2022/limitng-pipes-safe.pipe.mjs +0 -47
  301. package/fesm2022/limitng-pipes-safe.pipe.mjs.map +0 -1
  302. package/pipes/boolToPlus.pipe/index.d.ts +0 -6
  303. package/pipes/boolToPlus.pipe/limitng-pipes-boolToPlus.pipe.d.ts.map +0 -1
  304. package/pipes/boolToPlus.pipe/public_api.d.ts +0 -2
  305. package/pipes/boolToPlus.pipe/public_api.d.ts.map +0 -1
  306. package/pipes/boolToPlusMinus.pipe/index.d.ts +0 -6
  307. package/pipes/boolToPlusMinus.pipe/limitng-pipes-boolToPlusMinus.pipe.d.ts.map +0 -1
  308. package/pipes/boolToPlusMinus.pipe/public_api.d.ts +0 -2
  309. package/pipes/boolToPlusMinus.pipe/public_api.d.ts.map +0 -1
  310. package/pipes/dateToText.pipe/index.d.ts +0 -6
  311. package/pipes/dateToText.pipe/limitng-pipes-dateToText.pipe.d.ts.map +0 -1
  312. package/pipes/dateToText.pipe/public_api.d.ts +0 -2
  313. package/pipes/dateToText.pipe/public_api.d.ts.map +0 -1
  314. package/pipes/evetHayir.pipe/evetHayir.pipe.d.ts +0 -13
  315. package/pipes/evetHayir.pipe/evetHayir.pipe.d.ts.map +0 -1
  316. package/pipes/evetHayir.pipe/index.d.ts +0 -6
  317. package/pipes/evetHayir.pipe/limitng-pipes-evetHayir.pipe.d.ts.map +0 -1
  318. package/pipes/evetHayir.pipe/public_api.d.ts +0 -2
  319. package/pipes/evetHayir.pipe/public_api.d.ts.map +0 -1
  320. package/pipes/mecraTuru.pipe/index.d.ts +0 -6
  321. package/pipes/mecraTuru.pipe/limitng-pipes-mecraTuru.pipe.d.ts.map +0 -1
  322. package/pipes/mecraTuru.pipe/public_api.d.ts +0 -2
  323. package/pipes/mecraTuru.pipe/public_api.d.ts.map +0 -1
  324. package/pipes/safe.pipe/index.d.ts +0 -6
  325. package/pipes/safe.pipe/limitng-pipes-safe.pipe.d.ts.map +0 -1
  326. package/pipes/safe.pipe/public_api.d.ts +0 -2
  327. package/pipes/safe.pipe/public_api.d.ts.map +0 -1
@@ -1,83 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { EventEmitter, forwardRef, Directive, Self, Output, HostListener, NgModule } from '@angular/core';
4
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
- import { GlobalFunctions } from 'limitng/api';
6
-
7
- class CiftBoslukTekDirective {
8
- constructor(_elementRef, _renderer) {
9
- this._elementRef = _elementRef;
10
- this._renderer = _renderer;
11
- this.ciftBoslukTekChange = new EventEmitter();
12
- }
13
- onInput(event) {
14
- const value = GlobalFunctions.ciftBoslukTekYap(event.target.value);
15
- this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
16
- this._onChange(value);
17
- event.preventDefault();
18
- }
19
- /** Implementation for ControlValueAccessor interface */
20
- writeValue(value) {
21
- this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
22
- }
23
- /** Implementation for ControlValueAccessor interface */
24
- registerOnChange(fn) {
25
- this._onChange = fn;
26
- }
27
- /** Implementation for ControlValueAccessor interface */
28
- registerOnTouched(fn) {
29
- this._touched = fn;
30
- }
31
- /** Implementation for ControlValueAccessor interface */
32
- setDisabledState(isDisabled) {
33
- this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CiftBoslukTekDirective, deps: [{ token: i0.ElementRef, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
36
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: CiftBoslukTekDirective, selector: "[ciftBoslukTek]", outputs: { ciftBoslukTekChange: "ciftBoslukTekChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
37
- {
38
- provide: NG_VALUE_ACCESSOR,
39
- useExisting: forwardRef(() => CiftBoslukTekDirective),
40
- multi: true,
41
- },
42
- ], ngImport: i0 }); }
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CiftBoslukTekDirective, decorators: [{
45
- type: Directive,
46
- args: [{
47
- selector: '[ciftBoslukTek]',
48
- providers: [
49
- {
50
- provide: NG_VALUE_ACCESSOR,
51
- useExisting: forwardRef(() => CiftBoslukTekDirective),
52
- multi: true,
53
- },
54
- ]
55
- }]
56
- }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
57
- type: Self
58
- }] }, { type: i0.Renderer2 }]; }, propDecorators: { ciftBoslukTekChange: [{
59
- type: Output
60
- }], onInput: [{
61
- type: HostListener,
62
- args: ['blur', ['$event']]
63
- }] } });
64
- class CiftBoslukTekDirectiveModule {
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CiftBoslukTekDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
66
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: CiftBoslukTekDirectiveModule, declarations: [CiftBoslukTekDirective], imports: [CommonModule], exports: [CiftBoslukTekDirective] }); }
67
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CiftBoslukTekDirectiveModule, imports: [CommonModule] }); }
68
- }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: CiftBoslukTekDirectiveModule, decorators: [{
70
- type: NgModule,
71
- args: [{
72
- imports: [CommonModule],
73
- declarations: [CiftBoslukTekDirective],
74
- exports: [CiftBoslukTekDirective]
75
- }]
76
- }] });
77
-
78
- /**
79
- * Generated bundle index. Do not edit.
80
- */
81
-
82
- export { CiftBoslukTekDirective, CiftBoslukTekDirectiveModule };
83
- //# sourceMappingURL=limitng-directives-ciftBoslukTek.directive.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"limitng-directives-ciftBoslukTek.directive.mjs","sources":["../../src/app/components/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.ts","../../src/app/components/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output, Renderer2, Self, forwardRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[ciftBoslukTek]',\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => CiftBoslukTekDirective),\r\n multi: true,\r\n },\r\n ]\r\n})\r\nexport class CiftBoslukTekDirective implements ControlValueAccessor {\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n @Output() ciftBoslukTekChange = new EventEmitter<string>()\r\n\r\n constructor(\r\n @Self() private _elementRef: ElementRef,\r\n private _renderer: Renderer2) {\r\n }\r\n\r\n @HostListener('blur', ['$event'])\r\n onInput(event) {\r\n const value = GlobalFunctions.ciftBoslukTekYap(event.target.value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n event.preventDefault();\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [CiftBoslukTekDirective],\r\n exports: [CiftBoslukTekDirective]\r\n})\r\nexport class CiftBoslukTekDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAea,sBAAsB,CAAA;IAQjC,WACkB,CAAA,WAAuB,EAC/B,SAAoB,EAAA;QADZ,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;QAC/B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AAJpB,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,YAAY,EAAU,CAAA;KAKzD;AAGD,IAAA,OAAO,CAAC,KAAK,EAAA;AACX,QAAA,MAAM,KAAK,GAAG,eAAe,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACnE,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AAC3E,QA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AAA,EAAA,CAAA;kBALxC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;AC7DD;;AAEG;;;;"}
@@ -1,162 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { Directive, Input, ContentChildren, NgModule } from '@angular/core';
4
- import { Button } from 'primeng/button';
5
- import { Checkbox } from 'primeng/checkbox';
6
- import { Dropdown } from 'primeng/dropdown';
7
- import { InputNumber } from 'primeng/inputnumber';
8
- import { InputSwitch } from 'primeng/inputswitch';
9
- import { RadioButton } from 'primeng/radiobutton';
10
- import { SelectButton } from 'primeng/selectbutton';
11
-
12
- const DISABLED = 'disabled';
13
- const APP_DISABLED = 'app-disabled';
14
- const TAB_INDEX = 'tabindex';
15
- const TAG_ANCHOR = 'a';
16
- class DisableDirective {
17
- // @ContentChildren(InputText, { descendants: true }) inputTexts: QueryList<InputText>;
18
- constructor(eleRef, renderer) {
19
- this.eleRef = eleRef;
20
- this.renderer = renderer;
21
- this.appDisable = false;
22
- }
23
- ngOnChanges() {
24
- this.disableElement(this.eleRef.nativeElement);
25
- this.disableElementPrimeNG();
26
- }
27
- disableElementPrimeNG() {
28
- if (this.checkboxes) {
29
- this.checkboxes.forEach(checkbox => {
30
- checkbox.setDisabledState(this.appDisable);
31
- });
32
- }
33
- if (this.radioButtons) {
34
- this.radioButtons.forEach(radiobutton => {
35
- radiobutton.setDisabledState(this.appDisable);
36
- });
37
- }
38
- if (this.dropdowns) {
39
- this.dropdowns.forEach(dropdown => {
40
- dropdown.setDisabledState(this.appDisable);
41
- });
42
- }
43
- if (this.selectbuttons) {
44
- this.selectbuttons.forEach(selectbutton => {
45
- selectbutton.setDisabledState(this.appDisable);
46
- });
47
- }
48
- if (this.inputSwitches) {
49
- this.inputSwitches.forEach(inputSwitch => {
50
- inputSwitch.setDisabledState(this.appDisable);
51
- });
52
- }
53
- if (this.inputNumbers) {
54
- this.inputNumbers.forEach(inputNumber => {
55
- inputNumber.setDisabledState(this.appDisable);
56
- });
57
- }
58
- /*
59
- if (this.inputTexts) {
60
- this.inputTexts.forEach(inputText => {
61
- inputText.el.nativeElement.disabled = this.appDisable;
62
- });
63
- }
64
- */
65
- }
66
- ngAfterContentInit() {
67
- this.disableElementPrimeNG();
68
- }
69
- ngAfterViewInit() {
70
- this.disableElement(this.eleRef.nativeElement);
71
- this.disableElementPrimeNG();
72
- }
73
- disableElement(element) {
74
- if ((element.localName === 'p-button') || (element.localName === 'p-inputtextarea')) {
75
- if (!element.hasAttribute("data-alwaysEnabled")) {
76
- element.children[0].disabled = this.appDisable;
77
- }
78
- }
79
- // eslint-disable-next-line no-dupe-else-if
80
- else if ((element.localName === 'p-dropdown') || (element.localName === 'p-checkbox') || (element.localName === 'p-radiobutton') || (element.localName === 'p-inputtext')) {
81
- }
82
- else {
83
- if (this.appDisable) {
84
- if (!element.hasAttribute(DISABLED)) {
85
- this.renderer.setAttribute(element, APP_DISABLED, '');
86
- this.renderer.setAttribute(element, DISABLED, 'true');
87
- // disabling anchor tab keyboard event
88
- if (element.tagName.toLowerCase() === TAG_ANCHOR) {
89
- this.renderer.setAttribute(element, TAB_INDEX, '-1');
90
- }
91
- }
92
- }
93
- else {
94
- if (element.hasAttribute(APP_DISABLED)) {
95
- if (element.getAttribute('disabled') !== '') {
96
- element.removeAttribute(DISABLED);
97
- }
98
- element.removeAttribute(APP_DISABLED);
99
- if (element.tagName.toLowerCase() === TAG_ANCHOR) {
100
- element.removeAttribute(TAB_INDEX);
101
- }
102
- }
103
- }
104
- if (element.children) {
105
- for (const child of element.children) {
106
- this.disableElement(child);
107
- }
108
- }
109
- }
110
- }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: DisableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
112
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: DisableDirective, selector: "[appDisable]", inputs: { appDisable: "appDisable" }, queries: [{ propertyName: "checkboxes", predicate: Checkbox, descendants: true }, { propertyName: "radioButtons", predicate: RadioButton, descendants: true }, { propertyName: "dropdowns", predicate: Dropdown, descendants: true }, { propertyName: "selectbuttons", predicate: SelectButton, descendants: true }, { propertyName: "inputSwitches", predicate: InputSwitch, descendants: true }, { propertyName: "inputNumbers", predicate: InputNumber, descendants: true }, { propertyName: "buttons", predicate: Button, descendants: true }], usesOnChanges: true, ngImport: i0 }); }
113
- }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: DisableDirective, decorators: [{
115
- type: Directive,
116
- args: [{
117
- selector: '[appDisable]'
118
- }]
119
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { appDisable: [{
120
- type: Input
121
- }], checkboxes: [{
122
- type: ContentChildren,
123
- args: [Checkbox, { descendants: true }]
124
- }], radioButtons: [{
125
- type: ContentChildren,
126
- args: [RadioButton, { descendants: true }]
127
- }], dropdowns: [{
128
- type: ContentChildren,
129
- args: [Dropdown, { descendants: true }]
130
- }], selectbuttons: [{
131
- type: ContentChildren,
132
- args: [SelectButton, { descendants: true }]
133
- }], inputSwitches: [{
134
- type: ContentChildren,
135
- args: [InputSwitch, { descendants: true }]
136
- }], inputNumbers: [{
137
- type: ContentChildren,
138
- args: [InputNumber, { descendants: true }]
139
- }], buttons: [{
140
- type: ContentChildren,
141
- args: [Button, { descendants: true }]
142
- }] } });
143
- class DisableDirectiveModule {
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: DisableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
145
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: DisableDirectiveModule, declarations: [DisableDirective], imports: [CommonModule], exports: [DisableDirective] }); }
146
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: DisableDirectiveModule, imports: [CommonModule] }); }
147
- }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: DisableDirectiveModule, decorators: [{
149
- type: NgModule,
150
- args: [{
151
- imports: [CommonModule],
152
- declarations: [DisableDirective],
153
- exports: [DisableDirective]
154
- }]
155
- }] });
156
-
157
- /**
158
- * Generated bundle index. Do not edit.
159
- */
160
-
161
- export { DisableDirective, DisableDirectiveModule };
162
- //# sourceMappingURL=limitng-directives-disable.directive.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"limitng-directives-disable.directive.mjs","sources":["../../src/app/components/directives/disable.directive/disable.directive.ts","../../src/app/components/directives/disable.directive/limitng-directives-disable.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { AfterContentInit, AfterViewInit, ContentChildren, Directive, ElementRef, Input, NgModule, OnChanges, QueryList, Renderer2 } from '@angular/core';\r\nimport { Button } from 'primeng/button';\r\nimport { Checkbox } from 'primeng/checkbox';\r\nimport { Dropdown } from 'primeng/dropdown';\r\nimport { InputNumber } from 'primeng/inputnumber';\r\nimport { InputSwitch } from 'primeng/inputswitch';\r\nimport { RadioButton } from 'primeng/radiobutton';\r\nimport { SelectButton } from 'primeng/selectbutton';\r\n\r\nconst DISABLED = 'disabled';\r\nconst APP_DISABLED = 'app-disabled';\r\nconst TAB_INDEX = 'tabindex';\r\nconst TAG_ANCHOR = 'a';\r\n\r\n@Directive({\r\n selector: '[appDisable]'\r\n})\r\nexport class DisableDirective implements OnChanges, AfterViewInit, AfterContentInit {\r\n\r\n @Input() appDisable = false;\r\n @ContentChildren(Checkbox, { descendants: true }) checkboxes: QueryList<Checkbox>;\r\n @ContentChildren(RadioButton, { descendants: true }) radioButtons: QueryList<RadioButton>;\r\n @ContentChildren(Dropdown, { descendants: true }) dropdowns: QueryList<Dropdown>;\r\n @ContentChildren(SelectButton, { descendants: true }) selectbuttons: QueryList<SelectButton>;\r\n @ContentChildren(InputSwitch, { descendants: true }) inputSwitches: QueryList<InputSwitch>;\r\n @ContentChildren(InputNumber, { descendants: true }) inputNumbers: QueryList<InputNumber>;\r\n @ContentChildren(Button, { descendants: true }) buttons: QueryList<Button>;\r\n // @ContentChildren(InputText, { descendants: true }) inputTexts: QueryList<InputText>;\r\n constructor(\r\n private eleRef: ElementRef,\r\n private renderer: Renderer2\r\n ) { }\r\n\r\n ngOnChanges() {\r\n this.disableElement(this.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n\r\n }\r\n disableElementPrimeNG() {\r\n if (this.checkboxes) {\r\n this.checkboxes.forEach(checkbox => {\r\n checkbox.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.radioButtons) {\r\n this.radioButtons.forEach(radiobutton => {\r\n radiobutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.dropdowns) {\r\n this.dropdowns.forEach(dropdown => {\r\n dropdown.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.selectbuttons) {\r\n this.selectbuttons.forEach(selectbutton => {\r\n selectbutton.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n if (this.inputSwitches) {\r\n this.inputSwitches.forEach(inputSwitch => {\r\n inputSwitch.setDisabledState(this.appDisable);\r\n });\r\n }\r\n if (this.inputNumbers) {\r\n this.inputNumbers.forEach(inputNumber => {\r\n inputNumber.setDisabledState(this.appDisable);\r\n });\r\n }\r\n\r\n /*\r\n if (this.inputTexts) {\r\n this.inputTexts.forEach(inputText => {\r\n inputText.el.nativeElement.disabled = this.appDisable;\r\n });\r\n }\r\n */\r\n\r\n }\r\n\r\n ngAfterContentInit() {\r\n this.disableElementPrimeNG();\r\n }\r\n ngAfterViewInit() {\r\n this.disableElement(this.eleRef.nativeElement);\r\n this.disableElementPrimeNG();\r\n }\r\n\r\n private disableElement(element: any) {\r\n\r\n if ((element.localName === 'p-button') || (element.localName === 'p-inputtextarea')) {\r\n if (!element.hasAttribute(\"data-alwaysEnabled\")) {\r\n element.children[0].disabled = this.appDisable\r\n }\r\n }\r\n // eslint-disable-next-line no-dupe-else-if\r\n else if ((element.localName === 'p-dropdown') || (element.localName === 'p-checkbox') || (element.localName === 'p-radiobutton') || (element.localName === 'p-inputtext')) {\r\n }\r\n else {\r\n\r\n if (this.appDisable) {\r\n if (!element.hasAttribute(DISABLED)) {\r\n this.renderer.setAttribute(element, APP_DISABLED, '');\r\n this.renderer.setAttribute(element, DISABLED, 'true');\r\n\r\n // disabling anchor tab keyboard event\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n this.renderer.setAttribute(element, TAB_INDEX, '-1');\r\n }\r\n }\r\n } else {\r\n if (element.hasAttribute(APP_DISABLED)) {\r\n if (element.getAttribute('disabled') !== '') {\r\n element.removeAttribute(DISABLED);\r\n }\r\n element.removeAttribute(APP_DISABLED);\r\n if (element.tagName.toLowerCase() === TAG_ANCHOR) {\r\n element.removeAttribute(TAB_INDEX);\r\n }\r\n }\r\n }\r\n if (element.children) {\r\n for (const child of element.children) {\r\n this.disableElement(child);\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [DisableDirective],\r\n exports: [DisableDirective]\r\n})\r\nexport class DisableDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAUA,MAAM,QAAQ,GAAG,UAAU,CAAC;AAC5B,MAAM,YAAY,GAAG,cAAc,CAAC;AACpC,MAAM,SAAS,GAAG,UAAU,CAAC;AAC7B,MAAM,UAAU,GAAG,GAAG,CAAC;MAKV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IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA,CAAA;;;AC3ID;;AAEG;;;;"}
@@ -1,81 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { Directive, Input, NgModule } from '@angular/core';
4
-
5
- class FlexBasisDirective {
6
- constructor(elementRef) {
7
- this.elementRef = elementRef;
8
- this.flexBasis = 0;
9
- }
10
- ngOnChanges() {
11
- this.elementRef.nativeElement.style.flexBasis = this.flexBasis;
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: FlexBasisDirective, selector: "[flexBasis]", inputs: { flexBasis: "flexBasis" }, usesOnChanges: true, ngImport: i0 }); }
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisDirective, decorators: [{
17
- type: Directive,
18
- args: [{
19
- selector: '[flexBasis]'
20
- }]
21
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasis: [{
22
- type: Input
23
- }] } });
24
- class FlexBasisEmDirective {
25
- constructor(elementRef) {
26
- this.elementRef = elementRef;
27
- this.flexBasisEm = 0;
28
- }
29
- ngOnChanges() {
30
- this.elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';
31
- }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisEmDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: FlexBasisEmDirective, selector: "[flexBasisEm]", inputs: { flexBasisEm: "flexBasisEm" }, usesOnChanges: true, ngImport: i0 }); }
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisEmDirective, decorators: [{
36
- type: Directive,
37
- args: [{
38
- selector: '[flexBasisEm]'
39
- }]
40
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasisEm: [{
41
- type: Input
42
- }] } });
43
- class FlexBasisPxDirective {
44
- constructor(elementRef) {
45
- this.elementRef = elementRef;
46
- this.flexBasisPx = 0;
47
- }
48
- ngOnChanges() {
49
- this.elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';
50
- }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisPxDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
52
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: FlexBasisPxDirective, selector: "[flexBasisFBPx]", inputs: { flexBasisPx: "flexBasisPx" }, usesOnChanges: true, ngImport: i0 }); }
53
- }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisPxDirective, decorators: [{
55
- type: Directive,
56
- args: [{
57
- selector: '[flexBasisFBPx]'
58
- }]
59
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { flexBasisPx: [{
60
- type: Input
61
- }] } });
62
- class FlexBasisDirectiveModule {
63
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
64
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisDirectiveModule, declarations: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective], imports: [CommonModule], exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisDirectiveModule, imports: [CommonModule] }); }
66
- }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: FlexBasisDirectiveModule, decorators: [{
68
- type: NgModule,
69
- args: [{
70
- imports: [CommonModule],
71
- declarations: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective],
72
- exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective]
73
- }]
74
- }] });
75
-
76
- /**
77
- * Generated bundle index. Do not edit.
78
- */
79
-
80
- export { FlexBasisDirective, FlexBasisDirectiveModule, FlexBasisEmDirective, FlexBasisPxDirective };
81
- //# sourceMappingURL=limitng-directives-flexBasis.directive.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"limitng-directives-flexBasis.directive.mjs","sources":["../../src/app/components/directives/flexBasis.directive/flexBasis.directive.ts","../../src/app/components/directives/flexBasis.directive/limitng-directives-flexBasis.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, Input, NgModule, OnChanges } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[flexBasis]'\r\n})\r\nexport class FlexBasisDirective implements OnChanges {\r\n @Input() flexBasis = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasis;\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[flexBasisEm]'\r\n})\r\nexport class FlexBasisEmDirective implements OnChanges {\r\n @Input() flexBasisEm = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasisEm + 'em';\r\n }\r\n}\r\n\r\n@Directive({\r\n selector: '[flexBasisFBPx]'\r\n})\r\nexport class FlexBasisPxDirective implements OnChanges {\r\n @Input() flexBasisPx = 0;\r\n\r\n constructor(public elementRef: ElementRef) { }\r\n\r\n ngOnChanges() {\r\n this.elementRef.nativeElement.style.flexBasis = this.flexBasisPx + 'px';\r\n }\r\n}\r\n\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective],\r\n exports: [FlexBasisDirective, FlexBasisEmDirective, FlexBasisPxDirective]\r\n})\r\nexport class FlexBasisDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAMa,kBAAkB,CAAA;AAG7B,IAAA,WAAA,CAAmB,UAAsB,EAAA;QAAtB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;QAFhC,IAAS,CAAA,SAAA,GAAG,CAAC,CAAC;KAEuB;IAE9C,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;KAChE;+GAPU,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAlB,kBAAkB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAA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AAY,CAAC;AACvB,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,oBAAoB,CAAC;AAC9E,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,oBAAoB,CAAC;AAC1E,iBAAA,CAAA;;;AC/CD;;AAEG;;;;"}
@@ -1,83 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { EventEmitter, forwardRef, Directive, Self, Output, HostListener, NgModule } from '@angular/core';
4
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
- import { GlobalFunctions } from 'limitng/api';
6
-
7
- class IlkHarfBuyukDirective {
8
- constructor(_elementRef, _renderer) {
9
- this._elementRef = _elementRef;
10
- this._renderer = _renderer;
11
- this.ilkHarfBuyukChange = new EventEmitter();
12
- }
13
- onInput(event) {
14
- const value = GlobalFunctions.ilkHarfBuyut(event.target.value);
15
- this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
16
- this._onChange(value);
17
- event.preventDefault();
18
- }
19
- /** Implementation for ControlValueAccessor interface */
20
- writeValue(value) {
21
- this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
22
- }
23
- /** Implementation for ControlValueAccessor interface */
24
- registerOnChange(fn) {
25
- this._onChange = fn;
26
- }
27
- /** Implementation for ControlValueAccessor interface */
28
- registerOnTouched(fn) {
29
- this._touched = fn;
30
- }
31
- /** Implementation for ControlValueAccessor interface */
32
- setDisabledState(isDisabled) {
33
- this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: IlkHarfBuyukDirective, deps: [{ token: i0.ElementRef, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
36
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: IlkHarfBuyukDirective, selector: "[ilkHarfBuyuk]", outputs: { ilkHarfBuyukChange: "ilkHarfBuyukChange" }, host: { listeners: { "blur": "onInput($event)" } }, providers: [
37
- {
38
- provide: NG_VALUE_ACCESSOR,
39
- useExisting: forwardRef(() => IlkHarfBuyukDirective),
40
- multi: true,
41
- },
42
- ], ngImport: i0 }); }
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: IlkHarfBuyukDirective, decorators: [{
45
- type: Directive,
46
- args: [{
47
- selector: '[ilkHarfBuyuk]',
48
- providers: [
49
- {
50
- provide: NG_VALUE_ACCESSOR,
51
- useExisting: forwardRef(() => IlkHarfBuyukDirective),
52
- multi: true,
53
- },
54
- ]
55
- }]
56
- }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
57
- type: Self
58
- }] }, { type: i0.Renderer2 }]; }, propDecorators: { ilkHarfBuyukChange: [{
59
- type: Output
60
- }], onInput: [{
61
- type: HostListener,
62
- args: ['blur', ['$event']]
63
- }] } });
64
- class IlkHarfBuyukDirectiveModule {
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: IlkHarfBuyukDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
66
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: IlkHarfBuyukDirectiveModule, declarations: [IlkHarfBuyukDirective], imports: [CommonModule], exports: [IlkHarfBuyukDirective] }); }
67
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: IlkHarfBuyukDirectiveModule, imports: [CommonModule] }); }
68
- }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: IlkHarfBuyukDirectiveModule, decorators: [{
70
- type: NgModule,
71
- args: [{
72
- imports: [CommonModule],
73
- declarations: [IlkHarfBuyukDirective],
74
- exports: [IlkHarfBuyukDirective]
75
- }]
76
- }] });
77
-
78
- /**
79
- * Generated bundle index. Do not edit.
80
- */
81
-
82
- export { IlkHarfBuyukDirective, IlkHarfBuyukDirectiveModule };
83
- //# sourceMappingURL=limitng-directives-ilkHarfBuyuk.directive.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"limitng-directives-ilkHarfBuyuk.directive.mjs","sources":["../../src/app/components/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.ts","../../src/app/components/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output, Renderer2, Self, forwardRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[ilkHarfBuyuk]',\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => IlkHarfBuyukDirective),\r\n multi: true,\r\n },\r\n ]\r\n})\r\n\r\nexport class IlkHarfBuyukDirective implements ControlValueAccessor {\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n @Output() ilkHarfBuyukChange = new EventEmitter<string>()\r\n\r\n constructor(\r\n @Self() private _elementRef: ElementRef,\r\n private _renderer: Renderer2) {\r\n }\r\n\r\n @HostListener('blur', ['$event'])\r\n onInput(event) {\r\n const value = GlobalFunctions.ilkHarfBuyut(event.target.value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n event.preventDefault();\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [IlkHarfBuyukDirective],\r\n exports: [IlkHarfBuyukDirective]\r\n})\r\nexport class IlkHarfBuyukDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAgBa,qBAAqB,CAAA;IAQhC,WACkB,CAAA,WAAuB,EAC/B,SAAoB,EAAA;QADZ,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;QAC/B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AAJpB,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAU,CAAA;KAKxD;AAGD,IAAA,OAAO,CAAC,KAAK,EAAA;AACX,QAAA,MAAM,KAAK,GAAG,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC/D,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AAC3E,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACtB,KAAK,CAAC,cAAc,EAAE,CAAC;KACxB;;AAGD,IAAA,UAAU,CAAC,KAAU,EAAA;AACnB,QAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;KAC5E;;AAGD,IAAA,gBAAgB,CAAC,EAAoB,EAAA;AACnC,QAAA,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wardRef, Directive, Self, Output, HostListener, NgModule } from '@angular/core';
4
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
- import { GlobalFunctions } from 'limitng/api';
6
-
7
- class KodAlaniDirective {
8
- constructor(_elementRef, _renderer) {
9
- this._elementRef = _elementRef;
10
- this._renderer = _renderer;
11
- this.kodChange = new EventEmitter();
12
- this.regex = /[a-z0-9çÇğĞıİöÖşŞüÜ]/i;
13
- }
14
- onKeyPress(evt) {
15
- const key = evt.key;
16
- if (!this.regex.test(key)) {
17
- const value = this._elementRef.nativeElement.value;
18
- // this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
19
- this._onChange(value);
20
- evt.preventDefault();
21
- }
22
- else {
23
- return;
24
- }
25
- }
26
- onInput(event) {
27
- let value = event.target.value.toLocaleUpperCase('tr-TR');
28
- value = GlobalFunctions.tumBoslukSil(value);
29
- this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
30
- this._onChange(value);
31
- event.preventDefault();
32
- }
33
- /** Implementation for ControlValueAccessor interface */
34
- writeValue(value) {
35
- this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
36
- }
37
- /** Implementation for ControlValueAccessor interface */
38
- registerOnChange(fn) {
39
- this._onChange = fn;
40
- }
41
- /** Implementation for ControlValueAccessor interface */
42
- registerOnTouched(fn) {
43
- this._touched = fn;
44
- }
45
- /** Implementation for ControlValueAccessor interface */
46
- setDisabledState(isDisabled) {
47
- this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
48
- }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: KodAlaniDirective, deps: [{ token: i0.ElementRef, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
50
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.11", type: KodAlaniDirective, selector: "[kodAlani]", outputs: { kodChange: "kodChange" }, host: { listeners: { "keypress": "onKeyPress($event)", "blur": "onInput($event)" } }, providers: [
51
- {
52
- provide: NG_VALUE_ACCESSOR,
53
- useExisting: forwardRef(() => KodAlaniDirective),
54
- multi: true,
55
- },
56
- ], ngImport: i0 }); }
57
- }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: KodAlaniDirective, decorators: [{
59
- type: Directive,
60
- args: [{
61
- selector: '[kodAlani]',
62
- providers: [
63
- {
64
- provide: NG_VALUE_ACCESSOR,
65
- useExisting: forwardRef(() => KodAlaniDirective),
66
- multi: true,
67
- },
68
- ]
69
- }]
70
- }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
71
- type: Self
72
- }] }, { type: i0.Renderer2 }]; }, propDecorators: { kodChange: [{
73
- type: Output
74
- }], onKeyPress: [{
75
- type: HostListener,
76
- args: ['keypress', ['$event']]
77
- }], onInput: [{
78
- type: HostListener,
79
- args: ['blur', ['$event']]
80
- }] } });
81
- class KodAlaniDirectiveModule {
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: KodAlaniDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
83
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: KodAlaniDirectiveModule, declarations: [KodAlaniDirective], imports: [CommonModule], exports: [KodAlaniDirective] }); }
84
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: KodAlaniDirectiveModule, imports: [CommonModule] }); }
85
- }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: KodAlaniDirectiveModule, decorators: [{
87
- type: NgModule,
88
- args: [{
89
- imports: [CommonModule],
90
- declarations: [KodAlaniDirective],
91
- exports: [KodAlaniDirective]
92
- }]
93
- }] });
94
-
95
- /**
96
- * Generated bundle index. Do not edit.
97
- */
98
-
99
- export { KodAlaniDirective, KodAlaniDirectiveModule };
100
- //# sourceMappingURL=limitng-directives-kodAlani.directive.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"limitng-directives-kodAlani.directive.mjs","sources":["../../src/app/components/directives/kodAlani.directive/kodAlani.directive.ts","../../src/app/components/directives/kodAlani.directive/limitng-directives-kodAlani.directive.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Directive, ElementRef, EventEmitter, HostListener, NgModule, Output, Renderer2, Self, forwardRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { GlobalFunctions } from 'limitng/api';\r\n\r\n@Directive({\r\n selector: '[kodAlani]',\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => KodAlaniDirective),\r\n multi: true,\r\n },\r\n ]\r\n})\r\n\r\nexport class KodAlaniDirective implements ControlValueAccessor {\r\n /** implements ControlValueAccessorInterface */\r\n _onChange: (_: any) => void;\r\n\r\n /** implements ControlValueAccessorInterface */\r\n _touched: () => void;\r\n\r\n @Output() kodChange = new EventEmitter<string>();\r\n\r\n regex = /[a-z0-9çÇğĞıİöÖşŞüÜ]/i;\r\n\r\n constructor(\r\n @Self() private _elementRef: ElementRef,\r\n private _renderer: Renderer2) {\r\n }\r\n\r\n @HostListener('keypress', ['$event'])\r\n onKeyPress(evt: KeyboardEvent) {\r\n const key = evt.key;\r\n if (!this.regex.test(key)) {\r\n const value = this._elementRef.nativeElement.value;\r\n // this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n this._onChange(value);\r\n evt.preventDefault();\r\n }\r\n else {\r\n return\r\n }\r\n }\r\n\r\n @HostListener('blur', ['$event'])\r\n onInput(event) {\r\n let value = event.target.value.toLocaleUpperCase('tr-TR');\r\n value = GlobalFunctions.tumBoslukSil(value);\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n\r\n this._onChange(value);\r\n event.preventDefault();\r\n\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n writeValue(value: any): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnChange(fn: (_: any) => void): void {\r\n this._onChange = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n registerOnTouched(fn: () => void): void {\r\n this._touched = fn;\r\n }\r\n\r\n /** Implementation for ControlValueAccessor interface */\r\n setDisabledState(isDisabled: boolean): void {\r\n this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\r\n }\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [KodAlaniDirective],\r\n exports: [KodAlaniDirective]\r\n})\r\nexport class KodAlaniDirectiveModule {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MAgBa,iBAAiB,CAAA;IAW5B,WACkB,CAAA,WAAuB,EAC/B,SAAoB,EAAA;QADZ,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;QAC/B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AANpB,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAU,CAAC;QAEjD,IAAK,CAAA,KAAA,GAAG,uBAAuB,CAAC;KAK/B;AAGD,IAAA,UAAU,CAAC,GAAkB,EAAA;AAC3B,QAAA,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;QACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;YACzB,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC;;AAEnD,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YACtB,GAAG,CAAC,cAAc,EAAE,CAAC;AACtB,SAAA;AACI,aAAA;YACH,OAAM;AACP,SAA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