limitng 0.16.0 → 0.16.2

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 (358) hide show
  1. package/alt-buyuk-kart/alt-buyuk-kart.component.d.ts +25 -25
  2. package/alt-buyuk-kart/index.d.ts +5 -5
  3. package/alt-buyuk-kart/public_api.d.ts +1 -1
  4. package/alt-kucuk-kart/alt-kucuk-kart.component.d.ts +26 -26
  5. package/alt-kucuk-kart/index.d.ts +5 -5
  6. package/alt-kucuk-kart/public_api.d.ts +1 -1
  7. package/api/globalFunctions.d.ts +45 -45
  8. package/api/index.d.ts +5 -5
  9. package/api/models/enums.d.ts +133 -133
  10. package/api/models/faturalama/faturaFiltre.d.ts +58 -58
  11. package/api/models/fourDConstants.d.ts +85 -84
  12. package/api/models/fourDConstants.d.ts.map +1 -1
  13. package/api/models/index.d.ts +5 -5
  14. package/api/models/kisisel/izin-islemleri/izinDetaylari.d.ts +24 -24
  15. package/api/models/kisisel/izin-islemleri/izinFiltre.d.ts +13 -13
  16. package/api/models/kisisel/izin-islemleri/izinGuncelle.d.ts +11 -11
  17. package/api/models/kisisel/izin-islemleri/izinListe.d.ts +28 -28
  18. package/api/models/kisisel/izin-islemleri/izinSilAlanlar.d.ts +4 -4
  19. package/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.d.ts +82 -82
  20. package/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.d.ts +40 -40
  21. package/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.d.ts +7 -7
  22. package/api/models/kisisel/kullanici-onay-islemleri/onayListe.d.ts +31 -31
  23. package/api/models/kisisel/masraf-islemleri/masrafDetaylari.d.ts +57 -57
  24. package/api/models/kisisel/masraf-islemleri/masrafFiltre.d.ts +16 -16
  25. package/api/models/kisisel/masraf-islemleri/masrafGuncelle.d.ts +12 -12
  26. package/api/models/kisisel/masraf-islemleri/masrafListe.d.ts +82 -82
  27. package/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.d.ts +4 -4
  28. package/api/models/logbook/logbook.d.ts +103 -103
  29. package/api/models/login/login.d.ts +22 -22
  30. package/api/models/onayBilgi.d.ts +8 -8
  31. package/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.d.ts +66 -66
  32. package/api/models/ortak.d.ts +111 -111
  33. package/api/models/ozet/OzetKartAlan.d.ts +15 -15
  34. package/api/models/ozet/ozetData.d.ts +21 -21
  35. package/api/models/planlama/kampanya/kampanyaFiltre.d.ts +16 -16
  36. package/api/models/planlama/tarife/tarifeFiltre.d.ts +19 -19
  37. package/api/models/public_api.d.ts +53 -53
  38. package/api/models/raporlar/izin-raporu/izinRaporDetaylari.d.ts +14 -14
  39. package/api/models/raporlar/izin-raporu/izinRaporListe.d.ts +16 -16
  40. package/api/models/raporlar/listeden-sec/listeSecenekler.d.ts +16 -16
  41. package/api/models/raporlar/rapor-detay/raporDetaylari.d.ts +52 -52
  42. package/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.d.ts +8 -8
  43. package/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.d.ts +45 -45
  44. package/api/models/sistem-ozet/sistemOzetData.d.ts +143 -143
  45. package/api/models/sistem-raporlari/sistemRaporlariData.d.ts +10 -10
  46. package/api/models/tanimlama/mecra/mecraFiltre.d.ts +23 -23
  47. package/api/models/tanimlama/musteri/musteriFiltre.d.ts +20 -20
  48. package/api/models/tanimlama/musteri-grubu/musteriGrubuFiltre.d.ts +10 -10
  49. package/api/models/tanimlama/pazarlama-sirketi/pazarlamaSirketiFiltre.d.ts +20 -20
  50. package/api/models/tanimlama/urun/urunFiltre.d.ts +13 -13
  51. package/api/models/teklif-siparis/teklifDetaylari.d.ts +24 -24
  52. package/api/models/teklif-siparis/teklifFiltre.d.ts +13 -13
  53. package/api/models/teklif-siparis/teklifGuncelle.d.ts +11 -11
  54. package/api/models/teklif-siparis/teklifListe.d.ts +27 -27
  55. package/api/models/teklif-siparis/teklifSilAlanlar.d.ts +4 -4
  56. package/api/models/theme/bildirimler.d.ts +30 -30
  57. package/api/models/timeSheet/timeSheetGirisListeler.d.ts +324 -324
  58. package/api/models/timeSheet/timeSheetLog.d.ts +14 -14
  59. package/api/models/timeSheet/timeSheetOzetListe.d.ts +18 -18
  60. package/api/models/timeSheet/timeSheetSecenekler.d.ts +28 -28
  61. package/api/models/xlConfig.d.ts +195 -195
  62. package/api/models/xlConfig.d.ts.map +1 -1
  63. package/api/models/xlConstants.d.ts +59 -59
  64. package/api/models/xlOptions.d.ts +26 -26
  65. package/api/models/xlTools.d.ts +2 -2
  66. package/api/public_api.d.ts +1 -1
  67. package/dikey-baslikli-panel/dikey-baslikli-panel.component.d.ts +16 -16
  68. package/dikey-baslikli-panel/index.d.ts +5 -5
  69. package/dikey-baslikli-panel/public_api.d.ts +1 -1
  70. package/directives/buyukHarf.directive/buyukHarf.directive.d.ts +16 -16
  71. package/directives/buyukHarf.directive/index.d.ts +5 -5
  72. package/directives/buyukHarf.directive/public_api.d.ts +1 -1
  73. package/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.d.ts +16 -16
  74. package/directives/ciftBoslukTek.directive/index.d.ts +5 -5
  75. package/directives/ciftBoslukTek.directive/public_api.d.ts +1 -1
  76. package/directives/disable.directive/disable.directive.d.ts +35 -35
  77. package/directives/disable.directive/index.d.ts +5 -5
  78. package/directives/disable.directive/public_api.d.ts +1 -1
  79. package/directives/flexBasis.directive/flexBasis.directive.d.ts +32 -32
  80. package/directives/flexBasis.directive/index.d.ts +5 -5
  81. package/directives/flexBasis.directive/public_api.d.ts +1 -1
  82. package/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.d.ts +16 -16
  83. package/directives/ilkHarfBuyuk.directive/index.d.ts +5 -5
  84. package/directives/ilkHarfBuyuk.directive/public_api.d.ts +1 -1
  85. package/directives/index.d.ts +5 -5
  86. package/directives/maksimumUzunluk.directive/index.d.ts +5 -5
  87. package/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.d.ts +17 -17
  88. package/directives/maksimumUzunluk.directive/public_api.d.ts +1 -1
  89. package/directives/public_api.d.ts +10 -10
  90. package/directives/sagSolBoslukSil.directive/index.d.ts +5 -5
  91. package/directives/sagSolBoslukSil.directive/public_api.d.ts +1 -1
  92. package/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.d.ts +16 -16
  93. package/directives/sutunGenisligi.directive/index.d.ts +5 -5
  94. package/directives/sutunGenisligi.directive/public_api.d.ts +1 -1
  95. package/directives/sutunGenisligi.directive/sutunGenisligi.directive.d.ts +42 -42
  96. package/directives/tumBoslukSil.directive/index.d.ts +5 -5
  97. package/directives/tumBoslukSil.directive/public_api.d.ts +1 -1
  98. package/directives/tumBoslukSil.directive/tumBoslukSil.directive.d.ts +16 -16
  99. package/directives/tumIlkHarfBuyuk.directive/index.d.ts +5 -5
  100. package/directives/tumIlkHarfBuyuk.directive/public_api.d.ts +1 -1
  101. package/directives/tumIlkHarfBuyuk.directive/tumIlkHarfBuyuk.directive.d.ts +16 -16
  102. package/esm2022/alt-buyuk-kart/alt-buyuk-kart.component.mjs +60 -58
  103. package/esm2022/alt-buyuk-kart/limitng-alt-buyuk-kart.mjs +4 -4
  104. package/esm2022/alt-buyuk-kart/public_api.mjs +1 -1
  105. package/esm2022/alt-kucuk-kart/alt-kucuk-kart.component.mjs +60 -58
  106. package/esm2022/alt-kucuk-kart/limitng-alt-kucuk-kart.mjs +4 -4
  107. package/esm2022/alt-kucuk-kart/public_api.mjs +1 -1
  108. package/esm2022/api/globalFunctions.mjs +525 -525
  109. package/esm2022/api/limitng-api.mjs +4 -4
  110. package/esm2022/api/models/enums.mjs +143 -143
  111. package/esm2022/api/models/faturalama/faturaFiltre.mjs +60 -60
  112. package/esm2022/api/models/fourDConstants.mjs +90 -89
  113. package/esm2022/api/models/kisisel/izin-islemleri/izinDetaylari.mjs +15 -15
  114. package/esm2022/api/models/kisisel/izin-islemleri/izinFiltre.mjs +16 -16
  115. package/esm2022/api/models/kisisel/izin-islemleri/izinGuncelle.mjs +5 -5
  116. package/esm2022/api/models/kisisel/izin-islemleri/izinListe.mjs +25 -25
  117. package/esm2022/api/models/kisisel/izin-islemleri/izinSilAlanlar.mjs +6 -6
  118. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayDetaylari.mjs +40 -40
  119. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayFiltre.mjs +41 -41
  120. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayGuncelle.mjs +9 -9
  121. package/esm2022/api/models/kisisel/kullanici-onay-islemleri/onayListe.mjs +34 -34
  122. package/esm2022/api/models/kisisel/masraf-islemleri/masrafDetaylari.mjs +53 -53
  123. package/esm2022/api/models/kisisel/masraf-islemleri/masrafFiltre.mjs +19 -19
  124. package/esm2022/api/models/kisisel/masraf-islemleri/masrafGuncelle.mjs +5 -5
  125. package/esm2022/api/models/kisisel/masraf-islemleri/masrafListe.mjs +40 -40
  126. package/esm2022/api/models/kisisel/masraf-islemleri/masrafSilAlanlar.mjs +6 -6
  127. package/esm2022/api/models/limitng-api-models.mjs +4 -4
  128. package/esm2022/api/models/logbook/logbook.mjs +110 -110
  129. package/esm2022/api/models/login/login.mjs +10 -10
  130. package/esm2022/api/models/onayBilgi.mjs +8 -8
  131. package/esm2022/api/models/onaya-gonder-sorgu/onayaGonderDetaylar.mjs +55 -55
  132. package/esm2022/api/models/ortak.mjs +83 -83
  133. package/esm2022/api/models/ozet/OzetKartAlan.mjs +1 -1
  134. package/esm2022/api/models/ozet/ozetData.mjs +1 -1
  135. package/esm2022/api/models/planlama/kampanya/kampanyaFiltre.mjs +19 -19
  136. package/esm2022/api/models/planlama/tarife/tarifeFiltre.mjs +22 -22
  137. package/esm2022/api/models/public_api.mjs +65 -65
  138. package/esm2022/api/models/raporlar/izin-raporu/izinRaporDetaylari.mjs +7 -7
  139. package/esm2022/api/models/raporlar/izin-raporu/izinRaporListe.mjs +18 -18
  140. package/esm2022/api/models/raporlar/listeden-sec/listeSecenekler.mjs +18 -18
  141. package/esm2022/api/models/raporlar/rapor-detay/raporDetaylari.mjs +62 -62
  142. package/esm2022/api/models/raporlar/rapor-detay/raporSilGonderAlanlar.mjs +6 -6
  143. package/esm2022/api/models/raporlar/rapor-zamanlama/zamanlamaAyarlari.mjs +46 -46
  144. package/esm2022/api/models/sistem-ozet/sistemOzetData.mjs +171 -171
  145. package/esm2022/api/models/sistem-raporlari/sistemRaporlariData.mjs +7 -7
  146. package/esm2022/api/models/tanimlama/mecra/mecraFiltre.mjs +23 -23
  147. package/esm2022/api/models/tanimlama/musteri/musteriFiltre.mjs +23 -23
  148. package/esm2022/api/models/tanimlama/musteri-grubu/musteriGrubuFiltre.mjs +13 -13
  149. package/esm2022/api/models/tanimlama/pazarlama-sirketi/pazarlamaSirketiFiltre.mjs +21 -21
  150. package/esm2022/api/models/tanimlama/urun/urunFiltre.mjs +16 -16
  151. package/esm2022/api/models/teklif-siparis/teklifDetaylari.mjs +15 -15
  152. package/esm2022/api/models/teklif-siparis/teklifFiltre.mjs +16 -16
  153. package/esm2022/api/models/teklif-siparis/teklifGuncelle.mjs +5 -5
  154. package/esm2022/api/models/teklif-siparis/teklifListe.mjs +27 -27
  155. package/esm2022/api/models/teklif-siparis/teklifSilAlanlar.mjs +6 -6
  156. package/esm2022/api/models/theme/bildirimler.mjs +38 -38
  157. package/esm2022/api/models/timeSheet/timeSheetGirisListeler.mjs +304 -304
  158. package/esm2022/api/models/timeSheet/timeSheetLog.mjs +13 -13
  159. package/esm2022/api/models/timeSheet/timeSheetOzetListe.mjs +21 -21
  160. package/esm2022/api/models/timeSheet/timeSheetSecenekler.mjs +29 -29
  161. package/esm2022/api/models/xlConfig.mjs +437 -437
  162. package/esm2022/api/models/xlConstants.mjs +65 -65
  163. package/esm2022/api/models/xlOptions.mjs +33 -33
  164. package/esm2022/api/models/xlTools.mjs +2 -2
  165. package/esm2022/api/public_api.mjs +1 -1
  166. package/esm2022/dikey-baslikli-panel/dikey-baslikli-panel.component.mjs +41 -39
  167. package/esm2022/dikey-baslikli-panel/limitng-dikey-baslikli-panel.mjs +4 -4
  168. package/esm2022/dikey-baslikli-panel/public_api.mjs +1 -1
  169. package/esm2022/directives/buyukHarf.directive/buyukHarf.directive.mjs +42 -40
  170. package/esm2022/directives/buyukHarf.directive/limitng-directives-buyukHarf.directive.mjs +4 -4
  171. package/esm2022/directives/buyukHarf.directive/public_api.mjs +1 -1
  172. package/esm2022/directives/ciftBoslukTek.directive/ciftBoslukTek.directive.mjs +43 -41
  173. package/esm2022/directives/ciftBoslukTek.directive/limitng-directives-ciftBoslukTek.directive.mjs +4 -4
  174. package/esm2022/directives/ciftBoslukTek.directive/public_api.mjs +1 -1
  175. package/esm2022/directives/disable.directive/disable.directive.mjs +157 -155
  176. package/esm2022/directives/disable.directive/limitng-directives-disable.directive.mjs +4 -4
  177. package/esm2022/directives/disable.directive/public_api.mjs +1 -1
  178. package/esm2022/directives/flexBasis.directive/flexBasis.directive.mjs +78 -74
  179. package/esm2022/directives/flexBasis.directive/limitng-directives-flexBasis.directive.mjs +4 -4
  180. package/esm2022/directives/flexBasis.directive/public_api.mjs +1 -1
  181. package/esm2022/directives/ilkHarfBuyuk.directive/ilkHarfBuyuk.directive.mjs +43 -41
  182. package/esm2022/directives/ilkHarfBuyuk.directive/limitng-directives-ilkHarfBuyuk.directive.mjs +4 -4
  183. package/esm2022/directives/ilkHarfBuyuk.directive/public_api.mjs +1 -1
  184. package/esm2022/directives/limitng-directives.mjs +4 -4
  185. package/esm2022/directives/maksimumUzunluk.directive/limitng-directives-maksimumUzunluk.directive.mjs +4 -4
  186. package/esm2022/directives/maksimumUzunluk.directive/maksimumUzunluk.directive.mjs +48 -46
  187. package/esm2022/directives/maksimumUzunluk.directive/public_api.mjs +1 -1
  188. package/esm2022/directives/public_api.mjs +10 -10
  189. package/esm2022/directives/sagSolBoslukSil.directive/limitng-directives-sagSolBoslukSil.directive.mjs +4 -4
  190. package/esm2022/directives/sagSolBoslukSil.directive/public_api.mjs +1 -1
  191. package/esm2022/directives/sagSolBoslukSil.directive/sagSolBoslukSil.directive.mjs +42 -40
  192. package/esm2022/directives/sutunGenisligi.directive/limitng-directives-sutunGenisligi.directive.mjs +4 -4
  193. package/esm2022/directives/sutunGenisligi.directive/public_api.mjs +1 -1
  194. package/esm2022/directives/sutunGenisligi.directive/sutunGenisligi.directive.mjs +112 -107
  195. package/esm2022/directives/tumBoslukSil.directive/limitng-directives-tumBoslukSil.directive.mjs +4 -4
  196. package/esm2022/directives/tumBoslukSil.directive/public_api.mjs +1 -1
  197. package/esm2022/directives/tumBoslukSil.directive/tumBoslukSil.directive.mjs +43 -41
  198. package/esm2022/directives/tumIlkHarfBuyuk.directive/limitng-directives-tumIlkHarfBuyuk.directive.mjs +4 -4
  199. package/esm2022/directives/tumIlkHarfBuyuk.directive/public_api.mjs +1 -1
  200. package/esm2022/directives/tumIlkHarfBuyuk.directive/tumIlkHarfBuyuk.directive.mjs +44 -42
  201. package/esm2022/filtre-bar/filtre-bar.component.mjs +128 -126
  202. package/esm2022/filtre-bar/limitng-filtre-bar.mjs +4 -4
  203. package/esm2022/filtre-bar/public_api.mjs +1 -1
  204. package/esm2022/geri-ileri-detay/geri-ileri-detay.component.mjs +57 -56
  205. package/esm2022/geri-ileri-detay/geri-ileri-detay.model.mjs +161 -161
  206. package/esm2022/geri-ileri-detay/limitng-geri-ileri-detay.mjs +4 -4
  207. package/esm2022/geri-ileri-detay/public_api.mjs +2 -2
  208. package/esm2022/geri-ileri-liste/geri-ileri-liste.component.mjs +62 -61
  209. package/esm2022/geri-ileri-liste/geri-ileri-liste.model.mjs +200 -200
  210. package/esm2022/geri-ileri-liste/limitng-geri-ileri-liste.mjs +4 -4
  211. package/esm2022/geri-ileri-liste/public_api.mjs +2 -2
  212. package/esm2022/limitng.mjs +4 -4
  213. package/esm2022/pipes/boolToPlus.pipe/boolToPlus.pipe.mjs +31 -29
  214. package/esm2022/pipes/boolToPlus.pipe/limitng-pipes-boolToPlus.pipe.mjs +4 -4
  215. package/esm2022/pipes/boolToPlus.pipe/public_api.mjs +1 -1
  216. package/esm2022/pipes/boolToPlusMinus.pipe/boolToPlusMinus.pipe.mjs +31 -29
  217. package/esm2022/pipes/boolToPlusMinus.pipe/limitng-pipes-boolToPlusMinus.pipe.mjs +4 -4
  218. package/esm2022/pipes/boolToPlusMinus.pipe/public_api.mjs +1 -1
  219. package/esm2022/pipes/dateToText.pipe/dateToText.pipe.mjs +32 -30
  220. package/esm2022/pipes/dateToText.pipe/limitng-pipes-dateToText.pipe.mjs +4 -4
  221. package/esm2022/pipes/dateToText.pipe/public_api.mjs +1 -1
  222. package/esm2022/pipes/evetHayir.pipe/evetHayir.pipe.mjs +31 -29
  223. package/esm2022/pipes/evetHayir.pipe/limitng-pipes-evetHayir.pipe.mjs +4 -4
  224. package/esm2022/pipes/evetHayir.pipe/public_api.mjs +1 -1
  225. package/esm2022/pipes/limitng-pipes.mjs +4 -4
  226. package/esm2022/pipes/mecraTuru.pipe/limitng-pipes-mecraTuru.pipe.mjs +4 -4
  227. package/esm2022/pipes/mecraTuru.pipe/mecraTuru.pipe.mjs +32 -30
  228. package/esm2022/pipes/mecraTuru.pipe/public_api.mjs +1 -1
  229. package/esm2022/pipes/public_api.mjs +5 -5
  230. package/esm2022/pipes/safe.pipe/limitng-pipes-safe.pipe.mjs +4 -4
  231. package/esm2022/pipes/safe.pipe/public_api.mjs +1 -1
  232. package/esm2022/pipes/safe.pipe/safe.pipe.mjs +42 -40
  233. package/esm2022/public_api.mjs +6 -6
  234. package/esm2022/rapor-kart/limitng-rapor-kart.mjs +4 -4
  235. package/esm2022/rapor-kart/models/limitng-rapor-kart-models.mjs +4 -4
  236. package/esm2022/rapor-kart/models/public_api.mjs +1 -1
  237. package/esm2022/rapor-kart/models/rapor-kart-secenekler.mjs +9 -9
  238. package/esm2022/rapor-kart/public_api.mjs +1 -1
  239. package/esm2022/rapor-kart/rapor-kart.component.mjs +66 -64
  240. package/esm2022/sol-buyuk-kart/limitng-sol-buyuk-kart.mjs +4 -4
  241. package/esm2022/sol-buyuk-kart/public_api.mjs +1 -1
  242. package/esm2022/sol-buyuk-kart/sol-buyuk-kart.component.mjs +55 -53
  243. package/esm2022/sol-kucuk-kart/limitng-sol-kucuk-kart.mjs +4 -4
  244. package/esm2022/sol-kucuk-kart/public_api.mjs +1 -1
  245. package/esm2022/sol-kucuk-kart/sol-kucuk-kart.component.mjs +48 -46
  246. package/esm2022/yatay-baslikli-panel/limitng-yatay-baslikli-panel.mjs +4 -4
  247. package/esm2022/yatay-baslikli-panel/public_api.mjs +1 -1
  248. package/esm2022/yatay-baslikli-panel/yatay-baslikli-panel.component.mjs +78 -76
  249. package/fesm2022/limitng-alt-buyuk-kart.mjs +54 -54
  250. package/fesm2022/limitng-alt-buyuk-kart.mjs.map +1 -1
  251. package/fesm2022/limitng-alt-kucuk-kart.mjs +54 -54
  252. package/fesm2022/limitng-alt-kucuk-kart.mjs.map +1 -1
  253. package/fesm2022/limitng-api-models.mjs +2284 -2283
  254. package/fesm2022/limitng-api-models.mjs.map +1 -1
  255. package/fesm2022/limitng-api.mjs +666 -666
  256. package/fesm2022/limitng-dikey-baslikli-panel.mjs +36 -36
  257. package/fesm2022/limitng-dikey-baslikli-panel.mjs.map +1 -1
  258. package/fesm2022/limitng-directives-buyukHarf.directive.mjs +37 -37
  259. package/fesm2022/limitng-directives-buyukHarf.directive.mjs.map +1 -1
  260. package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs +37 -37
  261. package/fesm2022/limitng-directives-ciftBoslukTek.directive.mjs.map +1 -1
  262. package/fesm2022/limitng-directives-disable.directive.mjs +145 -145
  263. package/fesm2022/limitng-directives-disable.directive.mjs.map +1 -1
  264. package/fesm2022/limitng-directives-flexBasis.directive.mjs +71 -71
  265. package/fesm2022/limitng-directives-flexBasis.directive.mjs.map +1 -1
  266. package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs +37 -37
  267. package/fesm2022/limitng-directives-ilkHarfBuyuk.directive.mjs.map +1 -1
  268. package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs +43 -43
  269. package/fesm2022/limitng-directives-maksimumUzunluk.directive.mjs.map +1 -1
  270. package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs +37 -37
  271. package/fesm2022/limitng-directives-sagSolBoslukSil.directive.mjs.map +1 -1
  272. package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs +104 -104
  273. package/fesm2022/limitng-directives-sutunGenisligi.directive.mjs.map +1 -1
  274. package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs +37 -37
  275. package/fesm2022/limitng-directives-tumBoslukSil.directive.mjs.map +1 -1
  276. package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs +38 -38
  277. package/fesm2022/limitng-directives-tumIlkHarfBuyuk.directive.mjs.map +1 -1
  278. package/fesm2022/limitng-directives.mjs +568 -568
  279. package/fesm2022/limitng-directives.mjs.map +1 -1
  280. package/fesm2022/limitng-filtre-bar.mjs +121 -121
  281. package/fesm2022/limitng-filtre-bar.mjs.map +1 -1
  282. package/fesm2022/limitng-geri-ileri-detay.mjs +202 -203
  283. package/fesm2022/limitng-geri-ileri-detay.mjs.map +1 -1
  284. package/fesm2022/limitng-geri-ileri-liste.mjs +246 -247
  285. package/fesm2022/limitng-geri-ileri-liste.mjs.map +1 -1
  286. package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs +27 -27
  287. package/fesm2022/limitng-pipes-boolToPlus.pipe.mjs.map +1 -1
  288. package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs +27 -27
  289. package/fesm2022/limitng-pipes-boolToPlusMinus.pipe.mjs.map +1 -1
  290. package/fesm2022/limitng-pipes-dateToText.pipe.mjs +27 -27
  291. package/fesm2022/limitng-pipes-dateToText.pipe.mjs.map +1 -1
  292. package/fesm2022/limitng-pipes-evetHayir.pipe.mjs +27 -27
  293. package/fesm2022/limitng-pipes-evetHayir.pipe.mjs.map +1 -1
  294. package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs +27 -27
  295. package/fesm2022/limitng-pipes-mecraTuru.pipe.mjs.map +1 -1
  296. package/fesm2022/limitng-pipes-safe.pipe.mjs +37 -37
  297. package/fesm2022/limitng-pipes-safe.pipe.mjs.map +1 -1
  298. package/fesm2022/limitng-pipes.mjs +137 -137
  299. package/fesm2022/limitng-pipes.mjs.map +1 -1
  300. package/fesm2022/limitng-rapor-kart-models.mjs +10 -10
  301. package/fesm2022/limitng-rapor-kart.mjs +60 -60
  302. package/fesm2022/limitng-rapor-kart.mjs.map +1 -1
  303. package/fesm2022/limitng-sol-buyuk-kart.mjs +48 -48
  304. package/fesm2022/limitng-sol-buyuk-kart.mjs.map +1 -1
  305. package/fesm2022/limitng-sol-kucuk-kart.mjs +42 -42
  306. package/fesm2022/limitng-sol-kucuk-kart.mjs.map +1 -1
  307. package/fesm2022/limitng-yatay-baslikli-panel.mjs +70 -70
  308. package/fesm2022/limitng-yatay-baslikli-panel.mjs.map +1 -1
  309. package/fesm2022/limitng.mjs +2 -2
  310. package/filtre-bar/filtre-bar.component.d.ts +35 -35
  311. package/filtre-bar/index.d.ts +5 -5
  312. package/filtre-bar/public_api.d.ts +1 -1
  313. package/geri-ileri-detay/geri-ileri-detay.component.d.ts +24 -24
  314. package/geri-ileri-detay/geri-ileri-detay.model.d.ts +45 -45
  315. package/geri-ileri-detay/index.d.ts +5 -5
  316. package/geri-ileri-detay/public_api.d.ts +2 -2
  317. package/geri-ileri-liste/geri-ileri-liste.component.d.ts +26 -26
  318. package/geri-ileri-liste/geri-ileri-liste.model.d.ts +50 -50
  319. package/geri-ileri-liste/index.d.ts +5 -5
  320. package/geri-ileri-liste/public_api.d.ts +2 -2
  321. package/index.d.ts +5 -5
  322. package/package.json +37 -37
  323. package/pipes/boolToPlus.pipe/boolToPlus.pipe.d.ts +12 -12
  324. package/pipes/boolToPlus.pipe/index.d.ts +5 -5
  325. package/pipes/boolToPlus.pipe/public_api.d.ts +1 -1
  326. package/pipes/boolToPlusMinus.pipe/boolToPlusMinus.pipe.d.ts +12 -12
  327. package/pipes/boolToPlusMinus.pipe/index.d.ts +5 -5
  328. package/pipes/boolToPlusMinus.pipe/public_api.d.ts +1 -1
  329. package/pipes/dateToText.pipe/dateToText.pipe.d.ts +12 -12
  330. package/pipes/dateToText.pipe/index.d.ts +5 -5
  331. package/pipes/dateToText.pipe/public_api.d.ts +1 -1
  332. package/pipes/evetHayir.pipe/evetHayir.pipe.d.ts +12 -12
  333. package/pipes/evetHayir.pipe/index.d.ts +5 -5
  334. package/pipes/evetHayir.pipe/public_api.d.ts +1 -1
  335. package/pipes/index.d.ts +5 -5
  336. package/pipes/mecraTuru.pipe/index.d.ts +5 -5
  337. package/pipes/mecraTuru.pipe/mecraTuru.pipe.d.ts +12 -12
  338. package/pipes/mecraTuru.pipe/public_api.d.ts +1 -1
  339. package/pipes/public_api.d.ts +5 -5
  340. package/pipes/safe.pipe/index.d.ts +5 -5
  341. package/pipes/safe.pipe/public_api.d.ts +1 -1
  342. package/pipes/safe.pipe/safe.pipe.d.ts +15 -15
  343. package/public_api.d.ts +6 -6
  344. package/rapor-kart/index.d.ts +5 -5
  345. package/rapor-kart/models/index.d.ts +5 -5
  346. package/rapor-kart/models/public_api.d.ts +1 -1
  347. package/rapor-kart/models/rapor-kart-secenekler.d.ts +7 -7
  348. package/rapor-kart/public_api.d.ts +1 -1
  349. package/rapor-kart/rapor-kart.component.d.ts +29 -29
  350. package/sol-buyuk-kart/index.d.ts +5 -5
  351. package/sol-buyuk-kart/public_api.d.ts +1 -1
  352. package/sol-buyuk-kart/sol-buyuk-kart.component.d.ts +24 -24
  353. package/sol-kucuk-kart/index.d.ts +5 -5
  354. package/sol-kucuk-kart/public_api.d.ts +1 -1
  355. package/sol-kucuk-kart/sol-kucuk-kart.component.d.ts +19 -19
  356. package/yatay-baslikli-panel/index.d.ts +5 -5
  357. package/yatay-baslikli-panel/public_api.d.ts +1 -1
  358. package/yatay-baslikli-panel/yatay-baslikli-panel.component.d.ts +28 -28
@@ -10,213 +10,212 @@ import { SplitButtonModule } from 'primeng/splitbutton';
10
10
  import * as i3 from 'primeng/tooltip';
11
11
  import { TooltipModule } from 'primeng/tooltip';
12
12
 
13
- class UndoRedoDetayStack {
14
- constructor(object) {
15
- this.undoHareketler = [];
16
- this.redoHareketler = [];
17
- this.undoTip = '';
18
- this.redoTip = '';
19
- this.object = object;
20
- this.orijinalObject = cloneDeep(object);
21
- }
22
- hareketEkle(hareketAciklama, hareketTuru, altHareketler, satirNo = 0) {
23
- if (altHareketler.length > 0) {
24
- this.undoHareketler.unshift(new UndoRedoDetayHareket(hareketTuru, hareketAciklama, altHareketler, satirNo));
25
- this.redoHareketler = [];
26
- this.undoListeHazirla();
27
- this.redoListeHazirla();
28
- }
29
- }
30
- hareketEkleAlanGuncelle(hareketAdi, alanAdi, eskiDeger, yeniDeger) {
31
- const alanlar = [new UndoRedoDetayAlan(alanAdi, eskiDeger, yeniDeger)];
32
- if (eskiDeger !== yeniDeger) {
33
- const altHareket = new UndoRedoDetayAltHareket(alanlar);
34
- this.hareketEkle(hareketAdi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);
35
- }
36
- }
37
- hareketEkleGuncelleGeneric(alanTanimi) {
38
- const fark = this.difference(this.object, this.orijinalObject);
39
- const alanlar = [];
40
- for (const [key, value] of Object.entries(fark)) {
41
- alanlar.push(new UndoRedoDetayAlan(key, this.orijinalObject[key], value));
42
- }
43
- if (alanlar.length > 0) {
44
- const altHareket = new UndoRedoDetayAltHareket(alanlar);
45
- this.hareketEkle(alanTanimi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);
46
- }
47
- this.orijinalObject = cloneDeep(this.object);
48
- }
49
- difference(object, base) {
50
- return transform(object, (result, value, key) => {
51
- if (!isEqual(value, base[key])) {
52
- result[key] = isObject(value) && isObject(base[key]) ? this.difference(value, base[key]) : value;
53
- }
54
- });
55
- }
56
- canUndo() {
57
- return (this.undoHareketler.length > 0);
58
- }
59
- canRedo() {
60
- return (this.redoHareketler.length > 0);
61
- }
62
- undo() {
63
- const hareket = this.undoHareketler[0];
64
- switch (hareket.hareketTuru) {
65
- case UndoRedoDetayHareketTuru.alanGuncelle:
66
- hareket.altHareketler.forEach(altHareket => {
67
- altHareket.alanlar.forEach(alan => {
68
- this.object[alan.alanAdi] = alan.eskiDeger;
69
- });
70
- });
71
- break;
72
- }
73
- this.redoHareketler.unshift(this.undoHareketler.shift());
74
- this.undoListeHazirla();
75
- this.redoListeHazirla();
76
- }
77
- redo() {
78
- const hareket = this.redoHareketler[0];
79
- switch (hareket.hareketTuru) {
80
- case UndoRedoDetayHareketTuru.alanGuncelle:
81
- hareket.altHareketler.forEach(altHareket => {
82
- altHareket.alanlar.forEach(alan => {
83
- this.object[alan.alanAdi] = alan.yeniDeger;
84
- });
85
- });
86
- break;
87
- }
88
- this.undoHareketler.unshift(this.redoHareketler.shift());
89
- this.undoListeHazirla();
90
- this.redoListeHazirla();
91
- }
92
- reset() {
93
- this.undoHareketler = [];
94
- this.redoHareketler = [];
95
- this.undoListeHazirla();
96
- this.redoListeHazirla();
97
- }
98
- undoListeHazirla() {
99
- this.undoItems = [];
100
- this.undoHareketler.forEach((element, sayac) => {
101
- this.undoItems.push({
102
- label: element.hareketAciklama, escape: false,
103
- command: () => {
104
- this.undoCoklu(sayac + 1);
105
- }
106
- });
107
- });
108
- if (this.undoHareketler.length > 0) {
109
- this.undoTip = this.undoHareketler[0].hareketAciklama;
110
- }
111
- else {
112
- this.undoTip = '';
113
- }
114
- }
115
- redoListeHazirla() {
116
- this.redoItems = [];
117
- this.redoHareketler.forEach((element, sayac) => {
118
- this.redoItems.push({
119
- label: element.hareketAciklama, escape: false,
120
- command: () => {
121
- this.redoCoklu(sayac + 1);
122
- }
123
- });
124
- });
125
- if (this.redoHareketler.length > 0) {
126
- this.redoTip = this.redoHareketler[0].hareketAciklama;
127
- }
128
- else {
129
- this.redoTip = '';
130
- }
131
- }
132
- undoCoklu(undoAdet) {
133
- for (let index = 0; index < undoAdet; index++) {
134
- this.undo();
135
- }
136
- }
137
- redoCoklu(redoAdet) {
138
- for (let index = 0; index < redoAdet; index++) {
139
- this.redo();
140
- }
141
- }
142
- }
143
- class UndoRedoDetayHareket {
144
- constructor(hareketTuru, hareketAciklama, altHareketler, satirNo = 0) {
145
- this.hareketAciklama = '';
146
- this.hareketTuru = UndoRedoDetayHareketTuru.alanGuncelle;
147
- this.altHareketler = [];
148
- this.satirNo = 0;
149
- this.hareketAciklama = hareketAciklama;
150
- this.hareketTuru = hareketTuru;
151
- this.altHareketler = altHareketler;
152
- this.satirNo = satirNo;
153
- }
154
- }
155
- class UndoRedoDetayAltHareket {
156
- constructor(alanlar) {
157
- this.alanlar = [];
158
- this.alanlar = alanlar;
159
- }
160
- }
161
- class UndoRedoDetayAlan {
162
- constructor(alanAdi, eskiDeger, yeniDeger) {
163
- this.alanAdi = '';
164
- this.alanAdi = alanAdi;
165
- this.eskiDeger = eskiDeger;
166
- this.yeniDeger = yeniDeger;
167
- }
168
- }
169
- var UndoRedoDetayHareketTuru;
170
- (function (UndoRedoDetayHareketTuru) {
171
- UndoRedoDetayHareketTuru["alanGuncelle"] = "Alan G\u00FCncelle";
13
+ class UndoRedoDetayStack {
14
+ constructor(object) {
15
+ this.undoHareketler = [];
16
+ this.redoHareketler = [];
17
+ this.undoTip = '';
18
+ this.redoTip = '';
19
+ this.object = object;
20
+ this.orijinalObject = cloneDeep(object);
21
+ }
22
+ hareketEkle(hareketAciklama, hareketTuru, altHareketler, satirNo = 0) {
23
+ if (altHareketler.length > 0) {
24
+ this.undoHareketler.unshift(new UndoRedoDetayHareket(hareketTuru, hareketAciklama, altHareketler, satirNo));
25
+ this.redoHareketler = [];
26
+ this.undoListeHazirla();
27
+ this.redoListeHazirla();
28
+ }
29
+ }
30
+ hareketEkleAlanGuncelle(hareketAdi, alanAdi, eskiDeger, yeniDeger) {
31
+ const alanlar = [new UndoRedoDetayAlan(alanAdi, eskiDeger, yeniDeger)];
32
+ if (eskiDeger !== yeniDeger) {
33
+ const altHareket = new UndoRedoDetayAltHareket(alanlar);
34
+ this.hareketEkle(hareketAdi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);
35
+ }
36
+ }
37
+ hareketEkleGuncelleGeneric(alanTanimi) {
38
+ const fark = this.difference(this.object, this.orijinalObject);
39
+ const alanlar = [];
40
+ for (const [key, value] of Object.entries(fark)) {
41
+ alanlar.push(new UndoRedoDetayAlan(key, this.orijinalObject[key], value));
42
+ }
43
+ if (alanlar.length > 0) {
44
+ const altHareket = new UndoRedoDetayAltHareket(alanlar);
45
+ this.hareketEkle(alanTanimi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);
46
+ }
47
+ this.orijinalObject = cloneDeep(this.object);
48
+ }
49
+ difference(object, base) {
50
+ return transform(object, (result, value, key) => {
51
+ if (!isEqual(value, base[key])) {
52
+ result[key] = isObject(value) && isObject(base[key]) ? this.difference(value, base[key]) : value;
53
+ }
54
+ });
55
+ }
56
+ canUndo() {
57
+ return (this.undoHareketler.length > 0);
58
+ }
59
+ canRedo() {
60
+ return (this.redoHareketler.length > 0);
61
+ }
62
+ undo() {
63
+ const hareket = this.undoHareketler[0];
64
+ switch (hareket.hareketTuru) {
65
+ case UndoRedoDetayHareketTuru.alanGuncelle:
66
+ hareket.altHareketler.forEach(altHareket => {
67
+ altHareket.alanlar.forEach(alan => {
68
+ this.object[alan.alanAdi] = alan.eskiDeger;
69
+ });
70
+ });
71
+ break;
72
+ }
73
+ this.redoHareketler.unshift(this.undoHareketler.shift());
74
+ this.undoListeHazirla();
75
+ this.redoListeHazirla();
76
+ }
77
+ redo() {
78
+ const hareket = this.redoHareketler[0];
79
+ switch (hareket.hareketTuru) {
80
+ case UndoRedoDetayHareketTuru.alanGuncelle:
81
+ hareket.altHareketler.forEach(altHareket => {
82
+ altHareket.alanlar.forEach(alan => {
83
+ this.object[alan.alanAdi] = alan.yeniDeger;
84
+ });
85
+ });
86
+ break;
87
+ }
88
+ this.undoHareketler.unshift(this.redoHareketler.shift());
89
+ this.undoListeHazirla();
90
+ this.redoListeHazirla();
91
+ }
92
+ reset() {
93
+ this.undoHareketler = [];
94
+ this.redoHareketler = [];
95
+ this.undoListeHazirla();
96
+ this.redoListeHazirla();
97
+ }
98
+ undoListeHazirla() {
99
+ this.undoItems = [];
100
+ this.undoHareketler.forEach((element, sayac) => {
101
+ this.undoItems.push({
102
+ label: element.hareketAciklama, escape: false,
103
+ command: () => {
104
+ this.undoCoklu(sayac + 1);
105
+ }
106
+ });
107
+ });
108
+ if (this.undoHareketler.length > 0) {
109
+ this.undoTip = this.undoHareketler[0].hareketAciklama;
110
+ }
111
+ else {
112
+ this.undoTip = '';
113
+ }
114
+ }
115
+ redoListeHazirla() {
116
+ this.redoItems = [];
117
+ this.redoHareketler.forEach((element, sayac) => {
118
+ this.redoItems.push({
119
+ label: element.hareketAciklama, escape: false,
120
+ command: () => {
121
+ this.redoCoklu(sayac + 1);
122
+ }
123
+ });
124
+ });
125
+ if (this.redoHareketler.length > 0) {
126
+ this.redoTip = this.redoHareketler[0].hareketAciklama;
127
+ }
128
+ else {
129
+ this.redoTip = '';
130
+ }
131
+ }
132
+ undoCoklu(undoAdet) {
133
+ for (let index = 0; index < undoAdet; index++) {
134
+ this.undo();
135
+ }
136
+ }
137
+ redoCoklu(redoAdet) {
138
+ for (let index = 0; index < redoAdet; index++) {
139
+ this.redo();
140
+ }
141
+ }
142
+ }
143
+ class UndoRedoDetayHareket {
144
+ constructor(hareketTuru, hareketAciklama, altHareketler, satirNo = 0) {
145
+ this.hareketAciklama = '';
146
+ this.hareketTuru = UndoRedoDetayHareketTuru.alanGuncelle;
147
+ this.altHareketler = [];
148
+ this.satirNo = 0;
149
+ this.hareketAciklama = hareketAciklama;
150
+ this.hareketTuru = hareketTuru;
151
+ this.altHareketler = altHareketler;
152
+ this.satirNo = satirNo;
153
+ }
154
+ }
155
+ class UndoRedoDetayAltHareket {
156
+ constructor(alanlar) {
157
+ this.alanlar = [];
158
+ this.alanlar = alanlar;
159
+ }
160
+ }
161
+ class UndoRedoDetayAlan {
162
+ constructor(alanAdi, eskiDeger, yeniDeger) {
163
+ this.alanAdi = '';
164
+ this.alanAdi = alanAdi;
165
+ this.eskiDeger = eskiDeger;
166
+ this.yeniDeger = yeniDeger;
167
+ }
168
+ }
169
+ var UndoRedoDetayHareketTuru;
170
+ (function (UndoRedoDetayHareketTuru) {
171
+ UndoRedoDetayHareketTuru["alanGuncelle"] = "Alan G\u00FCncelle";
172
172
  })(UndoRedoDetayHareketTuru || (UndoRedoDetayHareketTuru = {}));
173
173
 
174
- // @Injectable({ providedIn: 'root' })
175
- class GeriIleriDetayComponent {
176
- constructor() {
177
- this.object = new Object();
178
- this.undoRedoStack = new UndoRedoDetayStack(this.object);
179
- }
180
- ngOnChanges(changes) {
181
- if (changes.object) {
182
- this.undoRedoStack.object = this.object;
183
- this.undoRedoStack.orijinalObject = cloneDeep(this.object);
184
- }
185
- }
186
- undoClick() {
187
- this.undoRedoStack.undo();
188
- }
189
- redoClick() {
190
- this.undoRedoStack.redo();
191
- }
192
- resetUndo() {
193
- this.undoRedoStack.reset();
194
- }
195
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: GeriIleriDetayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
196
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: GeriIleriDetayComponent, selector: "geri-ileri-detay", inputs: { object: "object" }, usesOnChanges: true, ngImport: i0, template: "<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\"\r\n [disabled]=\"!undoRedoStack.canUndo()\" [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"undoClick()\" />\r\n<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\"\r\n [disabled]=\"!undoRedoStack.canRedo()\" [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"redoClick()\" />\r\n<p-button styleClass=\"mx-1\" title=\"Reset\" icon=\"fas fa-sync\"\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (onClick)=\"resetUndo()\" />\r\n", dependencies: [{ kind: "component", type: i1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i2.SplitButton, selector: "p-splitButton", inputs: ["model", "icon", "iconPos", "label", "style", "styleClass", "menuStyle", "menuStyleClass", "disabled", "tabindex", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onClick", "onDropdownClick"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
197
- }
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: GeriIleriDetayComponent, decorators: [{
199
- type: Component,
200
- args: [{ selector: 'geri-ileri-detay', template: "<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\"\r\n [disabled]=\"!undoRedoStack.canUndo()\" [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"undoClick()\" />\r\n<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\"\r\n [disabled]=\"!undoRedoStack.canRedo()\" [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"redoClick()\" />\r\n<p-button styleClass=\"mx-1\" title=\"Reset\" icon=\"fas fa-sync\"\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (onClick)=\"resetUndo()\" />\r\n" }]
201
- }], ctorParameters: function () { return []; }, propDecorators: { object: [{
202
- type: Input
203
- }] } });
204
- class GeriIleriDetayModule {
205
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: GeriIleriDetayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
206
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: GeriIleriDetayModule, declarations: [GeriIleriDetayComponent], imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule], exports: [GeriIleriDetayComponent, ButtonModule, SplitButtonModule, TooltipModule] }); }
207
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: GeriIleriDetayModule, imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule, ButtonModule, SplitButtonModule, TooltipModule] }); }
208
- }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: GeriIleriDetayModule, decorators: [{
210
- type: NgModule,
211
- args: [{
212
- imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule],
213
- exports: [GeriIleriDetayComponent, ButtonModule, SplitButtonModule, TooltipModule],
214
- declarations: [GeriIleriDetayComponent]
215
- }]
174
+ class GeriIleriDetayComponent {
175
+ constructor() {
176
+ this.object = new Object();
177
+ this.undoRedoStack = new UndoRedoDetayStack(this.object);
178
+ }
179
+ ngOnChanges(changes) {
180
+ if (changes.object) {
181
+ this.undoRedoStack.object = this.object;
182
+ this.undoRedoStack.orijinalObject = cloneDeep(this.object);
183
+ }
184
+ }
185
+ undoClick() {
186
+ this.undoRedoStack.undo();
187
+ }
188
+ redoClick() {
189
+ this.undoRedoStack.redo();
190
+ }
191
+ resetUndo() {
192
+ this.undoRedoStack.reset();
193
+ }
194
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: GeriIleriDetayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
195
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: GeriIleriDetayComponent, selector: "geri-ileri-detay", inputs: { object: "object" }, usesOnChanges: true, ngImport: i0, template: "<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\"\r\n [disabled]=\"!undoRedoStack.canUndo()\" [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"undoClick()\" />\r\n<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\"\r\n [disabled]=\"!undoRedoStack.canRedo()\" [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"redoClick()\" />\r\n<p-button styleClass=\"mx-1\" title=\"Reset\" icon=\"fas fa-sync\"\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (onClick)=\"resetUndo()\" />\r\n", dependencies: [{ kind: "component", type: i1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i2.SplitButton, selector: "p-splitButton", inputs: ["model", "icon", "iconPos", "label", "style", "styleClass", "menuStyle", "menuStyleClass", "disabled", "tabindex", "appendTo", "dir", "expandAriaLabel", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onClick", "onDropdownClick"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
196
+ }
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: GeriIleriDetayComponent, decorators: [{
198
+ type: Component,
199
+ args: [{ selector: 'geri-ileri-detay', template: "<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\"\r\n [disabled]=\"!undoRedoStack.canUndo()\" [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"undoClick()\" />\r\n<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\"\r\n [disabled]=\"!undoRedoStack.canRedo()\" [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"redoClick()\" />\r\n<p-button styleClass=\"mx-1\" title=\"Reset\" icon=\"fas fa-sync\"\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (onClick)=\"resetUndo()\" />\r\n" }]
200
+ }], ctorParameters: function () { return []; }, propDecorators: { object: [{
201
+ type: Input
202
+ }] } });
203
+ class GeriIleriDetayModule {
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: GeriIleriDetayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
205
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: GeriIleriDetayModule, declarations: [GeriIleriDetayComponent], imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule], exports: [GeriIleriDetayComponent, ButtonModule, SplitButtonModule, TooltipModule] }); }
206
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: GeriIleriDetayModule, imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule, ButtonModule, SplitButtonModule, TooltipModule] }); }
207
+ }
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: GeriIleriDetayModule, decorators: [{
209
+ type: NgModule,
210
+ args: [{
211
+ imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule],
212
+ exports: [GeriIleriDetayComponent, ButtonModule, SplitButtonModule, TooltipModule],
213
+ declarations: [GeriIleriDetayComponent]
214
+ }]
216
215
  }] });
217
216
 
218
- /**
219
- * Generated bundle index. Do not edit.
217
+ /**
218
+ * Generated bundle index. Do not edit.
220
219
  */
221
220
 
222
221
  export { GeriIleriDetayComponent, GeriIleriDetayModule, UndoRedoDetayAlan, UndoRedoDetayAltHareket, UndoRedoDetayHareket, UndoRedoDetayHareketTuru, UndoRedoDetayStack };
@@ -1 +1 @@
1
- {"version":3,"file":"limitng-geri-ileri-detay.mjs","sources":["../../src/app/components/geri-ileri-detay/geri-ileri-detay.model.ts","../../src/app/components/geri-ileri-detay/geri-ileri-detay.component.ts","../../src/app/components/geri-ileri-detay/geri-ileri-detay.component.html","../../src/app/components/geri-ileri-detay/limitng-geri-ileri-detay.ts"],"sourcesContent":["import { cloneDeep, isEqual, isObject, transform } from 'lodash';\r\nimport { MenuItem } from 'primeng/api';\r\n\r\nexport class UndoRedoDetayStack {\r\n undoHareketler: UndoRedoDetayHareket[] = [];\r\n redoHareketler: UndoRedoDetayHareket[] = [];\r\n\r\n undoItems: MenuItem[];\r\n redoItems: MenuItem[];\r\n\r\n undoTip = '';\r\n redoTip = '';\r\n\r\n object: any;\r\n orijinalObject: any;\r\n\r\n constructor(object: any) {\r\n this.object = object;\r\n this.orijinalObject = cloneDeep(object);\r\n }\r\n\r\n private hareketEkle(hareketAciklama: string, hareketTuru: UndoRedoDetayHareketTuru, altHareketler: UndoRedoDetayAltHareket[], satirNo = 0) {\r\n if (altHareketler.length > 0) {\r\n this.undoHareketler.unshift(new UndoRedoDetayHareket(hareketTuru, hareketAciklama, altHareketler, satirNo));\r\n this.redoHareketler = [];\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n }\r\n\r\n hareketEkleAlanGuncelle(hareketAdi: string, alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n const alanlar: UndoRedoDetayAlan[] = [new UndoRedoDetayAlan(alanAdi, eskiDeger, yeniDeger)];\r\n if (eskiDeger !== yeniDeger) {\r\n const altHareket = new UndoRedoDetayAltHareket(alanlar);\r\n this.hareketEkle(hareketAdi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);\r\n }\r\n }\r\n\r\n hareketEkleGuncelleGeneric(alanTanimi: string) {\r\n\r\n const fark = this.difference(this.object, this.orijinalObject);\r\n\r\n const alanlar: UndoRedoDetayAlan[] = [];\r\n for (const [key, value] of (Object as any).entries(fark)) {\r\n alanlar.push(new UndoRedoDetayAlan(key, this.orijinalObject[key], value));\r\n }\r\n if (alanlar.length > 0) {\r\n const altHareket = new UndoRedoDetayAltHareket(alanlar);\r\n this.hareketEkle(alanTanimi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);\r\n }\r\n\r\n this.orijinalObject = cloneDeep(this.object);\r\n }\r\n\r\n private difference(object, base) {\r\n return transform(object, (result, value, key) => {\r\n if (!isEqual(value, base[key])) {\r\n result[key] = isObject(value) && isObject(base[key]) ? this.difference(value, base[key]) : value;\r\n }\r\n });\r\n }\r\n\r\n canUndo(): boolean {\r\n return (this.undoHareketler.length > 0);\r\n }\r\n\r\n canRedo(): boolean {\r\n return (this.redoHareketler.length > 0);\r\n }\r\n\r\n undo() {\r\n const hareket = this.undoHareketler[0];\r\n switch (hareket.hareketTuru) {\r\n case UndoRedoDetayHareketTuru.alanGuncelle:\r\n hareket.altHareketler.forEach(altHareket => {\r\n altHareket.alanlar.forEach(alan => {\r\n this.object[alan.alanAdi] = alan.eskiDeger;\r\n });\r\n });\r\n\r\n break;\r\n }\r\n\r\n this.redoHareketler.unshift(this.undoHareketler.shift());\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n redo() {\r\n const hareket = this.redoHareketler[0];\r\n switch (hareket.hareketTuru) {\r\n\r\n case UndoRedoDetayHareketTuru.alanGuncelle:\r\n hareket.altHareketler.forEach(altHareket => {\r\n altHareket.alanlar.forEach(alan => {\r\n this.object[alan.alanAdi] = alan.yeniDeger;\r\n });\r\n });\r\n break;\r\n\r\n }\r\n\r\n this.undoHareketler.unshift(this.redoHareketler.shift());\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n reset() {\r\n this.undoHareketler = [];\r\n this.redoHareketler = [];\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n private undoListeHazirla() {\r\n this.undoItems = [];\r\n this.undoHareketler.forEach((element, sayac) => {\r\n this.undoItems.push({\r\n label: element.hareketAciklama, escape: false,\r\n command: () => {\r\n this.undoCoklu(sayac + 1);\r\n }\r\n });\r\n });\r\n\r\n if (this.undoHareketler.length > 0) {\r\n this.undoTip = this.undoHareketler[0].hareketAciklama;\r\n }\r\n else {\r\n this.undoTip = '';\r\n }\r\n }\r\n\r\n private redoListeHazirla() {\r\n this.redoItems = [];\r\n this.redoHareketler.forEach((element, sayac) => {\r\n this.redoItems.push({\r\n label: element.hareketAciklama, escape: false,\r\n command: () => {\r\n this.redoCoklu(sayac + 1);\r\n }\r\n });\r\n });\r\n\r\n if (this.redoHareketler.length > 0) {\r\n this.redoTip = this.redoHareketler[0].hareketAciklama;\r\n }\r\n else {\r\n this.redoTip = '';\r\n }\r\n }\r\n\r\n private undoCoklu(undoAdet: number) {\r\n for (let index = 0; index < undoAdet; index++) {\r\n this.undo();\r\n }\r\n }\r\n\r\n private redoCoklu(redoAdet: number) {\r\n for (let index = 0; index < redoAdet; index++) {\r\n this.redo();\r\n }\r\n }\r\n\r\n}\r\n\r\nexport class UndoRedoDetayHareket {\r\n hareketAciklama = '';\r\n hareketTuru = UndoRedoDetayHareketTuru.alanGuncelle;\r\n altHareketler: UndoRedoDetayAltHareket[] = [];\r\n satirNo = 0;\r\n\r\n constructor(hareketTuru: UndoRedoDetayHareketTuru, hareketAciklama: string, altHareketler: UndoRedoDetayAltHareket[], satirNo = 0) {\r\n this.hareketAciklama = hareketAciklama;\r\n this.hareketTuru = hareketTuru;\r\n this.altHareketler = altHareketler;\r\n this.satirNo = satirNo;\r\n }\r\n}\r\n\r\nexport class UndoRedoDetayAltHareket {\r\n alanlar: UndoRedoDetayAlan[] = [];\r\n constructor(alanlar: UndoRedoDetayAlan[]) {\r\n this.alanlar = alanlar;\r\n }\r\n}\r\n\r\nexport class UndoRedoDetayAlan {\r\n alanAdi = '';\r\n eskiDeger: any;\r\n yeniDeger: any;\r\n\r\n constructor(alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n this.alanAdi = alanAdi;\r\n this.eskiDeger = eskiDeger;\r\n this.yeniDeger = yeniDeger;\r\n }\r\n}\r\n\r\nexport enum UndoRedoDetayHareketTuru {\r\n alanGuncelle = 'Alan Güncelle',\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, Input, NgModule, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { cloneDeep } from 'lodash';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { UndoRedoDetayStack } from './geri-ileri-detay.model';\r\n\r\n@Component({\r\n selector: 'geri-ileri-detay',\r\n templateUrl: 'geri-ileri-detay.component.html'\r\n})\r\n\r\n// @Injectable({ providedIn: 'root' })\r\nexport class GeriIleriDetayComponent implements OnChanges {\r\n @Input()\r\n object: any = new Object();\r\n\r\n undoRedoStack = new UndoRedoDetayStack(this.object);\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.object) {\r\n this.undoRedoStack.object = this.object;\r\n this.undoRedoStack.orijinalObject = cloneDeep(this.object);\r\n }\r\n }\r\n\r\n undoClick() {\r\n this.undoRedoStack.undo();\r\n }\r\n\r\n redoClick() {\r\n this.undoRedoStack.redo();\r\n }\r\n\r\n resetUndo() {\r\n this.undoRedoStack.reset();\r\n }\r\n\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule],\r\n exports: [GeriIleriDetayComponent, ButtonModule, SplitButtonModule, TooltipModule],\r\n declarations: [GeriIleriDetayComponent]\r\n})\r\nexport class GeriIleriDetayModule { }\r\n","<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\"\r\n [disabled]=\"!undoRedoStack.canUndo()\" [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"undoClick()\" />\r\n<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\"\r\n [disabled]=\"!undoRedoStack.canRedo()\" [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"redoClick()\" />\r\n<p-button styleClass=\"mx-1\" title=\"Reset\" icon=\"fas fa-sync\"\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (onClick)=\"resetUndo()\" />\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAGa,kBAAkB,CAAA;AAa7B,IAAA,WAAA,CAAY,MAAW,EAAA;QAZvB,IAAc,CAAA,cAAA,GAA2B,EAAE,CAAC;QAC5C,IAAc,CAAA,cAAA,GAA2B,EAAE,CAAC;QAK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AAuB,CAAC;AACxC,iBAAA,CAAA;;;AEjDD;;AAEG;;;;"}
1
+ {"version":3,"file":"limitng-geri-ileri-detay.mjs","sources":["../../src/app/components/geri-ileri-detay/geri-ileri-detay.model.ts","../../src/app/components/geri-ileri-detay/geri-ileri-detay.component.ts","../../src/app/components/geri-ileri-detay/geri-ileri-detay.component.html","../../src/app/components/geri-ileri-detay/limitng-geri-ileri-detay.ts"],"sourcesContent":["import { cloneDeep, isEqual, isObject, transform } from 'lodash';\r\nimport { MenuItem } from 'primeng/api';\r\n\r\nexport class UndoRedoDetayStack {\r\n undoHareketler: UndoRedoDetayHareket[] = [];\r\n redoHareketler: UndoRedoDetayHareket[] = [];\r\n\r\n undoItems: MenuItem[];\r\n redoItems: MenuItem[];\r\n\r\n undoTip = '';\r\n redoTip = '';\r\n\r\n object: any;\r\n orijinalObject: any;\r\n\r\n constructor(object: any) {\r\n this.object = object;\r\n this.orijinalObject = cloneDeep(object);\r\n }\r\n\r\n private hareketEkle(hareketAciklama: string, hareketTuru: UndoRedoDetayHareketTuru, altHareketler: UndoRedoDetayAltHareket[], satirNo = 0) {\r\n if (altHareketler.length > 0) {\r\n this.undoHareketler.unshift(new UndoRedoDetayHareket(hareketTuru, hareketAciklama, altHareketler, satirNo));\r\n this.redoHareketler = [];\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n }\r\n\r\n hareketEkleAlanGuncelle(hareketAdi: string, alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n const alanlar: UndoRedoDetayAlan[] = [new UndoRedoDetayAlan(alanAdi, eskiDeger, yeniDeger)];\r\n if (eskiDeger !== yeniDeger) {\r\n const altHareket = new UndoRedoDetayAltHareket(alanlar);\r\n this.hareketEkle(hareketAdi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);\r\n }\r\n }\r\n\r\n hareketEkleGuncelleGeneric(alanTanimi: string) {\r\n\r\n const fark = this.difference(this.object, this.orijinalObject);\r\n\r\n const alanlar: UndoRedoDetayAlan[] = [];\r\n for (const [key, value] of (Object as any).entries(fark)) {\r\n alanlar.push(new UndoRedoDetayAlan(key, this.orijinalObject[key], value));\r\n }\r\n if (alanlar.length > 0) {\r\n const altHareket = new UndoRedoDetayAltHareket(alanlar);\r\n this.hareketEkle(alanTanimi + ' Güncelle', UndoRedoDetayHareketTuru.alanGuncelle, [altHareket]);\r\n }\r\n\r\n this.orijinalObject = cloneDeep(this.object);\r\n }\r\n\r\n private difference(object, base) {\r\n return transform(object, (result, value, key) => {\r\n if (!isEqual(value, base[key])) {\r\n result[key] = isObject(value) && isObject(base[key]) ? this.difference(value, base[key]) : value;\r\n }\r\n });\r\n }\r\n\r\n canUndo(): boolean {\r\n return (this.undoHareketler.length > 0);\r\n }\r\n\r\n canRedo(): boolean {\r\n return (this.redoHareketler.length > 0);\r\n }\r\n\r\n undo() {\r\n const hareket = this.undoHareketler[0];\r\n switch (hareket.hareketTuru) {\r\n case UndoRedoDetayHareketTuru.alanGuncelle:\r\n hareket.altHareketler.forEach(altHareket => {\r\n altHareket.alanlar.forEach(alan => {\r\n this.object[alan.alanAdi] = alan.eskiDeger;\r\n });\r\n });\r\n\r\n break;\r\n }\r\n\r\n this.redoHareketler.unshift(this.undoHareketler.shift());\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n redo() {\r\n const hareket = this.redoHareketler[0];\r\n switch (hareket.hareketTuru) {\r\n\r\n case UndoRedoDetayHareketTuru.alanGuncelle:\r\n hareket.altHareketler.forEach(altHareket => {\r\n altHareket.alanlar.forEach(alan => {\r\n this.object[alan.alanAdi] = alan.yeniDeger;\r\n });\r\n });\r\n break;\r\n\r\n }\r\n\r\n this.undoHareketler.unshift(this.redoHareketler.shift());\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n reset() {\r\n this.undoHareketler = [];\r\n this.redoHareketler = [];\r\n this.undoListeHazirla();\r\n this.redoListeHazirla();\r\n }\r\n\r\n private undoListeHazirla() {\r\n this.undoItems = [];\r\n this.undoHareketler.forEach((element, sayac) => {\r\n this.undoItems.push({\r\n label: element.hareketAciklama, escape: false,\r\n command: () => {\r\n this.undoCoklu(sayac + 1);\r\n }\r\n });\r\n });\r\n\r\n if (this.undoHareketler.length > 0) {\r\n this.undoTip = this.undoHareketler[0].hareketAciklama;\r\n }\r\n else {\r\n this.undoTip = '';\r\n }\r\n }\r\n\r\n private redoListeHazirla() {\r\n this.redoItems = [];\r\n this.redoHareketler.forEach((element, sayac) => {\r\n this.redoItems.push({\r\n label: element.hareketAciklama, escape: false,\r\n command: () => {\r\n this.redoCoklu(sayac + 1);\r\n }\r\n });\r\n });\r\n\r\n if (this.redoHareketler.length > 0) {\r\n this.redoTip = this.redoHareketler[0].hareketAciklama;\r\n }\r\n else {\r\n this.redoTip = '';\r\n }\r\n }\r\n\r\n private undoCoklu(undoAdet: number) {\r\n for (let index = 0; index < undoAdet; index++) {\r\n this.undo();\r\n }\r\n }\r\n\r\n private redoCoklu(redoAdet: number) {\r\n for (let index = 0; index < redoAdet; index++) {\r\n this.redo();\r\n }\r\n }\r\n\r\n}\r\n\r\nexport class UndoRedoDetayHareket {\r\n hareketAciklama = '';\r\n hareketTuru = UndoRedoDetayHareketTuru.alanGuncelle;\r\n altHareketler: UndoRedoDetayAltHareket[] = [];\r\n satirNo = 0;\r\n\r\n constructor(hareketTuru: UndoRedoDetayHareketTuru, hareketAciklama: string, altHareketler: UndoRedoDetayAltHareket[], satirNo = 0) {\r\n this.hareketAciklama = hareketAciklama;\r\n this.hareketTuru = hareketTuru;\r\n this.altHareketler = altHareketler;\r\n this.satirNo = satirNo;\r\n }\r\n}\r\n\r\nexport class UndoRedoDetayAltHareket {\r\n alanlar: UndoRedoDetayAlan[] = [];\r\n constructor(alanlar: UndoRedoDetayAlan[]) {\r\n this.alanlar = alanlar;\r\n }\r\n}\r\n\r\nexport class UndoRedoDetayAlan {\r\n alanAdi = '';\r\n eskiDeger: any;\r\n yeniDeger: any;\r\n\r\n constructor(alanAdi: string, eskiDeger: any, yeniDeger: any) {\r\n this.alanAdi = alanAdi;\r\n this.eskiDeger = eskiDeger;\r\n this.yeniDeger = yeniDeger;\r\n }\r\n}\r\n\r\nexport enum UndoRedoDetayHareketTuru {\r\n alanGuncelle = 'Alan Güncelle',\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, Input, NgModule, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { cloneDeep } from 'lodash';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { UndoRedoDetayStack } from './geri-ileri-detay.model';\r\n\r\n@Component({\r\n selector: 'geri-ileri-detay',\r\n templateUrl: 'geri-ileri-detay.component.html'\r\n})\r\n\r\n// @Injectable({ providedIn: 'root' })\r\nexport class GeriIleriDetayComponent implements OnChanges {\r\n @Input()\r\n object: any = new Object();\r\n\r\n undoRedoStack = new UndoRedoDetayStack(this.object);\r\n constructor(\r\n\r\n ) { }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.object) {\r\n this.undoRedoStack.object = this.object;\r\n this.undoRedoStack.orijinalObject = cloneDeep(this.object);\r\n }\r\n }\r\n\r\n undoClick() {\r\n this.undoRedoStack.undo();\r\n }\r\n\r\n redoClick() {\r\n this.undoRedoStack.redo();\r\n }\r\n\r\n resetUndo() {\r\n this.undoRedoStack.reset();\r\n }\r\n\r\n}\r\n\r\n@NgModule({\r\n imports: [CommonModule, RouterModule, ButtonModule, SplitButtonModule, TooltipModule],\r\n exports: [GeriIleriDetayComponent, ButtonModule, SplitButtonModule, TooltipModule],\r\n declarations: [GeriIleriDetayComponent]\r\n})\r\nexport class GeriIleriDetayModule { }\r\n","<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-undo\" [model]=\"undoRedoStack.undoItems\"\r\n [disabled]=\"!undoRedoStack.canUndo()\" [pTooltip]=\"undoRedoStack.undoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"undoClick()\" />\r\n<p-splitButton styleClass=\"mx-1\" icon=\"fas fa-redo\" [model]=\"undoRedoStack.redoItems\"\r\n [disabled]=\"!undoRedoStack.canRedo()\" [pTooltip]=\"undoRedoStack.redoTip\" tooltipZIndex=\"100000\" escape\r\n (onClick)=\"redoClick()\" />\r\n<p-button styleClass=\"mx-1\" title=\"Reset\" icon=\"fas fa-sync\"\r\n [disabled]=\"!undoRedoStack.canRedo() && !undoRedoStack.canUndo()\" (onClick)=\"resetUndo()\" />\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAGa,kBAAkB,CAAA;AAa7B,IAAA,WAAA,CAAY,MAAW,EAAA;QAZvB,IAAc,CAAA,cAAA,GAA2B,EAAE,CAAC;QAC5C,IAAc,CAAA,cAAA,GAA2B,EAAE,CAAC;QAK5C,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;QACb,IAAO,CAAA,OAAA,GAAG,EAAE,CAAC;AAMX,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,QAAA,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC;KACzC;IAEO,WAAW,CAAC,eAAuB,EAAE,WAAqC,EAAE,aAAwC,EAAE,OAAO,GAAG,CAAC,EAAA;AACvI,QAAA,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE;AAC5B,YAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,oBAAoB,CAAC,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;AAC5G,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;YACzB,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACxB,IAAI,CAAC,gBAAgB,EAAE,CAAC;AACzB,SAAA;KACF;AAED,IAAA,uBAAuB,CAA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